From d0e13b564350ff64a36a6fbd5e53005ba36b88b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adolfo=20G=C3=B3mez=20Garc=C3=ADa?= Date: Tue, 19 Nov 2024 23:31:50 +0100 Subject: [PATCH] Updating frontends --- server/src/uds/core/util/config.py | 15 ++++++ server/src/uds/static/admin/main.js | 52 +++++++++---------- server/src/uds/static/admin/styles.css | 2 +- server/src/uds/static/modern/main.js | 20 +++---- server/src/uds/static/modern/styles.css | 2 +- .../uds/static/modern/translations-fakejs.js | 9 +++- server/src/uds/templates/uds/admin/index.html | 6 +-- .../src/uds/templates/uds/modern/index.html | 6 +-- server/src/uds/web/util/configjs.py | 4 ++ 9 files changed, 70 insertions(+), 46 deletions(-) diff --git a/server/src/uds/core/util/config.py b/server/src/uds/core/util/config.py index 60c4d0ba8..f67fb3fe8 100644 --- a/server/src/uds/core/util/config.py +++ b/server/src/uds/core/util/config.py @@ -776,6 +776,21 @@ class GlobalConfig: type=Config.FieldType.HIDDEN, help='' ) + + # Cookies consent + COOKIES_CONSENT_TEXT: Config.Value = Config.section(Config.SectionType.CUSTOM).value( + 'Cookies consent text', + '', + type=Config.FieldType.TEXT, + help=_('Cookies consent text. If empty, a default multi language text will be used'), + ) + COOKIES_CONSENT_ENABLED: Config.Value = Config.section(Config.SectionType.CUSTOM).value( + 'Cookies consent enabled', + '1', + type=Config.FieldType.BOOLEAN, + help=_('Enable cookies consent'), + ) + @staticmethod def is_initialized() -> bool: diff --git a/server/src/uds/static/admin/main.js b/server/src/uds/static/admin/main.js index 76d231b3b..2a79cec66 100644 --- a/server/src/uds/static/admin/main.js +++ b/server/src/uds/static/admin/main.js @@ -1,29 +1,29 @@ -import{Ag as XR,Bg as JR,Cg as eP,De as TR,Dg as tP,Dh as uP,Eg as iP,Ff as AR,Fg as nP,Gg as oP,Hf as OR,Hg as rP,Ig as aP,Jg as sP,Jh as hP,Ka as SR,Kg as lP,Lf as RR,Lg as lu,Lh as mP,Mg as cP,Mh as pP,Nb as IR,Nf as PR,Nh as fP,Oh as gP,Ph as _P,Qh as vP,Rg as dP,Sh as bP,Th as yP,Uh as wP,Vh as CP,_ as xR,_e as kR,a as j,b as rt,c as Tg,d as vR,di as DC,e as xC,ei as xP,f as bR,fb as ER,fi as DP,g as su,gg as FR,gi as SC,h as yR,hi as SP,i as W,ii as EC,jg as NR,ji as EP,kg as LR,l as wR,lg as VR,mg as kg,ng as jR,og as BR,pa as DR,pg as zR,q as CR,qg as UR,rg as HR,sg as $R,tg as WR,ug as GR,vg as qR,wg as YR,xg as QR,ye as MR,yg as KR,zg as ZR}from"./chunk-2F3F2YC2.js";var Qf=xC((Xy,Jy)=>{"use strict";(function(i,e){typeof define=="function"&&define.amd?define([],e):typeof Xy<"u"?e():(e(),i.FileSaver={})})(Xy,function(){"use strict";function i(s,l){return typeof l>"u"?l={autoBom:!1}:typeof l!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),l={autoBom:!l}),l.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(s.type)?new Blob(["\uFEFF",s],{type:s.type}):s}function e(s,l,u){var f=new XMLHttpRequest;f.open("GET",s),f.responseType="blob",f.onload=function(){a(f.response,l,u)},f.onerror=function(){console.error("could not download file")},f.send()}function r(s){var l=new XMLHttpRequest;l.open("HEAD",s,!1);try{l.send()}catch{}return 200<=l.status&&299>=l.status}function t(s){try{s.dispatchEvent(new MouseEvent("click"))}catch{var l=document.createEvent("MouseEvents");l.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),s.dispatchEvent(l)}}var n=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof global=="object"&&global.global===global?global:void 0,o=n.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),a=n.saveAs||(typeof window!="object"||window!==n?function(){}:"download"in HTMLAnchorElement.prototype&&!o?function(s,l,u){var f=n.URL||n.webkitURL,v=document.createElement("a");l=l||s.name||"download",v.download=l,v.rel="noopener",typeof s=="string"?(v.href=s,v.origin===location.origin?t(v):r(v.href)?e(s,l,u):t(v,v.target="_blank")):(v.href=f.createObjectURL(s),setTimeout(function(){f.revokeObjectURL(v.href)},4e4),setTimeout(function(){t(v)},0))}:"msSaveOrOpenBlob"in navigator?function(s,l,u){if(l=l||s.name||"download",typeof s!="string")navigator.msSaveOrOpenBlob(i(s,u),l);else if(r(s))e(s,l,u);else{var f=document.createElement("a");f.href=s,f.target="_blank",setTimeout(function(){t(f)})}}:function(s,l,u,f){if(f=f||open("","_blank"),f&&(f.document.title=f.document.body.innerText="downloading..."),typeof s=="string")return e(s,l,u);var v=s.type==="application/octet-stream",C=/constructor/i.test(n.HTMLElement)||n.safari,D=/CriOS\/[\d]+/.test(navigator.userAgent);if((D||v&&C||o)&&typeof FileReader<"u"){var S=new FileReader;S.onloadend=function(){var O=S.result;O=D?O:O.replace(/^data:[^;]*;/,"data:attachment/file;"),f?f.location.href=O:location=O,f=null},S.readAsDataURL(s)}else{var P=n.URL||n.webkitURL,z=P.createObjectURL(s);f?f.location=z:location.href=z,f=null,setTimeout(function(){P.revokeObjectURL(z)},4e4)}});n.saveAs=a.saveAs=a,typeof Jy<"u"&&(Jy.exports=a)})});var mR={};bR(mR,{Axis:()=>vP,ChartView:()=>RR,ComponentModel:()=>kR,ComponentView:()=>OR,List:()=>dP,Model:()=>MR,PRIORITY:()=>VR,SeriesModel:()=>AR,color:()=>ER,connect:()=>jR,dataTool:()=>sP,default:()=>nK,dependencies:()=>LR,disConnect:()=>zR,disconnect:()=>BR,dispose:()=>UR,env:()=>wR,extendChartView:()=>CP,extendComponentModel:()=>bP,extendComponentView:()=>yP,extendSeriesModel:()=>wP,format:()=>gP,getCoordinateSystemDimensions:()=>JR,getInstanceByDom:()=>HR,getInstanceById:()=>$R,getMap:()=>rP,graphic:()=>fP,helper:()=>uP,init:()=>kg,innerDrawElementOnCanvas:()=>FR,matrix:()=>SR,number:()=>mP,parseGeoJSON:()=>hP,parseGeoJson:()=>hP,registerAction:()=>ZR,registerCoordinateSystem:()=>XR,registerLayout:()=>eP,registerLoading:()=>iP,registerLocale:()=>TR,registerMap:()=>oP,registerPostInit:()=>YR,registerPostUpdate:()=>QR,registerPreprocessor:()=>GR,registerProcessor:()=>qR,registerTheme:()=>WR,registerTransform:()=>aP,registerUpdateLifecycle:()=>KR,registerVisual:()=>tP,setCanvasCreator:()=>nP,setPlatformAPI:()=>CR,throttle:()=>PR,time:()=>pP,use:()=>lu,util:()=>_P,vector:()=>DR,version:()=>NR,zrUtil:()=>xR,zrender:()=>IR});var nK,pR=vR(()=>{"use strict";DP();cP();lP();SP();EP();xP();lu([SC,EC]);nK={init:function(){return kg.apply(null,arguments)}};lu(DC)});var fR=xC(ru=>{"use strict";(function(i,e){typeof define=="function"&&define.amd?define(["exports","echarts"],e):typeof ru=="object"&&typeof ru.nodeName!="string"?e(ru,(pR(),yR(mR))):e({},i.echarts)})(ru,function(i,e){var r=function(s){typeof console<"u"&&console&&console.error&&console.error(s)};if(!e){r("ECharts is not Loaded");return}var t="#eee",n=function(){return{axisLine:{lineStyle:{color:t}},axisTick:{lineStyle:{color:t}},axisLabel:{color:t},splitLine:{lineStyle:{type:"dashed",color:"#aaa"}},splitArea:{areaStyle:{color:t}}}},o=["#52656b","#ff3b77","#a3cc00","#ffffff","#b8b89f","#ffccdb","#e5ff80","#f4f4f0"],a={color:o,backgroundColor:"#333",tooltip:{axisPointer:{lineStyle:{color:t},crossStyle:{color:t}}},legend:{textStyle:{color:t}},title:{textStyle:{color:t}},toolbox:{iconStyle:{borderColor:t}},dataZoom:{dataBackgroundColor:"#eee",fillerColor:"rgba(200,200,200,0.2)",handleColor:"#52656b"},timeline:{itemStyle:{color:o[1]},lineStyle:{color:t},controlStyle:{color:t,borderColor:t},label:{color:t}},timeAxis:n(),logAxis:n(),valueAxis:n(),categoryAxis:n(),line:{symbol:"circle"},graph:{color:o},gauge:{axisLine:{lineStyle:{color:[[.2,"#ff3b77"],[.8,"#52656b"],[1,"#b8b89f"]],width:8}}}};a.categoryAxis.splitLine.show=!1,e.registerTheme("dark-digerati",a)})});function IC(i,e){return Object.is(i,e)}var ki=null,oc=!1,cu=1,Kn=Symbol("SIGNAL");function yt(i){let e=ki;return ki=i,e}function MC(){return ki}function IP(){return oc}var Ts={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 Pg(i){if(oc)throw new Error("");if(ki===null)return;ki.consumerOnSignalRead(i);let e=ki.nextProducerIndex++;if(fu(ki),ei.nextProducerIndex;)i.producerNode.pop(),i.producerLastReadVersion.pop(),i.producerIndexOfThis.pop()}}function hu(i){fu(i);for(let e=0;e0}function fu(i){i.producerNode??=[],i.producerIndexOfThis??=[],i.producerLastReadVersion??=[]}function PC(i){i.liveConsumerNode??=[],i.liveConsumerIndexOfThis??=[]}function FC(i){return i.producerNode!==void 0}function Fg(i){let e=Object.create(TP);e.computation=i;let r=()=>{if(TC(e),Pg(e),e.value===du)throw e.error;return e.value};return r[Kn]=e,r}var Ag=Symbol("UNSET"),Og=Symbol("COMPUTING"),du=Symbol("ERRORED"),TP=rt(j({},Ts),{value:Ag,dirty:!0,error:null,equal:IC,producerMustRecompute(i){return i.value===Ag||i.value===Og},producerRecomputeValue(i){if(i.value===Og)throw new Error("Detected cycle in computations.");let e=i.value;i.value=Og;let r=ac(i),t;try{t=i.computation()}catch(n){t=du,i.error=n}finally{uu(i,r)}if(e!==Ag&&e!==du&&t!==du&&i.equal(e,t)){i.value=e;return}i.value=t,i.version++}});function kP(){throw new Error}var NC=kP;function LC(){NC()}function VC(i){NC=i}var AP=null;function jC(i){let e=Object.create(zC);e.value=i;let r=()=>(Pg(e),e.value);return r[Kn]=e,r}function Ng(i,e){AC()||LC(),i.equal(i.value,e)||(i.value=e,OP(i))}function BC(i,e){AC()||LC(),Ng(i,e(i.value))}var zC=rt(j({},Ts),{equal:IC,value:void 0});function OP(i){i.version++,MP(),kC(i),AP?.()}function UC(i,e,r){let t=Object.create(RP);r&&(t.consumerAllowSignalWrites=!0),t.fn=i,t.schedule=e;let n=l=>{t.cleanupFn=l};function o(l){return l.fn===null&&l.schedule===null}function a(l){o(l)||(mu(l),l.cleanupFn(),l.fn=null,l.schedule=null,l.cleanupFn=Rg)}let s=()=>{if(t.fn===null)return;if(IP())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(t.dirty=!1,t.hasRun&&!hu(t))return;t.hasRun=!0;let l=ac(t);try{t.cleanupFn(),t.cleanupFn=Rg,t.fn(n)}finally{uu(t,l)}};return t.ref={notify:()=>OC(t),run:s,cleanup:()=>t.cleanupFn(),destroy:()=>a(t),[Kn]:t},t.ref}var Rg=()=>{},RP=rt(j({},Ts),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:i=>{i.schedule!==null&&i.schedule(i.ref)},hasRun:!1,cleanupFn:Rg});function je(i){return typeof i=="function"}function $r(i){let r=i(t=>{Error.call(t),t.stack=new Error().stack});return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var gu=$r(i=>function(r){i(this),this.message=r?`${r.length} errors occurred during unsubscription: -${r.map((t,n)=>`${n+1}) ${t.toString()}`).join(` - `)}`:"",this.name="UnsubscriptionError",this.errors=r});function Fa(i,e){if(i){let r=i.indexOf(e);0<=r&&i.splice(r,1)}}var ve=class i{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(je(t))try{t()}catch(o){e=o instanceof gu?o.errors:[o]}let{_finalizers:n}=this;if(n){this._finalizers=null;for(let o of n)try{HC(o)}catch(a){e=e??[],a instanceof gu?e=[...e,...a.errors]:e.push(a)}}if(e)throw new gu(e)}}add(e){var r;if(e&&e!==this)if(this.closed)HC(e);else{if(e instanceof i){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)&&Fa(r,e)}remove(e){let{_finalizers:r}=this;r&&Fa(r,e),e instanceof i&&e._removeParent(this)}};ve.EMPTY=(()=>{let i=new ve;return i.closed=!0,i})();var Lg=ve.EMPTY;function _u(i){return i instanceof ve||i&&"closed"in i&&je(i.remove)&&je(i.add)&&je(i.unsubscribe)}function HC(i){je(i)?i():i.unsubscribe()}var _o={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var ks={setTimeout(i,e,...r){let{delegate:t}=ks;return t?.setTimeout?t.setTimeout(i,e,...r):setTimeout(i,e,...r)},clearTimeout(i){let{delegate:e}=ks;return(e?.clearTimeout||clearTimeout)(i)},delegate:void 0};function vu(i){ks.setTimeout(()=>{let{onUnhandledError:e}=_o;if(e)e(i);else throw i})}function Na(){}var $C=Vg("C",void 0,void 0);function WC(i){return Vg("E",void 0,i)}function GC(i){return Vg("N",i,void 0)}function Vg(i,e,r){return{kind:i,value:e,error:r}}var La=null;function As(i){if(_o.useDeprecatedSynchronousErrorHandling){let e=!La;if(e&&(La={errorThrown:!1,error:null}),i(),e){let{errorThrown:r,error:t}=La;if(La=null,r)throw t}}else i()}function qC(i){_o.useDeprecatedSynchronousErrorHandling&&La&&(La.errorThrown=!0,La.error=i)}var Va=class extends ve{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,_u(e)&&e.add(this)):this.destination=NP}static create(e,r,t){return new vo(e,r,t)}next(e){this.isStopped?Bg(GC(e),this):this._next(e)}error(e){this.isStopped?Bg(WC(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?Bg($C,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()}}},PP=Function.prototype.bind;function jg(i,e){return PP.call(i,e)}var zg=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:r}=this;if(r.next)try{r.next(e)}catch(t){bu(t)}}error(e){let{partialObserver:r}=this;if(r.error)try{r.error(e)}catch(t){bu(t)}else bu(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(r){bu(r)}}},vo=class extends Va{constructor(e,r,t){super();let n;if(je(e)||!e)n={next:e??void 0,error:r??void 0,complete:t??void 0};else{let o;this&&_o.useDeprecatedNextContext?(o=Object.create(e),o.unsubscribe=()=>this.unsubscribe(),n={next:e.next&&jg(e.next,o),error:e.error&&jg(e.error,o),complete:e.complete&&jg(e.complete,o)}):n=e}this.destination=new zg(n)}};function bu(i){_o.useDeprecatedSynchronousErrorHandling?qC(i):vu(i)}function FP(i){throw i}function Bg(i,e){let{onStoppedNotification:r}=_o;r&&ks.setTimeout(()=>r(i,e))}var NP={closed:!0,next:Na,error:FP,complete:Na};var Os=typeof Symbol=="function"&&Symbol.observable||"@@observable";function cn(i){return i}function Ug(...i){return Hg(i)}function Hg(i){return i.length===0?cn:i.length===1?i[0]:function(r){return i.reduce((t,n)=>n(t),r)}}var Re=(()=>{class i{constructor(r){r&&(this._subscribe=r)}lift(r){let t=new i;return t.source=this,t.operator=r,t}subscribe(r,t,n){let o=VP(r)?r:new vo(r,t,n);return As(()=>{let{operator:a,source:s}=this;o.add(a?a.call(o,s):s?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(r){try{return this._subscribe(r)}catch(t){r.error(t)}}forEach(r,t){return t=YC(t),new t((n,o)=>{let a=new vo({next:s=>{try{r(s)}catch(l){o(l),a.unsubscribe()}},error:o,complete:n});this.subscribe(a)})}_subscribe(r){var t;return(t=this.source)===null||t===void 0?void 0:t.subscribe(r)}[Os](){return this}pipe(...r){return Hg(r)(this)}toPromise(r){return r=YC(r),new r((t,n)=>{let o;this.subscribe(a=>o=a,a=>n(a),()=>t(o))})}}return i.create=e=>new i(e),i})();function YC(i){var e;return(e=i??_o.Promise)!==null&&e!==void 0?e:Promise}function LP(i){return i&&je(i.next)&&je(i.error)&&je(i.complete)}function VP(i){return i&&i instanceof Va||LP(i)&&_u(i)}function $g(i){return je(i?.lift)}function ze(i){return e=>{if($g(e))return e.lift(function(r){try{return i(r,this)}catch(t){this.error(t)}});throw new TypeError("Unable to lift unknown Observable type")}}function Le(i,e,r,t,n){return new Wg(i,e,r,t,n)}var Wg=class extends Va{constructor(e,r,t,n,o,a){super(e),this.onFinalize=o,this.shouldUnsubscribe=a,this._next=r?function(s){try{r(s)}catch(l){e.error(l)}}:super._next,this._error=n?function(s){try{n(s)}catch(l){e.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=t?function(){try{t()}catch(s){e.error(s)}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 Rs(){return ze((i,e)=>{let r=null;i._refCount++;let t=Le(e,void 0,void 0,void 0,()=>{if(!i||i._refCount<=0||0<--i._refCount){r=null;return}let n=i._connection,o=r;r=null,n&&(!o||n===o)&&n.unsubscribe(),e.unsubscribe()});i.subscribe(t),t.closed||(r=i.connect())})}var Wr=class extends Re{constructor(e,r){super(),this.source=e,this.subjectFactory=r,this._subject=null,this._refCount=0,this._connection=null,$g(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){let e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:e}=this;this._subject=this._connection=null,e?.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new ve;let r=this.getSubject();e.add(this.source.subscribe(Le(r,void 0,()=>{this._teardown(),r.complete()},t=>{this._teardown(),r.error(t)},()=>this._teardown()))),e.closed&&(this._connection=null,e=ve.EMPTY)}return e}refCount(){return Rs()(this)}};var QC=$r(i=>function(){i(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var G=(()=>{class i extends Re{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(r){let t=new yu(this,this);return t.operator=r,t}_throwIfClosed(){if(this.closed)throw new QC}next(r){As(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let t of this.currentObservers)t.next(r)}})}error(r){As(()=>{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(){As(()=>{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:n,observers:o}=this;return t||n?Lg:(this.currentObservers=null,o.push(r),new ve(()=>{this.currentObservers=null,Fa(o,r)}))}_checkFinalizedStatuses(r){let{hasError:t,thrownError:n,isStopped:o}=this;t?r.error(n):o&&r.complete()}asObservable(){let r=new Re;return r.source=this,r}}return i.create=(e,r)=>new yu(e,r),i})(),yu=class extends G{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:Lg}};var Gt=class extends G{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 sc={now(){return(sc.delegate||Date).now()},delegate:void 0};var Zn=class extends G{constructor(e=1/0,r=1/0,t=sc){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:n,_timestampProvider:o,_windowTime:a}=this;r||(t.push(e),!n&&t.push(o.now()+a)),this._trimBuffer(),super.next(e)}_subscribe(e){this._throwIfClosed(),this._trimBuffer();let r=this._innerSubscribe(e),{_infiniteTimeWindow:t,_buffer:n}=this,o=n.slice();for(let a=0;aKC(e)&&i()),e},clearImmediate(i){KC(i)}};var{setImmediate:BP,clearImmediate:zP}=ZC,cc={setImmediate(...i){let{delegate:e}=cc;return(e?.setImmediate||BP)(...i)},clearImmediate(i){let{delegate:e}=cc;return(e?.clearImmediate||zP)(i)},delegate:void 0};var Cu=class extends Ps{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=cc.setImmediate(e.flush.bind(e,void 0))))}recycleAsyncId(e,r,t=0){var n;if(t!=null?t>0:this.delay>0)return super.recycleAsyncId(e,r,t);let{actions:o}=e;r!=null&&((n=o[o.length-1])===null||n===void 0?void 0:n.id)!==r&&(cc.clearImmediate(r),e._scheduled===r&&(e._scheduled=void 0))}};var Fs=class i{constructor(e,r=i.now){this.schedulerActionCtor=e,this.now=r}schedule(e,r=0,t){return new this.schedulerActionCtor(this,e).schedule(t,r)}};Fs.now=sc.now;var Ns=class extends Fs{constructor(e,r=Fs.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 xu=class extends Ns{flush(e){this._active=!0;let r=this._scheduled;this._scheduled=void 0;let{actions:t}=this,n;e=e||t.shift();do if(n=e.execute(e.state,e.delay))break;while((e=t[0])&&e.id===r&&t.shift());if(this._active=!1,n){for(;(e=t[0])&&e.id===r&&t.shift();)e.unsubscribe();throw n}}};var dc=new xu(Cu);var Ji=new Ns(Ps),Yg=Ji;var Ai=new Re(i=>i.complete());function Du(i){return i&&je(i.schedule)}function Qg(i){return i[i.length-1]}function Su(i){return je(Qg(i))?i.pop():void 0}function Vo(i){return Du(Qg(i))?i.pop():void 0}function XC(i,e){return typeof Qg(i)=="number"?i.pop():e}function ex(i,e,r,t){function n(o){return o instanceof r?o:new r(function(a){a(o)})}return new(r||(r=Promise))(function(o,a){function s(f){try{u(t.next(f))}catch(v){a(v)}}function l(f){try{u(t.throw(f))}catch(v){a(v)}}function u(f){f.done?o(f.value):n(f.value).then(s,l)}u((t=t.apply(i,e||[])).next())})}function JC(i){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&i[e],t=0;if(r)return r.call(i);if(i&&typeof i.length=="number")return{next:function(){return i&&t>=i.length&&(i=void 0),{value:i&&i[t++],done:!i}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function ja(i){return this instanceof ja?(this.v=i,this):new ja(i)}function tx(i,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=r.apply(i,e||[]),n,o=[];return n=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),s("next"),s("throw"),s("return",a),n[Symbol.asyncIterator]=function(){return this},n;function a(D){return function(S){return Promise.resolve(S).then(D,v)}}function s(D,S){t[D]&&(n[D]=function(P){return new Promise(function(z,O){o.push([D,P,z,O])>1||l(D,P)})},S&&(n[D]=S(n[D])))}function l(D,S){try{u(t[D](S))}catch(P){C(o[0][3],P)}}function u(D){D.value instanceof ja?Promise.resolve(D.value.v).then(f,v):C(o[0][2],D)}function f(D){l("next",D)}function v(D){l("throw",D)}function C(D,S){D(S),o.shift(),o.length&&l(o[0][0],o[0][1])}}function ix(i){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=i[Symbol.asyncIterator],r;return e?e.call(i):(i=typeof JC=="function"?JC(i):i[Symbol.iterator](),r={},t("next"),t("throw"),t("return"),r[Symbol.asyncIterator]=function(){return this},r);function t(o){r[o]=i[o]&&function(a){return new Promise(function(s,l){a=i[o](a),n(s,l,a.done,a.value)})}}function n(o,a,s,l){Promise.resolve(l).then(function(u){o({value:u,done:s})},a)}}var Ls=i=>i&&typeof i.length=="number"&&typeof i!="function";function Eu(i){return je(i?.then)}function Iu(i){return je(i[Os])}function Mu(i){return Symbol.asyncIterator&&je(i?.[Symbol.asyncIterator])}function Tu(i){return new TypeError(`You provided ${i!==null&&typeof i=="object"?"an invalid object":`'${i}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function UP(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var ku=UP();function Au(i){return je(i?.[ku])}function Ou(i){return tx(this,arguments,function*(){let r=i.getReader();try{for(;;){let{value:t,done:n}=yield ja(r.read());if(n)return yield ja(void 0);yield yield ja(t)}}finally{r.releaseLock()}})}function Ru(i){return je(i?.getReader)}function It(i){if(i instanceof Re)return i;if(i!=null){if(Iu(i))return HP(i);if(Ls(i))return $P(i);if(Eu(i))return WP(i);if(Mu(i))return nx(i);if(Au(i))return GP(i);if(Ru(i))return qP(i)}throw Tu(i)}function HP(i){return new Re(e=>{let r=i[Os]();if(je(r.subscribe))return r.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function $P(i){return new Re(e=>{for(let r=0;r{i.then(r=>{e.closed||(e.next(r),e.complete())},r=>e.error(r)).then(null,vu)})}function GP(i){return new Re(e=>{for(let r of i)if(e.next(r),e.closed)return;e.complete()})}function nx(i){return new Re(e=>{YP(i,e).catch(r=>e.error(r))})}function qP(i){return nx(Ou(i))}function YP(i,e){var r,t,n,o;return ex(this,void 0,void 0,function*(){try{for(r=ix(i);t=yield r.next(),!t.done;){let a=t.value;if(e.next(a),e.closed)return}}catch(a){n={error:a}}finally{try{t&&!t.done&&(o=r.return)&&(yield o.call(r))}finally{if(n)throw n.error}}e.complete()})}function en(i,e,r,t=0,n=!1){let o=e.schedule(function(){r(),n?i.add(this.schedule(null,t)):this.unsubscribe()},t);if(i.add(o),!n)return o}function Pu(i,e=0){return ze((r,t)=>{r.subscribe(Le(t,n=>en(t,i,()=>t.next(n),e),()=>en(t,i,()=>t.complete(),e),n=>en(t,i,()=>t.error(n),e)))})}function Fu(i,e=0){return ze((r,t)=>{t.add(i.schedule(()=>r.subscribe(t),e))})}function ox(i,e){return It(i).pipe(Fu(e),Pu(e))}function rx(i,e){return It(i).pipe(Fu(e),Pu(e))}function ax(i,e){return new Re(r=>{let t=0;return e.schedule(function(){t===i.length?r.complete():(r.next(i[t++]),r.closed||this.schedule())})})}function sx(i,e){return new Re(r=>{let t;return en(r,e,()=>{t=i[ku](),en(r,e,()=>{let n,o;try{({value:n,done:o}=t.next())}catch(a){r.error(a);return}o?r.complete():r.next(n)},0,!0)}),()=>je(t?.return)&&t.return()})}function Nu(i,e){if(!i)throw new Error("Iterable cannot be null");return new Re(r=>{en(r,e,()=>{let t=i[Symbol.asyncIterator]();en(r,e,()=>{t.next().then(n=>{n.done?r.complete():r.next(n.value)})},0,!0)})})}function lx(i,e){return Nu(Ou(i),e)}function cx(i,e){if(i!=null){if(Iu(i))return ox(i,e);if(Ls(i))return ax(i,e);if(Eu(i))return rx(i,e);if(Mu(i))return Nu(i,e);if(Au(i))return sx(i,e);if(Ru(i))return lx(i,e)}throw Tu(i)}function Kt(i,e){return e?cx(i,e):It(i)}function oe(...i){let e=Vo(i);return Kt(i,e)}function jo(i,e){let r=je(i)?i:()=>i,t=n=>n.error(r());return new Re(e?n=>e.schedule(t,0,n):t)}function Gr(i){return!!i&&(i instanceof Re||je(i.lift)&&je(i.subscribe))}var bo=$r(i=>function(){i(this),this.name="EmptyError",this.message="no elements in sequence"});function Lu(i,e){let r=typeof e=="object";return new Promise((t,n)=>{let o=new vo({next:a=>{t(a),o.unsubscribe()},error:n,complete:()=>{r?t(e.defaultValue):n(new bo)}});i.subscribe(o)})}function Vu(i){return i instanceof Date&&!isNaN(i)}var QP=$r(i=>function(r=null){i(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=r});function Kg(i,e){let{first:r,each:t,with:n=KP,scheduler:o=e??Ji,meta:a=null}=Vu(i)?{first:i}:typeof i=="number"?{each:i}:i;if(r==null&&t==null)throw new TypeError("No timeout provided.");return ze((s,l)=>{let u,f,v=null,C=0,D=S=>{f=en(l,o,()=>{try{u.unsubscribe(),It(n({meta:a,lastValue:v,seen:C})).subscribe(l)}catch(P){l.error(P)}},S)};u=s.subscribe(Le(l,S=>{f?.unsubscribe(),C++,l.next(v=S),t>0&&D(t)},void 0,void 0,()=>{f?.closed||f?.unsubscribe(),v=null})),!C&&D(r!=null?typeof r=="number"?r:+r-o.now():t)})}function KP(i){throw new QP(i)}function ue(i,e){return ze((r,t)=>{let n=0;r.subscribe(Le(t,o=>{t.next(i.call(e,o,n++))}))})}var{isArray:ZP}=Array;function XP(i,e){return ZP(e)?i(...e):i(e)}function Vs(i){return ue(e=>XP(i,e))}var{isArray:JP}=Array,{getPrototypeOf:eF,prototype:tF,keys:iF}=Object;function ju(i){if(i.length===1){let e=i[0];if(JP(e))return{args:e,keys:null};if(nF(e)){let r=iF(e);return{args:r.map(t=>e[t]),keys:r}}}return{args:i,keys:null}}function nF(i){return i&&typeof i=="object"&&eF(i)===tF}function Bu(i,e){return i.reduce((r,t,n)=>(r[t]=e[n],r),{})}function Rn(...i){let e=Vo(i),r=Su(i),{args:t,keys:n}=ju(i);if(t.length===0)return Kt([],e);let o=new Re(oF(t,e,n?a=>Bu(n,a):cn));return r?o.pipe(Vs(r)):o}function oF(i,e,r=cn){return t=>{dx(e,()=>{let{length:n}=i,o=new Array(n),a=n,s=n;for(let l=0;l{let u=Kt(i[l],e),f=!1;u.subscribe(Le(t,v=>{o[l]=v,f||(f=!0,s--),s||t.next(r(o.slice()))},()=>{--a||t.complete()}))},t)},t)}}function dx(i,e,r){i?en(r,i,e):e()}function ux(i,e,r,t,n,o,a,s){let l=[],u=0,f=0,v=!1,C=()=>{v&&!l.length&&!u&&e.complete()},D=P=>u{o&&e.next(P),u++;let z=!1;It(r(P,f++)).subscribe(Le(e,O=>{n?.(O),o?D(O):e.next(O)},()=>{z=!0},void 0,()=>{if(z)try{for(u--;l.length&&uS(O)):S(O)}C()}catch(O){e.error(O)}}))};return i.subscribe(Le(e,D,()=>{v=!0,C()})),()=>{s?.()}}function ci(i,e,r=1/0){return je(e)?ci((t,n)=>ue((o,a)=>e(t,o,n,a))(It(i(t,n))),r):(typeof e=="number"&&(r=e),ze((t,n)=>ux(t,n,i,r)))}function qr(i=1/0){return ci(cn,i)}function hx(){return qr(1)}function Bo(...i){return hx()(Kt(i,Vo(i)))}function Xn(i){return new Re(e=>{It(i()).subscribe(e)})}function uc(...i){let e=Su(i),{args:r,keys:t}=ju(i),n=new Re(o=>{let{length:a}=r;if(!a){o.complete();return}let s=new Array(a),l=a,u=a;for(let f=0;f{v||(v=!0,u--),s[f]=C},()=>l--,void 0,()=>{(!l||!v)&&(u||o.next(t?Bu(t,s):s),o.complete())}))}});return e?n.pipe(Vs(e)):n}var rF=["addListener","removeListener"],aF=["addEventListener","removeEventListener"],sF=["on","off"];function dn(i,e,r,t){if(je(r)&&(t=r,r=void 0),t)return dn(i,e,r).pipe(Vs(t));let[n,o]=dF(i)?aF.map(a=>s=>i[a](e,s,r)):lF(i)?rF.map(mx(i,e)):cF(i)?sF.map(mx(i,e)):[];if(!n&&Ls(i))return ci(a=>dn(a,e,r))(It(i));if(!n)throw new TypeError("Invalid event target");return new Re(a=>{let s=(...l)=>a.next(1o(s)})}function mx(i,e){return r=>t=>i[r](e,t)}function lF(i){return je(i.addListener)&&je(i.removeListener)}function cF(i){return je(i.on)&&je(i.off)}function dF(i){return je(i.addEventListener)&&je(i.removeEventListener)}function yo(i=0,e,r=Yg){let t=-1;return e!=null&&(Du(e)?r=e:t=e),new Re(n=>{let o=Vu(i)?+i-r.now():i;o<0&&(o=0);let a=0;return r.schedule(function(){n.closed||(n.next(a++),0<=t?this.schedule(void 0,t):n.complete())},o)})}function Zg(i=0,e=Ji){return i<0&&(i=0),yo(i,i,e)}function wt(...i){let e=Vo(i),r=XC(i,1/0),t=i;return t.length?t.length===1?It(t[0]):qr(r)(Kt(t,e)):Ai}function Ye(i,e){return ze((r,t)=>{let n=0;r.subscribe(Le(t,o=>i.call(e,o,n++)&&t.next(o)))})}function px(i){return ze((e,r)=>{let t=!1,n=null,o=null,a=!1,s=()=>{if(o?.unsubscribe(),o=null,t){t=!1;let u=n;n=null,r.next(u)}a&&r.complete()},l=()=>{o=null,a&&r.complete()};e.subscribe(Le(r,u=>{t=!0,n=u,o||It(i(u)).subscribe(o=Le(r,s,l))},()=>{a=!0,(!t||!o||o.closed)&&r.complete()}))})}function zu(i,e=Ji){return px(()=>yo(i,e))}function Wi(i){return ze((e,r)=>{let t=null,n=!1,o;t=e.subscribe(Le(r,void 0,void 0,a=>{o=It(i(a,Wi(i)(e))),t?(t.unsubscribe(),t=null,o.subscribe(r)):n=!0})),n&&(t.unsubscribe(),t=null,o.subscribe(r))})}function fx(i,e,r,t,n){return(o,a)=>{let s=r,l=e,u=0;o.subscribe(Le(a,f=>{let v=u++;l=s?i(l,f,v):(s=!0,f),t&&a.next(l)},n&&(()=>{s&&a.next(l),a.complete()})))}}function hr(i,e){return je(e)?ci(i,e,1):ci(i,1)}function mr(i,e=Ji){return ze((r,t)=>{let n=null,o=null,a=null,s=()=>{if(n){n.unsubscribe(),n=null;let u=o;o=null,t.next(u)}};function l(){let u=a+i,f=e.now();if(f{o=u,a=e.now(),n||(n=e.schedule(l,i),t.add(n))},()=>{s(),t.complete()},void 0,()=>{o=n=null}))})}function Yr(i){return ze((e,r)=>{let t=!1;e.subscribe(Le(r,n=>{t=!0,r.next(n)},()=>{t||r.next(i),r.complete()}))})}function Ot(i){return i<=0?()=>Ai:ze((e,r)=>{let t=0;e.subscribe(Le(r,n=>{++t<=i&&(r.next(n),i<=t&&r.complete())}))})}function gx(){return ze((i,e)=>{i.subscribe(Le(e,Na))})}function hc(i){return ue(()=>i)}function Xg(i,e){return e?r=>Bo(e.pipe(Ot(1),gx()),r.pipe(Xg(i))):ci((r,t)=>It(i(r,t)).pipe(Ot(1),hc(r)))}function Qr(i,e=Ji){let r=yo(i,e);return Xg(()=>r)}function js(i,e=cn){return i=i??uF,ze((r,t)=>{let n,o=!0;r.subscribe(Le(t,a=>{let s=e(a);(o||!i(n,s))&&(o=!1,n=s,t.next(a))}))})}function uF(i,e){return i===e}function Uu(i=hF){return ze((e,r)=>{let t=!1;e.subscribe(Le(r,n=>{t=!0,r.next(n)},()=>t?r.complete():r.error(i())))})}function hF(){return new bo}function zo(i){return ze((e,r)=>{try{e.subscribe(r)}finally{r.add(i)}})}function Uo(i,e){let r=arguments.length>=2;return t=>t.pipe(i?Ye((n,o)=>i(n,o,t)):cn,Ot(1),r?Yr(e):Uu(()=>new bo))}function Bs(i){return i<=0?()=>Ai:ze((e,r)=>{let t=[];e.subscribe(Le(r,n=>{t.push(n),i{for(let n of t)r.next(n);r.complete()},void 0,()=>{t=null}))})}function Jg(i,e){let r=arguments.length>=2;return t=>t.pipe(i?Ye((n,o)=>i(n,o,t)):cn,Bs(1),r?Yr(e):Uu(()=>new bo))}function e_(i,e){return ze(fx(i,e,arguments.length>=2,!0))}function mc(i={}){let{connector:e=()=>new G,resetOnError:r=!0,resetOnComplete:t=!0,resetOnRefCountZero:n=!0}=i;return o=>{let a,s,l,u=0,f=!1,v=!1,C=()=>{s?.unsubscribe(),s=void 0},D=()=>{C(),a=l=void 0,f=v=!1},S=()=>{let P=a;D(),P?.unsubscribe()};return ze((P,z)=>{u++,!v&&!f&&C();let O=l=l??e();z.add(()=>{u--,u===0&&!v&&!f&&(s=t_(S,n))}),O.subscribe(z),!a&&u>0&&(a=new vo({next:de=>O.next(de),error:de=>{v=!0,C(),s=t_(D,r,de),O.error(de)},complete:()=>{f=!0,C(),s=t_(D,t),O.complete()}}),It(P).subscribe(a))})(o)}}function t_(i,e,...r){if(e===!0){i();return}if(e===!1)return;let t=new vo({next:()=>{t.unsubscribe(),i()}});return It(e(...r)).subscribe(t)}function Hu(i,e,r){let t,n=!1;return i&&typeof i=="object"?{bufferSize:t=1/0,windowTime:e=1/0,refCount:n=!1,scheduler:r}=i:t=i??1/0,mc({connector:()=>new Zn(t,e,r),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:n})}function Ba(i){return Ye((e,r)=>i<=r)}function Rt(...i){let e=Vo(i);return ze((r,t)=>{(e?Bo(i,r,e):Bo(i,r)).subscribe(t)})}function Tt(i,e){return ze((r,t)=>{let n=null,o=0,a=!1,s=()=>a&&!n&&t.complete();r.subscribe(Le(t,l=>{n?.unsubscribe();let u=0,f=o++;It(i(l,f)).subscribe(n=Le(t,v=>t.next(e?e(l,v,f,u++):v),()=>{n=null,s()}))},()=>{a=!0,s()}))})}function fe(i){return ze((e,r)=>{It(i).subscribe(Le(r,()=>r.complete(),Na)),!r.closed&&e.subscribe(r)})}function i_(i,e=!1){return ze((r,t)=>{let n=0;r.subscribe(Le(t,o=>{let a=i(o,n++);(a||e)&&t.next(o),!a&&t.complete()}))})}function Ht(i,e,r){let t=je(i)||e||r?{next:i,error:e,complete:r}:i;return t?ze((n,o)=>{var a;(a=t.subscribe)===null||a===void 0||a.call(t);let s=!0;n.subscribe(Le(o,l=>{var u;(u=t.next)===null||u===void 0||u.call(t,l),o.next(l)},()=>{var l;s=!1,(l=t.complete)===null||l===void 0||l.call(t),o.complete()},l=>{var u;s=!1,(u=t.error)===null||u===void 0||u.call(t,l),o.error(l)},()=>{var l,u;s&&((l=t.unsubscribe)===null||l===void 0||l.call(t)),(u=t.finalize)===null||u===void 0||u.call(t)}))}):cn}function _x(i,e){return ze((r,t)=>{let{leading:n=!0,trailing:o=!1}=e??{},a=!1,s=null,l=null,u=!1,f=()=>{l?.unsubscribe(),l=null,o&&(D(),u&&t.complete())},v=()=>{l=null,u&&t.complete()},C=S=>l=It(i(S)).subscribe(Le(t,f,v)),D=()=>{if(a){a=!1;let S=s;s=null,t.next(S),!u&&C(S)}};r.subscribe(Le(t,S=>{a=!0,s=S,!(l&&!l.closed)&&(n?D():C(S))},()=>{u=!0,!(o&&a&&l&&!l.closed)&&t.complete()}))})}function n_(i,e=Ji,r){let t=yo(i,e);return _x(()=>t,r)}var cD="https://g.co/ng/security#xss",J=class extends Error{constructor(e,r){super(Fh(e,r)),this.code=e}};function Fh(i,e){return`${`NG0${Math.abs(i)}`}${e?": "+e:""}`}function Dc(i){return{toString:i}.toString()}var $u="__parameters__";function mF(i){return function(...r){if(i){let t=i(...r);for(let n in t)this[n]=t[n]}}}function dD(i,e,r){return Dc(()=>{let t=mF(e);function n(...o){if(this instanceof n)return t.apply(this,o),this;let a=new n(...o);return s.annotation=a,s;function s(l,u,f){let v=l.hasOwnProperty($u)?l[$u]:Object.defineProperty(l,$u,{value:[]})[$u];for(;v.length<=f;)v.push(null);return(v[f]=v[f]||[]).push(a),l}}return r&&(n.prototype=Object.create(r.prototype)),n.prototype.ngMetadataName=i,n.annotationCls=n,n})}var Pn=globalThis;function Zt(i){for(let e in i)if(i[e]===Zt)return e;throw Error("Could not find renamed property on target object.")}function pF(i,e){for(let r in e)e.hasOwnProperty(r)&&!i.hasOwnProperty(r)&&(i[r]=e[r])}function hn(i){if(typeof i=="string")return i;if(Array.isArray(i))return"["+i.map(hn).join(", ")+"]";if(i==null)return""+i;if(i.overriddenName)return`${i.overriddenName}`;if(i.name)return`${i.name}`;let e=i.toString();if(e==null)return""+e;let r=e.indexOf(` -`);return r===-1?e:e.substring(0,r)}function __(i,e){return i==null||i===""?e===null?"":e:e==null||e===""?i:i+" "+e}var fF=Zt({__forward_ref__:Zt});function Xt(i){return i.__forward_ref__=Xt,i.toString=function(){return hn(this())},i}function Gi(i){return uD(i)?i():i}function uD(i){return typeof i=="function"&&i.hasOwnProperty(fF)&&i.__forward_ref__===Xt}function V(i){return{token:i.token,providedIn:i.providedIn||null,factory:i.factory,value:void 0}}function ee(i){return{providers:i.providers||[],imports:i.imports||[]}}function Nh(i){return vx(i,mD)||vx(i,pD)}function hD(i){return Nh(i)!==null}function vx(i,e){return i.hasOwnProperty(e)?i[e]:null}function gF(i){let e=i&&(i[mD]||i[pD]);return e||null}function bx(i){return i&&(i.hasOwnProperty(yx)||i.hasOwnProperty(_F))?i[yx]:null}var mD=Zt({\u0275prov:Zt}),yx=Zt({\u0275inj:Zt}),pD=Zt({ngInjectableDef:Zt}),_F=Zt({ngInjectorDef:Zt}),R=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=V({token:this,providedIn:r.providedIn||"root",factory:r.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function fD(i){return i&&!!i.\u0275providers}var vF=Zt({\u0275cmp:Zt}),bF=Zt({\u0275dir:Zt}),yF=Zt({\u0275pipe:Zt}),wF=Zt({\u0275mod:Zt}),oh=Zt({\u0275fac:Zt}),fc=Zt({__NG_ELEMENT_ID__:Zt}),wx=Zt({__NG_ENV_ID__:Zt});function $a(i){return typeof i=="string"?i:i==null?"":String(i)}function CF(i){return typeof i=="function"?i.name||i.toString():typeof i=="object"&&i!=null&&typeof i.type=="function"?i.type.name||i.type.toString():$a(i)}function xF(i,e){let r=e?`. Dependency path: ${e.join(" > ")} > ${i}`:"";throw new J(-200,i)}function Tv(i,e){throw new J(-201,!1)}var gt=function(i){return i[i.Default=0]="Default",i[i.Host=1]="Host",i[i.Self=2]="Self",i[i.SkipSelf=4]="SkipSelf",i[i.Optional=8]="Optional",i}(gt||{}),v_;function gD(){return v_}function bn(i){let e=v_;return v_=i,e}function _D(i,e,r){let t=Nh(i);if(t&&t.providedIn=="root")return t.value===void 0?t.value=t.factory():t.value;if(r>.Optional)return null;if(e!==void 0)return e;Tv(i,"Injector")}var DF={},_c=DF,b_="__NG_DI_FLAG__",rh="ngTempTokenPath",SF="ngTokenPath",EF=/\n/gm,IF="\u0275",Cx="__source",Ws;function MF(){return Ws}function Kr(i){let e=Ws;return Ws=i,e}function TF(i,e=gt.Default){if(Ws===void 0)throw new J(-203,!1);return Ws===null?_D(i,void 0,e):Ws.get(i,e>.Optional?null:void 0,e)}function M(i,e=gt.Default){return(gD()||TF)(Gi(i),e)}function k(i,e=gt.Default){return M(i,Lh(e))}function Lh(i){return typeof i>"u"||typeof i=="number"?i:0|(i.optional&&8)|(i.host&&1)|(i.self&&2)|(i.skipSelf&&4)}function y_(i){let e=[];for(let r=0;r ");else if(typeof e=="object"){let o=[];for(let a in e)if(e.hasOwnProperty(a)){let s=e[a];o.push(a+":"+(typeof s=="string"?JSON.stringify(s):hn(s)))}n=`{${o.join(", ")}}`}return`${r}${t?"("+t+")":""}[${n}]: ${i.replace(EF,` - `)}`}var to=vD(dD("Optional"),8);var Do=vD(dD("SkipSelf"),4);function Wa(i,e){let r=i.hasOwnProperty(oh);return r?i[oh]:null}function RF(i,e,r){if(i.length!==e.length)return!1;for(let t=0;tArray.isArray(r)?kv(r,e):e(r))}function bD(i,e,r){e>=i.length?i.push(r):i.splice(e,0,r)}function ah(i,e){return e>=i.length-1?i.pop():i.splice(e,1)[0]}function FF(i,e){let r=[];for(let t=0;te;){let o=n-2;i[n]=i[o],n--}i[e]=r,i[e+1]=t}}function Vh(i,e,r){let t=Sc(i,e);return t>=0?i[t|1]=r:(t=~t,NF(i,t,e,r)),t}function o_(i,e){let r=Sc(i,e);if(r>=0)return i[r|1]}function Sc(i,e){return LF(i,e,1)}function LF(i,e,r){let t=0,n=i.length>>r;for(;n!==t;){let o=t+(n-t>>1),a=i[o<e?n=o:t=o+1}return~(n<e){a=o-1;break}}}for(;o-1){let o;for(;++no?v="":v=n[f+1].toLowerCase(),t&2&&u!==v){if(wo(t))return!1;a=!0}}}}return wo(t)||a}function wo(i){return(i&1)===0}function HF(i,e,r,t){if(e===null)return-1;let n=0;if(t||!r){let o=!1;for(;n-1)for(r++;r0?'="'+s+'"':"")+"]"}else t&8?n+="."+a:t&4&&(n+=" "+a);else n!==""&&!wo(a)&&(e+=Dx(o,n),n=""),t=a,o=o||!wo(t);r++}return n!==""&&(e+=Dx(o,n)),e}function QF(i){return i.map(YF).join(",")}function KF(i){let e=[],r=[],t=1,n=2;for(;t{let e=TD(i),r=rt(j({},e),{decls:i.decls,vars:i.vars,template:i.template,consts:i.consts||null,ngContentSelectors:i.ngContentSelectors,onPush:i.changeDetection===CD.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&i.dependencies||null,getStandaloneInjector:null,signals:i.signals??!1,data:i.data||{},encapsulation:i.encapsulation||Wo.Emulated,styles:i.styles||un,_:null,schemas:i.schemas||null,tView:null,id:""});kD(r);let t=i.dependencies;return r.directiveDefs=lh(t,!1),r.pipeDefs=lh(t,!0),r.id=JF(r),r})}function ZF(i){return ea(i)||Ov(i)}function XF(i){return i!==null}function te(i){return Dc(()=>({type:i.type,bootstrap:i.bootstrap||un,declarations:i.declarations||un,imports:i.imports||un,exports:i.exports||un,transitiveCompileScopes:null,schemas:i.schemas||null,id:i.id||null}))}function Sx(i,e){if(i==null)return pr;let r={};for(let t in i)if(i.hasOwnProperty(t)){let n=i[t],o,a,s=Jr.None;Array.isArray(n)?(s=n[0],o=n[1],a=n[2]??o):(o=n,a=n),e?(r[o]=s!==Jr.None?[t,s]:t,e[o]=a):r[o]=t}return r}function L(i){return Dc(()=>{let e=TD(i);return kD(e),e})}function Qo(i){return{type:i.type,name:i.name,factory:null,pure:i.pure!==!1,standalone:i.standalone===!0,onDestroy:i.type.prototype.ngOnDestroy||null}}function ea(i){return i[vF]||null}function Ov(i){return i[bF]||null}function ED(i){return i[yF]||null}function ID(i){let e=ea(i)||Ov(i)||ED(i);return e!==null?e.standalone:!1}function MD(i,e){let r=i[wF]||null;if(!r&&e===!0)throw new Error(`Type ${hn(i)} does not have '\u0275mod' property.`);return r}function TD(i){let e={};return{type:i.type,providersResolver:null,factory:null,hostBindings:i.hostBindings||null,hostVars:i.hostVars||0,hostAttrs:i.hostAttrs||null,contentQueries:i.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:i.inputs||pr,exportAs:i.exportAs||null,standalone:i.standalone===!0,signals:i.signals===!0,selectors:i.selectors||un,viewQuery:i.viewQuery||null,features:i.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Sx(i.inputs,e),outputs:Sx(i.outputs),debugInfo:null}}function kD(i){i.features?.forEach(e=>e(i))}function lh(i,e){if(!i)return null;let r=e?ED:ZF;return()=>(typeof i=="function"?i():i).map(t=>r(t)).filter(XF)}function JF(i){let e=0,r=[i.selectors,i.ngContentSelectors,i.hostVars,i.hostAttrs,i.consts,i.vars,i.decls,i.encapsulation,i.standalone,i.signals,i.exportAs,JSON.stringify(i.inputs),JSON.stringify(i.outputs),Object.getOwnPropertyNames(i.type.prototype),!!i.contentQueries,!!i.viewQuery].join("|");for(let n of r)e=Math.imul(31,e)+n.charCodeAt(0)<<0;return e+=2147483648,"c"+e}function jh(i){return{\u0275providers:i}}function eN(...i){return{\u0275providers:AD(!0,i),\u0275fromNgModule:!0}}function AD(i,...e){let r=[],t=new Set,n,o=a=>{r.push(a)};return kv(e,a=>{let s=a;C_(s,o,[],t)&&(n||=[],n.push(s))}),n!==void 0&&OD(n,o),r}function OD(i,e){for(let r=0;r{e(o,t)})}}function C_(i,e,r,t){if(i=Gi(i),!i)return!1;let n=null,o=bx(i),a=!o&&ea(i);if(!o&&!a){let l=i.ngModule;if(o=bx(l),o)n=l;else return!1}else{if(a&&!a.standalone)return!1;n=i}let s=t.has(n);if(a){if(s)return!1;if(t.add(n),a.dependencies){let l=typeof a.dependencies=="function"?a.dependencies():a.dependencies;for(let u of l)C_(u,e,r,t)}}else if(o){if(o.imports!=null&&!s){t.add(n);let u;try{kv(o.imports,f=>{C_(f,e,r,t)&&(u||=[],u.push(f))})}finally{}u!==void 0&&OD(u,e)}if(!s){let u=Wa(n)||(()=>new n);e({provide:n,useFactory:u,deps:un},n),e({provide:wD,useValue:n,multi:!0},n),e({provide:qs,useValue:()=>M(n),multi:!0},n)}let l=o.providers;if(l!=null&&!s){let u=i;Rv(l,f=>{e(f,u)})}}else return!1;return n!==i&&i.providers!==void 0}function Rv(i,e){for(let r of i)fD(r)&&(r=r.\u0275providers),Array.isArray(r)?Rv(r,e):e(r)}var tN=Zt({provide:String,useValue:Zt});function RD(i){return i!==null&&typeof i=="object"&&tN in i}function iN(i){return!!(i&&i.useExisting)}function nN(i){return!!(i&&i.useFactory)}function Ys(i){return typeof i=="function"}function oN(i){return!!i.useClass}var Bh=new R(""),Xu={},rN={},r_;function Pv(){return r_===void 0&&(r_=new sh),r_}var qi=class{},bc=class extends qi{get destroyed(){return this._destroyed}constructor(e,r,t,n){super(),this.parent=r,this.source=t,this.scopes=n,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,D_(e,a=>this.processProvider(a)),this.records.set(yD,zs(void 0,this)),n.has("environment")&&this.records.set(qi,zs(void 0,this));let o=this.records.get(Bh);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(wD,un,gt.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let e=yt(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(),yt(e)}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();let r=Kr(this),t=bn(void 0),n;try{return e()}finally{Kr(r),bn(t)}}get(e,r=_c,t=gt.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(wx))return e[wx](this);t=Lh(t);let n,o=Kr(this),a=bn(void 0);try{if(!(t>.SkipSelf)){let l=this.records.get(e);if(l===void 0){let u=dN(e)&&Nh(e);u&&this.injectableDefInScope(u)?l=zs(x_(e),Xu):l=null,this.records.set(e,l)}if(l!=null)return this.hydrate(e,l)}let s=t>.Self?Pv():this.parent;return r=t>.Optional&&r===_c?null:r,s.get(e,r)}catch(s){if(s.name==="NullInjectorError"){if((s[rh]=s[rh]||[]).unshift(hn(e)),o)throw s;return AF(s,e,"R3InjectorError",this.source)}else throw s}finally{bn(a),Kr(o)}}resolveInjectorInitializers(){let e=yt(null),r=Kr(this),t=bn(void 0),n;try{let o=this.get(qs,un,gt.Self);for(let a of o)a()}finally{Kr(r),bn(t),yt(e)}}toString(){let e=[],r=this.records;for(let t of r.keys())e.push(hn(t));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new J(205,!1)}processProvider(e){e=Gi(e);let r=Ys(e)?e:Gi(e&&e.provide),t=sN(e);if(!Ys(e)&&e.multi===!0){let n=this.records.get(r);n||(n=zs(void 0,Xu,!0),n.factory=()=>y_(n.multi),this.records.set(r,n)),r=e,n.multi.push(e)}this.records.set(r,t)}hydrate(e,r){let t=yt(null);try{return r.value===Xu&&(r.value=rN,r.value=r.factory()),typeof r.value=="object"&&r.value&&cN(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}finally{yt(t)}}injectableDefInScope(e){if(!e.providedIn)return!1;let r=Gi(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 x_(i){let e=Nh(i),r=e!==null?e.factory:Wa(i);if(r!==null)return r;if(i instanceof R)throw new J(204,!1);if(i instanceof Function)return aN(i);throw new J(204,!1)}function aN(i){if(i.length>0)throw new J(204,!1);let r=gF(i);return r!==null?()=>r.factory(i):()=>new i}function sN(i){if(RD(i))return zs(void 0,i.useValue);{let e=PD(i);return zs(e,Xu)}}function PD(i,e,r){let t;if(Ys(i)){let n=Gi(i);return Wa(n)||x_(n)}else if(RD(i))t=()=>Gi(i.useValue);else if(nN(i))t=()=>i.useFactory(...y_(i.deps||[]));else if(iN(i))t=()=>M(Gi(i.useExisting));else{let n=Gi(i&&(i.useClass||i.provide));if(lN(i))t=()=>new n(...y_(i.deps));else return Wa(n)||x_(n)}return t}function zs(i,e,r=!1){return{factory:i,value:e,multi:r?[]:void 0}}function lN(i){return!!i.deps}function cN(i){return i!==null&&typeof i=="object"&&typeof i.ngOnDestroy=="function"}function dN(i){return typeof i=="function"||typeof i=="object"&&i instanceof R}function D_(i,e){for(let r of i)Array.isArray(r)?D_(r,e):r&&fD(r)?D_(r.\u0275providers,e):e(r)}function io(i,e){i instanceof bc&&i.assertNotDestroyed();let r,t=Kr(i),n=bn(void 0);try{return e()}finally{Kr(t),bn(n)}}function FD(){return gD()!==void 0||MF()!=null}function Fv(i){if(!FD())throw new J(-203,!1)}function uN(i){let e=Pn.ng;if(e&&e.\u0275compilerFacade)return e.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function hN(i){return typeof i=="function"}var Ko=0,at=1,Ze=2,on=3,xo=4,Cn=5,Qs=6,ch=7,tn=8,Ks=9,Go=10,ri=11,yc=12,Ex=13,nl=14,Fn=15,Ga=16,Us=17,fr=18,zh=19,ND=20,Zr=21,Ju=22,Jn=23,Li=25,Nv=1;var qa=7,dh=8,Zs=9,nn=10,uh=function(i){return i[i.None=0]="None",i[i.HasTransplantedViews=2]="HasTransplantedViews",i}(uh||{});function Xr(i){return Array.isArray(i)&&typeof i[Nv]=="object"}function vr(i){return Array.isArray(i)&&i[Nv]===!0}function Lv(i){return(i.flags&4)!==0}function Uh(i){return i.componentOffset>-1}function Hh(i){return(i.flags&1)===1}function gr(i){return!!i.template}function S_(i){return(i[Ze]&512)!==0}var E_=class{constructor(e,r,t){this.previousValue=e,this.currentValue=r,this.firstChange=t}isFirstChange(){return this.firstChange}};function LD(i,e,r,t){e!==null?e.applyValueToInputSignal(e,t):i[r]=t}function Qe(){return VD}function VD(i){return i.type.prototype.ngOnChanges&&(i.setInput=pN),mN}Qe.ngInherit=!0;function mN(){let i=BD(this),e=i?.current;if(e){let r=i.previous;if(r===pr)i.previous=e;else for(let t in e)r[t]=e[t];i.current=null,this.ngOnChanges(e)}}function pN(i,e,r,t,n){let o=this.declaredInputs[t],a=BD(i)||fN(i,{previous:pr,current:null}),s=a.current||(a.current={}),l=a.previous,u=l[o];s[o]=new E_(u&&u.currentValue,r,l===pr),LD(i,e,n,r)}var jD="__ngSimpleChanges__";function BD(i){return i[jD]||null}function fN(i,e){return i[jD]=e}var Ix=null;var Ho=function(i,e,r){Ix?.(i,e,r)},zD="svg",gN="math";function qo(i){for(;Array.isArray(i);)i=i[Ko];return i}function _N(i){for(;Array.isArray(i);){if(typeof i[Nv]=="object")return i;i=i[Ko]}return null}function UD(i,e){return qo(e[i])}function no(i,e){return qo(e[i.index])}function Vv(i,e){return i.data[e]}function jv(i,e){return i[e]}function ra(i,e){let r=e[i];return Xr(r)?r:r[Ko]}function vN(i){return(i[Ze]&4)===4}function Bv(i){return(i[Ze]&128)===128}function bN(i){return vr(i[on])}function ta(i,e){return e==null?null:i[e]}function HD(i){i[Us]=0}function $D(i){i[Ze]&1024||(i[Ze]|=1024,Bv(i)&&Wh(i))}function yN(i,e){for(;i>0;)e=e[nl],i--;return e}function $h(i){return!!(i[Ze]&9216||i[Jn]?.dirty)}function I_(i){i[Go].changeDetectionScheduler?.notify(8),i[Ze]&64&&(i[Ze]|=1024),$h(i)&&Wh(i)}function Wh(i){i[Go].changeDetectionScheduler?.notify(0);let e=Ya(i);for(;e!==null&&!(e[Ze]&8192||(e[Ze]|=8192,!Bv(e)));)e=Ya(e)}function WD(i,e){if((i[Ze]&256)===256)throw new J(911,!1);i[Zr]===null&&(i[Zr]=[]),i[Zr].push(e)}function wN(i,e){if(i[Zr]===null)return;let r=i[Zr].indexOf(e);r!==-1&&i[Zr].splice(r,1)}function Ya(i){let e=i[on];return vr(e)?e[on]:e}var st={lFrame:JD(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var GD=!1;function CN(){return st.lFrame.elementDepthCount}function xN(){st.lFrame.elementDepthCount++}function DN(){st.lFrame.elementDepthCount--}function qD(){return st.bindingsEnabled}function YD(){return st.skipHydrationRootTNode!==null}function SN(i){return st.skipHydrationRootTNode===i}function EN(){st.skipHydrationRootTNode=null}function Ue(){return st.lFrame.lView}function ii(){return st.lFrame.tView}function y(i){return st.lFrame.contextLView=i,i[tn]}function w(i){return st.lFrame.contextLView=null,i}function Vi(){let i=QD();for(;i!==null&&i.type===64;)i=i.parent;return i}function QD(){return st.lFrame.currentTNode}function IN(){let i=st.lFrame,e=i.currentTNode;return i.isParent?e:e.parent}function es(i,e){let r=st.lFrame;r.currentTNode=i,r.isParent=e}function zv(){return st.lFrame.isParent}function Uv(){st.lFrame.isParent=!1}function MN(){return st.lFrame.contextLView}function KD(){return GD}function Mx(i){GD=i}function Ec(){let i=st.lFrame,e=i.bindingRootIndex;return e===-1&&(e=i.bindingRootIndex=i.tView.bindingStartIndex),e}function TN(){return st.lFrame.bindingIndex}function kN(i){return st.lFrame.bindingIndex=i}function aa(){return st.lFrame.bindingIndex++}function Hv(i){let e=st.lFrame,r=e.bindingIndex;return e.bindingIndex=e.bindingIndex+i,r}function AN(){return st.lFrame.inI18n}function ON(i,e){let r=st.lFrame;r.bindingIndex=r.bindingRootIndex=i,M_(e)}function RN(){return st.lFrame.currentDirectiveIndex}function M_(i){st.lFrame.currentDirectiveIndex=i}function $v(i){let e=st.lFrame.currentDirectiveIndex;return e===-1?null:i[e]}function Wv(){return st.lFrame.currentQueryIndex}function Gh(i){st.lFrame.currentQueryIndex=i}function PN(i){let e=i[at];return e.type===2?e.declTNode:e.type===1?i[Cn]:null}function ZD(i,e,r){if(r>.SkipSelf){let n=e,o=i;for(;n=n.parent,n===null&&!(r>.Host);)if(n=PN(o),n===null||(o=o[nl],n.type&10))break;if(n===null)return!1;e=n,i=o}let t=st.lFrame=XD();return t.currentTNode=e,t.lView=i,!0}function Gv(i){let e=XD(),r=i[at];st.lFrame=e,e.currentTNode=r.firstChild,e.lView=i,e.tView=r,e.contextLView=i,e.bindingIndex=r.bindingStartIndex,e.inI18n=!1}function XD(){let i=st.lFrame,e=i===null?null:i.child;return e===null?JD(i):e}function JD(i){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:i,child:null,inI18n:!1};return i!==null&&(i.child=e),e}function eS(){let i=st.lFrame;return st.lFrame=i.parent,i.currentTNode=null,i.lView=null,i}var tS=eS;function qv(){let i=eS();i.isParent=!0,i.tView=null,i.selectedIndex=-1,i.contextLView=null,i.elementDepthCount=0,i.currentDirectiveIndex=-1,i.currentNamespace=null,i.bindingRootIndex=-1,i.bindingIndex=-1,i.currentQueryIndex=0}function FN(i){return(st.lFrame.contextLView=yN(i,st.lFrame.contextLView))[tn]}function br(){return st.lFrame.selectedIndex}function Qa(i){st.lFrame.selectedIndex=i}function ol(){let i=st.lFrame;return Vv(i.tView,i.selectedIndex)}function pi(){st.lFrame.currentNamespace=zD}function yr(){NN()}function NN(){st.lFrame.currentNamespace=null}function LN(){return st.lFrame.currentNamespace}var iS=!0;function qh(){return iS}function Yh(i){iS=i}function VN(i,e,r){let{ngOnChanges:t,ngOnInit:n,ngDoCheck:o}=e.type.prototype;if(t){let a=VD(e);(r.preOrderHooks??=[]).push(i,a),(r.preOrderCheckHooks??=[]).push(i,a)}n&&(r.preOrderHooks??=[]).push(0-i,n),o&&((r.preOrderHooks??=[]).push(i,o),(r.preOrderCheckHooks??=[]).push(i,o))}function Qh(i,e){for(let r=e.directiveStart,t=e.directiveEnd;r=t)break}else e[l]<0&&(i[Us]+=65536),(s>14>16&&(i[Ze]&3)===e&&(i[Ze]+=16384,Tx(s,o)):Tx(s,o)}var Gs=-1,Ka=class{constructor(e,r,t){this.factory=e,this.resolving=!1,this.canSeeViewProviders=r,this.injectImpl=t}};function BN(i){return i instanceof Ka}function zN(i){return(i.flags&8)!==0}function UN(i){return(i.flags&16)!==0}var s_={},T_=class{constructor(e,r){this.injector=e,this.parentInjector=r}get(e,r,t){t=Lh(t);let n=this.injector.get(e,s_,t);return n!==s_||r===s_?n:this.parentInjector.get(e,r,t)}};function oS(i){return i!==Gs}function hh(i){return i&32767}function HN(i){return i>>16}function mh(i,e){let r=HN(i),t=e;for(;r>0;)t=t[nl],r--;return t}var k_=!0;function ph(i){let e=k_;return k_=i,e}var $N=256,rS=$N-1,aS=5,WN=0,$o={};function GN(i,e,r){let t;typeof r=="string"?t=r.charCodeAt(0)||0:r.hasOwnProperty(fc)&&(t=r[fc]),t==null&&(t=r[fc]=WN++);let n=t&rS,o=1<>aS)]|=o}function fh(i,e){let r=sS(i,e);if(r!==-1)return r;let t=e[at];t.firstCreatePass&&(i.injectorIndex=e.length,l_(t.data,i),l_(e,null),l_(t.blueprint,null));let n=Yv(i,e),o=i.injectorIndex;if(oS(n)){let a=hh(n),s=mh(n,e),l=s[at].data;for(let u=0;u<8;u++)e[o+u]=s[a+u]|l[a+u]}return e[o+8]=n,o}function l_(i,e){i.push(0,0,0,0,0,0,0,0,e)}function sS(i,e){return i.injectorIndex===-1||i.parent&&i.parent.injectorIndex===i.injectorIndex||e[i.injectorIndex+8]===null?-1:i.injectorIndex}function Yv(i,e){if(i.parent&&i.parent.injectorIndex!==-1)return i.parent.injectorIndex;let r=0,t=null,n=e;for(;n!==null;){if(t=hS(n),t===null)return Gs;if(r++,n=n[nl],t.injectorIndex!==-1)return t.injectorIndex|r<<16}return Gs}function A_(i,e,r){GN(i,e,r)}function qN(i,e){if(e==="class")return i.classes;if(e==="style")return i.styles;let r=i.attrs;if(r){let t=r.length,n=0;for(;n>20,v=t?s:s+f,C=n?s+f:u;for(let D=v;D=l&&S.type===r)return D}if(n){let D=a[l];if(D&&gr(D)&&D.type===r)return l}return null}function Za(i,e,r,t){let n=i[r],o=e.data;if(BN(n)){let a=n;a.resolving&&xF(CF(o[r]));let s=ph(a.canSeeViewProviders);a.resolving=!0;let l,u=a.injectImpl?bn(a.injectImpl):null,f=ZD(i,t,gt.Default);try{n=i[r]=a.factory(void 0,o,i,t),e.firstCreatePass&&r>=t.directiveStart&&VN(r,o[r],e)}finally{u!==null&&bn(u),ph(s),a.resolving=!1,tS()}}return n}function QN(i){if(typeof i=="string")return i.charCodeAt(0)||0;let e=i.hasOwnProperty(fc)?i[fc]:void 0;return typeof e=="number"?e>=0?e&rS:KN:e}function kx(i,e,r){let t=1<>aS)]&t)}function Ax(i,e){return!(i>.Self)&&!(i>.Host&&e)}var Ha=class{constructor(e,r){this._tNode=e,this._lView=r}get(e,r,t){return dS(this._tNode,this._lView,e,Lh(t),r)}};function KN(){return new Ha(Vi(),Ue())}function jt(i){return Dc(()=>{let e=i.prototype.constructor,r=e[oh]||O_(e),t=Object.prototype,n=Object.getPrototypeOf(i.prototype).constructor;for(;n&&n!==t;){let o=n[oh]||O_(n);if(o&&o!==r)return o;n=Object.getPrototypeOf(n)}return o=>new o})}function O_(i){return uD(i)?()=>{let e=O_(Gi(i));return e&&e()}:Wa(i)}function ZN(i,e,r,t,n){let o=i,a=e;for(;o!==null&&a!==null&&a[Ze]&2048&&!(a[Ze]&512);){let s=uS(o,a,r,t|gt.Self,$o);if(s!==$o)return s;let l=o.parent;if(!l){let u=a[ND];if(u){let f=u.get(r,$o,t);if(f!==$o)return f}l=hS(a),a=a[nl]}o=l}return n}function hS(i){let e=i[at],r=e.type;return r===2?e.declTNode:r===1?i[Cn]:null}function vi(i){return qN(Vi(),i)}function Ox(i,e=null,r=null,t){let n=mS(i,e,r,t);return n.resolveInjectorInitializers(),n}function mS(i,e=null,r=null,t,n=new Set){let o=[r||un,eN(i)];return t=t||(typeof i=="object"?void 0:hn(i)),new bc(o,e||Pv(),t||null,n)}var za=class za{static create(e,r){if(Array.isArray(e))return Ox({name:""},r,e,"");{let t=e.name??"";return Ox({name:t},e.parent,e.providers,t)}}};za.THROW_IF_NOT_FOUND=_c,za.NULL=new sh,za.\u0275prov=V({token:za,providedIn:"any",factory:()=>M(yD)}),za.__NG_ELEMENT_ID__=-1;var Pe=za;var XN=new R("");XN.__NG_ELEMENT_ID__=i=>{let e=Vi();if(e===null)throw new J(204,!1);if(e.type&2)return e.value;if(i>.Optional)return null;throw new J(204,!1)};var JN="ngOriginalError";function c_(i){return i[JN]}var pS=!0,Kh=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=e2,e.__NG_ENV_ID__=t=>t;let i=e;return i})(),R_=class extends Kh{constructor(e){super(),this._lView=e}onDestroy(e){return WD(this._lView,e),()=>wN(this._lView,e)}};function e2(){return new R_(Ue())}var Zo=(()=>{let e=class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Gt(!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=V({token:e,providedIn:"root",factory:()=>new e});let i=e;return i})();var P_=class extends G{constructor(e=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=e,FD()&&(this.destroyRef=k(Kh,{optional:!0})??void 0,this.pendingTasks=k(Zo,{optional:!0})??void 0)}emit(e){let r=yt(null);try{super.next(e)}finally{yt(r)}}subscribe(e,r,t){let n=e,o=r||(()=>null),a=t;if(e&&typeof e=="object"){let l=e;n=l.next?.bind(l),o=l.error?.bind(l),a=l.complete?.bind(l)}this.__isAsync&&(o=this.wrapInTimeout(o),n&&(n=this.wrapInTimeout(n)),a&&(a=this.wrapInTimeout(a)));let s=super.subscribe({next:n,error:o,complete:a});return e instanceof ve&&e.add(s),s}wrapInTimeout(e){return r=>{let t=this.pendingTasks?.add();setTimeout(()=>{e(r),t!==void 0&&this.pendingTasks?.remove(t)})}}},T=P_;function gh(...i){}function fS(i){let e,r;function t(){i=gh;try{r!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(r),e!==void 0&&clearTimeout(e)}catch{}}return e=setTimeout(()=>{i(),t()}),typeof requestAnimationFrame=="function"&&(r=requestAnimationFrame(()=>{i(),t()})),()=>t()}function Rx(i){return queueMicrotask(()=>i()),()=>{i=gh}}var Qv="isAngularZone",_h=Qv+"_ID",t2=0,Z=class i{constructor(e){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new T(!1),this.onMicrotaskEmpty=new T(!1),this.onStable=new T(!1),this.onError=new T(!1);let{enableLongStackTrace:r=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:n=!1,scheduleInRootZone:o=pS}=e;if(typeof Zone>"u")throw new J(908,!1);Zone.assertZonePatched();let a=this;a._nesting=0,a._outer=a._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(a._inner=a._inner.fork(new Zone.TaskTrackingZoneSpec)),r&&Zone.longStackTraceZoneSpec&&(a._inner=a._inner.fork(Zone.longStackTraceZoneSpec)),a.shouldCoalesceEventChangeDetection=!n&&t,a.shouldCoalesceRunChangeDetection=n,a.callbackScheduled=!1,a.scheduleInRootZone=o,o2(a)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Qv)===!0}static assertInAngularZone(){if(!i.isInAngularZone())throw new J(909,!1)}static assertNotInAngularZone(){if(i.isInAngularZone())throw new J(909,!1)}run(e,r,t){return this._inner.run(e,r,t)}runTask(e,r,t,n){let o=this._inner,a=o.scheduleEventTask("NgZoneEvent: "+n,e,i2,gh,gh);try{return o.runTask(a,r,t)}finally{o.cancelTask(a)}}runGuarded(e,r,t){return this._inner.runGuarded(e,r,t)}runOutsideAngular(e){return this._outer.run(e)}},i2={};function Kv(i){if(i._nesting==0&&!i.hasPendingMicrotasks&&!i.isStable)try{i._nesting++,i.onMicrotaskEmpty.emit(null)}finally{if(i._nesting--,!i.hasPendingMicrotasks)try{i.runOutsideAngular(()=>i.onStable.emit(null))}finally{i.isStable=!0}}}function n2(i){if(i.isCheckStableRunning||i.callbackScheduled)return;i.callbackScheduled=!0;function e(){fS(()=>{i.callbackScheduled=!1,F_(i),i.isCheckStableRunning=!0,Kv(i),i.isCheckStableRunning=!1})}i.scheduleInRootZone?Zone.root.run(()=>{e()}):i._outer.run(()=>{e()}),F_(i)}function o2(i){let e=()=>{n2(i)},r=t2++;i._inner=i._inner.fork({name:"angular",properties:{[Qv]:!0,[_h]:r,[_h+r]:!0},onInvokeTask:(t,n,o,a,s,l)=>{if(r2(l))return t.invokeTask(o,a,s,l);try{return Px(i),t.invokeTask(o,a,s,l)}finally{(i.shouldCoalesceEventChangeDetection&&a.type==="eventTask"||i.shouldCoalesceRunChangeDetection)&&e(),Fx(i)}},onInvoke:(t,n,o,a,s,l,u)=>{try{return Px(i),t.invoke(o,a,s,l,u)}finally{i.shouldCoalesceRunChangeDetection&&!i.callbackScheduled&&!a2(l)&&e(),Fx(i)}},onHasTask:(t,n,o,a)=>{t.hasTask(o,a),n===o&&(a.change=="microTask"?(i._hasPendingMicrotasks=a.microTask,F_(i),Kv(i)):a.change=="macroTask"&&(i.hasPendingMacrotasks=a.macroTask))},onHandleError:(t,n,o,a)=>(t.handleError(o,a),i.runOutsideAngular(()=>i.onError.emit(a)),!1)})}function F_(i){i._hasPendingMicrotasks||(i.shouldCoalesceEventChangeDetection||i.shouldCoalesceRunChangeDetection)&&i.callbackScheduled===!0?i.hasPendingMicrotasks=!0:i.hasPendingMicrotasks=!1}function Px(i){i._nesting++,i.isStable&&(i.isStable=!1,i.onUnstable.emit(null))}function Fx(i){i._nesting--,Kv(i)}var vh=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new T,this.onMicrotaskEmpty=new T,this.onStable=new T,this.onError=new T}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,n){return e.apply(r,t)}};function r2(i){return gS(i,"__ignore_ng_zone__")}function a2(i){return gS(i,"__scheduler_tick__")}function gS(i,e){return!Array.isArray(i)||i.length!==1?!1:i[0]?.data?.[e]===!0}function s2(i="zone.js",e){return i==="noop"?new vh:i==="zone.js"?new Z(e):i}var yn=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&&c_(e);for(;r&&c_(r);)r=c_(r);return r||null}},l2=new R("",{providedIn:"root",factory:()=>{let i=k(Z),e=k(yn);return r=>i.runOutsideAngular(()=>e.handleError(r))}});function c2(){return rl(Vi(),Ue())}function rl(i,e){return new q(no(i,e))}var q=(()=>{let e=class e{constructor(t){this.nativeElement=t}};e.__NG_ELEMENT_ID__=c2;let i=e;return i})();function _S(i){return i instanceof q?i.nativeElement:i}function d2(){return this._results[Symbol.iterator]()}var eo=class i{get changes(){return this._changes??=new T}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=i.prototype;r[Symbol.iterator]||(r[Symbol.iterator]=d2)}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=PF(e);(this._changesDetected=!RF(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(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}};function vS(i){return(i.flags&128)===128}var bS=new Map,u2=0;function h2(){return u2++}function m2(i){bS.set(i[zh],i)}function N_(i){bS.delete(i[zh])}var Nx="__ngContext__";function ia(i,e){Xr(e)?(i[Nx]=e[zh],m2(e)):i[Nx]=e}function yS(i){return CS(i[yc])}function wS(i){return CS(i[xo])}function CS(i){for(;i!==null&&!vr(i);)i=i[xo];return i}var L_;function xS(i){L_=i}function DS(){if(L_!==void 0)return L_;if(typeof document<"u")return document;throw new J(210,!1)}var al=new R("",{providedIn:"root",factory:()=>p2}),p2="ng",Zv=new R(""),oo=new R("",{providedIn:"platform",factory:()=>"unknown"});var kt=new R(""),Ic=new R("",{providedIn:"root",factory:()=>DS().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var f2="h",g2="b";var _2=()=>null;function Xv(i,e,r=!1){return _2(i,e,r)}var SS=!1,v2=new R("",{providedIn:"root",factory:()=>SS});var Wu;function b2(){if(Wu===void 0&&(Wu=null,Pn.trustedTypes))try{Wu=Pn.trustedTypes.createPolicy("angular",{createHTML:i=>i,createScript:i=>i,createScriptURL:i=>i})}catch{}return Wu}function Zh(i){return b2()?.createHTML(i)||i}var Gu;function ES(){if(Gu===void 0&&(Gu=null,Pn.trustedTypes))try{Gu=Pn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:i=>i,createScript:i=>i,createScriptURL:i=>i})}catch{}return Gu}function Lx(i){return ES()?.createHTML(i)||i}function Vx(i){return ES()?.createScriptURL(i)||i}var _r=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${cD})`}},V_=class extends _r{getTypeName(){return"HTML"}},j_=class extends _r{getTypeName(){return"Style"}},B_=class extends _r{getTypeName(){return"Script"}},z_=class extends _r{getTypeName(){return"URL"}},U_=class extends _r{getTypeName(){return"ResourceURL"}};function ro(i){return i instanceof _r?i.changingThisBreaksApplicationSecurity:i}function wr(i,e){let r=y2(i);if(r!=null&&r!==e){if(r==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${r} (see ${cD})`)}return r===e}function y2(i){return i instanceof _r&&i.getTypeName()||null}function IS(i){return new V_(i)}function MS(i){return new j_(i)}function TS(i){return new B_(i)}function kS(i){return new z_(i)}function AS(i){return new U_(i)}function w2(i){let e=new $_(i);return C2()?new H_(e):e}var H_=class{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e=""+e;try{let r=new window.DOMParser().parseFromString(Zh(e),"text/html").body;return r===null?this.inertDocumentHelper.getInertBodyElement(e):(r.firstChild?.remove(),r)}catch{return null}}},$_=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=Zh(e),r}};function C2(){try{return!!new window.DOMParser().parseFromString(Zh(""),"text/html")}catch{return!1}}var x2=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Xh(i){return i=String(i),i.match(x2)?i:"unsafe:"+i}function Cr(i){let e={};for(let r of i.split(","))e[r]=!0;return e}function Mc(...i){let e={};for(let r of i)for(let t in r)r.hasOwnProperty(t)&&(e[t]=!0);return e}var OS=Cr("area,br,col,hr,img,wbr"),RS=Cr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),PS=Cr("rp,rt"),D2=Mc(PS,RS),S2=Mc(RS,Cr("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")),E2=Mc(PS,Cr("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")),jx=Mc(OS,S2,E2,D2),FS=Cr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),I2=Cr("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"),M2=Cr("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"),T2=Mc(FS,I2,M2),k2=Cr("script,style,template"),W_=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let r=e.firstChild,t=!0,n=[];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){n.push(r),r=R2(r);continue}for(;r;){r.nodeType===Node.ELEMENT_NODE&&this.endElement(r);let o=O2(r);if(o){r=o;break}r=n.pop()}}return this.buf.join("")}startElement(e){let r=Bx(e).toLowerCase();if(!jx.hasOwnProperty(r))return this.sanitizedSomething=!0,!k2.hasOwnProperty(r);this.buf.push("<"),this.buf.push(r);let t=e.attributes;for(let n=0;n"),!0}endElement(e){let r=Bx(e).toLowerCase();jx.hasOwnProperty(r)&&!OS.hasOwnProperty(r)&&(this.buf.push(""))}chars(e){this.buf.push(zx(e))}};function A2(i,e){return(i.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function O2(i){let e=i.nextSibling;if(e&&i!==e.previousSibling)throw NS(e);return e}function R2(i){let e=i.firstChild;if(e&&A2(i,e))throw NS(e);return e}function Bx(i){let e=i.nodeName;return typeof e=="string"?e:"FORM"}function NS(i){return new Error(`Failed to sanitize html because the element is clobbered: ${i.outerHTML}`)}var P2=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,F2=/([^\#-~ |!])/g;function zx(i){return i.replace(/&/g,"&").replace(P2,function(e){let r=e.charCodeAt(0),t=e.charCodeAt(1);return"&#"+((r-55296)*1024+(t-56320)+65536)+";"}).replace(F2,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}var qu;function Jv(i,e){let r=null;try{qu=qu||w2(i);let t=e?String(e):"";r=qu.getInertBodyElement(t);let n=5,o=t;do{if(n===0)throw new Error("Failed to sanitize html because the input is unstable");n--,t=o,o=r.innerHTML,r=qu.getInertBodyElement(t)}while(t!==o);let s=new W_().sanitizeChildren(Ux(r)||r);return Zh(s)}finally{if(r){let t=Ux(r)||r;for(;t.firstChild;)t.firstChild.remove()}}}function Ux(i){return"content"in i&&N2(i)?i.content:null}function N2(i){return i.nodeType===Node.ELEMENT_NODE&&i.nodeName==="TEMPLATE"}var Yi=function(i){return i[i.NONE=0]="NONE",i[i.HTML=1]="HTML",i[i.STYLE=2]="STYLE",i[i.SCRIPT=3]="SCRIPT",i[i.URL=4]="URL",i[i.RESOURCE_URL=5]="RESOURCE_URL",i}(Yi||{});function qt(i){let e=eb();return e?Lx(e.sanitize(Yi.HTML,i)||""):wr(i,"HTML")?Lx(ro(i)):Jv(DS(),$a(i))}function Ie(i){let e=eb();return e?e.sanitize(Yi.URL,i)||"":wr(i,"URL")?ro(i):Xh($a(i))}function L2(i){let e=eb();if(e)return Vx(e.sanitize(Yi.RESOURCE_URL,i)||"");if(wr(i,"ResourceURL"))return Vx(ro(i));throw new J(904,!1)}function V2(i,e){return e==="src"&&(i==="embed"||i==="frame"||i==="iframe"||i==="media"||i==="script")||e==="href"&&(i==="base"||i==="link")?L2:Ie}function LS(i,e,r){return V2(e,r)(i)}function eb(){let i=Ue();return i&&i[Go].sanitizer}var j2=/^>|^->||--!>|)/g,z2="\u200B$1\u200B";function U2(i){return i.replace(j2,e=>e.replace(B2,z2))}function Jh(i){return i.ownerDocument.defaultView}function VS(i){return i.ownerDocument}function jS(i){return i instanceof Function?i():i}function BS(i){return(i??k(Pe)).get(oo)==="browser"}var Yo=function(i){return i[i.Important=1]="Important",i[i.DashCase=2]="DashCase",i}(Yo||{}),H2;function tb(i,e){return H2(i,e)}function Hs(i,e,r,t,n){if(t!=null){let o,a=!1;vr(t)?o=t:Xr(t)&&(a=!0,t=t[Ko]);let s=qo(t);i===0&&r!==null?n==null?WS(e,r,s):bh(e,r,s,n||null,!0):i===1&&r!==null?bh(e,r,s,n||null,!0):i===2?nL(e,s,a):i===3&&e.destroyNode(s),o!=null&&rL(e,i,o,r,n)}}function $2(i,e){return i.createText(e)}function W2(i,e,r){i.setValue(e,r)}function G2(i,e){return i.createComment(U2(e))}function zS(i,e,r){return i.createElement(e,r)}function q2(i,e){US(i,e),e[Ko]=null,e[Cn]=null}function Y2(i,e,r,t,n,o){t[Ko]=n,t[Cn]=e,im(i,t,r,1,n,o)}function US(i,e){e[Go].changeDetectionScheduler?.notify(9),im(i,e,e[ri],2,null,null)}function Q2(i){let e=i[yc];if(!e)return d_(i[at],i);for(;e;){let r=null;if(Xr(e))r=e[yc];else{let t=e[nn];t&&(r=t)}if(!r){for(;e&&!e[xo]&&e!==i;)Xr(e)&&d_(e[at],e),e=e[on];e===null&&(e=i),Xr(e)&&d_(e[at],e),r=e&&e[xo]}e=r}}function K2(i,e,r,t){let n=nn+t,o=r.length;t>0&&(r[n-1][xo]=e),t0&&(i[r-1][xo]=t[xo]);let o=ah(i,nn+e);q2(t[at],t);let a=o[fr];a!==null&&a.detachView(o[at]),t[on]=null,t[xo]=null,t[Ze]&=-129}return t}function em(i,e){if(!(e[Ze]&256)){let r=e[ri];r.destroyNode&&im(i,e,r,3,null,null),Q2(e)}}function d_(i,e){if(e[Ze]&256)return;let r=yt(null);try{e[Ze]&=-129,e[Ze]|=256,e[Jn]&&mu(e[Jn]),X2(i,e),Z2(i,e),e[at].type===1&&e[ri].destroy();let t=e[Ga];if(t!==null&&vr(e[on])){t!==e[on]&&ib(t,e);let n=e[fr];n!==null&&n.detachView(i)}N_(e)}finally{yt(r)}}function Z2(i,e){let r=i.cleanup,t=e[ch];if(r!==null)for(let o=0;o=0?t[a]():t[-a].unsubscribe(),o+=2}else{let a=t[r[o+1]];r[o].call(a)}t!==null&&(e[ch]=null);let n=e[Zr];if(n!==null){e[Zr]=null;for(let o=0;o-1){let{encapsulation:o}=i.data[t.directiveStart+n];if(o===Wo.None||o===Wo.Emulated)return null}return no(t,r)}}function bh(i,e,r,t,n){i.insertBefore(e,r,t,n)}function WS(i,e,r){i.appendChild(e,r)}function Hx(i,e,r,t,n){t!==null?bh(i,e,r,t,n):WS(i,e,r)}function GS(i,e){return i.parentNode(e)}function eL(i,e){return i.nextSibling(e)}function qS(i,e,r){return iL(i,e,r)}function tL(i,e,r){return i.type&40?no(i,r):null}var iL=tL,$x;function tm(i,e,r,t){let n=$S(i,t,e),o=e[ri],a=t.parent||e[Cn],s=qS(a,t,e);if(n!=null)if(Array.isArray(r))for(let l=0;lLi&&XS(i,e,Li,!1),Ho(a?2:0,n),r(t,n)}finally{Qa(o),Ho(a?3:1,n)}}function ob(i,e,r){if(Lv(e)){let t=yt(null);try{let n=e.directiveStart,o=e.directiveEnd;for(let a=n;anull;function pL(i,e,r,t){let n=sE(e);n.push(r),i.firstCreatePass&&lE(i).push(t,n.length-1)}function fL(i,e,r,t,n,o){let a=e?e.injectorIndex:-1,s=0;return YD()&&(s|=128),{type:r,index:t,insertBeforeIndex:null,injectorIndex:a,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:s,providerIndexes:0,value:n,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 Wx(i,e,r,t,n){for(let o in e){if(!e.hasOwnProperty(o))continue;let a=e[o];if(a===void 0)continue;t??={};let s,l=Jr.None;Array.isArray(a)?(s=a[0],l=a[1]):s=a;let u=o;if(n!==null){if(!n.hasOwnProperty(o))continue;u=n[o]}i===0?Gx(t,r,u,s,l):Gx(t,r,u,s)}return t}function Gx(i,e,r,t,n){let o;i.hasOwnProperty(r)?(o=i[r]).push(e,t):o=i[r]=[e,t],n!==void 0&&o.push(n)}function gL(i,e,r){let t=e.directiveStart,n=e.directiveEnd,o=i.data,a=e.attrs,s=[],l=null,u=null;for(let f=t;f0;){let r=i[--e];if(typeof r=="number"&&r<0)return r}return 0}function wL(i,e,r,t){let n=r.directiveStart,o=r.directiveEnd;Uh(r)&&ML(e,r,i.data[n+r.componentOffset]),i.firstCreatePass||fh(r,e),ia(t,e);let a=r.initialInputs;for(let s=n;s{Wh(i.lView)},consumerOnSignalRead(){this.lView[Jn]=this}});function zL(i){let e=i[Jn]??Object.create(UL);return e.lView=i,e}var UL=rt(j({},Ts),{consumerIsAlwaysLive:!0,consumerMarkedDirty:i=>{let e=Ya(i.lView);for(;e&&!fE(e[at]);)e=Ya(e);e&&$D(e)},consumerOnSignalRead(){this.lView[Jn]=this}});function fE(i){return i.type!==2}var HL=100;function gE(i,e=!0,r=0){let t=i[Go],n=t.rendererFactory,o=!1;o||n.begin?.();try{$L(i,r)}catch(a){throw e&&dE(i,a),a}finally{o||(n.end?.(),t.inlineEffectRunner?.flush())}}function $L(i,e){let r=KD();try{Mx(!0),Q_(i,e);let t=0;for(;$h(i);){if(t===HL)throw new J(103,!1);t++,Q_(i,1)}}finally{Mx(r)}}function WL(i,e,r,t){let n=e[Ze];if((n&256)===256)return;let o=!1,a=!1;!o&&e[Go].inlineEffectRunner?.flush(),Gv(e);let s=!0,l=null,u=null;o||(fE(i)?(u=LL(e),l=ac(u)):MC()===null?(s=!1,u=zL(e),l=ac(u)):e[Jn]&&(mu(e[Jn]),e[Jn]=null));try{HD(e),kN(i.bindingStartIndex),r!==null&&tE(i,e,r,2,t);let f=(n&3)===3;if(!o)if(f){let D=i.preOrderCheckHooks;D!==null&&eh(e,D,null)}else{let D=i.preOrderHooks;D!==null&&th(e,D,0,null),a_(e,0)}if(a||GL(e),_E(e,0),i.contentQueries!==null&&aE(i,e),!o)if(f){let D=i.contentCheckHooks;D!==null&&eh(e,D)}else{let D=i.contentHooks;D!==null&&th(e,D,1),a_(e,1)}lL(i,e);let v=i.components;v!==null&&bE(e,v,0);let C=i.viewQuery;if(C!==null&&Y_(2,C,t),!o)if(f){let D=i.viewCheckHooks;D!==null&&eh(e,D)}else{let D=i.viewHooks;D!==null&&th(e,D,2),a_(e,2)}if(i.firstUpdatePass===!0&&(i.firstUpdatePass=!1),e[Ju]){for(let D of e[Ju])D();e[Ju]=null}o||(e[Ze]&=-73)}catch(f){throw o||Wh(e),f}finally{u!==null&&(uu(u,l),s&&jL(u)),qv()}}function _E(i,e){for(let r=yS(i);r!==null;r=wS(r))for(let t=nn;t-1&&(wc(e,t),ah(r,t))}this._attachedToViewContainer=!1}em(this._lView[at],this._lView)}onDestroy(e){WD(this._lView,e)}markForCheck(){ub(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[Ze]&=-129}reattach(){I_(this._lView),this._lView[Ze]|=128}detectChanges(){this._lView[Ze]|=1024,gE(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new J(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=S_(this._lView),r=this._lView[Ga];r!==null&&!e&&ib(r,this._lView),US(this._lView[at],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new J(902,!1);this._appRef=e;let r=S_(this._lView),t=this._lView[Ga];t!==null&&!r&&HS(t,this._lView),I_(this._lView)}},dt=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=KL;let i=e;return i})(),YL=dt,QL=class extends YL{constructor(e,r,t){super(),this._declarationLView=e,this._declarationTContainer=r,this.elementRef=t}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,r){return this.createEmbeddedViewImpl(e,r)}createEmbeddedViewImpl(e,r,t){let n=kc(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:r,dehydratedView:t});return new Xa(n)}};function KL(){return rm(Vi(),Ue())}function rm(i,e){return i.type&4?new QL(e,i,rl(i,e)):null}var _oe=new RegExp(`^(\\d+)*(${g2}|${f2})*(.*)`);var ZL=()=>null;function Js(i,e){return ZL(i,e)}var el=class{},hb=new R("",{providedIn:"root",factory:()=>!1});var yE=new R(""),wE=new R(""),K_=class{},wh=class{};function XL(i){let e=Error(`No component factory found for ${hn(i)}.`);return e[JL]=i,e}var JL="ngComponent";var Z_=class{resolveComponentFactory(e){throw XL(e)}},Sb=class Sb{};Sb.NULL=new Z_;var wn=Sb,na=class{},xr=(()=>{let e=class e{constructor(){this.destroyNode=null}};e.__NG_ELEMENT_ID__=()=>eV();let i=e;return i})();function eV(){let i=Ue(),e=Vi(),r=ra(e.index,i);return(Xr(r)?r:i)[ri]}var tV=(()=>{let e=class e{};e.\u0275prov=V({token:e,providedIn:"root",factory:()=>null});let i=e;return i})();function Ch(i,e,r){let t=r?i.styles:null,n=r?i.classes:null,o=0;if(e!==null)for(let a=0;a0&&KS(i,r,o.join(" "))}}function lV(i,e,r){let t=i.projection=[];for(let n=0;n{let e=class e{};e.__NG_ELEMENT_ID__=dV;let i=e;return i})();function dV(){let i=Vi();return xE(i,Ue())}var uV=Ct,CE=class extends uV{constructor(e,r,t){super(),this._lContainer=e,this._hostTNode=r,this._hostLView=t}get element(){return rl(this._hostTNode,this._hostLView)}get injector(){return new Ha(this._hostTNode,this._hostLView)}get parentInjector(){let e=Yv(this._hostTNode,this._hostLView);if(oS(e)){let r=mh(e,this._hostLView),t=hh(e),n=r[at].data[t+8];return new Ha(n,r)}else return new Ha(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let r=Yx(this._lContainer);return r!==null&&r[e]||null}get length(){return this._lContainer.length-nn}createEmbeddedView(e,r,t){let n,o;typeof t=="number"?n=t:t!=null&&(n=t.index,o=t.injector);let a=Js(this._lContainer,e.ssrId),s=e.createEmbeddedViewImpl(r||{},o,a);return this.insertImpl(s,n,Xs(this._hostTNode,a)),s}createComponent(e,r,t,n,o){let a=e&&!hN(e),s;if(a)s=r;else{let S=r||{};s=S.index,t=S.injector,n=S.projectableNodes,o=S.environmentInjector||S.ngModuleRef}let l=a?e:new tl(ea(e)),u=t||this.parentInjector;if(!o&&l.ngModule==null){let P=(a?u:this.parentInjector).get(qi,null);P&&(o=P)}let f=ea(l.componentType??{}),v=Js(this._lContainer,f?.id??null),C=v?.firstChild??null,D=l.create(u,n,C,o);return this.insertImpl(D.hostView,s,Xs(this._hostTNode,v)),D}insert(e,r){return this.insertImpl(e,r,!0)}insertImpl(e,r,t){let n=e._lView;if(bN(n)){let s=this.indexOf(e);if(s!==-1)this.detach(s);else{let l=n[on],u=new CE(l,l[Cn],l[on]);u.detach(u.indexOf(e))}}let o=this._adjustIndex(r),a=this._lContainer;return Ac(a,n,o,t),e.attachToViewContainerRef(),bD(u_(a),o,e),e}move(e,r){return this.insert(e,r)}indexOf(e){let r=Yx(this._lContainer);return r!==null?r.indexOf(e):-1}remove(e){let r=this._adjustIndex(e,-1),t=wc(this._lContainer,r);t&&(ah(u_(this._lContainer),r),em(t[at],t))}detach(e){let r=this._adjustIndex(e,-1),t=wc(this._lContainer,r);return t&&ah(u_(this._lContainer),r)!=null?new Xa(t):null}_adjustIndex(e,r=0){return e??this.length+r}};function Yx(i){return i[dh]}function u_(i){return i[dh]||(i[dh]=[])}function xE(i,e){let r,t=e[i.index];return vr(t)?r=t:(r=rE(t,e,null,i),e[i.index]=r,om(e,r)),mV(r,e,i,t),new CE(r,i,e)}function hV(i,e){let r=i[ri],t=r.createComment(""),n=no(e,i),o=GS(r,n);return bh(r,o,t,eL(r,n),!1),t}var mV=gV,pV=()=>!1;function fV(i,e,r){return pV(i,e,r)}function gV(i,e,r,t){if(i[qa])return;let n;r.type&8?n=qo(t):n=hV(e,r),i[qa]=n}var J_=class i{constructor(e){this.queryList=e,this.matches=null}clone(){return new i(this.queryList)}setDirty(){this.queryList.setDirty()}},ev=class i{constructor(e=[]){this.queries=e}createEmbeddedView(e){let r=e.queries;if(r!==null){let t=e.contentQueries!==null?e.contentQueries[0]:r.length,n=[];for(let o=0;o0)t.push(a[s/2]);else{let u=o[s+1],f=e[-l];for(let v=nn;ve.trim())}function IE(i,e,r){i.queries===null&&(i.queries=new tv),i.queries.track(new iv(e,r))}function xV(i,e){let r=i.contentQueries||(i.contentQueries=[]),t=r.length?r[r.length-1]:-1;e!==t&&r.push(i.queries.length-1,e)}function pb(i,e){return i.queries.getByIndex(e)}function ME(i,e){let r=i[at],t=pb(r,e);return t.crossesNgTemplate?nv(r,i,e,[]):DE(r,i,t,e)}var Qx=new Set;function So(i){Qx.has(i)||(Qx.add(i),performance?.mark?.("mark_feature_usage",{detail:{feature:i}}))}function am(i){return typeof i=="function"&&i[Kn]!==void 0}function Dr(i,e){So("NgSignals");let r=jC(i),t=r[Kn];return e?.equal&&(t.equal=e.equal),r.set=n=>Ng(t,n),r.update=n=>BC(t,n),r.asReadonly=DV.bind(r),r}function DV(){let i=this[Kn];if(i.readonlyFn===void 0){let e=()=>this();e[Kn]=i,i.readonlyFn=e}return i.readonlyFn}function TE(i){return am(i)&&typeof i.set=="function"}function kE(i,e){let r,t=Fg(()=>{r._dirtyCounter();let n=MV(r,i);if(e&&n===void 0)throw new J(-951,!1);return n});return r=t[Kn],r._dirtyCounter=Dr(0),r._flatValue=void 0,t}function SV(){return kE(!0,!1)}function EV(){return kE(!0,!0)}function IV(i,e){let r=i[Kn];r._lView=Ue(),r._queryIndex=e,r._queryList=mb(r._lView,e),r._queryList.onDirty(()=>r._dirtyCounter.update(t=>t+1))}function MV(i,e){let r=i._lView,t=i._queryIndex;if(r===void 0||t===void 0||r[Ze]&4)return e?void 0:un;let n=mb(r,t),o=ME(r,t);return n.reset(o,_S),e?n.first:n._changesDetected||i._flatValue===void 0?i._flatValue=n.toArray():i._flatValue}function Kx(i,e){return SV()}function TV(i,e){return EV()}var AE=(Kx.required=TV,Kx);function kV(i){let e=[],r=new Map;function t(n){let o=r.get(n);if(!o){let a=i(n);r.set(n,o=a.then(PV))}return o}return Sh.forEach((n,o)=>{let a=[];n.templateUrl&&a.push(t(n.templateUrl).then(u=>{n.template=u}));let s=typeof n.styles=="string"?[n.styles]:n.styles||[];if(n.styles=s,n.styleUrl&&n.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if(n.styleUrls?.length){let u=n.styles.length,f=n.styleUrls;n.styleUrls.forEach((v,C)=>{s.push(""),a.push(t(v).then(D=>{s[u+C]=D,f.splice(f.indexOf(v),1),f.length==0&&(n.styleUrls=void 0)}))})}else n.styleUrl&&a.push(t(n.styleUrl).then(u=>{s.push(u),n.styleUrl=void 0}));let l=Promise.all(a).then(()=>FV(o));e.push(l)}),OV(),Promise.all(e).then(()=>{})}var Sh=new Map,AV=new Set;function OV(){let i=Sh;return Sh=new Map,i}function RV(){return Sh.size===0}function PV(i){return typeof i=="string"?i:i.text()}function FV(i){AV.delete(i)}function NV(i){return Object.getPrototypeOf(i.prototype).constructor}function be(i){let e=NV(i.type),r=!0,t=[i];for(;e;){let n;if(gr(i))n=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new J(903,!1);n=e.\u0275dir}if(n){if(r){t.push(n);let a=i;a.inputs=Yu(i.inputs),a.inputTransforms=Yu(i.inputTransforms),a.declaredInputs=Yu(i.declaredInputs),a.outputs=Yu(i.outputs);let s=n.hostBindings;s&&zV(i,s);let l=n.viewQuery,u=n.contentQueries;if(l&&jV(i,l),u&&BV(i,u),LV(i,n),pF(i.outputs,n.outputs),gr(n)&&n.data.animation){let f=i.data;f.animation=(f.animation||[]).concat(n.data.animation)}}let o=n.features;if(o)for(let a=0;a=0;t--){let n=i[t];n.hostVars=e+=n.hostVars,n.hostAttrs=vc(n.hostAttrs,r=vc(r,n.hostAttrs))}}function Yu(i){return i===pr?{}:i===un?[]:i}function jV(i,e){let r=i.viewQuery;r?i.viewQuery=(t,n)=>{e(t,n),r(t,n)}:i.viewQuery=e}function BV(i,e){let r=i.contentQueries;r?i.contentQueries=(t,n,o)=>{e(t,n,o),r(t,n,o)}:i.contentQueries=e}function zV(i,e){let r=i.hostBindings;r?i.hostBindings=(t,n)=>{e(t,n),r(t,n)}:i.hostBindings=e}function OE(i){let e=r=>{let t=Array.isArray(i);r.hostDirectives===null?(r.findHostDirectiveDefs=RE,r.hostDirectives=t?i.map(ov):[i]):t?r.hostDirectives.unshift(...i.map(ov)):r.hostDirectives.unshift(i)};return e.ngInherit=!0,e}function RE(i,e,r){if(i.hostDirectives!==null)for(let t of i.hostDirectives)if(typeof t=="function"){let n=t();for(let o of n)Zx(ov(o),e,r)}else Zx(t,e,r)}function Zx(i,e,r){let t=Ov(i.directive);UV(t.declaredInputs,i.inputs),RE(t,e,r),r.set(t,i),e.push(t)}function ov(i){return typeof i=="function"?{directive:Gi(i),inputs:pr,outputs:pr}:{directive:Gi(i.directive),inputs:Xx(i.inputs),outputs:Xx(i.outputs)}}function Xx(i){if(i===void 0||i.length===0)return pr;let e={};for(let r=0;rr()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}},Ih=class extends Cc{constructor(e){super(),this.moduleType=e}create(e){return new Eh(this.moduleType,e,[])}};function HV(i,e,r){return new Eh(i,e,r,!1)}var rv=class extends oa{constructor(e){super(),this.componentFactoryResolver=new xh(this),this.instance=null;let r=new bc([...e.providers,{provide:oa,useValue:this},{provide:wn,useValue:this.componentFactoryResolver}],e.parent||Pv(),e.debugName,new Set(["environment"]));this.injector=r,e.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function sm(i,e,r=null){return new rv({providers:i,parent:e,debugName:r,runEnvironmentInitializers:!0}).injector}function PE(i){return fb(i)?Array.isArray(i)||!(i instanceof Map)&&Symbol.iterator in i:!1}function $V(i,e){if(Array.isArray(i))for(let r=0;r{let e=class e{constructor(){this.impl=null}execute(){this.impl?.execute()}};e.\u0275prov=V({token:e,providedIn:"root",factory:()=>new e});let i=e;return i})(),Ua=class Ua{constructor(){this.ngZone=k(Z),this.scheduler=k(el),this.errorHandler=k(yn,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}execute(){this.executing=!0;for(let e of Ua.PHASES)for(let r of this.sequences)if(!(r.erroredOrDestroyed||!r.hooks[e]))try{r.pipelinedValue=this.ngZone.runOutsideAngular(()=>r.hooks[e](r.pipelinedValue))}catch(t){r.erroredOrDestroyed=!0,this.errorHandler?.handleError(t)}this.executing=!1;for(let e of this.sequences)e.afterRun(),e.once&&(this.sequences.delete(e),e.destroy());for(let e of this.deferredRegistrations)this.sequences.add(e);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(e){this.executing?this.deferredRegistrations.add(e):(this.sequences.add(e),this.scheduler.notify(6))}unregister(e){this.executing&&this.sequences.has(e)?(e.erroredOrDestroyed=!0,e.pipelinedValue=void 0,e.once=!0):(this.sequences.delete(e),this.deferredRegistrations.delete(e))}};Ua.PHASES=[$s.EarlyRead,$s.Write,$s.MixedReadWrite,$s.Read],Ua.\u0275prov=V({token:Ua,providedIn:"root",factory:()=>new Ua});var av=Ua,sv=class{constructor(e,r,t,n){this.impl=e,this.hooks=r,this.once=t,this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.unregisterOnDestroy=n?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.()}};function Oc(i,e){!e?.injector&&Fv(Oc);let r=e?.injector??k(Pe);return BS(r)?(So("NgAfterRender"),LE(i,r,e,!1)):VE}function ai(i,e){!e?.injector&&Fv(ai);let r=e?.injector??k(Pe);return BS(r)?(So("NgAfterNextRender"),LE(i,r,e,!0)):VE}function KV(i,e){if(i instanceof Function){let r=[void 0,void 0,void 0,void 0];return r[e]=i,r}else return[i.earlyRead,i.write,i.mixedReadWrite,i.read]}function LE(i,e,r,t){let n=e.get(NE);n.impl??=e.get(av);let o=r?.phase??$s.MixedReadWrite,a=r?.manualCleanup!==!0?e.get(Kh):null,s=new sv(n.impl,KV(i,o),t,a);return n.impl.register(s),s}var VE={destroy(){}};function ie(i,e,r,t){let n=Ue(),o=aa();if(Nn(n,o,e)){let a=ii(),s=ol();TL(s,n,i,e,r,t)}return ie}function _b(i,e,r,t){return Nn(i,aa(),r)?e+$a(r)+t:xn}function ZV(i,e,r,t,n,o){let a=TN(),s=FE(i,a,r,n);return Hv(2),s?e+$a(r)+t+$a(n)+o:xn}function Qu(i,e){return i<<17|e<<2}function Ja(i){return i>>17&32767}function XV(i){return(i&2)==2}function JV(i,e){return i&131071|e<<17}function lv(i){return i|2}function il(i){return(i&131068)>>2}function h_(i,e){return i&-131069|e<<2}function ej(i){return(i&1)===1}function cv(i){return i|1}function tj(i,e,r,t,n,o){let a=o?e.classBindings:e.styleBindings,s=Ja(a),l=il(a);i[t]=r;let u=!1,f;if(Array.isArray(r)){let v=r;f=v[1],(f===null||Sc(v,f)>0)&&(u=!0)}else f=r;if(n)if(l!==0){let C=Ja(i[s+1]);i[t+1]=Qu(C,s),C!==0&&(i[C+1]=h_(i[C+1],t)),i[s+1]=JV(i[s+1],t)}else i[t+1]=Qu(s,0),s!==0&&(i[s+1]=h_(i[s+1],t)),s=t;else i[t+1]=Qu(l,0),s===0?s=t:i[l+1]=h_(i[l+1],t),l=t;u&&(i[t+1]=lv(i[t+1])),Jx(i,f,t,!0),Jx(i,f,t,!1),ij(e,f,i,t,o),a=Qu(s,l),o?e.classBindings=a:e.styleBindings=a}function ij(i,e,r,t,n){let o=n?i.residualClasses:i.residualStyles;o!=null&&typeof e=="string"&&Sc(o,e)>=0&&(r[t+1]=cv(r[t+1]))}function Jx(i,e,r,t){let n=i[r+1],o=e===null,a=t?Ja(n):il(n),s=!1;for(;a!==0&&(s===!1||o);){let l=i[a],u=i[a+1];nj(l,e)&&(s=!0,i[a+1]=t?cv(u):lv(u)),a=t?Ja(u):il(u)}s&&(i[r+1]=t?lv(n):cv(n))}function nj(i,e){return i===null||e==null||(Array.isArray(i)?i[1]:i)===e?!0:Array.isArray(i)&&typeof e=="string"?Sc(i,e)>=0:!1}var Co={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function oj(i){return i.substring(Co.key,Co.keyEnd)}function rj(i){return aj(i),jE(i,BE(i,0,Co.textEnd))}function jE(i,e){let r=Co.textEnd;return r===e?-1:(e=Co.keyEnd=sj(i,Co.key=e,r),BE(i,e,r))}function aj(i){Co.key=0,Co.keyEnd=0,Co.value=0,Co.valueEnd=0,Co.textEnd=i.length}function BE(i,e,r){for(;e32;)e++;return e}function p(i,e,r){let t=Ue(),n=aa();if(Nn(t,n,e)){let o=ii(),a=ol();Tc(o,a,t,i,e,t[ri],r,!1)}return p}function dv(i,e,r,t,n){let o=e.inputs,a=n?"class":"style";cb(i,r,o[a],a,t)}function ji(i,e,r){return UE(i,e,r,!1),ji}function ne(i,e){return UE(i,e,null,!0),ne}function Yt(i){HE(mj,zE,i,!0)}function zE(i,e){for(let r=rj(e);r>=0;r=jE(e,r))Vh(i,oj(e),!0)}function UE(i,e,r,t){let n=Ue(),o=ii(),a=Hv(2);if(o.firstUpdatePass&&WE(o,i,a,t),e!==xn&&Nn(n,a,e)){let s=o.data[br()];GE(o,s,n,n[ri],i,n[a+1]=fj(e,r),t,a)}}function HE(i,e,r,t){let n=ii(),o=Hv(2);n.firstUpdatePass&&WE(n,null,o,t);let a=Ue();if(r!==xn&&Nn(a,o,r)){let s=n.data[br()];if(qE(s,t)&&!$E(n,o)){let l=t?s.classesWithoutHost:s.stylesWithoutHost;l!==null&&(r=__(l,r||"")),dv(n,s,a,r,t)}else pj(n,s,a,a[ri],a[o+1],a[o+1]=hj(i,e,r),t,o)}}function $E(i,e){return e>=i.expandoStartIndex}function WE(i,e,r,t){let n=i.data;if(n[r+1]===null){let o=n[br()],a=$E(i,r);qE(o,t)&&e===null&&!a&&(e=!1),e=lj(n,o,e,t),tj(n,o,e,r,a,t)}}function lj(i,e,r,t){let n=$v(i),o=t?e.residualClasses:e.residualStyles;if(n===null)(t?e.classBindings:e.styleBindings)===0&&(r=m_(null,i,e,r,t),r=xc(r,e.attrs,t),o=null);else{let a=e.directiveStylingLast;if(a===-1||i[a]!==n)if(r=m_(n,i,e,r,t),o===null){let l=cj(i,e,t);l!==void 0&&Array.isArray(l)&&(l=m_(null,i,e,l[1],t),l=xc(l,e.attrs,t),dj(i,e,t,l))}else o=uj(i,e,t)}return o!==void 0&&(t?e.residualClasses=o:e.residualStyles=o),r}function cj(i,e,r){let t=r?e.classBindings:e.styleBindings;if(il(t)!==0)return i[Ja(t)]}function dj(i,e,r,t){let n=r?e.classBindings:e.styleBindings;i[Ja(n)]=t}function uj(i,e,r){let t,n=e.directiveEnd;for(let o=1+e.directiveStylingLast;o0;){let l=i[n],u=Array.isArray(l),f=u?l[1]:l,v=f===null,C=r[n+1];C===xn&&(C=v?un:void 0);let D=v?o_(C,t):f===t?C:void 0;if(u&&!Th(D)&&(D=o_(l,t)),Th(D)&&(s=D,a))return s;let S=i[n+1];n=a?Ja(S):il(S)}if(e!==null){let l=o?e.residualClasses:e.residualStyles;l!=null&&(s=o_(l,t))}return s}function Th(i){return i!==void 0}function fj(i,e){return i==null||i===""||(typeof e=="string"?i=i+e:typeof i=="object"&&(i=hn(ro(i)))),i}function qE(i,e){return(i.flags&(e?8:16))!==0}function YE(i,e,r){let t=Ue(),n=_b(t,i,e,r);HE(Vh,zE,n,!0)}var uv=class{destroy(e){}updateValue(e,r){}swap(e,r){let t=Math.min(e,r),n=Math.max(e,r),o=this.detach(n);if(n-t>1){let a=this.detach(t);this.attach(t,o),this.attach(n,a)}else this.attach(t,o)}move(e,r){this.attach(r,this.detach(e))}};function p_(i,e,r,t,n){return i===r&&Object.is(e,t)?1:Object.is(n(i,e),n(r,t))?-1:0}function gj(i,e,r){let t,n,o=0,a=i.length-1,s=void 0;if(Array.isArray(e)){let l=e.length-1;for(;o<=a&&o<=l;){let u=i.at(o),f=e[o],v=p_(o,u,o,f,r);if(v!==0){v<0&&i.updateValue(o,f),o++;continue}let C=i.at(a),D=e[l],S=p_(a,C,l,D,r);if(S!==0){S<0&&i.updateValue(a,D),a--,l--;continue}let P=r(o,u),z=r(a,C),O=r(o,f);if(Object.is(O,z)){let de=r(l,D);Object.is(de,P)?(i.swap(o,a),i.updateValue(a,D),l--,a--):i.move(a,o),i.updateValue(o,f),o++;continue}if(t??=new kh,n??=iD(i,o,a,r),hv(i,t,o,O))i.updateValue(o,f),o++,a++;else if(n.has(O))t.set(P,i.detach(o)),a--;else{let de=i.create(o,e[o]);i.attach(o,de),o++,a++}}for(;o<=l;)tD(i,t,r,o,e[o]),o++}else if(e!=null){let l=e[Symbol.iterator](),u=l.next();for(;!u.done&&o<=a;){let f=i.at(o),v=u.value,C=p_(o,f,o,v,r);if(C!==0)C<0&&i.updateValue(o,v),o++,u=l.next();else{t??=new kh,n??=iD(i,o,a,r);let D=r(o,v);if(hv(i,t,o,D))i.updateValue(o,v),o++,a++,u=l.next();else if(!n.has(D))i.attach(o,i.create(o,v)),o++,a++,u=l.next();else{let S=r(o,f);t.set(S,i.detach(o)),a--}}}for(;!u.done;)tD(i,t,r,i.length,u.value),u=l.next()}for(;o<=a;)i.destroy(i.detach(a--));t?.forEach(l=>{i.destroy(l)})}function hv(i,e,r,t){return e!==void 0&&e.has(t)?(i.attach(r,e.get(t)),e.delete(t),!0):!1}function tD(i,e,r,t,n){if(hv(i,e,t,r(t,n)))i.updateValue(t,n);else{let o=i.create(t,n);i.attach(t,o)}}function iD(i,e,r,t){let n=new Set;for(let o=e;o<=r;o++)n.add(t(o,i.at(o)));return n}var kh=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(e){return this.kvMap.has(e)}delete(e){if(!this.has(e))return!1;let r=this.kvMap.get(e);return this._vMap!==void 0&&this._vMap.has(r)?(this.kvMap.set(e,this._vMap.get(r)),this._vMap.delete(r)):this.kvMap.delete(e),!0}get(e){return this.kvMap.get(e)}set(e,r){if(this.kvMap.has(e)){let t=this.kvMap.get(e);this._vMap===void 0&&(this._vMap=new Map);let n=this._vMap;for(;n.has(t);)t=n.get(t);n.set(t,r)}else this.kvMap.set(e,r)}forEach(e){for(let[r,t]of this.kvMap)if(e(t,r),this._vMap!==void 0){let n=this._vMap;for(;n.has(t);)t=n.get(t),e(t,r)}}};function De(i,e){So("NgControlFlow");let r=Ue(),t=aa(),n=r[t]!==xn?r[t]:-1,o=n!==-1?Ah(r,Li+n):void 0,a=0;if(Nn(r,t,i)){let s=yt(null);try{if(o!==void 0&&mE(o,a),i!==-1){let l=Li+i,u=Ah(r,l),f=gv(r[at],l),v=Js(u,f.tView.ssrId),C=kc(r,f,e,{dehydratedView:v});Ac(u,C,a,Xs(f,v))}}finally{yt(s)}}else if(o!==void 0){let s=hE(o,a);s!==void 0&&(s[tn]=e)}}var mv=class{constructor(e,r,t){this.lContainer=e,this.$implicit=r,this.$index=t}get $count(){return this.lContainer.length-nn}};function Rc(i,e){return e}var pv=class{constructor(e,r,t){this.hasEmptyBlock=e,this.trackByFn=r,this.liveCollection=t}};function Sr(i,e,r,t,n,o,a,s,l,u,f,v,C){So("NgControlFlow");let D=Ue(),S=ii(),P=l!==void 0,z=Ue(),O=s?a.bind(z[Fn][tn]):a,de=new pv(P,O);z[Li+i]=de,Mh(D,S,i+1,e,r,t,n,ta(S.consts,o)),P&&Mh(D,S,i+2,l,u,f,v,ta(S.consts,C))}var fv=class extends uv{constructor(e,r,t){super(),this.lContainer=e,this.hostLView=r,this.templateTNode=t,this.operationsCounter=void 0,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-nn}at(e){return this.getLView(e)[tn].$implicit}attach(e,r){let t=r[Qs];this.needsIndexUpdate||=e!==this.length,Ac(this.lContainer,r,e,Xs(this.templateTNode,t))}detach(e){return this.needsIndexUpdate||=e!==this.length-1,_j(this.lContainer,e)}create(e,r){let t=Js(this.lContainer,this.templateTNode.tView.ssrId),n=kc(this.hostLView,this.templateTNode,new mv(this.lContainer,r,e),{dehydratedView:t});return this.operationsCounter?.recordCreate(),n}destroy(e){em(e[at],e),this.operationsCounter?.recordDestroy()}updateValue(e,r){this.getLView(e)[tn].$implicit=r}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let e=0;e(Yh(!0),zS(t,n,LN()));function wj(i,e,r,t,n){let o=e.consts,a=ta(o,t),s=sl(e,i,8,"ng-container",a);a!==null&&Ch(s,a,!0);let l=ta(o,n);return lb(e,r,s,l),e.queries!==null&&e.queries.elementStart(e,s),s}function mt(i,e,r){let t=Ue(),n=ii(),o=i+Li,a=n.firstCreatePass?wj(o,n,t,e,r):n.data[o];es(a,!0);let s=Cj(n,t,a,i);return t[o]=s,qh()&&tm(n,t,s,a),ia(s,t),Hh(a)&&(rb(n,t,a),ob(n,a,t)),r!=null&&ab(t,a),mt}function pt(){let i=Vi(),e=ii();return zv()?Uv():(i=i.parent,es(i,!1)),e.firstCreatePass&&(Qh(e,i),Lv(i)&&e.queries.elementEnd(i)),pt}function Ci(i,e,r){return mt(i,e,r),pt(),Ci}var Cj=(i,e,r,t)=>(Yh(!0),G2(e[ri],""));function A(){return Ue()}function Si(i,e,r){let t=Ue(),n=aa();if(Nn(t,n,e)){let o=ii(),a=ol();Tc(o,a,t,i,e,t[ri],r,!0)}return Si}function Pc(i,e,r){let t=Ue(),n=aa();if(Nn(t,n,e)){let o=ii(),a=ol(),s=$v(o.data),l=cE(s,a,t);Tc(o,a,t,i,e,l,r,!0)}return Pc}var Oh="en-US";var xj=Oh;function Dj(i){typeof i=="string"&&(xj=i.toLowerCase().replace(/_/g,"-"))}var Sj=(i,e,r)=>{};function b(i,e,r,t){let n=Ue(),o=ii(),a=Vi();return vb(o,n,n[ri],a,i,e,t),b}function Fc(i,e){let r=Vi(),t=Ue(),n=ii(),o=$v(n.data),a=cE(o,r,t);return vb(n,t,a,r,i,e),Fc}function Ej(i,e,r,t){let n=i.cleanup;if(n!=null)for(let o=0;ol?s[l]:null}typeof a=="string"&&(o+=2)}return null}function vb(i,e,r,t,n,o,a){let s=Hh(t),u=i.firstCreatePass&&lE(i),f=e[tn],v=sE(e),C=!0;if(t.type&3||a){let P=no(t,e),z=a?a(P):P,O=v.length,de=a?it=>a(qo(it[t.index])):t.index,ht=null;if(!a&&s&&(ht=Ej(i,e,n,t.index)),ht!==null){let it=ht.__ngLastListenerFn__||ht;it.__ngNextListenerFn__=o,ht.__ngLastListenerFn__=o,C=!1}else{o=oD(t,e,f,o),Sj(P,n,o);let it=r.listen(z,n,o);v.push(o,it),u&&u.push(n,de,O,O+1)}}else o=oD(t,e,f,o);let D=t.outputs,S;if(C&&D!==null&&(S=D[n])){let P=S.length;if(P)for(let z=0;z-1?ra(i.index,e):e;ub(a,5);let s=nD(e,r,t,o),l=n.__ngNextListenerFn__;for(;l;)s=nD(e,r,l,o)&&s,l=l.__ngNextListenerFn__;return s}}function _(i=1){return FN(i)}function Ij(i,e){let r=null,t=$F(i);for(let n=0;n=i.data.length&&(i.data[r]=null,i.blueprint[r]=null),e[r]=t}function we(i){let e=MN();return jv(e,Li+i)}function g(i,e=""){let r=Ue(),t=ii(),n=i+Li,o=t.firstCreatePass?sl(t,n,1,e,null):t.data[n],a=kj(t,r,o,e,i);r[n]=a,qh()&&tm(t,r,a,o),es(o,!1)}var kj=(i,e,r,t,n)=>(Yh(!0),$2(e[ri],t));function $e(i){return F("",i,""),$e}function F(i,e,r){let t=Ue(),n=_b(t,i,e,r);return n!==xn&&uE(t,br(),n),F}function Ir(i,e,r,t,n){let o=Ue(),a=ZV(o,i,e,r,t,n);return a!==xn&&uE(o,br(),a),Ir}function U(i,e,r){TE(e)&&(e=e());let t=Ue(),n=aa();if(Nn(t,n,e)){let o=ii(),a=ol();Tc(o,a,t,i,e,t[ri],r,!1)}return U}function $(i,e){let r=TE(i);return r&&i.set(e),r}function H(i,e){let r=Ue(),t=ii(),n=Vi();return vb(t,r,r[ri],n,i,e),H}function Aj(i,e,r){let t=ii();if(t.firstCreatePass){let n=gr(i);_v(r,t.data,t.blueprint,n,!0),_v(e,t.data,t.blueprint,n,!1)}}function _v(i,e,r,t,n){if(i=Gi(i),Array.isArray(i))for(let o=0;o>20;if(Ys(i)||!i.multi){let D=new Ka(u,n,m),S=g_(l,e,n?f:f+C,v);S===-1?(A_(fh(s,a),o,l),f_(o,i,e.length),e.push(l),s.directiveStart++,s.directiveEnd++,n&&(s.providerIndexes+=1048576),r.push(D),a.push(D)):(r[S]=D,a[S]=D)}else{let D=g_(l,e,f+C,v),S=g_(l,e,f,f+C),P=D>=0&&r[D],z=S>=0&&r[S];if(n&&!z||!n&&!P){A_(fh(s,a),o,l);let O=Pj(n?Rj:Oj,r.length,n,t,u);!n&&z&&(r[S].providerFactory=O),f_(o,i,e.length,0),e.push(l),s.directiveStart++,s.directiveEnd++,n&&(s.providerIndexes+=1048576),r.push(O),a.push(O)}else{let O=XE(r[n?S:D],u,!n&&t);f_(o,i,D>-1?D:S,O)}!n&&t&&z&&r[S].componentProviders++}}}function f_(i,e,r,t){let n=Ys(e),o=oN(e);if(n||o){let l=(o?Gi(e.useClass):e).prototype.ngOnDestroy;if(l){let u=i.destroyHooks||(i.destroyHooks=[]);if(!n&&e.multi){let f=u.indexOf(r);f===-1?u.push(r,[t,l]):u[f+1].push(t,l)}else u.push(r,l)}}}function XE(i,e,r){return r&&i.componentProviders++,i.multi.push(e)-1}function g_(i,e,r,t){for(let n=r;n{r.providersResolver=(t,n)=>Aj(t,n?n(i):i,e)}}var Fj=(()=>{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 n=AD(!1,t.type),o=n.length>0?sm([n],this._injector,`Standalone[${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=V({token:e,providedIn:"environment",factory:()=>new e(M(qi))});let i=e;return i})();function re(i){So("NgStandalone"),i.getStandaloneInjector=e=>e.get(Fj).getOrCreateStandaloneInjector(i)}function JE(i,e,r){let t=i.\u0275cmp;t.directiveDefs=lh(e,!1),t.pipeDefs=lh(r,!0)}function ll(i,e,r){let t=Ec()+i,n=Ue();return n[t]===xn?gb(n,t,r?e.call(r):e()):WV(n,t)}function Bi(i,e,r,t){return tI(Ue(),Ec(),i,e,r,t)}function cl(i,e,r,t,n){return iI(Ue(),Ec(),i,e,r,t,n)}function eI(i,e){let r=i[e];return r===xn?void 0:r}function tI(i,e,r,t,n,o){let a=e+r;return Nn(i,a,n)?gb(i,a+1,o?t.call(o,n):t(n)):eI(i,a+1)}function iI(i,e,r,t,n,o,a){let s=e+r;return FE(i,s,n,o)?gb(i,s+2,a?t.call(a,n,o):t(n,o)):eI(i,s+2)}function _t(i,e){let r=ii(),t,n=i+Li;r.firstCreatePass?(t=Nj(e,r.pipeRegistry),r.data[n]=t,t.onDestroy&&(r.destroyHooks??=[]).push(n,t.onDestroy)):t=r.data[n];let o=t.factory||(t.factory=Wa(t.type,!0)),a,s=bn(m);try{let l=ph(!1),u=o();return ph(l),Tj(r,Ue(),n,u),u}finally{bn(s)}}function Nj(i,e){if(e)for(let r=e.length-1;r>=0;r--){let t=e[r];if(i===t.name)return t}}function Dt(i,e,r){let t=i+Li,n=Ue(),o=jv(n,t);return nI(n,t)?tI(n,Ec(),e,o.transform,r,o):o.transform(r)}function bb(i,e,r,t){let n=i+Li,o=Ue(),a=jv(o,n);return nI(o,n)?iI(o,Ec(),e,a.transform,r,t,a):a.transform(r,t)}function nI(i,e){return i[at].data[e].pure}function fi(i,e){return rm(i,e)}var Ku=null;function Lj(i){Ku!==null&&(i.defaultEncapsulation!==Ku.defaultEncapsulation||i.preserveWhitespaces!==Ku.preserveWhitespaces)||(Ku=i)}var lm=(()=>{let e=class e{log(t){console.log(t)}warn(t){console.warn(t)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"platform"});let i=e;return i})();var yb=new R(""),Nc=new R(""),cm=(()=>{let e=class e{constructor(t,n,o){this._ngZone=t,this.registry=n,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,wb||(Vj(o),o.addToWindow(n)),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:()=>{Z.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(n=>n.updateCb&&n.updateCb(t)?(clearTimeout(n.timeoutId),!1):!0)}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,n,o){let a=-1;n&&n>0&&(a=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==a),t()},n)),this._callbacks.push({doneCb:t,timeoutId:a,updateCb:o})}whenStable(t,n,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,n,o),this._runCallbacksIfReady()}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,n,o){return[]}};e.\u0275fac=function(n){return new(n||e)(M(Z),M(dm),M(Nc))},e.\u0275prov=V({token:e,factory:e.\u0275fac});let i=e;return i})(),dm=(()=>{let e=class e{constructor(){this._applications=new Map}registerApplication(t,n){this._applications.set(t,n)}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,n=!0){return wb?.findTestabilityInTree(this,t,n)??null}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"platform"});let i=e;return i})();function Vj(i){wb=i}var wb;function la(i){return!!i&&typeof i.then=="function"}function Cb(i){return!!i&&typeof i.subscribe=="function"}var um=new R(""),oI=(()=>{let e=class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,n)=>{this.resolve=t,this.reject=n}),this.appInits=k(um,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let t=[];for(let o of this.appInits){let a=o();if(la(a))t.push(a);else if(Cb(a)){let s=new Promise((l,u)=>{a.subscribe({complete:l,error:u})});t.push(s)}}let n=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{n()}).catch(o=>{this.reject(o)}),t.length===0&&n(),this.initialized=!0}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),hm=new R("");function jj(){VC(()=>{throw new J(600,!1)})}function Bj(i){return i.isBoundToModule}var zj=10;function Uj(i,e,r){try{let t=r();return la(t)?t.catch(n=>{throw e.runOutsideAngular(()=>i.handleError(n)),n}):t}catch(t){throw e.runOutsideAngular(()=>i.handleError(t)),t}}function rI(i,e){return Array.isArray(e)?e.reduce(rI,i):j(j({},i),e)}var Ln=(()=>{let e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=k(l2),this.afterRenderManager=k(NE),this.zonelessEnabled=k(hb),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new G,this.afterTick=new G,this.componentTypes=[],this.components=[],this.isStable=k(Zo).hasPendingTasks.pipe(ue(t=>!t)),this._injector=k(qi)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let t;return new Promise(n=>{t=this.isStable.subscribe({next:o=>{o&&n()}})}).finally(()=>{t.unsubscribe()})}get injector(){return this._injector}bootstrap(t,n){let o=t instanceof wh;if(!this._injector.get(oI).done){let D=!o&&ID(t),S=!1;throw new J(405,S)}let s;o?s=t:s=this._injector.get(wn).resolveComponentFactory(t),this.componentTypes.push(s.componentType);let l=Bj(s)?void 0:this._injector.get(oa),u=n||s.selector,f=s.create(Pe.NULL,[],u,l),v=f.location.nativeElement,C=f.injector.get(yb,null);return C?.registerApplication(v),f.onDestroy(()=>{this.detachView(f.hostView),nh(this.components,f),C?.unregisterApplication(v)}),this._loadComponent(f),f}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new J(101,!1);let t=yt(null);try{this._runningTick=!0,this.synchronize()}catch(n){this.internalErrorHandler(n)}finally{this._runningTick=!1,yt(t),this.afterTick.next()}}synchronize(){let t=null;this._injector.destroyed||(t=this._injector.get(na,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let n=0;for(;this.dirtyFlags!==0&&n++$h(t))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(t){let n=t;this._views.push(n),n.attachToAppRef(this)}detachView(t){let n=t;nh(this._views,n),n.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t);let n=this._injector.get(hm,[]);[...this._bootstrapListeners,...n].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),()=>nh(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new J(406,!1);let t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function nh(i,e){let r=i.indexOf(e);r>-1&&i.splice(r,1)}function Hj(i,e,r,t){if(!r&&!$h(i))return;gE(i,e,r&&!t?0:1)}var bv=class{constructor(e,r){this.ngModuleFactory=e,this.componentFactories=r}},mm=(()=>{let e=class e{compileModuleSync(t){return new Ih(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){let n=this.compileModuleSync(t),o=MD(t),a=jS(o.declarations).reduce((s,l)=>{let u=ea(l);return u&&s.push(new tl(u)),s},[]);return new bv(n,a)}compileModuleAndAllComponentsAsync(t){return Promise.resolve(this.compileModuleAndAllComponentsSync(t))}clearCache(){}clearCacheFor(t){}getModuleId(t){}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),$j=new R("");function Wj(i,e,r){let t=new Ih(r);return Promise.resolve(t)}function rD(i){for(let e=i.length-1;e>=0;e--)if(i[e]!==void 0)return i[e]}var Gj=(()=>{let e=class e{constructor(){this.zone=k(Z),this.changeDetectionScheduler=k(el),this.applicationRef=k(Ln)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function qj({ngZoneFactory:i,ignoreChangesOutsideZone:e,scheduleInRootZone:r}){return i??=()=>new Z(rt(j({},aI()),{scheduleInRootZone:r})),[{provide:Z,useFactory:i},{provide:qs,multi:!0,useFactory:()=>{let t=k(Gj,{optional:!0});return()=>t.initialize()}},{provide:qs,multi:!0,useFactory:()=>{let t=k(Yj);return()=>{t.initialize()}}},e===!0?{provide:yE,useValue:!0}:[],{provide:wE,useValue:r??pS}]}function aI(i){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:i?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:i?.runCoalescing??!1}}var Yj=(()=>{let e=class e{constructor(){this.subscription=new ve,this.initialized=!1,this.zone=k(Z),this.pendingTasks=k(Zo)}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(()=>{Z.assertNotInAngularZone(),queueMicrotask(()=>{t!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(t),t=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Z.assertInAngularZone(),t??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var Qj=(()=>{let e=class e{constructor(){this.appRef=k(Ln),this.taskService=k(Zo),this.ngZone=k(Z),this.zonelessEnabled=k(hb),this.disableScheduling=k(yE,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new ve,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(_h):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(k(wE,{optional:!0})??!1),this.cancelScheduledCallback=null,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.zonelessEnabled&&(this.ngZone instanceof vh||!this.zoneIsDefined)}notify(t){if(!this.zonelessEnabled&&t===5)return;switch(t){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 7:{this.appRef.deferredDirtyFlags|=8;break}case 9:case 8:case 6:case 10:default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick())return;let n=this.useMicrotaskScheduler?Rx:fS;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>n(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>n(()=>this.tick()))}shouldScheduleTick(){return!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(_h+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let t=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(n){throw this.taskService.remove(t),n}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Rx(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(t)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let t=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(t)}}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function Kj(){return typeof $localize<"u"&&$localize.locale||Oh}var Lc=new R("",{providedIn:"root",factory:()=>k(Lc,gt.Optional|gt.SkipSelf)||Kj()});var Rh=new R("");function Zu(i){return!i.moduleRef}function Zj(i){let e=Zu(i)?i.r3Injector:i.moduleRef.injector,r=e.get(Z);return r.run(()=>{Zu(i)?i.r3Injector.resolveInjectorInitializers():i.moduleRef.resolveInjectorInitializers();let t=e.get(yn,null),n;if(r.runOutsideAngular(()=>{n=r.onError.subscribe({next:o=>{t.handleError(o)}})}),Zu(i)){let o=()=>e.destroy(),a=i.platformInjector.get(Rh);a.add(o),e.onDestroy(()=>{n.unsubscribe(),a.delete(o)})}else{let o=()=>i.moduleRef.destroy(),a=i.platformInjector.get(Rh);a.add(o),i.moduleRef.onDestroy(()=>{nh(i.allPlatformModules,i.moduleRef),n.unsubscribe(),a.delete(o)})}return Uj(t,r,()=>{let o=e.get(oI);return o.runInitializers(),o.donePromise.then(()=>{let a=e.get(Lc,Oh);if(Dj(a||Oh),Zu(i)){let s=e.get(Ln);return i.rootComponent!==void 0&&s.bootstrap(i.rootComponent),s}else return Xj(i.moduleRef,i.allPlatformModules),i.moduleRef})})})}function Xj(i,e){let r=i.injector.get(Ln);if(i._bootstrapComponents.length>0)i._bootstrapComponents.forEach(t=>r.bootstrap(t));else if(i.instance.ngDoBootstrap)i.instance.ngDoBootstrap(r);else throw new J(-403,!1);e.push(i)}var sI=(()=>{let e=class e{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,n){let o=n?.scheduleInRootZone,a=()=>s2(n?.ngZone,rt(j({},aI({eventCoalescing:n?.ngZoneEventCoalescing,runCoalescing:n?.ngZoneRunCoalescing})),{scheduleInRootZone:o})),s=n?.ignoreChangesOutsideZone,l=[qj({ngZoneFactory:a,ignoreChangesOutsideZone:s}),{provide:el,useExisting:Qj}],u=HV(t.moduleType,this.injector,l);return Zj({moduleRef:u,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(t,n=[]){let o=rI({},n);return Wj(this.injector,o,t).then(a=>this.bootstrapModuleFactory(a,o))}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new J(404,!1);this._modules.slice().forEach(n=>n.destroy()),this._destroyListeners.forEach(n=>n());let t=this._injector.get(Rh,null);t&&(t.forEach(n=>n()),t.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}};e.\u0275fac=function(n){return new(n||e)(M(Pe))},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"platform"});let i=e;return i})(),gc=null,lI=new R("");function Jj(i){if(gc&&!gc.get(lI,!1))throw new J(400,!1);jj(),gc=i;let e=i.get(sI);return i3(i),e}function xb(i,e,r=[]){let t=`Platform: ${e}`,n=new R(t);return(o=[])=>{let a=cI();if(!a||a.injector.get(lI,!1)){let s=[...r,...o,{provide:n,useValue:!0}];i?i(s):Jj(e3(s,t))}return t3(n)}}function e3(i=[],e){return Pe.create({name:e,providers:[{provide:Bh,useValue:"platform"},{provide:Rh,useValue:new Set([()=>gc=null])},...i]})}function t3(i){let e=cI();if(!e)throw new J(401,!1);return e}function cI(){return gc?.get(sI)??null}function i3(i){i.get(Zv,null)?.forEach(r=>r())}var he=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=n3;let i=e;return i})();function n3(i){return o3(Vi(),Ue(),(i&16)===16)}function o3(i,e,r){if(Uh(i)&&!r){let t=ra(i.index,e);return new Xa(t,t)}else if(i.type&175){let t=e[Fn];return new Xa(t,e)}return null}var yv=class{constructor(){}supports(e){return PE(e)}create(e){return new wv(e)}},r3=(i,e)=>e,wv=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||r3}forEachItem(e){let r;for(r=this._itHead;r!==null;r=r._next)e(r)}forEachOperation(e){let r=this._itHead,t=this._removalsHead,n=0,o=null;for(;r||t;){let a=!t||r&&r.currentIndex{a=this._trackByFn(n,s),r===null||!Object.is(r.trackById,a)?(r=this._mismatch(r,s,a,n),t=!0):(t&&(r=this._verifyReinsertion(r,s,a,n)),Object.is(r.item,s)||this._addIdentityChange(r,s)),r=r._next,n++}),this.length=n;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,n){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,n)):(e=this._linkedRecords===null?null:this._linkedRecords.get(t,n),e!==null?(Object.is(e.item,r)||this._addIdentityChange(e,r),this._moveAfter(e,o,n)):e=this._addAfter(new Cv(r,t),o,n)),e}_verifyReinsertion(e,r,t,n){let o=this._unlinkedRecords===null?null:this._unlinkedRecords.get(t,null);return o!==null?e=this._reinsertAfter(o,e._prev,n):e.currentIndex!=n&&(e.currentIndex=n,this._addToMoves(e,n)),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 n=e._prevRemoved,o=e._nextRemoved;return n===null?this._removalsHead=o:n._nextRemoved=o,o===null?this._removalsTail=n:o._prevRemoved=n,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 n=r===null?this._itHead:r._next;return e._next=n,e._prev=r,n===null?this._itTail=e:n._prev=e,r===null?this._itHead=e:r._next=e,this._linkedRecords===null&&(this._linkedRecords=new Ph),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 Ph),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}},Cv=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}},xv=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}},Ph=class{constructor(){this.map=new Map}put(e){let r=e.trackById,t=this.map.get(r);t||(t=new xv,this.map.set(r,t)),t.add(e)}get(e,r){let t=e,n=this.map.get(t);return n?n.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 aD(i,e,r){let t=i.previousIndex;if(t===null)return t;let n=0;return r&&t{if(r&&r.key===n)this._maybeAddToChanges(r,t),this._appendAfter=r,r=r._next;else{let o=this._getOrCreateRecordForKey(n,t);r=this._insertBeforeOrAppend(r,o)}}),r){r._prev&&(r._prev._next=null),this._removalsHead=r;for(let t=r;t!==null;t=t._nextRemoved)t===this._mapHead&&(this._mapHead=null),this._records.delete(t.key),t._nextRemoved=t._next,t.previousValue=t.currentValue,t.currentValue=null,t._prev=null,t._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,r){if(e){let t=e._prev;return r._next=e,r._prev=t,e._prev=r,t&&(t._next=r),e===this._mapHead&&(this._mapHead=r),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=r,r._prev=this._appendAfter):this._mapHead=r,this._appendAfter=r,null}_getOrCreateRecordForKey(e,r){if(this._records.has(e)){let n=this._records.get(e);this._maybeAddToChanges(n,r);let o=n._prev,a=n._next;return o&&(o._next=a),a&&(a._prev=o),n._next=null,n._prev=null,n}let t=new Ev(e);return this._records.set(e,t),t.currentValue=r,this._addToAdditions(t),t}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;e!==null;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;e!=null;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,r){Object.is(r,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=r,this._addToChanges(e))}_addToAdditions(e){this._additionsHead===null?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){this._changesHead===null?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,r){e instanceof Map?e.forEach(r):Object.keys(e).forEach(t=>r(e[t],t))}},Ev=class{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}};function sD(){return new Xo([new yv])}var Xo=(()=>{let e=class e{constructor(t){this.factories=t}static create(t,n){if(n!=null){let o=n.factories.slice();t=t.concat(o)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>e.create(t,n||sD()),deps:[[e,new Do,new to]]}}find(t){let n=this.factories.find(o=>o.supports(t));if(n!=null)return n;throw new J(901,!1)}};e.\u0275prov=V({token:e,providedIn:"root",factory:sD});let i=e;return i})();function lD(){return new pm([new Dv])}var pm=(()=>{let e=class e{constructor(t){this.factories=t}static create(t,n){if(n){let o=n.factories.slice();t=t.concat(o)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>e.create(t,n||lD()),deps:[[e,new Do,new to]]}}find(t){let n=this.factories.find(o=>o.supports(t));if(n)return n;throw new J(901,!1)}};e.\u0275prov=V({token:e,providedIn:"root",factory:lD});let i=e;return i})();var dI=xb(null,"core",[]),uI=(()=>{let e=class e{constructor(t){}};e.\u0275fac=function(n){return new(n||e)(M(Ln))},e.\u0275mod=te({type:e}),e.\u0275inj=ee({});let i=e;return i})();function Y(i){return typeof i=="boolean"?i:i!=null&&i!=="false"}function ni(i,e=NaN){return!isNaN(parseFloat(i))&&!isNaN(Number(i))?Number(i):e}function Mr(i,e){So("NgSignals");let r=Fg(i);return e?.equal&&(r[Kn].equal=e.equal),r}function Dn(i){let e=yt(null);try{return i()}finally{yt(e)}}var a3=new R("",{providedIn:"root",factory:()=>k(s3)}),s3=(()=>{let e=class e{};e.\u0275prov=V({token:e,providedIn:"root",factory:()=>new Iv});let i=e;return i})(),Iv=class{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=k(Zo),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()}},Mv=class{constructor(e,r,t,n,o,a){this.scheduler=e,this.effectFn=r,this.creationZone=t,this.injector=o,this.watcher=UC(s=>this.runEffect(s),()=>this.schedule(),a),this.unregisterOnDestroy=n?.onDestroy(()=>this.destroy())}runEffect(e){try{this.effectFn(e)}catch(r){this.injector.get(yn,null,{optional:!0})?.handleError(r)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function Db(i,e){So("NgSignals"),!e?.injector&&Fv(Db);let r=e?.injector??k(Pe),t=e?.manualCleanup!==!0?r.get(Kh):null,n=new Mv(r.get(a3),i,typeof Zone>"u"?null:Zone.current,t,r,e?.allowSignalWrites??!1),o=r.get(he,null,{optional:!0});return!o||!(o._lView[Ze]&8)?n.watcher.notify():(o._lView[Ju]??=[]).push(n.watcher.notify),n}function hI(i){let e=ea(i);if(!e)return null;let r=new tl(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 bI=null;function Jo(){return bI}function yI(i){bI??=i}var fm=class{};var se=new R(""),Rb=(()=>{let e=class e{historyGo(t){throw new Error("")}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=V({token:e,factory:()=>k(c3),providedIn:"platform"});let i=e;return i})(),wI=new R(""),c3=(()=>{let e=class e extends Rb{constructor(){super(),this._doc=k(se),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Jo().getBaseHref(this._doc)}onPopState(t){let n=Jo().getGlobalEventTarget(this._doc,"window");return n.addEventListener("popstate",t,!1),()=>n.removeEventListener("popstate",t)}onHashChange(t){let n=Jo().getGlobalEventTarget(this._doc,"window");return n.addEventListener("hashchange",t,!1),()=>n.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,n,o){this._history.pushState(t,n,o)}replaceState(t,n,o){this._history.replaceState(t,n,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=V({token:e,factory:()=>new e,providedIn:"platform"});let i=e;return i})();function Pb(i,e){if(i.length==0)return e;if(e.length==0)return i;let r=0;return i.endsWith("/")&&r++,e.startsWith("/")&&r++,r==2?i+e.substring(1):r==1?i+e:i+"/"+e}function mI(i){let e=i.match(/#|\?|$/),r=e&&e.index||i.length,t=r-(i[r-1]==="/"?1:0);return i.slice(0,t)+i.slice(r)}function Tr(i){return i&&i[0]!=="?"?"?"+i:i}var kr=(()=>{let e=class e{historyGo(t){throw new Error("")}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=V({token:e,factory:()=>k(Fb),providedIn:"root"});let i=e;return i})(),CI=new R(""),Fb=(()=>{let e=class e extends kr{constructor(t,n){super(),this._platformLocation=t,this._removeListenerFns=[],this._baseHref=n??this._platformLocation.getBaseHrefFromDOM()??k(se).location?.origin??""}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 Pb(this._baseHref,t)}path(t=!1){let n=this._platformLocation.pathname+Tr(this._platformLocation.search),o=this._platformLocation.hash;return o&&t?`${n}${o}`:n}pushState(t,n,o,a){let s=this.prepareExternalUrl(o+Tr(a));this._platformLocation.pushState(t,n,s)}replaceState(t,n,o,a){let s=this.prepareExternalUrl(o+Tr(a));this._platformLocation.replaceState(t,n,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}};e.\u0275fac=function(n){return new(n||e)(M(Rb),M(CI,8))},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),xI=(()=>{let e=class e extends kr{constructor(t,n){super(),this._platformLocation=t,this._baseHref="",this._removeListenerFns=[],n!=null&&(this._baseHref=n)}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){let n=this._platformLocation.hash??"#";return n.length>0?n.substring(1):n}prepareExternalUrl(t){let n=Pb(this._baseHref,t);return n.length>0?"#"+n:n}pushState(t,n,o,a){let s=this.prepareExternalUrl(o+Tr(a));s.length==0&&(s=this._platformLocation.pathname),this._platformLocation.pushState(t,n,s)}replaceState(t,n,o,a){let s=this.prepareExternalUrl(o+Tr(a));s.length==0&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(t,n,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}};e.\u0275fac=function(n){return new(n||e)(M(Rb),M(CI,8))},e.\u0275prov=V({token:e,factory:e.\u0275fac});let i=e;return i})(),er=(()=>{let e=class e{constructor(t){this._subject=new T,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=t;let n=this._locationStrategy.getBaseHref();this._basePath=h3(mI(pI(n))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,n=""){return this.path()==this.normalize(t+Tr(n))}normalize(t){return e.stripTrailingSlash(u3(this._basePath,pI(t)))}prepareExternalUrl(t){return t&&t[0]!=="/"&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,n="",o=null){this._locationStrategy.pushState(o,"",t,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Tr(n)),o)}replaceState(t,n="",o=null){this._locationStrategy.replaceState(o,"",t,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Tr(n)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription??=this.subscribe(n=>{this._notifyUrlChangeListeners(n.url,n.state)}),()=>{let n=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(n,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",n){this._urlChangeListeners.forEach(o=>o(t,n))}subscribe(t,n,o){return this._subject.subscribe({next:t,error:n,complete:o})}};e.normalizeQueryParams=Tr,e.joinWithSlash=Pb,e.stripTrailingSlash=mI,e.\u0275fac=function(n){return new(n||e)(M(kr))},e.\u0275prov=V({token:e,factory:()=>d3(),providedIn:"root"});let i=e;return i})();function d3(){return new er(M(kr))}function u3(i,e){if(!i||!e.startsWith(i))return e;let r=e.substring(i.length);return r===""||["/",";","?","#"].includes(r[0])?r:e}function pI(i){return i.replace(/\/index.html$/,"")}function h3(i){if(new RegExp("^(https?:)?//").test(i)){let[,r]=i.split(/\/\/[^\/]+/);return r}return i}function vm(i,e){e=encodeURIComponent(e);for(let r of i.split(";")){let t=r.indexOf("="),[n,o]=t==-1?[r,""]:[r.slice(0,t),r.slice(t+1)];if(n.trim()===e)return decodeURIComponent(o)}return null}var Eb=/\s+/,fI=[],Sn=(()=>{let e=class e{constructor(t,n){this._ngEl=t,this._renderer=n,this.initialClasses=fI,this.stateMap=new Map}set klass(t){this.initialClasses=t!=null?t.trim().split(Eb):fI}set ngClass(t){this.rawClass=typeof t=="string"?t.trim().split(Eb):t}ngDoCheck(){for(let n of this.initialClasses)this._updateState(n,!0);let t=this.rawClass;if(Array.isArray(t)||t instanceof Set)for(let n of t)this._updateState(n,!0);else if(t!=null)for(let n of Object.keys(t))this._updateState(n,!!t[n]);this._applyStateDiff()}_updateState(t,n){let o=this.stateMap.get(t);o!==void 0?(o.enabled!==n&&(o.changed=!0,o.enabled=n),o.touched=!0):this.stateMap.set(t,{enabled:n,changed:!0,touched:!0})}_applyStateDiff(){for(let t of this.stateMap){let n=t[0],o=t[1];o.changed?(this._toggleClass(n,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(n,!1),this.stateMap.delete(n)),o.touched=!1}}_toggleClass(t,n){t=t.trim(),t.length>0&&t.split(Eb).forEach(o=>{n?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}};e.\u0275fac=function(n){return new(n||e)(m(q),m(xr))},e.\u0275dir=L({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0});let i=e;return i})();var Ib=class{constructor(e,r,t,n){this.$implicit=e,this.ngForOf=r,this.index=t,this.count=n}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}},We=(()=>{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,n,o){this._viewContainer=t,this._template=n,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 n=this._viewContainer;t.forEachOperation((o,a,s)=>{if(o.previousIndex==null)n.createEmbeddedView(this._template,new Ib(o.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)n.remove(a===null?void 0:a);else if(a!==null){let l=n.get(a);n.move(l,s),gI(l,o)}});for(let o=0,a=n.length;o{let a=n.get(o.currentIndex);gI(a,o)})}static ngTemplateContextGuard(t,n){return!0}};e.\u0275fac=function(n){return new(n||e)(m(Ct),m(dt),m(Xo))},e.\u0275dir=L({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});let i=e;return i})();function gI(i,e){i.context.$implicit=e.item}var me=(()=>{let e=class e{constructor(t,n){this._viewContainer=t,this._context=new Mb,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=n}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){_I("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){_I("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,n){return!0}};e.\u0275fac=function(n){return new(n||e)(m(Ct),m(dt))},e.\u0275dir=L({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let i=e;return i})(),Mb=class{constructor(){this.$implicit=null,this.ngIf=null}};function _I(i,e){if(!!!(!e||e.createEmbeddedView))throw new Error(`${i} must be a TemplateRef, but received '${hn(e)}'.`)}var gm=class{constructor(e,r){this._viewContainerRef=e,this._templateRef=r,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(e){e&&!this._created?this.create():!e&&this._created&&this.destroy()}},ul=(()=>{let e=class e{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(t){this._ngSwitch=t,this._caseCount===0&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(t){this._defaultViews.push(t)}_matchCase(t){let n=t===this._ngSwitch;return this._lastCasesMatched||=n,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),n}_updateDefaultCases(t){if(this._defaultViews.length>0&&t!==this._defaultUsed){this._defaultUsed=t;for(let n of this._defaultViews)n.enforceState(t)}}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=L({type:e,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0});let i=e;return i})(),bm=(()=>{let e=class e{constructor(t,n,o){this.ngSwitch=o,o._addCase(),this._view=new gm(t,n)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}};e.\u0275fac=function(n){return new(n||e)(m(Ct),m(dt),m(ul,9))},e.\u0275dir=L({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0});let i=e;return i})(),DI=(()=>{let e=class e{constructor(t,n,o){o._addDefault(new gm(t,n))}};e.\u0275fac=function(n){return new(n||e)(m(Ct),m(dt),m(ul,9))},e.\u0275dir=L({type:e,selectors:[["","ngSwitchDefault",""]],standalone:!0});let i=e;return i})();var SI=(()=>{let e=class e{constructor(t,n,o){this._ngEl=t,this._differs=n,this._renderer=o,this._ngStyle=null,this._differ=null}set ngStyle(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}ngDoCheck(){if(this._differ){let t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}_setStyle(t,n){let[o,a]=t.split("."),s=o.indexOf("-")===-1?void 0:Yo.DashCase;n!=null?this._renderer.setStyle(this._ngEl.nativeElement,o,a?`${n}${a}`:n,s):this._renderer.removeStyle(this._ngEl.nativeElement,o,s)}_applyChanges(t){t.forEachRemovedItem(n=>this._setStyle(n.key,null)),t.forEachAddedItem(n=>this._setStyle(n.key,n.currentValue)),t.forEachChangedItem(n=>this._setStyle(n.key,n.currentValue))}};e.\u0275fac=function(n){return new(n||e)(m(q),m(pm),m(xr))},e.\u0275dir=L({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0});let i=e;return i})(),ym=(()=>{let e=class e{constructor(t){this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(t){if(this._shouldRecreateView(t)){let n=this._viewContainerRef;if(this._viewRef&&n.remove(n.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=n.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(t){return!!t.ngTemplateOutlet||!!t.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(t,n,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,n,o):!1,get:(t,n,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,n,o)}})}};e.\u0275fac=function(n){return new(n||e)(m(Ct))},e.\u0275dir=L({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Qe]});let i=e;return i})();function m3(i,e){return new J(2100,!1)}var Tb=class{createSubscription(e,r){return Dn(()=>e.subscribe({next:r,error:t=>{throw t}}))}dispose(e){Dn(()=>e.unsubscribe())}},kb=class{createSubscription(e,r){return e.then(r,t=>{throw t})}dispose(e){}},p3=new kb,f3=new Tb,EI=(()=>{let e=class e{constructor(t){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=t}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(t){if(!this._obj){if(t)try{this.markForCheckOnValueUpdate=!1,this._subscribe(t)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,n=>this._updateLatestValue(t,n))}_selectStrategy(t){if(la(t))return p3;if(Cb(t))return f3;throw m3(e,t)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,n){t===this._obj&&(this._latestValue=n,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}};e.\u0275fac=function(n){return new(n||e)(m(he,16))},e.\u0275pipe=Qo({name:"async",type:e,pure:!1,standalone:!0});let i=e;return i})();function g3(i,e){return{key:i,value:e}}var II=(()=>{let e=class e{constructor(t){this.differs=t,this.keyValues=[],this.compareFn=vI}transform(t,n=vI){if(!t||!(t instanceof Map)&&typeof t!="object")return null;this.differ??=this.differs.find(t).create();let o=this.differ.diff(t),a=n!==this.compareFn;return o&&(this.keyValues=[],o.forEachItem(s=>{this.keyValues.push(g3(s.key,s.currentValue))})),(o||a)&&(this.keyValues.sort(n),this.compareFn=n),this.keyValues}};e.\u0275fac=function(n){return new(n||e)(m(pm,16))},e.\u0275pipe=Qo({name:"keyvalue",type:e,pure:!1,standalone:!0});let i=e;return i})();function vI(i,e){let r=i.key,t=e.key;if(r===t)return 0;if(r===void 0)return 1;if(t===void 0)return-1;if(r===null)return 1;if(t===null)return-1;if(typeof r=="string"&&typeof t=="string")return r{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=te({type:e}),e.\u0275inj=ee({});let i=e;return i})(),Nb="browser",_3="server";function Lb(i){return i===Nb}function wm(i){return i===_3}var MI=(()=>{let e=class e{};e.\u0275prov=V({token:e,providedIn:"root",factory:()=>Lb(k(oo))?new Ab(k(se),window):new Ob});let i=e;return i})(),Ab=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=v3(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,n=r.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(t-o[0],n-o[1])}};function v3(i,e){let r=i.getElementById(e)||i.getElementsByName(e)[0];if(r)return r;if(typeof i.createTreeWalker=="function"&&i.body&&typeof i.body.attachShadow=="function"){let t=i.createTreeWalker(i.body,NodeFilter.SHOW_ELEMENT),n=t.currentNode;for(;n;){let o=n.shadowRoot;if(o){let a=o.getElementById(e)||o.querySelector(`[name="${e}"]`);if(a)return a}n=t.nextNode()}}return null}var Ob=class{setOffset(e){}getScrollPosition(){return[0,0]}scrollToPosition(e){}scrollToAnchor(e){}setHistoryScrollRestoration(e){}},dl=class{};var jc=class{},xm=class{},Eo=class i{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split(` -`).forEach(r=>{let t=r.indexOf(":");if(t>0){let n=r.slice(0,t),o=n.toLowerCase(),a=r.slice(t+1).trim();this.maybeSetNormalizedName(n,o),this.headers.has(o)?this.headers.get(o).push(a):this.headers.set(o,[a])}})}: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 i?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 i;return r.lazyInit=this.lazyInit&&this.lazyInit instanceof i?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 n=(e.op==="a"?this.headers.get(r):void 0)||[];n.push(...t),this.headers.set(r,n);break;case"d":let o=e.value;if(!o)this.headers.delete(r),this.normalizedNames.delete(r);else{let a=this.headers.get(r);if(!a)return;a=a.filter(s=>o.indexOf(s)===-1),a.length===0?(this.headers.delete(r),this.normalizedNames.delete(r)):this.headers.set(r,a)}break}}setHeaderEntries(e,r){let t=(Array.isArray(r)?r:[r]).map(o=>o.toString()),n=e.toLowerCase();this.headers.set(n,t),this.maybeSetNormalizedName(e,n)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(r=>e(this.normalizedNames.get(r),this.headers.get(r)))}};var jb=class{encodeKey(e){return TI(e)}encodeValue(e){return TI(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function b3(i,e){let r=new Map;return i.length>0&&i.replace(/^\?/,"").split("&").forEach(n=>{let o=n.indexOf("="),[a,s]=o==-1?[e.decodeKey(n),""]:[e.decodeKey(n.slice(0,o)),e.decodeValue(n.slice(o+1))],l=r.get(a)||[];l.push(s),r.set(a,l)}),r}var y3=/%(\d[a-f0-9])/gi,w3={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function TI(i){return encodeURIComponent(i).replace(y3,(e,r)=>w3[r]??e)}function Cm(i){return`${i}`}var da=class i{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new jb,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=b3(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(r=>{let t=e.fromObject[r],n=Array.isArray(t)?t.map(Cm):[Cm(t)];this.map.set(r,n)})):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 n=e[t];Array.isArray(n)?n.forEach(o=>{r.push({param:t,value:o,op:"a"})}):r.push({param:t,value:n,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 i({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(Cm(e.value)),this.map.set(e.param,r);break;case"d":if(e.value!==void 0){let t=this.map.get(e.param)||[],n=t.indexOf(Cm(e.value));n!==-1&&t.splice(n,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 Bb=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 C3(i){switch(i){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function kI(i){return typeof ArrayBuffer<"u"&&i instanceof ArrayBuffer}function AI(i){return typeof Blob<"u"&&i instanceof Blob}function OI(i){return typeof FormData<"u"&&i instanceof FormData}function x3(i){return typeof URLSearchParams<"u"&&i instanceof URLSearchParams}var Vc=class i{constructor(e,r,t,n){this.url=r,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase();let o;if(C3(this.method)||n?(this.body=t!==void 0?t:null,o=n):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),this.headers??=new Eo,this.context??=new Bb,!this.params)this.params=new da,this.urlWithParams=r;else{let a=this.params.toString();if(a.length===0)this.urlWithParams=r;else{let s=r.indexOf("?"),l=s===-1?"?":sC.set(D,e.setHeaders[D]),u)),e.setParams&&(f=Object.keys(e.setParams).reduce((C,D)=>C.set(D,e.setParams[D]),f)),new i(r,t,a,{params:f,headers:u,context:v,reportProgress:l,responseType:n,withCredentials:s,transferCache:o})}},ua=function(i){return i[i.Sent=0]="Sent",i[i.UploadProgress=1]="UploadProgress",i[i.ResponseHeader=2]="ResponseHeader",i[i.DownloadProgress=3]="DownloadProgress",i[i.Response=4]="Response",i[i.User=5]="User",i}(ua||{}),Bc=class{constructor(e,r=200,t="OK"){this.headers=e.headers||new Eo,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}},Dm=class i extends Bc{constructor(e={}){super(e),this.type=ua.ResponseHeader}clone(e={}){return new i({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})}},zc=class i extends Bc{constructor(e={}){super(e),this.type=ua.Response,this.body=e.body!==void 0?e.body:null}clone(e={}){return new i({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})}},ca=class extends Bc{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}},LI=200,D3=204;function Vb(i,e){return{body:e,headers:i.headers,context:i.context,observe:i.observe,params:i.params,reportProgress:i.reportProgress,responseType:i.responseType,withCredentials:i.withCredentials,transferCache:i.transferCache}}var Uc=(()=>{let e=class e{constructor(t){this.handler=t}request(t,n,o={}){let a;if(t instanceof Vc)a=t;else{let u;o.headers instanceof Eo?u=o.headers:u=new Eo(o.headers);let f;o.params&&(o.params instanceof da?f=o.params:f=new da({fromObject:o.params})),a=new Vc(t,n,o.body!==void 0?o.body:null,{headers:u,context:o.context,params:f,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let s=oe(a).pipe(hr(u=>this.handler.handle(u)));if(t instanceof Vc||o.observe==="events")return s;let l=s.pipe(Ye(u=>u instanceof zc));switch(o.observe||"body"){case"body":switch(a.responseType){case"arraybuffer":return l.pipe(ue(u=>{if(u.body!==null&&!(u.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return u.body}));case"blob":return l.pipe(ue(u=>{if(u.body!==null&&!(u.body instanceof Blob))throw new Error("Response is not a Blob.");return u.body}));case"text":return l.pipe(ue(u=>{if(u.body!==null&&typeof u.body!="string")throw new Error("Response is not a string.");return u.body}));case"json":default:return l.pipe(ue(u=>u.body))}case"response":return l;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(t,n={}){return this.request("DELETE",t,n)}get(t,n={}){return this.request("GET",t,n)}head(t,n={}){return this.request("HEAD",t,n)}jsonp(t,n){return this.request("JSONP",t,{params:new da().append(n,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,n={}){return this.request("OPTIONS",t,n)}patch(t,n,o={}){return this.request("PATCH",t,Vb(o,n))}post(t,n,o={}){return this.request("POST",t,Vb(o,n))}put(t,n,o={}){return this.request("PUT",t,Vb(o,n))}};e.\u0275fac=function(n){return new(n||e)(M(jc))},e.\u0275prov=V({token:e,factory:e.\u0275fac});let i=e;return i})(),S3=/^\)\]\}',?\n/,E3="X-Request-URL";function RI(i){if(i.url)return i.url;let e=E3.toLocaleLowerCase();return i.headers.get(e)}var I3=(()=>{let e=class e{constructor(){this.fetchImpl=k(zb,{optional:!0})?.fetch??((...t)=>globalThis.fetch(...t)),this.ngZone=k(Z)}handle(t){return new Re(n=>{let o=new AbortController;return this.doRequest(t,o.signal,n).then(Ub,a=>n.error(new ca({error:a}))),()=>o.abort()})}doRequest(t,n,o){return W(this,null,function*(){let a=this.createRequestInit(t),s;try{let S=this.ngZone.runOutsideAngular(()=>this.fetchImpl(t.urlWithParams,j({signal:n},a)));M3(S),o.next({type:ua.Sent}),s=yield S}catch(S){o.error(new ca({error:S,status:S.status??0,statusText:S.statusText,url:t.urlWithParams,headers:S.headers}));return}let l=new Eo(s.headers),u=s.statusText,f=RI(s)??t.urlWithParams,v=s.status,C=null;if(t.reportProgress&&o.next(new Dm({headers:l,status:v,statusText:u,url:f})),s.body){let S=s.headers.get("content-length"),P=[],z=s.body.getReader(),O=0,de,ht,it=typeof Zone<"u"&&Zone.current;yield this.ngZone.runOutsideAngular(()=>W(this,null,function*(){for(;;){let{done:Ft,value:Wt}=yield z.read();if(Ft)break;if(P.push(Wt),O+=Wt.length,t.reportProgress){ht=t.responseType==="text"?(ht??"")+(de??=new TextDecoder).decode(Wt,{stream:!0}):void 0;let wi=()=>o.next({type:ua.DownloadProgress,total:S?+S:void 0,loaded:O,partialText:ht});it?it.run(wi):wi()}}}));let Ti=this.concatChunks(P,O);try{let Ft=s.headers.get("Content-Type")??"";C=this.parseBody(t,Ti,Ft)}catch(Ft){o.error(new ca({error:Ft,headers:new Eo(s.headers),status:s.status,statusText:s.statusText,url:RI(s)??t.urlWithParams}));return}}v===0&&(v=C?LI:0),v>=200&&v<300?(o.next(new zc({body:C,headers:l,status:v,statusText:u,url:f})),o.complete()):o.error(new ca({error:C,headers:l,status:v,statusText:u,url:f}))})}parseBody(t,n,o){switch(t.responseType){case"json":let a=new TextDecoder().decode(n).replace(S3,"");return a===""?null:JSON.parse(a);case"text":return new TextDecoder().decode(n);case"blob":return new Blob([n],{type:o});case"arraybuffer":return n.buffer}}createRequestInit(t){let n={},o=t.withCredentials?"include":void 0;if(t.headers.forEach((a,s)=>n[a]=s.join(",")),t.headers.has("Accept")||(n.Accept="application/json, text/plain, */*"),!t.headers.has("Content-Type")){let a=t.detectContentTypeHeader();a!==null&&(n["Content-Type"]=a)}return{body:t.serializeBody(),method:t.method,headers:n,credentials:o}}concatChunks(t,n){let o=new Uint8Array(n),a=0;for(let s of t)o.set(s,a),a+=s.length;return o}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=V({token:e,factory:e.\u0275fac});let i=e;return i})(),zb=class{};function Ub(){}function M3(i){i.then(Ub,Ub)}function VI(i,e){return e(i)}function T3(i,e){return(r,t)=>e.intercept(r,{handle:n=>i(n,t)})}function k3(i,e,r){return(t,n)=>io(r,()=>e(t,o=>i(o,n)))}var A3=new R(""),Hb=new R(""),O3=new R(""),jI=new R("",{providedIn:"root",factory:()=>!0});function R3(){let i=null;return(e,r)=>{i===null&&(i=(k(A3,{optional:!0})??[]).reduceRight(T3,VI));let t=k(Zo);if(k(jI)){let o=t.add();return i(e,r).pipe(zo(()=>t.remove(o)))}else return i(e,r)}}var PI=(()=>{let e=class e extends jc{constructor(t,n){super(),this.backend=t,this.injector=n,this.chain=null,this.pendingTasks=k(Zo),this.contributeToStability=k(jI)}handle(t){if(this.chain===null){let n=Array.from(new Set([...this.injector.get(Hb),...this.injector.get(O3,[])]));this.chain=n.reduceRight((o,a)=>k3(o,a,this.injector),VI)}if(this.contributeToStability){let n=this.pendingTasks.add();return this.chain(t,o=>this.backend.handle(o)).pipe(zo(()=>this.pendingTasks.remove(n)))}else return this.chain(t,n=>this.backend.handle(n))}};e.\u0275fac=function(n){return new(n||e)(M(xm),M(qi))},e.\u0275prov=V({token:e,factory:e.\u0275fac});let i=e;return i})();var P3=/^\)\]\}',?\n/;function F3(i){return"responseURL"in i&&i.responseURL?i.responseURL:/^X-Request-URL:/m.test(i.getAllResponseHeaders())?i.getResponseHeader("X-Request-URL"):null}var FI=(()=>{let e=class e{constructor(t){this.xhrFactory=t}handle(t){if(t.method==="JSONP")throw new J(-2800,!1);let n=this.xhrFactory;return(n.\u0275loadImpl?Kt(n.\u0275loadImpl()):oe(null)).pipe(Tt(()=>new Re(a=>{let s=n.build();if(s.open(t.method,t.urlWithParams),t.withCredentials&&(s.withCredentials=!0),t.headers.forEach((z,O)=>s.setRequestHeader(z,O.join(","))),t.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){let z=t.detectContentTypeHeader();z!==null&&s.setRequestHeader("Content-Type",z)}if(t.responseType){let z=t.responseType.toLowerCase();s.responseType=z!=="json"?z:"text"}let l=t.serializeBody(),u=null,f=()=>{if(u!==null)return u;let z=s.statusText||"OK",O=new Eo(s.getAllResponseHeaders()),de=F3(s)||t.url;return u=new Dm({headers:O,status:s.status,statusText:z,url:de}),u},v=()=>{let{headers:z,status:O,statusText:de,url:ht}=f(),it=null;O!==D3&&(it=typeof s.response>"u"?s.responseText:s.response),O===0&&(O=it?LI:0);let Ti=O>=200&&O<300;if(t.responseType==="json"&&typeof it=="string"){let Ft=it;it=it.replace(P3,"");try{it=it!==""?JSON.parse(it):null}catch(Wt){it=Ft,Ti&&(Ti=!1,it={error:Wt,text:it})}}Ti?(a.next(new zc({body:it,headers:z,status:O,statusText:de,url:ht||void 0})),a.complete()):a.error(new ca({error:it,headers:z,status:O,statusText:de,url:ht||void 0}))},C=z=>{let{url:O}=f(),de=new ca({error:z,status:s.status||0,statusText:s.statusText||"Unknown Error",url:O||void 0});a.error(de)},D=!1,S=z=>{D||(a.next(f()),D=!0);let O={type:ua.DownloadProgress,loaded:z.loaded};z.lengthComputable&&(O.total=z.total),t.responseType==="text"&&s.responseText&&(O.partialText=s.responseText),a.next(O)},P=z=>{let O={type:ua.UploadProgress,loaded:z.loaded};z.lengthComputable&&(O.total=z.total),a.next(O)};return s.addEventListener("load",v),s.addEventListener("error",C),s.addEventListener("timeout",C),s.addEventListener("abort",C),t.reportProgress&&(s.addEventListener("progress",S),l!==null&&s.upload&&s.upload.addEventListener("progress",P)),s.send(l),a.next({type:ua.Sent}),()=>{s.removeEventListener("error",C),s.removeEventListener("abort",C),s.removeEventListener("load",v),s.removeEventListener("timeout",C),t.reportProgress&&(s.removeEventListener("progress",S),l!==null&&s.upload&&s.upload.removeEventListener("progress",P)),s.readyState!==s.DONE&&s.abort()}})))}};e.\u0275fac=function(n){return new(n||e)(M(dl))},e.\u0275prov=V({token:e,factory:e.\u0275fac});let i=e;return i})(),BI=new R(""),N3="XSRF-TOKEN",L3=new R("",{providedIn:"root",factory:()=>N3}),V3="X-XSRF-TOKEN",j3=new R("",{providedIn:"root",factory:()=>V3}),Sm=class{},B3=(()=>{let e=class e{constructor(t,n,o){this.doc=t,this.platform=n,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=vm(t,this.cookieName),this.lastCookieString=t),this.lastToken}};e.\u0275fac=function(n){return new(n||e)(M(se),M(oo),M(L3))},e.\u0275prov=V({token:e,factory:e.\u0275fac});let i=e;return i})();function z3(i,e){let r=i.url.toLowerCase();if(!k(BI)||i.method==="GET"||i.method==="HEAD"||r.startsWith("http://")||r.startsWith("https://"))return e(i);let t=k(Sm).getToken(),n=k(j3);return t!=null&&!i.headers.has(n)&&(i=i.clone({headers:i.headers.set(n,t)})),e(i)}var zI=function(i){return i[i.Interceptors=0]="Interceptors",i[i.LegacyInterceptors=1]="LegacyInterceptors",i[i.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",i[i.NoXsrfProtection=3]="NoXsrfProtection",i[i.JsonpSupport=4]="JsonpSupport",i[i.RequestsMadeViaParent=5]="RequestsMadeViaParent",i[i.Fetch=6]="Fetch",i}(zI||{});function U3(i,e){return{\u0275kind:i,\u0275providers:e}}function UI(...i){let e=[Uc,FI,PI,{provide:jc,useExisting:PI},{provide:xm,useFactory:()=>k(I3,{optional:!0})??k(FI)},{provide:Hb,useValue:z3,multi:!0},{provide:BI,useValue:!0},{provide:Sm,useClass:B3}];for(let r of i)e.push(...r.\u0275providers);return jh(e)}var NI=new R("");function HI(){return U3(zI.LegacyInterceptors,[{provide:NI,useFactory:R3},{provide:Hb,useExisting:NI,multi:!0}])}var Gb=class extends fm{constructor(){super(...arguments),this.supportsDOMEvents=!0}},qb=class i extends Gb{static makeCurrent(){yI(new i)}onAndCancel(e,r,t){return e.addEventListener(r,t),()=>{e.removeEventListener(r,t)}}dispatchEvent(e,r){e.dispatchEvent(r)}remove(e){e.remove()}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=H3();return r==null?null:$3(r)}resetBaseElement(){Hc=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return vm(document.cookie,e)}},Hc=null;function H3(){return Hc=Hc||document.querySelector("base"),Hc?Hc.getAttribute("href"):null}function $3(i){return new URL(i,document.baseURI).pathname}var Yb=class{addToWindow(e){Pn.getAngularTestability=(t,n=!0)=>{let o=e.findTestabilityInTree(t,n);if(o==null)throw new J(5103,!1);return o},Pn.getAllAngularTestabilities=()=>e.getAllTestabilities(),Pn.getAllAngularRootElements=()=>e.getAllRootElements();let r=t=>{let n=Pn.getAllAngularTestabilities(),o=n.length,a=function(){o--,o==0&&t()};n.forEach(s=>{s.whenStable(a)})};Pn.frameworkStabilizers||(Pn.frameworkStabilizers=[]),Pn.frameworkStabilizers.push(r)}findTestabilityInTree(e,r,t){if(r==null)return null;let n=e.getTestability(r);return n??(t?Jo().isShadowRoot(r)?this.findTestabilityInTree(e,r.host,!0):this.findTestabilityInTree(e,r.parentElement,!0):null)}},W3=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=V({token:e,factory:e.\u0275fac});let i=e;return i})(),Qb=new R(""),qI=(()=>{let e=class e{constructor(t,n){this._zone=n,this._eventNameToPlugin=new Map,t.forEach(o=>{o.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,n,o){return this._findPluginFor(n).addEventListener(t,n,o)}getZone(){return this._zone}_findPluginFor(t){let n=this._eventNameToPlugin.get(t);if(n)return n;if(n=this._plugins.find(a=>a.supports(t)),!n)throw new J(5101,!1);return this._eventNameToPlugin.set(t,n),n}};e.\u0275fac=function(n){return new(n||e)(M(Qb),M(Z))},e.\u0275prov=V({token:e,factory:e.\u0275fac});let i=e;return i})(),Em=class{constructor(e){this._doc=e}},$b="ng-app-id",YI=(()=>{let e=class e{constructor(t,n,o,a={}){this.doc=t,this.appId=n,this.nonce=o,this.platformId=a,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=wm(a),this.resetHostNodes()}addStyles(t){for(let n of t)this.changeUsageCount(n,1)===1&&this.onStyleAdded(n)}removeStyles(t){for(let n of t)this.changeUsageCount(n,-1)<=0&&this.onStyleRemoved(n)}ngOnDestroy(){let t=this.styleNodesInDOM;t&&(t.forEach(n=>n.remove()),t.clear());for(let n of this.getAllStyles())this.onStyleRemoved(n);this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(let n of this.getAllStyles())this.addStyleToHost(t,n)}removeHost(t){this.hostNodes.delete(t)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(t){for(let n of this.hostNodes)this.addStyleToHost(n,t)}onStyleRemoved(t){let n=this.styleRef;n.get(t)?.elements?.forEach(o=>o.remove()),n.delete(t)}collectServerRenderedStyles(){let t=this.doc.head?.querySelectorAll(`style[${$b}="${this.appId}"]`);if(t?.length){let n=new Map;return t.forEach(o=>{o.textContent!=null&&n.set(o.textContent,o)}),n}return null}changeUsageCount(t,n){let o=this.styleRef;if(o.has(t)){let a=o.get(t);return a.usage+=n,a.usage}return o.set(t,{usage:n,elements:[]}),n}getStyleElement(t,n){let o=this.styleNodesInDOM,a=o?.get(n);if(a?.parentNode===t)return o.delete(n),a.removeAttribute($b),a;{let s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=n,this.platformIsServer&&s.setAttribute($b,this.appId),t.appendChild(s),s}}addStyleToHost(t,n){let o=this.getStyleElement(t,n),a=this.styleRef,s=a.get(n)?.elements;s?s.push(o):a.set(n,{elements:[o],usage:1})}resetHostNodes(){let t=this.hostNodes;t.clear(),t.add(this.doc.head)}};e.\u0275fac=function(n){return new(n||e)(M(se),M(al),M(Ic,8),M(oo))},e.\u0275prov=V({token:e,factory:e.\u0275fac});let i=e;return i})(),Wb={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"},Zb=/%COMP%/g,QI="%COMP%",G3=`_nghost-${QI}`,q3=`_ngcontent-${QI}`,Y3=!0,Q3=new R("",{providedIn:"root",factory:()=>Y3});function K3(i){return q3.replace(Zb,i)}function Z3(i){return G3.replace(Zb,i)}function KI(i,e){return e.map(r=>r.replace(Zb,i))}var Im=(()=>{let e=class e{constructor(t,n,o,a,s,l,u,f=null){this.eventManager=t,this.sharedStylesHost=n,this.appId=o,this.removeStylesOnCompDestroy=a,this.doc=s,this.platformId=l,this.ngZone=u,this.nonce=f,this.rendererByCompId=new Map,this.platformIsServer=wm(l),this.defaultRenderer=new $c(t,s,u,this.platformIsServer)}createRenderer(t,n){if(!t||!n)return this.defaultRenderer;this.platformIsServer&&n.encapsulation===Wo.ShadowDom&&(n=rt(j({},n),{encapsulation:Wo.Emulated}));let o=this.getOrCreateRenderer(t,n);return o instanceof Mm?o.applyToHost(t):o instanceof Wc&&o.applyStyles(),o}getOrCreateRenderer(t,n){let o=this.rendererByCompId,a=o.get(n.id);if(!a){let s=this.doc,l=this.ngZone,u=this.eventManager,f=this.sharedStylesHost,v=this.removeStylesOnCompDestroy,C=this.platformIsServer;switch(n.encapsulation){case Wo.Emulated:a=new Mm(u,f,n,this.appId,v,s,l,C);break;case Wo.ShadowDom:return new Kb(u,f,t,n,s,l,this.nonce,C);default:a=new Wc(u,f,n,v,s,l,C);break}o.set(n.id,a)}return a}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(n){return new(n||e)(M(qI),M(YI),M(al),M(Q3),M(se),M(oo),M(Z),M(Ic))},e.\u0275prov=V({token:e,factory:e.\u0275fac});let i=e;return i})(),$c=class{constructor(e,r,t,n){this.eventManager=e,this.doc=r,this.ngZone=t,this.platformIsServer=n,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,r){return r?this.doc.createElementNS(Wb[r]||r,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,r){(WI(e)?e.content:e).appendChild(r)}insertBefore(e,r,t){e&&(WI(e)?e.content:e).insertBefore(r,t)}removeChild(e,r){r.remove()}selectRootElement(e,r){let t=typeof e=="string"?this.doc.querySelector(e):e;if(!t)throw new J(-5104,!1);return r||(t.textContent=""),t}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,r,t,n){if(n){r=n+":"+r;let o=Wb[n];o?e.setAttributeNS(o,r,t):e.setAttribute(r,t)}else e.setAttribute(r,t)}removeAttribute(e,r,t){if(t){let n=Wb[t];n?e.removeAttributeNS(n,r):e.removeAttribute(`${t}:${r}`)}else e.removeAttribute(r)}addClass(e,r){e.classList.add(r)}removeClass(e,r){e.classList.remove(r)}setStyle(e,r,t,n){n&(Yo.DashCase|Yo.Important)?e.style.setProperty(r,t,n&Yo.Important?"important":""):e.style[r]=t}removeStyle(e,r,t){t&Yo.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=Jo().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${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 WI(i){return i.tagName==="TEMPLATE"&&i.content!==void 0}var Kb=class extends $c{constructor(e,r,t,n,o,a,s,l){super(e,o,a,l),this.sharedStylesHost=r,this.hostEl=t,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=KI(n.id,n.styles);for(let f of u){let v=document.createElement("style");s&&v.setAttribute("nonce",s),v.textContent=f,this.shadowRoot.appendChild(v)}}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(null,r)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Wc=class extends $c{constructor(e,r,t,n,o,a,s,l){super(e,o,a,s),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=n,this.styles=l?KI(l,t.styles):t.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},Mm=class extends Wc{constructor(e,r,t,n,o,a,s,l){let u=n+"-"+t.id;super(e,r,t,o,a,s,l,u),this.contentAttr=K3(u),this.hostAttr=Z3(u)}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}},X3=(()=>{let e=class e extends Em{constructor(t){super(t)}supports(t){return!0}addEventListener(t,n,o){return t.addEventListener(n,o,!1),()=>this.removeEventListener(t,n,o)}removeEventListener(t,n,o){return t.removeEventListener(n,o)}};e.\u0275fac=function(n){return new(n||e)(M(se))},e.\u0275prov=V({token:e,factory:e.\u0275fac});let i=e;return i})(),GI=["alt","control","meta","shift"],J3={"\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"},eB={alt:i=>i.altKey,control:i=>i.ctrlKey,meta:i=>i.metaKey,shift:i=>i.shiftKey},tB=(()=>{let e=class e extends Em{constructor(t){super(t)}supports(t){return e.parseEventName(t)!=null}addEventListener(t,n,o){let a=e.parseEventName(n),s=e.eventCallback(a.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Jo().onAndCancel(t,a.domEventName,s))}static parseEventName(t){let n=t.toLowerCase().split("."),o=n.shift();if(n.length===0||!(o==="keydown"||o==="keyup"))return null;let a=e._normalizeKey(n.pop()),s="",l=n.indexOf("code");if(l>-1&&(n.splice(l,1),s="code."),GI.forEach(f=>{let v=n.indexOf(f);v>-1&&(n.splice(v,1),s+=f+".")}),s+=a,n.length!=0||a.length===0)return null;let u={};return u.domEventName=o,u.fullKey=s,u}static matchEventFullKeyCode(t,n){let o=J3[t.key]||t.key,a="";return n.indexOf("code.")>-1&&(o=t.code,a="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),GI.forEach(s=>{if(s!==o){let l=eB[s];l(t)&&(a+=s+".")}}),a+=o,a===n)}static eventCallback(t,n,o){return a=>{e.matchEventFullKeyCode(a,t)&&o.runGuarded(()=>n(a))}}static _normalizeKey(t){return t==="esc"?"escape":t}};e.\u0275fac=function(n){return new(n||e)(M(se))},e.\u0275prov=V({token:e,factory:e.\u0275fac});let i=e;return i})();function iB(){qb.makeCurrent()}function nB(){return new yn}function oB(){return xS(document),document}var rB=[{provide:oo,useValue:Nb},{provide:Zv,useValue:iB,multi:!0},{provide:se,useFactory:oB,deps:[]}],ZI=xb(dI,"browser",rB),aB=new R(""),sB=[{provide:Nc,useClass:Yb,deps:[]},{provide:yb,useClass:cm,deps:[Z,dm,Nc]},{provide:cm,useClass:cm,deps:[Z,dm,Nc]}],lB=[{provide:Bh,useValue:"root"},{provide:yn,useFactory:nB,deps:[]},{provide:Qb,useClass:X3,multi:!0,deps:[se,Z,oo]},{provide:Qb,useClass:tB,multi:!0,deps:[se]},Im,YI,qI,{provide:na,useExisting:Im},{provide:dl,useClass:W3,deps:[]},[]],Tm=(()=>{let e=class e{constructor(t){}static withServerTransition(t){return{ngModule:e,providers:[{provide:al,useValue:t.appId}]}}};e.\u0275fac=function(n){return new(n||e)(M(aB,12))},e.\u0275mod=te({type:e}),e.\u0275inj=ee({providers:[...lB,...sB],imports:[Ei,uI]});let i=e;return i})();var XI=(()=>{let e=class e{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}};e.\u0275fac=function(n){return new(n||e)(M(se))},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var is=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=V({token:e,factory:function(n){let o=null;return n?o=new(n||e):o=M(cB),o},providedIn:"root"});let i=e;return i})(),cB=(()=>{let e=class e extends is{constructor(t){super(),this._doc=t}sanitize(t,n){if(n==null)return null;switch(t){case Yi.NONE:return n;case Yi.HTML:return wr(n,"HTML")?ro(n):Jv(this._doc,String(n)).toString();case Yi.STYLE:return wr(n,"Style")?ro(n):n;case Yi.SCRIPT:if(wr(n,"Script"))return ro(n);throw new J(5200,!1);case Yi.URL:return wr(n,"URL")?ro(n):Xh(String(n));case Yi.RESOURCE_URL:if(wr(n,"ResourceURL"))return ro(n);throw new J(5201,!1);default:throw new J(5202,!1)}}bypassSecurityTrustHtml(t){return IS(t)}bypassSecurityTrustStyle(t){return MS(t)}bypassSecurityTrustScript(t){return TS(t)}bypassSecurityTrustUrl(t){return kS(t)}bypassSecurityTrustResourceUrl(t){return AS(t)}};e.\u0275fac=function(n){return new(n||e)(M(se))},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var ut="primary",ad=Symbol("RouteTitle"),i0=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 _l(i){return new i0(i)}function dB(i,e,r){let t=r.path.split("/");if(t.length>i.length||r.pathMatch==="full"&&(e.hasChildren()||t.lengtht[o]===n)}else return i===e}function dM(i){return i.length>0?i[i.length-1]:null}function ma(i){return Gr(i)?i:la(i)?Kt(Promise.resolve(i)):oe(i)}var hB={exact:hM,subset:mM},uM={exact:mB,subset:pB,ignored:()=>!0};function JI(i,e,r){return hB[r.paths](i.root,e.root,r.matrixParams)&&uM[r.queryParams](i.queryParams,e.queryParams)&&!(r.fragment==="exact"&&i.fragment!==e.fragment)}function mB(i,e){return tr(i,e)}function hM(i,e,r){if(!os(i.segments,e.segments)||!Om(i.segments,e.segments,r)||i.numberOfChildren!==e.numberOfChildren)return!1;for(let t in e.children)if(!i.children[t]||!hM(i.children[t],e.children[t],r))return!1;return!0}function pB(i,e){return Object.keys(e).length<=Object.keys(i).length&&Object.keys(e).every(r=>cM(i[r],e[r]))}function mM(i,e,r){return pM(i,e,e.segments,r)}function pM(i,e,r,t){if(i.segments.length>r.length){let n=i.segments.slice(0,r.length);return!(!os(n,r)||e.hasChildren()||!Om(n,r,t))}else if(i.segments.length===r.length){if(!os(i.segments,r)||!Om(i.segments,r,t))return!1;for(let n in e.children)if(!i.children[n]||!mM(i.children[n],e.children[n],t))return!1;return!0}else{let n=r.slice(0,i.segments.length),o=r.slice(i.segments.length);return!os(i.segments,n)||!Om(i.segments,n,t)||!i.children[ut]?!1:pM(i.children[ut],e,o,t)}}function Om(i,e,r){return e.every((t,n)=>uM[r](i[n].parameters,t.parameters))}var Or=class{constructor(e=new Bt([],{}),r={},t=null){this.root=e,this.queryParams=r,this.fragment=t}get queryParamMap(){return this._queryParamMap??=_l(this.queryParams),this._queryParamMap}toString(){return _B.serialize(this)}},Bt=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 Rm(this)}},ns=class{constructor(e,r){this.path=e,this.parameters=r}get parameterMap(){return this._parameterMap??=_l(this.parameters),this._parameterMap}toString(){return gM(this)}};function fB(i,e){return os(i,e)&&i.every((r,t)=>tr(r.parameters,e[t].parameters))}function os(i,e){return i.length!==e.length?!1:i.every((r,t)=>r.path===e[t].path)}function gB(i,e){let r=[];return Object.entries(i.children).forEach(([t,n])=>{t===ut&&(r=r.concat(e(n,t)))}),Object.entries(i.children).forEach(([t,n])=>{t!==ut&&(r=r.concat(e(n,t)))}),r}var sd=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=V({token:e,factory:()=>new vl,providedIn:"root"});let i=e;return i})(),vl=class{parse(e){let r=new r0(e);return new Or(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(e){let r=`/${qc(e.root,!0)}`,t=yB(e.queryParams),n=typeof e.fragment=="string"?`#${vB(e.fragment)}`:"";return`${r}${t}${n}`}},_B=new vl;function Rm(i){return i.segments.map(e=>gM(e)).join("/")}function qc(i,e){if(!i.hasChildren())return Rm(i);if(e){let r=i.children[ut]?qc(i.children[ut],!1):"",t=[];return Object.entries(i.children).forEach(([n,o])=>{n!==ut&&t.push(`${n}:${qc(o,!1)}`)}),t.length>0?`${r}(${t.join("//")})`:r}else{let r=gB(i,(t,n)=>n===ut?[qc(i.children[ut],!1)]:[`${n}:${qc(t,!1)}`]);return Object.keys(i.children).length===1&&i.children[ut]!=null?`${Rm(i)}/${r[0]}`:`${Rm(i)}/(${r.join("//")})`}}function fM(i){return encodeURIComponent(i).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function km(i){return fM(i).replace(/%3B/gi,";")}function vB(i){return encodeURI(i)}function o0(i){return fM(i).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Pm(i){return decodeURIComponent(i)}function eM(i){return Pm(i.replace(/\+/g,"%20"))}function gM(i){return`${o0(i.path)}${bB(i.parameters)}`}function bB(i){return Object.entries(i).map(([e,r])=>`;${o0(e)}=${o0(r)}`).join("")}function yB(i){let e=Object.entries(i).map(([r,t])=>Array.isArray(t)?t.map(n=>`${km(r)}=${km(n)}`).join("&"):`${km(r)}=${km(t)}`).filter(r=>r);return e.length?`?${e.join("&")}`:""}var wB=/^[^\/()?;#]+/;function Xb(i){let e=i.match(wB);return e?e[0]:""}var CB=/^[^\/()?;=#]+/;function xB(i){let e=i.match(CB);return e?e[0]:""}var DB=/^[^=?&#]+/;function SB(i){let e=i.match(DB);return e?e[0]:""}var EB=/^[^&#]+/;function IB(i){let e=i.match(EB);return e?e[0]:""}var r0=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new Bt([],{}):new Bt([],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[ut]=new Bt(e,r)),t}parseSegment(){let e=Xb(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new J(4009,!1);return this.capture(e),new ns(Pm(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let r=xB(this.remaining);if(!r)return;this.capture(r);let t="";if(this.consumeOptional("=")){let n=Xb(this.remaining);n&&(t=n,this.capture(t))}e[Pm(r)]=Pm(t)}parseQueryParam(e){let r=SB(this.remaining);if(!r)return;this.capture(r);let t="";if(this.consumeOptional("=")){let a=IB(this.remaining);a&&(t=a,this.capture(t))}let n=eM(r),o=eM(t);if(e.hasOwnProperty(n)){let a=e[n];Array.isArray(a)||(a=[a],e[n]=a),a.push(o)}else e[n]=o}parseParens(e){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let t=Xb(this.remaining),n=this.remaining[t.length];if(n!=="/"&&n!==")"&&n!==";")throw new J(4010,!1);let o;t.indexOf(":")>-1?(o=t.slice(0,t.indexOf(":")),this.capture(o),this.capture(":")):e&&(o=ut);let a=this.parseChildren();r[o]=Object.keys(a).length===1?a[ut]:new Bt([],a),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 J(4011,!1)}};function _M(i){return i.segments.length>0?new Bt([],{[ut]:i}):i}function vM(i){let e={};for(let[t,n]of Object.entries(i.children)){let o=vM(n);if(t===ut&&o.segments.length===0&&o.hasChildren())for(let[a,s]of Object.entries(o.children))e[a]=s;else(o.segments.length>0||o.hasChildren())&&(e[t]=o)}let r=new Bt(i.segments,e);return MB(r)}function MB(i){if(i.numberOfChildren===1&&i.children[ut]){let e=i.children[ut];return new Bt(i.segments.concat(e.segments),e.children)}return i}function rs(i){return i instanceof Or}function TB(i,e,r=null,t=null){let n=bM(i);return yM(n,e,r,t)}function bM(i){let e;function r(o){let a={};for(let l of o.children){let u=r(l);a[l.outlet]=u}let s=new Bt(o.url,a);return o===i&&(e=s),s}let t=r(i.root),n=_M(t);return e??n}function yM(i,e,r,t){let n=i;for(;n.parent;)n=n.parent;if(e.length===0)return Jb(n,n,n,r,t);let o=kB(e);if(o.toRoot())return Jb(n,n,new Bt([],{}),r,t);let a=AB(o,n,i),s=a.processChildren?Kc(a.segmentGroup,a.index,o.commands):CM(a.segmentGroup,a.index,o.commands);return Jb(n,a.segmentGroup,s,r,t)}function Fm(i){return typeof i=="object"&&i!=null&&!i.outlets&&!i.segmentPath}function Jc(i){return typeof i=="object"&&i!=null&&i.outlets}function Jb(i,e,r,t,n){let o={};t&&Object.entries(t).forEach(([l,u])=>{o[l]=Array.isArray(u)?u.map(f=>`${f}`):`${u}`});let a;i===e?a=r:a=wM(i,e,r);let s=_M(vM(a));return new Or(s,o,n)}function wM(i,e,r){let t={};return Object.entries(i.children).forEach(([n,o])=>{o===e?t[n]=r:t[n]=wM(o,e,r)}),new Bt(i.segments,t)}var Nm=class{constructor(e,r,t){if(this.isAbsolute=e,this.numberOfDoubleDots=r,this.commands=t,e&&t.length>0&&Fm(t[0]))throw new J(4003,!1);let n=t.find(Jc);if(n&&n!==dM(t))throw new J(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function kB(i){if(typeof i[0]=="string"&&i.length===1&&i[0]==="/")return new Nm(!0,0,i);let e=0,r=!1,t=i.reduce((n,o,a)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let s={};return Object.entries(o.outlets).forEach(([l,u])=>{s[l]=typeof u=="string"?u.split("/"):u}),[...n,{outlets:s}]}if(o.segmentPath)return[...n,o.segmentPath]}return typeof o!="string"?[...n,o]:a===0?(o.split("/").forEach((s,l)=>{l==0&&s==="."||(l==0&&s===""?r=!0:s===".."?e++:s!=""&&n.push(s))}),n):[...n,o]},[]);return new Nm(r,e,t)}var pl=class{constructor(e,r,t){this.segmentGroup=e,this.processChildren=r,this.index=t}};function AB(i,e,r){if(i.isAbsolute)return new pl(e,!0,0);if(!r)return new pl(e,!1,NaN);if(r.parent===null)return new pl(r,!0,0);let t=Fm(i.commands[0])?0:1,n=r.segments.length-1+t;return OB(r,n,i.numberOfDoubleDots)}function OB(i,e,r){let t=i,n=e,o=r;for(;o>n;){if(o-=n,t=t.parent,!t)throw new J(4005,!1);n=t.segments.length}return new pl(t,!1,n-o)}function RB(i){return Jc(i[0])?i[0].outlets:{[ut]:i}}function CM(i,e,r){if(i??=new Bt([],{}),i.segments.length===0&&i.hasChildren())return Kc(i,e,r);let t=PB(i,e,r),n=r.slice(t.commandIndex);if(t.match&&t.pathIndexo!==ut)&&i.children[ut]&&i.numberOfChildren===1&&i.children[ut].segments.length===0){let o=Kc(i.children[ut],e,r);return new Bt(i.segments,o.children)}return Object.entries(t).forEach(([o,a])=>{typeof a=="string"&&(a=[a]),a!==null&&(n[o]=CM(i.children[o],e,a))}),Object.entries(i.children).forEach(([o,a])=>{t[o]===void 0&&(n[o]=a)}),new Bt(i.segments,n)}}function PB(i,e,r){let t=0,n=e,o={match:!1,pathIndex:0,commandIndex:0};for(;n=r.length)return o;let a=i.segments[n],s=r[t];if(Jc(s))break;let l=`${s}`,u=t0&&l===void 0)break;if(l&&u&&typeof u=="object"&&u.outlets===void 0){if(!iM(l,u,a))return o;t+=2}else{if(!iM(l,{},a))return o;t++}n++}return{match:!0,pathIndex:n,commandIndex:t}}function a0(i,e,r){let t=i.segments.slice(0,e),n=0;for(;n{typeof t=="string"&&(t=[t]),t!==null&&(e[r]=a0(new Bt([],{}),0,t))}),e}function tM(i){let e={};return Object.entries(i).forEach(([r,t])=>e[r]=`${t}`),e}function iM(i,e,r){return i==r.path&&tr(e,r.parameters)}var Zc="imperative",zi=function(i){return i[i.NavigationStart=0]="NavigationStart",i[i.NavigationEnd=1]="NavigationEnd",i[i.NavigationCancel=2]="NavigationCancel",i[i.NavigationError=3]="NavigationError",i[i.RoutesRecognized=4]="RoutesRecognized",i[i.ResolveStart=5]="ResolveStart",i[i.ResolveEnd=6]="ResolveEnd",i[i.GuardsCheckStart=7]="GuardsCheckStart",i[i.GuardsCheckEnd=8]="GuardsCheckEnd",i[i.RouteConfigLoadStart=9]="RouteConfigLoadStart",i[i.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",i[i.ChildActivationStart=11]="ChildActivationStart",i[i.ChildActivationEnd=12]="ChildActivationEnd",i[i.ActivationStart=13]="ActivationStart",i[i.ActivationEnd=14]="ActivationEnd",i[i.Scroll=15]="Scroll",i[i.NavigationSkipped=16]="NavigationSkipped",i}(zi||{}),ao=class{constructor(e,r){this.id=e,this.url=r}},bl=class extends ao{constructor(e,r,t="imperative",n=null){super(e,r),this.type=zi.NavigationStart,this.navigationTrigger=t,this.restoredState=n}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},ir=class extends ao{constructor(e,r,t){super(e,r),this.urlAfterRedirects=t,this.type=zi.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},jn=function(i){return i[i.Redirect=0]="Redirect",i[i.SupersededByNewNavigation=1]="SupersededByNewNavigation",i[i.NoDataFromResolver=2]="NoDataFromResolver",i[i.GuardRejected=3]="GuardRejected",i}(jn||{}),Lm=function(i){return i[i.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",i[i.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",i}(Lm||{}),Ar=class extends ao{constructor(e,r,t,n){super(e,r),this.reason=t,this.code=n,this.type=zi.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},ha=class extends ao{constructor(e,r,t,n){super(e,r),this.reason=t,this.code=n,this.type=zi.NavigationSkipped}},ed=class extends ao{constructor(e,r,t,n){super(e,r),this.error=t,this.target=n,this.type=zi.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Vm=class extends ao{constructor(e,r,t,n){super(e,r),this.urlAfterRedirects=t,this.state=n,this.type=zi.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},s0=class extends ao{constructor(e,r,t,n){super(e,r),this.urlAfterRedirects=t,this.state=n,this.type=zi.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},l0=class extends ao{constructor(e,r,t,n,o){super(e,r),this.urlAfterRedirects=t,this.state=n,this.shouldActivate=o,this.type=zi.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},c0=class extends ao{constructor(e,r,t,n){super(e,r),this.urlAfterRedirects=t,this.state=n,this.type=zi.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},d0=class extends ao{constructor(e,r,t,n){super(e,r),this.urlAfterRedirects=t,this.state=n,this.type=zi.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},u0=class{constructor(e){this.route=e,this.type=zi.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},h0=class{constructor(e){this.route=e,this.type=zi.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},m0=class{constructor(e){this.snapshot=e,this.type=zi.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},p0=class{constructor(e){this.snapshot=e,this.type=zi.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},f0=class{constructor(e){this.snapshot=e,this.type=zi.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},g0=class{constructor(e){this.snapshot=e,this.type=zi.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},jm=class{constructor(e,r,t){this.routerEvent=e,this.position=r,this.anchor=t,this.type=zi.Scroll}toString(){let e=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${e}')`}},td=class{},yl=class{constructor(e,r){this.url=e,this.navigationBehaviorOptions=r}};function NB(i,e){return i.providers&&!i._injector&&(i._injector=sm(i.providers,e,`Route: ${i.path}`)),i._injector??e}function Io(i){return i.outlet||ut}function LB(i,e){let r=i.filter(t=>Io(t)===e);return r.push(...i.filter(t=>Io(t)!==e)),r}function ld(i){if(!i)return null;if(i.routeConfig?._injector)return i.routeConfig._injector;for(let e=i.parent;e;e=e.parent){let r=e.routeConfig;if(r?._loadedInjector)return r._loadedInjector;if(r?._injector)return r._injector}return null}var _0=class{get injector(){return ld(this.route?.snapshot)??this.rootInjector}set injector(e){}constructor(e){this.rootInjector=e,this.outlet=null,this.route=null,this.children=new cd(this.rootInjector),this.attachRef=null}},cd=(()=>{let e=class e{constructor(t){this.rootInjector=t,this.contexts=new Map}onChildOutletCreated(t,n){let o=this.getOrCreateContext(t);o.outlet=n,this.contexts.set(t,o)}onChildOutletDestroyed(t){let n=this.getContext(t);n&&(n.outlet=null,n.attachRef=null)}onOutletDeactivated(){let t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let n=this.getContext(t);return n||(n=new _0(this.rootInjector),this.contexts.set(t,n)),n}getContext(t){return this.contexts.get(t)||null}};e.\u0275fac=function(n){return new(n||e)(M(qi))},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),Bm=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=v0(e,this._root);return r?r.children.map(t=>t.value):[]}firstChild(e){let r=v0(e,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(e){let r=b0(e,this._root);return r.length<2?[]:r[r.length-2].children.map(n=>n.value).filter(n=>n!==e)}pathFromRoot(e){return b0(e,this._root).map(r=>r.value)}};function v0(i,e){if(i===e.value)return e;for(let r of e.children){let t=v0(i,r);if(t)return t}return null}function b0(i,e){if(i===e.value)return[e];for(let r of e.children){let t=b0(i,r);if(t.length)return t.unshift(e),t}return[]}var Vn=class{constructor(e,r){this.value=e,this.children=r}toString(){return`TreeNode(${this.value})`}};function ml(i){let e={};return i&&i.children.forEach(r=>e[r.value.outlet]=r),e}var zm=class extends Bm{constructor(e,r){super(e),this.snapshot=r,M0(this,e)}toString(){return this.snapshot.toString()}};function xM(i){let e=VB(i),r=new Gt([new ns("",{})]),t=new Gt({}),n=new Gt({}),o=new Gt({}),a=new Gt(""),s=new Oe(r,t,o,a,n,ut,i,e.root);return s.snapshot=e.root,new zm(new Vn(s,[]),e)}function VB(i){let e={},r={},t={},n="",o=new fl([],e,t,n,r,ut,i,null,{});return new Hm("",new Vn(o,[]))}var Oe=class{constructor(e,r,t,n,o,a,s,l){this.urlSubject=e,this.paramsSubject=r,this.queryParamsSubject=t,this.fragmentSubject=n,this.dataSubject=o,this.outlet=a,this.component=s,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(ue(u=>u[ad]))??oe(void 0),this.url=e,this.params=r,this.queryParams=t,this.fragment=n,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(ue(e=>_l(e))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(ue(e=>_l(e))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Um(i,e,r="emptyOnly"){let t,{routeConfig:n}=i;return e!==null&&(r==="always"||n?.path===""||!e.component&&!e.routeConfig?.loadComponent)?t={params:j(j({},e.params),i.params),data:j(j({},e.data),i.data),resolve:j(j(j(j({},i.data),e.data),n?.data),i._resolvedData)}:t={params:j({},i.params),data:j({},i.data),resolve:j(j({},i.data),i._resolvedData??{})},n&&SM(n)&&(t.resolve[ad]=n.title),t}var fl=class{get title(){return this.data?.[ad]}constructor(e,r,t,n,o,a,s,l,u){this.url=e,this.params=r,this.queryParams=t,this.fragment=n,this.data=o,this.outlet=a,this.component=s,this.routeConfig=l,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=_l(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=_l(this.queryParams),this._queryParamMap}toString(){let e=this.url.map(t=>t.toString()).join("/"),r=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${r}')`}},Hm=class extends Bm{constructor(e,r){super(r),this.url=e,M0(this,r)}toString(){return DM(this._root)}};function M0(i,e){e.value._routerState=i,e.children.forEach(r=>M0(i,r))}function DM(i){let e=i.children.length>0?` { ${i.children.map(DM).join(", ")} } `:"";return`${i.value}${e}`}function e0(i){if(i.snapshot){let e=i.snapshot,r=i._futureSnapshot;i.snapshot=r,tr(e.queryParams,r.queryParams)||i.queryParamsSubject.next(r.queryParams),e.fragment!==r.fragment&&i.fragmentSubject.next(r.fragment),tr(e.params,r.params)||i.paramsSubject.next(r.params),uB(e.url,r.url)||i.urlSubject.next(r.url),tr(e.data,r.data)||i.dataSubject.next(r.data)}else i.snapshot=i._futureSnapshot,i.dataSubject.next(i._futureSnapshot.data)}function y0(i,e){let r=tr(i.params,e.params)&&fB(i.url,e.url),t=!i.parent!=!e.parent;return r&&!t&&(!i.parent||y0(i.parent,e.parent))}function SM(i){return typeof i.title=="string"||i.title===null}var T0=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=ut,this.activateEvents=new T,this.deactivateEvents=new T,this.attachEvents=new T,this.detachEvents=new T,this.parentContexts=k(cd),this.location=k(Ct),this.changeDetector=k(he),this.inputBinder=k(Ym,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(t){if(t.name){let{firstChange:n,previousValue:o}=t.name;if(n)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let t=this.parentContexts.getContext(this.name);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 J(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new J(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new J(4012,!1);this.location.detach();let t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,n){this.activated=t,this._activatedRoute=n,this.location.insert(t.hostView),this.inputBinder?.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,n){if(this.isActivated)throw new J(4013,!1);this._activatedRoute=t;let o=this.location,s=t.snapshot.component,l=this.parentContexts.getOrCreateContext(this.name).children,u=new w0(t,l,o.injector);this.activated=o.createComponent(s,{index:o.length,injector:u,environmentInjector:n}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=L({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Qe]});let i=e;return i})(),w0=class i{__ngOutletInjector(e){return new i(this.route,this.childContexts,e)}constructor(e,r,t){this.route=e,this.childContexts=r,this.parent=t}get(e,r){return e===Oe?this.route:e===cd?this.childContexts:this.parent.get(e,r)}},Ym=new R(""),nM=(()=>{let e=class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(t){this.unsubscribeFromRouteData(t),this.subscribeToRouteData(t)}unsubscribeFromRouteData(t){this.outletDataSubscriptions.get(t)?.unsubscribe(),this.outletDataSubscriptions.delete(t)}subscribeToRouteData(t){let{activatedRoute:n}=t,o=Rn([n.queryParams,n.params,n.data]).pipe(Tt(([a,s,l],u)=>(l=j(j(j({},a),s),l),u===0?oe(l):Promise.resolve(l)))).subscribe(a=>{if(!t.isActivated||!t.activatedComponentRef||t.activatedRoute!==n||n.component===null){this.unsubscribeFromRouteData(t);return}let s=hI(n.component);if(!s){this.unsubscribeFromRouteData(t);return}for(let{templateName:l}of s.inputs)t.activatedComponentRef.setInput(l,a[l])});this.outletDataSubscriptions.set(t,o)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=V({token:e,factory:e.\u0275fac});let i=e;return i})();function jB(i,e,r){let t=id(i,e._root,r?r._root:void 0);return new zm(t,e)}function id(i,e,r){if(r&&i.shouldReuseRoute(e.value,r.value.snapshot)){let t=r.value;t._futureSnapshot=e.value;let n=BB(i,e,r);return new Vn(t,n)}else{if(i.shouldAttach(e.value)){let o=i.retrieve(e.value);if(o!==null){let a=o.route;return a.value._futureSnapshot=e.value,a.children=e.children.map(s=>id(i,s)),a}}let t=zB(e.value),n=e.children.map(o=>id(i,o));return new Vn(t,n)}}function BB(i,e,r){return e.children.map(t=>{for(let n of r.children)if(i.shouldReuseRoute(t.value,n.value.snapshot))return id(i,t,n);return id(i,t)})}function zB(i){return new Oe(new Gt(i.url),new Gt(i.params),new Gt(i.queryParams),new Gt(i.fragment),new Gt(i.data),i.outlet,i.component,i)}var nd=class{constructor(e,r){this.redirectTo=e,this.navigationBehaviorOptions=r}},EM="ngNavigationCancelingError";function $m(i,e){let{redirectTo:r,navigationBehaviorOptions:t}=rs(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,n=IM(!1,jn.Redirect);return n.url=r,n.navigationBehaviorOptions=t,n}function IM(i,e){let r=new Error(`NavigationCancelingError: ${i||""}`);return r[EM]=!0,r.cancellationCode=e,r}function UB(i){return MM(i)&&rs(i.url)}function MM(i){return!!i&&i[EM]}var HB=(i,e,r,t)=>ue(n=>(new C0(e,n.targetRouterState,n.currentRouterState,r,t).activate(i),n)),C0=class{constructor(e,r,t,n,o){this.routeReuseStrategy=e,this.futureState=r,this.currState=t,this.forwardEvent=n,this.inputBindingEnabled=o}activate(e){let r=this.futureState._root,t=this.currState?this.currState._root:null;this.deactivateChildRoutes(r,t,e),e0(this.futureState.root),this.activateChildRoutes(r,t,e)}deactivateChildRoutes(e,r,t){let n=ml(r);e.children.forEach(o=>{let a=o.value.outlet;this.deactivateRoutes(o,n[a],t),delete n[a]}),Object.values(n).forEach(o=>{this.deactivateRouteAndItsChildren(o,t)})}deactivateRoutes(e,r,t){let n=e.value,o=r?r.value:null;if(n===o)if(n.component){let a=t.getContext(n.outlet);a&&this.deactivateChildRoutes(e,r,a.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),n=t&&e.value.component?t.children:r,o=ml(e);for(let a of Object.values(o))this.deactivateRouteAndItsChildren(a,n);if(t&&t.outlet){let a=t.outlet.detach(),s=t.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:a,route:e,contexts:s})}}deactivateRouteAndOutlet(e,r){let t=r.getContext(e.value.outlet),n=t&&e.value.component?t.children:r,o=ml(e);for(let a of Object.values(o))this.deactivateRouteAndItsChildren(a,n);t&&(t.outlet&&(t.outlet.deactivate(),t.children.onOutletDeactivated()),t.attachRef=null,t.route=null)}activateChildRoutes(e,r,t){let n=ml(r);e.children.forEach(o=>{this.activateRoutes(o,n[o.value.outlet],t),this.forwardEvent(new g0(o.value.snapshot))}),e.children.length&&this.forwardEvent(new p0(e.value.snapshot))}activateRoutes(e,r,t){let n=e.value,o=r?r.value:null;if(e0(n),n===o)if(n.component){let a=t.getOrCreateContext(n.outlet);this.activateChildRoutes(e,r,a.children)}else this.activateChildRoutes(e,r,t);else if(n.component){let a=t.getOrCreateContext(n.outlet);if(this.routeReuseStrategy.shouldAttach(n.snapshot)){let s=this.routeReuseStrategy.retrieve(n.snapshot);this.routeReuseStrategy.store(n.snapshot,null),a.children.onOutletReAttached(s.contexts),a.attachRef=s.componentRef,a.route=s.route.value,a.outlet&&a.outlet.attach(s.componentRef,s.route.value),e0(s.route.value),this.activateChildRoutes(e,null,a.children)}else a.attachRef=null,a.route=n,a.outlet&&a.outlet.activateWith(n,a.injector),this.activateChildRoutes(e,null,a.children)}else this.activateChildRoutes(e,null,t)}},Wm=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},gl=class{constructor(e,r){this.component=e,this.route=r}};function $B(i,e,r){let t=i._root,n=e?e._root:null;return Yc(t,n,r,[t.value])}function WB(i){let e=i.routeConfig?i.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:i,guards:e}}function Cl(i,e){let r=Symbol(),t=e.get(i,r);return t===r?typeof i=="function"&&!hD(i)?i:e.get(i):t}function Yc(i,e,r,t,n={canDeactivateChecks:[],canActivateChecks:[]}){let o=ml(e);return i.children.forEach(a=>{GB(a,o[a.value.outlet],r,t.concat([a.value]),n),delete o[a.value.outlet]}),Object.entries(o).forEach(([a,s])=>Xc(s,r.getContext(a),n)),n}function GB(i,e,r,t,n={canDeactivateChecks:[],canActivateChecks:[]}){let o=i.value,a=e?e.value:null,s=r?r.getContext(i.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){let l=qB(a,o,o.routeConfig.runGuardsAndResolvers);l?n.canActivateChecks.push(new Wm(t)):(o.data=a.data,o._resolvedData=a._resolvedData),o.component?Yc(i,e,s?s.children:null,t,n):Yc(i,e,r,t,n),l&&s&&s.outlet&&s.outlet.isActivated&&n.canDeactivateChecks.push(new gl(s.outlet.component,a))}else a&&Xc(e,s,n),n.canActivateChecks.push(new Wm(t)),o.component?Yc(i,null,s?s.children:null,t,n):Yc(i,null,r,t,n);return n}function qB(i,e,r){if(typeof r=="function")return r(i,e);switch(r){case"pathParamsChange":return!os(i.url,e.url);case"pathParamsOrQueryParamsChange":return!os(i.url,e.url)||!tr(i.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!y0(i,e)||!tr(i.queryParams,e.queryParams);case"paramsChange":default:return!y0(i,e)}}function Xc(i,e,r){let t=ml(i),n=i.value;Object.entries(t).forEach(([o,a])=>{n.component?e?Xc(a,e.children.getContext(o),r):Xc(a,null,r):Xc(a,e,r)}),n.component?e&&e.outlet&&e.outlet.isActivated?r.canDeactivateChecks.push(new gl(e.outlet.component,n)):r.canDeactivateChecks.push(new gl(null,n)):r.canDeactivateChecks.push(new gl(null,n))}function dd(i){return typeof i=="function"}function YB(i){return typeof i=="boolean"}function QB(i){return i&&dd(i.canLoad)}function KB(i){return i&&dd(i.canActivate)}function ZB(i){return i&&dd(i.canActivateChild)}function XB(i){return i&&dd(i.canDeactivate)}function JB(i){return i&&dd(i.canMatch)}function TM(i){return i instanceof bo||i?.name==="EmptyError"}var Am=Symbol("INITIAL_VALUE");function wl(){return Tt(i=>Rn(i.map(e=>e.pipe(Ot(1),Rt(Am)))).pipe(ue(e=>{for(let r of e)if(r!==!0){if(r===Am)return Am;if(r===!1||ez(r))return r}return!0}),Ye(e=>e!==Am),Ot(1)))}function ez(i){return rs(i)||i instanceof nd}function tz(i,e){return ci(r=>{let{targetSnapshot:t,currentSnapshot:n,guards:{canActivateChecks:o,canDeactivateChecks:a}}=r;return a.length===0&&o.length===0?oe(rt(j({},r),{guardsResult:!0})):iz(a,t,n,i).pipe(ci(s=>s&&YB(s)?nz(t,o,i,e):oe(s)),ue(s=>rt(j({},r),{guardsResult:s})))})}function iz(i,e,r,t){return Kt(i).pipe(ci(n=>lz(n.component,n.route,r,e,t)),Uo(n=>n!==!0,!0))}function nz(i,e,r,t){return Kt(e).pipe(hr(n=>Bo(rz(n.route.parent,t),oz(n.route,t),sz(i,n.path,r),az(i,n.route,r))),Uo(n=>n!==!0,!0))}function oz(i,e){return i!==null&&e&&e(new f0(i)),oe(!0)}function rz(i,e){return i!==null&&e&&e(new m0(i)),oe(!0)}function az(i,e,r){let t=e.routeConfig?e.routeConfig.canActivate:null;if(!t||t.length===0)return oe(!0);let n=t.map(o=>Xn(()=>{let a=ld(e)??r,s=Cl(o,a),l=KB(s)?s.canActivate(e,i):io(a,()=>s(e,i));return ma(l).pipe(Uo())}));return oe(n).pipe(wl())}function sz(i,e,r){let t=e[e.length-1],o=e.slice(0,e.length-1).reverse().map(a=>WB(a)).filter(a=>a!==null).map(a=>Xn(()=>{let s=a.guards.map(l=>{let u=ld(a.node)??r,f=Cl(l,u),v=ZB(f)?f.canActivateChild(t,i):io(u,()=>f(t,i));return ma(v).pipe(Uo())});return oe(s).pipe(wl())}));return oe(o).pipe(wl())}function lz(i,e,r,t,n){let o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||o.length===0)return oe(!0);let a=o.map(s=>{let l=ld(e)??n,u=Cl(s,l),f=XB(u)?u.canDeactivate(i,e,r,t):io(l,()=>u(i,e,r,t));return ma(f).pipe(Uo())});return oe(a).pipe(wl())}function cz(i,e,r,t){let n=e.canLoad;if(n===void 0||n.length===0)return oe(!0);let o=n.map(a=>{let s=Cl(a,i),l=QB(s)?s.canLoad(e,r):io(i,()=>s(e,r));return ma(l)});return oe(o).pipe(wl(),kM(t))}function kM(i){return Ug(Ht(e=>{if(typeof e!="boolean")throw $m(i,e)}),ue(e=>e===!0))}function dz(i,e,r,t){let n=e.canMatch;if(!n||n.length===0)return oe(!0);let o=n.map(a=>{let s=Cl(a,i),l=JB(s)?s.canMatch(e,r):io(i,()=>s(e,r));return ma(l)});return oe(o).pipe(wl(),kM(t))}var od=class{constructor(e){this.segmentGroup=e||null}},rd=class extends Error{constructor(e){super(),this.urlTree=e}};function hl(i){return jo(new od(i))}function uz(i){return jo(new J(4e3,!1))}function hz(i){return jo(IM(!1,jn.GuardRejected))}var x0=class{constructor(e,r){this.urlSerializer=e,this.urlTree=r}lineralizeSegments(e,r){let t=[],n=r.root;for(;;){if(t=t.concat(n.segments),n.numberOfChildren===0)return oe(t);if(n.numberOfChildren>1||!n.children[ut])return uz(`${e.redirectTo}`);n=n.children[ut]}}applyRedirectCommands(e,r,t,n,o){if(typeof r!="string"){let s=r,{queryParams:l,fragment:u,routeConfig:f,url:v,outlet:C,params:D,data:S,title:P}=n,z=io(o,()=>s({params:D,data:S,queryParams:l,fragment:u,routeConfig:f,url:v,outlet:C,title:P}));if(z instanceof Or)throw new rd(z);r=z}let a=this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),e,t);if(r[0]==="/")throw new rd(a);return a}applyRedirectCreateUrlTree(e,r,t,n){let o=this.createSegmentGroup(e,r.root,t,n);return new Or(o,this.createQueryParams(r.queryParams,this.urlTree.queryParams),r.fragment)}createQueryParams(e,r){let t={};return Object.entries(e).forEach(([n,o])=>{if(typeof o=="string"&&o[0]===":"){let s=o.substring(1);t[n]=r[s]}else t[n]=o}),t}createSegmentGroup(e,r,t,n){let o=this.createSegments(e,r.segments,t,n),a={};return Object.entries(r.children).forEach(([s,l])=>{a[s]=this.createSegmentGroup(e,l,t,n)}),new Bt(o,a)}createSegments(e,r,t,n){return r.map(o=>o.path[0]===":"?this.findPosParam(e,o,n):this.findOrReturn(o,t))}findPosParam(e,r,t){let n=t[r.path.substring(1)];if(!n)throw new J(4001,!1);return n}findOrReturn(e,r){let t=0;for(let n of r){if(n.path===e.path)return r.splice(t),n;t++}return e}},D0={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function mz(i,e,r,t,n){let o=AM(i,e,r);return o.matched?(t=NB(e,t),dz(t,e,r,n).pipe(ue(a=>a===!0?o:j({},D0)))):oe(o)}function AM(i,e,r){if(e.path==="**")return pz(r);if(e.path==="")return e.pathMatch==="full"&&(i.hasChildren()||r.length>0)?j({},D0):{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};let n=(e.matcher||dB)(r,i,e);if(!n)return j({},D0);let o={};Object.entries(n.posParams??{}).forEach(([s,l])=>{o[s]=l.path});let a=n.consumed.length>0?j(j({},o),n.consumed[n.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:n.consumed,remainingSegments:r.slice(n.consumed.length),parameters:a,positionalParamSegments:n.posParams??{}}}function pz(i){return{matched:!0,parameters:i.length>0?dM(i).parameters:{},consumedSegments:i,remainingSegments:[],positionalParamSegments:{}}}function oM(i,e,r,t){return r.length>0&&_z(i,r,t)?{segmentGroup:new Bt(e,gz(t,new Bt(r,i.children))),slicedSegments:[]}:r.length===0&&vz(i,r,t)?{segmentGroup:new Bt(i.segments,fz(i,r,t,i.children)),slicedSegments:r}:{segmentGroup:new Bt(i.segments,i.children),slicedSegments:r}}function fz(i,e,r,t){let n={};for(let o of r)if(Qm(i,e,o)&&!t[Io(o)]){let a=new Bt([],{});n[Io(o)]=a}return j(j({},t),n)}function gz(i,e){let r={};r[ut]=e;for(let t of i)if(t.path===""&&Io(t)!==ut){let n=new Bt([],{});r[Io(t)]=n}return r}function _z(i,e,r){return r.some(t=>Qm(i,e,t)&&Io(t)!==ut)}function vz(i,e,r){return r.some(t=>Qm(i,e,t))}function Qm(i,e,r){return(i.hasChildren()||e.length>0)&&r.pathMatch==="full"?!1:r.path===""}function bz(i,e,r){return e.length===0&&!i.children[r]}var S0=class{};function yz(i,e,r,t,n,o,a="emptyOnly"){return new E0(i,e,r,t,n,a,o).recognize()}var wz=31,E0=class{constructor(e,r,t,n,o,a,s){this.injector=e,this.configLoader=r,this.rootComponentType=t,this.config=n,this.urlTree=o,this.paramsInheritanceStrategy=a,this.urlSerializer=s,this.applyRedirects=new x0(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new J(4002,`'${e.segmentGroup}'`)}recognize(){let e=oM(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(ue(({children:r,rootSnapshot:t})=>{let n=new Vn(t,r),o=new Hm("",n),a=TB(t,[],this.urlTree.queryParams,this.urlTree.fragment);return a.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(a),{state:o,tree:a}}))}match(e){let r=new fl([],Object.freeze({}),Object.freeze(j({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),ut,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,e,ut,r).pipe(ue(t=>({children:t,rootSnapshot:r})),Wi(t=>{if(t instanceof rd)return this.urlTree=t.urlTree,this.match(t.urlTree.root);throw t instanceof od?this.noMatchError(t):t}))}processSegmentGroup(e,r,t,n,o){return t.segments.length===0&&t.hasChildren()?this.processChildren(e,r,t,o):this.processSegment(e,r,t,t.segments,n,!0,o).pipe(ue(a=>a instanceof Vn?[a]:[]))}processChildren(e,r,t,n){let o=[];for(let a of Object.keys(t.children))a==="primary"?o.unshift(a):o.push(a);return Kt(o).pipe(hr(a=>{let s=t.children[a],l=LB(r,a);return this.processSegmentGroup(e,l,s,a,n)}),e_((a,s)=>(a.push(...s),a)),Yr(null),Jg(),ci(a=>{if(a===null)return hl(t);let s=OM(a);return Cz(s),oe(s)}))}processSegment(e,r,t,n,o,a,s){return Kt(r).pipe(hr(l=>this.processSegmentAgainstRoute(l._injector??e,r,l,t,n,o,a,s).pipe(Wi(u=>{if(u instanceof od)return oe(null);throw u}))),Uo(l=>!!l),Wi(l=>{if(TM(l))return bz(t,n,o)?oe(new S0):hl(t);throw l}))}processSegmentAgainstRoute(e,r,t,n,o,a,s,l){return Io(t)!==a&&(a===ut||!Qm(n,o,t))?hl(n):t.redirectTo===void 0?this.matchSegmentAgainstRoute(e,n,t,o,a,l):this.allowRedirects&&s?this.expandSegmentAgainstRouteUsingRedirect(e,n,r,t,o,a,l):hl(n)}expandSegmentAgainstRouteUsingRedirect(e,r,t,n,o,a,s){let{matched:l,parameters:u,consumedSegments:f,positionalParamSegments:v,remainingSegments:C}=AM(r,n,o);if(!l)return hl(r);typeof n.redirectTo=="string"&&n.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>wz&&(this.allowRedirects=!1));let D=new fl(o,u,Object.freeze(j({},this.urlTree.queryParams)),this.urlTree.fragment,rM(n),Io(n),n.component??n._loadedComponent??null,n,aM(n)),S=Um(D,s,this.paramsInheritanceStrategy);D.params=Object.freeze(S.params),D.data=Object.freeze(S.data);let P=this.applyRedirects.applyRedirectCommands(f,n.redirectTo,v,D,e);return this.applyRedirects.lineralizeSegments(n,P).pipe(ci(z=>this.processSegment(e,t,r,z.concat(C),a,!1,s)))}matchSegmentAgainstRoute(e,r,t,n,o,a){let s=mz(r,t,n,e,this.urlSerializer);return t.path==="**"&&(r.children={}),s.pipe(Tt(l=>l.matched?(e=t._injector??e,this.getChildConfig(e,t,n).pipe(Tt(({routes:u})=>{let f=t._loadedInjector??e,{parameters:v,consumedSegments:C,remainingSegments:D}=l,S=new fl(C,v,Object.freeze(j({},this.urlTree.queryParams)),this.urlTree.fragment,rM(t),Io(t),t.component??t._loadedComponent??null,t,aM(t)),P=Um(S,a,this.paramsInheritanceStrategy);S.params=Object.freeze(P.params),S.data=Object.freeze(P.data);let{segmentGroup:z,slicedSegments:O}=oM(r,C,D,u);if(O.length===0&&z.hasChildren())return this.processChildren(f,u,z,S).pipe(ue(ht=>new Vn(S,ht)));if(u.length===0&&O.length===0)return oe(new Vn(S,[]));let de=Io(t)===o;return this.processSegment(f,u,z,O,de?ut:o,!0,S).pipe(ue(ht=>new Vn(S,ht instanceof Vn?[ht]:[])))}))):hl(r)))}getChildConfig(e,r,t){return r.children?oe({routes:r.children,injector:e}):r.loadChildren?r._loadedRoutes!==void 0?oe({routes:r._loadedRoutes,injector:r._loadedInjector}):cz(e,r,t,this.urlSerializer).pipe(ci(n=>n?this.configLoader.loadChildren(e,r).pipe(Ht(o=>{r._loadedRoutes=o.routes,r._loadedInjector=o.injector})):hz(r))):oe({routes:[],injector:e})}};function Cz(i){i.sort((e,r)=>e.value.outlet===ut?-1:r.value.outlet===ut?1:e.value.outlet.localeCompare(r.value.outlet))}function xz(i){let e=i.value.routeConfig;return e&&e.path===""}function OM(i){let e=[],r=new Set;for(let t of i){if(!xz(t)){e.push(t);continue}let n=e.find(o=>t.value.routeConfig===o.value.routeConfig);n!==void 0?(n.children.push(...t.children),r.add(n)):e.push(t)}for(let t of r){let n=OM(t.children);e.push(new Vn(t.value,n))}return e.filter(t=>!r.has(t))}function rM(i){return i.data||{}}function aM(i){return i.resolve||{}}function Dz(i,e,r,t,n,o){return ci(a=>yz(i,e,r,t,a.extractedUrl,n,o).pipe(ue(({state:s,tree:l})=>rt(j({},a),{targetSnapshot:s,urlAfterRedirects:l}))))}function Sz(i,e){return ci(r=>{let{targetSnapshot:t,guards:{canActivateChecks:n}}=r;if(!n.length)return oe(r);let o=new Set(n.map(l=>l.route)),a=new Set;for(let l of o)if(!a.has(l))for(let u of RM(l))a.add(u);let s=0;return Kt(a).pipe(hr(l=>o.has(l)?Ez(l,t,i,e):(l.data=Um(l,l.parent,i).resolve,oe(void 0))),Ht(()=>s++),Bs(1),ci(l=>s===a.size?oe(r):Ai))})}function RM(i){let e=i.children.map(r=>RM(r)).flat();return[i,...e]}function Ez(i,e,r,t){let n=i.routeConfig,o=i._resolve;return n?.title!==void 0&&!SM(n)&&(o[ad]=n.title),Iz(o,i,e,t).pipe(ue(a=>(i._resolvedData=a,i.data=Um(i,i.parent,r).resolve,null)))}function Iz(i,e,r,t){let n=n0(i);if(n.length===0)return oe({});let o={};return Kt(n).pipe(ci(a=>Mz(i[a],e,r,t).pipe(Uo(),Ht(s=>{if(s instanceof nd)throw $m(new vl,s);o[a]=s}))),Bs(1),hc(o),Wi(a=>TM(a)?Ai:jo(a)))}function Mz(i,e,r,t){let n=ld(e)??t,o=Cl(i,n),a=o.resolve?o.resolve(e,r):io(n,()=>o(e,r));return ma(a)}function t0(i){return Tt(e=>{let r=i(e);return r?Kt(r).pipe(ue(()=>e)):oe(e)})}var PM=(()=>{let e=class e{buildTitle(t){let n,o=t.root;for(;o!==void 0;)n=this.getResolvedTitleForRoute(o)??n,o=o.children.find(a=>a.outlet===ut);return n}getResolvedTitleForRoute(t){return t.data[ad]}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=V({token:e,factory:()=>k(Tz),providedIn:"root"});let i=e;return i})(),Tz=(()=>{let e=class e extends PM{constructor(t){super(),this.title=t}updateTitle(t){let n=this.buildTitle(t);n!==void 0&&this.title.setTitle(n)}};e.\u0275fac=function(n){return new(n||e)(M(XI))},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),ud=new R("",{providedIn:"root",factory:()=>({})}),kz=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=E({type:e,selectors:[["ng-component"]],standalone:!0,features:[re],decls:1,vars:0,template:function(n,o){n&1&&I(0,"router-outlet")},dependencies:[T0],encapsulation:2});let i=e;return i})();function k0(i){let e=i.children&&i.children.map(k0),r=e?rt(j({},i),{children:e}):j({},i);return!r.component&&!r.loadComponent&&(e||r.loadChildren)&&r.outlet&&r.outlet!==ut&&(r.component=kz),r}var Gm=new R(""),A0=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=k(mm)}loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return oe(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);let n=ma(t.loadComponent()).pipe(ue(FM),Ht(a=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=a}),zo(()=>{this.componentLoaders.delete(t)})),o=new Wr(n,()=>new G).pipe(Rs());return this.componentLoaders.set(t,o),o}loadChildren(t,n){if(this.childrenLoaders.get(n))return this.childrenLoaders.get(n);if(n._loadedRoutes)return oe({routes:n._loadedRoutes,injector:n._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(n);let a=Az(n,this.compiler,t,this.onLoadEndListener).pipe(zo(()=>{this.childrenLoaders.delete(n)})),s=new Wr(a,()=>new G).pipe(Rs());return this.childrenLoaders.set(n,s),s}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function Az(i,e,r,t){return ma(i.loadChildren()).pipe(ue(FM),ci(n=>n instanceof Cc||Array.isArray(n)?oe(n):Kt(e.compileModuleAsync(n))),ue(n=>{t&&t(i);let o,a,s=!1;return Array.isArray(n)?(a=n,s=!0):(o=n.create(r).injector,a=o.get(Gm,[],{optional:!0,self:!0}).flat()),{routes:a.map(k0),injector:o}}))}function Oz(i){return i&&typeof i=="object"&&"default"in i}function FM(i){return Oz(i)?i.default:i}var O0=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=V({token:e,factory:()=>k(Rz),providedIn:"root"});let i=e;return i})(),Rz=(()=>{let e=class e{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,n){return t}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),NM=new R(""),LM=new R("");function Pz(i,e,r){let t=i.get(LM),n=i.get(se);return i.get(Z).runOutsideAngular(()=>{if(!n.startViewTransition||t.skipNextTransition)return t.skipNextTransition=!1,new Promise(u=>setTimeout(u));let o,a=new Promise(u=>{o=u}),s=n.startViewTransition(()=>(o(),Fz(i))),{onViewTransitionCreated:l}=t;return l&&io(i,()=>l({transition:s,from:e,to:r})),a})}function Fz(i){return new Promise(e=>{ai({read:()=>setTimeout(e)},{injector:i})})}var Nz=new R(""),R0=(()=>{let e=class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new G,this.transitionAbortSubject=new G,this.configLoader=k(A0),this.environmentInjector=k(qi),this.urlSerializer=k(sd),this.rootContexts=k(cd),this.location=k(er),this.inputBindingEnabled=k(Ym,{optional:!0})!==null,this.titleStrategy=k(PM),this.options=k(ud,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=k(O0),this.createViewTransition=k(NM,{optional:!0}),this.navigationErrorHandler=k(Nz,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>oe(void 0),this.rootComponentType=null;let t=o=>this.events.next(new u0(o)),n=o=>this.events.next(new h0(o));this.configLoader.onLoadEndListener=n,this.configLoader.onLoadStartListener=t}complete(){this.transitions?.complete()}handleNavigationRequest(t){let n=++this.navigationId;this.transitions?.next(rt(j(j({},this.transitions.value),t),{id:n}))}setupNavigations(t,n,o){return this.transitions=new Gt({id:0,currentUrlTree:n,currentRawUrl:n,extractedUrl:this.urlHandlingStrategy.extract(n),urlAfterRedirects:this.urlHandlingStrategy.extract(n),rawUrl:n,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:Zc,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Ye(a=>a.id!==0),ue(a=>rt(j({},a),{extractedUrl:this.urlHandlingStrategy.extract(a.rawUrl)})),Tt(a=>{let s=!1,l=!1;return oe(a).pipe(Tt(u=>{if(this.navigationId>a.id)return this.cancelNavigationTransition(a,"",jn.SupersededByNewNavigation),Ai;this.currentTransition=a,this.currentNavigation={id:u.id,initialUrl:u.rawUrl,extractedUrl:u.extractedUrl,targetBrowserUrl:typeof u.extras.browserUrl=="string"?this.urlSerializer.parse(u.extras.browserUrl):u.extras.browserUrl,trigger:u.source,extras:u.extras,previousNavigation:this.lastSuccessfulNavigation?rt(j({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let f=!t.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),v=u.extras.onSameUrlNavigation??t.onSameUrlNavigation;if(!f&&v!=="reload"){let C="";return this.events.next(new ha(u.id,this.urlSerializer.serialize(u.rawUrl),C,Lm.IgnoredSameUrlNavigation)),u.resolve(!1),Ai}if(this.urlHandlingStrategy.shouldProcessUrl(u.rawUrl))return oe(u).pipe(Tt(C=>{let D=this.transitions?.getValue();return this.events.next(new bl(C.id,this.urlSerializer.serialize(C.extractedUrl),C.source,C.restoredState)),D!==this.transitions?.getValue()?Ai:Promise.resolve(C)}),Dz(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,this.paramsInheritanceStrategy),Ht(C=>{a.targetSnapshot=C.targetSnapshot,a.urlAfterRedirects=C.urlAfterRedirects,this.currentNavigation=rt(j({},this.currentNavigation),{finalUrl:C.urlAfterRedirects});let D=new Vm(C.id,this.urlSerializer.serialize(C.extractedUrl),this.urlSerializer.serialize(C.urlAfterRedirects),C.targetSnapshot);this.events.next(D)}));if(f&&this.urlHandlingStrategy.shouldProcessUrl(u.currentRawUrl)){let{id:C,extractedUrl:D,source:S,restoredState:P,extras:z}=u,O=new bl(C,this.urlSerializer.serialize(D),S,P);this.events.next(O);let de=xM(this.rootComponentType).snapshot;return this.currentTransition=a=rt(j({},u),{targetSnapshot:de,urlAfterRedirects:D,extras:rt(j({},z),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=D,oe(a)}else{let C="";return this.events.next(new ha(u.id,this.urlSerializer.serialize(u.extractedUrl),C,Lm.IgnoredByUrlHandlingStrategy)),u.resolve(!1),Ai}}),Ht(u=>{let f=new s0(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(f)}),ue(u=>(this.currentTransition=a=rt(j({},u),{guards:$B(u.targetSnapshot,u.currentSnapshot,this.rootContexts)}),a)),tz(this.environmentInjector,u=>this.events.next(u)),Ht(u=>{if(a.guardsResult=u.guardsResult,u.guardsResult&&typeof u.guardsResult!="boolean")throw $m(this.urlSerializer,u.guardsResult);let f=new l0(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot,!!u.guardsResult);this.events.next(f)}),Ye(u=>u.guardsResult?!0:(this.cancelNavigationTransition(u,"",jn.GuardRejected),!1)),t0(u=>{if(u.guards.canActivateChecks.length)return oe(u).pipe(Ht(f=>{let v=new c0(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot);this.events.next(v)}),Tt(f=>{let v=!1;return oe(f).pipe(Sz(this.paramsInheritanceStrategy,this.environmentInjector),Ht({next:()=>v=!0,complete:()=>{v||this.cancelNavigationTransition(f,"",jn.NoDataFromResolver)}}))}),Ht(f=>{let v=new d0(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot);this.events.next(v)}))}),t0(u=>{let f=v=>{let C=[];v.routeConfig?.loadComponent&&!v.routeConfig._loadedComponent&&C.push(this.configLoader.loadComponent(v.routeConfig).pipe(Ht(D=>{v.component=D}),ue(()=>{})));for(let D of v.children)C.push(...f(D));return C};return Rn(f(u.targetSnapshot.root)).pipe(Yr(null),Ot(1))}),t0(()=>this.afterPreactivation()),Tt(()=>{let{currentSnapshot:u,targetSnapshot:f}=a,v=this.createViewTransition?.(this.environmentInjector,u.root,f.root);return v?Kt(v).pipe(ue(()=>a)):oe(a)}),ue(u=>{let f=jB(t.routeReuseStrategy,u.targetSnapshot,u.currentRouterState);return this.currentTransition=a=rt(j({},u),{targetRouterState:f}),this.currentNavigation.targetRouterState=f,a}),Ht(()=>{this.events.next(new td)}),HB(this.rootContexts,t.routeReuseStrategy,u=>this.events.next(u),this.inputBindingEnabled),Ot(1),Ht({next:u=>{s=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new ir(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects))),this.titleStrategy?.updateTitle(u.targetRouterState.snapshot),u.resolve(!0)},complete:()=>{s=!0}}),fe(this.transitionAbortSubject.pipe(Ht(u=>{throw u}))),zo(()=>{!s&&!l&&this.cancelNavigationTransition(a,"",jn.SupersededByNewNavigation),this.currentTransition?.id===a.id&&(this.currentNavigation=null,this.currentTransition=null)}),Wi(u=>{if(l=!0,MM(u))this.events.next(new Ar(a.id,this.urlSerializer.serialize(a.extractedUrl),u.message,u.cancellationCode)),UB(u)?this.events.next(new yl(u.url,u.navigationBehaviorOptions)):a.resolve(!1);else{let f=new ed(a.id,this.urlSerializer.serialize(a.extractedUrl),u,a.targetSnapshot??void 0);try{let v=io(this.environmentInjector,()=>this.navigationErrorHandler?.(f));if(v instanceof nd){let{message:C,cancellationCode:D}=$m(this.urlSerializer,v);this.events.next(new Ar(a.id,this.urlSerializer.serialize(a.extractedUrl),C,D)),this.events.next(new yl(v.redirectTo,v.navigationBehaviorOptions))}else{this.events.next(f);let C=t.errorHandler(u);a.resolve(!!C)}}catch(v){this.options.resolveNavigationPromiseOnError?a.resolve(!1):a.reject(v)}}return Ai}))}))}cancelNavigationTransition(t,n,o){let a=new Ar(t.id,this.urlSerializer.serialize(t.extractedUrl),n,o);this.events.next(a),t.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let t=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),n=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return t.toString()!==n?.toString()&&!this.currentNavigation?.extras.skipLocationChange}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function Lz(i){return i!==Zc}var Vz=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=V({token:e,factory:()=>k(jz),providedIn:"root"});let i=e;return i})(),I0=class{shouldDetach(e){return!1}store(e,r){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,r){return e.routeConfig===r.routeConfig}},jz=(()=>{let e=class e extends I0{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=jt(e)))(o||e)}})(),e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),VM=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=V({token:e,factory:()=>k(Bz),providedIn:"root"});let i=e;return i})(),Bz=(()=>{let e=class e extends VM{constructor(){super(...arguments),this.location=k(er),this.urlSerializer=k(sd),this.options=k(ud,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=k(O0),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Or,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=xM(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(t){return this.location.subscribe(n=>{n.type==="popstate"&&t(n.url,n.state)})}handleRouterEvent(t,n){if(t instanceof bl)this.stateMemento=this.createStateMemento();else if(t instanceof ha)this.rawUrlTree=n.initialUrl;else if(t instanceof Vm){if(this.urlUpdateStrategy==="eager"&&!n.extras.skipLocationChange){let o=this.urlHandlingStrategy.merge(n.finalUrl,n.initialUrl);this.setBrowserUrl(n.targetBrowserUrl??o,n)}}else t instanceof td?(this.currentUrlTree=n.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(n.finalUrl,n.initialUrl),this.routerState=n.targetRouterState,this.urlUpdateStrategy==="deferred"&&!n.extras.skipLocationChange&&this.setBrowserUrl(n.targetBrowserUrl??this.rawUrlTree,n)):t instanceof Ar&&(t.code===jn.GuardRejected||t.code===jn.NoDataFromResolver)?this.restoreHistory(n):t instanceof ed?this.restoreHistory(n,!0):t instanceof ir&&(this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId)}setBrowserUrl(t,n){let o=t instanceof Or?this.urlSerializer.serialize(t):t;if(this.location.isCurrentPathEqualTo(o)||n.extras.replaceUrl){let a=this.browserPageId,s=j(j({},n.extras.state),this.generateNgRouterState(n.id,a));this.location.replaceState(o,"",s)}else{let a=j(j({},n.extras.state),this.generateNgRouterState(n.id,this.browserPageId+1));this.location.go(o,"",a)}}restoreHistory(t,n=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,a=this.currentPageId-o;a!==0?this.location.historyGo(a):this.currentUrlTree===t.finalUrl&&a===0&&(this.resetState(t),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(n&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,n){return this.canceledNavigationResolution==="computed"?{navigationId:t,\u0275routerPageId:n}:{navigationId:t}}};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=jt(e)))(o||e)}})(),e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),Qc=function(i){return i[i.COMPLETE=0]="COMPLETE",i[i.FAILED=1]="FAILED",i[i.REDIRECTING=2]="REDIRECTING",i}(Qc||{});function jM(i,e){i.events.pipe(Ye(r=>r instanceof ir||r instanceof Ar||r instanceof ed||r instanceof ha),ue(r=>r instanceof ir||r instanceof ha?Qc.COMPLETE:(r instanceof Ar?r.code===jn.Redirect||r.code===jn.SupersededByNewNavigation:!1)?Qc.REDIRECTING:Qc.FAILED),Ye(r=>r!==Qc.REDIRECTING),Ot(1)).subscribe(()=>{e()})}function zz(i){throw i}var Uz={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Hz={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},nr=(()=>{let e=class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.console=k(lm),this.stateManager=k(VM),this.options=k(ud,{optional:!0})||{},this.pendingTasks=k(Zo),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=k(R0),this.urlSerializer=k(sd),this.location=k(er),this.urlHandlingStrategy=k(O0),this._events=new G,this.errorHandler=this.options.errorHandler||zz,this.navigated=!1,this.routeReuseStrategy=k(Vz),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=k(Gm,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!k(Ym,{optional:!0}),this.eventsSubscription=new ve,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:t=>{this.console.warn(t)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let t=this.navigationTransitions.events.subscribe(n=>{try{let o=this.navigationTransitions.currentTransition,a=this.navigationTransitions.currentNavigation;if(o!==null&&a!==null){if(this.stateManager.handleRouterEvent(n,a),n instanceof Ar&&n.code!==jn.Redirect&&n.code!==jn.SupersededByNewNavigation)this.navigated=!0;else if(n instanceof ir)this.navigated=!0;else if(n instanceof yl){let s=n.navigationBehaviorOptions,l=this.urlHandlingStrategy.merge(n.url,o.currentRawUrl),u=j({browserUrl:o.extras.browserUrl,info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||Lz(o.source)},s);this.scheduleNavigation(l,Zc,null,u,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}Wz(n)&&this._events.next(n)}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),Zc,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((t,n)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(t,"popstate",n)},0)})}navigateToSyncWithBrowser(t,n,o){let a={replaceUrl:!0},s=o?.navigationId?o:null;if(o){let u=j({},o);delete u.navigationId,delete u.\u0275routerPageId,Object.keys(u).length!==0&&(a.state=u)}let l=this.parseUrl(t);this.scheduleNavigation(l,n,s,a)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(k0),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,n={}){let{relativeTo:o,queryParams:a,fragment:s,queryParamsHandling:l,preserveFragment:u}=n,f=u?this.currentUrlTree.fragment:s,v=null;switch(l??this.options.defaultQueryParamsHandling){case"merge":v=j(j({},this.currentUrlTree.queryParams),a);break;case"preserve":v=this.currentUrlTree.queryParams;break;default:v=a||null}v!==null&&(v=this.removeEmptyProps(v));let C;try{let D=o?o.snapshot:this.routerState.snapshot.root;C=bM(D)}catch{(typeof t[0]!="string"||t[0][0]!=="/")&&(t=[]),C=this.currentUrlTree.root}return yM(C,t,v,f??null)}navigateByUrl(t,n={skipLocationChange:!1}){let o=rs(t)?t:this.parseUrl(t),a=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(a,Zc,null,n)}navigate(t,n={skipLocationChange:!1}){return $z(t),this.navigateByUrl(this.createUrlTree(t,n),n)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){try{return this.urlSerializer.parse(t)}catch{return this.urlSerializer.parse("/")}}isActive(t,n){let o;if(n===!0?o=j({},Uz):n===!1?o=j({},Hz):o=n,rs(t))return JI(this.currentUrlTree,t,o);let a=this.parseUrl(t);return JI(this.currentUrlTree,a,o)}removeEmptyProps(t){return Object.entries(t).reduce((n,[o,a])=>(a!=null&&(n[o]=a),n),{})}scheduleNavigation(t,n,o,a,s){if(this.disposed)return Promise.resolve(!1);let l,u,f;s?(l=s.resolve,u=s.reject,f=s.promise):f=new Promise((C,D)=>{l=C,u=D});let v=this.pendingTasks.add();return jM(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(v))}),this.navigationTransitions.handleNavigationRequest({source:n,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:t,extras:a,resolve:l,reject:u,promise:f,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),f.catch(C=>Promise.reject(C))}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function $z(i){for(let e=0;e{let e=class e{constructor(t,n,o,a,s,l){this.router=t,this.route=n,this.tabIndexAttribute=o,this.renderer=a,this.el=s,this.locationStrategy=l,this.href=null,this.onChanges=new G,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1,this.routerLinkInput=null;let u=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=u==="a"||u==="area",this.isAnchorElement?this.subscription=t.events.subscribe(f=>{f instanceof ir&&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.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(rs(t)?this.routerLinkInput=t:this.routerLinkInput=Array.isArray(t)?t:[t],this.setTabIndexIfNotOnNativeEl("0"))}onClick(t,n,o,a,s){let l=this.urlTree;if(l===null||this.isAnchorElement&&(t!==0||n||o||a||s||typeof this.target=="string"&&this.target!="_self"))return!0;let u={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(l,u),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let t=this.urlTree;this.href=t!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(t)):null;let n=this.href===null?null:LS(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",n)}applyAttributeValue(t,n){let o=this.renderer,a=this.el.nativeElement;n!==null?o.setAttribute(a,t,n):o.removeAttribute(a,t)}get urlTree(){return this.routerLinkInput===null?null:rs(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}};e.\u0275fac=function(n){return new(n||e)(m(nr),m(Oe),vi("tabindex"),m(xr),m(q),m(kr))},e.\u0275dir=L({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(n,o){n&1&&b("click",function(s){return o.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),n&2&&ie("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",Y],skipLocationChange:[2,"skipLocationChange","skipLocationChange",Y],replaceUrl:[2,"replaceUrl","replaceUrl",Y],routerLink:"routerLink"},standalone:!0,features:[ge,Qe]});let i=e;return i})();var qm=class{};var Gz=(()=>{let e=class e{constructor(t,n,o,a,s){this.router=t,this.injector=o,this.preloadingStrategy=a,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(Ye(t=>t instanceof ir),hr(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,n){let o=[];for(let a of n){a.providers&&!a._injector&&(a._injector=sm(a.providers,t,`Route: ${a.path}`));let s=a._injector??t,l=a._loadedInjector??s;(a.loadChildren&&!a._loadedRoutes&&a.canLoad===void 0||a.loadComponent&&!a._loadedComponent)&&o.push(this.preloadConfig(s,a)),(a.children||a._loadedRoutes)&&o.push(this.processRoutes(l,a.children??a._loadedRoutes))}return Kt(o).pipe(qr())}preloadConfig(t,n){return this.preloadingStrategy.preload(n,()=>{let o;n.loadChildren&&n.canLoad===void 0?o=this.loader.loadChildren(t,n):o=oe(null);let a=o.pipe(ci(s=>s===null?oe(void 0):(n._loadedRoutes=s.routes,n._loadedInjector=s.injector,this.processRoutes(s.injector??t,s.routes))));if(n.loadComponent&&!n._loadedComponent){let s=this.loader.loadComponent(n);return Kt([a,s]).pipe(qr())}else return a})}};e.\u0275fac=function(n){return new(n||e)(M(nr),M(mm),M(qi),M(qm),M(A0))},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),BM=new R(""),qz=(()=>{let e=class e{constructor(t,n,o,a,s={}){this.urlSerializer=t,this.transitions=n,this.viewportScroller=o,this.zone=a,this.options=s,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},s.scrollPositionRestoration||="disabled",s.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 bl?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof ir?(this.lastId=t.id,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.urlAfterRedirects).fragment)):t instanceof ha&&t.code===Lm.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 jm&&(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,n){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new jm(t,this.lastSource==="popstate"?this.store[this.restoredId]:null,n))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}};e.\u0275fac=function(n){ts()},e.\u0275prov=V({token:e,factory:e.\u0275fac});let i=e;return i})();function Yz(i){return i.routerState.root}function hd(i,e){return{\u0275kind:i,\u0275providers:e}}function Qz(){let i=k(Pe);return e=>{let r=i.get(Ln);if(e!==r.components[0])return;let t=i.get(nr),n=i.get(zM);i.get(P0)===1&&t.initialNavigation(),i.get(UM,null,gt.Optional)?.setUpPreloading(),i.get(BM,null,gt.Optional)?.init(),t.resetRootComponentType(r.componentTypes[0]),n.closed||(n.next(),n.complete(),n.unsubscribe())}}var zM=new R("",{factory:()=>new G}),P0=new R("",{providedIn:"root",factory:()=>1});function Kz(){return hd(2,[{provide:P0,useValue:0},{provide:um,multi:!0,deps:[Pe],useFactory:e=>{let r=e.get(wI,Promise.resolve());return()=>r.then(()=>new Promise(t=>{let n=e.get(nr),o=e.get(zM);jM(n,()=>{t(!0)}),e.get(R0).afterPreactivation=()=>(t(!0),o.closed?oe(void 0):o),n.initialNavigation()}))}}])}function Zz(){return hd(3,[{provide:um,multi:!0,useFactory:()=>{let e=k(nr);return()=>{e.setUpLocationChangeListener()}}},{provide:P0,useValue:2}])}var UM=new R("");function Xz(i){return hd(0,[{provide:UM,useExisting:Gz},{provide:qm,useExisting:i}])}function Jz(){return hd(8,[nM,{provide:Ym,useExisting:nM}])}function e4(i){let e=[{provide:NM,useValue:Pz},{provide:LM,useValue:j({skipNextTransition:!!i?.skipInitialTransition},i)}];return hd(9,e)}var sM=new R("ROUTER_FORROOT_GUARD"),t4=[er,{provide:sd,useClass:vl},nr,cd,{provide:Oe,useFactory:Yz,deps:[nr]},A0,[]],F0=(()=>{let e=class e{constructor(t){}static forRoot(t,n){return{ngModule:e,providers:[t4,[],{provide:Gm,multi:!0,useValue:t},{provide:sM,useFactory:r4,deps:[[nr,new to,new Do]]},{provide:ud,useValue:n||{}},n?.useHash?n4():o4(),i4(),n?.preloadingStrategy?Xz(n.preloadingStrategy).\u0275providers:[],n?.initialNavigation?a4(n):[],n?.bindToComponentInputs?Jz().\u0275providers:[],n?.enableViewTransitions?e4().\u0275providers:[],s4()]}}static forChild(t){return{ngModule:e,providers:[{provide:Gm,multi:!0,useValue:t}]}}};e.\u0275fac=function(n){return new(n||e)(M(sM,8))},e.\u0275mod=te({type:e}),e.\u0275inj=ee({});let i=e;return i})();function i4(){return{provide:BM,useFactory:()=>{let i=k(MI),e=k(Z),r=k(ud),t=k(R0),n=k(sd);return r.scrollOffset&&i.setOffset(r.scrollOffset),new qz(n,t,i,e,r)}}}function n4(){return{provide:kr,useClass:xI}}function o4(){return{provide:kr,useClass:Fb}}function r4(i){return"guarded"}function a4(i){return[i.initialNavigation==="disabled"?Zz().\u0275providers:[],i.initialNavigation==="enabledBlocking"?Kz().\u0275providers:[]]}var lM=new R("");function s4(){return[{provide:lM,useFactory:Qz},{provide:hm,multi:!0,useExisting:lM}]}var Km=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}};function Bn(i){return i!=null&&`${i}`!="false"}function Mo(i,e=0){return N0(i)?Number(i):arguments.length===2?e:0}function N0(i){return!isNaN(parseFloat(i))&&!isNaN(Number(i))}function xl(i){return Array.isArray(i)?i:[i]}function xi(i){return i==null?"":typeof i=="string"?i:`${i}px`}function En(i){return i instanceof q?i.nativeElement:i}function HM(i,e=/\s+/){let r=[];if(i!=null){let t=Array.isArray(i)?i:`${i}`.split(e);for(let n of t){let o=`${n}`.trim();o&&r.push(o)}}return r}var V0;try{V0=typeof Intl<"u"&&Intl.v8BreakIterator}catch{V0=!1}var Ve=(()=>{let e=class e{constructor(t){this._platformId=t,this.isBrowser=this._platformId?Lb(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||V0)&&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(n){return new(n||e)(M(oo))},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var Dl,$M=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function j0(){if(Dl)return Dl;if(typeof document!="object"||!document)return Dl=new Set($M),Dl;let i=document.createElement("input");return Dl=new Set($M.filter(e=>(i.setAttribute("type",e),i.type===e))),Dl}var md;function l4(){if(md==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>md=!0}))}finally{md=md||!1}return md}function Ui(i){return l4()?i:!!i.capture}var To=function(i){return i[i.NORMAL=0]="NORMAL",i[i.NEGATED=1]="NEGATED",i[i.INVERTED=2]="INVERTED",i}(To||{}),Zm,as;function Xm(){if(as==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return as=!1,as;if("scrollBehavior"in document.documentElement.style)as=!0;else{let i=Element.prototype.scrollTo;i?as=!/\{\s*\[native code\]\s*\}/.test(i.toString()):as=!1}}return as}function Sl(){if(typeof document!="object"||!document)return To.NORMAL;if(Zm==null){let i=document.createElement("div"),e=i.style;i.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",i.appendChild(r),document.body.appendChild(i),Zm=To.NORMAL,i.scrollLeft===0&&(i.scrollLeft=1,Zm=i.scrollLeft===0?To.NEGATED:To.INVERTED),i.remove()}return Zm}var L0;function c4(){if(L0==null){let i=typeof document<"u"?document.head:null;L0=!!(i&&(i.createShadowRoot||i.attachShadow))}return L0}function WM(i){if(c4()){let e=i.getRootNode?i.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}function pa(){let i=typeof document<"u"&&document?document.activeElement:null;for(;i&&i.shadowRoot;){let e=i.shadowRoot.activeElement;if(e===i)break;i=e}return i}function mn(i){return i.composedPath?i.composedPath()[0]:i.target}function pd(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var d4=new R("cdk-dir-doc",{providedIn:"root",factory:u4});function u4(){return k(se)}var h4=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function m4(i){let e=i?.toLowerCase()||"";return e==="auto"&&typeof navigator<"u"&&navigator?.language?h4.test(navigator.language)?"rtl":"ltr":e==="rtl"?"rtl":"ltr"}var Nt=(()=>{let e=class e{constructor(t){if(this.value="ltr",this.change=new T,t){let n=t.body?t.body.dir:null,o=t.documentElement?t.documentElement.dir:null;this.value=m4(n||o||"ltr")}}ngOnDestroy(){this.change.complete()}};e.\u0275fac=function(n){return new(n||e)(M(d4,8))},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var fa=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=te({type:e}),e.\u0275inj=ee({});let i=e;return i})();var Jm=class{};function ep(i){return i&&typeof i.connect=="function"&&!(i instanceof Wr)}var El=function(i){return i[i.REPLACED=0]="REPLACED",i[i.INSERTED=1]="INSERTED",i[i.MOVED=2]="MOVED",i[i.REMOVED=3]="REMOVED",i}(El||{}),fd=new R("_ViewRepeater"),Il=class{applyChanges(e,r,t,n,o){e.forEachOperation((a,s,l)=>{let u,f;if(a.previousIndex==null){let v=t(a,s,l);u=r.createEmbeddedView(v.templateRef,v.context,v.index),f=El.INSERTED}else l==null?(r.remove(s),f=El.REMOVED):(u=r.get(s),r.move(u,l),f=El.MOVED);o&&o({context:u?.context,operation:f,record:a})})}detach(){}};var Rr=class{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(e=!1,r,t=!0,n){this._multiple=e,this._emitChanges=t,this.compareWith=n,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new G,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 n=this._hasQueuedChanges();return this._emitChangeEvent(),n}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??this._selection;for(let t of r)if(this.compareWith(e,t))return t;return e}else return e}};var p4=20,Ml=(()=>{let e=class e{constructor(t,n,o){this._ngZone=t,this._platform=n,this._scrolled=new G,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 n=this.scrollContainers.get(t);n&&(n.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=p4){return this._platform.isBrowser?new Re(n=>{this._globalSubscription||this._addGlobalListener();let o=t>0?this._scrolled.pipe(zu(t)).subscribe(n):this._scrolled.subscribe(n);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):oe()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,n)=>this.deregister(n)),this._scrolled.complete()}ancestorScrolled(t,n){let o=this.getAncestorScrollContainers(t);return this.scrolled(n).pipe(Ye(a=>!a||o.indexOf(a)>-1))}getAncestorScrollContainers(t){let n=[];return this.scrollContainers.forEach((o,a)=>{this._scrollableContainsElement(a,t)&&n.push(a)}),n}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(t,n){let o=En(n),a=t.getElementRef().nativeElement;do if(o==a)return!0;while(o=o.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{let t=this._getWindow();return dn(t.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}};e.\u0275fac=function(n){return new(n||e)(M(Z),M(Ve),M(se,8))},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),gd=(()=>{let e=class e{constructor(t,n,o,a){this.elementRef=t,this.scrollDispatcher=n,this.ngZone=o,this.dir=a,this._destroyed=new G,this._elementScrolled=new Re(s=>this.ngZone.runOutsideAngular(()=>dn(this.elementRef.nativeElement,"scroll").pipe(fe(this._destroyed)).subscribe(s)))}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 n=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=n.scrollHeight-n.clientHeight-t.bottom),o&&Sl()!=To.NORMAL?(t.left!=null&&(t.right=n.scrollWidth-n.clientWidth-t.left),Sl()==To.INVERTED?t.left=t.right:Sl()==To.NEGATED&&(t.left=t.right?-t.right:t.right)):t.right!=null&&(t.left=n.scrollWidth-n.clientWidth-t.right),this._applyScrollToOptions(t)}_applyScrollToOptions(t){let n=this.elementRef.nativeElement;Xm()?n.scrollTo(t):(t.top!=null&&(n.scrollTop=t.top),t.left!=null&&(n.scrollLeft=t.left))}measureScrollOffset(t){let n="left",o="right",a=this.elementRef.nativeElement;if(t=="top")return a.scrollTop;if(t=="bottom")return a.scrollHeight-a.clientHeight-a.scrollTop;let s=this.dir&&this.dir.value=="rtl";return t=="start"?t=s?o:n:t=="end"&&(t=s?n:o),s&&Sl()==To.INVERTED?t==n?a.scrollWidth-a.clientWidth-a.scrollLeft:a.scrollLeft:s&&Sl()==To.NEGATED?t==n?a.scrollLeft+a.scrollWidth-a.clientWidth:-a.scrollLeft:t==n?a.scrollLeft:a.scrollWidth-a.clientWidth-a.scrollLeft}};e.\u0275fac=function(n){return new(n||e)(m(q),m(Ml),m(Z),m(Nt,8))},e.\u0275dir=L({type:e,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0});let i=e;return i})(),f4=20,fn=(()=>{let e=class e{constructor(t,n,o){this._platform=t,this._change=new G,this._changeListener=a=>{this._change.next(a)},this._document=o,n.runOutsideAngular(()=>{if(t.isBrowser){let a=this._getWindow();a.addEventListener("resize",this._changeListener),a.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:n,height:o}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+o,right:t.left+n,height:o,width:n}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let t=this._document,n=this._getWindow(),o=t.documentElement,a=o.getBoundingClientRect(),s=-a.top||t.body.scrollTop||n.scrollY||o.scrollTop||0,l=-a.left||t.body.scrollLeft||n.scrollX||o.scrollLeft||0;return{top:s,left:l}}change(t=f4){return t>0?this._change.pipe(zu(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(n){return new(n||e)(M(Ve),M(Z),M(se,8))},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var so=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=te({type:e}),e.\u0275inj=ee({});let i=e;return i})(),_d=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=te({type:e}),e.\u0275inj=ee({imports:[fa,so,fa,so]});let i=e;return i})();var vd=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}},In=class extends vd{constructor(e,r,t,n,o){super(),this.component=e,this.viewContainerRef=r,this.injector=t,this.componentFactoryResolver=n,this.projectableNodes=o}},Oi=class extends vd{constructor(e,r,t,n){super(),this.templateRef=e,this.viewContainerRef=r,this.context=t,this.injector=n}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()}},B0=class extends vd{constructor(e){super(),this.element=e instanceof q?e.nativeElement:e}},ga=class{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(e){if(e instanceof In)return this._attachedPortal=e,this.attachComponentPortal(e);if(e instanceof Oi)return this._attachedPortal=e,this.attachTemplatePortal(e);if(this.attachDomPortal&&e instanceof B0)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 Tl=class extends ga{constructor(e,r,t,n,o){super(),this.outletElement=e,this._componentFactoryResolver=r,this._appRef=t,this._defaultInjector=n,this.attachDomPortal=a=>{this._document;let s=a.element;s.parentNode;let l=this._document.createComment("dom-portal");s.parentNode.insertBefore(l,s),this.outletElement.appendChild(s),this._attachedPortal=a,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(s,l)})},this._document=o}attachComponentPortal(e){let t=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),n;return e.viewContainerRef?(n=e.viewContainerRef.createComponent(t,e.viewContainerRef.length,e.injector||e.viewContainerRef.injector,e.projectableNodes||void 0),this.setDisposeFn(()=>n.destroy())):(n=t.create(e.injector||this._defaultInjector||Pe.NULL),this._appRef.attachView(n.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(n.hostView),n.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(n)),this._attachedPortal=e,n}attachTemplatePortal(e){let r=e.viewContainerRef,t=r.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return t.rootNodes.forEach(n=>this.outletElement.appendChild(n)),t.detectChanges(),this.setDisposeFn(()=>{let n=r.indexOf(t);n!==-1&&r.remove(n)}),this._attachedPortal=e,t}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(e){return e.hostView.rootNodes[0]}};var GM=(()=>{let e=class e extends Oi{constructor(t,n){super(t,n)}};e.\u0275fac=function(n){return new(n||e)(m(dt),m(Ct))},e.\u0275dir=L({type:e,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],standalone:!0,features:[be]});let i=e;return i})();var rn=(()=>{let e=class e extends ga{constructor(t,n,o){super(),this._componentFactoryResolver=t,this._viewContainerRef=n,this._isInitialized=!1,this.attached=new T,this.attachDomPortal=a=>{this._document;let s=a.element;s.parentNode;let l=this._document.createComment("dom-portal");a.setAttachedHost(this),s.parentNode.insertBefore(l,s),this._getRootNode().appendChild(s),this._attachedPortal=a,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(s,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 n=t.viewContainerRef!=null?t.viewContainerRef:this._viewContainerRef,a=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),s=n.createComponent(a,n.length,t.injector||n.injector,t.projectableNodes||void 0);return n!==this._viewContainerRef&&this._getRootNode().appendChild(s.hostView.rootNodes[0]),super.setDisposeFn(()=>s.destroy()),this._attachedPortal=t,this._attachedRef=s,this.attached.emit(s),s}attachTemplatePortal(t){t.setAttachedHost(this);let n=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=t,this._attachedRef=n,this.attached.emit(n),n}_getRootNode(){let t=this._viewContainerRef.element.nativeElement;return t.nodeType===t.ELEMENT_NODE?t:t.parentNode}};e.\u0275fac=function(n){return new(n||e)(m(wn),m(Ct),m(se))},e.\u0275dir=L({type:e,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],standalone:!0,features:[be]});let i=e;return i})();var zn=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=te({type:e}),e.\u0275inj=ee({});let i=e;return i})();function Pt(i,...e){return e.length?e.some(r=>i[r]):i.altKey||i.shiftKey||i.ctrlKey||i.metaKey}var qM=Xm(),z0=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=xi(-this._previousScrollPosition.left),e.style.top=xi(-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,n=r.style,o=t.scrollBehavior||"",a=n.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),qM&&(t.scrollBehavior=n.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),qM&&(t.scrollBehavior=o,n.scrollBehavior=a)}}_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 U0=class{constructor(e,r,t,n){this._scrollDispatcher=e,this._ngZone=r,this._viewportRuler=t,this._config=n,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(Ye(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}},tp=class{enable(){}disable(){}attach(){}};function H0(i,e){return e.some(r=>{let t=i.bottomr.bottom,o=i.rightr.right;return t||n||o||a})}function YM(i,e){return e.some(r=>{let t=i.topr.bottom,o=i.leftr.right;return t||n||o||a})}var $0=class{constructor(e,r,t,n){this._scrollDispatcher=e,this._viewportRuler=r,this._ngZone=t,this._config=n,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:n}=this._viewportRuler.getViewportSize();H0(r,[{width:t,height:n,bottom:n,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}},g4=(()=>{let e=class e{constructor(t,n,o,a){this._scrollDispatcher=t,this._viewportRuler=n,this._ngZone=o,this.noop=()=>new tp,this.close=s=>new U0(this._scrollDispatcher,this._ngZone,this._viewportRuler,s),this.block=()=>new z0(this._viewportRuler,this._document),this.reposition=s=>new $0(this._scrollDispatcher,this._viewportRuler,this._ngZone,s),this._document=a}};e.\u0275fac=function(n){return new(n||e)(M(Ml),M(fn),M(Z),M(se))},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),Mn=class{constructor(e){if(this.scrollStrategy=new tp,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 W0=class{constructor(e,r){this.connectionPair=e,this.scrollableViewProperties=r}};var e1=(()=>{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 n=this._attachedOverlays.indexOf(t);n>-1&&this._attachedOverlays.splice(n,1),this._attachedOverlays.length===0&&this.detach()}};e.\u0275fac=function(n){return new(n||e)(M(se))},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),_4=(()=>{let e=class e extends e1{constructor(t,n){super(t),this._ngZone=n,this._keydownListener=o=>{let a=this._attachedOverlays;for(let s=a.length-1;s>-1;s--)if(a[s]._keydownEvents.observers.length>0){let l=a[s]._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(n){return new(n||e)(M(se),M(Z,8))},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),v4=(()=>{let e=class e extends e1{constructor(t,n,o){super(t),this._platform=n,this._ngZone=o,this._cursorStyleIsSet=!1,this._pointerDownListener=a=>{this._pointerDownEventTarget=mn(a)},this._clickListener=a=>{let s=mn(a),l=a.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:s;this._pointerDownEventTarget=null;let u=this._attachedOverlays.slice();for(let f=u.length-1;f>-1;f--){let v=u[f];if(v._outsidePointerEvents.observers.length<1||!v.hasAttached())continue;if(QM(v.overlayElement,s)||QM(v.overlayElement,l))break;let C=v._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>C.next(a)):C.next(a)}}}add(t){if(super.add(t),!this._isAttached){let n=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(n)):this._addEventListeners(n),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=n.style.cursor,n.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(n){return new(n||e)(M(se),M(Ve),M(Z,8))},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function QM(i,e){let r=typeof ShadowRoot<"u"&&ShadowRoot,t=e;for(;t;){if(t===i)return!0;t=r&&t instanceof ShadowRoot?t.host:t.parentNode}return!1}var kl=(()=>{let e=class e{constructor(t,n){this._platform=n,this._document=t}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let t="cdk-overlay-container";if(this._platform.isBrowser||pd()){let o=this._document.querySelectorAll(`.${t}[platform="server"], .${t}[platform="test"]`);for(let a=0;athis._backdropClick.next(C),this._backdropTransitionendHandler=C=>{this._disposeBackdrop(C.target)},this._keydownEvents=new G,this._outsidePointerEvents=new G,this._renders=new G,n.scrollStrategy&&(this._scrollStrategy=n.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=n.positionStrategy,this._afterRenderRef=Dn(()=>Oc(()=>{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(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=ai(()=>{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?.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(){let e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._afterNextRenderRef?.destroy(),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=j(j({},this._config),e),this._updateElementSize()}setDirection(e){this._config=rt(j({},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=xi(this._config.width),e.height=xi(this._config.height),e.minWidth=xi(this._config.minWidth),e.minHeight=xi(this._config.minHeight),e.maxWidth=xi(this._config.maxWidth),e.maxHeight=xi(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 n=xl(r||[]).filter(o=>!!o);n.length&&(t?e.classList.add(...n):e.classList.remove(...n))}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{let e=this._renders.pipe(fe(wt(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)}},KM="cdk-overlay-connected-position-bounding-box",b4=/([A-Za-z%]+)$/,bd=class{get positions(){return this._preferredPositions}constructor(e,r,t,n,o){this._viewportRuler=r,this._document=t,this._platform=n,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 G,this._resizeSubscription=ve.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(e)}attach(e){this._overlayRef&&this._overlayRef,this._validatePositions(),e.hostElement.classList.add(KM),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,n=this._containerRect,o=[],a;for(let s of this._preferredPositions){let l=this._getOriginPoint(e,n,s),u=this._getOverlayPoint(l,r,s),f=this._getOverlayFit(u,r,t,s);if(f.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(s,l);return}if(this._canFitWithFlexibleDimensions(f,u,t)){o.push({position:s,origin:l,overlayRect:r,boundingBoxRect:this._calculateBoundingBoxRect(l,s)});continue}(!a||a.overlayFit.visibleAreal&&(l=f,s=u)}this._isPushed=!1,this._applyPosition(s.position,s.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(a.position,a.originPoint);return}this._applyPosition(a.position,a.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&ls(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(KM),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 n;if(t.originX=="center")n=e.left+e.width/2;else{let a=this._isRtl()?e.right:e.left,s=this._isRtl()?e.left:e.right;n=t.originX=="start"?a:s}r.left<0&&(n-=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:n,y:o}}_getOverlayPoint(e,r,t){let n;t.overlayX=="center"?n=-r.width/2:t.overlayX==="start"?n=this._isRtl()?-r.width:0:n=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+n,y:e.y+o}}_getOverlayFit(e,r,t,n){let o=XM(r),{x:a,y:s}=e,l=this._getOffset(n,"x"),u=this._getOffset(n,"y");l&&(a+=l),u&&(s+=u);let f=0-a,v=a+o.width-t.width,C=0-s,D=s+o.height-t.height,S=this._subtractOverflows(o.width,f,v),P=this._subtractOverflows(o.height,C,D),z=S*P;return{visibleArea:z,isCompletelyWithinViewport:o.width*o.height===z,fitsInViewportVertically:P===o.height,fitsInViewportHorizontally:S==o.width}}_canFitWithFlexibleDimensions(e,r,t){if(this._hasFlexibleDimensions){let n=t.bottom-r.y,o=t.right-r.x,a=ZM(this._overlayRef.getConfig().minHeight),s=ZM(this._overlayRef.getConfig().minWidth),l=e.fitsInViewportVertically||a!=null&&a<=n,u=e.fitsInViewportHorizontally||s!=null&&s<=o;return l&&u}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 n=XM(r),o=this._viewportRect,a=Math.max(e.x+n.width-o.width,0),s=Math.max(e.y+n.height-o.height,0),l=Math.max(o.top-t.top-e.y,0),u=Math.max(o.left-t.left-e.x,0),f=0,v=0;return n.width<=o.width?f=u||-a:f=e.xS&&!this._isInitialRender&&!this._growAfterOpen&&(a=e.y-S/2)}let l=r.overlayX==="start"&&!n||r.overlayX==="end"&&n,u=r.overlayX==="end"&&!n||r.overlayX==="start"&&n,f,v,C;if(u)C=t.width-e.x+this._viewportMargin*2,f=e.x-this._viewportMargin;else if(l)v=e.x,f=t.right-e.x;else{let D=Math.min(t.right-e.x+t.left,e.x),S=this._lastBoundingBoxSize.width;f=D*2,v=e.x-D,f>S&&!this._isInitialRender&&!this._growAfterOpen&&(v=e.x-S/2)}return{top:a,left:v,bottom:s,right:C,width:f,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 n={};if(this._hasExactPosition())n.top=n.left="0",n.bottom=n.right=n.maxHeight=n.maxWidth="",n.width=n.height="100%";else{let o=this._overlayRef.getConfig().maxHeight,a=this._overlayRef.getConfig().maxWidth;n.height=xi(t.height),n.top=xi(t.top),n.bottom=xi(t.bottom),n.width=xi(t.width),n.left=xi(t.left),n.right=xi(t.right),r.overlayX==="center"?n.alignItems="center":n.alignItems=r.overlayX==="end"?"flex-end":"flex-start",r.overlayY==="center"?n.justifyContent="center":n.justifyContent=r.overlayY==="bottom"?"flex-end":"flex-start",o&&(n.maxHeight=xi(o)),a&&(n.maxWidth=xi(a))}this._lastBoundingBoxSize=t,ls(this._boundingBox.style,n)}_resetBoundingBoxStyles(){ls(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){ls(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(e,r){let t={},n=this._hasExactPosition(),o=this._hasFlexibleDimensions,a=this._overlayRef.getConfig();if(n){let f=this._viewportRuler.getViewportScrollPosition();ls(t,this._getExactOverlayY(r,e,f)),ls(t,this._getExactOverlayX(r,e,f))}else t.position="static";let s="",l=this._getOffset(r,"x"),u=this._getOffset(r,"y");l&&(s+=`translateX(${l}px) `),u&&(s+=`translateY(${u}px)`),t.transform=s.trim(),a.maxHeight&&(n?t.maxHeight=xi(a.maxHeight):o&&(t.maxHeight="")),a.maxWidth&&(n?t.maxWidth=xi(a.maxWidth):o&&(t.maxWidth="")),ls(this._pane.style,t)}_getExactOverlayY(e,r,t){let n={top:"",bottom:""},o=this._getOverlayPoint(r,this._overlayRect,e);if(this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,t)),e.overlayY==="bottom"){let a=this._document.documentElement.clientHeight;n.bottom=`${a-(o.y+this._overlayRect.height)}px`}else n.top=xi(o.y);return n}_getExactOverlayX(e,r,t){let n={left:"",right:""},o=this._getOverlayPoint(r,this._overlayRect,e);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,t));let a;if(this._isRtl()?a=e.overlayX==="end"?"left":"right":a=e.overlayX==="end"?"right":"left",a==="right"){let s=this._document.documentElement.clientWidth;n.right=`${s-(o.x+this._overlayRect.width)}px`}else n.left=xi(o.x);return n}_getScrollVisibility(){let e=this._getOriginRect(),r=this._pane.getBoundingClientRect(),t=this._scrollables.map(n=>n.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:YM(e,t),isOriginOutsideView:H0(e,t),isOverlayClipped:YM(r,t),isOverlayOutsideView:H0(r,t)}}_subtractOverflows(e,...r){return r.reduce((t,n)=>t-Math.max(n,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&&xl(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 q)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 ls(i,e){for(let r in e)e.hasOwnProperty(r)&&(i[r]=e[r]);return i}function ZM(i){if(typeof i!="number"&&i!=null){let[e,r]=i.split(b4);return!r||r==="px"?parseFloat(e):null}return i||null}function XM(i){return{top:Math.floor(i.top),right:Math.floor(i.right),bottom:Math.floor(i.bottom),left:Math.floor(i.left),width:Math.floor(i.width),height:Math.floor(i.height)}}function y4(i,e){return i===e?!0:i.isOriginClipped===e.isOriginClipped&&i.isOriginOutsideView===e.isOriginOutsideView&&i.isOverlayClipped===e.isOverlayClipped&&i.isOverlayOutsideView===e.isOverlayOutsideView}var JM="cdk-global-overlay-wrapper",G0=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(JM),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:n,height:o,maxWidth:a,maxHeight:s}=t,l=(n==="100%"||n==="100vw")&&(!a||a==="100%"||a==="100vw"),u=(o==="100%"||o==="100vh")&&(!s||s==="100%"||s==="100vh"),f=this._xPosition,v=this._xOffset,C=this._overlayRef.getConfig().direction==="rtl",D="",S="",P="";l?P="flex-start":f==="center"?(P="center",C?S=v:D=v):C?f==="left"||f==="end"?(P="flex-end",D=v):(f==="right"||f==="start")&&(P="flex-start",S=v):f==="left"||f==="start"?(P="flex-start",D=v):(f==="right"||f==="end")&&(P="flex-end",S=v),e.position=this._cssPosition,e.marginLeft=l?"0":D,e.marginTop=u?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=l?"0":S,r.justifyContent=P,r.alignItems=u?"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(JM),t.justifyContent=t.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}},w4=(()=>{let e=class e{constructor(t,n,o,a){this._viewportRuler=t,this._document=n,this._platform=o,this._overlayContainer=a}global(){return new G0}flexibleConnectedTo(t){return new bd(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}};e.\u0275fac=function(n){return new(n||e)(M(fn),M(se),M(Ve),M(kl))},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),C4=0,xt=(()=>{let e=class e{constructor(t,n,o,a,s,l,u,f,v,C,D,S){this.scrollStrategies=t,this._overlayContainer=n,this._componentFactoryResolver=o,this._positionBuilder=a,this._keyboardDispatcher=s,this._injector=l,this._ngZone=u,this._document=f,this._directionality=v,this._location=C,this._outsideClickDispatcher=D,this._animationsModuleType=S}create(t){let n=this._createHostElement(),o=this._createPaneElement(n),a=this._createPortalOutlet(o),s=new Mn(t);return s.direction=s.direction||this._directionality.value,new Pr(a,n,o,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations",this._injector.get(qi))}position(){return this._positionBuilder}_createPaneElement(t){let n=this._document.createElement("div");return n.id=`cdk-overlay-${C4++}`,n.classList.add("cdk-overlay-pane"),t.appendChild(n),n}_createHostElement(){let t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}_createPortalOutlet(t){return this._appRef||(this._appRef=this._injector.get(Ln)),new Tl(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}};e.\u0275fac=function(n){return new(n||e)(M(g4),M(kl),M(wn),M(w4),M(_4),M(Pe),M(Z),M(se),M(Nt),M(er),M(v4),M(kt,8))},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),x4=[{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"}],t1=new R("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let i=k(xt);return()=>i.scrollStrategies.reposition()}}),yd=(()=>{let e=class e{constructor(t){this.elementRef=t}};e.\u0275fac=function(n){return new(n||e)(m(q))},e.\u0275dir=L({type:e,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0});let i=e;return i})(),q0=(()=>{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,n,o,a,s){this._overlay=t,this._dir=s,this._backdropSubscription=ve.EMPTY,this._attachSubscription=ve.EMPTY,this._detachSubscription=ve.EMPTY,this._positionSubscription=ve.EMPTY,this._disposeOnNavigation=!1,this._ngZone=k(Z),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 T,this.positionChange=new T,this.attach=new T,this.detach=new T,this.overlayKeydown=new T,this.overlayOutsideClick=new T,this._templatePortal=new Oi(n,o),this._scrollStrategyFactory=a,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=x4);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(n=>{this.overlayKeydown.next(n),n.keyCode===27&&!this.disableClose&&!Pt(n)&&(n.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(n=>{let o=this._getOriginElement(),a=mn(n);(!o||o!==a&&!o.contains(a))&&this.overlayOutsideClick.next(n)})}_buildConfig(){let t=this._position=this.positionStrategy||this._createPositionStrategy(),n=new Mn({direction:this._dir,positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||this.width===0)&&(n.width=this.width),(this.height||this.height===0)&&(n.height=this.height),(this.minWidth||this.minWidth===0)&&(n.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(n.minHeight=this.minHeight),this.backdropClass&&(n.backdropClass=this.backdropClass),this.panelClass&&(n.panelClass=this.panelClass),n}_updatePositionStrategy(t){let n=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(n).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 yd?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof yd?this.origin.elementRef.nativeElement:this.origin instanceof q?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(i_(()=>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(n){return new(n||e)(m(xt),m(dt),m(Ct),m(t1),m(Nt,8))},e.\u0275dir=L({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",Y],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",Y],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",Y],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",Y],push:[2,"cdkConnectedOverlayPush","push",Y],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",Y]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[ge,Qe]});let i=e;return i})();function D4(i){return()=>i.scrollStrategies.reposition()}var S4={provide:t1,deps:[xt],useFactory:D4},an=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=te({type:e}),e.\u0275inj=ee({providers:[xt,S4],imports:[fa,zn,_d,_d]});let i=e;return i})();function E4(i){if(i.type==="characterData"&&i.target instanceof Comment)return!0;if(i.type==="childList"){for(let e=0;e{let e=class e{create(t){return typeof MutationObserver>"u"?null:new MutationObserver(t)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),I4=(()=>{let e=class e{constructor(t){this._mutationObserverFactory=t,this._observedElements=new Map,this._ngZone=k(Z)}ngOnDestroy(){this._observedElements.forEach((t,n)=>this._cleanupObserver(n))}observe(t){let n=En(t);return new Re(o=>{let s=this._observeElement(n).pipe(ue(l=>l.filter(u=>!E4(u))),Ye(l=>!!l.length)).subscribe(l=>{this._ngZone.run(()=>{o.next(l)})});return()=>{s.unsubscribe(),this._unobserveElement(n)}})}_observeElement(t){return this._ngZone.runOutsideAngular(()=>{if(this._observedElements.has(t))this._observedElements.get(t).count++;else{let n=new G,o=this._mutationObserverFactory.create(a=>n.next(a));o&&o.observe(t,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(t,{observer:o,stream:n,count:1})}return this._observedElements.get(t).stream})}_unobserveElement(t){this._observedElements.has(t)&&(this._observedElements.get(t).count--,this._observedElements.get(t).count||this._cleanupObserver(t))}_cleanupObserver(t){if(this._observedElements.has(t)){let{observer:n,stream:o}=this._observedElements.get(t);n&&n.disconnect(),o.complete(),this._observedElements.delete(t)}}};e.\u0275fac=function(n){return new(n||e)(M(i1))},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),n1=(()=>{let e=class e{get disabled(){return this._disabled}set disabled(t){this._disabled=t,this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(t){this._debounce=Mo(t),this._subscribe()}constructor(t,n){this._contentObserver=t,this._elementRef=n,this.event=new T,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();let t=this._contentObserver.observe(this._elementRef);this._currentSubscription=(this.debounce?t.pipe(mr(this.debounce)):t).subscribe(this.event)}_unsubscribe(){this._currentSubscription?.unsubscribe()}};e.\u0275fac=function(n){return new(n||e)(m(I4),m(q))},e.\u0275dir=L({type:e,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",Y],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"],standalone:!0,features:[ge]});let i=e;return i})(),ip=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=te({type:e}),e.\u0275inj=ee({providers:[i1]});let i=e;return i})();var o1=new Set,ds,M4=(()=>{let e=class e{constructor(t,n){this._platform=t,this._nonce=n,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):k4}matchMedia(t){return(this._platform.WEBKIT||this._platform.BLINK)&&T4(t,this._nonce),this._matchMedia(t)}};e.\u0275fac=function(n){return new(n||e)(M(Ve),M(Ic,8))},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function T4(i,e){if(!o1.has(i))try{ds||(ds=document.createElement("style"),e&&ds.setAttribute("nonce",e),ds.setAttribute("type","text/css"),document.head.appendChild(ds)),ds.sheet&&(ds.sheet.insertRule(`@media ${i} {body{ }}`,0),o1.add(i))}catch(r){console.error(r)}}function k4(i){return{matches:i==="all"||i==="",media:i,addListener:()=>{},removeListener:()=>{}}}var Al=(()=>{let e=class e{constructor(t,n){this._mediaMatcher=t,this._zone=n,this._queries=new Map,this._destroySubject=new G}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return r1(xl(t)).some(o=>this._registerQuery(o).mql.matches)}observe(t){let o=r1(xl(t)).map(s=>this._registerQuery(s).observable),a=Rn(o);return a=Bo(a.pipe(Ot(1)),a.pipe(Ba(1),mr(0))),a.pipe(ue(s=>{let l={matches:!1,breakpoints:{}};return s.forEach(({matches:u,query:f})=>{l.matches=l.matches||u,l.breakpoints[f]=u}),l}))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);let n=this._mediaMatcher.matchMedia(t),a={observable:new Re(s=>{let l=u=>this._zone.run(()=>s.next(u));return n.addListener(l),()=>{n.removeListener(l)}}).pipe(Rt(n),ue(({matches:s})=>({query:t,matches:s})),fe(this._destroySubject)),mql:n};return this._queries.set(t,a),a}};e.\u0275fac=function(n){return new(n||e)(M(M4),M(Z))},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function r1(i){return i.map(e=>e.split(",")).reduce((e,r)=>e.concat(r)).map(e=>e.trim())}var np={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"};var d1=" ";function Nl(i,e,r){let t=sp(i,e);r=r.trim(),!t.some(n=>n.trim()===r)&&(t.push(r),i.setAttribute(e,t.join(d1)))}function va(i,e,r){let t=sp(i,e);r=r.trim();let n=t.filter(o=>o!==r);n.length?i.setAttribute(e,n.join(d1)):i.removeAttribute(e)}function sp(i,e){return i.getAttribute(e)?.match(/\S+/g)??[]}var u1="cdk-describedby-message",op="cdk-describedby-host",K0=0,cp=(()=>{let e=class e{constructor(t,n){this._platform=n,this._messageRegistry=new Map,this._messagesContainer=null,this._id=`${K0++}`,this._document=t,this._id=k(al)+"-"+K0++}describe(t,n,o){if(!this._canBeDescribed(t,n))return;let a=Y0(n,o);typeof n!="string"?(a1(n,this._id),this._messageRegistry.set(a,{messageElement:n,referenceCount:0})):this._messageRegistry.has(a)||this._createMessageElement(n,o),this._isElementDescribedByMessage(t,a)||this._addMessageReference(t,a)}removeDescription(t,n,o){if(!n||!this._isElementNode(t))return;let a=Y0(n,o);if(this._isElementDescribedByMessage(t,a)&&this._removeMessageReference(t,a),typeof n=="string"){let s=this._messageRegistry.get(a);s&&s.referenceCount===0&&this._deleteMessageElement(a)}this._messagesContainer?.childNodes.length===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){let t=this._document.querySelectorAll(`[${op}="${this._id}"]`);for(let n=0;no.indexOf(u1)!=0);t.setAttribute("aria-describedby",n.join(" "))}_addMessageReference(t,n){let o=this._messageRegistry.get(n);Nl(t,"aria-describedby",o.messageElement.id),t.setAttribute(op,this._id),o.referenceCount++}_removeMessageReference(t,n){let o=this._messageRegistry.get(n);o.referenceCount--,va(t,"aria-describedby",o.messageElement.id),t.removeAttribute(op)}_isElementDescribedByMessage(t,n){let o=sp(t,"aria-describedby"),a=this._messageRegistry.get(n),s=a&&a.messageElement.id;return!!s&&o.indexOf(s)!=-1}_canBeDescribed(t,n){if(!this._isElementNode(t))return!1;if(n&&typeof n=="object")return!0;let o=n==null?"":`${n}`.trim(),a=t.getAttribute("aria-label");return o?!a||a.trim()!==o:!1}_isElementNode(t){return t.nodeType===this._document.ELEMENT_NODE}};e.\u0275fac=function(n){return new(n||e)(M(se),M(Ve))},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function Y0(i,e){return typeof i=="string"?`${e||""}/${i}`:i}function a1(i,e){i.id||(i.id=`${u1}-${e}-${K0++}`)}var B4=200,Z0=class{constructor(e,r){this._letterKeyStream=new G,this._items=[],this._selectedItemIndex=-1,this._pressedLetters=[],this._selectedItem=new G,this.selectedItem=this._selectedItem;let t=typeof r?.debounceInterval=="number"?r.debounceInterval:B4;r?.skipPredicate&&(this._skipPredicateFn=r.skipPredicate),this.setItems(e),this._setupKeyHandler(t)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(e){this._selectedItemIndex=e}setItems(e){this._items=e}handleKey(e){let r=e.keyCode;e.key&&e.key.length===1?this._letterKeyStream.next(e.key.toLocaleUpperCase()):(r>=65&&r<=90||r>=48&&r<=57)&&this._letterKeyStream.next(String.fromCharCode(r))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(e){this._letterKeyStream.pipe(Ht(r=>this._pressedLetters.push(r)),mr(e),Ye(()=>this._pressedLetters.length>0),ue(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(r=>{for(let t=1;tt.disabled,this.tabOut=new G,this.change=new G,e instanceof eo?this._itemChangesSubscription=e.changes.subscribe(t=>this._itemsChanged(t.toArray())):am(e)&&(this._effectRef=Db(()=>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){this._typeaheadSubscription.unsubscribe();let r=this._getItemsArray();return this._typeahead=new Z0(r,{debounceInterval:typeof e=="number"?e:void 0,skipPredicate:t=>this._skipPredicateFn(t)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(t=>{this.setActiveItem(t)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(e=!0){return this._homeAndEnd=e,this}withPageUpDown(e=!0,r=10){return this._pageUpAndDown={enabled:e,delta:r},this}setActiveItem(e){let r=this._activeItem;this.updateActiveItem(e),this._activeItem!==r&&this.change.next(this._activeItemIndex)}onKeydown(e){let r=e.keyCode,n=["altKey","ctrlKey","metaKey","shiftKey"].every(o=>!e[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(r){case 9:this.tabOut.next();return;case 40:if(this._vertical&&n){this.setNextItemActive();break}else return;case 38:if(this._vertical&&n){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&n){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&n){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&n){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&n){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&n){let o=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&n){let o=this._activeItemIndex+this._pageUpAndDown.delta,a=this._getItemsArray().length;this._setActiveItemByIndex(o-1&&r!==this._activeItemIndex&&(this._activeItemIndex=r,this._typeahead?.setCurrentSelectedItemIndex(r))}}},Rl=class extends lp{setActiveItem(e){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(e),this.activeItem&&this.activeItem.setActiveStyles()}},_a=class extends lp{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 Cd=(()=>{let e=class e{constructor(t){this._platform=t}isDisabled(t){return t.hasAttribute("disabled")}isVisible(t){return U4(t)&&getComputedStyle(t).visibility==="visible"}isTabbable(t){if(!this._platform.isBrowser)return!1;let n=z4(K4(t));if(n&&(s1(n)===-1||!this.isVisible(n)))return!1;let o=t.nodeName.toLowerCase(),a=s1(t);return t.hasAttribute("contenteditable")?a!==-1:o==="iframe"||o==="object"||this._platform.WEBKIT&&this._platform.IOS&&!Y4(t)?!1:o==="audio"?t.hasAttribute("controls")?a!==-1:!1:o==="video"?a===-1?!1:a!==null?!0:this._platform.FIREFOX||t.hasAttribute("controls"):t.tabIndex>=0}isFocusable(t,n){return Q4(t)&&!this.isDisabled(t)&&(n?.ignoreVisibility||this.isVisible(t))}};e.\u0275fac=function(n){return new(n||e)(M(Ve))},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function z4(i){try{return i.frameElement}catch{return null}}function U4(i){return!!(i.offsetWidth||i.offsetHeight||typeof i.getClientRects=="function"&&i.getClientRects().length)}function H4(i){let e=i.nodeName.toLowerCase();return e==="input"||e==="select"||e==="button"||e==="textarea"}function $4(i){return G4(i)&&i.type=="hidden"}function W4(i){return q4(i)&&i.hasAttribute("href")}function G4(i){return i.nodeName.toLowerCase()=="input"}function q4(i){return i.nodeName.toLowerCase()=="a"}function h1(i){if(!i.hasAttribute("tabindex")||i.tabIndex===void 0)return!1;let e=i.getAttribute("tabindex");return!!(e&&!isNaN(parseInt(e,10)))}function s1(i){if(!h1(i))return null;let e=parseInt(i.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}function Y4(i){let e=i.nodeName.toLowerCase(),r=e==="input"&&i.type;return r==="text"||r==="password"||e==="select"||e==="textarea"}function Q4(i){return $4(i)?!1:H4(i)||W4(i)||i.hasAttribute("contenteditable")||h1(i)}function K4(i){return i.ownerDocument&&i.ownerDocument.defaultView||window}var X0=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,n,o=!1,a){this._element=e,this._checker=r,this._ngZone=t,this._document=n,this._injector=a,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-${e}], [cdkFocusRegion${e}], [cdk-focus-${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?.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 n=r[t].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(r[t]):null;if(n)return n}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._injector?ai(e,{injector:this._injector}):setTimeout(e)}},xd=(()=>{let e=class e{constructor(t,n,o){this._checker=t,this._ngZone=n,this._injector=k(Pe),this._document=o}create(t,n=!1){return new X0(t,this._checker,this._ngZone,this._document,n,this._injector)}};e.\u0275fac=function(n){return new(n||e)(M(Cd),M(Z),M(se))},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),m1=(()=>{let e=class e{get enabled(){return this.focusTrap?.enabled||!1}set enabled(t){this.focusTrap&&(this.focusTrap.enabled=t)}constructor(t,n,o){this._elementRef=t,this._focusTrapFactory=n,this._previouslyFocusedElement=null,k(Ve).isBrowser&&(this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0))}ngOnDestroy(){this.focusTrap?.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap?.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap&&!this.focusTrap.hasAttached()&&this.focusTrap.attachAnchors()}ngOnChanges(t){let n=t.autoCapture;n&&!n.firstChange&&this.autoCapture&&this.focusTrap?.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=pa(),this.focusTrap?.focusInitialElementWhenReady()}};e.\u0275fac=function(n){return new(n||e)(m(q),m(xd),m(se))},e.\u0275dir=L({type:e,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",Y],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",Y]},exportAs:["cdkTrapFocus"],standalone:!0,features:[ge,Qe]});let i=e;return i})();function Dd(i){return i.buttons===0||i.detail===0}function Sd(i){let e=i.touches&&i.touches[0]||i.changedTouches&&i.changedTouches[0];return!!e&&e.identifier===-1&&(e.radiusX==null||e.radiusX===1)&&(e.radiusY==null||e.radiusY===1)}var Z4=new R("cdk-input-modality-detector-options"),X4={ignoreKeys:[18,17,224,91,16]},p1=650,Ol=Ui({passive:!0,capture:!0}),J4=(()=>{let e=class e{get mostRecentModality(){return this._modality.value}constructor(t,n,o,a){this._platform=t,this._mostRecentTarget=null,this._modality=new Gt(null),this._lastTouchMs=0,this._onKeydown=s=>{this._options?.ignoreKeys?.some(l=>l===s.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=mn(s))},this._onMousedown=s=>{Date.now()-this._lastTouchMs{if(Sd(s)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=mn(s)},this._options=j(j({},X4),a),this.modalityDetected=this._modality.pipe(Ba(1)),this.modalityChanged=this.modalityDetected.pipe(js()),t.isBrowser&&n.runOutsideAngular(()=>{o.addEventListener("keydown",this._onKeydown,Ol),o.addEventListener("mousedown",this._onMousedown,Ol),o.addEventListener("touchstart",this._onTouchstart,Ol)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Ol),document.removeEventListener("mousedown",this._onMousedown,Ol),document.removeEventListener("touchstart",this._onTouchstart,Ol))}};e.\u0275fac=function(n){return new(n||e)(M(Ve),M(Z),M(se),M(Z4,8))},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),eU=new R("liveAnnouncerElement",{providedIn:"root",factory:tU});function tU(){return null}var iU=new R("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),nU=0,dp=(()=>{let e=class e{constructor(t,n,o,a){this._ngZone=n,this._defaultOptions=a,this._document=o,this._liveElement=t||this._createLiveElement()}announce(t,...n){let o=this._defaultOptions,a,s;return n.length===1&&typeof n[0]=="number"?s=n[0]:[a,s]=n,this.clear(),clearTimeout(this._previousTimeout),a||(a=o&&o.politeness?o.politeness:"polite"),s==null&&o&&(s=o.duration),this._liveElement.setAttribute("aria-live",a),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(l=>this._currentResolve=l)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=t,typeof s=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),s)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let t="cdk-live-announcer-element",n=this._document.getElementsByClassName(t),o=this._document.createElement("div");for(let a=0;a .cdk-overlay-container [aria-modal="true"]');for(let o=0;o{let e=class e{constructor(t,n,o,a,s){this._ngZone=t,this._platform=n,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 G,this._rootNodeFocusAndBlurListener=l=>{let u=mn(l);for(let f=u;f;f=f.parentElement)l.type==="focus"?this._onFocus(l,f):this._onBlur(l,f)},this._document=a,this._detectionMode=s?.detectionMode||ap.IMMEDIATE}monitor(t,n=!1){let o=En(t);if(!this._platform.isBrowser||o.nodeType!==1)return oe();let a=WM(o)||this._getDocument(),s=this._elementInfo.get(o);if(s)return n&&(s.checkChildren=!0),s.subject;let l={checkChildren:n,subject:new G,rootNode:a};return this._elementInfo.set(o,l),this._registerGlobalListeners(l),l.subject}stopMonitoring(t){let n=En(t),o=this._elementInfo.get(n);o&&(o.subject.complete(),this._setClasses(n),this._elementInfo.delete(n),this._removeGlobalListeners(o))}focusVia(t,n,o){let a=En(t),s=this._getDocument().activeElement;a===s?this._getClosestElementsInfo(a).forEach(([l,u])=>this._originChanged(l,n,u)):(this._setOrigin(n),typeof a.focus=="function"&&a.focus(o))}ngOnDestroy(){this._elementInfo.forEach((t,n)=>this.stopMonitoring(n))}_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===ap.EVENTUAL||!!t?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(t,n){t.classList.toggle("cdk-focused",!!n),t.classList.toggle("cdk-touch-focused",n==="touch"),t.classList.toggle("cdk-keyboard-focused",n==="keyboard"),t.classList.toggle("cdk-mouse-focused",n==="mouse"),t.classList.toggle("cdk-program-focused",n==="program")}_setOrigin(t,n=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=t,this._originFromTouchInteraction=t==="touch"&&n,this._detectionMode===ap.IMMEDIATE){clearTimeout(this._originTimeoutId);let o=this._originFromTouchInteraction?p1:1;this._originTimeoutId=setTimeout(()=>this._origin=null,o)}})}_onFocus(t,n){let o=this._elementInfo.get(n),a=mn(t);!o||!o.checkChildren&&n!==a||this._originChanged(n,this._getFocusOrigin(a),o)}_onBlur(t,n){let o=this._elementInfo.get(n);!o||o.checkChildren&&t.relatedTarget instanceof Node&&n.contains(t.relatedTarget)||(this._setClasses(n),this._emitOrigin(o,null))}_emitOrigin(t,n){t.subject.observers.length&&this._ngZone.run(()=>t.subject.next(n))}_registerGlobalListeners(t){if(!this._platform.isBrowser)return;let n=t.rootNode,o=this._rootNodeFocusListenerCount.get(n)||0;o||this._ngZone.runOutsideAngular(()=>{n.addEventListener("focus",this._rootNodeFocusAndBlurListener,rp),n.addEventListener("blur",this._rootNodeFocusAndBlurListener,rp)}),this._rootNodeFocusListenerCount.set(n,o+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(fe(this._stopInputModalityDetector)).subscribe(a=>{this._setOrigin(a,!0)}))}_removeGlobalListeners(t){let n=t.rootNode;if(this._rootNodeFocusListenerCount.has(n)){let o=this._rootNodeFocusListenerCount.get(n);o>1?this._rootNodeFocusListenerCount.set(n,o-1):(n.removeEventListener("focus",this._rootNodeFocusAndBlurListener,rp),n.removeEventListener("blur",this._rootNodeFocusAndBlurListener,rp),this._rootNodeFocusListenerCount.delete(n))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(t,n,o){this._setClasses(t,n),this._emitOrigin(o,n),this._lastFocusOrigin=n}_getClosestElementsInfo(t){let n=[];return this._elementInfo.forEach((o,a)=>{(a===t||o.checkChildren&&a.contains(t))&&n.push([a,o])}),n}_isLastInteractionFromInputLabel(t){let{_mostRecentTarget:n,mostRecentModality:o}=this._inputModalityDetector;if(o!=="mouse"||!n||n===t||t.nodeName!=="INPUT"&&t.nodeName!=="TEXTAREA"||t.disabled)return!1;let a=t.labels;if(a){for(let s=0;s{let e=class e{constructor(t,n){this._elementRef=t,this._focusMonitor=n,this._focusOrigin=null,this.cdkFocusChange=new T}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){let t=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(t,t.nodeType===1&&t.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(n=>{this._focusOrigin=n,this.cdkFocusChange.emit(n)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}};e.\u0275fac=function(n){return new(n||e)(m(q),m(Di))},e.\u0275dir=L({type:e,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"],standalone:!0});let i=e;return i})(),us=function(i){return i[i.NONE=0]="NONE",i[i.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",i[i.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",i}(us||{}),l1="cdk-high-contrast-black-on-white",c1="cdk-high-contrast-white-on-black",Q0="cdk-high-contrast-active",ey=(()=>{let e=class e{constructor(t,n){this._platform=t,this._document=n,this._breakpointSubscription=k(Al).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return us.NONE;let t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);let n=this._document.defaultView||window,o=n&&n.getComputedStyle?n.getComputedStyle(t):null,a=(o&&o.backgroundColor||"").replace(/ /g,"");switch(t.remove(),a){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return us.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return us.BLACK_ON_WHITE}return us.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let t=this._document.body.classList;t.remove(Q0,l1,c1),this._hasCheckedHighContrastMode=!0;let n=this.getHighContrastMode();n===us.BLACK_ON_WHITE?t.add(Q0,l1):n===us.WHITE_ON_BLACK&&t.add(Q0,c1)}}};e.\u0275fac=function(n){return new(n||e)(M(Ve),M(se))},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),Ll=(()=>{let e=class e{constructor(t){t._applyBodyHighContrastModeCssClasses()}};e.\u0275fac=function(n){return new(n||e)(M(ey))},e.\u0275mod=te({type:e}),e.\u0275inj=ee({imports:[ip]});let i=e;return i})();function rU(i,e){}var ps=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 iy=(()=>{let e=class e extends ga{constructor(t,n,o,a,s,l,u,f){super(),this._elementRef=t,this._focusTrapFactory=n,this._config=a,this._interactivityChecker=s,this._ngZone=l,this._overlayRef=u,this._focusMonitor=f,this._platform=k(Ve),this._focusTrap=null,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this._ariaLabelledByQueue=[],this._changeDetectorRef=k(he),this._injector=k(Pe),this._isDestroyed=!1,this.attachDomPortal=v=>{this._portalOutlet.hasAttached();let C=this._portalOutlet.attachDomPortal(v);return this._contentAttached(),C},this._document=o,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(t){this._ariaLabelledByQueue.push(t),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(t){let n=this._ariaLabelledByQueue.indexOf(t);n>-1&&(this._ariaLabelledByQueue.splice(n,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 n=this._portalOutlet.attachComponentPortal(t);return this._contentAttached(),n}attachTemplatePortal(t){this._portalOutlet.hasAttached();let n=this._portalOutlet.attachTemplatePortal(t);return this._contentAttached(),n}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(t,n){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(n)}_focusByCssSelector(t,n){let o=this._elementRef.nativeElement.querySelector(t);o&&this._forceFocus(o,n)}_trapFocus(){this._isDestroyed||ai(()=>{let t=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||t.focus();break;case!0:case"first-tabbable":this._focusTrap?.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,n=null;if(typeof t=="string"?n=this._document.querySelector(t):typeof t=="boolean"?n=t?this._elementFocusedBeforeDialogWasOpened:null:t&&(n=t),this._config.restoreFocus&&n&&typeof n.focus=="function"){let o=pa(),a=this._elementRef.nativeElement;(!o||o===this._document.body||o===a||a.contains(o))&&(this._focusMonitor?(this._focusMonitor.focusVia(n,this._closeInteractionType),this._closeInteractionType=null):n.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){let t=this._elementRef.nativeElement,n=pa();return t===n||t.contains(n)}_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(n){return new(n||e)(m(q),m(xd),m(se,8),m(ps),m(Cd),m(Z),m(Pr),m(Di))},e.\u0275cmp=E({type:e,selectors:[["cdk-dialog-container"]],viewQuery:function(n,o){if(n&1&&ce(rn,7),n&2){let a;Q(a=K())&&(o._portalOutlet=a.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(n,o){n&2&&ie("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:[be,re],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(n,o){n&1&&x(0,rU,0,0,"ng-template",0)},dependencies:[rn],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2});let i=e;return i})(),Ed=class{constructor(e,r){this.overlayRef=e,this.config=r,this.closed=new G,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&&!Pt(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?.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}},aU=new R("DialogScrollStrategy",{providedIn:"root",factory:()=>{let i=k(xt);return()=>i.scrollStrategies.block()}}),sU=new R("DialogData"),lU=new R("DefaultDialogConfig");var cU=0,ny=(()=>{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,n,o,a,s,l){this._overlay=t,this._injector=n,this._defaultOptions=o,this._parentDialog=a,this._overlayContainer=s,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new G,this._afterOpenedAtThisLevel=new G,this._ariaHiddenElements=new Map,this.afterAllClosed=Xn(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Rt(void 0))),this._scrollStrategy=l}open(t,n){let o=this._defaultOptions||new ps;n=j(j({},o),n),n.id=n.id||`cdk-dialog-${cU++}`,n.id&&this.getDialogById(n.id);let a=this._getOverlayConfig(n),s=this._overlay.create(a),l=new Ed(s,n),u=this._attachContainer(s,l,n);return l.containerInstance=u,this._attachDialogContent(t,l,u,n),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(l),l.closed.subscribe(()=>this._removeOpenDialog(l,!0)),this.afterOpened.next(l),l}closeAll(){ty(this.openDialogs,t=>t.close())}getDialogById(t){return this.openDialogs.find(n=>n.id===t)}ngOnDestroy(){ty(this._openDialogsAtThisLevel,t=>{t.config.closeOnDestroy===!1&&this._removeOpenDialog(t,!1)}),ty(this._openDialogsAtThisLevel,t=>t.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(t){let n=new Mn({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&&(n.backdropClass=t.backdropClass),n}_attachContainer(t,n,o){let a=o.injector||o.viewContainerRef?.injector,s=[{provide:ps,useValue:o},{provide:Ed,useValue:n},{provide:Pr,useValue:t}],l;o.container?typeof o.container=="function"?l=o.container:(l=o.container.type,s.push(...o.container.providers(o))):l=iy;let u=new In(l,o.viewContainerRef,Pe.create({parent:a||this._injector,providers:s}),o.componentFactoryResolver);return t.attach(u).instance}_attachDialogContent(t,n,o,a){if(t instanceof dt){let s=this._createInjector(a,n,o,void 0),l={$implicit:a.data,dialogRef:n};a.templateContext&&(l=j(j({},l),typeof a.templateContext=="function"?a.templateContext():a.templateContext)),o.attachTemplatePortal(new Oi(t,null,l,s))}else{let s=this._createInjector(a,n,o,this._injector),l=o.attachComponentPortal(new In(t,a.viewContainerRef,s,a.componentFactoryResolver));n.componentRef=l,n.componentInstance=l.instance}}_createInjector(t,n,o,a){let s=t.injector||t.viewContainerRef?.injector,l=[{provide:sU,useValue:t.data},{provide:Ed,useValue:n}];return t.providers&&(typeof t.providers=="function"?l.push(...t.providers(n,t,o)):l.push(...t.providers)),t.direction&&(!s||!s.get(Nt,null,{optional:!0}))&&l.push({provide:Nt,useValue:{value:t.direction,change:oe()}}),Pe.create({parent:s||a,providers:l})}_removeOpenDialog(t,n){let o=this.openDialogs.indexOf(t);o>-1&&(this.openDialogs.splice(o,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((a,s)=>{a?s.setAttribute("aria-hidden",a):s.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),n&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){let t=this._overlayContainer.getContainerElement();if(t.parentElement){let n=t.parentElement.children;for(let o=n.length-1;o>-1;o--){let a=n[o];a!==t&&a.nodeName!=="SCRIPT"&&a.nodeName!=="STYLE"&&!a.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(a,a.getAttribute("aria-hidden")),a.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}};e.\u0275fac=function(n){return new(n||e)(M(xt),M(Pe),M(lU,8),M(e,12),M(kl),M(aU))},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function ty(i,e){let r=i.length;for(;r--;)e(i[r])}var f1=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=te({type:e}),e.\u0275inj=ee({providers:[ny],imports:[an,zn,Ll,zn]});let i=e;return i})();var dU=["text"],uU=[[["mat-icon"]],"*"],hU=["mat-icon","*"];function mU(i,e){if(i&1&&I(0,"mat-pseudo-checkbox",1),i&2){let r=_();p("disabled",r.disabled)("state",r.selected?"checked":"unchecked")}}function pU(i,e){if(i&1&&I(0,"mat-pseudo-checkbox",3),i&2){let r=_();p("disabled",r.disabled)}}function fU(i,e){if(i&1&&(c(0,"span",4),g(1),d()),i&2){let r=_();h(),F("(",r.group.label,")")}}var gU=["mat-internal-form-field",""],_U=["*"];var D1=(()=>{let e=class e{};e.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",e.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",e.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",e.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)";let i=e;return i})(),S1=(()=>{let e=class e{};e.COMPLEX="375ms",e.ENTERING="225ms",e.EXITING="195ms";let i=e;return i})();function vU(){return!0}var bU=new R("mat-sanity-checks",{providedIn:"root",factory:vU}),pe=(()=>{let e=class e{constructor(t,n,o){this._sanityChecks=n,this._document=o,this._hasDoneGlobalChecks=!1,t._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(t){return pd()?!1:typeof this._sanityChecks=="boolean"?this._sanityChecks:!!this._sanityChecks[t]}};e.\u0275fac=function(n){return new(n||e)(M(ey),M(bU,8),M(se))},e.\u0275mod=te({type:e}),e.\u0275inj=ee({imports:[fa,fa]});let i=e;return i})();var Fr=class{constructor(e,r,t,n,o){this._defaultMatcher=e,this.ngControl=r,this._parentFormGroup=t,this._parentForm=n,this._stateChanges=o,this.errorState=!1}updateErrorState(){let e=this.errorState,r=this._parentFormGroup||this._parentForm,t=this.matcher||this._defaultMatcher,n=this.ngControl?this.ngControl.control:null,o=t?.isErrorState(n,r)??!1;o!==e&&(this.errorState=o,this._stateChanges.next())}};var mp=new R("MAT_DATE_LOCALE",{providedIn:"root",factory:yU});function yU(){return k(Lc)}var Ri=class{constructor(){this._localeChanges=new G,this.localeChanges=this._localeChanges}getValidDateOrNull(e){return this.isDateInstance(e)&&this.isValid(e)?e:null}deserialize(e){return e==null||this.isDateInstance(e)&&this.isValid(e)?e:this.invalid()}setLocale(e){this.locale=e,this._localeChanges.next()}compareDate(e,r){return this.getYear(e)-this.getYear(r)||this.getMonth(e)-this.getMonth(r)||this.getDate(e)-this.getDate(r)}sameDate(e,r){if(e&&r){let t=this.isValid(e),n=this.isValid(r);return t&&n?!this.compareDate(e,r):t==n}return e==r}clampDate(e,r,t){return r&&this.compareDate(e,r)<0?r:t&&this.compareDate(e,t)>0?t:e}},ba=new R("mat-date-formats"),wU=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function oy(i,e){let r=Array(i);for(let t=0;t{let e=class e extends Ri{constructor(t){super(),this.useUtcForDisplay=!1,this._matDateLocale=k(mp,{optional:!0}),t!==void 0&&(this._matDateLocale=t),super.setLocale(this._matDateLocale)}getYear(t){return t.getFullYear()}getMonth(t){return t.getMonth()}getDate(t){return t.getDate()}getDayOfWeek(t){return t.getDay()}getMonthNames(t){let n=new Intl.DateTimeFormat(this.locale,{month:t,timeZone:"utc"});return oy(12,o=>this._format(n,new Date(2017,o,1)))}getDateNames(){let t=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return oy(31,n=>this._format(t,new Date(2017,0,n+1)))}getDayOfWeekNames(t){let n=new Intl.DateTimeFormat(this.locale,{weekday:t,timeZone:"utc"});return oy(7,o=>this._format(n,new Date(2017,0,o+1)))}getYearName(t){let n=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(n,t)}getFirstDayOfWeek(){if(typeof Intl<"u"&&Intl.Locale){let t=new Intl.Locale(this.locale),n=(t.getWeekInfo?.()||t.weekInfo)?.firstDay??0;return n===7?0:n}return 0}getNumDaysInMonth(t){return this.getDate(this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+1,0))}clone(t){return new Date(t.getTime())}createDate(t,n,o){let a=this._createDateWithOverflow(t,n,o);return a.getMonth()!=n,a}today(){return new Date}parse(t,n){return typeof t=="number"?new Date(t):t?new Date(Date.parse(t)):null}format(t,n){if(!this.isValid(t))throw Error("NativeDateAdapter: Cannot format invalid date.");let o=new Intl.DateTimeFormat(this.locale,rt(j({},n),{timeZone:"utc"}));return this._format(o,t)}addCalendarYears(t,n){return this.addCalendarMonths(t,n*12)}addCalendarMonths(t,n){let o=this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+n,this.getDate(t));return this.getMonth(o)!=((this.getMonth(t)+n)%12+12)%12&&(o=this._createDateWithOverflow(this.getYear(o),this.getMonth(o),0)),o}addCalendarDays(t,n){return this._createDateWithOverflow(this.getYear(t),this.getMonth(t),this.getDate(t)+n)}toIso8601(t){return[t.getUTCFullYear(),this._2digit(t.getUTCMonth()+1),this._2digit(t.getUTCDate())].join("-")}deserialize(t){if(typeof t=="string"){if(!t)return null;if(wU.test(t)){let n=new Date(t);if(this.isValid(n))return n}}return super.deserialize(t)}isDateInstance(t){return t instanceof Date}isValid(t){return!isNaN(t.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(t,n,o){let a=new Date;return a.setFullYear(t,n,o),a.setHours(0,0,0,0),a}_2digit(t){return("00"+t).slice(-2)}_format(t,n){let o=new Date;return o.setUTCFullYear(n.getFullYear(),n.getMonth(),n.getDate()),o.setUTCHours(n.getHours(),n.getMinutes(),n.getSeconds(),n.getMilliseconds()),t.format(o)}};e.\u0275fac=function(n){return new(n||e)(M(mp,8))},e.\u0275prov=V({token:e,factory:e.\u0275fac});let i=e;return i})(),xU={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};var E1=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=te({type:e}),e.\u0275inj=ee({providers:[DU()]});let i=e;return i})();function DU(i=xU){return[{provide:Ri,useClass:CU},{provide:ba,useValue:i}]}var Nr=(()=>{let e=class e{isErrorState(t,n){return!!(t&&t.invalid&&(t.touched||n&&n.submitted))}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var lo=function(i){return i[i.FADING_IN=0]="FADING_IN",i[i.VISIBLE=1]="VISIBLE",i[i.FADING_OUT=2]="FADING_OUT",i[i.HIDDEN=3]="HIDDEN",i}(lo||{}),sy=class{constructor(e,r,t,n=!1){this._renderer=e,this.element=r,this.config=t,this._animationForciblyDisabledThroughCss=n,this.state=lo.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}},g1=Ui({passive:!0,capture:!0}),ly=class{constructor(){this._events=new Map,this._delegateEventHandler=e=>{let r=mn(e);r&&this._events.get(e.type)?.forEach((t,n)=>{(n===r||n.contains(r))&&t.forEach(o=>o.handleEvent(e))})}}addHandler(e,r,t,n){let o=this._events.get(r);if(o){let a=o.get(t);a?a.add(n):o.set(t,new Set([n]))}else this._events.set(r,new Map([[t,new Set([n])]])),e.runOutsideAngular(()=>{document.addEventListener(r,this._delegateEventHandler,g1)})}removeHandler(e,r,t){let n=this._events.get(e);if(!n)return;let o=n.get(r);o&&(o.delete(t),o.size===0&&n.delete(r),n.size===0&&(this._events.delete(e),document.removeEventListener(e,this._delegateEventHandler,g1)))}},_1={enterDuration:225,exitDuration:150},SU=800,v1=Ui({passive:!0,capture:!0}),b1=["mousedown","touchstart"],y1=["mouseup","mouseleave","touchend","touchcancel"],Id=class Id{constructor(e,r,t,n){this._target=e,this._ngZone=r,this._platform=n,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,n.isBrowser&&(this._containerElement=En(t))}fadeInRipple(e,r,t={}){let n=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=j(j({},_1),t.animation);t.centered&&(e=n.left+n.width/2,r=n.top+n.height/2);let a=t.radius||EU(e,r,n),s=e-n.left,l=r-n.top,u=o.enterDuration,f=document.createElement("div");f.classList.add("mat-ripple-element"),f.style.left=`${s-a}px`,f.style.top=`${l-a}px`,f.style.height=`${a*2}px`,f.style.width=`${a*2}px`,t.color!=null&&(f.style.backgroundColor=t.color),f.style.transitionDuration=`${u}ms`,this._containerElement.appendChild(f);let v=window.getComputedStyle(f),C=v.transitionProperty,D=v.transitionDuration,S=C==="none"||D==="0s"||D==="0s, 0s"||n.width===0&&n.height===0,P=new sy(this,f,t,S);f.style.transform="scale3d(1, 1, 1)",P.state=lo.FADING_IN,t.persistent||(this._mostRecentTransientRipple=P);let z=null;return!S&&(u||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let O=()=>{z&&(z.fallbackTimer=null),clearTimeout(ht),this._finishRippleTransition(P)},de=()=>this._destroyRipple(P),ht=setTimeout(de,u+100);f.addEventListener("transitionend",O),f.addEventListener("transitioncancel",de),z={onTransitionEnd:O,onTransitionCancel:de,fallbackTimer:ht}}),this._activeRipples.set(P,z),(S||!u)&&this._finishRippleTransition(P),P}fadeOutRipple(e){if(e.state===lo.FADING_OUT||e.state===lo.HIDDEN)return;let r=e.element,t=j(j({},_1),e.config.animation);r.style.transitionDuration=`${t.exitDuration}ms`,r.style.opacity="0",e.state=lo.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=En(e);!this._platform.isBrowser||!r||r===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=r,b1.forEach(t=>{Id._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(()=>{y1.forEach(r=>{this._triggerElement.addEventListener(r,this,v1)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(e){e.state===lo.FADING_IN?this._startFadeOutTransition(e):e.state===lo.FADING_OUT&&this._destroyRipple(e)}_startFadeOutTransition(e){let r=e===this._mostRecentTransientRipple,{persistent:t}=e.config;e.state=lo.VISIBLE,!t&&(!r||!this._isPointerDown)&&e.fadeOut()}_destroyRipple(e){let r=this._activeRipples.get(e)??null;this._activeRipples.delete(e),this._activeRipples.size||(this._containerRect=null),e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),e.state=lo.HIDDEN,r!==null&&(e.element.removeEventListener("transitionend",r.onTransitionEnd),e.element.removeEventListener("transitioncancel",r.onTransitionCancel),r.fallbackTimer!==null&&clearTimeout(r.fallbackTimer)),e.element.remove()}_onMousedown(e){let r=Dd(e),t=this._lastTouchStartEvent&&Date.now(){let r=e.state===lo.VISIBLE||e.config.terminateOnPointerUp&&e.state===lo.FADING_IN;!e.config.persistent&&r&&e.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let e=this._triggerElement;e&&(b1.forEach(r=>Id._eventManager.removeHandler(r,e,this)),this._pointerUpEventsRegistered&&(y1.forEach(r=>e.removeEventListener(r,this,v1)),this._pointerUpEventsRegistered=!1))}};Id._eventManager=new ly;var cy=Id;function EU(i,e,r){let t=Math.max(Math.abs(i-r.left),Math.abs(i-r.right)),n=Math.max(Math.abs(e-r.top),Math.abs(e-r.bottom));return Math.sqrt(t*t+n*n)}var Vl=new R("mat-ripple-global-options"),Tn=(()=>{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,n,o,a,s){this._elementRef=t,this._animationMode=s,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=a||{},this._rippleRenderer=new cy(this,n,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:j(j(j({},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,n=0,o){return typeof t=="number"?this._rippleRenderer.fadeInRipple(t,n,j(j({},this.rippleConfig),o)):this._rippleRenderer.fadeInRipple(0,0,j(j({},this.rippleConfig),t))}};e.\u0275fac=function(n){return new(n||e)(m(q),m(Z),m(Ve),m(Vl,8),m(kt,8))},e.\u0275dir=L({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(n,o){n&2&&ne("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 i=e;return i})(),Lr=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=te({type:e}),e.\u0275inj=ee({imports:[pe,pe]});let i=e;return i})(),dy=(()=>{let e=class e{constructor(t){this._animationMode=t,this.state="unchecked",this.disabled=!1,this.appearance="full"}};e.\u0275fac=function(n){return new(n||e)(m(kt,8))},e.\u0275cmp=E({type:e,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(n,o){n&2&&ne("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:[re],decls:0,vars:0,template:function(n,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, var(--mat-app-primary))}.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, var(--mat-app-on-surface-variant));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, var(--mat-app-primary));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, var(--mat-app-on-primary))}.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, var(--mat-app-surface))}.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 i=e;return i})(),IU=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=te({type:e}),e.\u0275inj=ee({imports:[pe]});let i=e;return i})(),Td=new R("MAT_OPTION_PARENT_COMPONENT");var kd=new R("MatOptgroup");var MU=0,Md=class{constructor(e,r=!1){this.source=e,this.isUserInput=r}},nt=(()=>{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,n,o,a){this._element=t,this._changeDetectorRef=n,this._parent=o,this.group=a,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id=`mat-option-${MU++}`,this.onSelectionChange=new T,this._stateChanges=new G}get active(){return this._active}get viewValue(){return(this._text?.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,n){let o=this._getHostElement();typeof o.focus=="function"&&o.focus(n)}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)&&!Pt(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 Md(this,t))}};e.\u0275fac=function(n){return new(n||e)(m(q),m(he),m(Td,8),m(kd,8))},e.\u0275cmp=E({type:e,selectors:[["mat-option"]],viewQuery:function(n,o){if(n&1&&ce(dU,7),n&2){let a;Q(a=K())&&(o._text=a.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(n,o){n&1&&b("click",function(){return o._selectViaInteraction()})("keydown",function(s){return o._handleKeydown(s)}),n&2&&(Si("id",o.id),ie("aria-selected",o.selected)("aria-disabled",o.disabled.toString()),ne("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",Y]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],standalone:!0,features:[ge,re],ngContentSelectors:hU,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(n,o){n&1&&(He(uU),x(0,mU,1,2,"mat-pseudo-checkbox",1),ae(1),c(2,"span",2,0),ae(4,1),d(),x(5,pU,1,1,"mat-pseudo-checkbox",3)(6,fU,2,1,"span",4),I(7,"div",5)),n&2&&(De(o.multiple?0:-1),h(5),De(!o.multiple&&o.selected&&!o.hideSingleSelectionIndicator?5:-1),h(),De(o.group&&o.group._inert?6:-1),h(),p("matRippleTrigger",o._getHostElement())("matRippleDisabled",o.disabled||o.disableRipple))},dependencies:[dy,Tn],styles:['.mat-mdc-option{-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;min-height:48px;padding:0 16px;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color, var(--mat-app-on-surface));font-family:var(--mat-option-label-text-font, var(--mat-app-label-large-font));line-height:var(--mat-option-label-text-line-height, var(--mat-app-label-large-line-height));font-size:var(--mat-option-label-text-size, var(--mat-app-body-large-size));letter-spacing:var(--mat-option-label-text-tracking, var(--mat-app-label-large-tracking));font-weight:var(--mat-option-label-text-weight, var(--mat-app-body-large-weight))}.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);outline:0}.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, var(--mat-app-on-secondary-container))}.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, var(--mat-app-secondary-container))}.mat-mdc-option .mat-pseudo-checkbox{--mat-minimal-pseudo-checkbox-selected-checkmark-color: var(--mat-option-selected-state-label-text-color, var(--mat-app-on-secondary-container))}.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 i=e;return i})();function pp(i,e,r){if(r.length){let t=e.toArray(),n=r.toArray(),o=0;for(let a=0;ar+t?Math.max(0,i-t+e):r}var jl=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=te({type:e}),e.\u0275inj=ee({imports:[Lr,pe,IU]});let i=e;return i})(),w1={capture:!0},C1=["focus","mousedown","mouseenter","touchstart"],ry="mat-ripple-loader-uninitialized",ay="mat-ripple-loader-class-name",x1="mat-ripple-loader-centered",hp="mat-ripple-loader-disabled",gp=(()=>{let e=class e{constructor(){this._document=k(se,{optional:!0}),this._animationMode=k(kt,{optional:!0}),this._globalRippleOptions=k(Vl,{optional:!0}),this._platform=k(Ve),this._ngZone=k(Z),this._hosts=new Map,this._onInteraction=t=>{let n=mn(t);if(n instanceof HTMLElement){let o=n.closest(`[${ry}="${this._globalRippleOptions?.namespace??""}"]`);o&&this._createRipple(o)}},this._ngZone.runOutsideAngular(()=>{for(let t of C1)this._document?.addEventListener(t,this._onInteraction,w1)})}ngOnDestroy(){let t=this._hosts.keys();for(let n of t)this.destroyRipple(n);for(let n of C1)this._document?.removeEventListener(n,this._onInteraction,w1)}configureRipple(t,n){t.setAttribute(ry,this._globalRippleOptions?.namespace??""),(n.className||!t.hasAttribute(ay))&&t.setAttribute(ay,n.className||""),n.centered&&t.setAttribute(x1,""),n.disabled&&t.setAttribute(hp,"")}getRipple(t){return this._hosts.get(t)||this._createRipple(t)}setDisabled(t,n){let o=this._hosts.get(t);if(o){o.disabled=n;return}n?t.setAttribute(hp,""):t.removeAttribute(hp)}_createRipple(t){if(!this._document)return;let n=this._hosts.get(t);if(n)return n;t.querySelector(".mat-ripple")?.remove();let o=this._document.createElement("span");o.classList.add("mat-ripple",t.getAttribute(ay)),t.append(o);let a=new Tn(new q(o),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return a._isInitialized=!0,a.trigger=t,a.centered=t.hasAttribute(x1),a.disabled=t.hasAttribute(hp),this.attachRipple(t,a),a}attachRipple(t,n){t.removeAttribute(ry),this._hosts.set(t,n)}destroyRipple(t){let n=this._hosts.get(t);n&&(n.ngOnDestroy(),this._hosts.delete(t))}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),_p=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=E({type:e,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(n,o){n&2&&ne("mdc-form-field--align-end",o.labelPosition==="before")},inputs:{labelPosition:"labelPosition"},standalone:!0,features:[re],attrs:gU,ngContentSelectors:_U,decls:1,vars:0,template:function(n,o){n&1&&(He(),ae(0))},styles:[".mat-internal-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-flex;align-items:center;vertical-align:middle}.mat-internal-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mat-internal-form-field>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px}.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 .mdc-form-field--align-end label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0}"],encapsulation:2,changeDetection:0});let i=e;return i})();var ot=function(i){return i[i.State=0]="State",i[i.Transition=1]="Transition",i[i.Sequence=2]="Sequence",i[i.Group=3]="Group",i[i.Animate=4]="Animate",i[i.Keyframes=5]="Keyframes",i[i.Style=6]="Style",i[i.Trigger=7]="Trigger",i[i.Reference=8]="Reference",i[i.AnimateChild=9]="AnimateChild",i[i.AnimateRef=10]="AnimateRef",i[i.Query=11]="Query",i[i.Stagger=12]="Stagger",i}(ot||{}),or="*";function ui(i,e){return{type:ot.Trigger,name:i,definitions:e,options:{}}}function Mt(i,e=null){return{type:ot.Animate,styles:e,timings:i}}function I1(i,e=null){return{type:ot.Group,steps:i,options:e}}function M1(i,e=null){return{type:ot.Sequence,steps:i,options:e}}function Me(i){return{type:ot.Style,styles:i,offset:null}}function Lt(i,e,r){return{type:ot.State,name:i,styles:e,options:r}}function wa(i){return{type:ot.Keyframes,steps:i}}function St(i,e,r=null){return{type:ot.Transition,expr:i,animation:e,options:r}}function vp(i=null){return{type:ot.AnimateChild,options:i}}function bp(i,e,r=null){return{type:ot.Query,selector:i,animation:e,options:r}}var ya=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}},Ad=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,n=0,o=this.players.length;o==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(a=>{a.onDone(()=>{++r==o&&this._onFinish()}),a.onDestroy(()=>{++t==o&&this._onDestroy()}),a.onStart(()=>{++n==o&&this._onStart()})}),this.totalTime=this.players.reduce((a,s)=>Math.max(a,s.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 n=t.totalTime?Math.min(1,r/t.totalTime):1;t.setPosition(n)})}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}},yp="!";function TU(i,e){}var Od=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}},uy="mdc-dialog--open",T1="mdc-dialog--opening",k1="mdc-dialog--closing",kU=150,AU=75,OU=(()=>{let e=class e extends iy{constructor(t,n,o,a,s,l,u,f,v){super(t,n,o,a,s,l,u,v),this._animationMode=f,this._animationStateChanged=new T,this._animationsEnabled=this._animationMode!=="NoopAnimations",this._actionSectionCount=0,this._hostElement=this._elementRef.nativeElement,this._enterAnimationDuration=this._animationsEnabled?O1(this._config.enterAnimationDuration)??kU:0,this._exitAnimationDuration=this._animationsEnabled?O1(this._config.exitAnimationDuration)??AU: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(A1,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(T1,uy)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(uy),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(uy),this._animationsEnabled?(this._hostElement.style.setProperty(A1,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(k1)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(t){this._actionSectionCount+=t,this._changeDetectorRef.markForCheck()}_clearAnimationClasses(){this._hostElement.classList.remove(T1,k1)}_waitForAnimationToComplete(t,n){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(n,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 n=super.attachComponentPortal(t);return n.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),n}};e.\u0275fac=function(n){return new(n||e)(m(q),m(xd),m(se,8),m(Od),m(Cd),m(Z),m(Pr),m(kt,8),m(Di))},e.\u0275cmp=E({type:e,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(n,o){n&2&&(Si("id",o._config.id),ie("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),ne("_mat-animation-noopable",!o._animationsEnabled)("mat-mdc-dialog-container-with-actions",o._actionSectionCount>0))},standalone:!0,features:[be,re],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(n,o){n&1&&(c(0,"div",0)(1,"div",1),x(2,TU,0,0,"ng-template",2),d()())},dependencies:[rn],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, var(--mat-app-corner-extra-large, 4px));background-color:var(--mdc-dialog-container-color, var(--mat-app-surface, 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;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, var(--mat-app-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mdc-dialog-subhead-font, var(--mat-app-headline-small-font, inherit));line-height:var(--mdc-dialog-subhead-line-height, var(--mat-app-headline-small-line-height, 1.5rem));font-size:var(--mdc-dialog-subhead-size, var(--mat-app-headline-small-size, 1rem));font-weight:var(--mdc-dialog-subhead-weight, var(--mat-app-headline-small-weight, 400));letter-spacing:var(--mdc-dialog-subhead-tracking, var(--mat-app-headline-small-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, var(--mat-app-on-surface-variant, rgba(0, 0, 0, 0.6)));font-family:var(--mdc-dialog-supporting-text-font, var(--mat-app-body-medium-font, inherit));line-height:var(--mdc-dialog-supporting-text-line-height, var(--mat-app-body-medium-line-height, 1.5rem));font-size:var(--mdc-dialog-supporting-text-size, var(--mat-app-body-medium-size, 1rem));font-weight:var(--mdc-dialog-supporting-text-weight, var(--mat-app-body-medium-weight, 400));letter-spacing:var(--mdc-dialog-supporting-text-tracking, var(--mat-app-body-medium-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 i=e;return i})(),A1="--mat-dialog-transition-duration";function O1(i){return i==null?null:typeof i=="number"?i:i.endsWith("ms")?Mo(i.substring(0,i.length-2)):i.endsWith("s")?Mo(i.substring(0,i.length-1))*1e3:i==="0"?0:null}var wp=function(i){return i[i.OPEN=0]="OPEN",i[i.CLOSING=1]="CLOSING",i[i.CLOSED=2]="CLOSED",i}(wp||{}),Ne=class{constructor(e,r,t){this._ref=e,this._containerInstance=t,this._afterOpened=new G,this._beforeClosed=new G,this._state=wp.OPEN,this.disableClose=r.disableClose,this.id=e.id,e.addPanelClass("mat-mdc-dialog-panel"),t._animationStateChanged.pipe(Ye(n=>n.state==="opened"),Ot(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),t._animationStateChanged.pipe(Ye(n=>n.state==="closed"),Ot(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),e.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),wt(this.backdropClick(),this.keydownEvents().pipe(Ye(n=>n.keyCode===27&&!this.disableClose&&!Pt(n)))).subscribe(n=>{this.disableClose||(n.preventDefault(),R1(this,n.type==="keydown"?"keyboard":"mouse"))})}close(e){this._result=e,this._containerInstance._animationStateChanged.pipe(Ye(r=>r.state==="closing"),Ot(1)).subscribe(r=>{this._beforeClosed.next(e),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),r.totalTime+100)}),this._state=wp.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=wp.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};function R1(i,e,r){return i._closeInteractionType=e,i.close(r)}var Ke=new R("MatMdcDialogData"),RU=new R("mat-mdc-dialog-default-options"),PU=new R("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let i=k(xt);return()=>i.scrollStrategies.block()}});var FU=0,Rd=(()=>{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,n,o,a,s,l,u,f){this._overlay=t,this._defaultOptions=a,this._scrollStrategy=s,this._parentDialog=l,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new G,this._afterOpenedAtThisLevel=new G,this.dialogConfigClass=Od,this.afterAllClosed=Xn(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Rt(void 0))),this._dialog=n.get(ny),this._dialogRefConstructor=Ne,this._dialogContainerType=OU,this._dialogDataToken=Ke}open(t,n){let o;n=j(j({},this._defaultOptions||new Od),n),n.id=n.id||`mat-mdc-dialog-${FU++}`,n.scrollStrategy=n.scrollStrategy||this._scrollStrategy();let a=this._dialog.open(t,rt(j({},n),{positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:n},{provide:ps,useValue:n}]},templateContext:()=>({dialogRef:o}),providers:(s,l,u)=>(o=new this._dialogRefConstructor(s,n,u),o.updatePosition(n?.position),[{provide:this._dialogContainerType,useValue:u},{provide:this._dialogDataToken,useValue:l.data},{provide:this._dialogRefConstructor,useValue:o}])}));return o.componentRef=a.componentRef,o.componentInstance=a.componentInstance,this.openDialogs.push(o),this.afterOpened.next(o),o.afterClosed().subscribe(()=>{let s=this.openDialogs.indexOf(o);s>-1&&(this.openDialogs.splice(s,1),this.openDialogs.length||this._getAfterAllClosed().next())}),o}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(t){return this.openDialogs.find(n=>n.id===t)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(t){let n=t.length;for(;n--;)t[n].close()}};e.\u0275fac=function(n){return new(n||e)(M(xt),M(Pe),M(er,8),M(RU,8),M(PU),M(e,12),M(kl),M(kt,8))},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),NU=0,Qt=(()=>{let e=class e{constructor(t,n,o){this.dialogRef=t,this._elementRef=n,this._dialog=o,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=F1(this._elementRef,this._dialog.openDialogs))}ngOnChanges(t){let n=t._matDialogClose||t._matDialogCloseResult;n&&(this.dialogResult=n.currentValue)}_onButtonClick(t){R1(this.dialogRef,t.screenX===0&&t.screenY===0?"keyboard":"mouse",this.dialogResult)}};e.\u0275fac=function(n){return new(n||e)(m(Ne,8),m(q),m(Rd))},e.\u0275dir=L({type:e,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(n,o){n&1&&b("click",function(s){return o._onButtonClick(s)}),n&2&&ie("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:[Qe]});let i=e;return i})(),P1=(()=>{let e=class e{constructor(t,n,o){this._dialogRef=t,this._elementRef=n,this._dialog=o}ngOnInit(){this._dialogRef||(this._dialogRef=F1(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd()})}ngOnDestroy(){this._dialogRef?._containerInstance&&Promise.resolve().then(()=>{this._onRemove()})}};e.\u0275fac=function(n){return new(n||e)(m(Ne,8),m(q),m(Rd))},e.\u0275dir=L({type:e,standalone:!0});let i=e;return i})(),Je=(()=>{let e=class e extends P1{constructor(){super(...arguments),this.id=`mat-mdc-dialog-title-${NU++}`}_onAdd(){this._dialogRef._containerInstance?._addAriaLabelledBy?.(this.id)}_onRemove(){this._dialogRef?._containerInstance?._removeAriaLabelledBy?.(this.id)}};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=jt(e)))(o||e)}})(),e.\u0275dir=L({type:e,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(n,o){n&2&&Si("id",o.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],standalone:!0,features:[be]});let i=e;return i})(),et=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=L({type:e,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],standalone:!0,features:[OE([gd])]});let i=e;return i})(),tt=(()=>{let e=class e extends P1{_onAdd(){this._dialogRef._containerInstance?._updateActionSectionCount?.(1)}_onRemove(){this._dialogRef._containerInstance?._updateActionSectionCount?.(-1)}};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=jt(e)))(o||e)}})(),e.\u0275dir=L({type:e,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(n,o){n&2&&ne("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:[be]});let i=e;return i})();function F1(i,e){let r=i.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 N1=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=te({type:e}),e.\u0275inj=ee({providers:[Rd],imports:[f1,an,zn,pe,pe]});let i=e;return i})();var L1,V1=[django.gettext("Sunday"),django.gettext("Monday"),django.gettext("Tuesday"),django.gettext("Wednesday"),django.gettext("Thursday"),django.gettext("Friday"),django.gettext("Saturday")],j1=[django.gettext("January"),django.gettext("February"),django.gettext("March"),django.gettext("April"),django.gettext("May"),django.gettext("June"),django.gettext("July"),django.gettext("August"),django.gettext("September"),django.gettext("October"),django.gettext("November"),django.gettext("December")];var B1=i=>{let e=[];return i.forEach(r=>{e.push(r.substring(0,3))}),e},Ca=(i,e,r)=>(typeof e>"u"&&(e=new Date),fs(i,e,r));var fs=(i,e,r,t)=>{t=t||{},e=e||new Date;let n=r||jU;n.formats=n.formats||{};let o=e.getTime();return(t.utc||typeof t.timezone=="number")&&(e=LU(e)),typeof t.timezone=="number"&&(e=new Date(e.getTime()+t.timezone*6e4)),i.replace(/%([-_0]?.)/g,(a,s)=>{let l,u,f,v,C,D,S,P;if(f=null,C=null,s.length===2){if(f=s[0],f==="-")C="";else if(f==="_")C=" ";else if(f==="0")C="0";else return a;s=s[1]}switch(s){case"A":return n.days[e.getDay()];case"a":return n.shortDays[e.getDay()];case"B":return n.months[e.getMonth()];case"b":return n.shortMonths[e.getMonth()];case"C":return _n(Math.floor(e.getFullYear()/100),C);case"D":return fs(n.formats.D||"%m/%d/%y",e,n);case"d":return _n(e.getDate(),C);case"e":return e.getDate();case"F":return fs(n.formats.F||"%Y-%m-%d",e,n);case"H":return _n(e.getHours(),C);case"h":return n.shortMonths[e.getMonth()];case"I":return _n(z1(e),C);case"j":return S=new Date(e.getFullYear(),0,1),l=Math.ceil((e.getTime()-S.getTime())/(1e3*60*60*24)),_n(l,3);case"k":return _n(e.getHours(),C===void 0?" ":C);case"L":return _n(Math.floor(o%1e3),3);case"l":return _n(z1(e),C===void 0?" ":C);case"M":return _n(e.getMinutes(),C);case"m":return _n(e.getMonth()+1,C);case"n":return` -`;case"o":return String(e.getDate())+VU(e.getDate());case"P":return"";case"p":return"";case"R":return fs(n.formats.R||"%H:%M",e,n);case"r":return fs(n.formats.r||"%I:%M:%S %p",e,n);case"S":return _n(e.getSeconds(),C);case"s":return Math.floor(o/1e3);case"T":return fs(n.formats.T||"%H:%M:%S",e,n);case"t":return" ";case"U":return _n(U1(e,"sunday"),C);case"u":return u=e.getDay(),u===0?7:u;case"v":return fs(n.formats.v||"%e-%b-%Y",e,n);case"W":return _n(U1(e,"monday"),C);case"w":return e.getDay();case"Y":return e.getFullYear();case"y":return P=String(e.getFullYear()),P.slice(P.length-2);case"Z":return t.utc?"GMT":(D=e.toString().match(/\((\w+)\)/),D&&D[1]||"");case"z":return t.utc?"+0000":(v=typeof t.timezone=="number"?t.timezone:-e.getTimezoneOffset(),(v<0?"-":"+")+_n(Math.abs(v/60))+_n(v%60));default:return s}})},LU=i=>{let e=(i.getTimezoneOffset()||0)*6e4;return new Date(i.getTime()+e)},_n=(i,e,r)=>{typeof e=="number"&&(r=e,e="0"),e=e??"0",r=r??2;let t=String(i);if(e)for(;t.length{let e;return e=i.getHours(),e===0?e=12:e>12&&(e-=12),e},VU=i=>{let e=i%10,r=i%100;if(r>=11&&r<=13||e===0||e>=4)return"th";switch(e){case 1:return"st";case 2:return"nd";case 3:return"rd"}return"th"},U1=(i,e)=>{e=e||"sunday";let r=i.getDay();e==="monday"&&(r===0?r=6:r--);let t=new Date(i.getFullYear(),0,1),n=Math.floor((i.getTime()-t.getTime())/864e5);return Math.floor((n+7-r)/7)},hy=i=>i.replace(/./g,e=>{switch(e){case"a":case"A":return"%p";case"b":case"d":case"m":case"w":case"W":case"y":case"Y":return"%"+e;case"c":return"%FT%TZ";case"D":return"%a";case"e":return"%z";case"f":return"%I:%M";case"F":return"%F";case"h":case"g":return"%I";case"H":case"G":return"%H";case"i":return"%M";case"I":return"";case"j":return"%d";case"l":return"%A";case"L":return"";case"M":return"%b";case"n":return"%m";case"N":return"%b";case"o":return"%W";case"O":return"%z";case"P":return"%R %p";case"r":return"%a, %d %b %Y %T %z";case"s":return"%S";case"S":return"";case"t":return"";case"T":return"%Z";case"u":return"0";case"U":return"";case"z":return"%j";case"Z":return"z";default:return e}}),$i=(i,e,r=null)=>{let t;if(e==="None"||e===null||e===void 0)e=7226578800,t=django.gettext("Never");else{let n=django.get_format(i);r&&(n+=r),t=Ca(hy(n),new Date(e*1e3))}return t},H1=i=>({1e4:"OTHER",2e4:"DEBUG",3e4:"INFO",4e4:"WARN",5e4:"ERROR",6e4:"FATAL"})[i]||"OTHER",my=i=>!!(i==null||typeof i=="object"&&Object.keys(i).length===0&&i.constructor===Object||Array.isArray(i)&&i.length===0||typeof i=="string"&&i.trim()===""),$1=i=>i===""||i===null||i===void 0,Cp=i=>i==="yes"||i===!0||i==="true"||i===1,jU={days:V1,shortDays:B1(V1),months:j1,shortMonths:B1(j1),AM:"AM",PM:"PM",am:"am",pm:"pm"},rr=(i,e)=>{let r;if(i instanceof Promise)r=i;else if(i instanceof Jt)r=i;else{if(e)return Lu(i.pipe(Kg(e)));r=Lu(i)}return r},Jt=class{constructor(){this[L1]="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)}};L1=Symbol.toStringTag;var W1=["mat-button",""],G1=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],q1=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],BU='.mat-mdc-button-base{text-decoration:none}.mdc-button{-webkit-user-select:none;user-select:none;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;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.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__label{position:relative}.mat-mdc-button{padding:0 var(--mat-text-button-horizontal-padding, 8px);height:var(--mdc-text-button-container-height);font-family:var(--mdc-text-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-text-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-text-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-text-button-label-text-transform);font-weight:var(--mdc-text-button-label-text-weight, var(--mat-app-label-large-weight))}.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, var(--mat-app-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity, var(--mat-app-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, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity, var(--mat-app-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,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mat-app-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, var(--mat-app-primary))}.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{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 var(--mat-filled-button-horizontal-padding, 16px);height:var(--mdc-filled-button-container-height);font-family:var(--mdc-filled-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-filled-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-filled-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-filled-button-label-text-transform);font-weight:var(--mdc-filled-button-label-text-weight, var(--mat-app-label-large-weight))}.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, var(--mat-app-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity, var(--mat-app-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, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity, var(--mat-app-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:not(:disabled){color:var(--mdc-filled-button-label-text-color, var(--mat-app-on-primary));background-color:var(--mdc-filled-button-container-color, var(--mat-app-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mat-app-corner-full))}.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{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 var(--mat-protected-button-horizontal-padding, 16px);box-shadow:var(--mdc-protected-button-container-elevation-shadow, var(--mat-app-level1));height:var(--mdc-protected-button-container-height);font-family:var(--mdc-protected-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-protected-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-protected-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-protected-button-label-text-transform);font-weight:var(--mdc-protected-button-label-text-weight, var(--mat-app-label-large-weight))}.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, var(--mat-app-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity, var(--mat-app-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, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity, var(--mat-app-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:not(:disabled){color:var(--mdc-protected-button-label-text-color, var(--mat-app-primary));background-color:var(--mdc-protected-button-container-color, var(--mat-app-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mat-app-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow, var(--mat-app-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow, var(--mat-app-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow, var(--mat-app-level1))}.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, var(--mat-app-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 var(--mat-outlined-button-horizontal-padding, 15px);height:var(--mdc-outlined-button-container-height);font-family:var(--mdc-outlined-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-outlined-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-outlined-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-outlined-button-label-text-transform);font-weight:var(--mdc-outlined-button-label-text-weight, var(--mat-app-label-large-weight));border-radius:var(--mdc-outlined-button-container-shape, var(--mat-app-corner-full));border-width: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, var(--mat-app-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity, var(--mat-app-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, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity, var(--mat-app-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:not(:disabled){color:var(--mdc-outlined-button-label-text-color, var(--mat-app-primary));border-color:var(--mdc-outlined-button-outline-color, var(--mat-app-outline))}.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-outlined-button .mdc-button__ripple{border-width:var(--mdc-outlined-button-outline-width);border-style:solid;border-color:rgba(0,0,0,0)}.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-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon{z-index:1;position:relative}.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}.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)}',py=".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 Y1=["mat-icon-button",""],Q1=["*"],zU='.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;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;z-index:0;overflow:visible;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);color:var(--mdc-icon-button-icon-color, var(--mat-app-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.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 img,.mat-mdc-icon-button svg{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size);vertical-align:baseline}.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,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.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, var(--mat-app-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-app-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, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-app-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[hidden]{display:none}.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}',UU=new R("MAT_BUTTON_CONFIG");var HU=[{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-base","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],fy=(()=>{let e=class e{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(t){this._rippleLoader?.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,n,o,a){this._elementRef=t,this._platform=n,this._ngZone=o,this._animationMode=a,this._focusMonitor=k(Di),this._rippleLoader=k(gp),this._isFab=!1,this._disableRipple=!1,this._disabled=!1;let s=k(UU,{optional:!0}),l=t.nativeElement,u=l.classList;this.disabledInteractive=s?.disabledInteractive??!1,this.color=s?.color??null,this._rippleLoader?.configureRipple(l,{className:"mat-mdc-button-ripple"});for(let{attribute:f,mdcClasses:v}of HU)l.hasAttribute(f)&&u.add(...v)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(t="program",n){t?this._focusMonitor.focusVia(this._elementRef.nativeElement,t,n):this._elementRef.nativeElement.focus(n)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}};e.\u0275fac=function(n){ts()},e.\u0275dir=L({type:e,inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",Y],disabled:[2,"disabled","disabled",Y],ariaDisabled:[2,"aria-disabled","ariaDisabled",Y],disabledInteractive:[2,"disabledInteractive","disabledInteractive",Y]},features:[ge]});let i=e;return i})();var K1=(()=>{let e=class e extends fy{constructor(t,n,o,a){super(t,n,o,a),this._haltDisabledEvents=s=>{this.disabled&&(s.preventDefault(),s.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.ariaDisabled:this.disabled||null}};e.\u0275fac=function(n){ts()},e.\u0275dir=L({type:e,inputs:{tabIndex:[2,"tabIndex","tabIndex",t=>t==null?void 0:ni(t)]},features:[ge,be]});let i=e;return i})(),ke=(()=>{let e=class e extends fy{constructor(t,n,o,a){super(t,n,o,a)}};e.\u0275fac=function(n){return new(n||e)(m(q),m(Ve),m(Z),m(kt,8))},e.\u0275cmp=E({type:e,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(n,o){n&2&&(ie("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled()),Yt(o.color?"mat-"+o.color:""),ne("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:[be,re],attrs:W1,ngContentSelectors:q1,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(n,o){n&1&&(He(G1),I(0,"span",0),ae(1),c(2,"span",1),ae(3,1),d(),ae(4,2),I(5,"span",2)(6,"span",3)),n&2&&ne("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:['.mat-mdc-button-base{text-decoration:none}.mdc-button{-webkit-user-select:none;user-select:none;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;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.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__label{position:relative}.mat-mdc-button{padding:0 var(--mat-text-button-horizontal-padding, 8px);height:var(--mdc-text-button-container-height);font-family:var(--mdc-text-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-text-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-text-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-text-button-label-text-transform);font-weight:var(--mdc-text-button-label-text-weight, var(--mat-app-label-large-weight))}.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, var(--mat-app-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity, var(--mat-app-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, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity, var(--mat-app-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,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mat-app-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, var(--mat-app-primary))}.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{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 var(--mat-filled-button-horizontal-padding, 16px);height:var(--mdc-filled-button-container-height);font-family:var(--mdc-filled-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-filled-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-filled-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-filled-button-label-text-transform);font-weight:var(--mdc-filled-button-label-text-weight, var(--mat-app-label-large-weight))}.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, var(--mat-app-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity, var(--mat-app-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, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity, var(--mat-app-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:not(:disabled){color:var(--mdc-filled-button-label-text-color, var(--mat-app-on-primary));background-color:var(--mdc-filled-button-container-color, var(--mat-app-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mat-app-corner-full))}.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{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 var(--mat-protected-button-horizontal-padding, 16px);box-shadow:var(--mdc-protected-button-container-elevation-shadow, var(--mat-app-level1));height:var(--mdc-protected-button-container-height);font-family:var(--mdc-protected-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-protected-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-protected-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-protected-button-label-text-transform);font-weight:var(--mdc-protected-button-label-text-weight, var(--mat-app-label-large-weight))}.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, var(--mat-app-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity, var(--mat-app-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, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity, var(--mat-app-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:not(:disabled){color:var(--mdc-protected-button-label-text-color, var(--mat-app-primary));background-color:var(--mdc-protected-button-container-color, var(--mat-app-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mat-app-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow, var(--mat-app-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow, var(--mat-app-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow, var(--mat-app-level1))}.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, var(--mat-app-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 var(--mat-outlined-button-horizontal-padding, 15px);height:var(--mdc-outlined-button-container-height);font-family:var(--mdc-outlined-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-outlined-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-outlined-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-outlined-button-label-text-transform);font-weight:var(--mdc-outlined-button-label-text-weight, var(--mat-app-label-large-weight));border-radius:var(--mdc-outlined-button-container-shape, var(--mat-app-corner-full));border-width: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, var(--mat-app-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity, var(--mat-app-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, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity, var(--mat-app-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:not(:disabled){color:var(--mdc-outlined-button-label-text-color, var(--mat-app-primary));border-color:var(--mdc-outlined-button-outline-color, var(--mat-app-outline))}.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-outlined-button .mdc-button__ripple{border-width:var(--mdc-outlined-button-outline-width);border-style:solid;border-color:rgba(0,0,0,0)}.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-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon{z-index:1;position:relative}.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}.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 i=e;return i})(),xa=(()=>{let e=class e extends K1{constructor(t,n,o,a){super(t,n,o,a)}};e.\u0275fac=function(n){return new(n||e)(m(q),m(Ve),m(Z),m(kt,8))},e.\u0275cmp=E({type:e,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:15,hostBindings:function(n,o){n&2&&(ie("disabled",o._getDisabledAttribute())("tabindex",o.disabled&&!o.disabledInteractive?-1:o.tabIndex)("aria-disabled",o._getAriaDisabled()),Yt(o.color?"mat-"+o.color:""),ne("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:[be,re],attrs:W1,ngContentSelectors:q1,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(n,o){n&1&&(He(G1),I(0,"span",0),ae(1),c(2,"span",1),ae(3,1),d(),ae(4,2),I(5,"span",2)(6,"span",3)),n&2&&ne("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:[BU,py],encapsulation:2,changeDetection:0});let i=e;return i})();var Qi=(()=>{let e=class e extends fy{constructor(t,n,o,a){super(t,n,o,a),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}};e.\u0275fac=function(n){return new(n||e)(m(q),m(Ve),m(Z),m(kt,8))},e.\u0275cmp=E({type:e,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(n,o){n&2&&(ie("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled()),Yt(o.color?"mat-"+o.color:""),ne("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:[be,re],attrs:Y1,ngContentSelectors:Q1,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(n,o){n&1&&(He(),I(0,"span",0),ae(1),I(2,"span",1)(3,"span",2))},styles:['.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;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;z-index:0;overflow:visible;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);color:var(--mdc-icon-button-icon-color, var(--mat-app-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.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 img,.mat-mdc-icon-button svg{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size);vertical-align:baseline}.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,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.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, var(--mat-app-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-app-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, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-app-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[hidden]{display:none}.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}',py],encapsulation:2,changeDetection:0});let i=e;return i})(),xp=(()=>{let e=class e extends K1{constructor(t,n,o,a){super(t,n,o,a)}};e.\u0275fac=function(n){return new(n||e)(m(q),m(Ve),m(Z),m(kt,8))},e.\u0275cmp=E({type:e,selectors:[["a","mat-icon-button",""]],hostVars:15,hostBindings:function(n,o){n&2&&(ie("disabled",o._getDisabledAttribute())("tabindex",o.disabled&&!o.disabledInteractive?-1:o.tabIndex)("aria-disabled",o._getAriaDisabled()),Yt(o.color?"mat-"+o.color:""),ne("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:[be,re],attrs:Y1,ngContentSelectors:Q1,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(n,o){n&1&&(He(),I(0,"span",0),ae(1),I(2,"span",1)(3,"span",2))},styles:[zU,py],encapsulation:2,changeDetection:0});let i=e;return i})(),ar=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=te({type:e}),e.\u0275inj=ee({imports:[pe,Lr,pe]});let i=e;return i})();var le=(()=>{let e=class e{constructor(t){this.el=t}ngOnInit(){this.el.nativeElement.innerHTML=django.gettext(this.el.nativeElement.innerHTML.trim().replaceAll("&","&"))}};e.\u0275fac=function(n){return new(n||e)(m(q))},e.\u0275dir=L({type:e,selectors:[["uds-translate"]]});let i=e;return i})();var Dp=(()=>{let e=class e{constructor(t){this.sanitizer=t}transform(t,n){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(n){return new(n||e)(m(is,16))},e.\u0275pipe=Qo({name:"safeHtml",type:e,pure:!0});let i=e;return i})();function $U(i,e){if(i&1){let r=A();c(0,"button",4),b("click",function(){y(r);let n=_();return w(n.resolveAndClose(!1))}),c(1,"uds-translate"),g(2,"Close"),d(),g(3),d()}if(i&2){let r=_();h(3),$e(r.extra)}}function WU(i,e){if(i&1){let r=A();c(0,"button",5),b("click",function(){y(r);let n=_();return w(n.resolveAndClose(!0))}),c(1,"uds-translate"),g(2,"Yes"),d()()}if(i&2){let r=_();p("color",r.yesColor)}}function GU(i,e){if(i&1){let r=A();c(0,"button",5),b("click",function(){y(r);let n=_();return w(n.resolveAndClose(!1))}),c(1,"uds-translate"),g(2,"No"),d()()}if(i&2){let r=_();p("color",r.noColor)}}var Pd=function(i){return i[i.alert=0]="alert",i[i.question=1]="question",i}(Pd||{}),gy=(()=>{let e=class e{constructor(t,n){this.dialogRef=t,this.data=n,this.yesColor="primary",this.noColor="warn",this.extra="",this.subscription={},this.acceptance=new Jt}resolveAndClose(t){this.acceptance.resolve(t),this.close()}close(){this.dialogRef.close()}closed(){this.subscription!==null&&this.subscription.unsubscribe()}setExtra(t){this.extra=" ("+Math.floor(t/1e3)+" "+django.gettext("seconds")+") "}initAlert(){return W(this,null,function*(){let t=this.data.autoclose||0;t>0&&(this.dialogRef.afterClosed().subscribe(n=>{this.closed()}),this.setExtra(t),this.subscription=Zg(1e3).subscribe(n=>{let o=t-(n+1)*1e3;this.setExtra(o),o<=0&&this.close()}))})}ngOnInit(){this.data.warnOnYes===!0&&(this.yesColor="warn",this.noColor="primary"),this.data.type===Pd.alert&&this.initAlert()}};e.\u0275fac=function(n){return new(n||e)(m(Ne),m(Ke))},e.\u0275cmp=E({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,"color","click",4,"ngIf"],["mat-raised-button","","mat-dialog-close","",3,"click"],["mat-raised-button","","mat-dialog-close","",3,"click","color"]],template:function(n,o){n&1&&(I(0,"h4",0),_t(1,"safeHtml"),I(2,"mat-dialog-content",1),_t(3,"safeHtml"),c(4,"mat-dialog-actions"),x(5,$U,4,1,"button",2)(6,WU,3,1,"button",3)(7,GU,3,1,"button",3),d()),n&2&&(p("innerHtml",Dt(1,5,o.data.title),qt),h(2),p("innerHTML",Dt(3,7,o.data.body),qt),h(3),p("ngIf",o.data.type===0),h(),p("ngIf",o.data.type===1),h(),p("ngIf",o.data.type===1))},dependencies:[me,ke,Qt,Je,tt,et,le,Dp],styles:[".uds-modal-footer[_ngcontent-%COMP%]{display:flex;justify-content:left}.mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}"]});let i=e;return i})();var Ki=function(i){return i.TEXT="text",i.TEXT_AUTOCOMPLETE="text-autocomplete",i.TEXTBOX="textbox",i.NUMERIC="numeric",i.PASSWORD="password",i.HIDDEN="hidden",i.CHOICE="choice",i.MULTI_CHOICE="multichoice",i.EDITLIST="editlist",i.CHECKBOX="checkbox",i.IMAGECHOICE="imgchoice",i.DATE="date",i.DATETIME="datetime",i.TAGLIST="taglist",i.INFO="internal-info",i}(Ki||{}),Fd=class{static locateChoice(e,r){let t=r.gui.choices;if(t===void 0)return{id:"",img:"",text:""};let n=t.find(o=>o.id===e);if(n===void 0)try{n=t[0]}catch{n={id:"",img:"",text:""}}return n}};var oT=(()=>{let e=class e{constructor(t,n){this._renderer=t,this._elementRef=n,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(t,n){this._renderer.setProperty(this._elementRef.nativeElement,t,n)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}};e.\u0275fac=function(n){return new(n||e)(m(xr),m(q))},e.\u0275dir=L({type:e});let i=e;return i})(),rT=(()=>{let e=class e extends oT{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=jt(e)))(o||e)}})(),e.\u0275dir=L({type:e,features:[be]});let i=e;return i})(),vn=new R("");var qU={provide:vn,useExisting:Xt(()=>lt),multi:!0};function YU(){let i=Jo()?Jo().getUserAgent():"";return/android (\d+)/.test(i.toLowerCase())}var QU=new R(""),lt=(()=>{let e=class e extends oT{constructor(t,n,o){super(t,n),this._compositionMode=o,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!YU())}writeValue(t){let n=t??"";this.setProperty("value",n)}_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(n){return new(n||e)(m(xr),m(q),m(QU,8))},e.\u0275dir=L({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(n,o){n&1&&b("input",function(s){return o._handleInput(s.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(s){return o._compositionEnd(s.target.value)})},features:[Ce([qU]),be]});let i=e;return i})();function Da(i){return i==null||(typeof i=="string"||Array.isArray(i))&&i.length===0}function aT(i){return i!=null&&typeof i.length=="number"}var co=new R(""),Np=new R(""),KU=/^(?=.{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])?)*$/,sr=class{static min(e){return ZU(e)}static max(e){return XU(e)}static required(e){return sT(e)}static requiredTrue(e){return JU(e)}static email(e){return e5(e)}static minLength(e){return t5(e)}static maxLength(e){return lT(e)}static pattern(e){return i5(e)}static nullValidator(e){return Ep(e)}static compose(e){return pT(e)}static composeAsync(e){return fT(e)}};function ZU(i){return e=>{if(Da(e.value)||Da(i))return null;let r=parseFloat(e.value);return!isNaN(r)&&r{if(Da(e.value)||Da(i))return null;let r=parseFloat(e.value);return!isNaN(r)&&r>i?{max:{max:i,actual:e.value}}:null}}function sT(i){return Da(i.value)?{required:!0}:null}function JU(i){return i.value===!0?null:{required:!0}}function e5(i){return Da(i.value)||KU.test(i.value)?null:{email:!0}}function t5(i){return e=>Da(e.value)||!aT(e.value)?null:e.value.lengthaT(e.value)&&e.value.length>i?{maxlength:{requiredLength:i,actualLength:e.value.length}}:null}function i5(i){if(!i)return Ep;let e,r;return typeof i=="string"?(r="",i.charAt(0)!=="^"&&(r+="^"),r+=i,i.charAt(i.length-1)!=="$"&&(r+="$"),e=new RegExp(r)):(r=i.toString(),e=i),t=>{if(Da(t.value))return null;let n=t.value;return e.test(n)?null:{pattern:{requiredPattern:r,actualValue:n}}}}function Ep(i){return null}function cT(i){return i!=null}function dT(i){return la(i)?Kt(i):i}function uT(i){let e={};return i.forEach(r=>{e=r!=null?j(j({},e),r):e}),Object.keys(e).length===0?null:e}function hT(i,e){return e.map(r=>r(i))}function n5(i){return!i.validate}function mT(i){return i.map(e=>n5(e)?e:r=>e.validate(r))}function pT(i){if(!i)return null;let e=i.filter(cT);return e.length==0?null:function(r){return uT(hT(r,e))}}function yy(i){return i!=null?pT(mT(i)):null}function fT(i){if(!i)return null;let e=i.filter(cT);return e.length==0?null:function(r){let t=hT(r,e).map(dT);return uc(t).pipe(ue(uT))}}function wy(i){return i!=null?fT(mT(i)):null}function X1(i,e){return i===null?[e]:Array.isArray(i)?[...i,e]:[i,e]}function gT(i){return i._rawValidators}function _T(i){return i._rawAsyncValidators}function _y(i){return i?Array.isArray(i)?i:[i]:[]}function Ip(i,e){return Array.isArray(i)?i.includes(e):i===e}function J1(i,e){let r=_y(e);return _y(i).forEach(n=>{Ip(r,n)||r.push(n)}),r}function eT(i,e){return _y(e).filter(r=>!Ip(i,r))}var Mp=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=yy(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=wy(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}},Sa=class extends Mp{get formDirective(){return null}get path(){return null}},kn=class extends Mp{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},Tp=class{constructor(e){this._cd=e}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},o5={"[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"},nce=rt(j({},o5),{"[class.ng-submitted]":"isSubmitted"}),xe=(()=>{let e=class e extends Tp{constructor(t){super(t)}};e.\u0275fac=function(n){return new(n||e)(m(kn,2))},e.\u0275dir=L({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,o){n&2&&ne("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:[be]});let i=e;return i})(),Lp=(()=>{let e=class e extends Tp{constructor(t){super(t)}};e.\u0275fac=function(n){return new(n||e)(m(Sa,10))},e.\u0275dir=L({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(n,o){n&2&&ne("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:[be]});let i=e;return i})();var Nd="VALID",Sp="INVALID",Bl="PENDING",Ld="DISABLED",Ea=class{},kp=class extends Ea{constructor(e,r){super(),this.value=e,this.source=r}},jd=class extends Ea{constructor(e,r){super(),this.pristine=e,this.source=r}},Bd=class extends Ea{constructor(e,r){super(),this.touched=e,this.source=r}},zl=class extends Ea{constructor(e,r){super(),this.status=e,this.source=r}},vy=class extends Ea{constructor(e){super(),this.source=e}},by=class extends Ea{constructor(e){super(),this.source=e}};function vT(i){return(Vp(i)?i.validators:i)||null}function r5(i){return Array.isArray(i)?yy(i):i||null}function bT(i,e){return(Vp(e)?e.asyncValidators:i)||null}function a5(i){return Array.isArray(i)?wy(i):i||null}function Vp(i){return i!=null&&!Array.isArray(i)&&typeof i=="object"}function s5(i,e,r){let t=i.controls;if(!(e?Object.keys(t):t).length)throw new J(1e3,"");if(!t[r])throw new J(1001,"")}function l5(i,e,r){i._forEachChild((t,n)=>{if(r[n]===void 0)throw new J(1002,"")})}var Ap=class{constructor(e,r){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=Mr(()=>this.statusReactive()),this.statusReactive=Dr(void 0),this._pristine=Mr(()=>this.pristineReactive()),this.pristineReactive=Dr(!0),this._touched=Mr(()=>this.touchedReactive()),this.touchedReactive=Dr(!1),this._events=new G,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 status(){return Dn(this.statusReactive)}set status(e){Dn(()=>this.statusReactive.set(e))}get valid(){return this.status===Nd}get invalid(){return this.status===Sp}get pending(){return this.status==Bl}get disabled(){return this.status===Ld}get enabled(){return this.status!==Ld}get pristine(){return Dn(this.pristineReactive)}set pristine(e){Dn(()=>this.pristineReactive.set(e))}get dirty(){return!this.pristine}get touched(){return Dn(this.touchedReactive)}set touched(e){Dn(()=>this.touchedReactive.set(e))}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(J1(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(J1(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(eT(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(eT(e,this._rawAsyncValidators))}hasValidator(e){return Ip(this._rawValidators,e)}hasAsyncValidator(e){return Ip(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){let r=this.touched===!1;this.touched=!0;let t=e.sourceControl??this;this._parent&&!e.onlySelf&&this._parent.markAsTouched(rt(j({},e),{sourceControl:t})),r&&e.emitEvent!==!1&&this._events.next(new Bd(!0,t))}markAllAsTouched(e={}){this.markAsTouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:this}),this._forEachChild(r=>r.markAllAsTouched(e))}markAsUntouched(e={}){let r=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let t=e.sourceControl??this;this._forEachChild(n=>{n.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 Bd(!1,t))}markAsDirty(e={}){let r=this.pristine===!0;this.pristine=!1;let t=e.sourceControl??this;this._parent&&!e.onlySelf&&this._parent.markAsDirty(rt(j({},e),{sourceControl:t})),r&&e.emitEvent!==!1&&this._events.next(new jd(!1,t))}markAsPristine(e={}){let r=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let t=e.sourceControl??this;this._forEachChild(n=>{n.markAsPristine({onlySelf:!0,emitEvent:e.emitEvent})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e,t),r&&e.emitEvent!==!1&&this._events.next(new jd(!0,t))}markAsPending(e={}){this.status=Bl;let r=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new zl(this.status,r)),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.markAsPending(rt(j({},e),{sourceControl:r}))}disable(e={}){let r=this._parentMarkedDirty(e.onlySelf);this.status=Ld,this.errors=null,this._forEachChild(n=>{n.disable(rt(j({},e),{onlySelf:!0}))}),this._updateValue();let t=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new kp(this.value,t)),this._events.next(new zl(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(rt(j({},e),{skipPristineCheck:r}),this),this._onDisabledChange.forEach(n=>n(!0))}enable(e={}){let r=this._parentMarkedDirty(e.onlySelf);this.status=Nd,this._forEachChild(t=>{t.enable(rt(j({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(rt(j({},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={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let t=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Nd||this.status===Bl)&&this._runAsyncValidator(t,e.emitEvent)}let r=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new kp(this.value,r)),this._events.next(new zl(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(rt(j({},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()?Ld:Nd}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e,r){if(this.asyncValidator){this.status=Bl,this._hasOwnPendingAsyncValidator={emitEvent:r!==!1};let t=dT(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(n=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(n,{emitEvent:r,shouldHaveEmitted:e})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let e=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,e}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,n)=>t&&t._find(n),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 zl(this.status,r)),this._parent&&this._parent._updateControlsErrors(e,r,t)}_initObservables(){this.valueChanges=new T,this.statusChanges=new T}_calculateStatus(){return this._allControlsDisabled()?Ld:this.errors?Sp:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Bl)?Bl:this._anyControlsHaveStatus(Sp)?Sp:Nd}_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(),n=this.pristine!==t;this.pristine=t,this._parent&&!e.onlySelf&&this._parent._updatePristine(e,r),n&&this._events.next(new jd(this.pristine,r))}_updateTouched(e={},r){this.touched=this._anyControlsTouched(),this._events.next(new Bd(this.touched,r)),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,r)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){Vp(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=r5(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=a5(this._rawAsyncValidators)}},Op=class extends Ap{constructor(e,r,t){super(vT(r),bT(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={}){l5(this,!0,e),Object.keys(e).forEach(t=>{s5(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 n=this.controls[t];n&&n.patchValue(e[t],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r))}reset(e={},r={}){this._forEachChild((t,n)=>{t.reset(e?e[n]: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,n)=>((t.enabled||this.disabled)&&(r[n]=t.value),r))}_reduceChildren(e,r){let t=e;return this._forEachChild((n,o)=>{t=r(t,n,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 Ul=new R("CallSetDisabledState",{providedIn:"root",factory:()=>jp}),jp="always";function c5(i,e){return[...e.path,i]}function zd(i,e,r=jp){Cy(i,e),e.valueAccessor.writeValue(i.value),(i.disabled||r==="always")&&e.valueAccessor.setDisabledState?.(i.disabled),u5(i,e),m5(i,e),h5(i,e),d5(i,e)}function Rp(i,e,r=!0){let t=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(t),e.valueAccessor.registerOnTouched(t)),Fp(i,e),i&&(e._invokeOnDestroyCallbacks(),i._registerOnCollectionChange(()=>{}))}function Pp(i,e){i.forEach(r=>{r.registerOnValidatorChange&&r.registerOnValidatorChange(e)})}function d5(i,e){if(e.valueAccessor.setDisabledState){let r=t=>{e.valueAccessor.setDisabledState(t)};i.registerOnDisabledChange(r),e._registerOnDestroy(()=>{i._unregisterOnDisabledChange(r)})}}function Cy(i,e){let r=gT(i);e.validator!==null?i.setValidators(X1(r,e.validator)):typeof r=="function"&&i.setValidators([r]);let t=_T(i);e.asyncValidator!==null?i.setAsyncValidators(X1(t,e.asyncValidator)):typeof t=="function"&&i.setAsyncValidators([t]);let n=()=>i.updateValueAndValidity();Pp(e._rawValidators,n),Pp(e._rawAsyncValidators,n)}function Fp(i,e){let r=!1;if(i!==null){if(e.validator!==null){let n=gT(i);if(Array.isArray(n)&&n.length>0){let o=n.filter(a=>a!==e.validator);o.length!==n.length&&(r=!0,i.setValidators(o))}}if(e.asyncValidator!==null){let n=_T(i);if(Array.isArray(n)&&n.length>0){let o=n.filter(a=>a!==e.asyncValidator);o.length!==n.length&&(r=!0,i.setAsyncValidators(o))}}}let t=()=>{};return Pp(e._rawValidators,t),Pp(e._rawAsyncValidators,t),r}function u5(i,e){e.valueAccessor.registerOnChange(r=>{i._pendingValue=r,i._pendingChange=!0,i._pendingDirty=!0,i.updateOn==="change"&&yT(i,e)})}function h5(i,e){e.valueAccessor.registerOnTouched(()=>{i._pendingTouched=!0,i.updateOn==="blur"&&i._pendingChange&&yT(i,e),i.updateOn!=="submit"&&i.markAsTouched()})}function yT(i,e){i._pendingDirty&&i.markAsDirty(),i.setValue(i._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1}function m5(i,e){let r=(t,n)=>{e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)};i.registerOnChange(r),e._registerOnDestroy(()=>{i._unregisterOnChange(r)})}function wT(i,e){i==null,Cy(i,e)}function p5(i,e){return Fp(i,e)}function CT(i,e){if(!i.hasOwnProperty("model"))return!1;let r=i.model;return r.isFirstChange()?!0:!Object.is(e,r.currentValue)}function f5(i){return Object.getPrototypeOf(i.constructor)===rT}function xT(i,e){i._syncPendingControls(),e.forEach(r=>{let t=r.control;t.updateOn==="submit"&&t._pendingChange&&(r.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function DT(i,e){if(!e)return null;Array.isArray(e);let r,t,n;return e.forEach(o=>{o.constructor===lt?r=o:f5(o)?t=o:n=o}),n||t||r||null}function g5(i,e){let r=i.indexOf(e);r>-1&&i.splice(r,1)}var _5={provide:Sa,useExisting:Xt(()=>Oo)},Vd=Promise.resolve(),Oo=(()=>{let e=class e extends Sa{get submitted(){return Dn(this.submittedReactive)}constructor(t,n,o){super(),this.callSetDisabledState=o,this._submitted=Mr(()=>this.submittedReactive()),this.submittedReactive=Dr(!1),this._directives=new Set,this.ngSubmit=new T,this.form=new Op({},yy(t),wy(n))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){Vd.then(()=>{let n=this._findContainer(t.path);t.control=n.registerControl(t.name,t.control),zd(t.control,t,this.callSetDisabledState),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){Vd.then(()=>{let n=this._findContainer(t.path);n&&n.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){Vd.then(()=>{let n=this._findContainer(t.path),o=new Op({});wT(o,t),n.registerControl(t.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){Vd.then(()=>{let n=this._findContainer(t.path);n&&n.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,n){Vd.then(()=>{this.form.get(t.path).setValue(n)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submittedReactive.set(!0),xT(this.form,this._directives),this.ngSubmit.emit(t),t?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submittedReactive.set(!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(n){return new(n||e)(m(co,10),m(Np,10),m(Ul,8))},e.\u0275dir=L({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(n,o){n&1&&b("submit",function(s){return o.onSubmit(s)})("reset",function(){return o.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Ce([_5]),be]});let i=e;return i})();function tT(i,e){let r=i.indexOf(e);r>-1&&i.splice(r,1)}function iT(i){return typeof i=="object"&&i!==null&&Object.keys(i).length===2&&"value"in i&&"disabled"in i}var Bp=class extends Ap{constructor(e=null,r,t){super(vT(r),bT(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}),Vp(r)&&(r.nonNullable||r.initialValueIsDefault)&&(iT(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){tT(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){tT(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){iT(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 v5=i=>i instanceof Bp;var b5={provide:kn,useExisting:Xt(()=>Se)},nT=Promise.resolve(),Se=(()=>{let e=class e extends kn{constructor(t,n,o,a,s,l){super(),this._changeDetectorRef=s,this.callSetDisabledState=l,this.control=new Bp,this._registered=!1,this.name="",this.update=new T,this._parent=t,this._setValidators(n),this._setAsyncValidators(o),this.valueAccessor=DT(this,a)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){let n=t.name.previousValue;this.formDirective.removeControl({name:n,path:this._getPath(n)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),CT(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(){zd(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){nT.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){let n=t.isDisabled.currentValue,o=n!==0&&Y(n);nT.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?c5(t,this._parent):[t]}};e.\u0275fac=function(n){return new(n||e)(m(Sa,9),m(co,10),m(Np,10),m(vn,10),m(he,8),m(Ul,8))},e.\u0275dir=L({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:[Ce([b5]),be,Qe]});let i=e;return i})(),zp=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=L({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]});let i=e;return i})(),y5={provide:vn,useExisting:Xt(()=>$n),multi:!0},$n=(()=>{let e=class e extends rT{writeValue(t){let n=t??"";this.setProperty("value",n)}registerOnChange(t){this.onChange=n=>{t(n==""?null:parseFloat(n))}}};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=jt(e)))(o||e)}})(),e.\u0275dir=L({type:e,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(n,o){n&1&&b("input",function(s){return o.onChange(s.target.value)})("blur",function(){return o.onTouched()})},features:[Ce([y5]),be]});let i=e;return i})();var ST=new R(""),w5={provide:kn,useExisting:Xt(()=>xy)},xy=(()=>{let e=class e extends kn{set isDisabled(t){}constructor(t,n,o,a,s){super(),this._ngModelWarningConfig=a,this.callSetDisabledState=s,this.update=new T,this._ngModelWarningSent=!1,this._setValidators(t),this._setAsyncValidators(n),this.valueAccessor=DT(this,o)}ngOnChanges(t){if(this._isControlChanged(t)){let n=t.form.previousValue;n&&Rp(n,this,!1),zd(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}CT(t,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Rp(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_isControlChanged(t){return t.hasOwnProperty("form")}};e._ngModelWarningSentOnce=!1,e.\u0275fac=function(n){return new(n||e)(m(co,10),m(Np,10),m(vn,10),m(ST,8),m(Ul,8))},e.\u0275dir=L({type:e,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[Ce([w5]),be,Qe]});let i=e;return i})(),C5={provide:Sa,useExisting:Xt(()=>gs)},gs=(()=>{let e=class e extends Sa{get submitted(){return Dn(this._submittedReactive)}set submitted(t){this._submittedReactive.set(t)}constructor(t,n,o){super(),this.callSetDisabledState=o,this._submitted=Mr(()=>this._submittedReactive()),this._submittedReactive=Dr(!1),this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new T,this._setValidators(t),this._setAsyncValidators(n)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Fp(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 n=this.form.get(t.path);return zd(n,t,this.callSetDisabledState),n.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),n}getControl(t){return this.form.get(t.path)}removeControl(t){Rp(t.control||null,t,!1),g5(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,n){this.form.get(t.path).setValue(n)}onSubmit(t){return this._submittedReactive.set(!0),xT(this.form,this.directives),this.ngSubmit.emit(t),this.form._events.next(new vy(this.control)),t?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this._submittedReactive.set(!1),this.form._events.next(new by(this.form))}_updateDomValue(){this.directives.forEach(t=>{let n=t.control,o=this.form.get(t.path);n!==o&&(Rp(n||null,t),v5(o)&&(zd(o,t,this.callSetDisabledState),t.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){let n=this.form.get(t.path);wT(n,t),n.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){let n=this.form.get(t.path);n&&p5(n,t)&&n.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Cy(this.form,this),this._oldForm&&Fp(this._oldForm,this)}_checkFormPresent(){this.form}};e.\u0275fac=function(n){return new(n||e)(m(co,10),m(Np,10),m(Ul,8))},e.\u0275dir=L({type:e,selectors:[["","formGroup",""]],hostBindings:function(n,o){n&1&&b("submit",function(s){return o.onSubmit(s)})("reset",function(){return o.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Ce([C5]),be,Qe]});let i=e;return i})();function x5(i){return typeof i=="number"?i:parseInt(i,10)}var ET=(()=>{let e=class e{constructor(){this._validator=Ep}ngOnChanges(t){if(this.inputName in t){let n=this.normalizeInput(t[this.inputName].currentValue);this._enabled=this.enabled(n),this._validator=this._enabled?this.createValidator(n):Ep,this._onChange&&this._onChange()}}validate(t){return this._validator(t)}registerOnValidatorChange(t){this._onChange=t}enabled(t){return t!=null}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=L({type:e,features:[Qe]});let i=e;return i})();var D5={provide:co,useExisting:Xt(()=>Fi),multi:!0};var Fi=(()=>{let e=class e extends ET{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=Y,this.createValidator=t=>sT}enabled(t){return t}};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=jt(e)))(o||e)}})(),e.\u0275dir=L({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(n,o){n&2&&ie("required",o._enabled?"":null)},inputs:{required:"required"},features:[Ce([D5]),be]});let i=e;return i})();var S5={provide:co,useExisting:Xt(()=>_s),multi:!0},_s=(()=>{let e=class e extends ET{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=t=>x5(t),this.createValidator=t=>lT(t)}};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=jt(e)))(o||e)}})(),e.\u0275dir=L({type:e,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(n,o){n&2&&ie("maxlength",o._enabled?o.maxlength:null)},inputs:{maxlength:"maxlength"},features:[Ce([S5]),be]});let i=e;return i})();var IT=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=te({type:e}),e.\u0275inj=ee({});let i=e;return i})();var MT=(()=>{let e=class e{static withConfig(t){return{ngModule:e,providers:[{provide:Ul,useValue:t.callSetDisabledState??jp}]}}};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=te({type:e}),e.\u0275inj=ee({imports:[IT]});let i=e;return i})(),Up=(()=>{let e=class e{static withConfig(t){return{ngModule:e,providers:[{provide:ST,useValue:t.warnOnNgModelWithFormControl??"always"},{provide:Ul,useValue:t.callSetDisabledState??jp}]}}};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=te({type:e}),e.\u0275inj=ee({imports:[IT]});let i=e;return i})();var Dy=class{constructor(e){this._box=e,this._destroyed=new G,this._resizeSubject=new G,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 Re(r=>{let t=this._resizeSubject.subscribe(r);return this._resizeObserver?.observe(e,{box:this._box}),()=>{this._resizeObserver?.unobserve(e),t.unsubscribe(),this._elementObservables.delete(e)}}).pipe(Ye(r=>r.some(t=>t.target===e)),Hu({bufferSize:1,refCount:!0}),fe(this._destroyed))),this._elementObservables.get(e)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},Hp=(()=>{let e=class e{constructor(){this._observers=new Map,this._ngZone=k(Z),typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,t]of this._observers)t.destroy();this._observers.clear(),typeof ResizeObserver<"u"}observe(t,n){let o=n?.box||"content-box";return this._observers.has(o)||this._observers.set(o,new Dy(o)),this._observers.get(o).observe(t)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var My=["*"];function E5(i,e){i&1&&ae(0)}var I5=["tabListContainer"],M5=["tabList"],T5=["tabListInner"],k5=["nextPaginator"],A5=["previousPaginator"],O5=i=>({animationDuration:i}),R5=(i,e)=>({value:i,params:e});function P5(i,e){}var F5=["tabBodyWrapper"],N5=["tabHeader"];function L5(i,e){}function V5(i,e){if(i&1&&x(0,L5,0,0,"ng-template",12),i&2){let r=_().$implicit;p("cdkPortalOutlet",r.templateLabel)}}function j5(i,e){if(i&1&&g(0),i&2){let r=_().$implicit;$e(r.textLabel)}}function B5(i,e){if(i&1){let r=A();c(0,"div",7,2),b("click",function(){let n=y(r),o=n.$implicit,a=n.$index,s=_(),l=we(1);return w(s._handleClick(o,l,a))})("cdkFocusChange",function(n){let o=y(r).$index,a=_();return w(a._tabFocusChanged(n,o))}),I(2,"span",8)(3,"div",9),c(4,"span",10)(5,"span",11),x(6,V5,1,1,null,12)(7,j5,1,1),d()()()}if(i&2){let r=e.$implicit,t=e.$index,n=we(1),o=_();Yt(r.labelClass),ne("mdc-tab--active",o.selectedIndex===t),p("id",o._getTabLabelId(t))("disabled",r.disabled)("fitInkBarToContent",o.fitInkBarToContent),ie("tabIndex",o._getTabIndex(t))("aria-posinset",t+1)("aria-setsize",o._tabs.length)("aria-controls",o._getTabContentId(t))("aria-selected",o.selectedIndex===t)("aria-label",r.ariaLabel||null)("aria-labelledby",!r.ariaLabel&&r.ariaLabelledby?r.ariaLabelledby:null),h(3),p("matRippleTrigger",n)("matRippleDisabled",r.disabled||o.disableRipple),h(3),De(r.templateLabel?6:7)}}function z5(i,e){i&1&&ae(0)}function U5(i,e){if(i&1){let r=A();c(0,"mat-tab-body",13),b("_onCentered",function(){y(r);let n=_();return w(n._removeTabBodyWrapperHeight())})("_onCentering",function(n){y(r);let o=_();return w(o._setTabBodyWrapperHeight(n))}),d()}if(i&2){let r=e.$implicit,t=e.$index,n=_();Yt(r.bodyClass),ne("mat-mdc-tab-body-active",n.selectedIndex===t),p("id",n._getTabContentId(t))("content",r.content)("position",r.position)("origin",r.origin)("animationDuration",n.animationDuration)("preserveContent",n.preserveContent),ie("tabindex",n.contentTabIndex!=null&&n.selectedIndex===t?n.contentTabIndex:null)("aria-labelledby",n._getTabLabelId(t))("aria-hidden",n.selectedIndex!==t)}}var H5=new R("MatTabContent"),$5=(()=>{let e=class e{constructor(t){this.template=t}};e.\u0275fac=function(n){return new(n||e)(m(dt))},e.\u0275dir=L({type:e,selectors:[["","matTabContent",""]],standalone:!0,features:[Ce([{provide:H5,useExisting:e}])]});let i=e;return i})(),W5=new R("MatTabLabel"),AT=new R("MAT_TAB"),ei=(()=>{let e=class e extends GM{constructor(t,n,o){super(t,n),this._closestTab=o}};e.\u0275fac=function(n){return new(n||e)(m(dt),m(Ct),m(AT,8))},e.\u0275dir=L({type:e,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],standalone:!0,features:[Ce([{provide:W5,useExisting:e}]),be]});let i=e;return i})(),OT=new R("MAT_TAB_GROUP"),ti=(()=>{let e=class e{get templateLabel(){return this._templateLabel}set templateLabel(t){this._setTemplateLabelInput(t)}get content(){return this._contentPortal}constructor(t,n){this._viewContainerRef=t,this._closestTabGroup=n,this.disabled=!1,this._explicitContent=void 0,this.textLabel="",this._contentPortal=null,this._stateChanges=new G,this.position=null,this.origin=null,this.isActive=!1}ngOnChanges(t){(t.hasOwnProperty("textLabel")||t.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new Oi(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(t){t&&t._closestTab===this&&(this._templateLabel=t)}};e.\u0275fac=function(n){return new(n||e)(m(Ct),m(OT,8))},e.\u0275cmp=E({type:e,selectors:[["mat-tab"]],contentQueries:function(n,o,a){if(n&1&&(Be(a,ei,5),Be(a,$5,7,dt)),n&2){let s;Q(s=K())&&(o.templateLabel=s.first),Q(s=K())&&(o._explicitContent=s.first)}},viewQuery:function(n,o){if(n&1&&ce(dt,7),n&2){let a;Q(a=K())&&(o._implicitContent=a.first)}},hostAttrs:["hidden",""],inputs:{disabled:[2,"disabled","disabled",Y],textLabel:[0,"label","textLabel"],ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],standalone:!0,features:[Ce([{provide:AT,useExisting:e}]),ge,Qe,re],ngContentSelectors:My,decls:1,vars:0,template:function(n,o){n&1&&(He(),x(0,E5,1,0,"ng-template"))},encapsulation:2});let i=e;return i})(),Sy="mdc-tab-indicator--active",TT="mdc-tab-indicator--no-transition",Ey=class{constructor(e){this._items=e}hide(){this._items.forEach(e=>e.deactivateInkBar())}alignToElement(e){let r=this._items.find(n=>n.elementRef.nativeElement===e),t=this._currentItem;if(r!==t&&(t?.deactivateInkBar(),r)){let n=t?.elementRef.nativeElement.getBoundingClientRect?.();r.activateInkBar(n),this._currentItem=r}}},G5=(()=>{let e=class e{constructor(){this._elementRef=k(q),this._fitToContent=!1}get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(t){this._fitToContent!==t&&(this._fitToContent=t,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(t){let n=this._elementRef.nativeElement;if(!t||!n.getBoundingClientRect||!this._inkBarContentElement){n.classList.add(Sy);return}let o=n.getBoundingClientRect(),a=t.width/o.width,s=t.left-o.left;n.classList.add(TT),this._inkBarContentElement.style.setProperty("transform",`translateX(${s}px) scaleX(${a})`),n.getBoundingClientRect(),n.classList.remove(TT),n.classList.add(Sy),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this._elementRef.nativeElement.classList.remove(Sy)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){let t=this._elementRef.nativeElement.ownerDocument||document,n=this._inkBarElement=t.createElement("span"),o=this._inkBarContentElement=t.createElement("span");n.className="mdc-tab-indicator",o.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",n.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){this._inkBarElement;let t=this._fitToContent?this._elementRef.nativeElement.querySelector(".mdc-tab__content"):this._elementRef.nativeElement;t.appendChild(this._inkBarElement)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=L({type:e,inputs:{fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",Y]},features:[ge]});let i=e;return i})();var RT=(()=>{let e=class e extends G5{constructor(t){super(),this.elementRef=t,this.disabled=!1}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}};e.\u0275fac=function(n){return new(n||e)(m(q))},e.\u0275dir=L({type:e,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(n,o){n&2&&(ie("aria-disabled",!!o.disabled),ne("mat-mdc-tab-disabled",o.disabled))},inputs:{disabled:[2,"disabled","disabled",Y]},standalone:!0,features:[ge,be]});let i=e;return i})(),kT=Ui({passive:!0}),q5=650,Y5=100,Q5=(()=>{let e=class e{get selectedIndex(){return this._selectedIndex}set selectedIndex(t){let n=isNaN(t)?0:t;this._selectedIndex!=n&&(this._selectedIndexChanged=!0,this._selectedIndex=n,this._keyManager&&this._keyManager.updateActiveItem(n))}constructor(t,n,o,a,s,l,u){this._elementRef=t,this._changeDetectorRef=n,this._viewportRuler=o,this._dir=a,this._ngZone=s,this._platform=l,this._animationMode=u,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new G,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new G,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new T,this.indexFocused=new T,this._sharedResizeObserver=k(Hp),this._injector=k(Pe),s.runOutsideAngular(()=>{dn(t.nativeElement,"mouseleave").pipe(fe(this._destroyed)).subscribe(()=>{this._stopInterval()})})}ngAfterViewInit(){dn(this._previousPaginator.nativeElement,"touchstart",kT).pipe(fe(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),dn(this._nextPaginator.nativeElement,"touchstart",kT).pipe(fe(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){let t=this._dir?this._dir.change:oe("ltr"),n=this._sharedResizeObserver.observe(this._elementRef.nativeElement).pipe(mr(32),fe(this._destroyed)),o=this._viewportRuler.change(150).pipe(fe(this._destroyed)),a=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new _a(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),ai(a,{injector:this._injector}),wt(t,o,n,this._items.changes,this._itemsResized()).pipe(fe(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),a()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(s=>{this.indexFocused.emit(s),this._setTabFocus(s)})}_itemsResized(){return typeof ResizeObserver!="function"?Ai:this._items.changes.pipe(Rt(this._items),Tt(t=>new Re(n=>this._ngZone.runOutsideAngular(()=>{let o=new ResizeObserver(a=>n.next(a));return t.forEach(a=>o.observe(a.elementRef.nativeElement)),()=>{o.disconnect()}}))),Ba(1),Ye(t=>t.some(n=>n.contentRect.width>0&&n.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(t){if(!Pt(t))switch(t.keyCode){case 13:case 32:if(this.focusIndex!==this.selectedIndex){let n=this._items.get(this.focusIndex);n&&!n.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(t))}break;default:this._keyManager.onKeydown(t)}}_onContentChanges(){let t=this._elementRef.nativeElement.textContent;t!==this._currentTextContent&&(this._currentTextContent=t||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(t){!this._isValidIndex(t)||this.focusIndex===t||!this._keyManager||this._keyManager.setActiveItem(t)}_isValidIndex(t){return this._items?!!this._items.toArray()[t]:!0}_setTabFocus(t){if(this._showPaginationControls&&this._scrollToLabel(t),this._items&&this._items.length){this._items.toArray()[t].focus();let n=this._tabListContainer.nativeElement;this._getLayoutDirection()=="ltr"?n.scrollLeft=0:n.scrollLeft=n.scrollWidth-n.offsetWidth}}_getLayoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;let t=this.scrollDistance,n=this._getLayoutDirection()==="ltr"?-t:t;this._tabList.nativeElement.style.transform=`translateX(${Math.round(n)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(t){this._scrollTo(t)}_scrollHeader(t){let n=this._tabListContainer.nativeElement.offsetWidth,o=(t=="before"?-1:1)*n/3;return this._scrollTo(this._scrollDistance+o)}_handlePaginatorClick(t){this._stopInterval(),this._scrollHeader(t)}_scrollToLabel(t){if(this.disablePagination)return;let n=this._items?this._items.toArray()[t]:null;if(!n)return;let o=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:a,offsetWidth:s}=n.elementRef.nativeElement,l,u;this._getLayoutDirection()=="ltr"?(l=a,u=l+s):(u=this._tabListInner.nativeElement.offsetWidth-a,l=u-s);let f=this.scrollDistance,v=this.scrollDistance+o;lv&&(this.scrollDistance+=Math.min(u-v,l-f))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{let t=this._tabListInner.nativeElement.scrollWidth,n=this._elementRef.nativeElement.offsetWidth,o=t-n>=5;o||(this.scrollDistance=0),o!==this._showPaginationControls&&(this._showPaginationControls=o,this._changeDetectorRef.markForCheck())}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=this.scrollDistance==0,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){let t=this._tabListInner.nativeElement.scrollWidth,n=this._tabListContainer.nativeElement.offsetWidth;return t-n||0}_alignInkBarToSelectedTab(){let t=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,n=t?t.elementRef.nativeElement:null;n?this._inkBar.alignToElement(n):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(t,n){n&&n.button!=null&&n.button!==0||(this._stopInterval(),yo(q5,Y5).pipe(fe(wt(this._stopScrolling,this._destroyed))).subscribe(()=>{let{maxScrollDistance:o,distance:a}=this._scrollHeader(t);(a===0||a>=o)&&this._stopInterval()}))}_scrollTo(t){if(this.disablePagination)return{maxScrollDistance:0,distance:0};let n=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(n,t)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:n,distance:this._scrollDistance}}};e.\u0275fac=function(n){return new(n||e)(m(q),m(he),m(fn),m(Nt,8),m(Z),m(Ve),m(kt,8))},e.\u0275dir=L({type:e,inputs:{disablePagination:[2,"disablePagination","disablePagination",Y],selectedIndex:[2,"selectedIndex","selectedIndex",ni]},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[ge]});let i=e;return i})(),K5=(()=>{let e=class e extends Q5{constructor(t,n,o,a,s,l,u){super(t,n,o,a,s,l,u),this.disableRipple=!1}ngAfterContentInit(){this._inkBar=new Ey(this._items),super.ngAfterContentInit()}_itemSelected(t){t.preventDefault()}};e.\u0275fac=function(n){return new(n||e)(m(q),m(he),m(fn),m(Nt,8),m(Z),m(Ve),m(kt,8))},e.\u0275cmp=E({type:e,selectors:[["mat-tab-header"]],contentQueries:function(n,o,a){if(n&1&&Be(a,RT,4),n&2){let s;Q(s=K())&&(o._items=s)}},viewQuery:function(n,o){if(n&1&&(ce(I5,7),ce(M5,7),ce(T5,7),ce(k5,5),ce(A5,5)),n&2){let a;Q(a=K())&&(o._tabListContainer=a.first),Q(a=K())&&(o._tabList=a.first),Q(a=K())&&(o._tabListInner=a.first),Q(a=K())&&(o._nextPaginator=a.first),Q(a=K())&&(o._previousPaginator=a.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(n,o){n&2&&ne("mat-mdc-tab-header-pagination-controls-enabled",o._showPaginationControls)("mat-mdc-tab-header-rtl",o._getLayoutDirection()=="rtl")},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],disableRipple:[2,"disableRipple","disableRipple",Y]},standalone:!0,features:[ge,be,re],ngContentSelectors:My,decls:13,vars:10,consts:[["previousPaginator",""],["tabListContainer",""],["tabList",""],["tabListInner",""],["nextPaginator",""],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"click","mousedown","touchend","matRippleDisabled"],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],[1,"mat-mdc-tab-labels"],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"mousedown","click","touchend","matRippleDisabled"]],template:function(n,o){if(n&1){let a=A();He(),c(0,"div",5,0),b("click",function(){return y(a),w(o._handlePaginatorClick("before"))})("mousedown",function(l){return y(a),w(o._handlePaginatorPress("before",l))})("touchend",function(){return y(a),w(o._stopInterval())}),I(2,"div",6),d(),c(3,"div",7,1),b("keydown",function(l){return y(a),w(o._handleKeydown(l))}),c(5,"div",8,2),b("cdkObserveContent",function(){return y(a),w(o._onContentChanges())}),c(7,"div",9,3),ae(9),d()()(),c(10,"div",10,4),b("mousedown",function(l){return y(a),w(o._handlePaginatorPress("after",l))})("click",function(){return y(a),w(o._handlePaginatorClick("after"))})("touchend",function(){return y(a),w(o._stopInterval())}),I(12,"div",6),d()}n&2&&(ne("mat-mdc-tab-header-pagination-disabled",o._disableScrollBefore),p("matRippleDisabled",o._disableScrollBefore||o.disableRipple),h(3),ne("_mat-animation-noopable",o._animationMode==="NoopAnimations"),h(2),ie("aria-label",o.ariaLabel||null)("aria-labelledby",o.ariaLabelledby||null),h(5),ne("mat-mdc-tab-header-pagination-disabled",o._disableScrollAfter),p("matRippleDisabled",o._disableScrollAfter||o.disableRipple))},dependencies:[Tn,n1],styles:[".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;outline:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-app-on-surface))}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-header-pagination-icon-color, var(--mat-app-on-surface))}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1;border-bottom-style:solid;border-bottom-width:var(--mat-tab-header-divider-height);border-bottom-color:var(--mat-tab-header-divider-color, var(--mat-app-surface-variant))}.mat-mdc-tab-group-inverted-header .mat-mdc-tab-label-container{border-bottom:none;border-top-style:solid;border-top-width:var(--mat-tab-header-divider-height);border-top-color:var(--mat-tab-header-divider-color, var(--mat-app-surface-variant))}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.cdk-drop-list .mat-mdc-tab-labels,.mat-mdc-tab-labels.cdk-drop-list{min-height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab::before{margin:5px}.cdk-high-contrast-active .mat-mdc-tab[aria-disabled=true]{color:GrayText}"],encapsulation:2});let i=e;return i})(),Z5=new R("MAT_TABS_CONFIG"),X5={translateTab:ui("translateTab",[Lt("center, void, left-origin-center, right-origin-center",Me({transform:"none",visibility:"visible"})),Lt("left",Me({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),Lt("right",Me({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),St("* => left, * => right, left => center, right => center",Mt("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),St("void => left-origin-center",[Me({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),Mt("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),St("void => right-origin-center",[Me({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),Mt("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])},J5=(()=>{let e=class e extends rn{constructor(t,n,o,a){super(t,n,a),this._host=o,this._centeringSub=ve.EMPTY,this._leavingSub=ve.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(Rt(this._host._isCenterPosition(this._host._position))).subscribe(t=>{this._host._content&&t&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}};e.\u0275fac=function(n){return new(n||e)(m(wn),m(Ct),m(Xt(()=>PT)),m(se))},e.\u0275dir=L({type:e,selectors:[["","matTabBodyHost",""]],standalone:!0,features:[be]});let i=e;return i})(),PT=(()=>{let e=class e{set position(t){this._positionIndex=t,this._computePositionAnimationState()}constructor(t,n,o){this._elementRef=t,this._dir=n,this._dirChangeSubscription=ve.EMPTY,this._translateTabComplete=new G,this._onCentering=new T,this._beforeCentering=new T,this._afterLeavingCenter=new T,this._onCentered=new T(!0),this.animationDuration="500ms",this.preserveContent=!1,n&&(this._dirChangeSubscription=n.change.subscribe(a=>{this._computePositionAnimationState(a),o.markForCheck()})),this._translateTabComplete.subscribe(a=>{this._isCenterPosition(a.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(a.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}ngOnInit(){this._position=="center"&&this.origin!=null&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(t){let n=this._isCenterPosition(t.toState);this._beforeCentering.emit(n),n&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_isCenterPosition(t){return t=="center"||t=="left-origin-center"||t=="right-origin-center"}_computePositionAnimationState(t=this._getLayoutDirection()){this._positionIndex<0?this._position=t=="ltr"?"left":"right":this._positionIndex>0?this._position=t=="ltr"?"right":"left":this._position="center"}_computePositionFromOrigin(t){let n=this._getLayoutDirection();return n=="ltr"&&t<=0||n=="rtl"&&t>0?"left-origin-center":"right-origin-center"}};e.\u0275fac=function(n){return new(n||e)(m(q),m(Nt,8),m(he))},e.\u0275cmp=E({type:e,selectors:[["mat-tab-body"]],viewQuery:function(n,o){if(n&1&&ce(rn,5),n&2){let a;Q(a=K())&&(o._portalHost=a.first)}},hostAttrs:[1,"mat-mdc-tab-body"],inputs:{_content:[0,"content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"},standalone:!0,features:[re],decls:3,vars:6,consts:[["content",""],["cdkScrollable","",1,"mat-mdc-tab-body-content"],["matTabBodyHost",""]],template:function(n,o){if(n&1){let a=A();c(0,"div",1,0),b("@translateTab.start",function(l){return y(a),w(o._onTranslateTabStarted(l))})("@translateTab.done",function(l){return y(a),w(o._translateTabComplete.next(l))}),x(2,P5,0,0,"ng-template",2),d()}n&2&&p("@translateTab",cl(3,R5,o._position,Bi(1,O5,o.animationDuration)))},dependencies:[J5,gd],styles:['.mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-mdc-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[X5.translateTab]}});let i=e;return i})(),e8=0,t8=!0,oi=(()=>{let e=class e{get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(t){this._fitInkBarToContent=t,this._changeDetectorRef.markForCheck()}get selectedIndex(){return this._selectedIndex}set selectedIndex(t){this._indexToSelect=isNaN(t)?null:t}get animationDuration(){return this._animationDuration}set animationDuration(t){let n=t+"";this._animationDuration=/^\d+$/.test(n)?t+"ms":n}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(t){this._contentTabIndex=isNaN(t)?null:t}get backgroundColor(){return this._backgroundColor}set backgroundColor(t){if(!t8)throw new Error("mat-tab-group background color must be set through the Sass theming API");let n=this._elementRef.nativeElement.classList;n.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),t&&n.add("mat-tabs-with-background",`mat-background-${t}`),this._backgroundColor=t}constructor(t,n,o,a){this._elementRef=t,this._changeDetectorRef=n,this._animationMode=a,this._tabs=new eo,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=ve.EMPTY,this._tabLabelSubscription=ve.EMPTY,this._fitInkBarToContent=!1,this.stretchTabs=!0,this.dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this.disablePagination=!1,this.disableRipple=!1,this.preserveContent=!1,this.selectedIndexChange=new T,this.focusChange=new T,this.animationDone=new T,this.selectedTabChange=new T(!0),this._isServer=!k(Ve).isBrowser,this._groupId=e8++,this.animationDuration=o&&o.animationDuration?o.animationDuration:"500ms",this.disablePagination=o&&o.disablePagination!=null?o.disablePagination:!1,this.dynamicHeight=o&&o.dynamicHeight!=null?o.dynamicHeight:!1,o?.contentTabIndex!=null&&(this.contentTabIndex=o.contentTabIndex),this.preserveContent=!!o?.preserveContent,this.fitInkBarToContent=o&&o.fitInkBarToContent!=null?o.fitInkBarToContent:!1,this.stretchTabs=o&&o.stretchTabs!=null?o.stretchTabs:!0}ngAfterContentChecked(){let t=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=t){let n=this._selectedIndex==null;if(!n){this.selectedTabChange.emit(this._createChangeEvent(t));let o=this._tabBodyWrapper.nativeElement;o.style.minHeight=o.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((o,a)=>o.isActive=a===t),n||(this.selectedIndexChange.emit(t),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((n,o)=>{n.position=o-t,this._selectedIndex!=null&&n.position==0&&!n.origin&&(n.origin=t-this._selectedIndex)}),this._selectedIndex!==t&&(this._selectedIndex=t,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{let t=this._clampTabIndex(this._indexToSelect);if(t===this._selectedIndex){let n=this._tabs.toArray(),o;for(let a=0;a{n[t].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(t))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe(Rt(this._allTabs)).subscribe(t=>{this._tabs.reset(t.filter(n=>n._closestTabGroup===this||!n._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(t){let n=this._tabHeader;n&&(n.focusIndex=t)}_focusChanged(t){this._lastFocusedTabIndex=t,this.focusChange.emit(this._createChangeEvent(t))}_createChangeEvent(t){let n=new Iy;return n.index=t,this._tabs&&this._tabs.length&&(n.tab=this._tabs.toArray()[t]),n}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=wt(...this._tabs.map(t=>t._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(t){return Math.min(this._tabs.length-1,Math.max(t||0,0))}_getTabLabelId(t){return`mat-tab-label-${this._groupId}-${t}`}_getTabContentId(t){return`mat-tab-content-${this._groupId}-${t}`}_setTabBodyWrapperHeight(t){if(!this.dynamicHeight||!this._tabBodyWrapperHeight)return;let n=this._tabBodyWrapper.nativeElement;n.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(n.style.height=t+"px")}_removeTabBodyWrapperHeight(){let t=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=t.clientHeight,t.style.height="",this.animationDone.emit()}_handleClick(t,n,o){n.focusIndex=o,t.disabled||(this.selectedIndex=o)}_getTabIndex(t){let n=this._lastFocusedTabIndex??this.selectedIndex;return t===n?0:-1}_tabFocusChanged(t,n){t&&t!=="mouse"&&t!=="touch"&&(this._tabHeader.focusIndex=n)}};e.\u0275fac=function(n){return new(n||e)(m(q),m(he),m(Z5,8),m(kt,8))},e.\u0275cmp=E({type:e,selectors:[["mat-tab-group"]],contentQueries:function(n,o,a){if(n&1&&Be(a,ti,5),n&2){let s;Q(s=K())&&(o._allTabs=s)}},viewQuery:function(n,o){if(n&1&&(ce(F5,5),ce(N5,5)),n&2){let a;Q(a=K())&&(o._tabBodyWrapper=a.first),Q(a=K())&&(o._tabHeader=a.first)}},hostAttrs:[1,"mat-mdc-tab-group"],hostVars:10,hostBindings:function(n,o){n&2&&(Yt("mat-"+(o.color||"primary")),ji("--mat-tab-animation-duration",o.animationDuration),ne("mat-mdc-tab-group-dynamic-height",o.dynamicHeight)("mat-mdc-tab-group-inverted-header",o.headerPosition==="below")("mat-mdc-tab-group-stretch-tabs",o.stretchTabs))},inputs:{color:"color",fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",Y],stretchTabs:[2,"mat-stretch-tabs","stretchTabs",Y],dynamicHeight:[2,"dynamicHeight","dynamicHeight",Y],selectedIndex:[2,"selectedIndex","selectedIndex",ni],headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:[2,"contentTabIndex","contentTabIndex",ni],disablePagination:[2,"disablePagination","disablePagination",Y],disableRipple:[2,"disableRipple","disableRipple",Y],preserveContent:[2,"preserveContent","preserveContent",Y],backgroundColor:"backgroundColor",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"]},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},exportAs:["matTabGroup"],standalone:!0,features:[Ce([{provide:OT,useExisting:e}]),ge,re],ngContentSelectors:My,decls:9,vars:8,consts:[["tabHeader",""],["tabBodyWrapper",""],["tabNode",""],[3,"indexFocused","selectFocusedIndex","selectedIndex","disableRipple","disablePagination","aria-label","aria-labelledby"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"id","mdc-tab--active","class","disabled","fitInkBarToContent"],[1,"mat-mdc-tab-body-wrapper"],["role","tabpanel",3,"id","mat-mdc-tab-body-active","class","content","position","origin","animationDuration","preserveContent"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"click","cdkFocusChange","id","disabled","fitInkBarToContent"],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"cdkPortalOutlet"],["role","tabpanel",3,"_onCentered","_onCentering","id","content","position","origin","animationDuration","preserveContent"]],template:function(n,o){if(n&1){let a=A();He(),c(0,"mat-tab-header",3,0),b("indexFocused",function(l){return y(a),w(o._focusChanged(l))})("selectFocusedIndex",function(l){return y(a),w(o.selectedIndex=l)}),Sr(2,B5,8,17,"div",4,Rc),d(),x(4,z5,1,0),c(5,"div",5,1),Sr(7,U5,1,13,"mat-tab-body",6,Rc),d()}n&2&&(p("selectedIndex",o.selectedIndex||0)("disableRipple",o.disableRipple)("disablePagination",o.disablePagination)("aria-label",o.ariaLabel)("aria-labelledby",o.ariaLabelledby),h(2),Er(o._tabs),h(2),De(o._isServer?4:-1),h(),ne("_mat-animation-noopable",o._animationMode==="NoopAnimations"),h(2),Er(o._tabs))},dependencies:[K5,RT,up,Tn,rn,PT],styles:['.mdc-tab{min-width:90px;padding:0 24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;z-index:1}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab--active .mdc-tab__text-label{transition-delay:100ms}._mat-animation-noopable .mdc-tab__text-label{transition:none}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transition:var(--mat-tab-animation-duration, 250ms) transform cubic-bezier(0.4, 0, 0.2, 1);transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}._mat-animation-noopable .mdc-tab-indicator__content,.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;height:var(--mdc-secondary-navigation-tab-container-height);font-family:var(--mat-tab-header-label-text-font, var(--mat-app-title-small-font));font-size:var(--mat-tab-header-label-text-size, var(--mat-app-title-small-size));letter-spacing:var(--mat-tab-header-label-text-tracking, var(--mat-app-title-small-tracking));line-height:var(--mat-tab-header-label-text-line-height, var(--mat-app-title-small-line-height));font-weight:var(--mat-tab-header-label-text-weight, var(--mat-app-title-small-weight))}.mat-mdc-tab.mdc-tab{flex-grow:0}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color, var(--mat-app-primary));border-top-width:var(--mdc-tab-indicator-active-indicator-height);border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color, var(--mat-app-on-surface))}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color, var(--mat-app-primary))}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color, var(--mat-app-primary))}.mat-mdc-tab.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-app-on-surface))}.mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color, var(--mat-app-on-surface));display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-app-on-surface))}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-focus-indicator::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}'],encapsulation:2});let i=e;return i})(),Iy=class{};var FT=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=te({type:e}),e.\u0275inj=ee({imports:[pe,pe]});let i=e;return i})();function i8(i,e){if(i&1){let r=A();c(0,"uds-field-text",2),b("changed",function(n){y(r);let o=_();return w(o.changed.emit(n))}),d()}if(i&2){let r=_();p("field",r.field)}}function n8(i,e){if(i&1){let r=A();c(0,"uds-field-autocomplete",2),b("changed",function(n){y(r);let o=_();return w(o.changed.emit(n))}),d()}if(i&2){let r=_();p("field",r.field)}}function o8(i,e){if(i&1){let r=A();c(0,"uds-field-textbox",2),b("changed",function(n){y(r);let o=_();return w(o.changed.emit(n))}),d()}if(i&2){let r=_();p("field",r.field)}}function r8(i,e){if(i&1){let r=A();c(0,"uds-field-numeric",2),b("changed",function(n){y(r);let o=_();return w(o.changed.emit(n))}),d()}if(i&2){let r=_();p("field",r.field)}}function a8(i,e){if(i&1){let r=A();c(0,"uds-field-password",2),b("changed",function(n){y(r);let o=_();return w(o.changed.emit(n))}),d()}if(i&2){let r=_();p("field",r.field)}}function s8(i,e){if(i&1){let r=A();c(0,"uds-field-hidden",2),b("changed",function(n){y(r);let o=_();return w(o.changed.emit(n))}),d()}if(i&2){let r=_();p("field",r.field)}}function l8(i,e){if(i&1){let r=A();c(0,"uds-field-choice",2),b("changed",function(n){y(r);let o=_();return w(o.changed.emit(n))}),d()}if(i&2){let r=_();p("field",r.field)}}function c8(i,e){if(i&1){let r=A();c(0,"uds-field-multichoice",2),b("changed",function(n){y(r);let o=_();return w(o.changed.emit(n))}),d()}if(i&2){let r=_();p("field",r.field)}}function d8(i,e){if(i&1){let r=A();c(0,"uds-field-editlist",2),b("changed",function(n){y(r);let o=_();return w(o.changed.emit(n))}),d()}if(i&2){let r=_();p("field",r.field)}}function u8(i,e){if(i&1){let r=A();c(0,"uds-field-checkbox",2),b("changed",function(n){y(r);let o=_();return w(o.changed.emit(n))}),d()}if(i&2){let r=_();p("field",r.field)}}function h8(i,e){if(i&1){let r=A();c(0,"uds-field-imgchoice",2),b("changed",function(n){y(r);let o=_();return w(o.changed.emit(n))}),d()}if(i&2){let r=_();p("field",r.field)}}function m8(i,e){if(i&1){let r=A();c(0,"uds-field-date",2),b("changed",function(n){y(r);let o=_();return w(o.changed.emit(n))}),d()}if(i&2){let r=_();p("field",r.field)}}function p8(i,e){if(i&1){let r=A();c(0,"uds-field-tags",2),b("changed",function(n){y(r);let o=_();return w(o.changed.emit(n))}),d()}if(i&2){let r=_();p("field",r.field)}}var $p=(()=>{let e=class e{constructor(){this.field={},this.changed=new T,this.udsGuiFieldType=Ki}ngOnInit(){}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=E({type:e,selectors:[["uds-field"]],inputs:{field:"field"},outputs:{changed:"changed"},decls:14,vars:15,consts:[["matTooltipShowDelay","1000",1,"field",3,"ngSwitch","matTooltip"],[3,"field","changed",4,"ngSwitchCase"],[3,"changed","field"]],template:function(n,o){n&1&&(c(0,"div",0),x(1,i8,1,1,"uds-field-text",1)(2,n8,1,1,"uds-field-autocomplete",1)(3,o8,1,1,"uds-field-textbox",1)(4,r8,1,1,"uds-field-numeric",1)(5,a8,1,1,"uds-field-password",1)(6,s8,1,1,"uds-field-hidden",1)(7,l8,1,1,"uds-field-choice",1)(8,c8,1,1,"uds-field-multichoice",1)(9,d8,1,1,"uds-field-editlist",1)(10,u8,1,1,"uds-field-checkbox",1)(11,h8,1,1,"uds-field-imgchoice",1)(12,m8,1,1,"uds-field-date",1)(13,p8,1,1,"uds-field-tags",1),d()),n&2&&(p("ngSwitch",o.field.gui.type)("matTooltip",o.field.gui.tooltip),h(),p("ngSwitchCase",o.udsGuiFieldType.TEXT),h(),p("ngSwitchCase",o.udsGuiFieldType.TEXT_AUTOCOMPLETE),h(),p("ngSwitchCase",o.udsGuiFieldType.TEXTBOX),h(),p("ngSwitchCase",o.udsGuiFieldType.NUMERIC),h(),p("ngSwitchCase",o.udsGuiFieldType.PASSWORD),h(),p("ngSwitchCase",o.udsGuiFieldType.HIDDEN),h(),p("ngSwitchCase",o.udsGuiFieldType.CHOICE),h(),p("ngSwitchCase",o.udsGuiFieldType.MULTI_CHOICE),h(),p("ngSwitchCase",o.udsGuiFieldType.EDITLIST),h(),p("ngSwitchCase",o.udsGuiFieldType.CHECKBOX),h(),p("ngSwitchCase",o.udsGuiFieldType.IMAGECHOICE),h(),p("ngSwitchCase",o.udsGuiFieldType.DATE),h(),p("ngSwitchCase",o.udsGuiFieldType.TAGLIST))},styles:["uds-field[_ngcontent-%COMP%]{flex:1 50%} .mat-mdc-form-field{width:calc(100% - 1px)} .mat-form-field-flex{padding-top:0!important} .mat-mdc-tooltip{font-size:.9rem!important;margin:0!important;max-width:26em!important}"]});let i=e;return i})();function g8(i,e){if(i&1&&g(0),i&2){let r=_().$implicit;F(" ",r," ")}}function _8(i,e){if(i&1){let r=A();c(0,"uds-field",9),b("changed",function(n){y(r);let o=_(3);return w(o.changed.emit(n))}),d()}if(i&2){let r=e.$implicit;p("field",r)}}function v8(i,e){if(i&1&&(c(0,"mat-tab",4),x(1,g8,1,1,"ng-template",5),c(2,"div",6)(3,"div",7),x(4,_8,1,1,"uds-field",8),d()()()),i&2){let r=e.$implicit,t=_(2);h(4),p("ngForOf",t.fieldsByTab[r])}}function b8(i,e){if(i&1&&(c(0,"mat-tab-group",2),x(1,v8,5,1,"mat-tab",3),d()),i&2){let r=_();p("disableRipple",!1)("@.disabled",!0),h(),p("ngForOf",r.tabs)}}function y8(i,e){if(i&1){let r=A();c(0,"div")(1,"uds-field",9),b("changed",function(n){y(r);let o=_(2);return w(o.changed.emit(n))}),d()()}if(i&2){let r=e.$implicit;h(),p("field",r)}}function w8(i,e){if(i&1&&(c(0,"div",6),x(1,y8,2,1,"div",10),d()),i&2){let r=_();h(),p("ngForOf",r.fields)}}var C8=django.gettext("Main"),NT=(()=>{let e=class e{constructor(){this.fields=[],this.changed=new T,this.tabs=new Array,this.fieldsByTab={}}ngOnInit(){this.fieldsByTab={};for(let t of this.fields){let n=t.gui.tab===void 0?C8:t.gui.tab;this.tabs.includes(n)||(this.tabs.push(n),this.fieldsByTab[n]=new Array),this.fieldsByTab[n].push(t)}}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=E({type:e,selectors:[["uds-form"]],inputs:{fields:"fields"},outputs:{changed:"changed"},decls:3,vars:2,consts:[["onlyone",""],["backgroundColor","primary",3,"disableRipple",4,"ngIf","ngIfElse"],["backgroundColor","primary",3,"disableRipple"],["class","noOverflow",4,"ngFor","ngForOf"],[1,"noOverflow"],["mat-tab-label",""],[1,"form-content"],[1,"content"],[3,"field","changed",4,"ngFor","ngForOf"],[3,"changed","field"],[4,"ngFor","ngForOf"]],template:function(n,o){if(n&1&&x(0,b8,2,3,"mat-tab-group",1)(1,w8,2,1,"ng-template",null,0,fi),n&2){let a=we(2);p("ngIf",o.tabs.length>1)("ngIfElse",a)}},dependencies:[We,me,ei,ti,oi,$p],styles:[".content[_ngcontent-%COMP%]{margin-top:.5rem;display:flex;flex-wrap:wrap}.form-content[_ngcontent-%COMP%]{padding-top:1rem} .mat-mdc-tab-body-content{overflow:hidden!important} .mat-mdc-form-field-infix{min-height:3rem} .mat-mdc-tab-header{position:sticky;top:0;z-index:1000}"]});let i=e;return i})();function D8(i,e){if(i&1){let r=A();c(0,"button",10),b("click",function(){y(r);let n=_();return w(n.customButtonClicked())}),g(1),d()}if(i&2){let r=_();h(),$e(r.data.customButton)}}var LT=(()=>{let e=class e{constructor(t,n){this.dialogRef=t,this.data=n,this.onEvent=new T(!0),this.saving=!1}ngOnInit(){this.onEvent.emit({type:"init",data:null,dialog:this.dialogRef})}changed(t){this.onEvent.emit({type:"changed",data:t,dialog:this.dialogRef})}getFields(){let t={},n=[];return this.data.guiFields.forEach(o=>{let a=o.value;if(o.gui.required&&a!==0&&a!==!1&&(!a||a instanceof Array&&a.length===0)&&n.push(o.gui.label),typeof a=="number"){let s=parseInt((o.gui.minValue||987654321).toString(),10),l=parseInt((o.gui.maxValue||987654321).toString(),10);s!==987654321&&a= "+o.gui.minValue),l!==987654321&&a>l&&n.push(o.gui.label+" <= "+o.gui.maxValue),a=a.toString()}t[o.name]=a}),{data:t,errors:n}}save(){let t=this.getFields();if(t.errors.length>0){this.data.gui.alert(django.gettext("Error"),django.gettext("Please, fill in require fields: ")+t.errors.join(", "));return}this.onEvent.emit({data:t.data,type:"save",dialog:this.dialogRef})}cancel(){this.onEvent.emit({data:null,type:"cancel",dialog:this.dialogRef})}customButtonClicked(){let t=this.getFields();this.onEvent.emit({data:t.data,type:this.data.customButton||"",errors:t.errors,dialog:this.dialogRef})}};e.\u0275fac=function(n){return new(n||e)(m(Ne),m(Ke))},e.\u0275cmp=E({type:e,selectors:[["uds-modal-form"]],decls:17,vars:7,consts:[["vc",""],["mat-dialog-title","",3,"innerHtml"],["autocomplete","off"],[3,"changed","fields"],[1,"buttons"],[1,"group1"],["ngClass","custom","mat-raised-button","",3,"click",4,"ngIf"],[1,"group2"],["mat-raised-button","",3,"click","disabled"],["mat-raised-button","","color","primary",3,"click","disabled"],["ngClass","custom","mat-raised-button","",3,"click"]],template:function(n,o){if(n&1){let a=A();I(0,"h4",1),_t(1,"safeHtml"),c(2,"mat-dialog-content",null,0)(4,"form",2)(5,"uds-form",3),b("changed",function(l){return y(a),w(o.changed(l))}),d()()(),c(6,"mat-dialog-actions")(7,"div",4)(8,"div",5),x(9,D8,2,1,"button",6),d(),c(10,"div",7)(11,"button",8),b("click",function(){return y(a),w(o.dialogRef.close())})("click",function(){return y(a),w(o.cancel())}),c(12,"uds-translate"),g(13,"Discard & close"),d()(),c(14,"button",9),b("click",function(){return y(a),w(o.save())}),c(15,"uds-translate"),g(16,"Save"),d()()()()()}n&2&&(p("innerHtml",Dt(1,5,o.data.title),qt),h(5),p("fields",o.data.guiFields),h(4),p("ngIf",o.data.customButton!==void 0),h(2),p("disabled",o.saving),h(3),p("disabled",o.saving))},dependencies:[Sn,me,zp,Lp,Oo,ke,Je,tt,et,le,NT,Dp],styles:["h4[_ngcontent-%COMP%]{margin-bottom:0}.buttons[_ngcontent-%COMP%]{display:flex;justify-content:space-between;width:100%} uds-field{flex:1 100%}button.custom[_ngcontent-%COMP%]{background-color:#4682b4;color:#fff}.modal-form[_ngcontent-%COMP%]{padding-top:1.5rem}"]});let i=e;return i})();var Wp=class{constructor(e){this.gui=e}modalForm(e,r,t=null,n){r.sort((l,u)=>l.gui.order>u.gui.order?1:-1);let o=t!=null;t=o?t:{},r.forEach(l=>{(o===!1||l.gui.readonly===void 0)&&(l.gui.readonly=!1),l.gui.type===Ki.TEXT&&l.gui.lines&&(l.gui.type=Ki.TEXTBOX);let u=t[l.name];if(u!==void 0)if(u instanceof Array){let f=new Array;u.forEach(v=>f.push(v)),l.value=f}else l.value=u});let a=window.innerWidth<800?"80%":"50%";return this.gui.dialog.open(LT,{position:{top:"64px"},width:a,data:{title:e,guiFields:r,customButton:n,gui:this.gui},disableClose:!0}).componentInstance.onEvent}typedForm(e,r,t,n,o,a,s){return W(this,null,function*(){let l=s||{},u=l.callback||(()=>{}),f=n||[],v=t?django.gettext("Test"):void 0,C={},D={},S=O=>{if(D.hasOwnProperty(O.name)){let de=D[O.name];O.value!==""&&O.value!==void 0&&this.executeCallback(e,O,C)}},P=l.snack||this.gui.snackbar.open(django.gettext("Loading data..."),django.gettext("dismiss")),z=yield e.table.rest.gui(a);if(P.dismiss(),f!==void 0)for(let O of f)z.push(O);for(let O of z){if(O.gui.type===Ki.INFO){O.name==="title"&&(r+=" "+(O.value||O.gui.default||""));continue}C[O.name]=O,O.gui.fills!==void 0&&(D[O.name]=O.gui.fills)}this.modalForm(r,z,o,v).subscribe(O=>W(this,null,function*(){switch(O.data&&(O.data.data_type=a),O.type){case v:if(O.errors&&O.errors.length>0){this.gui.alert(django.gettext("Error"),django.gettext("Please, fill in require fields: ")+O.errors.join(", "));return}this.gui.snackbar.open(django.gettext("Testing..."),django.gettext("dismiss")),e.table.rest.test(a,O.data).then(de=>{de!=="ok"?this.gui.snackbar.open(django.gettext("Test failed:")+" "+de,django.gettext("dismiss")):this.gui.snackbar.open(django.gettext("Test passed successfully"),django.gettext("dismiss"),{duration:2e3})});break;case"changed":case"init":if(O.data===null)for(let de of z)S(de);else S(O.data.field);u({on:O.data,all:C});break;case"save":if(l.save===void 0){O.dialog.componentInstance.saving=!0;try{o?yield e.table.rest.save(O.data,o.id):yield e.table.rest.create(O.data),this.gui.snackbar.open(django.gettext("Successfully saved"),django.gettext("dismiss"),{duration:2e3}),O.dialog.close(),e.table.overview()}finally{O.dialog.componentInstance.saving=!1}}else O.dialog.close(),l.save.resolve(O.data);break;case"cancel":O.dialog.close();break}}))})}typedEditForm(e,r,t=!1,n,o=()=>{}){return W(this,null,function*(){let a=e.table.selection.selected[0],s=a.type,l=new T,u=this.gui.snackbar.open(django.gettext("Loading data..."),django.gettext("dismiss")),f=yield e.table.rest.get(a.id);return this.typedForm(e,r,t,n,f,s,{snack:u,callback:o})})}typedNewForm(e,r,t=!1,n,o=()=>{}){return W(this,null,function*(){let a=e.param?e.param.type:void 0;return this.typedForm(e,r,t,n,null,a,{callback:o})})}deleteForm(e,r,t){return W(this,null,function*(){let n=new Array,o=new Array;for(let l of e.table.selection.selected){let u=l.name||l.friendly_name||l[t||"name"]||l.id;u&&u.changingThisBreaksApplicationSecurity&&(u=u.changingThisBreaksApplicationSecurity),n.push(u),o.push(l.id)}let a=django.gettext("Are you sure do you want to delete the following items?")+"
"+n.join(", ")+"";if(yield this.gui.questionDialog(r,a,!0)){for(let u of o)try{yield e.table.rest.delete(u)}catch(f){console.warn("Error deleting item",u,f)}let l=o.length;this.gui.snackbar.open(django.gettext("Deletion finished"),django.gettext("dismiss"),{duration:2e3}),e.table.overview()}})}executeCallback(o,a,s){return W(this,arguments,function*(e,r,t,n={}){let l=new Array;if(!r.gui.fills)return;for(let v of r.gui.fills.parameters)l.push(v+"="+encodeURIComponent(t[v].value));let u=yield e.table.rest.callback(r.gui.fills.callback_name,l.join("&")),f=new Array;for(let v of u){let C=t[v.name];if(C!==void 0){C.gui.fills!==void 0&&f.push(C);let D=new Array;for(let S of v.choices)D.push({id:S.id,text:S.text,img:S.img});if(C.gui.choices=D,C.value instanceof Array){let S=new Array;for(let P of C.gui.choices)C.value.indexOf(P.id)>=0&&S.push(P.id);C.value=S}else(!C.value||C.value instanceof Array&&C.value.length===0)&&(C.value=v.choices.length>0?v.choices[0].id:"")}}for(let v of f)n[v.name]===void 0&&(n[v.name]=!0,this.executeCallback(e,v,t,n))})}};var S8="display:inline-block; background-size: SIZE SIZE; background-repeat: no-repeat; width: SIZE; height: SIZE; vertical-align: middle; margin: 4px 8px 4px 0px;",Gp=class{constructor(e,r){this.dialog=e,this.snackbar=r,this.forms=new Wp(this)}alert(e,r,t=0,n){return W(this,null,function*(){let o=n||(window.innerWidth<800?"80%":"40%");return this.dialog.open(gy,{width:o,data:{title:e,body:r,autoclose:t,type:Pd.alert},disableClose:!0}).componentInstance.acceptance})}questionDialog(e,r,t=!1){return W(this,null,function*(){let n=window.innerWidth<800?"80%":"40%",o=this.dialog.open(gy,{width:n,data:{title:e,body:r,type:Pd.question,warnOnYes:t},disableClose:!0});return rr(o.componentInstance.acceptance)})}icon(e,r="24px"){return''}};var qp={production:!0};var gi=function(i){return i.NUMERIC="numeric",i.ALPHANUMERIC="alphanumeric",i.DATETIME="datetime",i.DATETIMESEC="datetimesec",i.DATE="date",i.TIME="time",i.ICON="iconType",i.CALLBACK="callback",i.DICTIONARY="dict",i.IMAGE="image",i}(gi||{}),ct=function(i){return i[i.ALWAYS=0]="ALWAYS",i[i.SINGLE_SELECT=1]="SINGLE_SELECT",i[i.MULTI_SELECT=2]="MULTI_SELECT",i[i.ONLY_MENU=3]="ONLY_MENU",i[i.ACCELERATOR=4]="ACCELERATOR",i}(ct||{});var Ty="provider",ky="service",Ud="pool",E8="authenticator",Hd="user",Ay="group",Oy="transport",Ry="osmanager",Yp="calendar",Py="poolgroup",I8={provider:django.gettext("provider"),service:django.gettext("service"),pool:django.gettext("service pool"),authenticator:django.gettext("authenticator"),mfa:django.gettext("MFA"),user:django.gettext("user"),group:django.gettext("group"),transport:django.gettext("transport"),osmanager:django.gettext("OS manager"),calendar:django.gettext("calendar"),poolgroup:django.gettext("pool group")},Ii=class{constructor(e){this.router=e}static getGotoButton(e,r,t){return{id:e,html:'link'+django.gettext("Go to")+" "+I8[e]+"",type:ct.ACCELERATOR,acceleratorProperties:[r,t||""]}}gotoProvider(e){e!==void 0?this.router.navigate(["services","providers",e]):this.router.navigate(["services","providers"])}gotoService(e,r){r!==void 0?this.router.navigate(["services","providers",e,"detail",r]):this.router.navigate(["services","providers",e,"detail"])}gotoServer(e){this.router.navigate(["services","servers",e])}gotoServerDetail(e){this.router.navigate(["services","servers",e,"detail"])}gotoServicePool(e){this.router.navigate(["pools","service-pools",e])}gotoServicePoolDetail(e){this.router.navigate(["pools","service-pools",e,"detail"])}gotoMetapool(e){this.router.navigate(["pools","meta-pools",e])}gotoMetapoolDetail(e){this.router.navigate(["pools","meta-pools",e,"detail"])}gotoCalendar(e){this.router.navigate(["pools","calendars",e])}gotoCalendarDetail(e){this.router.navigate(["pools","calendars",e,"detail"])}gotoAccount(e){this.router.navigate(["pools","accounts",e])}gotoAccountDetail(e){this.router.navigate(["pools","accounts",e,"detail"])}gotoPoolGroup(e){e=e||"",this.router.navigate(["pools","pool-groups",e])}gotoAuthenticator(e){this.router.navigate(["authenticators",e])}gotoAuthenticatorDetail(e){this.router.navigate(["authenticators",e,"detail"])}gotoMFA(e){this.router.navigate(["mfas",e])}gotoUser(e,r){this.router.navigate(["authenticators",e,"detail","users",r])}gotoGroup(e,r){this.router.navigate(["authenticators",e,"detail","groups",r])}gotoTransport(e){this.router.navigate(["connectivity/transports",e])}gotoTunnel(e){this.router.navigate(["connectivity/tunnels",e])}gotoTunnelDetail(e){this.router.navigate(["connectivity/tunnels",e,"detail"])}gotoOSManager(e){this.router.navigate(["osmanagers",e])}goto(e,r,t){let n=o=>{let a=r;if(t[o].split(".").forEach(s=>a=a[s]),!a)throw new Error("not going :)");return a};try{switch(e){case Ty:this.gotoProvider(n(0));break;case ky:this.gotoService(n(0),n(1));break;case Ud:this.gotoServicePool(n(0));break;case E8:this.gotoAuthenticator(n(0));break;case Hd:this.gotoUser(n(0),n(1));break;case Ay:this.gotoGroup(n(0),n(1));break;case Oy:this.gotoTransport(n(0));break;case Ry:this.gotoOSManager(n(0));break;case Yp:this.gotoCalendar(n(0));break;case Py:this.gotoPoolGroup(n(0));break}}catch{}}};function M8(i,e){if(i&1){let r=A();c(0,"div",1)(1,"button",2),b("click",function(){y(r);let n=_();return w(n.action())}),g(2),d()()}if(i&2){let r=_();h(2),F(" ",r.data.action," ")}}var T8=["label"];function k8(i,e){}var A8=Math.pow(2,31)-1,$d=class{constructor(e,r){this._overlayRef=r,this._afterDismissed=new G,this._afterOpened=new G,this._onAction=new G,this._dismissedByAction=!1,this.containerInstance=e,e._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(e){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(e,A8))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}},VT=new R("MatSnackBarData"),Hl=class{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}},O8=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=L({type:e,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"],standalone:!0});let i=e;return i})(),R8=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=L({type:e,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"],standalone:!0});let i=e;return i})(),P8=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=L({type:e,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"],standalone:!0});let i=e;return i})(),jT=(()=>{let e=class e{constructor(t,n){this.snackBarRef=t,this.data=n}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}};e.\u0275fac=function(n){return new(n||e)(m($d),m(VT))},e.\u0275cmp=E({type:e,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],standalone:!0,features:[re],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(n,o){n&1&&(c(0,"div",0),g(1),d(),x(2,M8,3,1,"div",1)),n&2&&(h(),F(" ",o.data.message,` -`),h(),De(o.hasAction?2:-1))},dependencies:[ke,O8,R8,P8],styles:[".mat-mdc-simple-snack-bar{display:flex}"],encapsulation:2,changeDetection:0});let i=e;return i})(),F8={snackBarState:ui("state",[Lt("void, hidden",Me({transform:"scale(0.8)",opacity:0})),Lt("visible",Me({transform:"scale(1)",opacity:1})),St("* => visible",Mt("150ms cubic-bezier(0, 0, 0.2, 1)")),St("* => void, * => hidden",Mt("75ms cubic-bezier(0.4, 0.0, 1, 1)",Me({opacity:0})))])},N8=0,L8=(()=>{let e=class e extends ga{constructor(t,n,o,a,s){super(),this._ngZone=t,this._elementRef=n,this._changeDetectorRef=o,this._platform=a,this.snackBarConfig=s,this._document=k(se),this._trackedModals=new Set,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new G,this._onExit=new G,this._onEnter=new G,this._animationState="void",this._liveElementId=`mat-snack-bar-container-live-${N8++}`,this.attachDomPortal=l=>{this._assertNotAttached();let u=this._portalOutlet.attachDomPortal(l);return this._afterPortalAttached(),u},s.politeness==="assertive"&&!s.announcementMessage?this._live="assertive":s.politeness==="off"?this._live="off":this._live="polite",this._platform.FIREFOX&&(this._live==="polite"&&(this._role="status"),this._live==="assertive"&&(this._role="alert"))}attachComponentPortal(t){this._assertNotAttached();let n=this._portalOutlet.attachComponentPortal(t);return this._afterPortalAttached(),n}attachTemplatePortal(t){this._assertNotAttached();let n=this._portalOutlet.attachTemplatePortal(t);return this._afterPortalAttached(),n}onAnimationEnd(t){let{fromState:n,toState:o}=t;if((o==="void"&&n!=="void"||o==="hidden")&&this._completeExit(),o==="visible"){let a=this._onEnter;this._ngZone.run(()=>{a.next(),a.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.markForCheck(),this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{this._animationState="hidden",this._changeDetectorRef.markForCheck(),this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){queueMicrotask(()=>{this._onExit.next(),this._onExit.complete()})}_afterPortalAttached(){let t=this._elementRef.nativeElement,n=this.snackBarConfig.panelClass;n&&(Array.isArray(n)?n.forEach(s=>t.classList.add(s)):t.classList.add(n)),this._exposeToModals();let o=this._label.nativeElement,a="mdc-snackbar__label";o.classList.toggle(a,!o.querySelector(`.${a}`))}_exposeToModals(){let t=this._liveElementId,n=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let o=0;o{let n=t.getAttribute("aria-owns");if(n){let o=n.replace(this._liveElementId,"").trim();o.length>0?t.setAttribute("aria-owns",o):t.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{let t=this._elementRef.nativeElement.querySelector("[aria-hidden]"),n=this._elementRef.nativeElement.querySelector("[aria-live]");if(t&&n){let o=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&t.contains(document.activeElement)&&(o=document.activeElement),t.removeAttribute("aria-hidden"),n.appendChild(t),o?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}};e.\u0275fac=function(n){return new(n||e)(m(Z),m(q),m(he),m(Ve),m(Hl))},e.\u0275cmp=E({type:e,selectors:[["mat-snack-bar-container"]],viewQuery:function(n,o){if(n&1&&(ce(rn,7),ce(T8,7)),n&2){let a;Q(a=K())&&(o._portalOutlet=a.first),Q(a=K())&&(o._label=a.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container"],hostVars:1,hostBindings:function(n,o){n&1&&Fc("@state.done",function(s){return o.onAnimationEnd(s)}),n&2&&Pc("@state",o._animationState)},standalone:!0,features:[be,re],decls:6,vars:3,consts:[["label",""],[1,"mdc-snackbar__surface","mat-mdc-snackbar-surface"],[1,"mat-mdc-snack-bar-label"],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(n,o){n&1&&(c(0,"div",1)(1,"div",2,0)(3,"div",3),x(4,k8,0,0,"ng-template",4),d(),I(5,"div"),d()()),n&2&&(h(5),ie("aria-live",o._live)("role",o._role)("id",o._liveElementId))},dependencies:[rn],styles:[".mat-mdc-snack-bar-container{display:flex;align-items:center;justify-content:center;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);margin:8px}.mat-mdc-snack-bar-handset .mat-mdc-snack-bar-container{width:100vw}.mat-mdc-snackbar-surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;padding-left:0;padding-right:8px}[dir=rtl] .mat-mdc-snackbar-surface{padding-right:0;padding-left:8px}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{min-width:344px;max-width:672px}.mat-mdc-snack-bar-handset .mat-mdc-snackbar-surface{width:100%;min-width:0}.cdk-high-contrast-active .mat-mdc-snackbar-surface{outline:solid 1px}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{color:var(--mdc-snackbar-supporting-text-color, var(--mat-app-inverse-on-surface));border-radius:var(--mdc-snackbar-container-shape, var(--mat-app-corner-extra-small));background-color:var(--mdc-snackbar-container-color, var(--mat-app-inverse-surface))}.mdc-snackbar__label{width:100%;flex-grow:1;box-sizing:border-box;margin:0;padding:14px 8px 14px 16px}[dir=rtl] .mdc-snackbar__label{padding-left:8px;padding-right:16px}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-family:var(--mdc-snackbar-supporting-text-font, var(--mat-app-body-medium-font));font-size:var(--mdc-snackbar-supporting-text-size, var(--mat-app-body-medium-size));font-weight:var(--mdc-snackbar-supporting-text-weight, var(--mat-app-body-medium-weight));line-height:var(--mdc-snackbar-supporting-text-line-height, var(--mat-app-body-medium-line-height))}.mat-mdc-snack-bar-actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){color:var(--mat-snack-bar-button-color, var(--mat-app-inverse-primary));--mat-text-button-state-layer-color:currentColor;--mat-text-button-ripple-color:currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{opacity:.1}"],encapsulation:2,data:{animation:[F8.snackBarState]}});let i=e;return i})();function V8(){return new Hl}var j8=new R("mat-snack-bar-default-options",{providedIn:"root",factory:V8}),Fy=(()=>{let e=class e{get _openedSnackBarRef(){let t=this._parentSnackBar;return t?t._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(t){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=t:this._snackBarRefAtThisLevel=t}constructor(t,n,o,a,s,l){this._overlay=t,this._live=n,this._injector=o,this._breakpointObserver=a,this._parentSnackBar=s,this._defaultConfig=l,this._snackBarRefAtThisLevel=null,this.simpleSnackBarComponent=jT,this.snackBarContainerComponent=L8,this.handsetCssClass="mat-mdc-snack-bar-handset"}openFromComponent(t,n){return this._attach(t,n)}openFromTemplate(t,n){return this._attach(t,n)}open(t,n="",o){let a=j(j({},this._defaultConfig),o);return a.data={message:t,action:n},a.announcementMessage===t&&(a.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,a)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(t,n){let o=n&&n.viewContainerRef&&n.viewContainerRef.injector,a=Pe.create({parent:o||this._injector,providers:[{provide:Hl,useValue:n}]}),s=new In(this.snackBarContainerComponent,n.viewContainerRef,a),l=t.attach(s);return l.instance.snackBarConfig=n,l.instance}_attach(t,n){let o=j(j(j({},new Hl),this._defaultConfig),n),a=this._createOverlay(o),s=this._attachSnackBarContainer(a,o),l=new $d(s,a);if(t instanceof dt){let u=new Oi(t,null,{$implicit:o.data,snackBarRef:l});l.instance=s.attachTemplatePortal(u)}else{let u=this._createInjector(o,l),f=new In(t,void 0,u),v=s.attachComponentPortal(f);l.instance=v.instance}return this._breakpointObserver.observe(np.HandsetPortrait).pipe(fe(a.detachments())).subscribe(u=>{a.overlayElement.classList.toggle(this.handsetCssClass,u.matches)}),o.announcementMessage&&s._onAnnounce.subscribe(()=>{this._live.announce(o.announcementMessage,o.politeness)}),this._animateSnackBar(l,o),this._openedSnackBarRef=l,this._openedSnackBarRef}_animateSnackBar(t,n){t.afterDismissed().subscribe(()=>{this._openedSnackBarRef==t&&(this._openedSnackBarRef=null),n.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{t.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):t.containerInstance.enter(),n.duration&&n.duration>0&&t.afterOpened().subscribe(()=>t._dismissAfter(n.duration))}_createOverlay(t){let n=new Mn;n.direction=t.direction;let o=this._overlay.position().global(),a=t.direction==="rtl",s=t.horizontalPosition==="left"||t.horizontalPosition==="start"&&!a||t.horizontalPosition==="end"&&a,l=!s&&t.horizontalPosition!=="center";return s?o.left("0"):l?o.right("0"):o.centerHorizontally(),t.verticalPosition==="top"?o.top("0"):o.bottom("0"),n.positionStrategy=o,this._overlay.create(n)}_createInjector(t,n){let o=t&&t.viewContainerRef&&t.viewContainerRef.injector;return Pe.create({parent:o||this._injector,providers:[{provide:$d,useValue:n},{provide:VT,useValue:t.data}]})}};e.\u0275fac=function(n){return new(n||e)(M(xt),M(dp),M(Pe),M(Al),M(e,12),M(j8))},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var BT=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=te({type:e}),e.\u0275inj=ee({providers:[Fy],imports:[an,zn,ar,pe,jT,pe]});let i=e;return i})();var zT="dark-theme",UT="light-theme",B=(()=>{let e=class e{constructor(t,n,o,a,s,l){this.http=t,this.router=n,this.dialog=o,this.snackbar=a,this.sanitizer=s,this.dateAdapter=l,this.user=new Km(udsData.profile),this.navigation=new Ii(this.router),this.gui=new Gp(this.dialog,this.snackbar),this.dateAdapter.setLocale(this.config.language)}get config(){return udsData.config}get csrfField(){return csrf.csrfField}get csrfToken(){return csrf.csrfToken}get notices(){return udsData.errors}restPath(t){return this.config.urls.rest+t}staticURL(t){return qp.production?this.config.urls.static+t:"/static/"+t}logout(){window.location.href=this.config.urls.logout}gotoUser(){window.location.href=this.config.urls.user}putOnStorage(t,n){typeof Storage!==void 0&&sessionStorage.setItem(t,n)}getFromStorage(t){return typeof Storage!==void 0?sessionStorage.getItem(t):null}safeString(t){return this.sanitizer.bypassSecurityTrustHtml(t)}boolAsHumanString(t){return t?django.gettext("yes"):django.gettext("no")}switchTheme(t){let n=document.getElementsByTagName("html")[0];[zT,UT].forEach(o=>{n.classList.contains(o)&&n.classList.remove(o)}),n.classList.add(t?zT:UT)}};e.\u0275fac=function(n){return new(n||e)(M(Uc),M(nr),M(Rd),M(Fy),M(is),M(Ri))},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var HT=(()=>{let e=class e{constructor(t){this.api=t}canActivate(t,n){return this.api.user.isStaff?!0:(window.location.href=this.api.config.urls.user,!1)}};e.\u0275fac=function(n){return new(n||e)(M(B))},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var $l=3e4,Vr=function(i){return i[i.NONE=0]="NONE",i[i.READ=32]="READ",i[i.MANAGEMENT=64]="MANAGEMENT",i[i.ALL=96]="ALL",i}(Vr||{}),_i=class{constructor(e,r,t){this.api=e,t===void 0&&(t={}),t.base===void 0&&(t.base=r);let n=(o,a)=>o===void 0?a:o;this.id=r,this.paths={base:t.base,get:n(t.get,t.base),log:n(t.log,t.base),put:n(t.put,t.base),test:n(t.test,t.base+"/test"),delete:n(t.delete,t.base),types:n(t.types,t.base+"/types"),gui:n(t.gui,t.base+"/gui"),tableInfo:n(t.tableInfo,t.base+"/tableinfo")},this.headers=new Eo().set("Content-Type","application/json; charset=utf8").set(this.api.config.auth_header,this.api.config.auth_token)}get(e){return this.typedGet(e)}getLogs(e){return this.doGet(this.getPath(this.paths.log,e)+"/log")}overview(e){return this.typedGet("overview"+(e!==void 0?"?filter="+e:""))}summary(e){return this.typedGet("overview?summarize"+(e!==void 0?"&filter="+e:""))}put(e,r){return this.typedPut(e,r)}create(e){return this.typedPut(e)}save(e,r){return r=r!==void 0?r:e.id,this.typedPut(e,r)}test(e,r){return rr(this.api.http.post(this.getPath(this.paths.test,e),r,{headers:this.headers}).pipe(Wi(t=>this.handleError(t))),$l)}delete(e){return rr(this.api.http.delete(this.getPath(this.paths.delete,e),{headers:this.headers}).pipe(Wi(r=>this.handleError(r))),$l)}permision(){return this.api.user.isAdmin?Vr.ALL:Vr.NONE}getPermissions(e){return this.doGet(this.getPath("permissions/"+this.paths.base+"/"+e))}addPermission(e,r,t,n){let o=this.getPath("permissions/"+this.paths.base+"/"+e+"/"+r+"/add/"+t),a={perm:n};return rr(this.api.http.put(o,a,{headers:this.headers}).pipe(Wi(s=>this.handleError(s))),$l)}revokePermission(e){let r=this.getPath("permissions/revoke"),t={items:e};return rr(this.api.http.put(r,t,{headers:this.headers}).pipe(Wi(n=>this.handleError(n))),$l)}types(){return this.doGet(this.getPath(this.paths.types))}gui(e){let r=this.getPath(this.paths.gui+(e!==void 0?"/"+e:""));return this.doGet(r)}callback(e,r){let t=this.getPath("gui/callback/"+e+"?"+r);return this.doGet(t)}tableInfo(){return this.doGet(this.getPath(this.paths.tableInfo))}detail(e,r){return new Ny(this,e,r)}invoke(e,r){let t=e+(r?"?"+r:"");return this.typedGet(t)}getPath(e,r){if(e===void 0)throw new Error("Path is undefined");return this.api.restPath(e+(r!==void 0?"/"+r:""))}doGet(e){return rr(this.api.http.get(e,{headers:this.headers}).pipe(Wi(r=>this.handleError(r))),$l)}typedGet(e){return this.doGet(this.getPath(this.paths.get,e))}typedPut(e,r){return rr(this.api.http.put(this.getPath(this.paths.put,r),e,{headers:this.headers}).pipe(Wi(t=>this.handleError(t,!0))),$l)}handleError(e,r=!1){let t="";return e.error instanceof ErrorEvent?t=e.error.message:r?t=django.gettext("Error saving: ")+e.error:t=`Error ${e.status}: ${e.error}`,this.api.gui.alert(r?django.gettext("Error saving element"):django.gettext("Error handling your request"),t),jo(()=>new Error(t))}},Ny=class extends _i{constructor(e,r,t,n){super(e.api,[e.paths.base,r,t].join("/")),this.parentModel=e,this.parentId=r,this.model=t,this.perm=n}permision(){return this.perm||Vr.ALL}},Qp=class extends _i{constructor(e){super(e,"providers"),this.api=e}allServices(){return this.get("allservices")}service(e){return this.get("service/"+e)}maintenance(e){return this.get(e+"/maintenance")}},Kp=class extends _i{constructor(e){super(e,"authenticators"),this.api=e}search(e,r,t,n=12){return this.get(e+"/search?type="+encodeURIComponent(r)+"&term="+encodeURIComponent(t)+"&limit="+n)}},Zp=class extends _i{constructor(e){super(e,"osmanagers"),this.api=e}},Xp=class extends _i{constructor(e){super(e,"transports"),this.api=e}},Jp=class extends _i{constructor(e){super(e,"networks"),this.api=e}},ef=class extends _i{constructor(e){super(e,"tunnels/tunnels"),this.api=e}maintenance(e){return this.get(e+"/maintenance")}tunnels(e){return this.get(e+"/tunnels")}assign(e,r){return this.get(e+"/assign/"+r)}},tf=class extends _i{constructor(e){super(e,"servers/groups"),this.api=e}maintenance(e){return this.get(e+"/maintenance")}},nf=class extends _i{constructor(e){super(e,"servicespools"),this.api=e}setFallbackAccess(e,r){return this.get(e+"/setFallbackAccess?fallbackAccess="+r)}getFallbackAccess(e){return this.get(e+"/getFallbackAccess")}actionsList(e){return this.get(e+"/actionsList")}listAssignables(e){return this.get(e+"/listAssignables")}createFromAssignable(e,r,t){return this.get(e+"/createFromAssignable?user_id="+encodeURIComponent(r)+"&assignable_id="+encodeURIComponent(t))}},of=class extends _i{constructor(e){super(e,"metapools"),this.api=e}setFallbackAccess(e,r){return this.get(e+"/setFallbackAccess?fallbackAccess="+r)}getFallbackAccess(e){return this.get(e+"/getFallbackAccess")}},rf=class extends _i{constructor(e){super(e,"config"),this.api=e}},af=class extends _i{constructor(e){super(e,"gallery/images"),this.api=e}},sf=class extends _i{constructor(e){super(e,"gallery/servicespoolgroups"),this.api=e}},lf=class extends _i{constructor(e){super(e,"system"),this.api=e}information(){return this.get("overview")}stats(e,r){let t="stats/"+e;return r&&(t+="/"+r),this.get(t)}flushCache(){return this.doGet(this.getPath("cache","flush"))}},cf=class extends _i{constructor(e){super(e,"reports"),this.api=e}types(){return rr(oe([]))}},df=class extends _i{constructor(e){super(e,"calendars"),this.api=e}},uf=class extends _i{constructor(e){super(e,"accounts"),this.api=e}timemark(e){return this.get(e+"/timemark")}},hf=class extends _i{constructor(e){super(e,"actortokens"),this.api=e}},mf=class extends _i{constructor(e){super(e,"servers/tokens"),this.api=e}},pf=class extends _i{constructor(e){super(e,"mfa"),this.api=e}},ff=class extends _i{constructor(e){super(e,"messaging/notifiers"),this.api=e}};var X=(()=>{let e=class e{constructor(t){this.api=t,this.providers=new Qp(t),this.serverGroups=new tf(t),this.authenticators=new Kp(t),this.mfas=new pf(t),this.osManagers=new Zp(t),this.transports=new Xp(t),this.networks=new Jp(t),this.tunnels=new ef(t),this.servicesPools=new nf(t),this.metaPools=new of(t),this.gallery=new af(t),this.servicesPoolGroups=new sf(t),this.calendars=new df(t),this.accounts=new uf(t),this.system=new lf(t),this.configuration=new rf(t),this.actorToken=new hf(t),this.serversTokens=new mf(t),this.reports=new cf(t),this.notifiers=new ff(t)}};e.\u0275fac=function(n){return new(n||e)(M(B))},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var Ly=class{constructor(){this.subject=new Zn(1),this.subscriptions=new ve}doFilter(e){this.subject.next(e)}dispose(){this.subscriptions.unsubscribe()}notEmpty(e,r){this.subscriptions.add(this.subject.subscribe(t=>{if(t[e]){let n=t[e].currentValue;n!=null&&r(n)}}))}has(e,r){this.subscriptions.add(this.subject.subscribe(t=>{if(t[e]){let n=t[e].currentValue;r(n)}}))}notFirst(e,r){this.subscriptions.add(this.subject.subscribe(t=>{if(t[e]&&!t[e].isFirstChange()){let n=t[e].currentValue;r(n)}}))}notFirstAndEmpty(e,r){this.subscriptions.add(this.subject.subscribe(t=>{if(t[e]&&!t[e].isFirstChange()){let n=t[e].currentValue;n!=null&&r(n)}}))}},$T=new R("NGX_ECHARTS_CONFIG"),gf=(()=>{let e=class e{constructor(t,n,o){this.el=n,this.ngZone=o,this.options=null,this.theme=null,this.initOpts=null,this.merge=null,this.autoResize=!0,this.loading=!1,this.loadingType="default",this.loadingOpts=null,this.chartInit=new T,this.optionsError=new T,this.chartClick=this.createLazyEvent("click"),this.chartDblClick=this.createLazyEvent("dblclick"),this.chartMouseDown=this.createLazyEvent("mousedown"),this.chartMouseMove=this.createLazyEvent("mousemove"),this.chartMouseUp=this.createLazyEvent("mouseup"),this.chartMouseOver=this.createLazyEvent("mouseover"),this.chartMouseOut=this.createLazyEvent("mouseout"),this.chartGlobalOut=this.createLazyEvent("globalout"),this.chartContextMenu=this.createLazyEvent("contextmenu"),this.chartHighlight=this.createLazyEvent("highlight"),this.chartDownplay=this.createLazyEvent("downplay"),this.chartSelectChanged=this.createLazyEvent("selectchanged"),this.chartLegendSelectChanged=this.createLazyEvent("legendselectchanged"),this.chartLegendSelected=this.createLazyEvent("legendselected"),this.chartLegendUnselected=this.createLazyEvent("legendunselected"),this.chartLegendLegendSelectAll=this.createLazyEvent("legendselectall"),this.chartLegendLegendInverseSelect=this.createLazyEvent("legendinverseselect"),this.chartLegendScroll=this.createLazyEvent("legendscroll"),this.chartDataZoom=this.createLazyEvent("datazoom"),this.chartDataRangeSelected=this.createLazyEvent("datarangeselected"),this.chartGraphRoam=this.createLazyEvent("graphroam"),this.chartGeoRoam=this.createLazyEvent("georoam"),this.chartTreeRoam=this.createLazyEvent("treeroam"),this.chartTimelineChanged=this.createLazyEvent("timelinechanged"),this.chartTimelinePlayChanged=this.createLazyEvent("timelineplaychanged"),this.chartRestore=this.createLazyEvent("restore"),this.chartDataViewChanged=this.createLazyEvent("dataviewchanged"),this.chartMagicTypeChanged=this.createLazyEvent("magictypechanged"),this.chartGeoSelectChanged=this.createLazyEvent("geoselectchanged"),this.chartGeoSelected=this.createLazyEvent("geoselected"),this.chartGeoUnselected=this.createLazyEvent("geounselected"),this.chartAxisAreaSelected=this.createLazyEvent("axisareaselected"),this.chartBrush=this.createLazyEvent("brush"),this.chartBrushEnd=this.createLazyEvent("brushend"),this.chartBrushSelected=this.createLazyEvent("brushselected"),this.chartGlobalCursorTaken=this.createLazyEvent("globalcursortaken"),this.chartRendered=this.createLazyEvent("rendered"),this.chartFinished=this.createLazyEvent("finished"),this.animationFrameID=null,this.chart$=new Zn(1),this.resize$=new G,this.changeFilter=new Ly,this.resizeObFired=!1,this.echarts=t.echarts,this.theme=t.theme||null}ngOnChanges(t){this.changeFilter.doFilter(t)}ngOnInit(){if(!window.ResizeObserver)throw new Error("please install a polyfill for ResizeObserver");this.resizeSub=this.resize$.pipe(n_(100,Ji,{leading:!1,trailing:!0})).subscribe(()=>this.resize()),this.autoResize&&(this.resizeOb=this.ngZone.runOutsideAngular(()=>new window.ResizeObserver(t=>{for(let n of t)n.target===this.el.nativeElement&&(this.resizeObFired?this.animationFrameID=window.requestAnimationFrame(()=>{this.resize$.next()}):this.resizeObFired=!0)})),this.resizeOb.observe(this.el.nativeElement)),this.changeFilter.notFirstAndEmpty("options",t=>this.onOptionsChange(t)),this.changeFilter.notFirstAndEmpty("merge",t=>this.setOption(t)),this.changeFilter.has("loading",t=>this.toggleLoading(!!t)),this.changeFilter.notFirst("theme",()=>this.refreshChart())}ngOnDestroy(){window.clearTimeout(this.initChartTimer),this.resizeSub&&this.resizeSub.unsubscribe(),this.animationFrameID&&window.cancelAnimationFrame(this.animationFrameID),this.resizeOb&&this.resizeOb.unobserve(this.el.nativeElement),this.loadingSub&&this.loadingSub.unsubscribe(),this.changeFilter.dispose(),this.dispose()}ngAfterViewInit(){this.initChartTimer=window.setTimeout(()=>this.initChart())}dispose(){this.chart&&(this.chart.isDisposed()||this.chart.dispose(),this.chart=null)}resize(){this.chart&&this.chart.resize()}toggleLoading(t){this.chart?t?this.chart.showLoading(this.loadingType,this.loadingOpts):this.chart.hideLoading():this.loadingSub=this.chart$.subscribe(n=>t?n.showLoading(this.loadingType,this.loadingOpts):n.hideLoading())}setOption(t,n){if(this.chart)try{this.chart.setOption(t,n)}catch(o){console.error(o),this.optionsError.emit(o)}}refreshChart(){return W(this,null,function*(){this.dispose(),yield this.initChart()})}createChart(){let t=this.el.nativeElement;if(window&&window.getComputedStyle){let n=window.getComputedStyle(t,null).getPropertyValue("height");(!n||n==="0px")&&(!t.style.height||t.style.height==="0px")&&(t.style.height="400px")}return this.ngZone.runOutsideAngular(()=>(typeof this.echarts=="function"?this.echarts:()=>Promise.resolve(this.echarts))().then(({init:o})=>o(t,this.theme,this.initOpts)))}initChart(){return W(this,null,function*(){yield this.onOptionsChange(this.options),this.merge&&this.chart&&this.setOption(this.merge)})}onOptionsChange(t){return W(this,null,function*(){t&&(this.chart?this.setOption(this.options,!0):(this.chart=yield this.createChart(),this.chart$.next(this.chart),this.chartInit.emit(this.chart),this.setOption(this.options,!0)))})}createLazyEvent(t){return this.chartInit.pipe(Tt(n=>new Re(o=>(n.on(t,a=>this.ngZone.run(()=>o.next(a))),()=>{this.chart&&(this.chart.isDisposed()||n.off(t))}))))}};e.\u0275fac=function(n){return new(n||e)(m($T),m(q),m(Z))},e.\u0275dir=L({type:e,selectors:[["echarts"],["","echarts",""]],inputs:{options:"options",theme:"theme",initOpts:"initOpts",merge:"merge",autoResize:"autoResize",loading:"loading",loadingType:"loadingType",loadingOpts:"loadingOpts"},outputs:{chartInit:"chartInit",optionsError:"optionsError",chartClick:"chartClick",chartDblClick:"chartDblClick",chartMouseDown:"chartMouseDown",chartMouseMove:"chartMouseMove",chartMouseUp:"chartMouseUp",chartMouseOver:"chartMouseOver",chartMouseOut:"chartMouseOut",chartGlobalOut:"chartGlobalOut",chartContextMenu:"chartContextMenu",chartHighlight:"chartHighlight",chartDownplay:"chartDownplay",chartSelectChanged:"chartSelectChanged",chartLegendSelectChanged:"chartLegendSelectChanged",chartLegendSelected:"chartLegendSelected",chartLegendUnselected:"chartLegendUnselected",chartLegendLegendSelectAll:"chartLegendLegendSelectAll",chartLegendLegendInverseSelect:"chartLegendLegendInverseSelect",chartLegendScroll:"chartLegendScroll",chartDataZoom:"chartDataZoom",chartDataRangeSelected:"chartDataRangeSelected",chartGraphRoam:"chartGraphRoam",chartGeoRoam:"chartGeoRoam",chartTreeRoam:"chartTreeRoam",chartTimelineChanged:"chartTimelineChanged",chartTimelinePlayChanged:"chartTimelinePlayChanged",chartRestore:"chartRestore",chartDataViewChanged:"chartDataViewChanged",chartMagicTypeChanged:"chartMagicTypeChanged",chartGeoSelectChanged:"chartGeoSelectChanged",chartGeoSelected:"chartGeoSelected",chartGeoUnselected:"chartGeoUnselected",chartAxisAreaSelected:"chartAxisAreaSelected",chartBrush:"chartBrush",chartBrushEnd:"chartBrushEnd",chartBrushSelected:"chartBrushSelected",chartGlobalCursorTaken:"chartGlobalCursorTaken",chartRendered:"chartRendered",chartFinished:"chartFinished"},exportAs:["echarts"],standalone:!0,features:[Qe]});let i=e;return i})();var z8=i=>({provide:$T,useValue:i}),WT=(()=>{let e=class e{static forRoot(t){return{ngModule:e,providers:[z8(t)]}}static forChild(){return{ngModule:e}}};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=te({type:e}),e.\u0275inj=ee({});let i=e;return i})();function U8(i,e){if(i&1&&(c(0,"div",21)(1,"div",11),I(2,"img",4),c(3,"div",12),g(4),d()(),c(5,"div",13)(6,"a",15)(7,"uds-translate"),g(8,"View service pools"),d()()()()),i&2){let r=_(2);h(2),p("src",r.api.staticURL("admin/img/icons/logs.png"),Ie),h(2),F(" ",r.data.restrained," ")}}function H8(i,e){if(i&1){let r=A();c(0,"div")(1,"div",8)(2,"div",9)(3,"div",10)(4,"div",11),I(5,"img",4),c(6,"div",12),g(7),d()(),c(8,"div",13)(9,"a",14)(10,"uds-translate"),g(11,"View authenticators"),d()()()(),c(12,"div",10)(13,"div",11),I(14,"img",4),c(15,"div",12),g(16),d()(),c(17,"div",13)(18,"a",15)(19,"uds-translate"),g(20,"View service pools"),d()()()(),c(21,"div",10)(22,"div",11),I(23,"img",4),c(24,"div",12),g(25),d()(),c(26,"div",13)(27,"a",15)(28,"uds-translate"),g(29,"View service pools"),d()()()(),x(30,U8,9,2,"div",16),d(),c(31,"div",17)(32,"div",18)(33,"div",19)(34,"uds-translate"),g(35,"Assigned services chart"),d()(),c(36,"div",20),b("chartInit",function(n){y(r);let o=_();return w(o.chartInit("assigned",n))}),d()(),c(37,"div",18)(38,"div",19)(39,"uds-translate"),g(40,"In use services chart"),d()(),c(41,"div",20),b("chartInit",function(n){y(r);let o=_();return w(o.chartInit("inuse",n))}),d()()()()()}if(i&2){let r=_();h(5),p("src",r.api.staticURL("admin/img/icons/authenticators.png"),Ie),h(2),F(" ",r.data.users," "),h(7),p("src",r.api.staticURL("admin/img/icons/pools.png"),Ie),h(2),F(" ",r.data.pools," "),h(7),p("src",r.api.staticURL("admin/img/icons/services.png"),Ie),h(2),F(" ",r.data.user_services," "),h(5),p("ngIf",r.data.restrained),h(6),p("options",r.assignedChartOpts),h(5),p("options",r.inuseChartOpts)}}function $8(i,e){i&1&&(c(0,"div",22)(1,"div",23)(2,"div",24)(3,"uds-translate"),g(4,"UDS Administration"),d()(),c(5,"div",25)(6,"p")(7,"uds-translate"),g(8,"You are accessing UDS Administration as staff member."),d()(),c(9,"p")(10,"uds-translate"),g(11,"This means that you have restricted access to elements."),d()(),c(12,"p")(13,"uds-translate"),g(14,"In order to increase your access privileges, please contact your local UDS administrator. "),d()(),I(15,"br"),c(16,"p")(17,"uds-translate"),g(18,"Thank you."),d()()()()())}var qT=(()=>{let e=class e{constructor(t,n){this.api=t,this.rest=n,this.data={},this.assignedChartInstance=null,this.assignedChartOpts={},this.inuseChartOpts={},this.inuseChartInstance=null}onResize(t){this.assignedChartInstance&&this.assignedChartInstance.resize(),this.inuseChartInstance&&this.inuseChartInstance.resize()}ngOnInit(){if(this.api.user.isAdmin){this.rest.system.information().then(t=>{this.data={users:django.gettext("#USR_NUMBER# users, #GRP_NUMBER# groups").replace("#USR_NUMBER#",t.users).replace("#GRP_NUMBER#",t.groups),pools:django.gettext("#POOLS_NUMBER# service pools").replace("#POOLS_NUMBER#",t.service_pools),user_services:django.gettext("#SERVICES_NUMBER# user services").replace("#SERVICES_NUMBER#",t.user_services)},t.restrained_services_pools>0&&(this.data.restrained=django.gettext("#RESTRAINED_NUMBER# restrained services!").replace("#RESTRAINED_NUMBER#",t.restrained_services_pools))});for(let t of["assigned","inuse"])this.rest.system.stats(t).then(n=>{let o={tooltip:{trigger:"axis"},toolbox:{feature:{dataZoom:{yAxisIndex:"none"},restore:{},saveAsImage:{}}},xAxis:{type:"category",data:n.map(a=>$i("SHORT_DATE_FORMAT",new Date(a.stamp))),boundaryGap:!1},yAxis:{type:"value"},series:[{name:t==="assigned"?django.gettext("Assigned services"):django.gettext("Services in use"),type:"line",smooth:!0,areaStyle:{},data:n.map(a=>a.value)}]};t==="assigned"?this.assignedChartOpts=o:this.inuseChartOpts=o})}}chartInit(t,n){t==="assigned"?this.assignedChartInstance=n:this.inuseChartInstance=n}};e.\u0275fac=function(n){return new(n||e)(m(B),m(X))},e.\u0275cmp=E({type:e,selectors:[["uds-summary"]],hostBindings:function(n,o){n&1&&b("resize",function(s){return o.onResize(s)},!1,Jh)},decls:11,vars:3,consts:[["noAdmin",""],[1,"card"],[1,"card-header"],[1,"card-title"],[3,"src"],[1,"card-subtitle"],[1,"card-content"],[4,"ngIf","ngIfElse"],[1,"admin"],[1,"information"],[1,"info-panel"],[1,"info-panel-data"],[1,"info-text"],[1,"info-panel-link"],["mat-button","","routerLink","/authenticators"],["mat-button","","routerLink","/pools/service-pools"],["class","info-panel info-danger",4,"ngIf"],[1,"statistics"],[1,"statistics-chart"],[1,"statistics-title"],["echarts","","theme","dark-digerati",3,"chartInit","options"],[1,"info-panel","info-danger"],[1,"staff-container"],[1,"staff","mat-elevation-z8"],[1,"staff-header"],[1,"staff-content"]],template:function(n,o){if(n&1&&(c(0,"div",1)(1,"div",2)(2,"div",3),I(3,"img",4),c(4,"uds-translate"),g(5,"Dashboard"),d()(),I(6,"div",5),d(),c(7,"div",6),x(8,H8,42,9,"div",7)(9,$8,19,0,"ng-template",null,0,fi),d()()),n&2){let a=we(10);h(3),p("src",o.api.staticURL("admin/img/icons/dashboard-monitor.png"),Ie),h(5),p("ngIf",o.api.user.isAdmin)("ngIfElse",a)}},dependencies:[me,bi,xa,gf,le],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;inset:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_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{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border:var(--mat-focus-indicator-border-width, 3px) var(--mat-focus-indicator-border-style, solid) var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator[_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{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-mdc-focus-indicator-display, none);border:var(--mat-mdc-focus-indicator-border-width, 3px) var(--mat-mdc-focus-indicator-border-style, solid) var(--mat-mdc-focus-indicator-border-color, transparent);border-radius:var(--mat-mdc-focus-indicator-border-radius, 4px)}.mat-mdc-focus-indicator[_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, var(--mat-app-background, transparent));color:var(--mat-app-text-color, var(--mat-app-on-background, inherit))}.mat-elevation-z0[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z0[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-0, none)}.mat-elevation-z1[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z1[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-1, none)}.mat-elevation-z2[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z2[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-2, none)}.mat-elevation-z3[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z3[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-3, none)}.mat-elevation-z4[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z4[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-4, none)}.mat-elevation-z5[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z5[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-5, none)}.mat-elevation-z6[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z6[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-6, none)}.mat-elevation-z7[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z7[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-7, none)}.mat-elevation-z8[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z8[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-8, none)}.mat-elevation-z9[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z9[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-9, none)}.mat-elevation-z10[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z10[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-10, none)}.mat-elevation-z11[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z11[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-11, none)}.mat-elevation-z12[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z12[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-12, none)}.mat-elevation-z13[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z13[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-13, none)}.mat-elevation-z14[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z14[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-14, none)}.mat-elevation-z15[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z15[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-15, none)}.mat-elevation-z16[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z16[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-16, none)}.mat-elevation-z17[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z17[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-17, none)}.mat-elevation-z18[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z18[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-18, none)}.mat-elevation-z19[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z19[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-19, none)}.mat-elevation-z20[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z20[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-20, none)}.mat-elevation-z21[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z21[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-21, none)}.mat-elevation-z22[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z22[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-22, none)}.mat-elevation-z23[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z23[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-23, none)}.mat-elevation-z24[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z24[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-24, none)}.staff-container[_ngcontent-%COMP%]{margin-top:2rem;display:flex;justify-content:center}.staff[_ngcontent-%COMP%]{border:#337ab7;border-width:1px;border-style:solid}.staff-header[_ngcontent-%COMP%]{display:flex;justify-content:center;background-color:#337ab7;color:#fff;font-weight:700;padding:.5rem 1rem}.staff-content[_ngcontent-%COMP%]{padding:.5rem 1rem}.admin[_ngcontent-%COMP%]{display:flex;flex-direction:column}.information[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-around;width:100%}.info-panel[_ngcontent-%COMP%]{border-color:#333;background-image:linear-gradient(135deg,#fdfcfb,#e2d1c3);box-shadow:#00000024 0 1px 4px;box-sizing:border-box;color:#333;display:flex;flex-direction:column;margin:2rem 1rem;width:100%}.info-danger[_ngcontent-%COMP%]{background-image:linear-gradient(to right,#f83600,#f9d423);color:#fff;font-weight:700;font-size:1.5em}.info-panel-data[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;padding:1rem}.info-panel-data[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{margin-right:1rem;width:5rem}.info-text[_ngcontent-%COMP%]{width:100%;text-align:center}.info-panel-link[_ngcontent-%COMP%]{background:linear-gradient(60deg,#4b5266,#465d9c)}.info-panel-link[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{width:100%;color:#fff}.statistics[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-around;width:100%}.statistics-title[_ngcontent-%COMP%]{background:linear-gradient(60deg,#4b5266,#465d9c);width:100%;color:#fff;padding:1rem 0rem;text-align:center}.statistics-chart[_ngcontent-%COMP%]{border-color:#333;box-shadow:#00000024 0 1px 4px;box-sizing:border-box;color:#333;display:flex;flex-direction:column;margin:2rem 1rem;width:100%;height:400px} .dark-theme .staff{border:#337ab7} .dark-theme .staff-header{color:#fff} .dark-theme .info-panel{border-color:lightned(#303030,60%);background-image:linear-gradient(135deg,#fdfcfb,#e2d1c3);box-shadow:#00000024 0 1px 4px;color:#b3b3b3} .dark-theme .info-danger{background-image:linear-gradient(to right,#f83600,#f9d423);color:#fff} .dark-theme .info-panel-link{background:#4682b4} .dark-theme .info-panel-link a{color:#fff} .dark-theme .statistics-title{color:#fff} .dark-theme .statistics-chart{border-color:#333;box-shadow:#00000024 0 1px 4px;color:#333}']});let i=e;return i})();var W8=["notch"],G8=["matFormFieldNotchedOutline",""],q8=["*"],Y8=["textField"],Q8=["iconPrefixContainer"],K8=["textPrefixContainer"],Z8=["iconSuffixContainer"],X8=["textSuffixContainer"],J8=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],eH=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function tH(i,e){i&1&&I(0,"span",21)}function iH(i,e){if(i&1&&(c(0,"label",20),ae(1,1),x(2,tH,1,0,"span",21),d()),i&2){let r=_(2);p("floating",r._shouldLabelFloat())("monitorResize",r._hasOutline())("id",r._labelId),ie("for",r._control.disableAutomaticLabeling?null:r._control.id),h(2),De(!r.hideRequiredMarker&&r._control.required?2:-1)}}function nH(i,e){if(i&1&&x(0,iH,3,5,"label",20),i&2){let r=_();De(r._hasFloatingLabel()?0:-1)}}function oH(i,e){i&1&&I(0,"div",7)}function rH(i,e){}function aH(i,e){if(i&1&&x(0,rH,0,0,"ng-template",13),i&2){_(2);let r=we(1);p("ngTemplateOutlet",r)}}function sH(i,e){if(i&1&&(c(0,"div",9),x(1,aH,1,1,null,13),d()),i&2){let r=_();p("matFormFieldNotchedOutlineOpen",r._shouldLabelFloat()),h(),De(r._forceDisplayInfixLabel()?-1:1)}}function lH(i,e){i&1&&(c(0,"div",10,2),ae(2,2),d())}function cH(i,e){i&1&&(c(0,"div",11,3),ae(2,3),d())}function dH(i,e){}function uH(i,e){if(i&1&&x(0,dH,0,0,"ng-template",13),i&2){_();let r=we(1);p("ngTemplateOutlet",r)}}function hH(i,e){i&1&&(c(0,"div",14,4),ae(2,4),d())}function mH(i,e){i&1&&(c(0,"div",15,5),ae(2,5),d())}function pH(i,e){i&1&&I(0,"div",16)}function fH(i,e){if(i&1&&(c(0,"div",18),ae(1,6),d()),i&2){let r=_();p("@transitionMessages",r._subscriptAnimationState)}}function gH(i,e){if(i&1&&(c(0,"mat-hint",22),g(1),d()),i&2){let r=_(2);p("id",r._hintLabelId),h(),$e(r.hintLabel)}}function _H(i,e){if(i&1&&(c(0,"div",19),x(1,gH,2,2,"mat-hint",22),ae(2,7),I(3,"div",23),ae(4,8),d()),i&2){let r=_();p("@transitionMessages",r._subscriptAnimationState),h(),De(r.hintLabel?1:-1)}}var Ae=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=L({type:e,selectors:[["mat-label"]],standalone:!0});let i=e;return i})();var vH=new R("MatError");var bH=0,YT=(()=>{let e=class e{constructor(){this.align="start",this.id=`mat-mdc-hint-${bH++}`}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=L({type:e,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(n,o){n&2&&(Si("id",o.id),ie("align",null),ne("mat-mdc-form-field-hint-end",o.align==="end"))},inputs:{align:"align",id:"id"},standalone:!0});let i=e;return i})(),yH=new R("MatPrefix");var ik=new R("MatSuffix"),uo=(()=>{let e=class e{constructor(){this._isText=!1}set _isTextSelector(t){this._isText=!0}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=L({type:e,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[0,"matTextSuffix","_isTextSelector"]},standalone:!0,features:[Ce([{provide:ik,useExisting:e}])]});let i=e;return i})(),nk=new R("FloatingLabelParent"),QT=(()=>{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=k(Hp),this._ngZone=k(Z),this._parent=k(nk),this._resizeSubscription=new ve}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return wH(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(n){return new(n||e)(m(q))},e.\u0275dir=L({type:e,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(n,o){n&2&&ne("mdc-floating-label--float-above",o.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"},standalone:!0});let i=e;return i})();function wH(i){let e=i;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 KT="mdc-line-ripple--active",_f="mdc-line-ripple--deactivating",ZT=(()=>{let e=class e{constructor(t,n){this._elementRef=t,this._handleTransitionEnd=o=>{let a=this._elementRef.nativeElement.classList,s=a.contains(_f);o.propertyName==="opacity"&&s&&a.remove(KT,_f)},n.runOutsideAngular(()=>{t.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){let t=this._elementRef.nativeElement.classList;t.remove(_f),t.add(KT)}deactivate(){this._elementRef.nativeElement.classList.add(_f)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}};e.\u0275fac=function(n){return new(n||e)(m(q),m(Z))},e.\u0275dir=L({type:e,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"],standalone:!0});let i=e;return i})(),XT=(()=>{let e=class e{constructor(t,n){this._elementRef=t,this._ngZone=n,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(${t}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}};e.\u0275fac=function(n){return new(n||e)(m(q),m(Z))},e.\u0275cmp=E({type:e,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(n,o){if(n&1&&ce(W8,5),n&2){let a;Q(a=K())&&(o._notch=a.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(n,o){n&2&&ne("mdc-notched-outline--notched",o.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},standalone:!0,features:[re],attrs:G8,ngContentSelectors:q8,decls:5,vars:0,consts:[["notch",""],[1,"mat-mdc-notch-piece","mdc-notched-outline__leading"],[1,"mat-mdc-notch-piece","mdc-notched-outline__notch"],[1,"mat-mdc-notch-piece","mdc-notched-outline__trailing"]],template:function(n,o){n&1&&(He(),I(0,"div",1),c(1,"div",2,0),ae(3),d(),I(4,"div",3))},encapsulation:2,changeDetection:0});let i=e;return i})(),CH={transitionMessages:ui("transitionMessages",[Lt("enter",Me({opacity:1,transform:"translateY(0%)"})),St("void => enter",[Me({opacity:0,transform:"translateY(-5px)"}),Mt("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Ia=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=L({type:e});let i=e;return i})();var Ro=new R("MatFormField"),Vy=new R("MAT_FORM_FIELD_DEFAULT_OPTIONS"),JT=0,ek="fill",xH="auto",tk="fixed",DH="translateY(-50%)",_e=(()=>{let e=class e{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(t){this._hideRequiredMarker=Bn(t)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||xH}set floatLabel(t){t!==this._floatLabel&&(this._floatLabel=t,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(t){let n=this._appearance,o=t||this._defaults?.appearance||ek;this._appearance=o,this._appearance==="outline"&&this._appearance!==n&&(this._needsOutlineLabelOffsetUpdate=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||tk}set subscriptSizing(t){this._subscriptSizing=t||this._defaults?.subscriptSizing||tk}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,n,o,a,s,l,u,f){this._elementRef=t,this._changeDetectorRef=n,this._dir=a,this._platform=s,this._defaults=l,this._animationMode=u,this._labelChild=AE(Ae),this._hideRequiredMarker=!1,this.color="primary",this._appearance=ek,this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId=`mat-mdc-form-field-label-${JT++}`,this._hintLabelId=`mat-mdc-hint-${JT++}`,this._subscriptAnimationState="",this._destroyed=new G,this._isFocused=null,this._needsOutlineLabelOffsetUpdate=!1,this._previousControl=null,this._injector=k(Pe),this.getLabelId=Mr(()=>this._hasFloatingLabel()?this._labelId:null),this._hasFloatingLabel=Mr(()=>!!this._labelChild()),l&&(l.appearance&&(this.appearance=l.appearance),this._hideRequiredMarker=!!l?.hideRequiredMarker,l.color&&(this.color=l.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl(),this._control!==this._previousControl&&(this._initializeControl(this._previousControl),this._previousControl=this._control)}ngOnDestroy(){this._stateChanges?.unsubscribe(),this._valueChanges?.unsubscribe(),this._destroyed.next(),this._destroyed.complete()}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(t){let n=this._control,o="mat-mdc-form-field-type-";t&&this._elementRef.nativeElement.classList.remove(o+t.controlType),n.controlType&&this._elementRef.nativeElement.classList.add(o+n.controlType),this._stateChanges?.unsubscribe(),this._stateChanges=n.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._valueChanges?.unsubscribe(),n.ngControl&&n.ngControl.valueChanges&&(this._valueChanges=n.ngControl.valueChanges.pipe(fe(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(),wt(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){this._control}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0),Oc(()=>{this._needsOutlineLabelOffsetUpdate&&(this._needsOutlineLabelOffsetUpdate=!1,this._updateOutlineLabelOffset())},{injector:this._injector}),this._dir.change.pipe(fe(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()}_shouldLabelFloat(){return this._hasFloatingLabel()?this._control.shouldLabelFloat||this._shouldAlwaysFloat():!1}_shouldForward(t){let n=this._control?this._control.ngControl:null;return n&&n[t]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(0):this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let t=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&t.push(...this._control.userAriaDescribedBy.split(" ")),this._getDisplayedMessages()==="hint"){let n=this._hintChildren?this._hintChildren.find(a=>a.align==="start"):null,o=this._hintChildren?this._hintChildren.find(a=>a.align==="end"):null;n?t.push(n.id):this._hintLabel&&t.push(this._hintLabelId),o&&t.push(o.id)}else this._errorChildren&&t.push(...this._errorChildren.map(n=>n.id));this._control.setDescribedByIds(t)}}_updateOutlineLabelOffset(){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 n=this._iconPrefixContainer?.nativeElement,o=this._textPrefixContainer?.nativeElement,a=this._iconSuffixContainer?.nativeElement,s=this._textSuffixContainer?.nativeElement,l=n?.getBoundingClientRect().width??0,u=o?.getBoundingClientRect().width??0,f=a?.getBoundingClientRect().width??0,v=s?.getBoundingClientRect().width??0,C=this._dir.value==="rtl"?"-1":"1",D=`${l+u}px`,P=`calc(${C} * (${D} + var(--mat-mdc-form-field-label-offset-x, 0px)))`;t.style.transform=`var( +import{Ag as dP,Bg as uP,Cg as mP,De as zO,Dg as pP,Dh as xP,Eg as hP,Ff as HO,Fg as fP,Gg as gP,Hf as WO,Hg as _P,Ig as vP,Jg as bP,Jh as DP,Ka as LO,Kg as yP,Lf as GO,Lg as su,Lh as SP,Mg as wP,Mh as EP,Nb as BO,Nf as $O,Nh as MP,Oh as IP,Ph as TP,Qh as kP,Rg as CP,Sh as AP,Th as RP,Uh as OP,Vh as PP,_ as FO,_e as UO,a as L,b as Qe,c as Ng,d as kO,di as RC,e as AC,ei as FP,f as AO,fb as VO,fi as NP,g as au,gg as qO,gi as OC,h as RO,hi as LP,i as H,ii as PC,jg as YO,ji as VP,kg as QO,l as OO,lg as KO,mg as Lg,ng as ZO,og as XO,pa as NO,pg as JO,q as PO,qg as eP,rg as tP,sg as nP,tg as iP,ug as oP,vg as rP,wg as aP,xg as sP,ye as jO,yg as lP,zg as cP}from"./chunk-2F3F2YC2.js";var ng=AC((lw,cw)=>{"use strict";(function(n,i){typeof define=="function"&&define.amd?define([],i):typeof lw<"u"?i():(i(),n.FileSaver={})})(lw,function(){"use strict";function n(s,l){return typeof l>"u"?l={autoBom:!1}:typeof l!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),l={autoBom:!l}),l.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(s.type)?new Blob(["\uFEFF",s],{type:s.type}):s}function i(s,l,m){var g=new XMLHttpRequest;g.open("GET",s),g.responseType="blob",g.onload=function(){a(g.response,l,m)},g.onerror=function(){console.error("could not download file")},g.send()}function e(s){var l=new XMLHttpRequest;l.open("HEAD",s,!1);try{l.send()}catch{}return 200<=l.status&&299>=l.status}function t(s){try{s.dispatchEvent(new MouseEvent("click"))}catch{var l=document.createEvent("MouseEvents");l.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),s.dispatchEvent(l)}}var o=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof global=="object"&&global.global===global?global:void 0,r=o.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),a=o.saveAs||(typeof window!="object"||window!==o?function(){}:"download"in HTMLAnchorElement.prototype&&!r?function(s,l,m){var g=o.URL||o.webkitURL,v=document.createElement("a");l=l||s.name||"download",v.download=l,v.rel="noopener",typeof s=="string"?(v.href=s,v.origin===location.origin?t(v):e(v.href)?i(s,l,m):t(v,v.target="_blank")):(v.href=g.createObjectURL(s),setTimeout(function(){g.revokeObjectURL(v.href)},4e4),setTimeout(function(){t(v)},0))}:"msSaveOrOpenBlob"in navigator?function(s,l,m){if(l=l||s.name||"download",typeof s!="string")navigator.msSaveOrOpenBlob(n(s,m),l);else if(e(s))i(s,l,m);else{var g=document.createElement("a");g.href=s,g.target="_blank",setTimeout(function(){t(g)})}}:function(s,l,m,g){if(g=g||open("","_blank"),g&&(g.document.title=g.document.body.innerText="downloading..."),typeof s=="string")return i(s,l,m);var v=s.type==="application/octet-stream",D=/constructor/i.test(o.HTMLElement)||o.safari,S=/CriOS\/[\d]+/.test(navigator.userAgent);if((S||v&&D||r)&&typeof FileReader<"u"){var I=new FileReader;I.onloadend=function(){var V=I.result;V=S?V:V.replace(/^data:[^;]*;/,"data:attachment/file;"),g?g.location.href=V:location=V,g=null},I.readAsDataURL(s)}else{var A=o.URL||o.webkitURL,Y=A.createObjectURL(s);g?g.location=Y:location.href=Y,g=null,setTimeout(function(){A.revokeObjectURL(Y)},4e4)}});o.saveAs=a.saveAs=a,typeof cw<"u"&&(cw.exports=a)})});var SO={};AO(SO,{Axis:()=>kP,ChartView:()=>GO,ComponentModel:()=>UO,ComponentView:()=>WO,List:()=>CP,Model:()=>jO,PRIORITY:()=>KO,SeriesModel:()=>HO,color:()=>VO,connect:()=>ZO,dataTool:()=>bP,default:()=>oK,dependencies:()=>QO,disConnect:()=>JO,disconnect:()=>XO,dispose:()=>eP,env:()=>OO,extendChartView:()=>PP,extendComponentModel:()=>AP,extendComponentView:()=>RP,extendSeriesModel:()=>OP,format:()=>IP,getCoordinateSystemDimensions:()=>uP,getInstanceByDom:()=>tP,getInstanceById:()=>nP,getMap:()=>_P,graphic:()=>MP,helper:()=>xP,init:()=>Lg,innerDrawElementOnCanvas:()=>qO,matrix:()=>LO,number:()=>SP,parseGeoJSON:()=>DP,parseGeoJson:()=>DP,registerAction:()=>cP,registerCoordinateSystem:()=>dP,registerLayout:()=>mP,registerLoading:()=>hP,registerLocale:()=>zO,registerMap:()=>gP,registerPostInit:()=>aP,registerPostUpdate:()=>sP,registerPreprocessor:()=>oP,registerProcessor:()=>rP,registerTheme:()=>iP,registerTransform:()=>vP,registerUpdateLifecycle:()=>lP,registerVisual:()=>pP,setCanvasCreator:()=>fP,setPlatformAPI:()=>PO,throttle:()=>$O,time:()=>EP,use:()=>su,util:()=>TP,vector:()=>NO,version:()=>YO,zrUtil:()=>FO,zrender:()=>BO});var oK,EO=kO(()=>{"use strict";NP();wP();yP();LP();VP();FP();su([OC,PC]);oK={init:function(){return Lg.apply(null,arguments)}};su(RC)});var MO=AC(ou=>{"use strict";(function(n,i){typeof define=="function"&&define.amd?define(["exports","echarts"],i):typeof ou=="object"&&typeof ou.nodeName!="string"?i(ou,(EO(),RO(SO))):i({},n.echarts)})(ou,function(n,i){var e=function(s){typeof console<"u"&&console&&console.error&&console.error(s)};if(!i){e("ECharts is not Loaded");return}var t="#eee",o=function(){return{axisLine:{lineStyle:{color:t}},axisTick:{lineStyle:{color:t}},axisLabel:{color:t},splitLine:{lineStyle:{type:"dashed",color:"#aaa"}},splitArea:{areaStyle:{color:t}}}},r=["#52656b","#ff3b77","#a3cc00","#ffffff","#b8b89f","#ffccdb","#e5ff80","#f4f4f0"],a={color:r,backgroundColor:"#333",tooltip:{axisPointer:{lineStyle:{color:t},crossStyle:{color:t}}},legend:{textStyle:{color:t}},title:{textStyle:{color:t}},toolbox:{iconStyle:{borderColor:t}},dataZoom:{dataBackgroundColor:"#eee",fillerColor:"rgba(200,200,200,0.2)",handleColor:"#52656b"},timeline:{itemStyle:{color:r[1]},lineStyle:{color:t},controlStyle:{color:t,borderColor:t},label:{color:t}},timeAxis:o(),logAxis:o(),valueAxis:o(),categoryAxis:o(),line:{symbol:"circle"},graph:{color:r},gauge:{axisLine:{lineStyle:{color:[[.2,"#ff3b77"],[.8,"#52656b"],[1,"#b8b89f"]],width:8}}}};a.categoryAxis.splitLine.show=!1,i.registerTheme("dark-digerati",a)})});function Ug(n,i){return Object.is(n,i)}var Tn=null,tc=!1,Hg=1,ti=Symbol("SIGNAL");function bt(n){let i=Tn;return Tn=n,i}function FC(){return Tn}function BP(){return tc}var Pa={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 cu(n){if(tc)throw new Error("");if(Tn===null)return;Tn.consumerOnSignalRead(n);let i=Tn.nextProducerIndex++;if(uu(Tn),in.nextProducerIndex;)n.producerNode.pop(),n.producerLastReadVersion.pop(),n.producerIndexOfThis.pop()}}function oc(n){uu(n);for(let i=0;i0}function uu(n){n.producerNode??=[],n.producerIndexOfThis??=[],n.producerLastReadVersion??=[]}function jC(n){n.liveConsumerNode??=[],n.liveConsumerIndexOfThis??=[]}function zC(n){return n.producerNode!==void 0}function Gg(n){let i=Object.create(zP);i.computation=n;let e=()=>{if(Wg(i),cu(i),i.value===lu)throw i.error;return i.value};return e[ti]=i,e}var Vg=Symbol("UNSET"),Bg=Symbol("COMPUTING"),lu=Symbol("ERRORED"),zP=Qe(L({},Pa),{value:Vg,dirty:!0,error:null,equal:Ug,producerMustRecompute(n){return n.value===Vg||n.value===Bg},producerRecomputeValue(n){if(n.value===Bg)throw new Error("Detected cycle in computations.");let i=n.value;n.value=Bg;let e=Es(n),t;try{t=n.computation()}catch(o){t=lu,n.error=o}finally{ic(n,e)}if(i!==Vg&&i!==lu&&t!==lu&&n.equal(i,t)){n.value=i;return}n.value=t,n.version++}});function UP(){throw new Error}var UC=UP;function HC(){UC()}function WC(n){UC=n}var HP=null;function GC(n){let i=Object.create($g);i.value=n;let e=()=>(cu(i),i.value);return e[ti]=i,e}function mu(n,i){LC()||HC(),n.equal(n.value,i)||(n.value=i,WP(n))}function $C(n,i){LC()||HC(),mu(n,i(n.value))}var $g=Qe(L({},Pa),{equal:Ug,value:void 0});function WP(n){n.version++,jP(),NC(n),HP?.()}function qC(n,i,e){let t=Object.create(GP);e&&(t.consumerAllowSignalWrites=!0),t.fn=n,t.schedule=i;let o=l=>{t.cleanupFn=l};function r(l){return l.fn===null&&l.schedule===null}function a(l){r(l)||(Ms(l),l.cleanupFn(),l.fn=null,l.schedule=null,l.cleanupFn=zg)}let s=()=>{if(t.fn===null)return;if(BP())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(t.dirty=!1,t.hasRun&&!oc(t))return;t.hasRun=!0;let l=Es(t);try{t.cleanupFn(),t.cleanupFn=zg,t.fn(o)}finally{ic(t,l)}};return t.ref={notify:()=>VC(t),run:s,cleanup:()=>t.cleanupFn(),destroy:()=>a(t),[ti]:t},t.ref}var zg=()=>{},GP=Qe(L({},Pa),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:n=>{n.schedule!==null&&n.schedule(n.ref)},hasRun:!1,cleanupFn:zg});function Be(n){return typeof n=="function"}function Hr(n){let e=n(t=>{Error.call(t),t.stack=new Error().stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}var pu=Hr(n=>function(e){n(this),this.message=e?`${e.length} errors occurred during unsubscription: +${e.map((t,o)=>`${o+1}) ${t.toString()}`).join(` + `)}`:"",this.name="UnsubscriptionError",this.errors=e});function Fa(n,i){if(n){let e=n.indexOf(i);0<=e&&n.splice(e,1)}}var ge=class n{constructor(i){this.initialTeardown=i,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let i;if(!this.closed){this.closed=!0;let{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(let r of e)r.remove(this);else e.remove(this);let{initialTeardown:t}=this;if(Be(t))try{t()}catch(r){i=r instanceof pu?r.errors:[r]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let r of o)try{YC(r)}catch(a){i=i??[],a instanceof pu?i=[...i,...a.errors]:i.push(a)}}if(i)throw new pu(i)}}add(i){var e;if(i&&i!==this)if(this.closed)YC(i);else{if(i instanceof n){if(i.closed||i._hasParent(this))return;i._addParent(this)}(this._finalizers=(e=this._finalizers)!==null&&e!==void 0?e:[]).push(i)}}_hasParent(i){let{_parentage:e}=this;return e===i||Array.isArray(e)&&e.includes(i)}_addParent(i){let{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(i),e):e?[e,i]:i}_removeParent(i){let{_parentage:e}=this;e===i?this._parentage=null:Array.isArray(e)&&Fa(e,i)}remove(i){let{_finalizers:e}=this;e&&Fa(e,i),i instanceof n&&i._removeParent(this)}};ge.EMPTY=(()=>{let n=new ge;return n.closed=!0,n})();var qg=ge.EMPTY;function hu(n){return n instanceof ge||n&&"closed"in n&&Be(n.remove)&&Be(n.add)&&Be(n.unsubscribe)}function YC(n){Be(n)?n():n.unsubscribe()}var _o={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Is={setTimeout(n,i,...e){let{delegate:t}=Is;return t?.setTimeout?t.setTimeout(n,i,...e):setTimeout(n,i,...e)},clearTimeout(n){let{delegate:i}=Is;return(i?.clearTimeout||clearTimeout)(n)},delegate:void 0};function fu(n){Is.setTimeout(()=>{let{onUnhandledError:i}=_o;if(i)i(n);else throw n})}function Na(){}var QC=Yg("C",void 0,void 0);function KC(n){return Yg("E",void 0,n)}function ZC(n){return Yg("N",n,void 0)}function Yg(n,i,e){return{kind:n,value:i,error:e}}var La=null;function Ts(n){if(_o.useDeprecatedSynchronousErrorHandling){let i=!La;if(i&&(La={errorThrown:!1,error:null}),n(),i){let{errorThrown:e,error:t}=La;if(La=null,e)throw t}}else n()}function XC(n){_o.useDeprecatedSynchronousErrorHandling&&La&&(La.errorThrown=!0,La.error=n)}var Va=class extends ge{constructor(i){super(),this.isStopped=!1,i?(this.destination=i,hu(i)&&i.add(this)):this.destination=YP}static create(i,e,t){return new vo(i,e,t)}next(i){this.isStopped?Kg(ZC(i),this):this._next(i)}error(i){this.isStopped?Kg(KC(i),this):(this.isStopped=!0,this._error(i))}complete(){this.isStopped?Kg(QC,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(i){this.destination.next(i)}_error(i){try{this.destination.error(i)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},$P=Function.prototype.bind;function Qg(n,i){return $P.call(n,i)}var Zg=class{constructor(i){this.partialObserver=i}next(i){let{partialObserver:e}=this;if(e.next)try{e.next(i)}catch(t){gu(t)}}error(i){let{partialObserver:e}=this;if(e.error)try{e.error(i)}catch(t){gu(t)}else gu(i)}complete(){let{partialObserver:i}=this;if(i.complete)try{i.complete()}catch(e){gu(e)}}},vo=class extends Va{constructor(i,e,t){super();let o;if(Be(i)||!i)o={next:i??void 0,error:e??void 0,complete:t??void 0};else{let r;this&&_o.useDeprecatedNextContext?(r=Object.create(i),r.unsubscribe=()=>this.unsubscribe(),o={next:i.next&&Qg(i.next,r),error:i.error&&Qg(i.error,r),complete:i.complete&&Qg(i.complete,r)}):o=i}this.destination=new Zg(o)}};function gu(n){_o.useDeprecatedSynchronousErrorHandling?XC(n):fu(n)}function qP(n){throw n}function Kg(n,i){let{onStoppedNotification:e}=_o;e&&Is.setTimeout(()=>e(n,i))}var YP={closed:!0,next:Na,error:qP,complete:Na};var ks=typeof Symbol=="function"&&Symbol.observable||"@@observable";function ui(n){return n}function Xg(...n){return Jg(n)}function Jg(n){return n.length===0?ui:n.length===1?n[0]:function(e){return n.reduce((t,o)=>o(t),e)}}var Fe=(()=>{class n{constructor(e){e&&(this._subscribe=e)}lift(e){let t=new n;return t.source=this,t.operator=e,t}subscribe(e,t,o){let r=KP(e)?e:new vo(e,t,o);return Ts(()=>{let{operator:a,source:s}=this;r.add(a?a.call(r,s):s?this._subscribe(r):this._trySubscribe(r))}),r}_trySubscribe(e){try{return this._subscribe(e)}catch(t){e.error(t)}}forEach(e,t){return t=JC(t),new t((o,r)=>{let a=new vo({next:s=>{try{e(s)}catch(l){r(l),a.unsubscribe()}},error:r,complete:o});this.subscribe(a)})}_subscribe(e){var t;return(t=this.source)===null||t===void 0?void 0:t.subscribe(e)}[ks](){return this}pipe(...e){return Jg(e)(this)}toPromise(e){return e=JC(e),new e((t,o)=>{let r;this.subscribe(a=>r=a,a=>o(a),()=>t(r))})}}return n.create=i=>new n(i),n})();function JC(n){var i;return(i=n??_o.Promise)!==null&&i!==void 0?i:Promise}function QP(n){return n&&Be(n.next)&&Be(n.error)&&Be(n.complete)}function KP(n){return n&&n instanceof Va||QP(n)&&hu(n)}function e_(n){return Be(n?.lift)}function Le(n){return i=>{if(e_(i))return i.lift(function(e){try{return n(e,this)}catch(t){this.error(t)}});throw new TypeError("Unable to lift unknown Observable type")}}function Oe(n,i,e,t,o){return new t_(n,i,e,t,o)}var t_=class extends Va{constructor(i,e,t,o,r,a){super(i),this.onFinalize=r,this.shouldUnsubscribe=a,this._next=e?function(s){try{e(s)}catch(l){i.error(l)}}:super._next,this._error=o?function(s){try{o(s)}catch(l){i.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=t?function(){try{t()}catch(s){i.error(s)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var i;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:e}=this;super.unsubscribe(),!e&&((i=this.onFinalize)===null||i===void 0||i.call(this))}}};function As(){return Le((n,i)=>{let e=null;n._refCount++;let t=Oe(i,void 0,void 0,void 0,()=>{if(!n||n._refCount<=0||0<--n._refCount){e=null;return}let o=n._connection,r=e;e=null,o&&(!r||o===r)&&o.unsubscribe(),i.unsubscribe()});n.subscribe(t),t.closed||(e=n.connect())})}var Wr=class extends Fe{constructor(i,e){super(),this.source=i,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,e_(i)&&(this.lift=i.lift)}_subscribe(i){return this.getSubject().subscribe(i)}getSubject(){let i=this._subject;return(!i||i.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:i}=this;this._subject=this._connection=null,i?.unsubscribe()}connect(){let i=this._connection;if(!i){i=this._connection=new ge;let e=this.getSubject();i.add(this.source.subscribe(Oe(e,void 0,()=>{this._teardown(),e.complete()},t=>{this._teardown(),e.error(t)},()=>this._teardown()))),i.closed&&(this._connection=null,i=ge.EMPTY)}return i}refCount(){return As()(this)}};var ex=Hr(n=>function(){n(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var j=(()=>{class n extends Fe{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){let t=new _u(this,this);return t.operator=e,t}_throwIfClosed(){if(this.closed)throw new ex}next(e){Ts(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let t of this.currentObservers)t.next(e)}})}error(e){Ts(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;let{observers:t}=this;for(;t.length;)t.shift().error(e)}})}complete(){Ts(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:e}=this;for(;e.length;)e.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var e;return((e=this.observers)===null||e===void 0?void 0:e.length)>0}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e)}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}_innerSubscribe(e){let{hasError:t,isStopped:o,observers:r}=this;return t||o?qg:(this.currentObservers=null,r.push(e),new ge(()=>{this.currentObservers=null,Fa(r,e)}))}_checkFinalizedStatuses(e){let{hasError:t,thrownError:o,isStopped:r}=this;t?e.error(o):r&&e.complete()}asObservable(){let e=new Fe;return e.source=this,e}}return n.create=(i,e)=>new _u(i,e),n})(),_u=class extends j{constructor(i,e){super(),this.destination=i,this.source=e}next(i){var e,t;(t=(e=this.destination)===null||e===void 0?void 0:e.next)===null||t===void 0||t.call(e,i)}error(i){var e,t;(t=(e=this.destination)===null||e===void 0?void 0:e.error)===null||t===void 0||t.call(e,i)}complete(){var i,e;(e=(i=this.destination)===null||i===void 0?void 0:i.complete)===null||e===void 0||e.call(i)}_subscribe(i){var e,t;return(t=(e=this.source)===null||e===void 0?void 0:e.subscribe(i))!==null&&t!==void 0?t:qg}};var Gt=class extends j{constructor(i){super(),this._value=i}get value(){return this.getValue()}_subscribe(i){let e=super._subscribe(i);return!e.closed&&i.next(this._value),e}getValue(){let{hasError:i,thrownError:e,_value:t}=this;if(i)throw e;return this._throwIfClosed(),t}next(i){super.next(this._value=i)}};var rc={now(){return(rc.delegate||Date).now()},delegate:void 0};var Zi=class extends j{constructor(i=1/0,e=1/0,t=rc){super(),this._bufferSize=i,this._windowTime=e,this._timestampProvider=t,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,i),this._windowTime=Math.max(1,e)}next(i){let{isStopped:e,_buffer:t,_infiniteTimeWindow:o,_timestampProvider:r,_windowTime:a}=this;e||(t.push(i),!o&&t.push(r.now()+a)),this._trimBuffer(),super.next(i)}_subscribe(i){this._throwIfClosed(),this._trimBuffer();let e=this._innerSubscribe(i),{_infiniteTimeWindow:t,_buffer:o}=this,r=o.slice();for(let a=0;atx(i)&&n()),i},clearImmediate(n){tx(n)}};var{setImmediate:XP,clearImmediate:JP}=nx,sc={setImmediate(...n){let{delegate:i}=sc;return(i?.setImmediate||XP)(...n)},clearImmediate(n){let{delegate:i}=sc;return(i?.clearImmediate||JP)(n)},delegate:void 0};var bu=class extends Rs{constructor(i,e){super(i,e),this.scheduler=i,this.work=e}requestAsyncId(i,e,t=0){return t!==null&&t>0?super.requestAsyncId(i,e,t):(i.actions.push(this),i._scheduled||(i._scheduled=sc.setImmediate(i.flush.bind(i,void 0))))}recycleAsyncId(i,e,t=0){var o;if(t!=null?t>0:this.delay>0)return super.recycleAsyncId(i,e,t);let{actions:r}=i;e!=null&&((o=r[r.length-1])===null||o===void 0?void 0:o.id)!==e&&(sc.clearImmediate(e),i._scheduled===e&&(i._scheduled=void 0))}};var Os=class n{constructor(i,e=n.now){this.schedulerActionCtor=i,this.now=e}schedule(i,e=0,t){return new this.schedulerActionCtor(this,i).schedule(t,e)}};Os.now=rc.now;var Ps=class extends Os{constructor(i,e=Os.now){super(i,e),this.actions=[],this._active=!1}flush(i){let{actions:e}=this;if(this._active){e.push(i);return}let t;this._active=!0;do if(t=i.execute(i.state,i.delay))break;while(i=e.shift());if(this._active=!1,t){for(;i=e.shift();)i.unsubscribe();throw t}}};var yu=class extends Ps{flush(i){this._active=!0;let e=this._scheduled;this._scheduled=void 0;let{actions:t}=this,o;i=i||t.shift();do if(o=i.execute(i.state,i.delay))break;while((i=t[0])&&i.id===e&&t.shift());if(this._active=!1,o){for(;(i=t[0])&&i.id===e&&t.shift();)i.unsubscribe();throw o}}};var lc=new yu(bu);var ni=new Ps(Rs),o_=ni;var kn=new Fe(n=>n.complete());function wu(n){return n&&Be(n.schedule)}function r_(n){return n[n.length-1]}function Cu(n){return Be(r_(n))?n.pop():void 0}function Lo(n){return wu(r_(n))?n.pop():void 0}function ix(n,i){return typeof r_(n)=="number"?n.pop():i}function rx(n,i,e,t){function o(r){return r instanceof e?r:new e(function(a){a(r)})}return new(e||(e=Promise))(function(r,a){function s(g){try{m(t.next(g))}catch(v){a(v)}}function l(g){try{m(t.throw(g))}catch(v){a(v)}}function m(g){g.done?r(g.value):o(g.value).then(s,l)}m((t=t.apply(n,i||[])).next())})}function ox(n){var i=typeof Symbol=="function"&&Symbol.iterator,e=i&&n[i],t=0;if(e)return e.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(i?"Object is not iterable.":"Symbol.iterator is not defined.")}function Ba(n){return this instanceof Ba?(this.v=n,this):new Ba(n)}function ax(n,i,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e.apply(n,i||[]),o,r=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),s("next"),s("throw"),s("return",a),o[Symbol.asyncIterator]=function(){return this},o;function a(S){return function(I){return Promise.resolve(I).then(S,v)}}function s(S,I){t[S]&&(o[S]=function(A){return new Promise(function(Y,V){r.push([S,A,Y,V])>1||l(S,A)})},I&&(o[S]=I(o[S])))}function l(S,I){try{m(t[S](I))}catch(A){D(r[0][3],A)}}function m(S){S.value instanceof Ba?Promise.resolve(S.value.v).then(g,v):D(r[0][2],S)}function g(S){l("next",S)}function v(S){l("throw",S)}function D(S,I){S(I),r.shift(),r.length&&l(r[0][0],r[0][1])}}function sx(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=n[Symbol.asyncIterator],e;return i?i.call(n):(n=typeof ox=="function"?ox(n):n[Symbol.iterator](),e={},t("next"),t("throw"),t("return"),e[Symbol.asyncIterator]=function(){return this},e);function t(r){e[r]=n[r]&&function(a){return new Promise(function(s,l){a=n[r](a),o(s,l,a.done,a.value)})}}function o(r,a,s,l){Promise.resolve(l).then(function(m){r({value:m,done:s})},a)}}var Fs=n=>n&&typeof n.length=="number"&&typeof n!="function";function xu(n){return Be(n?.then)}function Du(n){return Be(n[ks])}function Su(n){return Symbol.asyncIterator&&Be(n?.[Symbol.asyncIterator])}function Eu(n){return new TypeError(`You provided ${n!==null&&typeof n=="object"?"an invalid object":`'${n}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function eF(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Mu=eF();function Iu(n){return Be(n?.[Mu])}function Tu(n){return ax(this,arguments,function*(){let e=n.getReader();try{for(;;){let{value:t,done:o}=yield Ba(e.read());if(o)return yield Ba(void 0);yield yield Ba(t)}}finally{e.releaseLock()}})}function ku(n){return Be(n?.getReader)}function St(n){if(n instanceof Fe)return n;if(n!=null){if(Du(n))return tF(n);if(Fs(n))return nF(n);if(xu(n))return iF(n);if(Su(n))return lx(n);if(Iu(n))return oF(n);if(ku(n))return rF(n)}throw Eu(n)}function tF(n){return new Fe(i=>{let e=n[ks]();if(Be(e.subscribe))return e.subscribe(i);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function nF(n){return new Fe(i=>{for(let e=0;e{n.then(e=>{i.closed||(i.next(e),i.complete())},e=>i.error(e)).then(null,fu)})}function oF(n){return new Fe(i=>{for(let e of n)if(i.next(e),i.closed)return;i.complete()})}function lx(n){return new Fe(i=>{aF(n,i).catch(e=>i.error(e))})}function rF(n){return lx(Tu(n))}function aF(n,i){var e,t,o,r;return rx(this,void 0,void 0,function*(){try{for(e=sx(n);t=yield e.next(),!t.done;){let a=t.value;if(i.next(a),i.closed)return}}catch(a){o={error:a}}finally{try{t&&!t.done&&(r=e.return)&&(yield r.call(e))}finally{if(o)throw o.error}}i.complete()})}function ii(n,i,e,t=0,o=!1){let r=i.schedule(function(){e(),o?n.add(this.schedule(null,t)):this.unsubscribe()},t);if(n.add(r),!o)return r}function Au(n,i=0){return Le((e,t)=>{e.subscribe(Oe(t,o=>ii(t,n,()=>t.next(o),i),()=>ii(t,n,()=>t.complete(),i),o=>ii(t,n,()=>t.error(o),i)))})}function Ru(n,i=0){return Le((e,t)=>{t.add(n.schedule(()=>e.subscribe(t),i))})}function cx(n,i){return St(n).pipe(Ru(i),Au(i))}function dx(n,i){return St(n).pipe(Ru(i),Au(i))}function ux(n,i){return new Fe(e=>{let t=0;return i.schedule(function(){t===n.length?e.complete():(e.next(n[t++]),e.closed||this.schedule())})})}function mx(n,i){return new Fe(e=>{let t;return ii(e,i,()=>{t=n[Mu](),ii(e,i,()=>{let o,r;try{({value:o,done:r}=t.next())}catch(a){e.error(a);return}r?e.complete():e.next(o)},0,!0)}),()=>Be(t?.return)&&t.return()})}function Ou(n,i){if(!n)throw new Error("Iterable cannot be null");return new Fe(e=>{ii(e,i,()=>{let t=n[Symbol.asyncIterator]();ii(e,i,()=>{t.next().then(o=>{o.done?e.complete():e.next(o.value)})},0,!0)})})}function px(n,i){return Ou(Tu(n),i)}function hx(n,i){if(n!=null){if(Du(n))return cx(n,i);if(Fs(n))return ux(n,i);if(xu(n))return dx(n,i);if(Su(n))return Ou(n,i);if(Iu(n))return mx(n,i);if(ku(n))return px(n,i)}throw Eu(n)}function Kt(n,i){return i?hx(n,i):St(n)}function ie(...n){let i=Lo(n);return Kt(n,i)}function Vo(n,i){let e=Be(n)?n:()=>n,t=o=>o.error(e());return new Fe(i?o=>i.schedule(t,0,o):t)}function Gr(n){return!!n&&(n instanceof Fe||Be(n.lift)&&Be(n.subscribe))}var bo=Hr(n=>function(){n(this),this.name="EmptyError",this.message="no elements in sequence"});function Pu(n,i){let e=typeof i=="object";return new Promise((t,o)=>{let r=new vo({next:a=>{t(a),r.unsubscribe()},error:o,complete:()=>{e?t(i.defaultValue):o(new bo)}});n.subscribe(r)})}function Fu(n){return n instanceof Date&&!isNaN(n)}var sF=Hr(n=>function(e=null){n(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=e});function a_(n,i){let{first:e,each:t,with:o=lF,scheduler:r=i??ni,meta:a=null}=Fu(n)?{first:n}:typeof n=="number"?{each:n}:n;if(e==null&&t==null)throw new TypeError("No timeout provided.");return Le((s,l)=>{let m,g,v=null,D=0,S=I=>{g=ii(l,r,()=>{try{m.unsubscribe(),St(o({meta:a,lastValue:v,seen:D})).subscribe(l)}catch(A){l.error(A)}},I)};m=s.subscribe(Oe(l,I=>{g?.unsubscribe(),D++,l.next(v=I),t>0&&S(t)},void 0,void 0,()=>{g?.closed||g?.unsubscribe(),v=null})),!D&&S(e!=null?typeof e=="number"?e:+e-r.now():t)})}function lF(n){throw new sF(n)}function le(n,i){return Le((e,t)=>{let o=0;e.subscribe(Oe(t,r=>{t.next(n.call(i,r,o++))}))})}var{isArray:cF}=Array;function dF(n,i){return cF(i)?n(...i):n(i)}function Ns(n){return le(i=>dF(n,i))}var{isArray:uF}=Array,{getPrototypeOf:mF,prototype:pF,keys:hF}=Object;function Nu(n){if(n.length===1){let i=n[0];if(uF(i))return{args:i,keys:null};if(fF(i)){let e=hF(i);return{args:e.map(t=>i[t]),keys:e}}}return{args:n,keys:null}}function fF(n){return n&&typeof n=="object"&&mF(n)===pF}function Lu(n,i){return n.reduce((e,t,o)=>(e[t]=i[o],e),{})}function Pi(...n){let i=Lo(n),e=Cu(n),{args:t,keys:o}=Nu(n);if(t.length===0)return Kt([],i);let r=new Fe(gF(t,i,o?a=>Lu(o,a):ui));return e?r.pipe(Ns(e)):r}function gF(n,i,e=ui){return t=>{fx(i,()=>{let{length:o}=n,r=new Array(o),a=o,s=o;for(let l=0;l{let m=Kt(n[l],i),g=!1;m.subscribe(Oe(t,v=>{r[l]=v,g||(g=!0,s--),s||t.next(e(r.slice()))},()=>{--a||t.complete()}))},t)},t)}}function fx(n,i,e){n?ii(e,n,i):i()}function gx(n,i,e,t,o,r,a,s){let l=[],m=0,g=0,v=!1,D=()=>{v&&!l.length&&!m&&i.complete()},S=A=>m{r&&i.next(A),m++;let Y=!1;St(e(A,g++)).subscribe(Oe(i,V=>{o?.(V),r?S(V):i.next(V)},()=>{Y=!0},void 0,()=>{if(Y)try{for(m--;l.length&&mI(V)):I(V)}D()}catch(V){i.error(V)}}))};return n.subscribe(Oe(i,S,()=>{v=!0,D()})),()=>{s?.()}}function un(n,i,e=1/0){return Be(i)?un((t,o)=>le((r,a)=>i(t,r,o,a))(St(n(t,o))),e):(typeof i=="number"&&(e=i),Le((t,o)=>gx(t,o,n,e)))}function $r(n=1/0){return un(ui,n)}function _x(){return $r(1)}function Bo(...n){return _x()(Kt(n,Lo(n)))}function Xi(n){return new Fe(i=>{St(n()).subscribe(i)})}function cc(...n){let i=Cu(n),{args:e,keys:t}=Nu(n),o=new Fe(r=>{let{length:a}=e;if(!a){r.complete();return}let s=new Array(a),l=a,m=a;for(let g=0;g{v||(v=!0,m--),s[g]=D},()=>l--,void 0,()=>{(!l||!v)&&(m||r.next(t?Lu(t,s):s),r.complete())}))}});return i?o.pipe(Ns(i)):o}var _F=["addListener","removeListener"],vF=["addEventListener","removeEventListener"],bF=["on","off"];function mi(n,i,e,t){if(Be(e)&&(t=e,e=void 0),t)return mi(n,i,e).pipe(Ns(t));let[o,r]=CF(n)?vF.map(a=>s=>n[a](i,s,e)):yF(n)?_F.map(vx(n,i)):wF(n)?bF.map(vx(n,i)):[];if(!o&&Fs(n))return un(a=>mi(a,i,e))(St(n));if(!o)throw new TypeError("Invalid event target");return new Fe(a=>{let s=(...l)=>a.next(1r(s)})}function vx(n,i){return e=>t=>n[e](i,t)}function yF(n){return Be(n.addListener)&&Be(n.removeListener)}function wF(n){return Be(n.on)&&Be(n.off)}function CF(n){return Be(n.addEventListener)&&Be(n.removeEventListener)}function yo(n=0,i,e=o_){let t=-1;return i!=null&&(wu(i)?e=i:t=i),new Fe(o=>{let r=Fu(n)?+n-e.now():n;r<0&&(r=0);let a=0;return e.schedule(function(){o.closed||(o.next(a++),0<=t?this.schedule(void 0,t):o.complete())},r)})}function s_(n=0,i=ni){return n<0&&(n=0),yo(n,n,i)}function yt(...n){let i=Lo(n),e=ix(n,1/0),t=n;return t.length?t.length===1?St(t[0]):$r(e)(Kt(t,i)):kn}function je(n,i){return Le((e,t)=>{let o=0;e.subscribe(Oe(t,r=>n.call(i,r,o++)&&t.next(r)))})}function bx(n){return Le((i,e)=>{let t=!1,o=null,r=null,a=!1,s=()=>{if(r?.unsubscribe(),r=null,t){t=!1;let m=o;o=null,e.next(m)}a&&e.complete()},l=()=>{r=null,a&&e.complete()};i.subscribe(Oe(e,m=>{t=!0,o=m,r||St(n(m)).subscribe(r=Oe(e,s,l))},()=>{a=!0,(!t||!r||r.closed)&&e.complete()}))})}function Vu(n,i=ni){return bx(()=>yo(n,i))}function Yn(n){return Le((i,e)=>{let t=null,o=!1,r;t=i.subscribe(Oe(e,void 0,void 0,a=>{r=St(n(a,Yn(n)(i))),t?(t.unsubscribe(),t=null,r.subscribe(e)):o=!0})),o&&(t.unsubscribe(),t=null,r.subscribe(e))})}function yx(n,i,e,t,o){return(r,a)=>{let s=e,l=i,m=0;r.subscribe(Oe(a,g=>{let v=m++;l=s?n(l,g,v):(s=!0,g),t&&a.next(l)},o&&(()=>{s&&a.next(l),a.complete()})))}}function dr(n,i){return Be(i)?un(n,i,1):un(n,1)}function ur(n,i=ni){return Le((e,t)=>{let o=null,r=null,a=null,s=()=>{if(o){o.unsubscribe(),o=null;let m=r;r=null,t.next(m)}};function l(){let m=a+n,g=i.now();if(g{r=m,a=i.now(),o||(o=i.schedule(l,n),t.add(o))},()=>{s(),t.complete()},void 0,()=>{r=o=null}))})}function qr(n){return Le((i,e)=>{let t=!1;i.subscribe(Oe(e,o=>{t=!0,e.next(o)},()=>{t||e.next(n),e.complete()}))})}function Rt(n){return n<=0?()=>kn:Le((i,e)=>{let t=0;i.subscribe(Oe(e,o=>{++t<=n&&(e.next(o),n<=t&&e.complete())}))})}function wx(){return Le((n,i)=>{n.subscribe(Oe(i,Na))})}function dc(n){return le(()=>n)}function l_(n,i){return i?e=>Bo(i.pipe(Rt(1),wx()),e.pipe(l_(n))):un((e,t)=>St(n(e,t)).pipe(Rt(1),dc(e)))}function Yr(n,i=ni){let e=yo(n,i);return l_(()=>e)}function Ls(n,i=ui){return n=n??xF,Le((e,t)=>{let o,r=!0;e.subscribe(Oe(t,a=>{let s=i(a);(r||!n(o,s))&&(r=!1,o=s,t.next(a))}))})}function xF(n,i){return n===i}function Bu(n=DF){return Le((i,e)=>{let t=!1;i.subscribe(Oe(e,o=>{t=!0,e.next(o)},()=>t?e.complete():e.error(n())))})}function DF(){return new bo}function jo(n){return Le((i,e)=>{try{i.subscribe(e)}finally{e.add(n)}})}function zo(n,i){let e=arguments.length>=2;return t=>t.pipe(n?je((o,r)=>n(o,r,t)):ui,Rt(1),e?qr(i):Bu(()=>new bo))}function Vs(n){return n<=0?()=>kn:Le((i,e)=>{let t=[];i.subscribe(Oe(e,o=>{t.push(o),n{for(let o of t)e.next(o);e.complete()},void 0,()=>{t=null}))})}function c_(n,i){let e=arguments.length>=2;return t=>t.pipe(n?je((o,r)=>n(o,r,t)):ui,Vs(1),e?qr(i):Bu(()=>new bo))}function ju(){return Le((n,i)=>{let e,t=!1;n.subscribe(Oe(i,o=>{let r=e;e=o,t&&i.next([r,o]),t=!0}))})}function d_(n,i){return Le(yx(n,i,arguments.length>=2,!0))}function uc(n={}){let{connector:i=()=>new j,resetOnError:e=!0,resetOnComplete:t=!0,resetOnRefCountZero:o=!0}=n;return r=>{let a,s,l,m=0,g=!1,v=!1,D=()=>{s?.unsubscribe(),s=void 0},S=()=>{D(),a=l=void 0,g=v=!1},I=()=>{let A=a;S(),A?.unsubscribe()};return Le((A,Y)=>{m++,!v&&!g&&D();let V=l=l??i();Y.add(()=>{m--,m===0&&!v&&!g&&(s=u_(I,o))}),V.subscribe(Y),!a&&m>0&&(a=new vo({next:he=>V.next(he),error:he=>{v=!0,D(),s=u_(S,e,he),V.error(he)},complete:()=>{g=!0,D(),s=u_(S,t),V.complete()}}),St(A).subscribe(a))})(r)}}function u_(n,i,...e){if(i===!0){n();return}if(i===!1)return;let t=new vo({next:()=>{t.unsubscribe(),n()}});return St(i(...e)).subscribe(t)}function zu(n,i,e){let t,o=!1;return n&&typeof n=="object"?{bufferSize:t=1/0,windowTime:i=1/0,refCount:o=!1,scheduler:e}=n:t=n??1/0,uc({connector:()=>new Zi(t,i,e),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function ja(n){return je((i,e)=>n<=e)}function Et(...n){let i=Lo(n);return Le((e,t)=>{(i?Bo(n,e,i):Bo(n,e)).subscribe(t)})}function Tt(n,i){return Le((e,t)=>{let o=null,r=0,a=!1,s=()=>a&&!o&&t.complete();e.subscribe(Oe(t,l=>{o?.unsubscribe();let m=0,g=r++;St(n(l,g)).subscribe(o=Oe(t,v=>t.next(i?i(l,v,g,m++):v),()=>{o=null,s()}))},()=>{a=!0,s()}))})}function pe(n){return Le((i,e)=>{St(n).subscribe(Oe(e,()=>e.complete(),Na)),!e.closed&&i.subscribe(e)})}function m_(n,i=!1){return Le((e,t)=>{let o=0;e.subscribe(Oe(t,r=>{let a=n(r,o++);(a||i)&&t.next(r),!a&&t.complete()}))})}function Ht(n,i,e){let t=Be(n)||i||e?{next:n,error:i,complete:e}:n;return t?Le((o,r)=>{var a;(a=t.subscribe)===null||a===void 0||a.call(t);let s=!0;o.subscribe(Oe(r,l=>{var m;(m=t.next)===null||m===void 0||m.call(t,l),r.next(l)},()=>{var l;s=!1,(l=t.complete)===null||l===void 0||l.call(t),r.complete()},l=>{var m;s=!1,(m=t.error)===null||m===void 0||m.call(t,l),r.error(l)},()=>{var l,m;s&&((l=t.unsubscribe)===null||l===void 0||l.call(t)),(m=t.finalize)===null||m===void 0||m.call(t)}))}):ui}function Cx(n,i){return Le((e,t)=>{let{leading:o=!0,trailing:r=!1}=i??{},a=!1,s=null,l=null,m=!1,g=()=>{l?.unsubscribe(),l=null,r&&(S(),m&&t.complete())},v=()=>{l=null,m&&t.complete()},D=I=>l=St(n(I)).subscribe(Oe(t,g,v)),S=()=>{if(a){a=!1;let I=s;s=null,t.next(I),!m&&D(I)}};e.subscribe(Oe(t,I=>{a=!0,s=I,!(l&&!l.closed)&&(o?S():D(I))},()=>{m=!0,!(r&&a&&l&&!l.closed)&&t.complete()}))})}function p_(n,i=ni,e){let t=yo(n,i);return Cx(()=>t,e)}var hD="https://g.co/ng/security#xss",K=class extends Error{code;constructor(i,e){super(Fm(i,e)),this.code=i}};function Fm(n,i){return`${`NG0${Math.abs(n)}`}${i?": "+i:""}`}var fD=Symbol("InputSignalNode#UNSET"),SF=Qe(L({},$g),{transformFn:void 0,applyValueToInputSignal(n,i){mu(n,i)}});function gD(n,i){let e=Object.create(SF);e.value=n,e.transformFn=i?.transform;function t(){if(cu(e),e.value===fD)throw new K(-950,!1);return e.value}return t[ti]=e,t}function Dc(n){return{toString:n}.toString()}var Uu="__parameters__";function EF(n){return function(...e){if(n){let t=n(...e);for(let o in t)this[o]=t[o]}}}function _D(n,i,e){return Dc(()=>{let t=EF(i);function o(...r){if(this instanceof o)return t.apply(this,r),this;let a=new o(...r);return s.annotation=a,s;function s(l,m,g){let v=l.hasOwnProperty(Uu)?l[Uu]:Object.defineProperty(l,Uu,{value:[]})[Uu];for(;v.length<=g;)v.push(null);return(v[g]=v[g]||[]).push(a),l}}return e&&(o.prototype=Object.create(e.prototype)),o.prototype.ngMetadataName=n,o.annotationCls=o,o})}var Ni=globalThis;function Zt(n){for(let i in n)if(n[i]===Zt)return i;throw Error("Could not find renamed property on target object.")}function MF(n,i){for(let e in i)i.hasOwnProperty(e)&&!n.hasOwnProperty(e)&&(n[e]=i[e])}function hi(n){if(typeof n=="string")return n;if(Array.isArray(n))return"["+n.map(hi).join(", ")+"]";if(n==null)return""+n;if(n.overriddenName)return`${n.overriddenName}`;if(n.name)return`${n.name}`;let i=n.toString();if(i==null)return""+i;let e=i.indexOf(` +`);return e===-1?i:i.substring(0,e)}function E_(n,i){return n==null||n===""?i===null?"":i:i==null||i===""?n:n+" "+i}var IF=Zt({__forward_ref__:Zt});function ln(n){return n.__forward_ref__=ln,n.toString=function(){return hi(this())},n}function Qn(n){return vD(n)?n():n}function vD(n){return typeof n=="function"&&n.hasOwnProperty(IF)&&n.__forward_ref__===ln}function P(n){return{token:n.token,providedIn:n.providedIn||null,factory:n.factory,value:void 0}}function X(n){return{providers:n.providers||[],imports:n.imports||[]}}function Nm(n){return xx(n,yD)||xx(n,wD)}function bD(n){return Nm(n)!==null}function xx(n,i){return n.hasOwnProperty(i)?n[i]:null}function TF(n){let i=n&&(n[yD]||n[wD]);return i||null}function Dx(n){return n&&(n.hasOwnProperty(Sx)||n.hasOwnProperty(kF))?n[Sx]:null}var yD=Zt({\u0275prov:Zt}),Sx=Zt({\u0275inj:Zt}),wD=Zt({ngInjectableDef:Zt}),kF=Zt({ngInjectorDef:Zt}),R=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(i,e){this._desc=i,this.\u0275prov=void 0,typeof e=="number"?this.__NG_ELEMENT_ID__=e:e!==void 0&&(this.\u0275prov=P({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function CD(n){return n&&!!n.\u0275providers}var AF=Zt({\u0275cmp:Zt}),RF=Zt({\u0275dir:Zt}),OF=Zt({\u0275pipe:Zt}),PF=Zt({\u0275mod:Zt}),nm=Zt({\u0275fac:Zt}),hc=Zt({__NG_ELEMENT_ID__:Zt}),Ex=Zt({__NG_ENV_ID__:Zt});function Ua(n){return typeof n=="string"?n:n==null?"":String(n)}function FF(n){return typeof n=="function"?n.name||n.toString():typeof n=="object"&&n!=null&&typeof n.type=="function"?n.type.name||n.type.toString():Ua(n)}function NF(n,i){let e=i?`. Dependency path: ${i.join(" > ")} > ${n}`:"";throw new K(-200,n)}function Lv(n,i){throw new K(-201,!1)}var ht=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}(ht||{}),M_;function xD(){return M_}function yi(n){let i=M_;return M_=n,i}function DD(n,i,e){let t=Nm(n);if(t&&t.providedIn=="root")return t.value===void 0?t.value=t.factory():t.value;if(e&ht.Optional)return null;if(i!==void 0)return i;Lv(n,"Injector")}var LF={},gc=LF,I_="__NG_DI_FLAG__",im="ngTempTokenPath",VF="ngTokenPath",BF=/\n/gm,jF="\u0275",Mx="__source",Hs;function zF(){return Hs}function Qr(n){let i=Hs;return Hs=n,i}function UF(n,i=ht.Default){if(Hs===void 0)throw new K(-203,!1);return Hs===null?DD(n,void 0,i):Hs.get(n,i&ht.Optional?null:void 0,i)}function oe(n,i=ht.Default){return(xD()||UF)(Qn(n),i)}function h(n,i=ht.Default){return oe(n,Lm(i))}function Lm(n){return typeof n>"u"||typeof n=="number"?n:0|(n.optional&&8)|(n.host&&1)|(n.self&&2)|(n.skipSelf&&4)}function T_(n){let i=[];for(let e=0;e ");else if(typeof i=="object"){let r=[];for(let a in i)if(i.hasOwnProperty(a)){let s=i[a];r.push(a+":"+(typeof s=="string"?JSON.stringify(s):hi(s)))}o=`{${r.join(", ")}}`}return`${e}${t?"("+t+")":""}[${o}]: ${n.replace(BF,` + `)}`}var Bi=SD(_D("Optional"),8);var So=SD(_D("SkipSelf"),4);function Ha(n,i){let e=n.hasOwnProperty(nm);return e?n[nm]:null}function $F(n,i,e){if(n.length!==i.length)return!1;for(let t=0;tArray.isArray(e)?Vv(e,i):i(e))}function ED(n,i,e){i>=n.length?n.push(e):n.splice(i,0,e)}function om(n,i){return i>=n.length-1?n.pop():n.splice(i,1)[0]}function YF(n,i){let e=[];for(let t=0;ti;){let r=o-2;n[o]=n[r],o--}n[i]=e,n[i+1]=t}}function Vm(n,i,e){let t=Sc(n,i);return t>=0?n[t|1]=e:(t=~t,QF(n,t,i,e)),t}function h_(n,i){let e=Sc(n,i);if(e>=0)return n[e|1]}function Sc(n,i){return KF(n,i,1)}function KF(n,i,e){let t=0,o=n.length>>e;for(;o!==t;){let r=t+(o-t>>1),a=n[r<i?o=r:t=r+1}return~(o<{e.push(a)};return Vv(i,a=>{let s=a;k_(s,r,[],t)&&(o||=[],o.push(s))}),o!==void 0&&OD(o,r),e}function OD(n,i){for(let e=0;e{i(r,t)})}}function k_(n,i,e,t){if(n=Qn(n),!n)return!1;let o=null,r=Dx(n),a=!r&&pr(n);if(!r&&!a){let l=n.ngModule;if(r=Dx(l),r)o=l;else return!1}else{if(a&&!a.standalone)return!1;o=n}let s=t.has(o);if(a){if(s)return!1;if(t.add(o),a.dependencies){let l=typeof a.dependencies=="function"?a.dependencies():a.dependencies;for(let m of l)k_(m,i,e,t)}}else if(r){if(r.imports!=null&&!s){t.add(o);let m;try{Vv(r.imports,g=>{k_(g,i,e,t)&&(m||=[],m.push(g))})}finally{}m!==void 0&&OD(m,i)}if(!s){let m=Ha(o)||(()=>new o);i({provide:o,useFactory:m,deps:pi},o),i({provide:ID,useValue:o,multi:!0},o),i({provide:Gs,useValue:()=>oe(o),multi:!0},o)}let l=r.providers;if(l!=null&&!s){let m=n;jv(l,g=>{i(g,m)})}}else return!1;return o!==n&&n.providers!==void 0}function jv(n,i){for(let e of n)CD(e)&&(e=e.\u0275providers),Array.isArray(e)?jv(e,i):i(e)}var XF=Zt({provide:String,useValue:Zt});function PD(n){return n!==null&&typeof n=="object"&&XF in n}function JF(n){return!!(n&&n.useExisting)}function eN(n){return!!(n&&n.useFactory)}function $s(n){return typeof n=="function"}function tN(n){return!!n.useClass}var jm=new R(""),Ku={},nN={},f_;function zm(){return f_===void 0&&(f_=new rm),f_}var An=class{},_c=class extends An{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(i,e,t,o){super(),this.parent=e,this.source=t,this.scopes=o,R_(i,a=>this.processProvider(a)),this.records.set(MD,Bs(void 0,this)),o.has("environment")&&this.records.set(An,Bs(void 0,this));let r=this.records.get(jm);r!=null&&typeof r.value=="string"&&this.scopes.add(r.value),this.injectorDefTypes=new Set(this.get(ID,pi,ht.Self))}destroy(){mc(this),this._destroyed=!0;let i=bt(null);try{for(let t of this._ngOnDestroyHooks)t.ngOnDestroy();let e=this._onDestroyHooks;this._onDestroyHooks=[];for(let t of e)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),bt(i)}}onDestroy(i){return mc(this),this._onDestroyHooks.push(i),()=>this.removeOnDestroy(i)}runInContext(i){mc(this);let e=Qr(this),t=yi(void 0),o;try{return i()}finally{Qr(e),yi(t)}}get(i,e=gc,t=ht.Default){if(mc(this),i.hasOwnProperty(Ex))return i[Ex](this);t=Lm(t);let o,r=Qr(this),a=yi(void 0);try{if(!(t&ht.SkipSelf)){let l=this.records.get(i);if(l===void 0){let m=sN(i)&&Nm(i);m&&this.injectableDefInScope(m)?l=Bs(A_(i),Ku):l=null,this.records.set(i,l)}if(l!=null)return this.hydrate(i,l)}let s=t&ht.Self?zm():this.parent;return e=t&ht.Optional&&e===gc?null:e,s.get(i,e)}catch(s){if(s.name==="NullInjectorError"){if((s[im]=s[im]||[]).unshift(hi(i)),r)throw s;return WF(s,i,"R3InjectorError",this.source)}else throw s}finally{yi(a),Qr(r)}}resolveInjectorInitializers(){let i=bt(null),e=Qr(this),t=yi(void 0),o;try{let r=this.get(Gs,pi,ht.Self);for(let a of r)a()}finally{Qr(e),yi(t),bt(i)}}toString(){let i=[],e=this.records;for(let t of e.keys())i.push(hi(t));return`R3Injector[${i.join(", ")}]`}processProvider(i){i=Qn(i);let e=$s(i)?i:Qn(i&&i.provide),t=oN(i);if(!$s(i)&&i.multi===!0){let o=this.records.get(e);o||(o=Bs(void 0,Ku,!0),o.factory=()=>T_(o.multi),this.records.set(e,o)),e=i,o.multi.push(i)}this.records.set(e,t)}hydrate(i,e){let t=bt(null);try{return e.value===Ku&&(e.value=nN,e.value=e.factory()),typeof e.value=="object"&&e.value&&aN(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}finally{bt(t)}}injectableDefInScope(i){if(!i.providedIn)return!1;let e=Qn(i.providedIn);return typeof e=="string"?e==="any"||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(i){let e=this._onDestroyHooks.indexOf(i);e!==-1&&this._onDestroyHooks.splice(e,1)}};function A_(n){let i=Nm(n),e=i!==null?i.factory:Ha(n);if(e!==null)return e;if(n instanceof R)throw new K(204,!1);if(n instanceof Function)return iN(n);throw new K(204,!1)}function iN(n){if(n.length>0)throw new K(204,!1);let e=TF(n);return e!==null?()=>e.factory(n):()=>new n}function oN(n){if(PD(n))return Bs(void 0,n.useValue);{let i=FD(n);return Bs(i,Ku)}}function FD(n,i,e){let t;if($s(n)){let o=Qn(n);return Ha(o)||A_(o)}else if(PD(n))t=()=>Qn(n.useValue);else if(eN(n))t=()=>n.useFactory(...T_(n.deps||[]));else if(JF(n))t=()=>oe(Qn(n.useExisting));else{let o=Qn(n&&(n.useClass||n.provide));if(rN(n))t=()=>new o(...T_(n.deps));else return Ha(o)||A_(o)}return t}function mc(n){if(n.destroyed)throw new K(205,!1)}function Bs(n,i,e=!1){return{factory:n,value:i,multi:e?[]:void 0}}function rN(n){return!!n.deps}function aN(n){return n!==null&&typeof n=="object"&&typeof n.ngOnDestroy=="function"}function sN(n){return typeof n=="function"||typeof n=="object"&&n instanceof R}function R_(n,i){for(let e of n)Array.isArray(e)?R_(e,i):e&&CD(e)?R_(e.\u0275providers,i):i(e)}function Ci(n,i){n instanceof _c&&mc(n);let e,t=Qr(n),o=yi(void 0);try{return i()}finally{Qr(t),yi(o)}}function ND(){return xD()!==void 0||zF()!=null}function Um(n){if(!ND())throw new K(-203,!1)}function lN(n){let i=Ni.ng;if(i&&i.\u0275compilerFacade)return i.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function cN(n){return typeof n=="function"}var qo=0,ot=1,ze=2,ai=3,xo=4,xi=5,qs=6,am=7,oi=8,Ys=9,hr=10,sn=11,vc=12,Ix=13,el=14,Li=15,Wa=16,js=17,fr=18,Hm=19,LD=20,Kr=21,Zu=22,Ga=23,Fi=24,Bn=25,zv=1;var $a=7,sm=8,Qs=9,ri=10,lm=function(n){return n[n.None=0]="None",n[n.HasTransplantedViews=2]="HasTransplantedViews",n}(lm||{});function Zr(n){return Array.isArray(n)&&typeof n[zv]=="object"}function vr(n){return Array.isArray(n)&&n[zv]===!0}function Uv(n){return(n.flags&4)!==0}function Wm(n){return n.componentOffset>-1}function Gm(n){return(n.flags&1)===1}function gr(n){return!!n.template}function O_(n){return(n[ze]&512)!==0}var P_=class{previousValue;currentValue;firstChange;constructor(i,e,t){this.previousValue=i,this.currentValue=e,this.firstChange=t}isFirstChange(){return this.firstChange}};function VD(n,i,e,t){i!==null?i.applyValueToInputSignal(i,t):n[e]=t}var Ze=(()=>{let n=()=>BD;return n.ngInherit=!0,n})();function BD(n){return n.type.prototype.ngOnChanges&&(n.setInput=uN),dN}function dN(){let n=zD(this),i=n?.current;if(i){let e=n.previous;if(e===mr)n.previous=i;else for(let t in i)e[t]=i[t];n.current=null,this.ngOnChanges(i)}}function uN(n,i,e,t,o){let r=this.declaredInputs[t],a=zD(n)||mN(n,{previous:mr,current:null}),s=a.current||(a.current={}),l=a.previous,m=l[r];s[r]=new P_(m&&m.currentValue,e,l===mr),VD(n,i,o,e)}var jD="__ngSimpleChanges__";function zD(n){return n[jD]||null}function mN(n,i){return n[jD]=i}var Tx=null;var Uo=function(n,i,e){Tx?.(n,i,e)},UD="svg",pN="math";function Wo(n){for(;Array.isArray(n);)n=n[qo];return n}function hN(n){for(;Array.isArray(n);){if(typeof n[zv]=="object")return n;n=n[qo]}return null}function HD(n,i){return Wo(i[n])}function eo(n,i){return Wo(i[n.index])}function Hv(n,i){return n.data[i]}function Wv(n,i){return n[i]}function na(n,i){let e=i[n];return Zr(e)?e:e[qo]}function fN(n){return(n[ze]&4)===4}function Gv(n){return(n[ze]&128)===128}function gN(n){return vr(n[ai])}function Xr(n,i){return i==null?null:n[i]}function WD(n){n[js]=0}function $v(n){n[ze]&1024||(n[ze]|=1024,Gv(n)&&Ec(n))}function _N(n,i){for(;n>0;)i=i[el],n--;return i}function $m(n){return!!(n[ze]&9216||n[Fi]?.dirty)}function F_(n){n[hr].changeDetectionScheduler?.notify(9),n[ze]&64&&(n[ze]|=1024),$m(n)&&Ec(n)}function Ec(n){n[hr].changeDetectionScheduler?.notify(0);let i=qa(n);for(;i!==null&&!(i[ze]&8192||(i[ze]|=8192,!Gv(i)));)i=qa(i)}function GD(n,i){if((n[ze]&256)===256)throw new K(911,!1);n[Kr]===null&&(n[Kr]=[]),n[Kr].push(i)}function vN(n,i){if(n[Kr]===null)return;let e=n[Kr].indexOf(i);e!==-1&&n[Kr].splice(e,1)}function qa(n){let i=n[ai];return vr(i)?i[ai]:i}var st={lFrame:XD(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var N_=!1;function bN(){return st.lFrame.elementDepthCount}function yN(){st.lFrame.elementDepthCount++}function wN(){st.lFrame.elementDepthCount--}function $D(){return st.bindingsEnabled}function qD(){return st.skipHydrationRootTNode!==null}function CN(n){return st.skipHydrationRootTNode===n}function xN(){st.skipHydrationRootTNode=null}function Ue(){return st.lFrame.lView}function tn(){return st.lFrame.tView}function y(n){return st.lFrame.contextLView=n,n[oi]}function w(n){return st.lFrame.contextLView=null,n}function Rn(){let n=YD();for(;n!==null&&n.type===64;)n=n.parent;return n}function YD(){return st.lFrame.currentTNode}function DN(){let n=st.lFrame,i=n.currentTNode;return n.isParent?i:i.parent}function ts(n,i){let e=st.lFrame;e.currentTNode=n,e.isParent=i}function qv(){return st.lFrame.isParent}function Yv(){st.lFrame.isParent=!1}function SN(){return st.lFrame.contextLView}function QD(){return N_}function cm(n){let i=N_;return N_=n,i}function Mc(){let n=st.lFrame,i=n.bindingRootIndex;return i===-1&&(i=n.bindingRootIndex=n.tView.bindingStartIndex),i}function EN(){return st.lFrame.bindingIndex}function MN(n){return st.lFrame.bindingIndex=n}function ia(){return st.lFrame.bindingIndex++}function Qv(n){let i=st.lFrame,e=i.bindingIndex;return i.bindingIndex=i.bindingIndex+n,e}function IN(){return st.lFrame.inI18n}function TN(n,i){let e=st.lFrame;e.bindingIndex=e.bindingRootIndex=n,L_(i)}function kN(){return st.lFrame.currentDirectiveIndex}function L_(n){st.lFrame.currentDirectiveIndex=n}function Kv(n){let i=st.lFrame.currentDirectiveIndex;return i===-1?null:n[i]}function Zv(){return st.lFrame.currentQueryIndex}function qm(n){st.lFrame.currentQueryIndex=n}function AN(n){let i=n[ot];return i.type===2?i.declTNode:i.type===1?n[xi]:null}function KD(n,i,e){if(e&ht.SkipSelf){let o=i,r=n;for(;o=o.parent,o===null&&!(e&ht.Host);)if(o=AN(r),o===null||(r=r[el],o.type&10))break;if(o===null)return!1;i=o,n=r}let t=st.lFrame=ZD();return t.currentTNode=i,t.lView=n,!0}function Xv(n){let i=ZD(),e=n[ot];st.lFrame=i,i.currentTNode=e.firstChild,i.lView=n,i.tView=e,i.contextLView=n,i.bindingIndex=e.bindingStartIndex,i.inI18n=!1}function ZD(){let n=st.lFrame,i=n===null?null:n.child;return i===null?XD(n):i}function XD(n){let i={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=i),i}function JD(){let n=st.lFrame;return st.lFrame=n.parent,n.currentTNode=null,n.lView=null,n}var eS=JD;function Jv(){let n=JD();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 RN(n){return(st.lFrame.contextLView=_N(n,st.lFrame.contextLView))[oi]}function br(){return st.lFrame.selectedIndex}function Ya(n){st.lFrame.selectedIndex=n}function tl(){let n=st.lFrame;return Hv(n.tView,n.selectedIndex)}function fn(){st.lFrame.currentNamespace=UD}function yr(){ON()}function ON(){st.lFrame.currentNamespace=null}function PN(){return st.lFrame.currentNamespace}var tS=!0;function Ym(){return tS}function Qm(n){tS=n}function FN(n,i,e){let{ngOnChanges:t,ngOnInit:o,ngDoCheck:r}=i.type.prototype;if(t){let a=BD(i);(e.preOrderHooks??=[]).push(n,a),(e.preOrderCheckHooks??=[]).push(n,a)}o&&(e.preOrderHooks??=[]).push(0-n,o),r&&((e.preOrderHooks??=[]).push(n,r),(e.preOrderCheckHooks??=[]).push(n,r))}function Km(n,i){for(let e=i.directiveStart,t=i.directiveEnd;e=t)break}else i[l]<0&&(n[js]+=65536),(s>14>16&&(n[ze]&3)===i&&(n[ze]+=16384,kx(s,r)):kx(s,r)}var Ws=-1,Qa=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(i,e,t){this.factory=i,this.canSeeViewProviders=e,this.injectImpl=t}};function LN(n){return n instanceof Qa}function VN(n){return(n.flags&8)!==0}function BN(n){return(n.flags&16)!==0}function V_(n,i,e){let t=0;for(;ti){a=r-1;break}}}for(;r>16}function um(n,i){let e=zN(n),t=i;for(;e>0;)t=t[el],e--;return t}var j_=!0;function mm(n){let i=j_;return j_=n,i}var UN=256,rS=UN-1,aS=5,HN=0,Ho={};function WN(n,i,e){let t;typeof e=="string"?t=e.charCodeAt(0)||0:e.hasOwnProperty(hc)&&(t=e[hc]),t==null&&(t=e[hc]=HN++);let o=t&rS,r=1<>aS)]|=r}function pm(n,i){let e=sS(n,i);if(e!==-1)return e;let t=i[ot];t.firstCreatePass&&(n.injectorIndex=i.length,v_(t.data,n),v_(i,null),v_(t.blueprint,null));let o=eb(n,i),r=n.injectorIndex;if(oS(o)){let a=dm(o),s=um(o,i),l=s[ot].data;for(let m=0;m<8;m++)i[r+m]=s[a+m]|l[a+m]}return i[r+8]=o,r}function v_(n,i){n.push(0,0,0,0,0,0,0,0,i)}function sS(n,i){return n.injectorIndex===-1||n.parent&&n.parent.injectorIndex===n.injectorIndex||i[n.injectorIndex+8]===null?-1:n.injectorIndex}function eb(n,i){if(n.parent&&n.parent.injectorIndex!==-1)return n.parent.injectorIndex;let e=0,t=null,o=i;for(;o!==null;){if(t=mS(o),t===null)return Ws;if(e++,o=o[el],t.injectorIndex!==-1)return t.injectorIndex|e<<16}return Ws}function z_(n,i,e){WN(n,i,e)}function GN(n,i){if(i==="class")return n.classes;if(i==="style")return n.styles;let e=n.attrs;if(e){let t=e.length,o=0;for(;o>20,v=t?s:s+g,D=o?s+g:m;for(let S=v;S=l&&I.type===e)return S}if(o){let S=a[l];if(S&&gr(S)&&S.type===e)return l}return null}function Ka(n,i,e,t){let o=n[e],r=i.data;if(LN(o)){let a=o;a.resolving&&NF(FF(r[e]));let s=mm(a.canSeeViewProviders);a.resolving=!0;let l,m=a.injectImpl?yi(a.injectImpl):null,g=KD(n,t,ht.Default);try{o=n[e]=a.factory(void 0,r,n,t),i.firstCreatePass&&e>=t.directiveStart&&FN(e,r[e],i)}finally{m!==null&&yi(m),mm(s),a.resolving=!1,eS()}}return o}function qN(n){if(typeof n=="string")return n.charCodeAt(0)||0;let i=n.hasOwnProperty(hc)?n[hc]:void 0;return typeof i=="number"?i>=0?i&rS:YN:i}function Rx(n,i,e){let t=1<>aS)]&t)}function Ox(n,i){return!(n&ht.Self)&&!(n&ht.Host&&i)}var za=class{_tNode;_lView;constructor(i,e){this._tNode=i,this._lView=e}get(i,e,t){return dS(this._tNode,this._lView,i,Lm(t),e)}};function YN(){return new za(Rn(),Ue())}function at(n){return Dc(()=>{let i=n.prototype.constructor,e=i[nm]||U_(i),t=Object.prototype,o=Object.getPrototypeOf(n.prototype).constructor;for(;o&&o!==t;){let r=o[nm]||U_(o);if(r&&r!==e)return r;o=Object.getPrototypeOf(o)}return r=>new r})}function U_(n){return vD(n)?()=>{let i=U_(Qn(n));return i&&i()}:Ha(n)}function QN(n,i,e,t,o){let r=n,a=i;for(;r!==null&&a!==null&&a[ze]&2048&&!(a[ze]&512);){let s=uS(r,a,e,t|ht.Self,Ho);if(s!==Ho)return s;let l=r.parent;if(!l){let m=a[LD];if(m){let g=m.get(e,Ho,t);if(g!==Ho)return g}l=mS(a),a=a[el]}r=l}return o}function mS(n){let i=n[ot],e=i.type;return e===2?i.declTNode:e===1?n[xi]:null}function Zm(n){return GN(Rn(),n)}function Px(n,i=null,e=null,t){let o=pS(n,i,e,t);return o.resolveInjectorInitializers(),o}function pS(n,i=null,e=null,t,o=new Set){let r=[e||pi,ZF(n)];return t=t||(typeof n=="object"?void 0:hi(n)),new _c(r,i||zm(),t||null,o)}var Ae=class n{static THROW_IF_NOT_FOUND=gc;static NULL=new rm;static create(i,e){if(Array.isArray(i))return Px({name:""},e,i,"");{let t=i.name??"";return Px({name:t},i.parent,i.providers,t)}}static \u0275prov=P({token:n,providedIn:"any",factory:()=>oe(MD)});static __NG_ELEMENT_ID__=-1};var jn=class{attributeName;constructor(i){this.attributeName=i}__NG_ELEMENT_ID__=()=>Zm(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},KN=new R("");KN.__NG_ELEMENT_ID__=n=>{let i=Rn();if(i===null)throw new K(204,!1);if(i.type&2)return i.value;if(n&ht.Optional)return null;throw new K(204,!1)};var hS=!1,Ic=(()=>{class n{static __NG_ELEMENT_ID__=ZN;static __NG_ENV_ID__=e=>e}return n})(),hm=class extends Ic{_lView;constructor(i){super(),this._lView=i}onDestroy(i){return GD(this._lView,i),()=>vN(this._lView,i)}};function ZN(){return new hm(Ue())}var Za=class{},tb=new R("",{providedIn:"root",factory:()=>!1});var fS=new R(""),gS=new R(""),Yo=(()=>{class n{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new Gt(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let e=this.taskId++;return this.pendingTasks.add(e),e}has(e){return this.pendingTasks.has(e)}remove(e){this.pendingTasks.delete(e),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=P({token:n,providedIn:"root",factory:()=>new n})}return n})();var H_=class extends j{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(i=!1){super(),this.__isAsync=i,ND()&&(this.destroyRef=h(Ic,{optional:!0})??void 0,this.pendingTasks=h(Yo,{optional:!0})??void 0)}emit(i){let e=bt(null);try{super.next(i)}finally{bt(e)}}subscribe(i,e,t){let o=i,r=e||(()=>null),a=t;if(i&&typeof i=="object"){let l=i;o=l.next?.bind(l),r=l.error?.bind(l),a=l.complete?.bind(l)}this.__isAsync&&(r=this.wrapInTimeout(r),o&&(o=this.wrapInTimeout(o)),a&&(a=this.wrapInTimeout(a)));let s=super.subscribe({next:o,error:r,complete:a});return i instanceof ge&&i.add(s),s}wrapInTimeout(i){return e=>{let t=this.pendingTasks?.add();setTimeout(()=>{i(e),t!==void 0&&this.pendingTasks?.remove(t)})}}},T=H_;function yc(...n){}function _S(n){let i,e;function t(){n=yc;try{e!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(e),i!==void 0&&clearTimeout(i)}catch{}}return i=setTimeout(()=>{n(),t()}),typeof requestAnimationFrame=="function"&&(e=requestAnimationFrame(()=>{n(),t()})),()=>t()}function Fx(n){return queueMicrotask(()=>n()),()=>{n=yc}}var nb="isAngularZone",fm=nb+"_ID",XN=0,te=class n{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new T(!1);onMicrotaskEmpty=new T(!1);onStable=new T(!1);onError=new T(!1);constructor(i){let{enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:r=hS}=i;if(typeof Zone>"u")throw new K(908,!1);Zone.assertZonePatched();let a=this;a._nesting=0,a._outer=a._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(a._inner=a._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(a._inner=a._inner.fork(Zone.longStackTraceZoneSpec)),a.shouldCoalesceEventChangeDetection=!o&&t,a.shouldCoalesceRunChangeDetection=o,a.callbackScheduled=!1,a.scheduleInRootZone=r,t2(a)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(nb)===!0}static assertInAngularZone(){if(!n.isInAngularZone())throw new K(909,!1)}static assertNotInAngularZone(){if(n.isInAngularZone())throw new K(909,!1)}run(i,e,t){return this._inner.run(i,e,t)}runTask(i,e,t,o){let r=this._inner,a=r.scheduleEventTask("NgZoneEvent: "+o,i,JN,yc,yc);try{return r.runTask(a,e,t)}finally{r.cancelTask(a)}}runGuarded(i,e,t){return this._inner.runGuarded(i,e,t)}runOutsideAngular(i){return this._outer.run(i)}},JN={};function ib(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 e2(n){if(n.isCheckStableRunning||n.callbackScheduled)return;n.callbackScheduled=!0;function i(){_S(()=>{n.callbackScheduled=!1,W_(n),n.isCheckStableRunning=!0,ib(n),n.isCheckStableRunning=!1})}n.scheduleInRootZone?Zone.root.run(()=>{i()}):n._outer.run(()=>{i()}),W_(n)}function t2(n){let i=()=>{e2(n)},e=XN++;n._inner=n._inner.fork({name:"angular",properties:{[nb]:!0,[fm]:e,[fm+e]:!0},onInvokeTask:(t,o,r,a,s,l)=>{if(n2(l))return t.invokeTask(r,a,s,l);try{return Nx(n),t.invokeTask(r,a,s,l)}finally{(n.shouldCoalesceEventChangeDetection&&a.type==="eventTask"||n.shouldCoalesceRunChangeDetection)&&i(),Lx(n)}},onInvoke:(t,o,r,a,s,l,m)=>{try{return Nx(n),t.invoke(r,a,s,l,m)}finally{n.shouldCoalesceRunChangeDetection&&!n.callbackScheduled&&!i2(l)&&i(),Lx(n)}},onHasTask:(t,o,r,a)=>{t.hasTask(r,a),o===r&&(a.change=="microTask"?(n._hasPendingMicrotasks=a.microTask,W_(n),ib(n)):a.change=="macroTask"&&(n.hasPendingMacrotasks=a.macroTask))},onHandleError:(t,o,r,a)=>(t.handleError(r,a),n.runOutsideAngular(()=>n.onError.emit(a)),!1)})}function W_(n){n._hasPendingMicrotasks||(n.shouldCoalesceEventChangeDetection||n.shouldCoalesceRunChangeDetection)&&n.callbackScheduled===!0?n.hasPendingMicrotasks=!0:n.hasPendingMicrotasks=!1}function Nx(n){n._nesting++,n.isStable&&(n.isStable=!1,n.onUnstable.emit(null))}function Lx(n){n._nesting--,ib(n)}var gm=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new T;onMicrotaskEmpty=new T;onStable=new T;onError=new T;run(i,e,t){return i.apply(e,t)}runGuarded(i,e,t){return i.apply(e,t)}runOutsideAngular(i){return i()}runTask(i,e,t,o){return i.apply(e,t)}};function n2(n){return vS(n,"__ignore_ng_zone__")}function i2(n){return vS(n,"__scheduler_tick__")}function vS(n,i){return!Array.isArray(n)||n.length!==1?!1:n[0]?.data?.[i]===!0}function o2(n="zone.js",i){return n==="noop"?new gm:n==="zone.js"?new te(i):n}var wi=class{_console=console;handleError(i){this._console.error("ERROR",i)}},r2=new R("",{providedIn:"root",factory:()=>{let n=h(te),i=h(wi);return e=>n.runOutsideAngular(()=>i.handleError(e))}});function Vx(n,i){return gD(n,i)}function a2(n){return gD(fD,n)}var bS=(Vx.required=a2,Vx);function s2(){return nl(Rn(),Ue())}function nl(n,i){return new Q(eo(n,i))}var Q=(()=>{class n{nativeElement;constructor(e){this.nativeElement=e}static __NG_ELEMENT_ID__=s2}return n})();function yS(n){return n instanceof Q?n.nativeElement:n}function l2(){return this._results[Symbol.iterator]()}var Ji=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new j}constructor(i=!1){this._emitDistinctChangesOnly=i}get(i){return this._results[i]}map(i){return this._results.map(i)}filter(i){return this._results.filter(i)}find(i){return this._results.find(i)}reduce(i,e){return this._results.reduce(i,e)}forEach(i){this._results.forEach(i)}some(i){return this._results.some(i)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(i,e){this.dirty=!1;let t=qF(i);(this._changesDetected=!$F(this._results,t,e))&&(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.next(this)}onDirty(i){this._onDirty=i}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=l2};function wS(n){return(n.flags&128)===128}var CS=function(n){return n[n.OnPush=0]="OnPush",n[n.Default=1]="Default",n}(CS||{}),xS=new Map,c2=0;function d2(){return c2++}function u2(n){xS.set(n[Hm],n)}function G_(n){xS.delete(n[Hm])}var Bx="__ngContext__";function Jr(n,i){Zr(i)?(n[Bx]=i[Hm],u2(i)):n[Bx]=i}function DS(n){return ES(n[vc])}function SS(n){return ES(n[xo])}function ES(n){for(;n!==null&&!vr(n);)n=n[xo];return n}var $_;function MS(n){$_=n}function IS(){if($_!==void 0)return $_;if(typeof document<"u")return document;throw new K(210,!1)}var il=new R("",{providedIn:"root",factory:()=>m2}),m2="ng",ob=new R(""),Eo=new R("",{providedIn:"platform",factory:()=>"unknown"});var $t=new R(""),Tc=new R("",{providedIn:"root",factory:()=>IS().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var p2="h",h2="b";var TS=!1,f2=new R("",{providedIn:"root",factory:()=>TS});var jx=new Set;function to(n){jx.has(n)||(jx.add(n),performance?.mark?.("mark_feature_usage",{detail:{feature:n}}))}var zs=function(n){return n[n.EarlyRead=0]="EarlyRead",n[n.Write=1]="Write",n[n.MixedReadWrite=2]="MixedReadWrite",n[n.Read=3]="Read",n}(zs||{}),kS=(()=>{class n{impl=null;execute(){this.impl?.execute()}static \u0275prov=P({token:n,providedIn:"root",factory:()=>new n})}return n})(),g2=[zs.EarlyRead,zs.Write,zs.MixedReadWrite,zs.Read],_2=(()=>{class n{ngZone=h(te);scheduler=h(Za);errorHandler=h(wi,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;execute(){this.executing=!0;for(let e of g2)for(let t of this.sequences)if(!(t.erroredOrDestroyed||!t.hooks[e]))try{t.pipelinedValue=this.ngZone.runOutsideAngular(()=>t.hooks[e](t.pipelinedValue))}catch(o){t.erroredOrDestroyed=!0,this.errorHandler?.handleError(o)}this.executing=!1;for(let e of this.sequences)e.afterRun(),e.once&&(this.sequences.delete(e),e.destroy());for(let e of this.deferredRegistrations)this.sequences.add(e);this.deferredRegistrations.size>0&&this.scheduler.notify(8),this.deferredRegistrations.clear()}register(e){this.executing?this.deferredRegistrations.add(e):(this.sequences.add(e),this.scheduler.notify(7))}unregister(e){this.executing&&this.sequences.has(e)?(e.erroredOrDestroyed=!0,e.pipelinedValue=void 0,e.once=!0):(this.sequences.delete(e),this.deferredRegistrations.delete(e))}static \u0275prov=P({token:n,providedIn:"root",factory:()=>new n})}return n})(),q_=class{impl;hooks;once;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(i,e,t,o){this.impl=i,this.hooks=e,this.once=t,this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.()}};function kc(n,i){!i?.injector&&Um(kc);let e=i?.injector??h(Ae);return to("NgAfterRender"),AS(n,e,i,!1)}function nn(n,i){!i?.injector&&Um(nn);let e=i?.injector??h(Ae);return to("NgAfterNextRender"),AS(n,e,i,!0)}function v2(n,i){if(n instanceof Function){let e=[void 0,void 0,void 0,void 0];return e[i]=n,e}else return[n.earlyRead,n.write,n.mixedReadWrite,n.read]}function AS(n,i,e,t){let o=i.get(kS);o.impl??=i.get(_2);let r=e?.phase??zs.MixedReadWrite,a=e?.manualCleanup!==!0?i.get(Ic):null,s=new q_(o.impl,v2(n,r),t,a);return o.impl.register(s),s}var b2=()=>null;function rb(n,i,e=!1){return b2(n,i,e)}var Go=function(n){return n[n.Emulated=0]="Emulated",n[n.None=2]="None",n[n.ShadowDom=3]="ShadowDom",n}(Go||{}),Hu;function y2(){if(Hu===void 0&&(Hu=null,Ni.trustedTypes))try{Hu=Ni.trustedTypes.createPolicy("angular",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch{}return Hu}function Xm(n){return y2()?.createHTML(n)||n}var Wu;function RS(){if(Wu===void 0&&(Wu=null,Ni.trustedTypes))try{Wu=Ni.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch{}return Wu}function zx(n){return RS()?.createHTML(n)||n}function Ux(n){return RS()?.createScriptURL(n)||n}var _r=class{changingThisBreaksApplicationSecurity;constructor(i){this.changingThisBreaksApplicationSecurity=i}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${hD})`}},Y_=class extends _r{getTypeName(){return"HTML"}},Q_=class extends _r{getTypeName(){return"Style"}},K_=class extends _r{getTypeName(){return"Script"}},Z_=class extends _r{getTypeName(){return"URL"}},X_=class extends _r{getTypeName(){return"ResourceURL"}};function no(n){return n instanceof _r?n.changingThisBreaksApplicationSecurity:n}function wr(n,i){let e=w2(n);if(e!=null&&e!==i){if(e==="ResourceURL"&&i==="URL")return!0;throw new Error(`Required a safe ${i}, got a ${e} (see ${hD})`)}return e===i}function w2(n){return n instanceof _r&&n.getTypeName()||null}function OS(n){return new Y_(n)}function PS(n){return new Q_(n)}function FS(n){return new K_(n)}function NS(n){return new Z_(n)}function LS(n){return new X_(n)}function C2(n){let i=new ev(n);return x2()?new J_(i):i}var J_=class{inertDocumentHelper;constructor(i){this.inertDocumentHelper=i}getInertBodyElement(i){i=""+i;try{let e=new window.DOMParser().parseFromString(Xm(i),"text/html").body;return e===null?this.inertDocumentHelper.getInertBodyElement(i):(e.firstChild?.remove(),e)}catch{return null}}},ev=class{defaultDoc;inertDocument;constructor(i){this.defaultDoc=i,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(i){let e=this.inertDocument.createElement("template");return e.innerHTML=Xm(i),e}};function x2(){try{return!!new window.DOMParser().parseFromString(Xm(""),"text/html")}catch{return!1}}var D2=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Jm(n){return n=String(n),n.match(D2)?n:"unsafe:"+n}function Cr(n){let i={};for(let e of n.split(","))i[e]=!0;return i}function Ac(...n){let i={};for(let e of n)for(let t in e)e.hasOwnProperty(t)&&(i[t]=!0);return i}var VS=Cr("area,br,col,hr,img,wbr"),BS=Cr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),jS=Cr("rp,rt"),S2=Ac(jS,BS),E2=Ac(BS,Cr("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")),M2=Ac(jS,Cr("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")),Hx=Ac(VS,E2,M2,S2),zS=Cr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),I2=Cr("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"),T2=Cr("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"),k2=Ac(zS,I2,T2),A2=Cr("script,style,template"),tv=class{sanitizedSomething=!1;buf=[];sanitizeChildren(i){let e=i.firstChild,t=!0,o=[];for(;e;){if(e.nodeType===Node.ELEMENT_NODE?t=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,t&&e.firstChild){o.push(e),e=P2(e);continue}for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let r=O2(e);if(r){e=r;break}e=o.pop()}}return this.buf.join("")}startElement(i){let e=Wx(i).toLowerCase();if(!Hx.hasOwnProperty(e))return this.sanitizedSomething=!0,!A2.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);let t=i.attributes;for(let o=0;o"),!0}endElement(i){let e=Wx(i).toLowerCase();Hx.hasOwnProperty(e)&&!VS.hasOwnProperty(e)&&(this.buf.push(""))}chars(i){this.buf.push(Gx(i))}};function R2(n,i){return(n.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function O2(n){let i=n.nextSibling;if(i&&n!==i.previousSibling)throw US(i);return i}function P2(n){let i=n.firstChild;if(i&&R2(n,i))throw US(i);return i}function Wx(n){let i=n.nodeName;return typeof i=="string"?i:"FORM"}function US(n){return new Error(`Failed to sanitize html because the element is clobbered: ${n.outerHTML}`)}var F2=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,N2=/([^\#-~ |!])/g;function Gx(n){return n.replace(/&/g,"&").replace(F2,function(i){let e=i.charCodeAt(0),t=i.charCodeAt(1);return"&#"+((e-55296)*1024+(t-56320)+65536)+";"}).replace(N2,function(i){return"&#"+i.charCodeAt(0)+";"}).replace(//g,">")}var Gu;function ab(n,i){let e=null;try{Gu=Gu||C2(n);let t=i?String(i):"";e=Gu.getInertBodyElement(t);let o=5,r=t;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,t=r,r=e.innerHTML,e=Gu.getInertBodyElement(t)}while(t!==r);let s=new tv().sanitizeChildren($x(e)||e);return Xm(s)}finally{if(e){let t=$x(e)||e;for(;t.firstChild;)t.firstChild.remove()}}}function $x(n){return"content"in n&&L2(n)?n.content:null}function L2(n){return n.nodeType===Node.ELEMENT_NODE&&n.nodeName==="TEMPLATE"}var Kn=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}(Kn||{});function qt(n){let i=sb();return i?zx(i.sanitize(Kn.HTML,n)||""):wr(n,"HTML")?zx(no(n)):ab(IS(),Ua(n))}function Se(n){let i=sb();return i?i.sanitize(Kn.URL,n)||"":wr(n,"URL")?no(n):Jm(Ua(n))}function V2(n){let i=sb();if(i)return Ux(i.sanitize(Kn.RESOURCE_URL,n)||"");if(wr(n,"ResourceURL"))return Ux(no(n));throw new K(904,!1)}function B2(n,i){return i==="src"&&(n==="embed"||n==="frame"||n==="iframe"||n==="media"||n==="script")||i==="href"&&(n==="base"||n==="link")?V2:Se}function HS(n,i,e){return B2(i,e)(n)}function sb(){let n=Ue();return n&&n[hr].sanitizer}var j2=/^>|^->||--!>|)/g,U2="\u200B$1\u200B";function H2(n){return n.replace(j2,i=>i.replace(z2,U2))}function ep(n){return n.ownerDocument.defaultView}function WS(n){return n.ownerDocument}function GS(n){return n instanceof Function?n():n}var ea=function(n){return n[n.None=0]="None",n[n.SignalBased=1]="SignalBased",n[n.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",n}(ea||{}),$o=function(n){return n[n.Important=1]="Important",n[n.DashCase=2]="DashCase",n}($o||{}),W2;function lb(n,i){return W2(n,i)}function Us(n,i,e,t,o){if(t!=null){let r,a=!1;vr(t)?r=t:Zr(t)&&(a=!0,t=t[qo]);let s=Wo(t);n===0&&e!==null?o==null?KS(i,e,s):_m(i,e,s,o||null,!0):n===1&&e!==null?_m(i,e,s,o||null,!0):n===2?oL(i,s,a):n===3&&i.destroyNode(s),r!=null&&aL(i,n,r,e,o)}}function G2(n,i){return n.createText(i)}function $2(n,i,e){n.setValue(i,e)}function q2(n,i){return n.createComment(H2(i))}function $S(n,i,e){return n.createElement(i,e)}function Y2(n,i){qS(n,i),i[qo]=null,i[xi]=null}function Q2(n,i,e,t,o,r){t[qo]=o,t[xi]=i,ip(n,t,e,1,o,r)}function qS(n,i){i[hr].changeDetectionScheduler?.notify(10),ip(n,i,i[sn],2,null,null)}function K2(n){let i=n[vc];if(!i)return b_(n[ot],n);for(;i;){let e=null;if(Zr(i))e=i[vc];else{let t=i[ri];t&&(e=t)}if(!e){for(;i&&!i[xo]&&i!==n;)Zr(i)&&b_(i[ot],i),i=i[ai];i===null&&(i=n),Zr(i)&&b_(i[ot],i),e=i&&i[xo]}i=e}}function Z2(n,i,e,t){let o=ri+t,r=e.length;t>0&&(e[o-1][xo]=i),t0&&(n[e-1][xo]=t[xo]);let r=om(n,ri+i);Y2(t[ot],t);let a=r[fr];a!==null&&a.detachView(r[ot]),t[ai]=null,t[xo]=null,t[ze]&=-129}return t}function tp(n,i){if(!(i[ze]&256)){let e=i[sn];e.destroyNode&&ip(n,i,e,3,null,null),K2(i)}}function b_(n,i){if(i[ze]&256)return;let e=bt(null);try{i[ze]&=-129,i[ze]|=256,i[Fi]&&Ms(i[Fi]),J2(n,i),X2(n,i),i[ot].type===1&&i[sn].destroy();let t=i[Wa];if(t!==null&&vr(i[ai])){t!==i[ai]&&cb(t,i);let o=i[fr];o!==null&&o.detachView(n)}G_(i)}finally{bt(e)}}function X2(n,i){let e=n.cleanup,t=i[am];if(e!==null)for(let a=0;a=0?t[s]():t[-s].unsubscribe(),a+=2}else{let s=t[e[a+1]];e[a].call(s)}t!==null&&(i[am]=null);let o=i[Kr];if(o!==null){i[Kr]=null;for(let a=0;a-1){let{encapsulation:r}=n.data[t.directiveStart+o];if(r===Go.None||r===Go.Emulated)return null}return eo(t,e)}}function _m(n,i,e,t,o){n.insertBefore(i,e,t,o)}function KS(n,i,e){n.appendChild(i,e)}function qx(n,i,e,t,o){t!==null?_m(n,i,e,t,o):KS(n,i,e)}function ZS(n,i){return n.parentNode(i)}function tL(n,i){return n.nextSibling(i)}function XS(n,i,e){return iL(n,i,e)}function nL(n,i,e){return n.type&40?eo(n,e):null}var iL=nL,Yx;function np(n,i,e,t){let o=QS(n,t,i),r=i[sn],a=t.parent||i[xi],s=XS(a,t,i);if(o!=null)if(Array.isArray(e))for(let l=0;l-1){let r;for(;++or?v="":v=o[g+1].toLowerCase(),t&2&&m!==v){if(wo(t))return!1;a=!0}}}}return wo(t)||a}function wo(n){return(n&1)===0}function pL(n,i,e,t){if(i===null)return-1;let o=0;if(t||!e){let r=!1;for(;o-1)for(e++;e0?'="'+s+'"':"")+"]"}else t&8?o+="."+a:t&4&&(o+=" "+a);else o!==""&&!wo(a)&&(i+=Qx(r,o),o=""),t=a,r=r||!wo(t);e++}return o!==""&&(i+=Qx(r,o)),i}function bL(n){return n.map(vL).join(",")}function yL(n){let i=[],e=[],t=1,o=2;for(;tBn&&rE(n,i,Bn,!1),Uo(a?2:0,o),e(t,o)}finally{Ya(r),Uo(a?3:1,o)}}function mb(n,i,e){if(Uv(i)){let t=bt(null);try{let o=i.directiveStart,r=i.directiveEnd;for(let a=o;anull;function ML(n,i,e,t){let o=fE(i);o.push(e),n.firstCreatePass&&gE(n).push(t,o.length-1)}function IL(n,i,e,t,o,r){let a=i?i.injectorIndex:-1,s=0;return qD()&&(s|=128),{type:e,index:t,insertBeforeIndex:null,injectorIndex:a,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:s,providerIndexes:0,value:o,attrs:r,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:i,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Kx(n,i,e,t,o){for(let r in i){if(!i.hasOwnProperty(r))continue;let a=i[r];if(a===void 0)continue;t??={};let s,l=ea.None;Array.isArray(a)?(s=a[0],l=a[1]):s=a;let m=r;if(o!==null){if(!o.hasOwnProperty(r))continue;m=o[r]}n===0?Zx(t,e,m,s,l):Zx(t,e,m,s)}return t}function Zx(n,i,e,t,o){let r;n.hasOwnProperty(e)?(r=n[e]).push(i,t):r=n[e]=[i,t],o!==void 0&&r.push(o)}function TL(n,i,e){let t=i.directiveStart,o=i.directiveEnd,r=n.data,a=i.attrs,s=[],l=null,m=null;for(let g=t;g0;){let e=n[--i];if(typeof e=="number"&&e<0)return e}return 0}function PL(n,i,e,t){let o=e.directiveStart,r=e.directiveEnd;Wm(e)&&zL(i,e,n.data[o+e.componentOffset]),n.firstCreatePass||pm(e,i),Jr(t,i);let a=e.initialInputs;for(let s=o;s{Ec(n.lView)},consumerOnSignalRead(){this.lView[Fi]=this}});function eV(n){let i=n[Fi]??Object.create(tV);return i.lView=n,i}var tV=Qe(L({},Pa),{consumerIsAlwaysLive:!0,consumerMarkedDirty:n=>{let i=qa(n.lView);for(;i&&!xE(i[ot]);)i=qa(i);i&&$v(i)},consumerOnSignalRead(){this.lView[Fi]=this}});function xE(n){return n.type!==2}function DE(n){if(n[Ga]===null)return;let i=!0;for(;i;){let e=!1;for(let t of n[Ga])t.dirty&&(e=!0,t.zone===null||Zone.current===t.zone?t.run():t.zone.run(()=>t.run()));i=e&&!!(n[ze]&8192)}}var nV=100;function SE(n,i=!0,e=0){let o=n[hr].rendererFactory,r=!1;r||o.begin?.();try{iV(n,e)}catch(a){throw i&&vE(n,a),a}finally{r||o.end?.()}}function iV(n,i){let e=QD();try{cm(!0),rv(n,i);let t=0;for(;$m(n);){if(t===nV)throw new K(103,!1);t++,rv(n,1)}}finally{cm(e)}}function oV(n,i,e,t){let o=i[ze];if((o&256)===256)return;let r=!1,a=!1;Xv(i);let s=!0,l=null,m=null;r||(xE(n)?(m=KL(i),l=Es(m)):FC()===null?(s=!1,m=eV(i),l=Es(m)):i[Fi]&&(Ms(i[Fi]),i[Fi]=null));try{WD(i),MN(n.bindingStartIndex),e!==null&&lE(n,i,e,2,t);let g=(o&3)===3;if(!r)if(g){let S=n.preOrderCheckHooks;S!==null&&Xu(i,S,null)}else{let S=n.preOrderHooks;S!==null&&Ju(i,S,0,null),g_(i,0)}if(a||rV(i),DE(i),EE(i,0),n.contentQueries!==null&&hE(n,i),!r)if(g){let S=n.contentCheckHooks;S!==null&&Xu(i,S)}else{let S=n.contentHooks;S!==null&&Ju(i,S,1),g_(i,1)}wL(n,i);let v=n.components;v!==null&&IE(i,v,0);let D=n.viewQuery;if(D!==null&&ov(2,D,t),!r)if(g){let S=n.viewCheckHooks;S!==null&&Xu(i,S)}else{let S=n.viewHooks;S!==null&&Ju(i,S,2),g_(i,2)}if(n.firstUpdatePass===!0&&(n.firstUpdatePass=!1),i[Zu]){for(let S of i[Zu])S();i[Zu]=null}r||(i[ze]&=-73)}catch(g){throw r||Ec(i),g}finally{m!==null&&(ic(m,l),s&&XL(m)),Jv()}}function EE(n,i){for(let e=DS(n);e!==null;e=SS(e))for(let t=ri;t-1&&(wc(i,t),om(e,t))}this._attachedToViewContainer=!1}tp(this._lView[ot],this._lView)}onDestroy(i){GD(this._lView,i)}markForCheck(){bb(this._cdRefInjectingView||this._lView,4)}markForRefresh(){$v(this._cdRefInjectingView||this._lView)}detach(){this._lView[ze]&=-129}reattach(){F_(this._lView),this._lView[ze]|=128}detectChanges(){this._lView[ze]|=1024,SE(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new K(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let i=O_(this._lView),e=this._lView[Wa];e!==null&&!i&&cb(e,this._lView),qS(this._lView[ot],this._lView)}attachToAppRef(i){if(this._attachedToViewContainer)throw new K(902,!1);this._appRef=i;let e=O_(this._lView),t=this._lView[Wa];t!==null&&!e&&YS(t,this._lView),F_(this._lView)}},wt=(()=>{class n{static __NG_ELEMENT_ID__=cV}return n})(),sV=wt,lV=class extends sV{_declarationLView;_declarationTContainer;elementRef;constructor(i,e,t){super(),this._declarationLView=i,this._declarationTContainer=e,this.elementRef=t}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(i,e){return this.createEmbeddedViewImpl(i,e)}createEmbeddedViewImpl(i,e,t){let o=Oc(this._declarationLView,this._declarationTContainer,i,{embeddedViewInjector:e,dehydratedView:t});return new Xa(o)}};function cV(){return sp(Rn(),Ue())}function sp(n,i){return n.type&4?new lV(i,n,nl(n,i)):null}var av=class{resolveComponentFactory(i){throw Error(`No component factory found for ${hi(i)}.`)}},Zs=class{static NULL=new av},Do=class{},Cc=class{},sv=class{},bm=class{},ta=class{},xr=(()=>{class n{destroyNode=null;static __NG_ELEMENT_ID__=()=>dV()}return n})();function dV(){let n=Ue(),i=Rn(),e=na(i.index,n);return(Zr(e)?e:n)[sn]}var uV=(()=>{class n{static \u0275prov=P({token:n,providedIn:"root",factory:()=>null})}return n})();function ym(n,i,e){let t=e?n.styles:null,o=e?n.classes:null,r=0;if(i!==null)for(let a=0;a0&&tE(n,e,r.join(" "))}}function vV(n,i,e){let t=n.projection=[];for(let o=0;oe()),this.destroyCbs=null}onDestroy(i){this.destroyCbs.push(i)}},xm=class extends Cc{moduleType;constructor(i){super(),this.moduleType=i}create(i){return new Cm(this.moduleType,i,[])}};function yV(n,i,e){return new Cm(n,i,e,!1)}var cv=class extends Do{injector;componentFactoryResolver=new wm(this);instance=null;constructor(i){super();let e=new _c([...i.providers,{provide:Do,useValue:this},{provide:Zs,useValue:this.componentFactoryResolver}],i.parent||zm(),i.debugName,new Set(["environment"]));this.injector=e,i.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(i){this.injector.onDestroy(i)}};function lp(n,i,e=null){return new cv({providers:n,parent:i,debugName:e,runEnvironmentInitializers:!0}).injector}var wV=(()=>{class n{_injector;cachedInjectors=new Map;constructor(e){this._injector=e}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e)){let t=RD(!1,e.type),o=t.length>0?lp([t],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e,o)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(let e of this.cachedInjectors.values())e!==null&&e.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=P({token:n,providedIn:"environment",factory:()=>new n(oe(An))})}return n})();function E(n){return Dc(()=>{let i=TE(n),e=Qe(L({},i),{decls:n.decls,vars:n.vars,template:n.template,consts:n.consts||null,ngContentSelectors:n.ngContentSelectors,onPush:n.changeDetection===CS.OnPush,directiveDefs:null,pipeDefs:null,dependencies:i.standalone&&n.dependencies||null,getStandaloneInjector:i.standalone?o=>o.get(wV).getOrCreateStandaloneInjector(e):null,getExternalStyles:null,signals:n.signals??!1,data:n.data||{},encapsulation:n.encapsulation||Go.Emulated,styles:n.styles||pi,_:null,schemas:n.schemas||null,tView:null,id:""});i.standalone&&to("NgStandalone"),kE(e);let t=n.dependencies;return e.directiveDefs=Dm(t,!1),e.pipeDefs=Dm(t,!0),e.id=DV(e),e})}function CV(n){return pr(n)||Bv(n)}function xV(n){return n!==null}function J(n){return Dc(()=>({type:n.type,bootstrap:n.bootstrap||pi,declarations:n.declarations||pi,imports:n.imports||pi,exports:n.exports||pi,transitiveCompileScopes:null,schemas:n.schemas||null,id:n.id||null}))}function Jx(n,i){if(n==null)return mr;let e={};for(let t in n)if(n.hasOwnProperty(t)){let o=n[t],r,a,s=ea.None;Array.isArray(o)?(s=o[0],r=o[1],a=o[2]??r):(r=o,a=o),i?(e[r]=s!==ea.None?[t,s]:t,i[r]=a):e[r]=t}return e}function N(n){return Dc(()=>{let i=TE(n);return kE(i),i})}function Qo(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 TE(n){let i={};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:i,inputTransforms:null,inputConfig:n.inputs||mr,exportAs:n.exportAs||null,standalone:n.standalone??!0,signals:n.signals===!0,selectors:n.selectors||pi,viewQuery:n.viewQuery||null,features:n.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Jx(n.inputs,i),outputs:Jx(n.outputs),debugInfo:null}}function kE(n){n.features?.forEach(i=>i(n))}function Dm(n,i){if(!n)return null;let e=i?kD:CV;return()=>(typeof n=="function"?n():n).map(t=>e(t)).filter(xV)}function DV(n){let i=0,e=[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 o of e)i=Math.imul(31,i)+o.charCodeAt(0)<<0;return i+=2147483648,"c"+i}var cp=(()=>{class n{log(e){console.log(e)}warn(e){console.warn(e)}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"platform"})}return n})();function oa(n){return typeof n=="function"&&n[ti]!==void 0}var yb=new R(""),Fc=new R(""),dp=(()=>{class n{_ngZone;registry;_isZoneStable=!0;_callbacks=[];taskTrackingZone=null;constructor(e,t,o){this._ngZone=e,this.registry=t,wb||(SV(o),o.addToWindow(t)),this._watchAngularEvents(),e.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:()=>{te.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 e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb()}});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(t=>t.updateCb&&t.updateCb(e)?(clearTimeout(t.timeoutId),!1):!0)}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,t,o){let r=-1;t&&t>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==r),e()},t)),this._callbacks.push({doneCb:e,timeoutId:r,updateCb:o})}whenStable(e,t,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(e,t,o),this._runCallbacksIfReady()}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,t,o){return[]}static \u0275fac=function(t){return new(t||n)(oe(te),oe(up),oe(Fc))};static \u0275prov=P({token:n,factory:n.\u0275fac})}return n})(),up=(()=>{class n{_applications=new Map;registerApplication(e,t){this._applications.set(e,t)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,t=!0){return wb?.findTestabilityInTree(this,e,t)??null}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"platform"})}return n})();function SV(n){wb=n}var wb;function ra(n){return!!n&&typeof n.then=="function"}function Cb(n){return!!n&&typeof n.subscribe=="function"}var mp=new R("");var AE=(()=>{class n{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((e,t)=>{this.resolve=e,this.reject=t});appInits=h(mp,{optional:!0})??[];injector=h(Ae);constructor(){}runInitializers(){if(this.initialized)return;let e=[];for(let o of this.appInits){let r=Ci(this.injector,o);if(ra(r))e.push(r);else if(Cb(r)){let a=new Promise((s,l)=>{r.subscribe({complete:s,error:l})});e.push(a)}}let t=()=>{this.done=!0,this.resolve()};Promise.all(e).then(()=>{t()}).catch(o=>{this.reject(o)}),e.length===0&&t(),this.initialized=!0}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),RE=(()=>{class n{static \u0275prov=P({token:n,providedIn:"root",factory:()=>new Sm})}return n})(),Sm=class{queuedEffectCount=0;queues=new Map;schedule(i){this.enqueue(i)}enqueue(i){let e=i.zone;this.queues.has(e)||this.queues.set(e,new Set);let t=this.queues.get(e);t.has(i)||(this.queuedEffectCount++,t.add(i))}flush(){for(;this.queuedEffectCount>0;)for(let[i,e]of this.queues)i===null?this.flushQueue(e):i.run(()=>this.flushQueue(e))}flushQueue(i){for(let e of i)i.delete(e),this.queuedEffectCount--,e.run()}},pp=new R("");function EV(){WC(()=>{throw new K(600,!1)})}function MV(n){return n.isBoundToModule}var IV=10;function TV(n,i,e){try{let t=e();return ra(t)?t.catch(o=>{throw i.runOutsideAngular(()=>n.handleError(o)),o}):t}catch(t){throw i.runOutsideAngular(()=>n.handleError(t)),t}}function OE(n,i){return Array.isArray(i)?i.reduce(OE,n):L(L({},n),i)}var fi=(()=>{class n{_bootstrapListeners=[];_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=h(r2);afterRenderManager=h(kS);zonelessEnabled=h(tb);rootEffectScheduler=h(RE);dirtyFlags=0;deferredDirtyFlags=0;externalTestViews=new Set;afterTick=new j;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=h(Yo).hasPendingTasks.pipe(le(e=>!e));whenStable(){let e;return new Promise(t=>{e=this.isStable.subscribe({next:o=>{o&&t()}})}).finally(()=>{e.unsubscribe()})}_injector=h(An);get injector(){return this._injector}bootstrap(e,t){let o=e instanceof bm;if(!this._injector.get(AE).done){let D=!o&&AD(e),S=!1;throw new K(405,S)}let a;o?a=e:a=this._injector.get(Zs).resolveComponentFactory(e),this.componentTypes.push(a.componentType);let s=MV(a)?void 0:this._injector.get(Do),l=t||a.selector,m=a.create(Ae.NULL,[],l,s),g=m.location.nativeElement,v=m.injector.get(yb,null);return v?.registerApplication(g),m.onDestroy(()=>{this.detachView(m.hostView),tm(this.components,m),v?.unregisterApplication(g)}),this._loadComponent(m),m}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new K(101,!1);let e=bt(null);try{this._runningTick=!0,this.synchronize()}catch(t){this.internalErrorHandler(t)}finally{this._runningTick=!1,bt(e),this.afterTick.next()}}synchronize(){let e=null;this._injector.destroyed||(e=this._injector.get(ta,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let t=0;for(;this.dirtyFlags!==0&&t++$m(e))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(e){let t=e;this._views.push(t),t.attachToAppRef(this)}detachView(e){let t=e;tm(this._views,t),t.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e);let t=this._injector.get(pp,[]);[...this._bootstrapListeners,...t].forEach(o=>o(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>tm(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new K(406,!1);let e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function tm(n,i){let e=n.indexOf(i);e>-1&&n.splice(e,1)}function kV(n,i,e,t){if(!e&&!$m(n))return;SE(n,i,e&&!t?0:1)}var xoe=new RegExp(`^(\\d+)*(${h2}|${p2})*(.*)`);var AV=()=>null;function Xs(n,i){return AV(n,i)}var kt=(()=>{class n{static __NG_ELEMENT_ID__=RV}return n})();function RV(){let n=Rn();return FE(n,Ue())}var OV=kt,PE=class extends OV{_lContainer;_hostTNode;_hostLView;constructor(i,e,t){super(),this._lContainer=i,this._hostTNode=e,this._hostLView=t}get element(){return nl(this._hostTNode,this._hostLView)}get injector(){return new za(this._hostTNode,this._hostLView)}get parentInjector(){let i=eb(this._hostTNode,this._hostLView);if(oS(i)){let e=um(i,this._hostLView),t=dm(i),o=e[ot].data[t+8];return new za(o,e)}else return new za(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(i){let e=eD(this._lContainer);return e!==null&&e[i]||null}get length(){return this._lContainer.length-ri}createEmbeddedView(i,e,t){let o,r;typeof t=="number"?o=t:t!=null&&(o=t.index,r=t.injector);let a=Xs(this._lContainer,i.ssrId),s=i.createEmbeddedViewImpl(e||{},r,a);return this.insertImpl(s,o,Ks(this._hostTNode,a)),s}createComponent(i,e,t,o,r){let a=i&&!cN(i),s;if(a)s=e;else{let I=e||{};s=I.index,t=I.injector,o=I.projectableNodes,r=I.environmentInjector||I.ngModuleRef}let l=a?i:new Ja(pr(i)),m=t||this.parentInjector;if(!r&&l.ngModule==null){let A=(a?m:this.parentInjector).get(An,null);A&&(r=A)}let g=pr(l.componentType??{}),v=Xs(this._lContainer,g?.id??null),D=v?.firstChild??null,S=l.create(m,o,D,r);return this.insertImpl(S.hostView,s,Ks(this._hostTNode,v)),S}insert(i,e){return this.insertImpl(i,e,!0)}insertImpl(i,e,t){let o=i._lView;if(gN(o)){let s=this.indexOf(i);if(s!==-1)this.detach(s);else{let l=o[ai],m=new PE(l,l[xi],l[ai]);m.detach(m.indexOf(i))}}let r=this._adjustIndex(e),a=this._lContainer;return Pc(a,o,r,t),i.attachToViewContainerRef(),ED(y_(a),r,i),i}move(i,e){return this.insert(i,e)}indexOf(i){let e=eD(this._lContainer);return e!==null?e.indexOf(i):-1}remove(i){let e=this._adjustIndex(i,-1),t=wc(this._lContainer,e);t&&(om(y_(this._lContainer),e),tp(t[ot],t))}detach(i){let e=this._adjustIndex(i,-1),t=wc(this._lContainer,e);return t&&om(y_(this._lContainer),e)!=null?new Xa(t):null}_adjustIndex(i,e=0){return i??this.length+e}};function eD(n){return n[sm]}function y_(n){return n[sm]||(n[sm]=[])}function FE(n,i){let e,t=i[n.index];return vr(t)?e=t:(e=pE(t,i,null,n),i[n.index]=e,ap(i,e)),FV(e,i,n,t),new PE(e,n,i)}function PV(n,i){let e=n[sn],t=e.createComment(""),o=eo(i,n),r=ZS(e,o);return _m(e,r,t,tL(e,o),!1),t}var FV=VV,NV=()=>!1;function LV(n,i,e){return NV(n,i,e)}function VV(n,i,e,t){if(n[$a])return;let o;e.type&8?o=Wo(t):o=PV(i,e),n[$a]=o}var dv=class n{queryList;matches=null;constructor(i){this.queryList=i}clone(){return new n(this.queryList)}setDirty(){this.queryList.setDirty()}},uv=class n{queries;constructor(i=[]){this.queries=i}createEmbeddedView(i){let e=i.queries;if(e!==null){let t=i.contentQueries!==null?i.contentQueries[0]:e.length,o=[];for(let r=0;r0)t.push(a[s/2]);else{let m=r[s+1],g=i[-l];for(let v=ri;vi.trim())}function BE(n,i,e){n.queries===null&&(n.queries=new mv),n.queries.track(new pv(i,e))}function GV(n,i){let e=n.contentQueries||(n.contentQueries=[]),t=e.length?e[e.length-1]:-1;i!==t&&e.push(n.queries.length-1,i)}function Db(n,i){return n.queries.getByIndex(i)}function jE(n,i){let e=n[ot],t=Db(e,i);return t.crossesNgTemplate?hv(e,n,i,[]):NE(e,n,t,i)}function Mo(n,i){to("NgSignals");let e=GC(n),t=e[ti];return i?.equal&&(t.equal=i.equal),e.set=o=>mu(t,o),e.update=o=>$C(t,o),e.asReadonly=$V.bind(e),e}function $V(){let n=this[ti];if(n.readonlyFn===void 0){let i=()=>this();i[ti]=n,n.readonlyFn=i}return n.readonlyFn}function zE(n){return oa(n)&&typeof n.set=="function"}function UE(n,i,e){let t,o=Gg(()=>{t._dirtyCounter();let r=KV(t,n);if(i&&r===void 0)throw new K(-951,!1);return r});return t=o[ti],t._dirtyCounter=Mo(0),t._flatValue=void 0,o}function qV(n){return UE(!0,!1,n)}function YV(n){return UE(!0,!0,n)}function QV(n,i){let e=n[ti];e._lView=Ue(),e._queryIndex=i,e._queryList=xb(e._lView,i),e._queryList.onDirty(()=>e._dirtyCounter.update(t=>t+1))}function KV(n,i){let e=n._lView,t=n._queryIndex;if(e===void 0||t===void 0||e[ze]&4)return i?void 0:pi;let o=xb(e,t),r=jE(e,t);return o.reset(r,yS),i?o.first:o._changesDetected||n._flatValue===void 0?n._flatValue=o.toArray():n._flatValue}function tD(n,i){return qV(i)}function ZV(n,i){return YV(i)}var HE=(tD.required=ZV,tD);function XV(n){let i=[],e=new Map;function t(o){let r=e.get(o);if(!r){let a=n(o);e.set(o,r=a.then(n3))}return r}return Mm.forEach((o,r)=>{let a=[];o.templateUrl&&a.push(t(o.templateUrl).then(m=>{o.template=m}));let s=typeof o.styles=="string"?[o.styles]:o.styles||[];if(o.styles=s,o.styleUrl&&o.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if(o.styleUrls?.length){let m=o.styles.length,g=o.styleUrls;o.styleUrls.forEach((v,D)=>{s.push(""),a.push(t(v).then(S=>{s[m+D]=S,g.splice(g.indexOf(v),1),g.length==0&&(o.styleUrls=void 0)}))})}else o.styleUrl&&a.push(t(o.styleUrl).then(m=>{s.push(m),o.styleUrl=void 0}));let l=Promise.all(a).then(()=>i3(r));i.push(l)}),e3(),Promise.all(i).then(()=>{})}var Mm=new Map,JV=new Set;function e3(){let n=Mm;return Mm=new Map,n}function t3(){return Mm.size===0}function n3(n){return typeof n=="string"?n:n.text()}function i3(n){JV.delete(n)}function o3(n){return Object.getPrototypeOf(n.prototype).constructor}function _e(n){let i=o3(n.type),e=!0,t=[n];for(;i;){let o;if(gr(n))o=i.\u0275cmp||i.\u0275dir;else{if(i.\u0275cmp)throw new K(903,!1);o=i.\u0275dir}if(o){if(e){t.push(o);let a=n;a.inputs=$u(n.inputs),a.inputTransforms=$u(n.inputTransforms),a.declaredInputs=$u(n.declaredInputs),a.outputs=$u(n.outputs);let s=o.hostBindings;s&&c3(n,s);let l=o.viewQuery,m=o.contentQueries;if(l&&s3(n,l),m&&l3(n,m),r3(n,o),MF(n.outputs,o.outputs),gr(o)&&o.data.animation){let g=n.data;g.animation=(g.animation||[]).concat(o.data.animation)}}let r=o.features;if(r)for(let a=0;a=0;t--){let o=n[t];o.hostVars=i+=o.hostVars,o.hostAttrs=bc(o.hostAttrs,e=bc(e,o.hostAttrs))}}function $u(n){return n===mr?{}:n===pi?[]:n}function s3(n,i){let e=n.viewQuery;e?n.viewQuery=(t,o)=>{i(t,o),e(t,o)}:n.viewQuery=i}function l3(n,i){let e=n.contentQueries;e?n.contentQueries=(t,o,r)=>{i(t,o,r),e(t,o,r)}:n.contentQueries=i}function c3(n,i){let e=n.hostBindings;e?n.hostBindings=(t,o)=>{i(t,o),e(t,o)}:n.hostBindings=i}function WE(n){let i=e=>{let t=Array.isArray(n);e.hostDirectives===null?(e.findHostDirectiveDefs=GE,e.hostDirectives=t?n.map(fv):[n]):t?e.hostDirectives.unshift(...n.map(fv)):e.hostDirectives.unshift(n)};return i.ngInherit=!0,i}function GE(n,i,e){if(n.hostDirectives!==null)for(let t of n.hostDirectives)if(typeof t=="function"){let o=t();for(let r of o)nD(fv(r),i,e)}else nD(t,i,e)}function nD(n,i,e){let t=Bv(n.directive);d3(t.declaredInputs,n.inputs),GE(t,i,e),e.set(t,n),i.push(t)}function fv(n){return typeof n=="function"?{directive:Qn(n),inputs:mr,outputs:mr}:{directive:Qn(n.directive),inputs:iD(n.inputs),outputs:iD(n.outputs)}}function iD(n){if(n===void 0||n.length===0)return mr;let i={};for(let e=0;e>17&32767}function v3(n){return(n&2)==2}function b3(n,i){return n&131071|i<<17}function gv(n){return n|2}function Js(n){return(n&131068)>>2}function w_(n,i){return n&-131069|i<<2}function y3(n){return(n&1)===1}function _v(n){return n|1}function w3(n,i,e,t,o,r){let a=r?i.classBindings:i.styleBindings,s=es(a),l=Js(a);n[t]=e;let m=!1,g;if(Array.isArray(e)){let v=e;g=v[1],(g===null||Sc(v,g)>0)&&(m=!0)}else g=e;if(o)if(l!==0){let D=es(n[s+1]);n[t+1]=qu(D,s),D!==0&&(n[D+1]=w_(n[D+1],t)),n[s+1]=b3(n[s+1],t)}else n[t+1]=qu(s,0),s!==0&&(n[s+1]=w_(n[s+1],t)),s=t;else n[t+1]=qu(l,0),s===0?s=t:n[l+1]=w_(n[l+1],t),l=t;m&&(n[t+1]=gv(n[t+1])),oD(n,g,t,!0),oD(n,g,t,!1),C3(i,g,n,t,r),a=qu(s,l),r?i.classBindings=a:i.styleBindings=a}function C3(n,i,e,t,o){let r=o?n.residualClasses:n.residualStyles;r!=null&&typeof i=="string"&&Sc(r,i)>=0&&(e[t+1]=_v(e[t+1]))}function oD(n,i,e,t){let o=n[e+1],r=i===null,a=t?es(o):Js(o),s=!1;for(;a!==0&&(s===!1||r);){let l=n[a],m=n[a+1];x3(l,i)&&(s=!0,n[a+1]=t?_v(m):gv(m)),a=t?es(m):Js(m)}s&&(n[e+1]=t?gv(o):_v(o))}function x3(n,i){return n===null||i==null||(Array.isArray(n)?n[1]:n)===i?!0:Array.isArray(n)&&typeof i=="string"?Sc(n,i)>=0:!1}var Co={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function D3(n){return n.substring(Co.key,Co.keyEnd)}function S3(n){return E3(n),YE(n,QE(n,0,Co.textEnd))}function YE(n,i){let e=Co.textEnd;return e===i?-1:(i=Co.keyEnd=M3(n,Co.key=i,e),QE(n,i,e))}function E3(n){Co.key=0,Co.keyEnd=0,Co.value=0,Co.valueEnd=0,Co.textEnd=n.length}function QE(n,i,e){for(;i32;)i++;return i}function p(n,i,e){let t=Ue(),o=ia();if(Vi(t,o,i)){let r=tn(),a=tl();Rc(r,a,t,n,i,t[sn],e,!1)}return p}function vv(n,i,e,t,o){let r=i.inputs,a=o?"class":"style";_b(n,e,r[a],a,t)}function zn(n,i,e){return ZE(n,i,e,!1),zn}function ne(n,i){return ZE(n,i,null,!0),ne}function Yt(n){XE(O3,KE,n,!0)}function KE(n,i){for(let e=S3(i);e>=0;e=YE(i,e))Vm(n,D3(i),!0)}function ZE(n,i,e,t){let o=Ue(),r=tn(),a=Qv(2);if(r.firstUpdatePass&&eM(r,n,a,t),i!==Di&&Vi(o,a,i)){let s=r.data[br()];tM(r,s,o,o[sn],n,o[a+1]=F3(i,e),t,a)}}function XE(n,i,e,t){let o=tn(),r=Qv(2);o.firstUpdatePass&&eM(o,null,r,t);let a=Ue();if(e!==Di&&Vi(a,r,e)){let s=o.data[br()];if(nM(s,t)&&!JE(o,r)){let l=t?s.classesWithoutHost:s.stylesWithoutHost;l!==null&&(e=E_(l,e||"")),vv(o,s,a,e,t)}else P3(o,s,a,a[sn],a[r+1],a[r+1]=R3(n,i,e),t,r)}}function JE(n,i){return i>=n.expandoStartIndex}function eM(n,i,e,t){let o=n.data;if(o[e+1]===null){let r=o[br()],a=JE(n,e);nM(r,t)&&i===null&&!a&&(i=!1),i=I3(o,r,i,t),w3(o,r,i,e,a,t)}}function I3(n,i,e,t){let o=Kv(n),r=t?i.residualClasses:i.residualStyles;if(o===null)(t?i.classBindings:i.styleBindings)===0&&(e=C_(null,n,i,e,t),e=xc(e,i.attrs,t),r=null);else{let a=i.directiveStylingLast;if(a===-1||n[a]!==o)if(e=C_(o,n,i,e,t),r===null){let l=T3(n,i,t);l!==void 0&&Array.isArray(l)&&(l=C_(null,n,i,l[1],t),l=xc(l,i.attrs,t),k3(n,i,t,l))}else r=A3(n,i,t)}return r!==void 0&&(t?i.residualClasses=r:i.residualStyles=r),e}function T3(n,i,e){let t=e?i.classBindings:i.styleBindings;if(Js(t)!==0)return n[es(t)]}function k3(n,i,e,t){let o=e?i.classBindings:i.styleBindings;n[es(o)]=t}function A3(n,i,e){let t,o=i.directiveEnd;for(let r=1+i.directiveStylingLast;r0;){let l=n[o],m=Array.isArray(l),g=m?l[1]:l,v=g===null,D=e[o+1];D===Di&&(D=v?pi:void 0);let S=v?h_(D,t):g===t?D:void 0;if(m&&!Tm(S)&&(S=h_(l,t)),Tm(S)&&(s=S,a))return s;let I=n[o+1];o=a?es(I):Js(I)}if(i!==null){let l=r?i.residualClasses:i.residualStyles;l!=null&&(s=h_(l,t))}return s}function Tm(n){return n!==void 0}function F3(n,i){return n==null||n===""||(typeof i=="string"?n=n+i:typeof n=="object"&&(n=hi(no(n)))),n}function nM(n,i){return(n.flags&(i?8:16))!==0}function iM(n,i,e){let t=Ue(),o=Mb(t,n,i,e);XE(Vm,KE,o,!0)}var bv=class{destroy(i){}updateValue(i,e){}swap(i,e){let t=Math.min(i,e),o=Math.max(i,e),r=this.detach(o);if(o-t>1){let a=this.detach(t);this.attach(t,r),this.attach(o,a)}else this.attach(t,r)}move(i,e){this.attach(e,this.detach(i))}};function x_(n,i,e,t,o){return n===e&&Object.is(i,t)?1:Object.is(o(n,i),o(e,t))?-1:0}function N3(n,i,e){let t,o,r=0,a=n.length-1,s=void 0;if(Array.isArray(i)){let l=i.length-1;for(;r<=a&&r<=l;){let m=n.at(r),g=i[r],v=x_(r,m,r,g,e);if(v!==0){v<0&&n.updateValue(r,g),r++;continue}let D=n.at(a),S=i[l],I=x_(a,D,l,S,e);if(I!==0){I<0&&n.updateValue(a,S),a--,l--;continue}let A=e(r,m),Y=e(a,D),V=e(r,g);if(Object.is(V,Y)){let he=e(l,S);Object.is(he,A)?(n.swap(r,a),n.updateValue(a,S),l--,a--):n.move(a,r),n.updateValue(r,g),r++;continue}if(t??=new km,o??=sD(n,r,a,e),yv(n,t,r,V))n.updateValue(r,g),r++,a++;else if(o.has(V))t.set(A,n.detach(r)),a--;else{let he=n.create(r,i[r]);n.attach(r,he),r++,a++}}for(;r<=l;)aD(n,t,e,r,i[r]),r++}else if(i!=null){let l=i[Symbol.iterator](),m=l.next();for(;!m.done&&r<=a;){let g=n.at(r),v=m.value,D=x_(r,g,r,v,e);if(D!==0)D<0&&n.updateValue(r,v),r++,m=l.next();else{t??=new km,o??=sD(n,r,a,e);let S=e(r,v);if(yv(n,t,r,S))n.updateValue(r,v),r++,a++,m=l.next();else if(!o.has(S))n.attach(r,n.create(r,v)),r++,a++,m=l.next();else{let I=e(r,g);t.set(I,n.detach(r)),a--}}}for(;!m.done;)aD(n,t,e,n.length,m.value),m=l.next()}for(;r<=a;)n.destroy(n.detach(a--));t?.forEach(l=>{n.destroy(l)})}function yv(n,i,e,t){return i!==void 0&&i.has(t)?(n.attach(e,i.get(t)),i.delete(t),!0):!1}function aD(n,i,e,t,o){if(yv(n,i,t,e(t,o)))n.updateValue(t,o);else{let r=n.create(t,o);n.attach(t,r)}}function sD(n,i,e,t){let o=new Set;for(let r=i;r<=e;r++)o.add(t(r,n.at(r)));return o}var km=class{kvMap=new Map;_vMap=void 0;has(i){return this.kvMap.has(i)}delete(i){if(!this.has(i))return!1;let e=this.kvMap.get(i);return this._vMap!==void 0&&this._vMap.has(e)?(this.kvMap.set(i,this._vMap.get(e)),this._vMap.delete(e)):this.kvMap.delete(i),!0}get(i){return this.kvMap.get(i)}set(i,e){if(this.kvMap.has(i)){let t=this.kvMap.get(i);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(t);)t=o.get(t);o.set(t,e)}else this.kvMap.set(i,e)}forEach(i){for(let[e,t]of this.kvMap)if(i(t,e),this._vMap!==void 0){let o=this._vMap;for(;o.has(t);)t=o.get(t),i(t,e)}}};function Ce(n,i){to("NgControlFlow");let e=Ue(),t=ia(),o=e[t]!==Di?e[t]:-1,r=o!==-1?Am(e,Bn+o):void 0,a=0;if(Vi(e,t,n)){let s=bt(null);try{if(r!==void 0&&wE(r,a),n!==-1){let l=Bn+n,m=Am(e,l),g=Dv(e[ot],l),v=Xs(m,g.tView.ssrId),D=Oc(e,g,i,{dehydratedView:v});Pc(m,D,a,Ks(g,v))}}finally{bt(s)}}else if(r!==void 0){let s=yE(r,a);s!==void 0&&(s[oi]=i)}}var wv=class{lContainer;$implicit;$index;constructor(i,e,t){this.lContainer=i,this.$implicit=e,this.$index=t}get $count(){return this.lContainer.length-ri}};function Nc(n,i){return i}var Cv=class{hasEmptyBlock;trackByFn;liveCollection;constructor(i,e,t){this.hasEmptyBlock=i,this.trackByFn=e,this.liveCollection=t}};function Dr(n,i,e,t,o,r,a,s,l,m,g,v,D){to("NgControlFlow");let S=Ue(),I=tn(),A=l!==void 0,Y=Ue(),V=s?a.bind(Y[Li][oi]):a,he=new Cv(A,V);Y[Bn+n]=he,Im(S,I,n+1,i,e,t,o,Xr(I.consts,r)),A&&Im(S,I,n+2,l,m,g,v,Xr(I.consts,D))}var xv=class extends bv{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(i,e,t){super(),this.lContainer=i,this.hostLView=e,this.templateTNode=t}get length(){return this.lContainer.length-ri}at(i){return this.getLView(i)[oi].$implicit}attach(i,e){let t=e[qs];this.needsIndexUpdate||=i!==this.length,Pc(this.lContainer,e,i,Ks(this.templateTNode,t))}detach(i){return this.needsIndexUpdate||=i!==this.length-1,L3(this.lContainer,i)}create(i,e){let t=Xs(this.lContainer,this.templateTNode.tView.ssrId),o=Oc(this.hostLView,this.templateTNode,new wv(this.lContainer,e,i),{dehydratedView:t});return this.operationsCounter?.recordCreate(),o}destroy(i){tp(i[ot],i),this.operationsCounter?.recordDestroy()}updateValue(i,e){this.getLView(i)[oi].$implicit=e}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let i=0;i(Qm(!0),$S(t,o,PN()));function z3(n,i,e,t,o){let r=i.consts,a=Xr(r,t),s=ol(i,n,8,"ng-container",a);a!==null&&ym(s,a,!0);let l=Xr(r,o);return gb(i,e,s,l),i.queries!==null&&i.queries.elementStart(i,s),s}function ut(n,i,e){let t=Ue(),o=tn(),r=n+Bn,a=o.firstCreatePass?z3(r,o,t,i,e):o.data[r];ts(a,!0);let s=U3(o,t,a,n);return t[r]=s,Ym()&&np(o,t,s,a),Jr(s,t),Gm(a)&&(pb(o,t,a),mb(o,a,t)),e!=null&&hb(t,a),ut}function mt(){let n=Rn(),i=tn();return qv()?Yv():(n=n.parent,ts(n,!1)),i.firstCreatePass&&(Km(i,n),Uv(n)&&i.queries.elementEnd(n)),mt}function Cn(n,i,e){return ut(n,i,e),mt(),Cn}var U3=(n,i,e,t)=>(Qm(!0),q2(i[sn],""));function k(){return Ue()}function En(n,i,e){let t=Ue(),o=ia();if(Vi(t,o,i)){let r=tn(),a=tl();Rc(r,a,t,n,i,t[sn],e,!0)}return En}function Lc(n,i,e){let t=Ue(),o=ia();if(Vi(t,o,i)){let r=tn(),a=tl(),s=Kv(r.data),l=_E(s,a,t);Rc(r,a,t,n,i,l,e,!0)}return Lc}var Rm="en-US";var H3=Rm;function W3(n){typeof n=="string"&&(H3=n.toLowerCase().replace(/_/g,"-"))}var G3=(n,i,e)=>{};function b(n,i,e,t){let o=Ue(),r=tn(),a=Rn();return Ib(r,o,o[sn],a,n,i,t),b}function Vc(n,i){let e=Rn(),t=Ue(),o=tn(),r=Kv(o.data),a=_E(r,e,t);return Ib(o,t,a,e,n,i),Vc}function $3(n,i,e,t){let o=n.cleanup;if(o!=null)for(let r=0;rl?s[l]:null}typeof a=="string"&&(r+=2)}return null}function Ib(n,i,e,t,o,r,a){let s=Gm(t),m=n.firstCreatePass&&gE(n),g=i[oi],v=fE(i),D=!0;if(t.type&3||a){let A=eo(t,i),Y=a?a(A):A,V=v.length,he=a?Dt=>a(Wo(Dt[t.index])):t.index,Ve=null;if(!a&&s&&(Ve=$3(n,i,o,t.index)),Ve!==null){let Dt=Ve.__ngLastListenerFn__||Ve;Dt.__ngNextListenerFn__=r,Ve.__ngLastListenerFn__=r,D=!1}else{r=cD(t,i,g,r),G3(A,o,r);let Dt=e.listen(Y,o,r);v.push(r,Dt),m&&m.push(o,he,V,V+1)}}else r=cD(t,i,g,r);let S=t.outputs,I;if(D&&S!==null&&(I=S[o])){let A=I.length;if(A)for(let Y=0;Y-1?na(n.index,i):i;bb(a,5);let s=lD(i,e,t,r),l=o.__ngNextListenerFn__;for(;l;)s=lD(i,e,l,r)&&s,l=l.__ngNextListenerFn__;return s}}function _(n=1){return RN(n)}function q3(n,i){let e=null,t=hL(n);for(let o=0;o=n.data.length&&(n.data[e]=null,n.blueprint[e]=null),i[e]=t}function be(n){let i=SN();return Wv(i,Bn+n)}function f(n,i=""){let e=Ue(),t=tn(),o=n+Bn,r=t.firstCreatePass?ol(t,o,1,i,null):t.data[o],a=K3(t,e,r,i,n);e[o]=a,Ym()&&np(t,e,a,r),ts(r,!1)}var K3=(n,i,e,t,o)=>(Qm(!0),G2(i[sn],t));function Ge(n){return O("",n,""),Ge}function O(n,i,e){let t=Ue(),o=Mb(t,n,i,e);return o!==Di&&bE(t,br(),o),O}function Er(n,i,e,t,o){let r=Ue(),a=_3(r,n,i,e,t,o);return a!==Di&&bE(r,br(),a),Er}function z(n,i,e){zE(i)&&(i=i());let t=Ue(),o=ia();if(Vi(t,o,i)){let r=tn(),a=tl();Rc(r,a,t,n,i,t[sn],e,!1)}return z}function W(n,i){let e=zE(n);return e&&n.set(i),e}function U(n,i){let e=Ue(),t=tn(),o=Rn();return Ib(t,e,e[sn],o,n,i),U}function Z3(n,i,e){let t=tn();if(t.firstCreatePass){let o=gr(n);Sv(e,t.data,t.blueprint,o,!0),Sv(i,t.data,t.blueprint,o,!1)}}function Sv(n,i,e,t,o){if(n=Qn(n),Array.isArray(n))for(let r=0;r>20;if($s(n)||!n.multi){let S=new Qa(m,o,C),I=S_(l,i,o?g:g+D,v);I===-1?(z_(pm(s,a),r,l),D_(r,n,i.length),i.push(l),s.directiveStart++,s.directiveEnd++,o&&(s.providerIndexes+=1048576),e.push(S),a.push(S)):(e[I]=S,a[I]=S)}else{let S=S_(l,i,g+D,v),I=S_(l,i,g,g+D),A=S>=0&&e[S],Y=I>=0&&e[I];if(o&&!Y||!o&&!A){z_(pm(s,a),r,l);let V=eB(o?J3:X3,e.length,o,t,m);!o&&Y&&(e[I].providerFactory=V),D_(r,n,i.length,0),i.push(l),s.directiveStart++,s.directiveEnd++,o&&(s.providerIndexes+=1048576),e.push(V),a.push(V)}else{let V=sM(e[o?I:S],m,!o&&t);D_(r,n,S>-1?S:I,V)}!o&&t&&Y&&e[I].componentProviders++}}}function D_(n,i,e,t){let o=$s(i),r=tN(i);if(o||r){let l=(r?Qn(i.useClass):i).prototype.ngOnDestroy;if(l){let m=n.destroyHooks||(n.destroyHooks=[]);if(!o&&i.multi){let g=m.indexOf(e);g===-1?m.push(e,[t,l]):m[g+1].push(t,l)}else m.push(e,l)}}}function sM(n,i,e){return e&&n.componentProviders++,n.multi.push(i)-1}function S_(n,i,e,t){for(let o=e;o{e.providersResolver=(t,o)=>Z3(t,o?o(n):n,i)}}function lM(n,i,e){let t=n.\u0275cmp;t.directiveDefs=Dm(i,!1),t.pipeDefs=Dm(e,!0)}function rl(n,i,e){let t=Mc()+n,o=Ue();return o[t]===Di?Eb(o,t,e?i.call(e):i()):m3(o,t)}function Un(n,i,e,t){return dM(Ue(),Mc(),n,i,e,t)}function al(n,i,e,t,o){return uM(Ue(),Mc(),n,i,e,t,o)}function cM(n,i){let e=n[i];return e===Di?void 0:e}function dM(n,i,e,t,o,r){let a=i+e;return Vi(n,a,o)?Eb(n,a+1,r?t.call(r,o):t(o)):cM(n,a+1)}function uM(n,i,e,t,o,r,a){let s=i+e;return qE(n,s,o,r)?Eb(n,s+2,a?t.call(a,o,r):t(o,r)):cM(n,s+2)}function gt(n,i){let e=tn(),t,o=n+Bn;e.firstCreatePass?(t=tB(i,e.pipeRegistry),e.data[o]=t,t.onDestroy&&(e.destroyHooks??=[]).push(o,t.onDestroy)):t=e.data[o];let r=t.factory||(t.factory=Ha(t.type,!0)),a,s=yi(C);try{let l=mm(!1),m=r();return mm(l),Q3(e,Ue(),o,m),m}finally{yi(s)}}function tB(n,i){if(i)for(let e=i.length-1;e>=0;e--){let t=i[e];if(n===t.name)return t}}function Ct(n,i,e){let t=n+Bn,o=Ue(),r=Wv(o,t);return mM(o,t)?dM(o,Mc(),i,r.transform,e,r):r.transform(e)}function Tb(n,i,e,t){let o=n+Bn,r=Ue(),a=Wv(r,o);return mM(r,o)?uM(r,Mc(),i,a.transform,e,t,a):a.transform(e,t)}function mM(n,i){return n[ot].data[i].pure}function gn(n,i){return sp(n,i)}var Yu=null;function nB(n){Yu!==null&&(n.defaultEncapsulation!==Yu.defaultEncapsulation||n.preserveWhitespaces!==Yu.preserveWhitespaces)||(Yu=n)}var Mv=class{ngModuleFactory;componentFactories;constructor(i,e){this.ngModuleFactory=i,this.componentFactories=e}},hp=(()=>{class n{compileModuleSync(e){return new xm(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){let t=this.compileModuleSync(e),o=TD(e),r=GS(o.declarations).reduce((a,s)=>{let l=pr(s);return l&&a.push(new Ja(l)),a},[]);return new Mv(t,r)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),iB=new R("");function oB(n,i,e){let t=new xm(e);return Promise.resolve(t)}function dD(n){for(let i=n.length-1;i>=0;i--)if(n[i]!==void 0)return n[i]}var rB=(()=>{class n{zone=h(te);changeDetectionScheduler=h(Za);applicationRef=h(fi);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function aB({ngZoneFactory:n,ignoreChangesOutsideZone:i,scheduleInRootZone:e}){return n??=()=>new te(Qe(L({},pM()),{scheduleInRootZone:e})),[{provide:te,useFactory:n},{provide:Gs,multi:!0,useFactory:()=>{let t=h(rB,{optional:!0});return()=>t.initialize()}},{provide:Gs,multi:!0,useFactory:()=>{let t=h(sB);return()=>{t.initialize()}}},i===!0?{provide:fS,useValue:!0}:[],{provide:gS,useValue:e??hS}]}function pM(n){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:n?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:n?.runCoalescing??!1}}var sB=(()=>{class n{subscription=new ge;initialized=!1;zone=h(te);pendingTasks=h(Yo);initialize(){if(this.initialized)return;this.initialized=!0;let e=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(e=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{te.assertNotInAngularZone(),queueMicrotask(()=>{e!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(e),e=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{te.assertInAngularZone(),e??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var lB=(()=>{class n{appRef=h(fi);taskService=h(Yo);ngZone=h(te);zonelessEnabled=h(tb);disableScheduling=h(fS,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new ge;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(fm):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(h(gS,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){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.zonelessEnabled&&(this.ngZone instanceof gm||!this.zoneIsDefined)}notify(e){if(!this.zonelessEnabled&&e===5)return;let t=!1;switch(e){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 8:{this.appRef.deferredDirtyFlags|=8;break}case 6:{this.appRef.dirtyFlags|=2,t=!0;break}case 13:{this.appRef.dirtyFlags|=16,t=!0;break}case 14:{this.appRef.dirtyFlags|=2,t=!0;break}case 12:{t=!0;break}case 10:case 9:case 7:case 11:default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick(t))return;let o=this.useMicrotaskScheduler?Fx:_S;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(e){return!(this.disableScheduling&&!e||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(fm+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let e=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(t){throw this.taskService.remove(e),t}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Fx(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(e)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let e=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(e)}}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function cB(){return typeof $localize<"u"&&$localize.locale||Rm}var Bc=new R("",{providedIn:"root",factory:()=>h(Bc,ht.Optional|ht.SkipSelf)||cB()});var Om=new R("");function Qu(n){return!n.moduleRef}function dB(n){let i=Qu(n)?n.r3Injector:n.moduleRef.injector,e=i.get(te);return e.run(()=>{Qu(n)?n.r3Injector.resolveInjectorInitializers():n.moduleRef.resolveInjectorInitializers();let t=i.get(wi,null),o;if(e.runOutsideAngular(()=>{o=e.onError.subscribe({next:r=>{t.handleError(r)}})}),Qu(n)){let r=()=>i.destroy(),a=n.platformInjector.get(Om);a.add(r),i.onDestroy(()=>{o.unsubscribe(),a.delete(r)})}else{let r=()=>n.moduleRef.destroy(),a=n.platformInjector.get(Om);a.add(r),n.moduleRef.onDestroy(()=>{tm(n.allPlatformModules,n.moduleRef),o.unsubscribe(),a.delete(r)})}return TV(t,e,()=>{let r=i.get(AE);return r.runInitializers(),r.donePromise.then(()=>{let a=i.get(Bc,Rm);if(W3(a||Rm),Qu(n)){let s=i.get(fi);return n.rootComponent!==void 0&&s.bootstrap(n.rootComponent),s}else return uB(n.moduleRef,n.allPlatformModules),n.moduleRef})})})}function uB(n,i){let e=n.injector.get(fi);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(t=>e.bootstrap(t));else if(n.instance.ngDoBootstrap)n.instance.ngDoBootstrap(e);else throw new K(-403,!1);i.push(n)}var hM=(()=>{class n{_injector;_modules=[];_destroyListeners=[];_destroyed=!1;constructor(e){this._injector=e}bootstrapModuleFactory(e,t){let o=t?.scheduleInRootZone,r=()=>o2(t?.ngZone,Qe(L({},pM({eventCoalescing:t?.ngZoneEventCoalescing,runCoalescing:t?.ngZoneRunCoalescing})),{scheduleInRootZone:o})),a=t?.ignoreChangesOutsideZone,s=[aB({ngZoneFactory:r,ignoreChangesOutsideZone:a}),{provide:Za,useExisting:lB}],l=yV(e.moduleType,this.injector,s);return dB({moduleRef:l,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(e,t=[]){let o=OE({},t);return oB(this.injector,o,e).then(r=>this.bootstrapModuleFactory(r,o))}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new K(404,!1);this._modules.slice().forEach(t=>t.destroy()),this._destroyListeners.forEach(t=>t());let e=this._injector.get(Om,null);e&&(e.forEach(t=>t()),e.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static \u0275fac=function(t){return new(t||n)(oe(Ae))};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"platform"})}return n})(),fc=null,fM=new R("");function mB(n){if(fc&&!fc.get(fM,!1))throw new K(400,!1);EV(),fc=n;let i=n.get(hM);return fB(n),i}function kb(n,i,e=[]){let t=`Platform: ${i}`,o=new R(t);return(r=[])=>{let a=gM();if(!a||a.injector.get(fM,!1)){let s=[...e,...r,{provide:o,useValue:!0}];n?n(s):mB(pB(s,t))}return hB(o)}}function pB(n=[],i){return Ae.create({name:i,providers:[{provide:jm,useValue:"platform"},{provide:Om,useValue:new Set([()=>fc=null])},...n]})}function hB(n){let i=gM();if(!i)throw new K(401,!1);return i}function gM(){return fc?.get(hM)??null}function fB(n){let i=n.get(ob,null);Ci(n,()=>{i?.forEach(e=>e())})}var Ee=(()=>{class n{static __NG_ELEMENT_ID__=gB}return n})();function gB(n){return _B(Rn(),Ue(),(n&16)===16)}function _B(n,i,e){if(Wm(n)&&!e){let t=na(n.index,i);return new Xa(t,t)}else if(n.type&175){let t=i[Li];return new Xa(t,i)}return null}var Iv=class{constructor(){}supports(i){return $E(i)}create(i){return new Tv(i)}},vB=(n,i)=>i,Tv=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(i){this._trackByFn=i||vB}forEachItem(i){let e;for(e=this._itHead;e!==null;e=e._next)i(e)}forEachOperation(i){let e=this._itHead,t=this._removalsHead,o=0,r=null;for(;e||t;){let a=!t||e&&e.currentIndex{a=this._trackByFn(o,s),e===null||!Object.is(e.trackById,a)?(e=this._mismatch(e,s,a,o),t=!0):(t&&(e=this._verifyReinsertion(e,s,a,o)),Object.is(e.item,s)||this._addIdentityChange(e,s)),e=e._next,o++}),this.length=o;return this._truncate(e),this.collection=i,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let i;for(i=this._previousItHead=this._itHead;i!==null;i=i._next)i._nextPrevious=i._next;for(i=this._additionsHead;i!==null;i=i._nextAdded)i.previousIndex=i.currentIndex;for(this._additionsHead=this._additionsTail=null,i=this._movesHead;i!==null;i=i._nextMoved)i.previousIndex=i.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(i,e,t,o){let r;return i===null?r=this._itTail:(r=i._prev,this._remove(i)),i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(t,null),i!==null?(Object.is(i.item,e)||this._addIdentityChange(i,e),this._reinsertAfter(i,r,o)):(i=this._linkedRecords===null?null:this._linkedRecords.get(t,o),i!==null?(Object.is(i.item,e)||this._addIdentityChange(i,e),this._moveAfter(i,r,o)):i=this._addAfter(new kv(e,t),r,o)),i}_verifyReinsertion(i,e,t,o){let r=this._unlinkedRecords===null?null:this._unlinkedRecords.get(t,null);return r!==null?i=this._reinsertAfter(r,i._prev,o):i.currentIndex!=o&&(i.currentIndex=o,this._addToMoves(i,o)),i}_truncate(i){for(;i!==null;){let e=i._next;this._addToRemovals(this._unlink(i)),i=e}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(i,e,t){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(i);let o=i._prevRemoved,r=i._nextRemoved;return o===null?this._removalsHead=r:o._nextRemoved=r,r===null?this._removalsTail=o:r._prevRemoved=o,this._insertAfter(i,e,t),this._addToMoves(i,t),i}_moveAfter(i,e,t){return this._unlink(i),this._insertAfter(i,e,t),this._addToMoves(i,t),i}_addAfter(i,e,t){return this._insertAfter(i,e,t),this._additionsTail===null?this._additionsTail=this._additionsHead=i:this._additionsTail=this._additionsTail._nextAdded=i,i}_insertAfter(i,e,t){let o=e===null?this._itHead:e._next;return i._next=o,i._prev=e,o===null?this._itTail=i:o._prev=i,e===null?this._itHead=i:e._next=i,this._linkedRecords===null&&(this._linkedRecords=new Pm),this._linkedRecords.put(i),i.currentIndex=t,i}_remove(i){return this._addToRemovals(this._unlink(i))}_unlink(i){this._linkedRecords!==null&&this._linkedRecords.remove(i);let e=i._prev,t=i._next;return e===null?this._itHead=t:e._next=t,t===null?this._itTail=e:t._prev=e,i}_addToMoves(i,e){return i.previousIndex===e||(this._movesTail===null?this._movesTail=this._movesHead=i:this._movesTail=this._movesTail._nextMoved=i),i}_addToRemovals(i){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Pm),this._unlinkedRecords.put(i),i.currentIndex=null,i._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=i,i._prevRemoved=null):(i._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=i),i}_addIdentityChange(i,e){return i.item=e,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=i:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=i,i}},kv=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(i,e){this.item=i,this.trackById=e}},Av=class{_head=null;_tail=null;add(i){this._head===null?(this._head=this._tail=i,i._nextDup=null,i._prevDup=null):(this._tail._nextDup=i,i._prevDup=this._tail,i._nextDup=null,this._tail=i)}get(i,e){let t;for(t=this._head;t!==null;t=t._nextDup)if((e===null||e<=t.currentIndex)&&Object.is(t.trackById,i))return t;return null}remove(i){let e=i._prevDup,t=i._nextDup;return e===null?this._head=t:e._nextDup=t,t===null?this._tail=e:t._prevDup=e,this._head===null}},Pm=class{map=new Map;put(i){let e=i.trackById,t=this.map.get(e);t||(t=new Av,this.map.set(e,t)),t.add(i)}get(i,e){let t=i,o=this.map.get(t);return o?o.get(i,e):null}remove(i){let e=i.trackById;return this.map.get(e).remove(i)&&this.map.delete(e),i}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function uD(n,i,e){let t=n.previousIndex;if(t===null)return t;let o=0;return e&&t{if(e&&e.key===o)this._maybeAddToChanges(e,t),this._appendAfter=e,e=e._next;else{let r=this._getOrCreateRecordForKey(o,t);e=this._insertBeforeOrAppend(e,r)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let t=e;t!==null;t=t._nextRemoved)t===this._mapHead&&(this._mapHead=null),this._records.delete(t.key),t._nextRemoved=t._next,t.previousValue=t.currentValue,t.currentValue=null,t._prev=null,t._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(i,e){if(i){let t=i._prev;return e._next=i,e._prev=t,i._prev=e,t&&(t._next=e),i===this._mapHead&&(this._mapHead=e),this._appendAfter=i,i}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(i,e){if(this._records.has(i)){let o=this._records.get(i);this._maybeAddToChanges(o,e);let r=o._prev,a=o._next;return r&&(r._next=a),a&&(a._prev=r),o._next=null,o._prev=null,o}let t=new Pv(i);return this._records.set(i,t),t.currentValue=e,this._addToAdditions(t),t}_reset(){if(this.isDirty){let i;for(this._previousMapHead=this._mapHead,i=this._previousMapHead;i!==null;i=i._next)i._nextPrevious=i._next;for(i=this._changesHead;i!==null;i=i._nextChanged)i.previousValue=i.currentValue;for(i=this._additionsHead;i!=null;i=i._nextAdded)i.previousValue=i.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(i,e){Object.is(e,i.currentValue)||(i.previousValue=i.currentValue,i.currentValue=e,this._addToChanges(i))}_addToAdditions(i){this._additionsHead===null?this._additionsHead=this._additionsTail=i:(this._additionsTail._nextAdded=i,this._additionsTail=i)}_addToChanges(i){this._changesHead===null?this._changesHead=this._changesTail=i:(this._changesTail._nextChanged=i,this._changesTail=i)}_forEach(i,e){i instanceof Map?i.forEach(e):Object.keys(i).forEach(t=>e(i[t],t))}},Pv=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(i){this.key=i}};function mD(){return new Ko([new Iv])}var Ko=(()=>{class n{factories;static \u0275prov=P({token:n,providedIn:"root",factory:mD});constructor(e){this.factories=e}static create(e,t){if(t!=null){let o=t.factories.slice();e=e.concat(o)}return new n(e)}static extend(e){return{provide:n,useFactory:t=>n.create(e,t||mD()),deps:[[n,new So,new Bi]]}}find(e){let t=this.factories.find(o=>o.supports(e));if(t!=null)return t;throw new K(901,!1)}}return n})();function pD(){return new fp([new Rv])}var fp=(()=>{class n{static \u0275prov=P({token:n,providedIn:"root",factory:pD});factories;constructor(e){this.factories=e}static create(e,t){if(t){let o=t.factories.slice();e=e.concat(o)}return new n(e)}static extend(e){return{provide:n,useFactory:t=>n.create(e,t||pD()),deps:[[n,new So,new Bi]]}}find(e){let t=this.factories.find(o=>o.supports(e));if(t)return t;throw new K(901,!1)}}return n})();var _M=kb(null,"core",[]),vM=(()=>{class n{constructor(e){}static \u0275fac=function(t){return new(t||n)(oe(fi))};static \u0275mod=J({type:n});static \u0275inj=X({})}return n})();function G(n){return typeof n=="boolean"?n:n!=null&&n!=="false"}function on(n,i=NaN){return!isNaN(parseFloat(n))&&!isNaN(Number(n))?Number(n):i}function Mr(n,i){to("NgSignals");let e=Gg(n);return i?.equal&&(e[ti].equal=i.equal),e}function Si(n){let i=bt(null);try{return n()}finally{bt(i)}}var bM=(()=>{class n{view;node;constructor(e,t){this.view=e,this.node=t}static __NG_ELEMENT_ID__=bB}return n})();function bB(){return new bM(Ue(),Rn())}var yB=!1,wB=(()=>{class n extends Sm{pendingTasks=h(Yo);taskId=null;schedule(e){super.schedule(e),this.taskId===null&&(this.taskId=this.pendingTasks.add(),queueMicrotask(()=>this.flush()))}flush(){try{super.flush()}finally{this.taskId!==null&&(this.pendingTasks.remove(this.taskId),this.taskId=null)}}static \u0275prov=P({token:n,providedIn:"root",factory:()=>new n})}return n})(),Fv=class{scheduler;effectFn;zone;injector;unregisterOnDestroy;watcher;constructor(i,e,t,o,r,a){this.scheduler=i,this.effectFn=e,this.zone=t,this.injector=r,this.watcher=qC(s=>this.runEffect(s),()=>this.schedule(),a),this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}runEffect(i){try{this.effectFn(i)}catch(e){this.injector.get(wi,null,{optional:!0})?.handleError(e)}}run(){this.watcher.run()}schedule(){this.scheduler.schedule(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function CB(){}function xB(n,i){to("NgSignals"),!i?.injector&&Um(CB);let e=i?.injector??h(Ae),t=i?.manualCleanup!==!0?e.get(Ic):null,o=new Fv(e.get(wB),n,typeof Zone>"u"?null:Zone.current,t,e,i?.allowSignalWrites??!1),r=e.get(Ee,null,{optional:!0});return!r||!(r._lView[ze]&8)?o.watcher.notify():(r._lView[Zu]??=[]).push(o.watcher.notify),o}var DB=yB;var Nv=class{[ti];constructor(i){this[ti]=i}destroy(){this[ti].destroy()}};function jc(n,i){if(DB)return xB(n,i);to("NgSignals"),!i?.injector&&Um(jc);let e=i?.injector??h(Ae),t=i?.manualCleanup!==!0?e.get(Ic):null,o,r=e.get(bM,null,{optional:!0}),a=e.get(Za);return r!==null&&!i?.forceRoot?(o=MB(r.view,a,n),t instanceof hm&&t._lView===r.view&&(t=null)):o=IB(n,e.get(RE),a),o.injector=e,t!==null&&(o.onDestroyFn=t.onDestroy(()=>o.destroy())),new Nv(o)}var yM=Qe(L({},Pa),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,onDestroyFn:yc,run(){if(this.dirty=!1,this.hasRun&&!oc(this))return;this.hasRun=!0;let n=t=>(this.cleanupFns??=[]).push(t),i=Es(this),e=cm(!1);try{this.maybeCleanup(),this.fn(n)}finally{cm(e),ic(this,i)}},maybeCleanup(){if(this.cleanupFns?.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),SB=Qe(L({},yM),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(13)},destroy(){Ms(this),this.onDestroyFn(),this.maybeCleanup()}}),EB=Qe(L({},yM),{consumerMarkedDirty(){this.view[ze]|=8192,Ec(this.view),this.notifier.notify(14)},destroy(){Ms(this),this.onDestroyFn(),this.maybeCleanup(),this.view[Ga]?.delete(this)}});function MB(n,i,e){let t=Object.create(EB);return t.view=n,t.zone=typeof Zone<"u"?Zone.current:null,t.notifier=i,t.fn=e,n[Ga]??=new Set,n[Ga].add(t),t.consumerMarkedDirty(t),t}function IB(n,i,e){let t=Object.create(SB);return t.fn=n,t.scheduler=i,t.notifier=e,t.zone=typeof Zone<"u"?Zone.current:null,t.scheduler.schedule(t),t.notifier.notify(13),t}function gp(n,i){let e=pr(n),t=i.elementInjector||zm();return new Ja(e).create(t,i.projectableNodes,i.hostElement,i.environmentInjector)}function wM(n){let i=pr(n);if(!i)return null;let e=new Ja(i);return{get selector(){return e.selector},get type(){return e.componentType},get inputs(){return e.inputs},get outputs(){return e.outputs},get ngContentSelectors(){return e.ngContentSelectors},get isStandalone(){return i.standalone},get isSignal(){return i.signals}}}var IM=null;function Zo(){return IM}function TM(n){IM??=n}var _p=class{};var de=new R(""),Vb=(()=>{class n{historyGo(e){throw new Error("")}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:()=>h(kB),providedIn:"platform"})}return n})(),kM=new R(""),kB=(()=>{class n extends Vb{_location;_history;_doc=h(de);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Zo().getBaseHref(this._doc)}onPopState(e){let t=Zo().getGlobalEventTarget(this._doc,"window");return t.addEventListener("popstate",e,!1),()=>t.removeEventListener("popstate",e)}onHashChange(e){let t=Zo().getGlobalEventTarget(this._doc,"window");return t.addEventListener("hashchange",e,!1),()=>t.removeEventListener("hashchange",e)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(e){this._location.pathname=e}pushState(e,t,o){this._history.pushState(e,t,o)}replaceState(e,t,o){this._history.replaceState(e,t,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:()=>new n,providedIn:"platform"})}return n})();function Bb(n,i){if(n.length==0)return i;if(i.length==0)return n;let e=0;return n.endsWith("/")&&e++,i.startsWith("/")&&e++,e==2?n+i.substring(1):e==1?n+i:n+"/"+i}function CM(n){let i=n.match(/#|\?|$/),e=i&&i.index||n.length,t=e-(n[e-1]==="/"?1:0);return n.slice(0,t)+n.slice(e)}function Ir(n){return n&&n[0]!=="?"?"?"+n:n}var Tr=(()=>{class n{historyGo(e){throw new Error("")}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:()=>h(jb),providedIn:"root"})}return n})(),AM=new R(""),jb=(()=>{class n extends Tr{_platformLocation;_baseHref;_removeListenerFns=[];constructor(e,t){super(),this._platformLocation=e,this._baseHref=t??this._platformLocation.getBaseHrefFromDOM()??h(de).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return Bb(this._baseHref,e)}path(e=!1){let t=this._platformLocation.pathname+Ir(this._platformLocation.search),o=this._platformLocation.hash;return o&&e?`${t}${o}`:t}pushState(e,t,o,r){let a=this.prepareExternalUrl(o+Ir(r));this._platformLocation.pushState(e,t,a)}replaceState(e,t,o,r){let a=this.prepareExternalUrl(o+Ir(r));this._platformLocation.replaceState(e,t,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(t){return new(t||n)(oe(Vb),oe(AM,8))};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),RM=(()=>{class n extends Tr{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(e,t){super(),this._platformLocation=e,t!=null&&(this._baseHref=t)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){let t=this._platformLocation.hash??"#";return t.length>0?t.substring(1):t}prepareExternalUrl(e){let t=Bb(this._baseHref,e);return t.length>0?"#"+t:t}pushState(e,t,o,r){let a=this.prepareExternalUrl(o+Ir(r));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.pushState(e,t,a)}replaceState(e,t,o,r){let a=this.prepareExternalUrl(o+Ir(r));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(t){return new(t||n)(oe(Vb),oe(AM,8))};static \u0275prov=P({token:n,factory:n.\u0275fac})}return n})(),sa=(()=>{class n{_subject=new j;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(e){this._locationStrategy=e;let t=this._locationStrategy.getBaseHref();this._basePath=OB(CM(xM(t))),this._locationStrategy.onPopState(o=>{this._subject.next({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,t=""){return this.path()==this.normalize(e+Ir(t))}normalize(e){return n.stripTrailingSlash(RB(this._basePath,xM(e)))}prepareExternalUrl(e){return e&&e[0]!=="/"&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,t="",o=null){this._locationStrategy.pushState(o,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Ir(t)),o)}replaceState(e,t="",o=null){this._locationStrategy.replaceState(o,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Ir(t)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription??=this.subscribe(t=>{this._notifyUrlChangeListeners(t.url,t.state)}),()=>{let t=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(t,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",t){this._urlChangeListeners.forEach(o=>o(e,t))}subscribe(e,t,o){return this._subject.subscribe({next:e,error:t??void 0,complete:o??void 0})}static normalizeQueryParams=Ir;static joinWithSlash=Bb;static stripTrailingSlash=CM;static \u0275fac=function(t){return new(t||n)(oe(Tr))};static \u0275prov=P({token:n,factory:()=>AB(),providedIn:"root"})}return n})();function AB(){return new sa(oe(Tr))}function RB(n,i){if(!n||!i.startsWith(n))return i;let e=i.substring(n.length);return e===""||["/",";","?","#"].includes(e[0])?e:i}function xM(n){return n.replace(/\/index.html$/,"")}function OB(n){if(new RegExp("^(https?:)?//").test(n)){let[,e]=n.split(/\/\/[^\/]+/);return e}return n}function yp(n,i){i=encodeURIComponent(i);for(let e of n.split(";")){let t=e.indexOf("="),[o,r]=t==-1?[e,""]:[e.slice(0,t),e.slice(t+1)];if(o.trim()===i)return decodeURIComponent(r)}return null}var Ab=/\s+/,DM=[],Ei=(()=>{class n{_ngEl;_renderer;initialClasses=DM;rawClass;stateMap=new Map;constructor(e,t){this._ngEl=e,this._renderer=t}set klass(e){this.initialClasses=e!=null?e.trim().split(Ab):DM}set ngClass(e){this.rawClass=typeof e=="string"?e.trim().split(Ab):e}ngDoCheck(){for(let t of this.initialClasses)this._updateState(t,!0);let e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(let t of e)this._updateState(t,!0);else if(e!=null)for(let t of Object.keys(e))this._updateState(t,!!e[t]);this._applyStateDiff()}_updateState(e,t){let o=this.stateMap.get(e);o!==void 0?(o.enabled!==t&&(o.changed=!0,o.enabled=t),o.touched=!0):this.stateMap.set(e,{enabled:t,changed:!0,touched:!0})}_applyStateDiff(){for(let e of this.stateMap){let t=e[0],o=e[1];o.changed?(this._toggleClass(t,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(t,!1),this.stateMap.delete(t)),o.touched=!1}}_toggleClass(e,t){e=e.trim(),e.length>0&&e.split(Ab).forEach(o=>{t?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static \u0275fac=function(t){return new(t||n)(C(Q),C(xr))};static \u0275dir=N({type:n,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return n})();var Rb=class{$implicit;ngForOf;index;count;constructor(i,e,t,o){this.$implicit=i,this.ngForOf=e,this.index=t,this.count=o}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}},$e=(()=>{class n{_viewContainer;_template;_differs;set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(e,t,o){this._viewContainer=e,this._template=t,this._differs=o}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let e=this._ngForOf;if(!this._differ&&e)if(0)try{}catch{}else this._differ=this._differs.find(e).create(this.ngForTrackBy)}if(this._differ){let e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){let t=this._viewContainer;e.forEachOperation((o,r,a)=>{if(o.previousIndex==null)t.createEmbeddedView(this._template,new Rb(o.item,this._ngForOf,-1,-1),a===null?void 0:a);else if(a==null)t.remove(r===null?void 0:r);else if(r!==null){let s=t.get(r);t.move(s,a),SM(s,o)}});for(let o=0,r=t.length;o{let r=t.get(o.currentIndex);SM(r,o)})}static ngTemplateContextGuard(e,t){return!0}static \u0275fac=function(t){return new(t||n)(C(kt),C(wt),C(Ko))};static \u0275dir=N({type:n,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return n})();function SM(n,i){n.context.$implicit=i.item}var ue=(()=>{class n{_viewContainer;_context=new Ob;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(e,t){this._viewContainer=e,this._thenTemplateRef=t}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){EM("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){EM("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(e,t){return!0}static \u0275fac=function(t){return new(t||n)(C(kt),C(wt))};static \u0275dir=N({type:n,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return n})(),Ob=class{$implicit=null;ngIf=null};function EM(n,i){if(!!!(!i||i.createEmbeddedView))throw new Error(`${n} must be a TemplateRef, but received '${hi(i)}'.`)}var vp=class{_viewContainerRef;_templateRef;_created=!1;constructor(i,e){this._viewContainerRef=i,this._templateRef=e}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(i){i&&!this._created?this.create():!i&&this._created&&this.destroy()}},ll=(()=>{class n{_defaultViews=[];_defaultUsed=!1;_caseCount=0;_lastCaseCheckIndex=0;_lastCasesMatched=!1;_ngSwitch;set ngSwitch(e){this._ngSwitch=e,this._caseCount===0&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews.push(e)}_matchCase(e){let t=e===this._ngSwitch;return this._lastCasesMatched||=t,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),t}_updateDefaultCases(e){if(this._defaultViews.length>0&&e!==this._defaultUsed){this._defaultUsed=e;for(let t of this._defaultViews)t.enforceState(e)}}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}})}return n})(),wp=(()=>{class n{ngSwitch;_view;ngSwitchCase;constructor(e,t,o){this.ngSwitch=o,o._addCase(),this._view=new vp(e,t)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static \u0275fac=function(t){return new(t||n)(C(kt),C(wt),C(ll,9))};static \u0275dir=N({type:n,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}})}return n})(),OM=(()=>{class n{constructor(e,t,o){o._addDefault(new vp(e,t))}static \u0275fac=function(t){return new(t||n)(C(kt),C(wt),C(ll,9))};static \u0275dir=N({type:n,selectors:[["","ngSwitchDefault",""]]})}return n})();var PM=(()=>{class n{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(e,t,o){this._ngEl=e,this._differs=t,this._renderer=o}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){let e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,t){let[o,r]=e.split("."),a=o.indexOf("-")===-1?void 0:$o.DashCase;t!=null?this._renderer.setStyle(this._ngEl.nativeElement,o,r?`${t}${r}`:t,a):this._renderer.removeStyle(this._ngEl.nativeElement,o,a)}_applyChanges(e){e.forEachRemovedItem(t=>this._setStyle(t.key,null)),e.forEachAddedItem(t=>this._setStyle(t.key,t.currentValue)),e.forEachChangedItem(t=>this._setStyle(t.key,t.currentValue))}static \u0275fac=function(t){return new(t||n)(C(Q),C(fp),C(xr))};static \u0275dir=N({type:n,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return n})(),Cp=(()=>{class n{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(e){this._viewContainerRef=e}ngOnChanges(e){if(this._shouldRecreateView(e)){let t=this._viewContainerRef;if(this._viewRef&&t.remove(t.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=t.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,t,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,t,o):!1,get:(e,t,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,t,o)}})}static \u0275fac=function(t){return new(t||n)(C(kt))};static \u0275dir=N({type:n,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Ze]})}return n})();function PB(n,i){return new K(2100,!1)}var Pb=class{createSubscription(i,e){return Si(()=>i.subscribe({next:e,error:t=>{throw t}}))}dispose(i){Si(()=>i.unsubscribe())}},Fb=class{createSubscription(i,e){return i.then(e,t=>{throw t})}dispose(i){}},FB=new Fb,NB=new Pb,FM=(()=>{class n{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;constructor(e){this._ref=e}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(e){if(!this._obj){if(e)try{this.markForCheckOnValueUpdate=!1,this._subscribe(e)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,t=>this._updateLatestValue(e,t))}_selectStrategy(e){if(ra(e))return FB;if(Cb(e))return NB;throw PB(n,e)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,t){e===this._obj&&(this._latestValue=t,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(t){return new(t||n)(C(Ee,16))};static \u0275pipe=Qo({name:"async",type:n,pure:!1})}return n})();function LB(n,i){return{key:n,value:i}}var NM=(()=>{class n{differs;constructor(e){this.differs=e}differ;keyValues=[];compareFn=MM;transform(e,t=MM){if(!e||!(e instanceof Map)&&typeof e!="object")return null;this.differ??=this.differs.find(e).create();let o=this.differ.diff(e),r=t!==this.compareFn;return o&&(this.keyValues=[],o.forEachItem(a=>{this.keyValues.push(LB(a.key,a.currentValue))})),(o||r)&&(t&&this.keyValues.sort(t),this.compareFn=t),this.keyValues}static \u0275fac=function(t){return new(t||n)(C(fp,16))};static \u0275pipe=Qo({name:"keyvalue",type:n,pure:!1})}return n})();function MM(n,i){let e=n.key,t=i.key;if(e===t)return 0;if(e===void 0)return 1;if(t===void 0)return-1;if(e===null)return 1;if(t===null)return-1;if(typeof e=="string"&&typeof t=="string")return e{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({})}return n})(),zb="browser",VB="server";function Ub(n){return n===zb}function xp(n){return n===VB}var LM=(()=>{class n{static \u0275prov=P({token:n,providedIn:"root",factory:()=>Ub(h(Eo))?new Nb(h(de),window):new Lb})}return n})(),Nb=class{document;window;offset=()=>[0,0];constructor(i,e){this.document=i,this.window=e}setOffset(i){Array.isArray(i)?this.offset=()=>i:this.offset=i}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(i){this.window.scrollTo(i[0],i[1])}scrollToAnchor(i){let e=BB(this.document,i);e&&(this.scrollToElement(e),e.focus())}setHistoryScrollRestoration(i){this.window.history.scrollRestoration=i}scrollToElement(i){let e=i.getBoundingClientRect(),t=e.left+this.window.pageXOffset,o=e.top+this.window.pageYOffset,r=this.offset();this.window.scrollTo(t-r[0],o-r[1])}};function BB(n,i){let e=n.getElementById(i)||n.getElementsByName(i)[0];if(e)return e;if(typeof n.createTreeWalker=="function"&&n.body&&typeof n.body.attachShadow=="function"){let t=n.createTreeWalker(n.body,NodeFilter.SHOW_ELEMENT),o=t.currentNode;for(;o;){let r=o.shadowRoot;if(r){let a=r.getElementById(i)||r.querySelector(`[name="${i}"]`);if(a)return a}o=t.nextNode()}}return null}var Lb=class{setOffset(i){}getScrollPosition(){return[0,0]}scrollToPosition(i){}scrollToAnchor(i){}setHistoryScrollRestoration(i){}},sl=class{};var Uc=class{},Sp=class{},Io=class n{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(i){i?typeof i=="string"?this.lazyInit=()=>{this.headers=new Map,i.split(` +`).forEach(e=>{let t=e.indexOf(":");if(t>0){let o=e.slice(0,t),r=e.slice(t+1).trim();this.addHeaderEntry(o,r)}})}:typeof Headers<"u"&&i instanceof Headers?(this.headers=new Map,i.forEach((e,t)=>{this.addHeaderEntry(t,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(i).forEach(([e,t])=>{this.setHeaderEntries(e,t)})}:this.headers=new Map}has(i){return this.init(),this.headers.has(i.toLowerCase())}get(i){this.init();let e=this.headers.get(i.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(i){return this.init(),this.headers.get(i.toLowerCase())||null}append(i,e){return this.clone({name:i,value:e,op:"a"})}set(i,e){return this.clone({name:i,value:e,op:"s"})}delete(i,e){return this.clone({name:i,value:e,op:"d"})}maybeSetNormalizedName(i,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,i)}init(){this.lazyInit&&(this.lazyInit instanceof n?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(i=>this.applyUpdate(i)),this.lazyUpdate=null))}copyFrom(i){i.init(),Array.from(i.headers.keys()).forEach(e=>{this.headers.set(e,i.headers.get(e)),this.normalizedNames.set(e,i.normalizedNames.get(e))})}clone(i){let e=new n;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof n?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([i]),e}applyUpdate(i){let e=i.name.toLowerCase();switch(i.op){case"a":case"s":let t=i.value;if(typeof t=="string"&&(t=[t]),t.length===0)return;this.maybeSetNormalizedName(i.name,e);let o=(i.op==="a"?this.headers.get(e):void 0)||[];o.push(...t),this.headers.set(e,o);break;case"d":let r=i.value;if(!r)this.headers.delete(e),this.normalizedNames.delete(e);else{let a=this.headers.get(e);if(!a)return;a=a.filter(s=>r.indexOf(s)===-1),a.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,a)}break}}addHeaderEntry(i,e){let t=i.toLowerCase();this.maybeSetNormalizedName(i,t),this.headers.has(t)?this.headers.get(t).push(e):this.headers.set(t,[e])}setHeaderEntries(i,e){let t=(Array.isArray(e)?e:[e]).map(r=>r.toString()),o=i.toLowerCase();this.headers.set(o,t),this.maybeSetNormalizedName(i,o)}forEach(i){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>i(this.normalizedNames.get(e),this.headers.get(e)))}};var Wb=class{encodeKey(i){return VM(i)}encodeValue(i){return VM(i)}decodeKey(i){return decodeURIComponent(i)}decodeValue(i){return decodeURIComponent(i)}};function jB(n,i){let e=new Map;return n.length>0&&n.replace(/^\?/,"").split("&").forEach(o=>{let r=o.indexOf("="),[a,s]=r==-1?[i.decodeKey(o),""]:[i.decodeKey(o.slice(0,r)),i.decodeValue(o.slice(r+1))],l=e.get(a)||[];l.push(s),e.set(a,l)}),e}var zB=/%(\d[a-f0-9])/gi,UB={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function VM(n){return encodeURIComponent(n).replace(zB,(i,e)=>UB[e]??i)}function Dp(n){return`${n}`}var ca=class n{map;encoder;updates=null;cloneFrom=null;constructor(i={}){if(this.encoder=i.encoder||new Wb,i.fromString){if(i.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=jB(i.fromString,this.encoder)}else i.fromObject?(this.map=new Map,Object.keys(i.fromObject).forEach(e=>{let t=i.fromObject[e],o=Array.isArray(t)?t.map(Dp):[Dp(t)];this.map.set(e,o)})):this.map=null}has(i){return this.init(),this.map.has(i)}get(i){this.init();let e=this.map.get(i);return e?e[0]:null}getAll(i){return this.init(),this.map.get(i)||null}keys(){return this.init(),Array.from(this.map.keys())}append(i,e){return this.clone({param:i,value:e,op:"a"})}appendAll(i){let e=[];return Object.keys(i).forEach(t=>{let o=i[t];Array.isArray(o)?o.forEach(r=>{e.push({param:t,value:r,op:"a"})}):e.push({param:t,value:o,op:"a"})}),this.clone(e)}set(i,e){return this.clone({param:i,value:e,op:"s"})}delete(i,e){return this.clone({param:i,value:e,op:"d"})}toString(){return this.init(),this.keys().map(i=>{let e=this.encoder.encodeKey(i);return this.map.get(i).map(t=>e+"="+this.encoder.encodeValue(t)).join("&")}).filter(i=>i!=="").join("&")}clone(i){let e=new n({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(i),e}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(i=>this.map.set(i,this.cloneFrom.map.get(i))),this.updates.forEach(i=>{switch(i.op){case"a":case"s":let e=(i.op==="a"?this.map.get(i.param):void 0)||[];e.push(Dp(i.value)),this.map.set(i.param,e);break;case"d":if(i.value!==void 0){let t=this.map.get(i.param)||[],o=t.indexOf(Dp(i.value));o!==-1&&t.splice(o,1),t.length>0?this.map.set(i.param,t):this.map.delete(i.param)}else{this.map.delete(i.param);break}}}),this.cloneFrom=this.updates=null)}};var Gb=class{map=new Map;set(i,e){return this.map.set(i,e),this}get(i){return this.map.has(i)||this.map.set(i,i.defaultValue()),this.map.get(i)}delete(i){return this.map.delete(i),this}has(i){return this.map.has(i)}keys(){return this.map.keys()}};function HB(n){switch(n){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function BM(n){return typeof ArrayBuffer<"u"&&n instanceof ArrayBuffer}function jM(n){return typeof Blob<"u"&&n instanceof Blob}function zM(n){return typeof FormData<"u"&&n instanceof FormData}function WB(n){return typeof URLSearchParams<"u"&&n instanceof URLSearchParams}var zc=class n{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;responseType="json";method;params;urlWithParams;transferCache;constructor(i,e,t,o){this.url=e,this.method=i.toUpperCase();let r;if(HB(this.method)||o?(this.body=t!==void 0?t:null,r=o):r=t,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.context&&(this.context=r.context),r.params&&(this.params=r.params),this.transferCache=r.transferCache),this.headers??=new Io,this.context??=new Gb,!this.params)this.params=new ca,this.urlWithParams=e;else{let a=this.params.toString();if(a.length===0)this.urlWithParams=e;else{let s=e.indexOf("?"),l=s===-1?"?":sD.set(S,i.setHeaders[S]),m)),i.setParams&&(g=Object.keys(i.setParams).reduce((D,S)=>D.set(S,i.setParams[S]),g)),new n(e,t,a,{params:g,headers:m,context:v,reportProgress:l,responseType:o,withCredentials:s,transferCache:r})}},da=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}(da||{}),Hc=class{headers;status;statusText;url;ok;type;constructor(i,e=200,t="OK"){this.headers=i.headers||new Io,this.status=i.status!==void 0?i.status:e,this.statusText=i.statusText||t,this.url=i.url||null,this.ok=this.status>=200&&this.status<300}},Ep=class n extends Hc{constructor(i={}){super(i)}type=da.ResponseHeader;clone(i={}){return new n({headers:i.headers||this.headers,status:i.status!==void 0?i.status:this.status,statusText:i.statusText||this.statusText,url:i.url||this.url||void 0})}},Wc=class n extends Hc{body;constructor(i={}){super(i),this.body=i.body!==void 0?i.body:null}type=da.Response;clone(i={}){return new n({body:i.body!==void 0?i.body:this.body,headers:i.headers||this.headers,status:i.status!==void 0?i.status:this.status,statusText:i.statusText||this.statusText,url:i.url||this.url||void 0})}},la=class extends Hc{name="HttpErrorResponse";message;error;ok=!1;constructor(i){super(i,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${i.url||"(unknown url)"}`:this.message=`Http failure response for ${i.url||"(unknown url)"}: ${i.status} ${i.statusText}`,this.error=i.error||null}},$M=200,GB=204;function Hb(n,i){return{body:i,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 Gc=(()=>{class n{handler;constructor(e){this.handler=e}request(e,t,o={}){let r;if(e instanceof zc)r=e;else{let l;o.headers instanceof Io?l=o.headers:l=new Io(o.headers);let m;o.params&&(o.params instanceof ca?m=o.params:m=new ca({fromObject:o.params})),r=new zc(e,t,o.body!==void 0?o.body:null,{headers:l,context:o.context,params:m,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let a=ie(r).pipe(dr(l=>this.handler.handle(l)));if(e instanceof zc||o.observe==="events")return a;let s=a.pipe(je(l=>l instanceof Wc));switch(o.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return s.pipe(le(l=>{if(l.body!==null&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return s.pipe(le(l=>{if(l.body!==null&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return s.pipe(le(l=>{if(l.body!==null&&typeof l.body!="string")throw new Error("Response is not a string.");return l.body}));case"json":default:return s.pipe(le(l=>l.body))}case"response":return s;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(e,t={}){return this.request("DELETE",e,t)}get(e,t={}){return this.request("GET",e,t)}head(e,t={}){return this.request("HEAD",e,t)}jsonp(e,t){return this.request("JSONP",e,{params:new ca().append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,t={}){return this.request("OPTIONS",e,t)}patch(e,t,o={}){return this.request("PATCH",e,Hb(o,t))}post(e,t,o={}){return this.request("POST",e,Hb(o,t))}put(e,t,o={}){return this.request("PUT",e,Hb(o,t))}static \u0275fac=function(t){return new(t||n)(oe(Uc))};static \u0275prov=P({token:n,factory:n.\u0275fac})}return n})(),$B=/^\)\]\}',?\n/,qB="X-Request-URL";function UM(n){if(n.url)return n.url;let i=qB.toLocaleLowerCase();return n.headers.get(i)}var YB=(()=>{class n{fetchImpl=h($b,{optional:!0})?.fetch??((...e)=>globalThis.fetch(...e));ngZone=h(te);handle(e){return new Fe(t=>{let o=new AbortController;return this.doRequest(e,o.signal,t).then(qb,r=>t.error(new la({error:r}))),()=>o.abort()})}doRequest(e,t,o){return H(this,null,function*(){let r=this.createRequestInit(e),a;try{let S=this.ngZone.runOutsideAngular(()=>this.fetchImpl(e.urlWithParams,L({signal:t},r)));QB(S),o.next({type:da.Sent}),a=yield S}catch(S){o.error(new la({error:S,status:S.status??0,statusText:S.statusText,url:e.urlWithParams,headers:S.headers}));return}let s=new Io(a.headers),l=a.statusText,m=UM(a)??e.urlWithParams,g=a.status,v=null;if(e.reportProgress&&o.next(new Ep({headers:s,status:g,statusText:l,url:m})),a.body){let S=a.headers.get("content-length"),I=[],A=a.body.getReader(),Y=0,V,he,Ve=typeof Zone<"u"&&Zone.current;yield this.ngZone.runOutsideAngular(()=>H(this,null,function*(){for(;;){let{done:wn,value:Vt}=yield A.read();if(wn)break;if(I.push(Vt),Y+=Vt.length,e.reportProgress){he=e.responseType==="text"?(he??"")+(V??=new TextDecoder).decode(Vt,{stream:!0}):void 0;let an=()=>o.next({type:da.DownloadProgress,total:S?+S:void 0,loaded:Y,partialText:he});Ve?Ve.run(an):an()}}}));let Dt=this.concatChunks(I,Y);try{let wn=a.headers.get("Content-Type")??"";v=this.parseBody(e,Dt,wn)}catch(wn){o.error(new la({error:wn,headers:new Io(a.headers),status:a.status,statusText:a.statusText,url:UM(a)??e.urlWithParams}));return}}g===0&&(g=v?$M:0),g>=200&&g<300?(o.next(new Wc({body:v,headers:s,status:g,statusText:l,url:m})),o.complete()):o.error(new la({error:v,headers:s,status:g,statusText:l,url:m}))})}parseBody(e,t,o){switch(e.responseType){case"json":let r=new TextDecoder().decode(t).replace($B,"");return r===""?null:JSON.parse(r);case"text":return new TextDecoder().decode(t);case"blob":return new Blob([t],{type:o});case"arraybuffer":return t.buffer}}createRequestInit(e){let t={},o=e.withCredentials?"include":void 0;if(e.headers.forEach((r,a)=>t[r]=a.join(",")),e.headers.has("Accept")||(t.Accept="application/json, text/plain, */*"),!e.headers.has("Content-Type")){let r=e.detectContentTypeHeader();r!==null&&(t["Content-Type"]=r)}return{body:e.serializeBody(),method:e.method,headers:t,credentials:o}}concatChunks(e,t){let o=new Uint8Array(t),r=0;for(let a of e)o.set(a,r),r+=a.length;return o}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac})}return n})(),$b=class{};function qb(){}function QB(n){n.then(qb,qb)}function qM(n,i){return i(n)}function KB(n,i){return(e,t)=>i.intercept(e,{handle:o=>n(o,t)})}function ZB(n,i,e){return(t,o)=>Ci(e,()=>i(t,r=>n(r,o)))}var XB=new R(""),Yb=new R(""),JB=new R(""),YM=new R("",{providedIn:"root",factory:()=>!0});function ej(){let n=null;return(i,e)=>{n===null&&(n=(h(XB,{optional:!0})??[]).reduceRight(KB,qM));let t=h(Yo);if(h(YM)){let r=t.add();return n(i,e).pipe(jo(()=>t.remove(r)))}else return n(i,e)}}var HM=(()=>{class n extends Uc{backend;injector;chain=null;pendingTasks=h(Yo);contributeToStability=h(YM);constructor(e,t){super(),this.backend=e,this.injector=t}handle(e){if(this.chain===null){let t=Array.from(new Set([...this.injector.get(Yb),...this.injector.get(JB,[])]));this.chain=t.reduceRight((o,r)=>ZB(o,r,this.injector),qM)}if(this.contributeToStability){let t=this.pendingTasks.add();return this.chain(e,o=>this.backend.handle(o)).pipe(jo(()=>this.pendingTasks.remove(t)))}else return this.chain(e,t=>this.backend.handle(t))}static \u0275fac=function(t){return new(t||n)(oe(Sp),oe(An))};static \u0275prov=P({token:n,factory:n.\u0275fac})}return n})();var tj=/^\)\]\}',?\n/;function nj(n){return"responseURL"in n&&n.responseURL?n.responseURL:/^X-Request-URL:/m.test(n.getAllResponseHeaders())?n.getResponseHeader("X-Request-URL"):null}var WM=(()=>{class n{xhrFactory;constructor(e){this.xhrFactory=e}handle(e){if(e.method==="JSONP")throw new K(-2800,!1);let t=this.xhrFactory;return(t.\u0275loadImpl?Kt(t.\u0275loadImpl()):ie(null)).pipe(Tt(()=>new Fe(r=>{let a=t.build();if(a.open(e.method,e.urlWithParams),e.withCredentials&&(a.withCredentials=!0),e.headers.forEach((A,Y)=>a.setRequestHeader(A,Y.join(","))),e.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){let A=e.detectContentTypeHeader();A!==null&&a.setRequestHeader("Content-Type",A)}if(e.responseType){let A=e.responseType.toLowerCase();a.responseType=A!=="json"?A:"text"}let s=e.serializeBody(),l=null,m=()=>{if(l!==null)return l;let A=a.statusText||"OK",Y=new Io(a.getAllResponseHeaders()),V=nj(a)||e.url;return l=new Ep({headers:Y,status:a.status,statusText:A,url:V}),l},g=()=>{let{headers:A,status:Y,statusText:V,url:he}=m(),Ve=null;Y!==GB&&(Ve=typeof a.response>"u"?a.responseText:a.response),Y===0&&(Y=Ve?$M:0);let Dt=Y>=200&&Y<300;if(e.responseType==="json"&&typeof Ve=="string"){let wn=Ve;Ve=Ve.replace(tj,"");try{Ve=Ve!==""?JSON.parse(Ve):null}catch(Vt){Ve=wn,Dt&&(Dt=!1,Ve={error:Vt,text:Ve})}}Dt?(r.next(new Wc({body:Ve,headers:A,status:Y,statusText:V,url:he||void 0})),r.complete()):r.error(new la({error:Ve,headers:A,status:Y,statusText:V,url:he||void 0}))},v=A=>{let{url:Y}=m(),V=new la({error:A,status:a.status||0,statusText:a.statusText||"Unknown Error",url:Y||void 0});r.error(V)},D=!1,S=A=>{D||(r.next(m()),D=!0);let Y={type:da.DownloadProgress,loaded:A.loaded};A.lengthComputable&&(Y.total=A.total),e.responseType==="text"&&a.responseText&&(Y.partialText=a.responseText),r.next(Y)},I=A=>{let Y={type:da.UploadProgress,loaded:A.loaded};A.lengthComputable&&(Y.total=A.total),r.next(Y)};return a.addEventListener("load",g),a.addEventListener("error",v),a.addEventListener("timeout",v),a.addEventListener("abort",v),e.reportProgress&&(a.addEventListener("progress",S),s!==null&&a.upload&&a.upload.addEventListener("progress",I)),a.send(s),r.next({type:da.Sent}),()=>{a.removeEventListener("error",v),a.removeEventListener("abort",v),a.removeEventListener("load",g),a.removeEventListener("timeout",v),e.reportProgress&&(a.removeEventListener("progress",S),s!==null&&a.upload&&a.upload.removeEventListener("progress",I)),a.readyState!==a.DONE&&a.abort()}})))}static \u0275fac=function(t){return new(t||n)(oe(sl))};static \u0275prov=P({token:n,factory:n.\u0275fac})}return n})(),QM=new R(""),ij="XSRF-TOKEN",oj=new R("",{providedIn:"root",factory:()=>ij}),rj="X-XSRF-TOKEN",aj=new R("",{providedIn:"root",factory:()=>rj}),Mp=class{},sj=(()=>{class n{doc;platform;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(e,t,o){this.doc=e,this.platform=t,this.cookieName=o}getToken(){if(this.platform==="server")return null;let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=yp(e,this.cookieName),this.lastCookieString=e),this.lastToken}static \u0275fac=function(t){return new(t||n)(oe(de),oe(Eo),oe(oj))};static \u0275prov=P({token:n,factory:n.\u0275fac})}return n})();function lj(n,i){let e=n.url.toLowerCase();if(!h(QM)||n.method==="GET"||n.method==="HEAD"||e.startsWith("http://")||e.startsWith("https://"))return i(n);let t=h(Mp).getToken(),o=h(aj);return t!=null&&!n.headers.has(o)&&(n=n.clone({headers:n.headers.set(o,t)})),i(n)}var KM=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}(KM||{});function cj(n,i){return{\u0275kind:n,\u0275providers:i}}function ZM(...n){let i=[Gc,WM,HM,{provide:Uc,useExisting:HM},{provide:Sp,useFactory:()=>h(YB,{optional:!0})??h(WM)},{provide:Yb,useValue:lj,multi:!0},{provide:QM,useValue:!0},{provide:Mp,useClass:sj}];for(let e of n)i.push(...e.\u0275providers);return Bm(i)}var GM=new R("");function XM(){return cj(KM.LegacyInterceptors,[{provide:GM,useFactory:ej},{provide:Yb,useExisting:GM,multi:!0}])}var Kb=class extends _p{supportsDOMEvents=!0},Zb=class n extends Kb{static makeCurrent(){TM(new n)}onAndCancel(i,e,t){return i.addEventListener(e,t),()=>{i.removeEventListener(e,t)}}dispatchEvent(i,e){i.dispatchEvent(e)}remove(i){i.remove()}createElement(i,e){return e=e||this.getDefaultDocument(),e.createElement(i)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(i){return i.nodeType===Node.ELEMENT_NODE}isShadowRoot(i){return i instanceof DocumentFragment}getGlobalEventTarget(i,e){return e==="window"?window:e==="document"?i:e==="body"?i.body:null}getBaseHref(i){let e=dj();return e==null?null:uj(e)}resetBaseElement(){$c=null}getUserAgent(){return window.navigator.userAgent}getCookie(i){return yp(document.cookie,i)}},$c=null;function dj(){return $c=$c||document.querySelector("base"),$c?$c.getAttribute("href"):null}function uj(n){return new URL(n,document.baseURI).pathname}var Xb=class{addToWindow(i){Ni.getAngularTestability=(t,o=!0)=>{let r=i.findTestabilityInTree(t,o);if(r==null)throw new K(5103,!1);return r},Ni.getAllAngularTestabilities=()=>i.getAllTestabilities(),Ni.getAllAngularRootElements=()=>i.getAllRootElements();let e=t=>{let o=Ni.getAllAngularTestabilities(),r=o.length,a=function(){r--,r==0&&t()};o.forEach(s=>{s.whenStable(a)})};Ni.frameworkStabilizers||(Ni.frameworkStabilizers=[]),Ni.frameworkStabilizers.push(e)}findTestabilityInTree(i,e,t){if(e==null)return null;let o=i.getTestability(e);return o??(t?Zo().isShadowRoot(e)?this.findTestabilityInTree(i,e.host,!0):this.findTestabilityInTree(i,e.parentElement,!0):null)}},mj=(()=>{class n{build(){return new XMLHttpRequest}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac})}return n})(),Jb=new R(""),oI=(()=>{class n{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,t){this._zone=t,e.forEach(o=>{o.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,t,o){return this._findPluginFor(t).addEventListener(e,t,o)}getZone(){return this._zone}_findPluginFor(e){let t=this._eventNameToPlugin.get(e);if(t)return t;if(t=this._plugins.find(r=>r.supports(e)),!t)throw new K(5101,!1);return this._eventNameToPlugin.set(e,t),t}static \u0275fac=function(t){return new(t||n)(oe(Jb),oe(te))};static \u0275prov=P({token:n,factory:n.\u0275fac})}return n})(),Ip=class{_doc;constructor(i){this._doc=i}manager},e0="ng-app-id";function eI(n){for(let i of n)i.remove()}function tI(n,i){let e=i.createElement("style");return e.textContent=n,e}function pj(n,i,e){let t=n.head?.querySelectorAll(`style[${e0}="${i}"]`);if(t)for(let o of t)o.textContent&&(o.removeAttribute(e0),e.set(o.textContent,{usage:0,elements:[o]}))}function t0(n,i){let e=i.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",n),e}var rI=(()=>{class n{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(e,t,o,r={}){this.doc=e,this.appId=t,this.nonce=o,this.isServer=xp(r),pj(e,t,this.inline),this.hosts.add(e.head)}addStyles(e,t){for(let o of e)this.addUsage(o,this.inline,tI);t?.forEach(o=>this.addUsage(o,this.external,t0))}removeStyles(e,t){for(let o of e)this.removeUsage(o,this.inline);t?.forEach(o=>this.removeUsage(o,this.external))}addUsage(e,t,o){let r=t.get(e);r?r.usage++:t.set(e,{usage:1,elements:[...this.hosts].map(a=>this.addElement(a,o(e,this.doc)))})}removeUsage(e,t){let o=t.get(e);o&&(o.usage--,o.usage<=0&&(eI(o.elements),t.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])eI(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[t,{elements:o}]of this.inline)o.push(this.addElement(e,tI(t,this.doc)));for(let[t,{elements:o}]of this.external)o.push(this.addElement(e,t0(t,this.doc)))}removeHost(e){this.hosts.delete(e)}addElement(e,t){return this.nonce&&t.setAttribute("nonce",this.nonce),this.isServer&&t.setAttribute(e0,this.appId),e.appendChild(t)}static \u0275fac=function(t){return new(t||n)(oe(de),oe(il),oe(Tc,8),oe(Eo))};static \u0275prov=P({token:n,factory:n.\u0275fac})}return n})(),Qb={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"},i0=/%COMP%/g,aI="%COMP%",hj=`_nghost-${aI}`,fj=`_ngcontent-${aI}`,gj=!0,_j=new R("",{providedIn:"root",factory:()=>gj});function vj(n){return fj.replace(i0,n)}function bj(n){return hj.replace(i0,n)}function sI(n,i){return i.map(e=>e.replace(i0,n))}var Tp=(()=>{class n{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(e,t,o,r,a,s,l,m=null){this.eventManager=e,this.sharedStylesHost=t,this.appId=o,this.removeStylesOnCompDestroy=r,this.doc=a,this.platformId=s,this.ngZone=l,this.nonce=m,this.platformIsServer=xp(s),this.defaultRenderer=new qc(e,a,l,this.platformIsServer)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;this.platformIsServer&&t.encapsulation===Go.ShadowDom&&(t=Qe(L({},t),{encapsulation:Go.Emulated}));let o=this.getOrCreateRenderer(e,t);return o instanceof kp?o.applyToHost(e):o instanceof Yc&&o.applyStyles(),o}getOrCreateRenderer(e,t){let o=this.rendererByCompId,r=o.get(t.id);if(!r){let a=this.doc,s=this.ngZone,l=this.eventManager,m=this.sharedStylesHost,g=this.removeStylesOnCompDestroy,v=this.platformIsServer;switch(t.encapsulation){case Go.Emulated:r=new kp(l,m,t,this.appId,g,a,s,v);break;case Go.ShadowDom:return new n0(l,m,e,t,a,s,this.nonce,v);default:r=new Yc(l,m,t,g,a,s,v);break}o.set(t.id,r)}return r}ngOnDestroy(){this.rendererByCompId.clear()}static \u0275fac=function(t){return new(t||n)(oe(oI),oe(rI),oe(il),oe(_j),oe(de),oe(Eo),oe(te),oe(Tc))};static \u0275prov=P({token:n,factory:n.\u0275fac})}return n})(),qc=class{eventManager;doc;ngZone;platformIsServer;data=Object.create(null);throwOnSyntheticProps=!0;constructor(i,e,t,o){this.eventManager=i,this.doc=e,this.ngZone=t,this.platformIsServer=o}destroy(){}destroyNode=null;createElement(i,e){return e?this.doc.createElementNS(Qb[e]||e,i):this.doc.createElement(i)}createComment(i){return this.doc.createComment(i)}createText(i){return this.doc.createTextNode(i)}appendChild(i,e){(nI(i)?i.content:i).appendChild(e)}insertBefore(i,e,t){i&&(nI(i)?i.content:i).insertBefore(e,t)}removeChild(i,e){e.remove()}selectRootElement(i,e){let t=typeof i=="string"?this.doc.querySelector(i):i;if(!t)throw new K(-5104,!1);return e||(t.textContent=""),t}parentNode(i){return i.parentNode}nextSibling(i){return i.nextSibling}setAttribute(i,e,t,o){if(o){e=o+":"+e;let r=Qb[o];r?i.setAttributeNS(r,e,t):i.setAttribute(e,t)}else i.setAttribute(e,t)}removeAttribute(i,e,t){if(t){let o=Qb[t];o?i.removeAttributeNS(o,e):i.removeAttribute(`${t}:${e}`)}else i.removeAttribute(e)}addClass(i,e){i.classList.add(e)}removeClass(i,e){i.classList.remove(e)}setStyle(i,e,t,o){o&($o.DashCase|$o.Important)?i.style.setProperty(e,t,o&$o.Important?"important":""):i.style[e]=t}removeStyle(i,e,t){t&$o.DashCase?i.style.removeProperty(e):i.style[e]=""}setProperty(i,e,t){i!=null&&(i[e]=t)}setValue(i,e){i.nodeValue=e}listen(i,e,t){if(typeof i=="string"&&(i=Zo().getGlobalEventTarget(this.doc,i),!i))throw new Error(`Unsupported event target ${i} for event ${e}`);return this.eventManager.addEventListener(i,e,this.decoratePreventDefault(t))}decoratePreventDefault(i){return e=>{if(e==="__ngUnwrap__")return i;(this.platformIsServer?this.ngZone.runGuarded(()=>i(e)):i(e))===!1&&e.preventDefault()}}};function nI(n){return n.tagName==="TEMPLATE"&&n.content!==void 0}var n0=class extends qc{sharedStylesHost;hostEl;shadowRoot;constructor(i,e,t,o,r,a,s,l){super(i,r,a,l),this.sharedStylesHost=e,this.hostEl=t,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let m=sI(o.id,o.styles);for(let v of m){let D=document.createElement("style");s&&D.setAttribute("nonce",s),D.textContent=v,this.shadowRoot.appendChild(D)}let g=o.getExternalStyles?.();if(g)for(let v of g){let D=t0(v,r);s&&D.setAttribute("nonce",s),this.shadowRoot.appendChild(D)}}nodeOrShadowRoot(i){return i===this.hostEl?this.shadowRoot:i}appendChild(i,e){return super.appendChild(this.nodeOrShadowRoot(i),e)}insertBefore(i,e,t){return super.insertBefore(this.nodeOrShadowRoot(i),e,t)}removeChild(i,e){return super.removeChild(null,e)}parentNode(i){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(i)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Yc=class extends qc{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(i,e,t,o,r,a,s,l){super(i,r,a,s),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=o,this.styles=l?sI(l,t.styles):t.styles,this.styleUrls=t.getExternalStyles?.(l)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},kp=class extends Yc{contentAttr;hostAttr;constructor(i,e,t,o,r,a,s,l){let m=o+"-"+t.id;super(i,e,t,r,a,s,l,m),this.contentAttr=vj(m),this.hostAttr=bj(m)}applyToHost(i){this.applyStyles(),this.setAttribute(i,this.hostAttr,"")}createElement(i,e){let t=super.createElement(i,e);return super.setAttribute(t,this.contentAttr,""),t}},yj=(()=>{class n extends Ip{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,o){return e.addEventListener(t,o,!1),()=>this.removeEventListener(e,t,o)}removeEventListener(e,t,o){return e.removeEventListener(t,o)}static \u0275fac=function(t){return new(t||n)(oe(de))};static \u0275prov=P({token:n,factory:n.\u0275fac})}return n})(),iI=["alt","control","meta","shift"],wj={"\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"},Cj={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey},xj=(()=>{class n extends Ip{constructor(e){super(e)}supports(e){return n.parseEventName(e)!=null}addEventListener(e,t,o){let r=n.parseEventName(t),a=n.eventCallback(r.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Zo().onAndCancel(e,r.domEventName,a))}static parseEventName(e){let t=e.toLowerCase().split("."),o=t.shift();if(t.length===0||!(o==="keydown"||o==="keyup"))return null;let r=n._normalizeKey(t.pop()),a="",s=t.indexOf("code");if(s>-1&&(t.splice(s,1),a="code."),iI.forEach(m=>{let g=t.indexOf(m);g>-1&&(t.splice(g,1),a+=m+".")}),a+=r,t.length!=0||r.length===0)return null;let l={};return l.domEventName=o,l.fullKey=a,l}static matchEventFullKeyCode(e,t){let o=wj[e.key]||e.key,r="";return t.indexOf("code.")>-1&&(o=e.code,r="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),iI.forEach(a=>{if(a!==o){let s=Cj[a];s(e)&&(r+=a+".")}}),r+=o,r===t)}static eventCallback(e,t,o){return r=>{n.matchEventFullKeyCode(r,e)&&o.runGuarded(()=>t(r))}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(t){return new(t||n)(oe(de))};static \u0275prov=P({token:n,factory:n.\u0275fac})}return n})();function Dj(){Zb.makeCurrent()}function Sj(){return new wi}function Ej(){return MS(document),document}var Mj=[{provide:Eo,useValue:zb},{provide:ob,useValue:Dj,multi:!0},{provide:de,useFactory:Ej,deps:[]}],lI=kb(_M,"browser",Mj),Ij=new R(""),Tj=[{provide:Fc,useClass:Xb,deps:[]},{provide:yb,useClass:dp,deps:[te,up,Fc]},{provide:dp,useClass:dp,deps:[te,up,Fc]}],kj=[{provide:jm,useValue:"root"},{provide:wi,useFactory:Sj,deps:[]},{provide:Jb,useClass:yj,multi:!0,deps:[de,te,Eo]},{provide:Jb,useClass:xj,multi:!0,deps:[de]},Tp,rI,oI,{provide:ta,useExisting:Tp},{provide:sl,useClass:mj,deps:[]},[]],Ap=(()=>{class n{constructor(e){}static \u0275fac=function(t){return new(t||n)(oe(Ij,12))};static \u0275mod=J({type:n});static \u0275inj=X({providers:[...kj,...Tj],imports:[cl,vM]})}return n})();var cI=(()=>{class n{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static \u0275fac=function(t){return new(t||n)(oe(de))};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var ns=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:function(t){let o=null;return t?o=new(t||n):o=oe(Aj),o},providedIn:"root"})}return n})(),Aj=(()=>{class n extends ns{_doc;constructor(e){super(),this._doc=e}sanitize(e,t){if(t==null)return null;switch(e){case Kn.NONE:return t;case Kn.HTML:return wr(t,"HTML")?no(t):ab(this._doc,String(t)).toString();case Kn.STYLE:return wr(t,"Style")?no(t):t;case Kn.SCRIPT:if(wr(t,"Script"))return no(t);throw new K(5200,!1);case Kn.URL:return wr(t,"URL")?no(t):Jm(String(t));case Kn.RESOURCE_URL:if(wr(t,"ResourceURL"))return no(t);throw new K(5201,!1);default:throw new K(5202,!1)}}bypassSecurityTrustHtml(e){return OS(e)}bypassSecurityTrustStyle(e){return PS(e)}bypassSecurityTrustScript(e){return FS(e)}bypassSecurityTrustUrl(e){return NS(e)}bypassSecurityTrustResourceUrl(e){return LS(e)}static \u0275fac=function(t){return new(t||n)(oe(de))};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var dt="primary",cd=Symbol("RouteTitle"),l0=class{params;constructor(i){this.params=i||{}}has(i){return Object.prototype.hasOwnProperty.call(this.params,i)}get(i){if(this.has(i)){let e=this.params[i];return Array.isArray(e)?e[0]:e}return null}getAll(i){if(this.has(i)){let e=this.params[i];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}};function fl(n){return new l0(n)}function Rj(n,i,e){let t=e.path.split("/");if(t.length>n.length||e.pathMatch==="full"&&(i.hasChildren()||t.lengtht[r]===o)}else return n===i}function wI(n){return n.length>0?n[n.length-1]:null}function ma(n){return Gr(n)?n:ra(n)?Kt(Promise.resolve(n)):ie(n)}var Pj={exact:xI,subset:DI},CI={exact:Fj,subset:Nj,ignored:()=>!0};function dI(n,i,e){return Pj[e.paths](n.root,i.root,e.matrixParams)&&CI[e.queryParams](n.queryParams,i.queryParams)&&!(e.fragment==="exact"&&n.fragment!==i.fragment)}function Fj(n,i){return Xo(n,i)}function xI(n,i,e){if(!os(n.segments,i.segments)||!Pp(n.segments,i.segments,e)||n.numberOfChildren!==i.numberOfChildren)return!1;for(let t in i.children)if(!n.children[t]||!xI(n.children[t],i.children[t],e))return!1;return!0}function Nj(n,i){return Object.keys(i).length<=Object.keys(n).length&&Object.keys(i).every(e=>yI(n[e],i[e]))}function DI(n,i,e){return SI(n,i,i.segments,e)}function SI(n,i,e,t){if(n.segments.length>e.length){let o=n.segments.slice(0,e.length);return!(!os(o,e)||i.hasChildren()||!Pp(o,e,t))}else if(n.segments.length===e.length){if(!os(n.segments,e)||!Pp(n.segments,e,t))return!1;for(let o in i.children)if(!n.children[o]||!DI(n.children[o],i.children[o],t))return!1;return!0}else{let o=e.slice(0,n.segments.length),r=e.slice(n.segments.length);return!os(n.segments,o)||!Pp(n.segments,o,t)||!n.children[dt]?!1:SI(n.children[dt],i,r,t)}}function Pp(n,i,e){return i.every((t,o)=>CI[e](n[o].parameters,t.parameters))}var Ar=class{root;queryParams;fragment;_queryParamMap;constructor(i=new Bt([],{}),e={},t=null){this.root=i,this.queryParams=e,this.fragment=t}get queryParamMap(){return this._queryParamMap??=fl(this.queryParams),this._queryParamMap}toString(){return Bj.serialize(this)}},Bt=class{segments;children;parent=null;constructor(i,e){this.segments=i,this.children=e,Object.values(e).forEach(t=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Fp(this)}},is=class{path;parameters;_parameterMap;constructor(i,e){this.path=i,this.parameters=e}get parameterMap(){return this._parameterMap??=fl(this.parameters),this._parameterMap}toString(){return MI(this)}};function Lj(n,i){return os(n,i)&&n.every((e,t)=>Xo(e.parameters,i[t].parameters))}function os(n,i){return n.length!==i.length?!1:n.every((e,t)=>e.path===i[t].path)}function Vj(n,i){let e=[];return Object.entries(n.children).forEach(([t,o])=>{t===dt&&(e=e.concat(i(o,t)))}),Object.entries(n.children).forEach(([t,o])=>{t!==dt&&(e=e.concat(i(o,t)))}),e}var dd=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:()=>new gl,providedIn:"root"})}return n})(),gl=class{parse(i){let e=new u0(i);return new Ar(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(i){let e=`/${Kc(i.root,!0)}`,t=Uj(i.queryParams),o=typeof i.fragment=="string"?`#${jj(i.fragment)}`:"";return`${e}${t}${o}`}},Bj=new gl;function Fp(n){return n.segments.map(i=>MI(i)).join("/")}function Kc(n,i){if(!n.hasChildren())return Fp(n);if(i){let e=n.children[dt]?Kc(n.children[dt],!1):"",t=[];return Object.entries(n.children).forEach(([o,r])=>{o!==dt&&t.push(`${o}:${Kc(r,!1)}`)}),t.length>0?`${e}(${t.join("//")})`:e}else{let e=Vj(n,(t,o)=>o===dt?[Kc(n.children[dt],!1)]:[`${o}:${Kc(t,!1)}`]);return Object.keys(n.children).length===1&&n.children[dt]!=null?`${Fp(n)}/${e[0]}`:`${Fp(n)}/(${e.join("//")})`}}function EI(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Rp(n){return EI(n).replace(/%3B/gi,";")}function jj(n){return encodeURI(n)}function d0(n){return EI(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Np(n){return decodeURIComponent(n)}function uI(n){return Np(n.replace(/\+/g,"%20"))}function MI(n){return`${d0(n.path)}${zj(n.parameters)}`}function zj(n){return Object.entries(n).map(([i,e])=>`;${d0(i)}=${d0(e)}`).join("")}function Uj(n){let i=Object.entries(n).map(([e,t])=>Array.isArray(t)?t.map(o=>`${Rp(e)}=${Rp(o)}`).join("&"):`${Rp(e)}=${Rp(t)}`).filter(e=>e);return i.length?`?${i.join("&")}`:""}var Hj=/^[^\/()?;#]+/;function o0(n){let i=n.match(Hj);return i?i[0]:""}var Wj=/^[^\/()?;=#]+/;function Gj(n){let i=n.match(Wj);return i?i[0]:""}var $j=/^[^=?&#]+/;function qj(n){let i=n.match($j);return i?i[0]:""}var Yj=/^[^&#]+/;function Qj(n){let i=n.match(Yj);return i?i[0]:""}var u0=class{url;remaining;constructor(i){this.url=i,this.remaining=i}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new Bt([],{}):new Bt([],this.parseChildren())}parseQueryParams(){let i={};if(this.consumeOptional("?"))do this.parseQueryParam(i);while(this.consumeOptional("&"));return i}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let i=[];for(this.peekStartsWith("(")||i.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),i.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let t={};return this.peekStartsWith("(")&&(t=this.parseParens(!1)),(i.length>0||Object.keys(e).length>0)&&(t[dt]=new Bt(i,e)),t}parseSegment(){let i=o0(this.remaining);if(i===""&&this.peekStartsWith(";"))throw new K(4009,!1);return this.capture(i),new is(Np(i),this.parseMatrixParams())}parseMatrixParams(){let i={};for(;this.consumeOptional(";");)this.parseParam(i);return i}parseParam(i){let e=Gj(this.remaining);if(!e)return;this.capture(e);let t="";if(this.consumeOptional("=")){let o=o0(this.remaining);o&&(t=o,this.capture(t))}i[Np(e)]=Np(t)}parseQueryParam(i){let e=qj(this.remaining);if(!e)return;this.capture(e);let t="";if(this.consumeOptional("=")){let a=Qj(this.remaining);a&&(t=a,this.capture(t))}let o=uI(e),r=uI(t);if(i.hasOwnProperty(o)){let a=i[o];Array.isArray(a)||(a=[a],i[o]=a),a.push(r)}else i[o]=r}parseParens(i){let e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let t=o0(this.remaining),o=this.remaining[t.length];if(o!=="/"&&o!==")"&&o!==";")throw new K(4010,!1);let r;t.indexOf(":")>-1?(r=t.slice(0,t.indexOf(":")),this.capture(r),this.capture(":")):i&&(r=dt);let a=this.parseChildren();e[r]=Object.keys(a).length===1?a[dt]:new Bt([],a),this.consumeOptional("//")}return e}peekStartsWith(i){return this.remaining.startsWith(i)}consumeOptional(i){return this.peekStartsWith(i)?(this.remaining=this.remaining.substring(i.length),!0):!1}capture(i){if(!this.consumeOptional(i))throw new K(4011,!1)}};function II(n){return n.segments.length>0?new Bt([],{[dt]:n}):n}function TI(n){let i={};for(let[t,o]of Object.entries(n.children)){let r=TI(o);if(t===dt&&r.segments.length===0&&r.hasChildren())for(let[a,s]of Object.entries(r.children))i[a]=s;else(r.segments.length>0||r.hasChildren())&&(i[t]=r)}let e=new Bt(n.segments,i);return Kj(e)}function Kj(n){if(n.numberOfChildren===1&&n.children[dt]){let i=n.children[dt];return new Bt(n.segments.concat(i.segments),i.children)}return n}function rs(n){return n instanceof Ar}function Zj(n,i,e=null,t=null){let o=kI(n);return AI(o,i,e,t)}function kI(n){let i;function e(r){let a={};for(let l of r.children){let m=e(l);a[l.outlet]=m}let s=new Bt(r.url,a);return r===n&&(i=s),s}let t=e(n.root),o=II(t);return i??o}function AI(n,i,e,t){let o=n;for(;o.parent;)o=o.parent;if(i.length===0)return r0(o,o,o,e,t);let r=Xj(i);if(r.toRoot())return r0(o,o,new Bt([],{}),e,t);let a=Jj(r,o,n),s=a.processChildren?Jc(a.segmentGroup,a.index,r.commands):OI(a.segmentGroup,a.index,r.commands);return r0(o,a.segmentGroup,s,e,t)}function Lp(n){return typeof n=="object"&&n!=null&&!n.outlets&&!n.segmentPath}function nd(n){return typeof n=="object"&&n!=null&&n.outlets}function r0(n,i,e,t,o){let r={};t&&Object.entries(t).forEach(([l,m])=>{r[l]=Array.isArray(m)?m.map(g=>`${g}`):`${m}`});let a;n===i?a=e:a=RI(n,i,e);let s=II(TI(a));return new Ar(s,r,o)}function RI(n,i,e){let t={};return Object.entries(n.children).forEach(([o,r])=>{r===i?t[o]=e:t[o]=RI(r,i,e)}),new Bt(n.segments,t)}var Vp=class{isAbsolute;numberOfDoubleDots;commands;constructor(i,e,t){if(this.isAbsolute=i,this.numberOfDoubleDots=e,this.commands=t,i&&t.length>0&&Lp(t[0]))throw new K(4003,!1);let o=t.find(nd);if(o&&o!==wI(t))throw new K(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function Xj(n){if(typeof n[0]=="string"&&n.length===1&&n[0]==="/")return new Vp(!0,0,n);let i=0,e=!1,t=n.reduce((o,r,a)=>{if(typeof r=="object"&&r!=null){if(r.outlets){let s={};return Object.entries(r.outlets).forEach(([l,m])=>{s[l]=typeof m=="string"?m.split("/"):m}),[...o,{outlets:s}]}if(r.segmentPath)return[...o,r.segmentPath]}return typeof r!="string"?[...o,r]:a===0?(r.split("/").forEach((s,l)=>{l==0&&s==="."||(l==0&&s===""?e=!0:s===".."?i++:s!=""&&o.push(s))}),o):[...o,r]},[]);return new Vp(e,i,t)}var ml=class{segmentGroup;processChildren;index;constructor(i,e,t){this.segmentGroup=i,this.processChildren=e,this.index=t}};function Jj(n,i,e){if(n.isAbsolute)return new ml(i,!0,0);if(!e)return new ml(i,!1,NaN);if(e.parent===null)return new ml(e,!0,0);let t=Lp(n.commands[0])?0:1,o=e.segments.length-1+t;return ez(e,o,n.numberOfDoubleDots)}function ez(n,i,e){let t=n,o=i,r=e;for(;r>o;){if(r-=o,t=t.parent,!t)throw new K(4005,!1);o=t.segments.length}return new ml(t,!1,o-r)}function tz(n){return nd(n[0])?n[0].outlets:{[dt]:n}}function OI(n,i,e){if(n??=new Bt([],{}),n.segments.length===0&&n.hasChildren())return Jc(n,i,e);let t=nz(n,i,e),o=e.slice(t.commandIndex);if(t.match&&t.pathIndexr!==dt)&&n.children[dt]&&n.numberOfChildren===1&&n.children[dt].segments.length===0){let r=Jc(n.children[dt],i,e);return new Bt(n.segments,r.children)}return Object.entries(t).forEach(([r,a])=>{typeof a=="string"&&(a=[a]),a!==null&&(o[r]=OI(n.children[r],i,a))}),Object.entries(n.children).forEach(([r,a])=>{t[r]===void 0&&(o[r]=a)}),new Bt(n.segments,o)}}function nz(n,i,e){let t=0,o=i,r={match:!1,pathIndex:0,commandIndex:0};for(;o=e.length)return r;let a=n.segments[o],s=e[t];if(nd(s))break;let l=`${s}`,m=t0&&l===void 0)break;if(l&&m&&typeof m=="object"&&m.outlets===void 0){if(!pI(l,m,a))return r;t+=2}else{if(!pI(l,{},a))return r;t++}o++}return{match:!0,pathIndex:o,commandIndex:t}}function m0(n,i,e){let t=n.segments.slice(0,i),o=0;for(;o{typeof t=="string"&&(t=[t]),t!==null&&(i[e]=m0(new Bt([],{}),0,t))}),i}function mI(n){let i={};return Object.entries(n).forEach(([e,t])=>i[e]=`${t}`),i}function pI(n,i,e){return n==e.path&&Xo(i,e.parameters)}var ed="imperative",Hn=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}(Hn||{}),io=class{id;url;constructor(i,e){this.id=i,this.url=e}},_l=class extends io{type=Hn.NavigationStart;navigationTrigger;restoredState;constructor(i,e,t="imperative",o=null){super(i,e),this.navigationTrigger=t,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Jo=class extends io{urlAfterRedirects;type=Hn.NavigationEnd;constructor(i,e,t){super(i,e),this.urlAfterRedirects=t}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},zi=function(n){return n[n.Redirect=0]="Redirect",n[n.SupersededByNewNavigation=1]="SupersededByNewNavigation",n[n.NoDataFromResolver=2]="NoDataFromResolver",n[n.GuardRejected=3]="GuardRejected",n}(zi||{}),Bp=function(n){return n[n.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",n[n.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",n}(Bp||{}),kr=class extends io{reason;code;type=Hn.NavigationCancel;constructor(i,e,t,o){super(i,e),this.reason=t,this.code=o}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},ua=class extends io{reason;code;type=Hn.NavigationSkipped;constructor(i,e,t,o){super(i,e),this.reason=t,this.code=o}},id=class extends io{error;target;type=Hn.NavigationError;constructor(i,e,t,o){super(i,e),this.error=t,this.target=o}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},jp=class extends io{urlAfterRedirects;state;type=Hn.RoutesRecognized;constructor(i,e,t,o){super(i,e),this.urlAfterRedirects=t,this.state=o}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},p0=class extends io{urlAfterRedirects;state;type=Hn.GuardsCheckStart;constructor(i,e,t,o){super(i,e),this.urlAfterRedirects=t,this.state=o}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},h0=class extends io{urlAfterRedirects;state;shouldActivate;type=Hn.GuardsCheckEnd;constructor(i,e,t,o,r){super(i,e),this.urlAfterRedirects=t,this.state=o,this.shouldActivate=r}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},f0=class extends io{urlAfterRedirects;state;type=Hn.ResolveStart;constructor(i,e,t,o){super(i,e),this.urlAfterRedirects=t,this.state=o}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},g0=class extends io{urlAfterRedirects;state;type=Hn.ResolveEnd;constructor(i,e,t,o){super(i,e),this.urlAfterRedirects=t,this.state=o}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},_0=class{route;type=Hn.RouteConfigLoadStart;constructor(i){this.route=i}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},v0=class{route;type=Hn.RouteConfigLoadEnd;constructor(i){this.route=i}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},b0=class{snapshot;type=Hn.ChildActivationStart;constructor(i){this.snapshot=i}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},y0=class{snapshot;type=Hn.ChildActivationEnd;constructor(i){this.snapshot=i}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},w0=class{snapshot;type=Hn.ActivationStart;constructor(i){this.snapshot=i}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},C0=class{snapshot;type=Hn.ActivationEnd;constructor(i){this.snapshot=i}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},zp=class{routerEvent;position;anchor;type=Hn.Scroll;constructor(i,e,t){this.routerEvent=i,this.position=e,this.anchor=t}toString(){let i=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${i}')`}},od=class{},vl=class{url;navigationBehaviorOptions;constructor(i,e){this.url=i,this.navigationBehaviorOptions=e}};function oz(n,i){return n.providers&&!n._injector&&(n._injector=lp(n.providers,i,`Route: ${n.path}`)),n._injector??i}function To(n){return n.outlet||dt}function rz(n,i){let e=n.filter(t=>To(t)===i);return e.push(...n.filter(t=>To(t)!==i)),e}function ud(n){if(!n)return null;if(n.routeConfig?._injector)return n.routeConfig._injector;for(let i=n.parent;i;i=i.parent){let e=i.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}var x0=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return ud(this.route?.snapshot)??this.rootInjector}constructor(i){this.rootInjector=i,this.children=new md(this.rootInjector)}},md=(()=>{class n{rootInjector;contexts=new Map;constructor(e){this.rootInjector=e}onChildOutletCreated(e,t){let o=this.getOrCreateContext(e);o.outlet=t,this.contexts.set(e,o)}onChildOutletDestroyed(e){let t=this.getContext(e);t&&(t.outlet=null,t.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let t=this.getContext(e);return t||(t=new x0(this.rootInjector),this.contexts.set(e,t)),t}getContext(e){return this.contexts.get(e)||null}static \u0275fac=function(t){return new(t||n)(oe(An))};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Up=class{_root;constructor(i){this._root=i}get root(){return this._root.value}parent(i){let e=this.pathFromRoot(i);return e.length>1?e[e.length-2]:null}children(i){let e=D0(i,this._root);return e?e.children.map(t=>t.value):[]}firstChild(i){let e=D0(i,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(i){let e=S0(i,this._root);return e.length<2?[]:e[e.length-2].children.map(o=>o.value).filter(o=>o!==i)}pathFromRoot(i){return S0(i,this._root).map(e=>e.value)}};function D0(n,i){if(n===i.value)return i;for(let e of i.children){let t=D0(n,e);if(t)return t}return null}function S0(n,i){if(n===i.value)return[i];for(let e of i.children){let t=S0(n,e);if(t.length)return t.unshift(i),t}return[]}var ji=class{value;children;constructor(i,e){this.value=i,this.children=e}toString(){return`TreeNode(${this.value})`}};function ul(n){let i={};return n&&n.children.forEach(e=>i[e.value.outlet]=e),i}var Hp=class extends Up{snapshot;constructor(i,e){super(i),this.snapshot=e,P0(this,i)}toString(){return this.snapshot.toString()}};function PI(n){let i=az(n),e=new Gt([new is("",{})]),t=new Gt({}),o=new Gt({}),r=new Gt({}),a=new Gt(""),s=new Re(e,t,r,a,o,dt,n,i.root);return s.snapshot=i.root,new Hp(new ji(s,[]),i)}function az(n){let i={},e={},t={},o="",r=new pl([],i,t,o,e,dt,n,null,{});return new Gp("",new ji(r,[]))}var Re=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(i,e,t,o,r,a,s,l){this.urlSubject=i,this.paramsSubject=e,this.queryParamsSubject=t,this.fragmentSubject=o,this.dataSubject=r,this.outlet=a,this.component=s,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(le(m=>m[cd]))??ie(void 0),this.url=i,this.params=e,this.queryParams=t,this.fragment=o,this.data=r}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(le(i=>fl(i))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(le(i=>fl(i))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Wp(n,i,e="emptyOnly"){let t,{routeConfig:o}=n;return i!==null&&(e==="always"||o?.path===""||!i.component&&!i.routeConfig?.loadComponent)?t={params:L(L({},i.params),n.params),data:L(L({},i.data),n.data),resolve:L(L(L(L({},n.data),i.data),o?.data),n._resolvedData)}:t={params:L({},n.params),data:L({},n.data),resolve:L(L({},n.data),n._resolvedData??{})},o&&NI(o)&&(t.resolve[cd]=o.title),t}var pl=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[cd]}constructor(i,e,t,o,r,a,s,l,m){this.url=i,this.params=e,this.queryParams=t,this.fragment=o,this.data=r,this.outlet=a,this.component=s,this.routeConfig=l,this._resolve=m}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=fl(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=fl(this.queryParams),this._queryParamMap}toString(){let i=this.url.map(t=>t.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${i}', path:'${e}')`}},Gp=class extends Up{url;constructor(i,e){super(e),this.url=i,P0(this,e)}toString(){return FI(this._root)}};function P0(n,i){i.value._routerState=n,i.children.forEach(e=>P0(n,e))}function FI(n){let i=n.children.length>0?` { ${n.children.map(FI).join(", ")} } `:"";return`${n.value}${i}`}function a0(n){if(n.snapshot){let i=n.snapshot,e=n._futureSnapshot;n.snapshot=e,Xo(i.queryParams,e.queryParams)||n.queryParamsSubject.next(e.queryParams),i.fragment!==e.fragment&&n.fragmentSubject.next(e.fragment),Xo(i.params,e.params)||n.paramsSubject.next(e.params),Oj(i.url,e.url)||n.urlSubject.next(e.url),Xo(i.data,e.data)||n.dataSubject.next(e.data)}else n.snapshot=n._futureSnapshot,n.dataSubject.next(n._futureSnapshot.data)}function E0(n,i){let e=Xo(n.params,i.params)&&Lj(n.url,i.url),t=!n.parent!=!i.parent;return e&&!t&&(!n.parent||E0(n.parent,i.parent))}function NI(n){return typeof n.title=="string"||n.title===null}var sz=new R(""),F0=(()=>{class n{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=dt;activateEvents=new T;deactivateEvents=new T;attachEvents=new T;detachEvents=new T;routerOutletData=bS(void 0);parentContexts=h(md);location=h(kt);changeDetector=h(Ee);inputBinder=h(Kp,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(e){if(e.name){let{firstChange:t,previousValue:o}=e.name;if(t)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new K(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new K(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new K(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,t){this.activated=e,this._activatedRoute=t,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){let e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,t){if(this.isActivated)throw new K(4013,!1);this._activatedRoute=e;let o=this.location,a=e.snapshot.component,s=this.parentContexts.getOrCreateContext(this.name).children,l=new M0(e,s,o.injector,this.routerOutletData);this.activated=o.createComponent(a,{index:o.length,injector:l,environmentInjector:t}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[Ze]})}return n})(),M0=class n{route;childContexts;parent;outletData;__ngOutletInjector(i){return new n(this.route,this.childContexts,i,this.outletData)}constructor(i,e,t,o){this.route=i,this.childContexts=e,this.parent=t,this.outletData=o}get(i,e){return i===Re?this.route:i===md?this.childContexts:i===sz?this.outletData:this.parent.get(i,e)}},Kp=new R(""),hI=(()=>{class n{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(e){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e)}subscribeToRouteData(e){let{activatedRoute:t}=e,o=Pi([t.queryParams,t.params,t.data]).pipe(Tt(([r,a,s],l)=>(s=L(L(L({},r),a),s),l===0?ie(s):Promise.resolve(s)))).subscribe(r=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==t||t.component===null){this.unsubscribeFromRouteData(e);return}let a=wM(t.component);if(!a){this.unsubscribeFromRouteData(e);return}for(let{templateName:s}of a.inputs)e.activatedComponentRef.setInput(s,r[s])});this.outletDataSubscriptions.set(e,o)}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac})}return n})();function lz(n,i,e){let t=rd(n,i._root,e?e._root:void 0);return new Hp(t,i)}function rd(n,i,e){if(e&&n.shouldReuseRoute(i.value,e.value.snapshot)){let t=e.value;t._futureSnapshot=i.value;let o=cz(n,i,e);return new ji(t,o)}else{if(n.shouldAttach(i.value)){let r=n.retrieve(i.value);if(r!==null){let a=r.route;return a.value._futureSnapshot=i.value,a.children=i.children.map(s=>rd(n,s)),a}}let t=dz(i.value),o=i.children.map(r=>rd(n,r));return new ji(t,o)}}function cz(n,i,e){return i.children.map(t=>{for(let o of e.children)if(n.shouldReuseRoute(t.value,o.value.snapshot))return rd(n,t,o);return rd(n,t)})}function dz(n){return new Re(new Gt(n.url),new Gt(n.params),new Gt(n.queryParams),new Gt(n.fragment),new Gt(n.data),n.outlet,n.component,n)}var ad=class{redirectTo;navigationBehaviorOptions;constructor(i,e){this.redirectTo=i,this.navigationBehaviorOptions=e}},LI="ngNavigationCancelingError";function $p(n,i){let{redirectTo:e,navigationBehaviorOptions:t}=rs(i)?{redirectTo:i,navigationBehaviorOptions:void 0}:i,o=VI(!1,zi.Redirect);return o.url=e,o.navigationBehaviorOptions=t,o}function VI(n,i){let e=new Error(`NavigationCancelingError: ${n||""}`);return e[LI]=!0,e.cancellationCode=i,e}function uz(n){return BI(n)&&rs(n.url)}function BI(n){return!!n&&n[LI]}var mz=(n,i,e,t)=>le(o=>(new I0(i,o.targetRouterState,o.currentRouterState,e,t).activate(n),o)),I0=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(i,e,t,o,r){this.routeReuseStrategy=i,this.futureState=e,this.currState=t,this.forwardEvent=o,this.inputBindingEnabled=r}activate(i){let e=this.futureState._root,t=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,t,i),a0(this.futureState.root),this.activateChildRoutes(e,t,i)}deactivateChildRoutes(i,e,t){let o=ul(e);i.children.forEach(r=>{let a=r.value.outlet;this.deactivateRoutes(r,o[a],t),delete o[a]}),Object.values(o).forEach(r=>{this.deactivateRouteAndItsChildren(r,t)})}deactivateRoutes(i,e,t){let o=i.value,r=e?e.value:null;if(o===r)if(o.component){let a=t.getContext(o.outlet);a&&this.deactivateChildRoutes(i,e,a.children)}else this.deactivateChildRoutes(i,e,t);else r&&this.deactivateRouteAndItsChildren(e,t)}deactivateRouteAndItsChildren(i,e){i.value.component&&this.routeReuseStrategy.shouldDetach(i.value.snapshot)?this.detachAndStoreRouteSubtree(i,e):this.deactivateRouteAndOutlet(i,e)}detachAndStoreRouteSubtree(i,e){let t=e.getContext(i.value.outlet),o=t&&i.value.component?t.children:e,r=ul(i);for(let a of Object.values(r))this.deactivateRouteAndItsChildren(a,o);if(t&&t.outlet){let a=t.outlet.detach(),s=t.children.onOutletDeactivated();this.routeReuseStrategy.store(i.value.snapshot,{componentRef:a,route:i,contexts:s})}}deactivateRouteAndOutlet(i,e){let t=e.getContext(i.value.outlet),o=t&&i.value.component?t.children:e,r=ul(i);for(let a of Object.values(r))this.deactivateRouteAndItsChildren(a,o);t&&(t.outlet&&(t.outlet.deactivate(),t.children.onOutletDeactivated()),t.attachRef=null,t.route=null)}activateChildRoutes(i,e,t){let o=ul(e);i.children.forEach(r=>{this.activateRoutes(r,o[r.value.outlet],t),this.forwardEvent(new C0(r.value.snapshot))}),i.children.length&&this.forwardEvent(new y0(i.value.snapshot))}activateRoutes(i,e,t){let o=i.value,r=e?e.value:null;if(a0(o),o===r)if(o.component){let a=t.getOrCreateContext(o.outlet);this.activateChildRoutes(i,e,a.children)}else this.activateChildRoutes(i,e,t);else if(o.component){let a=t.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){let s=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),a.children.onOutletReAttached(s.contexts),a.attachRef=s.componentRef,a.route=s.route.value,a.outlet&&a.outlet.attach(s.componentRef,s.route.value),a0(s.route.value),this.activateChildRoutes(i,null,a.children)}else a.attachRef=null,a.route=o,a.outlet&&a.outlet.activateWith(o,a.injector),this.activateChildRoutes(i,null,a.children)}else this.activateChildRoutes(i,null,t)}},qp=class{path;route;constructor(i){this.path=i,this.route=this.path[this.path.length-1]}},hl=class{component;route;constructor(i,e){this.component=i,this.route=e}};function pz(n,i,e){let t=n._root,o=i?i._root:null;return Zc(t,o,e,[t.value])}function hz(n){let i=n.routeConfig?n.routeConfig.canActivateChild:null;return!i||i.length===0?null:{node:n,guards:i}}function yl(n,i){let e=Symbol(),t=i.get(n,e);return t===e?typeof n=="function"&&!bD(n)?n:i.get(n):t}function Zc(n,i,e,t,o={canDeactivateChecks:[],canActivateChecks:[]}){let r=ul(i);return n.children.forEach(a=>{fz(a,r[a.value.outlet],e,t.concat([a.value]),o),delete r[a.value.outlet]}),Object.entries(r).forEach(([a,s])=>td(s,e.getContext(a),o)),o}function fz(n,i,e,t,o={canDeactivateChecks:[],canActivateChecks:[]}){let r=n.value,a=i?i.value:null,s=e?e.getContext(n.value.outlet):null;if(a&&r.routeConfig===a.routeConfig){let l=gz(a,r,r.routeConfig.runGuardsAndResolvers);l?o.canActivateChecks.push(new qp(t)):(r.data=a.data,r._resolvedData=a._resolvedData),r.component?Zc(n,i,s?s.children:null,t,o):Zc(n,i,e,t,o),l&&s&&s.outlet&&s.outlet.isActivated&&o.canDeactivateChecks.push(new hl(s.outlet.component,a))}else a&&td(i,s,o),o.canActivateChecks.push(new qp(t)),r.component?Zc(n,null,s?s.children:null,t,o):Zc(n,null,e,t,o);return o}function gz(n,i,e){if(typeof e=="function")return e(n,i);switch(e){case"pathParamsChange":return!os(n.url,i.url);case"pathParamsOrQueryParamsChange":return!os(n.url,i.url)||!Xo(n.queryParams,i.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!E0(n,i)||!Xo(n.queryParams,i.queryParams);case"paramsChange":default:return!E0(n,i)}}function td(n,i,e){let t=ul(n),o=n.value;Object.entries(t).forEach(([r,a])=>{o.component?i?td(a,i.children.getContext(r),e):td(a,null,e):td(a,i,e)}),o.component?i&&i.outlet&&i.outlet.isActivated?e.canDeactivateChecks.push(new hl(i.outlet.component,o)):e.canDeactivateChecks.push(new hl(null,o)):e.canDeactivateChecks.push(new hl(null,o))}function pd(n){return typeof n=="function"}function _z(n){return typeof n=="boolean"}function vz(n){return n&&pd(n.canLoad)}function bz(n){return n&&pd(n.canActivate)}function yz(n){return n&&pd(n.canActivateChild)}function wz(n){return n&&pd(n.canDeactivate)}function Cz(n){return n&&pd(n.canMatch)}function jI(n){return n instanceof bo||n?.name==="EmptyError"}var Op=Symbol("INITIAL_VALUE");function bl(){return Tt(n=>Pi(n.map(i=>i.pipe(Rt(1),Et(Op)))).pipe(le(i=>{for(let e of i)if(e!==!0){if(e===Op)return Op;if(e===!1||xz(e))return e}return!0}),je(i=>i!==Op),Rt(1)))}function xz(n){return rs(n)||n instanceof ad}function Dz(n,i){return un(e=>{let{targetSnapshot:t,currentSnapshot:o,guards:{canActivateChecks:r,canDeactivateChecks:a}}=e;return a.length===0&&r.length===0?ie(Qe(L({},e),{guardsResult:!0})):Sz(a,t,o,n).pipe(un(s=>s&&_z(s)?Ez(t,r,n,i):ie(s)),le(s=>Qe(L({},e),{guardsResult:s})))})}function Sz(n,i,e,t){return Kt(n).pipe(un(o=>Az(o.component,o.route,e,i,t)),zo(o=>o!==!0,!0))}function Ez(n,i,e,t){return Kt(i).pipe(dr(o=>Bo(Iz(o.route.parent,t),Mz(o.route,t),kz(n,o.path,e),Tz(n,o.route,e))),zo(o=>o!==!0,!0))}function Mz(n,i){return n!==null&&i&&i(new w0(n)),ie(!0)}function Iz(n,i){return n!==null&&i&&i(new b0(n)),ie(!0)}function Tz(n,i,e){let t=i.routeConfig?i.routeConfig.canActivate:null;if(!t||t.length===0)return ie(!0);let o=t.map(r=>Xi(()=>{let a=ud(i)??e,s=yl(r,a),l=bz(s)?s.canActivate(i,n):Ci(a,()=>s(i,n));return ma(l).pipe(zo())}));return ie(o).pipe(bl())}function kz(n,i,e){let t=i[i.length-1],r=i.slice(0,i.length-1).reverse().map(a=>hz(a)).filter(a=>a!==null).map(a=>Xi(()=>{let s=a.guards.map(l=>{let m=ud(a.node)??e,g=yl(l,m),v=yz(g)?g.canActivateChild(t,n):Ci(m,()=>g(t,n));return ma(v).pipe(zo())});return ie(s).pipe(bl())}));return ie(r).pipe(bl())}function Az(n,i,e,t,o){let r=i&&i.routeConfig?i.routeConfig.canDeactivate:null;if(!r||r.length===0)return ie(!0);let a=r.map(s=>{let l=ud(i)??o,m=yl(s,l),g=wz(m)?m.canDeactivate(n,i,e,t):Ci(l,()=>m(n,i,e,t));return ma(g).pipe(zo())});return ie(a).pipe(bl())}function Rz(n,i,e,t){let o=i.canLoad;if(o===void 0||o.length===0)return ie(!0);let r=o.map(a=>{let s=yl(a,n),l=vz(s)?s.canLoad(i,e):Ci(n,()=>s(i,e));return ma(l)});return ie(r).pipe(bl(),zI(t))}function zI(n){return Xg(Ht(i=>{if(typeof i!="boolean")throw $p(n,i)}),le(i=>i===!0))}function Oz(n,i,e,t){let o=i.canMatch;if(!o||o.length===0)return ie(!0);let r=o.map(a=>{let s=yl(a,n),l=Cz(s)?s.canMatch(i,e):Ci(n,()=>s(i,e));return ma(l)});return ie(r).pipe(bl(),zI(t))}var sd=class{segmentGroup;constructor(i){this.segmentGroup=i||null}},ld=class extends Error{urlTree;constructor(i){super(),this.urlTree=i}};function dl(n){return Vo(new sd(n))}function Pz(n){return Vo(new K(4e3,!1))}function Fz(n){return Vo(VI(!1,zi.GuardRejected))}var T0=class{urlSerializer;urlTree;constructor(i,e){this.urlSerializer=i,this.urlTree=e}lineralizeSegments(i,e){let t=[],o=e.root;for(;;){if(t=t.concat(o.segments),o.numberOfChildren===0)return ie(t);if(o.numberOfChildren>1||!o.children[dt])return Pz(`${i.redirectTo}`);o=o.children[dt]}}applyRedirectCommands(i,e,t,o,r){if(typeof e!="string"){let s=e,{queryParams:l,fragment:m,routeConfig:g,url:v,outlet:D,params:S,data:I,title:A}=o,Y=Ci(r,()=>s({params:S,data:I,queryParams:l,fragment:m,routeConfig:g,url:v,outlet:D,title:A}));if(Y instanceof Ar)throw new ld(Y);e=Y}let a=this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),i,t);if(e[0]==="/")throw new ld(a);return a}applyRedirectCreateUrlTree(i,e,t,o){let r=this.createSegmentGroup(i,e.root,t,o);return new Ar(r,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(i,e){let t={};return Object.entries(i).forEach(([o,r])=>{if(typeof r=="string"&&r[0]===":"){let s=r.substring(1);t[o]=e[s]}else t[o]=r}),t}createSegmentGroup(i,e,t,o){let r=this.createSegments(i,e.segments,t,o),a={};return Object.entries(e.children).forEach(([s,l])=>{a[s]=this.createSegmentGroup(i,l,t,o)}),new Bt(r,a)}createSegments(i,e,t,o){return e.map(r=>r.path[0]===":"?this.findPosParam(i,r,o):this.findOrReturn(r,t))}findPosParam(i,e,t){let o=t[e.path.substring(1)];if(!o)throw new K(4001,!1);return o}findOrReturn(i,e){let t=0;for(let o of e){if(o.path===i.path)return e.splice(t),o;t++}return i}},k0={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Nz(n,i,e,t,o){let r=UI(n,i,e);return r.matched?(t=oz(i,t),Oz(t,i,e,o).pipe(le(a=>a===!0?r:L({},k0)))):ie(r)}function UI(n,i,e){if(i.path==="**")return Lz(e);if(i.path==="")return i.pathMatch==="full"&&(n.hasChildren()||e.length>0)?L({},k0):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let o=(i.matcher||Rj)(e,n,i);if(!o)return L({},k0);let r={};Object.entries(o.posParams??{}).forEach(([s,l])=>{r[s]=l.path});let a=o.consumed.length>0?L(L({},r),o.consumed[o.consumed.length-1].parameters):r;return{matched:!0,consumedSegments:o.consumed,remainingSegments:e.slice(o.consumed.length),parameters:a,positionalParamSegments:o.posParams??{}}}function Lz(n){return{matched:!0,parameters:n.length>0?wI(n).parameters:{},consumedSegments:n,remainingSegments:[],positionalParamSegments:{}}}function fI(n,i,e,t){return e.length>0&&jz(n,e,t)?{segmentGroup:new Bt(i,Bz(t,new Bt(e,n.children))),slicedSegments:[]}:e.length===0&&zz(n,e,t)?{segmentGroup:new Bt(n.segments,Vz(n,e,t,n.children)),slicedSegments:e}:{segmentGroup:new Bt(n.segments,n.children),slicedSegments:e}}function Vz(n,i,e,t){let o={};for(let r of e)if(Zp(n,i,r)&&!t[To(r)]){let a=new Bt([],{});o[To(r)]=a}return L(L({},t),o)}function Bz(n,i){let e={};e[dt]=i;for(let t of n)if(t.path===""&&To(t)!==dt){let o=new Bt([],{});e[To(t)]=o}return e}function jz(n,i,e){return e.some(t=>Zp(n,i,t)&&To(t)!==dt)}function zz(n,i,e){return e.some(t=>Zp(n,i,t))}function Zp(n,i,e){return(n.hasChildren()||i.length>0)&&e.pathMatch==="full"?!1:e.path===""}function Uz(n,i,e){return i.length===0&&!n.children[e]}var A0=class{};function Hz(n,i,e,t,o,r,a="emptyOnly"){return new R0(n,i,e,t,o,a,r).recognize()}var Wz=31,R0=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(i,e,t,o,r,a,s){this.injector=i,this.configLoader=e,this.rootComponentType=t,this.config=o,this.urlTree=r,this.paramsInheritanceStrategy=a,this.urlSerializer=s,this.applyRedirects=new T0(this.urlSerializer,this.urlTree)}noMatchError(i){return new K(4002,`'${i.segmentGroup}'`)}recognize(){let i=fI(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(i).pipe(le(({children:e,rootSnapshot:t})=>{let o=new ji(t,e),r=new Gp("",o),a=Zj(t,[],this.urlTree.queryParams,this.urlTree.fragment);return a.queryParams=this.urlTree.queryParams,r.url=this.urlSerializer.serialize(a),{state:r,tree:a}}))}match(i){let e=new pl([],Object.freeze({}),Object.freeze(L({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),dt,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,i,dt,e).pipe(le(t=>({children:t,rootSnapshot:e})),Yn(t=>{if(t instanceof ld)return this.urlTree=t.urlTree,this.match(t.urlTree.root);throw t instanceof sd?this.noMatchError(t):t}))}processSegmentGroup(i,e,t,o,r){return t.segments.length===0&&t.hasChildren()?this.processChildren(i,e,t,r):this.processSegment(i,e,t,t.segments,o,!0,r).pipe(le(a=>a instanceof ji?[a]:[]))}processChildren(i,e,t,o){let r=[];for(let a of Object.keys(t.children))a==="primary"?r.unshift(a):r.push(a);return Kt(r).pipe(dr(a=>{let s=t.children[a],l=rz(e,a);return this.processSegmentGroup(i,l,s,a,o)}),d_((a,s)=>(a.push(...s),a)),qr(null),c_(),un(a=>{if(a===null)return dl(t);let s=HI(a);return Gz(s),ie(s)}))}processSegment(i,e,t,o,r,a,s){return Kt(e).pipe(dr(l=>this.processSegmentAgainstRoute(l._injector??i,e,l,t,o,r,a,s).pipe(Yn(m=>{if(m instanceof sd)return ie(null);throw m}))),zo(l=>!!l),Yn(l=>{if(jI(l))return Uz(t,o,r)?ie(new A0):dl(t);throw l}))}processSegmentAgainstRoute(i,e,t,o,r,a,s,l){return To(t)!==a&&(a===dt||!Zp(o,r,t))?dl(o):t.redirectTo===void 0?this.matchSegmentAgainstRoute(i,o,t,r,a,l):this.allowRedirects&&s?this.expandSegmentAgainstRouteUsingRedirect(i,o,e,t,r,a,l):dl(o)}expandSegmentAgainstRouteUsingRedirect(i,e,t,o,r,a,s){let{matched:l,parameters:m,consumedSegments:g,positionalParamSegments:v,remainingSegments:D}=UI(e,o,r);if(!l)return dl(e);typeof o.redirectTo=="string"&&o.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>Wz&&(this.allowRedirects=!1));let S=new pl(r,m,Object.freeze(L({},this.urlTree.queryParams)),this.urlTree.fragment,gI(o),To(o),o.component??o._loadedComponent??null,o,_I(o)),I=Wp(S,s,this.paramsInheritanceStrategy);S.params=Object.freeze(I.params),S.data=Object.freeze(I.data);let A=this.applyRedirects.applyRedirectCommands(g,o.redirectTo,v,S,i);return this.applyRedirects.lineralizeSegments(o,A).pipe(un(Y=>this.processSegment(i,t,e,Y.concat(D),a,!1,s)))}matchSegmentAgainstRoute(i,e,t,o,r,a){let s=Nz(e,t,o,i,this.urlSerializer);return t.path==="**"&&(e.children={}),s.pipe(Tt(l=>l.matched?(i=t._injector??i,this.getChildConfig(i,t,o).pipe(Tt(({routes:m})=>{let g=t._loadedInjector??i,{parameters:v,consumedSegments:D,remainingSegments:S}=l,I=new pl(D,v,Object.freeze(L({},this.urlTree.queryParams)),this.urlTree.fragment,gI(t),To(t),t.component??t._loadedComponent??null,t,_I(t)),A=Wp(I,a,this.paramsInheritanceStrategy);I.params=Object.freeze(A.params),I.data=Object.freeze(A.data);let{segmentGroup:Y,slicedSegments:V}=fI(e,D,S,m);if(V.length===0&&Y.hasChildren())return this.processChildren(g,m,Y,I).pipe(le(Ve=>new ji(I,Ve)));if(m.length===0&&V.length===0)return ie(new ji(I,[]));let he=To(t)===r;return this.processSegment(g,m,Y,V,he?dt:r,!0,I).pipe(le(Ve=>new ji(I,Ve instanceof ji?[Ve]:[])))}))):dl(e)))}getChildConfig(i,e,t){return e.children?ie({routes:e.children,injector:i}):e.loadChildren?e._loadedRoutes!==void 0?ie({routes:e._loadedRoutes,injector:e._loadedInjector}):Rz(i,e,t,this.urlSerializer).pipe(un(o=>o?this.configLoader.loadChildren(i,e).pipe(Ht(r=>{e._loadedRoutes=r.routes,e._loadedInjector=r.injector})):Fz(e))):ie({routes:[],injector:i})}};function Gz(n){n.sort((i,e)=>i.value.outlet===dt?-1:e.value.outlet===dt?1:i.value.outlet.localeCompare(e.value.outlet))}function $z(n){let i=n.value.routeConfig;return i&&i.path===""}function HI(n){let i=[],e=new Set;for(let t of n){if(!$z(t)){i.push(t);continue}let o=i.find(r=>t.value.routeConfig===r.value.routeConfig);o!==void 0?(o.children.push(...t.children),e.add(o)):i.push(t)}for(let t of e){let o=HI(t.children);i.push(new ji(t.value,o))}return i.filter(t=>!e.has(t))}function gI(n){return n.data||{}}function _I(n){return n.resolve||{}}function qz(n,i,e,t,o,r){return un(a=>Hz(n,i,e,t,a.extractedUrl,o,r).pipe(le(({state:s,tree:l})=>Qe(L({},a),{targetSnapshot:s,urlAfterRedirects:l}))))}function Yz(n,i){return un(e=>{let{targetSnapshot:t,guards:{canActivateChecks:o}}=e;if(!o.length)return ie(e);let r=new Set(o.map(l=>l.route)),a=new Set;for(let l of r)if(!a.has(l))for(let m of WI(l))a.add(m);let s=0;return Kt(a).pipe(dr(l=>r.has(l)?Qz(l,t,n,i):(l.data=Wp(l,l.parent,n).resolve,ie(void 0))),Ht(()=>s++),Vs(1),un(l=>s===a.size?ie(e):kn))})}function WI(n){let i=n.children.map(e=>WI(e)).flat();return[n,...i]}function Qz(n,i,e,t){let o=n.routeConfig,r=n._resolve;return o?.title!==void 0&&!NI(o)&&(r[cd]=o.title),Kz(r,n,i,t).pipe(le(a=>(n._resolvedData=a,n.data=Wp(n,n.parent,e).resolve,null)))}function Kz(n,i,e,t){let o=c0(n);if(o.length===0)return ie({});let r={};return Kt(o).pipe(un(a=>Zz(n[a],i,e,t).pipe(zo(),Ht(s=>{if(s instanceof ad)throw $p(new gl,s);r[a]=s}))),Vs(1),dc(r),Yn(a=>jI(a)?kn:Vo(a)))}function Zz(n,i,e,t){let o=ud(i)??t,r=yl(n,o),a=r.resolve?r.resolve(i,e):Ci(o,()=>r(i,e));return ma(a)}function s0(n){return Tt(i=>{let e=n(i);return e?Kt(e).pipe(le(()=>i)):ie(i)})}var GI=(()=>{class n{buildTitle(e){let t,o=e.root;for(;o!==void 0;)t=this.getResolvedTitleForRoute(o)??t,o=o.children.find(r=>r.outlet===dt);return t}getResolvedTitleForRoute(e){return e.data[cd]}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:()=>h(Xz),providedIn:"root"})}return n})(),Xz=(()=>{class n extends GI{title;constructor(e){super(),this.title=e}updateTitle(e){let t=this.buildTitle(e);t!==void 0&&this.title.setTitle(t)}static \u0275fac=function(t){return new(t||n)(oe(cI))};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),hd=new R("",{providedIn:"root",factory:()=>({})}),Jz=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["ng-component"]],decls:1,vars:0,template:function(t,o){t&1&&M(0,"router-outlet")},dependencies:[F0],encapsulation:2})}return n})();function N0(n){let i=n.children&&n.children.map(N0),e=i?Qe(L({},n),{children:i}):L({},n);return!e.component&&!e.loadComponent&&(i||e.loadChildren)&&e.outlet&&e.outlet!==dt&&(e.component=Jz),e}var Yp=new R(""),L0=(()=>{class n{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=h(hp);loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return ie(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);let t=ma(e.loadComponent()).pipe(le($I),Ht(r=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=r}),jo(()=>{this.componentLoaders.delete(e)})),o=new Wr(t,()=>new j).pipe(As());return this.componentLoaders.set(e,o),o}loadChildren(e,t){if(this.childrenLoaders.get(t))return this.childrenLoaders.get(t);if(t._loadedRoutes)return ie({routes:t._loadedRoutes,injector:t._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(t);let r=e4(t,this.compiler,e,this.onLoadEndListener).pipe(jo(()=>{this.childrenLoaders.delete(t)})),a=new Wr(r,()=>new j).pipe(As());return this.childrenLoaders.set(t,a),a}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function e4(n,i,e,t){return ma(n.loadChildren()).pipe(le($I),un(o=>o instanceof Cc||Array.isArray(o)?ie(o):Kt(i.compileModuleAsync(o))),le(o=>{t&&t(n);let r,a,s=!1;return Array.isArray(o)?(a=o,s=!0):(r=o.create(e).injector,a=r.get(Yp,[],{optional:!0,self:!0}).flat()),{routes:a.map(N0),injector:r}}))}function t4(n){return n&&typeof n=="object"&&"default"in n}function $I(n){return t4(n)?n.default:n}var V0=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:()=>h(n4),providedIn:"root"})}return n})(),n4=(()=>{class n{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,t){return e}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),qI=new R(""),YI=new R("");function i4(n,i,e){let t=n.get(YI),o=n.get(de);return n.get(te).runOutsideAngular(()=>{if(!o.startViewTransition||t.skipNextTransition)return t.skipNextTransition=!1,new Promise(m=>setTimeout(m));let r,a=new Promise(m=>{r=m}),s=o.startViewTransition(()=>(r(),o4(n))),{onViewTransitionCreated:l}=t;return l&&Ci(n,()=>l({transition:s,from:i,to:e})),a})}function o4(n){return new Promise(i=>{nn({read:()=>setTimeout(i)},{injector:n})})}var QI=new R(""),B0=(()=>{class n{currentNavigation=null;currentTransition=null;lastSuccessfulNavigation=null;events=new j;transitionAbortSubject=new j;configLoader=h(L0);environmentInjector=h(An);urlSerializer=h(dd);rootContexts=h(md);location=h(sa);inputBindingEnabled=h(Kp,{optional:!0})!==null;titleStrategy=h(GI);options=h(hd,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=h(V0);createViewTransition=h(qI,{optional:!0});navigationErrorHandler=h(QI,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>ie(void 0);rootComponentType=null;constructor(){let e=o=>this.events.next(new _0(o)),t=o=>this.events.next(new v0(o));this.configLoader.onLoadEndListener=t,this.configLoader.onLoadStartListener=e}complete(){this.transitions?.complete()}handleNavigationRequest(e){let t=++this.navigationId;this.transitions?.next(Qe(L(L({},this.transitions.value),e),{id:t}))}setupNavigations(e,t,o){return this.transitions=new Gt({id:0,currentUrlTree:t,currentRawUrl:t,extractedUrl:this.urlHandlingStrategy.extract(t),urlAfterRedirects:this.urlHandlingStrategy.extract(t),rawUrl:t,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:ed,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(je(r=>r.id!==0),le(r=>Qe(L({},r),{extractedUrl:this.urlHandlingStrategy.extract(r.rawUrl)})),Tt(r=>{let a=!1,s=!1;return ie(r).pipe(Tt(l=>{if(this.navigationId>r.id)return this.cancelNavigationTransition(r,"",zi.SupersededByNewNavigation),kn;this.currentTransition=r,this.currentNavigation={id:l.id,initialUrl:l.rawUrl,extractedUrl:l.extractedUrl,targetBrowserUrl:typeof l.extras.browserUrl=="string"?this.urlSerializer.parse(l.extras.browserUrl):l.extras.browserUrl,trigger:l.source,extras:l.extras,previousNavigation:this.lastSuccessfulNavigation?Qe(L({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let m=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),g=l.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!m&&g!=="reload"){let v="";return this.events.next(new ua(l.id,this.urlSerializer.serialize(l.rawUrl),v,Bp.IgnoredSameUrlNavigation)),l.resolve(!1),kn}if(this.urlHandlingStrategy.shouldProcessUrl(l.rawUrl))return ie(l).pipe(Tt(v=>{let D=this.transitions?.getValue();return this.events.next(new _l(v.id,this.urlSerializer.serialize(v.extractedUrl),v.source,v.restoredState)),D!==this.transitions?.getValue()?kn:Promise.resolve(v)}),qz(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy),Ht(v=>{r.targetSnapshot=v.targetSnapshot,r.urlAfterRedirects=v.urlAfterRedirects,this.currentNavigation=Qe(L({},this.currentNavigation),{finalUrl:v.urlAfterRedirects});let D=new jp(v.id,this.urlSerializer.serialize(v.extractedUrl),this.urlSerializer.serialize(v.urlAfterRedirects),v.targetSnapshot);this.events.next(D)}));if(m&&this.urlHandlingStrategy.shouldProcessUrl(l.currentRawUrl)){let{id:v,extractedUrl:D,source:S,restoredState:I,extras:A}=l,Y=new _l(v,this.urlSerializer.serialize(D),S,I);this.events.next(Y);let V=PI(this.rootComponentType).snapshot;return this.currentTransition=r=Qe(L({},l),{targetSnapshot:V,urlAfterRedirects:D,extras:Qe(L({},A),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=D,ie(r)}else{let v="";return this.events.next(new ua(l.id,this.urlSerializer.serialize(l.extractedUrl),v,Bp.IgnoredByUrlHandlingStrategy)),l.resolve(!1),kn}}),Ht(l=>{let m=new p0(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(m)}),le(l=>(this.currentTransition=r=Qe(L({},l),{guards:pz(l.targetSnapshot,l.currentSnapshot,this.rootContexts)}),r)),Dz(this.environmentInjector,l=>this.events.next(l)),Ht(l=>{if(r.guardsResult=l.guardsResult,l.guardsResult&&typeof l.guardsResult!="boolean")throw $p(this.urlSerializer,l.guardsResult);let m=new h0(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot,!!l.guardsResult);this.events.next(m)}),je(l=>l.guardsResult?!0:(this.cancelNavigationTransition(l,"",zi.GuardRejected),!1)),s0(l=>{if(l.guards.canActivateChecks.length)return ie(l).pipe(Ht(m=>{let g=new f0(m.id,this.urlSerializer.serialize(m.extractedUrl),this.urlSerializer.serialize(m.urlAfterRedirects),m.targetSnapshot);this.events.next(g)}),Tt(m=>{let g=!1;return ie(m).pipe(Yz(this.paramsInheritanceStrategy,this.environmentInjector),Ht({next:()=>g=!0,complete:()=>{g||this.cancelNavigationTransition(m,"",zi.NoDataFromResolver)}}))}),Ht(m=>{let g=new g0(m.id,this.urlSerializer.serialize(m.extractedUrl),this.urlSerializer.serialize(m.urlAfterRedirects),m.targetSnapshot);this.events.next(g)}))}),s0(l=>{let m=g=>{let v=[];g.routeConfig?.loadComponent&&!g.routeConfig._loadedComponent&&v.push(this.configLoader.loadComponent(g.routeConfig).pipe(Ht(D=>{g.component=D}),le(()=>{})));for(let D of g.children)v.push(...m(D));return v};return Pi(m(l.targetSnapshot.root)).pipe(qr(null),Rt(1))}),s0(()=>this.afterPreactivation()),Tt(()=>{let{currentSnapshot:l,targetSnapshot:m}=r,g=this.createViewTransition?.(this.environmentInjector,l.root,m.root);return g?Kt(g).pipe(le(()=>r)):ie(r)}),le(l=>{let m=lz(e.routeReuseStrategy,l.targetSnapshot,l.currentRouterState);return this.currentTransition=r=Qe(L({},l),{targetRouterState:m}),this.currentNavigation.targetRouterState=m,r}),Ht(()=>{this.events.next(new od)}),mz(this.rootContexts,e.routeReuseStrategy,l=>this.events.next(l),this.inputBindingEnabled),Rt(1),Ht({next:l=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Jo(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects))),this.titleStrategy?.updateTitle(l.targetRouterState.snapshot),l.resolve(!0)},complete:()=>{a=!0}}),pe(this.transitionAbortSubject.pipe(Ht(l=>{throw l}))),jo(()=>{!a&&!s&&this.cancelNavigationTransition(r,"",zi.SupersededByNewNavigation),this.currentTransition?.id===r.id&&(this.currentNavigation=null,this.currentTransition=null)}),Yn(l=>{if(s=!0,BI(l))this.events.next(new kr(r.id,this.urlSerializer.serialize(r.extractedUrl),l.message,l.cancellationCode)),uz(l)?this.events.next(new vl(l.url,l.navigationBehaviorOptions)):r.resolve(!1);else{let m=new id(r.id,this.urlSerializer.serialize(r.extractedUrl),l,r.targetSnapshot??void 0);try{let g=Ci(this.environmentInjector,()=>this.navigationErrorHandler?.(m));if(g instanceof ad){let{message:v,cancellationCode:D}=$p(this.urlSerializer,g);this.events.next(new kr(r.id,this.urlSerializer.serialize(r.extractedUrl),v,D)),this.events.next(new vl(g.redirectTo,g.navigationBehaviorOptions))}else throw this.events.next(m),l}catch(g){this.options.resolveNavigationPromiseOnError?r.resolve(!1):r.reject(g)}}return kn}))}))}cancelNavigationTransition(e,t,o){let r=new kr(e.id,this.urlSerializer.serialize(e.extractedUrl),t,o);this.events.next(r),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let e=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),t=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return e.toString()!==t?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function r4(n){return n!==ed}var a4=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:()=>h(s4),providedIn:"root"})}return n})(),O0=class{shouldDetach(i){return!1}store(i,e){}shouldAttach(i){return!1}retrieve(i){return null}shouldReuseRoute(i,e){return i.routeConfig===e.routeConfig}},s4=(()=>{class n extends O0{static \u0275fac=(()=>{let e;return function(o){return(e||(e=at(n)))(o||n)}})();static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),KI=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:()=>h(l4),providedIn:"root"})}return n})(),l4=(()=>{class n extends KI{location=h(sa);urlSerializer=h(dd);options=h(hd,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";urlHandlingStrategy=h(V0);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new Ar;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}routerState=PI(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(t=>{t.type==="popstate"&&e(t.url,t.state)})}handleRouterEvent(e,t){if(e instanceof _l)this.stateMemento=this.createStateMemento();else if(e instanceof ua)this.rawUrlTree=t.initialUrl;else if(e instanceof jp){if(this.urlUpdateStrategy==="eager"&&!t.extras.skipLocationChange){let o=this.urlHandlingStrategy.merge(t.finalUrl,t.initialUrl);this.setBrowserUrl(t.targetBrowserUrl??o,t)}}else e instanceof od?(this.currentUrlTree=t.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(t.finalUrl,t.initialUrl),this.routerState=t.targetRouterState,this.urlUpdateStrategy==="deferred"&&!t.extras.skipLocationChange&&this.setBrowserUrl(t.targetBrowserUrl??this.rawUrlTree,t)):e instanceof kr&&(e.code===zi.GuardRejected||e.code===zi.NoDataFromResolver)?this.restoreHistory(t):e instanceof id?this.restoreHistory(t,!0):e instanceof Jo&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,t){let o=e instanceof Ar?this.urlSerializer.serialize(e):e;if(this.location.isCurrentPathEqualTo(o)||t.extras.replaceUrl){let r=this.browserPageId,a=L(L({},t.extras.state),this.generateNgRouterState(t.id,r));this.location.replaceState(o,"",a)}else{let r=L(L({},t.extras.state),this.generateNgRouterState(t.id,this.browserPageId+1));this.location.go(o,"",r)}}restoreHistory(e,t=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,r=this.currentPageId-o;r!==0?this.location.historyGo(r):this.currentUrlTree===e.finalUrl&&r===0&&(this.resetState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(t&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,t){return this.canceledNavigationResolution==="computed"?{navigationId:e,\u0275routerPageId:t}:{navigationId:e}}static \u0275fac=(()=>{let e;return function(o){return(e||(e=at(n)))(o||n)}})();static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Xc=function(n){return n[n.COMPLETE=0]="COMPLETE",n[n.FAILED=1]="FAILED",n[n.REDIRECTING=2]="REDIRECTING",n}(Xc||{});function ZI(n,i){n.events.pipe(je(e=>e instanceof Jo||e instanceof kr||e instanceof id||e instanceof ua),le(e=>e instanceof Jo||e instanceof ua?Xc.COMPLETE:(e instanceof kr?e.code===zi.Redirect||e.code===zi.SupersededByNewNavigation:!1)?Xc.REDIRECTING:Xc.FAILED),je(e=>e!==Xc.REDIRECTING),Rt(1)).subscribe(()=>{i()})}var c4={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},d4={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},er=(()=>{class n{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=h(cp);stateManager=h(KI);options=h(hd,{optional:!0})||{};pendingTasks=h(Yo);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=h(B0);urlSerializer=h(dd);location=h(sa);urlHandlingStrategy=h(V0);_events=new j;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=h(a4);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=h(Yp,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!h(Kp,{optional:!0});constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:e=>{this.console.warn(e)}}),this.subscribeToNavigationEvents()}eventsSubscription=new ge;subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(t=>{try{let o=this.navigationTransitions.currentTransition,r=this.navigationTransitions.currentNavigation;if(o!==null&&r!==null){if(this.stateManager.handleRouterEvent(t,r),t instanceof kr&&t.code!==zi.Redirect&&t.code!==zi.SupersededByNewNavigation)this.navigated=!0;else if(t instanceof Jo)this.navigated=!0;else if(t instanceof vl){let a=t.navigationBehaviorOptions,s=this.urlHandlingStrategy.merge(t.url,o.currentRawUrl),l=L({browserUrl:o.extras.browserUrl,info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||r4(o.source)},a);this.scheduleNavigation(s,ed,null,l,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}m4(t)&&this._events.next(t)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),ed,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,t)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(e,"popstate",t)},0)})}navigateToSyncWithBrowser(e,t,o){let r={replaceUrl:!0},a=o?.navigationId?o:null;if(o){let l=L({},o);delete l.navigationId,delete l.\u0275routerPageId,Object.keys(l).length!==0&&(r.state=l)}let s=this.parseUrl(e);this.scheduleNavigation(s,t,a,r)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(N0),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(e,t={}){let{relativeTo:o,queryParams:r,fragment:a,queryParamsHandling:s,preserveFragment:l}=t,m=l?this.currentUrlTree.fragment:a,g=null;switch(s??this.options.defaultQueryParamsHandling){case"merge":g=L(L({},this.currentUrlTree.queryParams),r);break;case"preserve":g=this.currentUrlTree.queryParams;break;default:g=r||null}g!==null&&(g=this.removeEmptyProps(g));let v;try{let D=o?o.snapshot:this.routerState.snapshot.root;v=kI(D)}catch{(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),v=this.currentUrlTree.root}return AI(v,e,g,m??null)}navigateByUrl(e,t={skipLocationChange:!1}){let o=rs(e)?e:this.parseUrl(e),r=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(r,ed,null,t)}navigate(e,t={skipLocationChange:!1}){return u4(e),this.navigateByUrl(this.createUrlTree(e,t),t)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch{return this.urlSerializer.parse("/")}}isActive(e,t){let o;if(t===!0?o=L({},c4):t===!1?o=L({},d4):o=t,rs(e))return dI(this.currentUrlTree,e,o);let r=this.parseUrl(e);return dI(this.currentUrlTree,r,o)}removeEmptyProps(e){return Object.entries(e).reduce((t,[o,r])=>(r!=null&&(t[o]=r),t),{})}scheduleNavigation(e,t,o,r,a){if(this.disposed)return Promise.resolve(!1);let s,l,m;a?(s=a.resolve,l=a.reject,m=a.promise):m=new Promise((v,D)=>{s=v,l=D});let g=this.pendingTasks.add();return ZI(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(g))}),this.navigationTransitions.handleNavigationRequest({source:t,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:r,resolve:s,reject:l,promise:m,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),m.catch(v=>Promise.reject(v))}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function u4(n){for(let i=0;i{class n{router;route;tabIndexAttribute;renderer;el;locationStrategy;href=null;target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;isAnchorElement;subscription;onChanges=new j;constructor(e,t,o,r,a,s){this.router=e,this.route=t,this.tabIndexAttribute=o,this.renderer=r,this.el=a,this.locationStrategy=s;let l=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=l==="a"||l==="area",this.isAnchorElement?this.subscription=e.events.subscribe(m=>{m instanceof Jo&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}routerLinkInput=null;set routerLink(e){e==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(rs(e)?this.routerLinkInput=e:this.routerLinkInput=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0"))}onClick(e,t,o,r,a){let s=this.urlTree;if(s===null||this.isAnchorElement&&(e!==0||t||o||r||a||typeof this.target=="string"&&this.target!="_self"))return!0;let l={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(s,l),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let e=this.urlTree;this.href=e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e)):null;let t=this.href===null?null:HS(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",t)}applyAttributeValue(e,t){let o=this.renderer,r=this.el.nativeElement;t!==null?o.setAttribute(r,e,t):o.removeAttribute(r,e)}get urlTree(){return this.routerLinkInput===null?null:rs(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static \u0275fac=function(t){return new(t||n)(C(er),C(Re),Zm("tabindex"),C(xr),C(Q),C(Tr))};static \u0275dir=N({type:n,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(t,o){t&1&&b("click",function(a){return o.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),t&2&&ee("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",G],skipLocationChange:[2,"skipLocationChange","skipLocationChange",G],replaceUrl:[2,"replaceUrl","replaceUrl",G],routerLink:"routerLink"},features:[ce,Ze]})}return n})();var Qp=class{};var p4=(()=>{class n{router;injector;preloadingStrategy;loader;subscription;constructor(e,t,o,r,a){this.router=e,this.injector=o,this.preloadingStrategy=r,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(je(e=>e instanceof Jo),dr(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,t){let o=[];for(let r of t){r.providers&&!r._injector&&(r._injector=lp(r.providers,e,`Route: ${r.path}`));let a=r._injector??e,s=r._loadedInjector??a;(r.loadChildren&&!r._loadedRoutes&&r.canLoad===void 0||r.loadComponent&&!r._loadedComponent)&&o.push(this.preloadConfig(a,r)),(r.children||r._loadedRoutes)&&o.push(this.processRoutes(s,r.children??r._loadedRoutes))}return Kt(o).pipe($r())}preloadConfig(e,t){return this.preloadingStrategy.preload(t,()=>{let o;t.loadChildren&&t.canLoad===void 0?o=this.loader.loadChildren(e,t):o=ie(null);let r=o.pipe(un(a=>a===null?ie(void 0):(t._loadedRoutes=a.routes,t._loadedInjector=a.injector,this.processRoutes(a.injector??e,a.routes))));if(t.loadComponent&&!t._loadedComponent){let a=this.loader.loadComponent(t);return Kt([r,a]).pipe($r())}else return r})}static \u0275fac=function(t){return new(t||n)(oe(er),oe(hp),oe(An),oe(Qp),oe(L0))};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),XI=new R(""),h4=(()=>{class n{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource="imperative";restoredId=0;store={};constructor(e,t,o,r,a={}){this.urlSerializer=e,this.transitions=t,this.viewportScroller=o,this.zone=r,this.options=a,a.scrollPositionRestoration||="disabled",a.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof _l?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof Jo?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof ua&&e.code===Bp.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof zp&&(e.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(e.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,t){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new zp(e,this.lastSource==="popstate"?this.store[this.restoredId]:null,t))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(t){op()};static \u0275prov=P({token:n,factory:n.\u0275fac})}return n})();function f4(n){return n.routerState.root}function fd(n,i){return{\u0275kind:n,\u0275providers:i}}function g4(){let n=h(Ae);return i=>{let e=n.get(fi);if(i!==e.components[0])return;let t=n.get(er),o=n.get(JI);n.get(j0)===1&&t.initialNavigation(),n.get(e1,null,ht.Optional)?.setUpPreloading(),n.get(XI,null,ht.Optional)?.init(),t.resetRootComponentType(e.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var JI=new R("",{factory:()=>new j}),j0=new R("",{providedIn:"root",factory:()=>1});function _4(){return fd(2,[{provide:j0,useValue:0},{provide:mp,multi:!0,deps:[Ae],useFactory:i=>{let e=i.get(kM,Promise.resolve());return()=>e.then(()=>new Promise(t=>{let o=i.get(er),r=i.get(JI);ZI(o,()=>{t(!0)}),i.get(B0).afterPreactivation=()=>(t(!0),r.closed?ie(void 0):r),o.initialNavigation()}))}}])}function v4(){return fd(3,[{provide:mp,multi:!0,useFactory:()=>{let i=h(er);return()=>{i.setUpLocationChangeListener()}}},{provide:j0,useValue:2}])}var e1=new R("");function b4(n){return fd(0,[{provide:e1,useExisting:p4},{provide:Qp,useExisting:n}])}function y4(){return fd(8,[hI,{provide:Kp,useExisting:hI}])}function w4(n){let i=[{provide:qI,useValue:i4},{provide:YI,useValue:L({skipNextTransition:!!n?.skipInitialTransition},n)}];return fd(9,i)}var vI=new R("ROUTER_FORROOT_GUARD"),C4=[sa,{provide:dd,useClass:gl},er,md,{provide:Re,useFactory:f4,deps:[er]},L0,[]],z0=(()=>{class n{constructor(e){}static forRoot(e,t){return{ngModule:n,providers:[C4,[],{provide:Yp,multi:!0,useValue:e},{provide:vI,useFactory:E4,deps:[[er,new Bi,new So]]},t?.errorHandler?{provide:QI,useValue:t.errorHandler}:[],{provide:hd,useValue:t||{}},t?.useHash?D4():S4(),x4(),t?.preloadingStrategy?b4(t.preloadingStrategy).\u0275providers:[],t?.initialNavigation?M4(t):[],t?.bindToComponentInputs?y4().\u0275providers:[],t?.enableViewTransitions?w4().\u0275providers:[],I4()]}}static forChild(e){return{ngModule:n,providers:[{provide:Yp,multi:!0,useValue:e}]}}static \u0275fac=function(t){return new(t||n)(oe(vI,8))};static \u0275mod=J({type:n});static \u0275inj=X({})}return n})();function x4(){return{provide:XI,useFactory:()=>{let n=h(LM),i=h(te),e=h(hd),t=h(B0),o=h(dd);return e.scrollOffset&&n.setOffset(e.scrollOffset),new h4(o,t,n,i,e)}}}function D4(){return{provide:Tr,useClass:RM}}function S4(){return{provide:Tr,useClass:jb}}function E4(n){return"guarded"}function M4(n){return[n.initialNavigation==="disabled"?v4().\u0275providers:[],n.initialNavigation==="enabledBlocking"?_4().\u0275providers:[]]}var bI=new R("");function I4(){return[{provide:bI,useFactory:g4},{provide:pp,multi:!0,useExisting:bI}]}var Xp=class{constructor(i){this.user=i.user,this.role=i.role,this.admin=i.admin}get isStaff(){return this.role==="staff"||this.role==="admin"}get isAdmin(){return this.role==="admin"}get isLogged(){return this.user!=null}};function oo(n){return n!=null&&`${n}`!="false"}function tr(n,i=0){return U0(n)?Number(n):arguments.length===2?i:0}function U0(n){return!isNaN(parseFloat(n))&&!isNaN(Number(n))}function wl(n){return Array.isArray(n)?n:[n]}function xn(n){return n==null?"":typeof n=="string"?n:`${n}px`}function Mi(n){return n instanceof Q?n.nativeElement:n}function t1(n,i=/\s+/){let e=[];if(n!=null){let t=Array.isArray(n)?n:`${n}`.split(i);for(let o of t){let r=`${o}`.trim();r&&e.push(r)}}return e}var W0;try{W0=typeof Intl<"u"&&Intl.v8BreakIterator}catch{W0=!1}var rt=(()=>{class n{_platformId=h(Eo);isBrowser=this._platformId?Ub(this._platformId):typeof document=="object"&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!!(window.chrome||W0)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var Cl,n1=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function G0(){if(Cl)return Cl;if(typeof document!="object"||!document)return Cl=new Set(n1),Cl;let n=document.createElement("input");return Cl=new Set(n1.filter(i=>(n.setAttribute("type",i),n.type===i))),Cl}var gd;function T4(){if(gd==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>gd=!0}))}finally{gd=gd||!1}return gd}function Wn(n){return T4()?n:!!n.capture}var ko=function(n){return n[n.NORMAL=0]="NORMAL",n[n.NEGATED=1]="NEGATED",n[n.INVERTED=2]="INVERTED",n}(ko||{}),Jp,as;function eh(){if(as==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return as=!1,as;if("scrollBehavior"in document.documentElement.style)as=!0;else{let n=Element.prototype.scrollTo;n?as=!/\{\s*\[native code\]\s*\}/.test(n.toString()):as=!1}}return as}function xl(){if(typeof document!="object"||!document)return ko.NORMAL;if(Jp==null){let n=document.createElement("div"),i=n.style;n.dir="rtl",i.width="1px",i.overflow="auto",i.visibility="hidden",i.pointerEvents="none",i.position="absolute";let e=document.createElement("div"),t=e.style;t.width="2px",t.height="1px",n.appendChild(e),document.body.appendChild(n),Jp=ko.NORMAL,n.scrollLeft===0&&(n.scrollLeft=1,Jp=n.scrollLeft===0?ko.NEGATED:ko.INVERTED),n.remove()}return Jp}var H0;function k4(){if(H0==null){let n=typeof document<"u"?document.head:null;H0=!!(n&&(n.createShadowRoot||n.attachShadow))}return H0}function i1(n){if(k4()){let i=n.getRootNode?n.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&i instanceof ShadowRoot)return i}return null}function pa(){let n=typeof document<"u"&&document?document.activeElement:null;for(;n&&n.shadowRoot;){let i=n.shadowRoot.activeElement;if(i===n)break;n=i}return n}function gi(n){return n.composedPath?n.composedPath()[0]:n.target}function $0(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var A4=new R("cdk-dir-doc",{providedIn:"root",factory:R4});function R4(){return h(de)}var O4=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function P4(n){let i=n?.toLowerCase()||"";return i==="auto"&&typeof navigator<"u"&&navigator?.language?O4.test(navigator.language)?"rtl":"ltr":i==="rtl"?"rtl":"ltr"}var jt=(()=>{class n{value="ltr";change=new T;constructor(){let e=h(A4,{optional:!0});if(e){let t=e.body?e.body.dir:null,o=e.documentElement?e.documentElement.dir:null;this.value=P4(t||o||"ltr")}}ngOnDestroy(){this.change.complete()}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var ha=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({})}return n})();var th=class{};function nh(n){return n&&typeof n.connect=="function"&&!(n instanceof Wr)}var Dl=function(n){return n[n.REPLACED=0]="REPLACED",n[n.INSERTED=1]="INSERTED",n[n.MOVED=2]="MOVED",n[n.REMOVED=3]="REMOVED",n}(Dl||{}),_d=new R("_ViewRepeater"),Sl=class{applyChanges(i,e,t,o,r){i.forEachOperation((a,s,l)=>{let m,g;if(a.previousIndex==null){let v=t(a,s,l);m=e.createEmbeddedView(v.templateRef,v.context,v.index),g=Dl.INSERTED}else l==null?(e.remove(s),g=Dl.REMOVED):(m=e.get(s),e.move(m,l),g=Dl.MOVED);r&&r({context:m?.context,operation:g,record:a})})}detach(){}};var Rr=class{_multiple;_emitChanges;compareWith;_selection=new Set;_deselectedToEmit=[];_selectedToEmit=[];_selected;get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}changed=new j;constructor(i=!1,e,t=!0,o){this._multiple=i,this._emitChanges=t,this.compareWith=o,e&&e.length&&(i?e.forEach(r=>this._markSelected(r)):this._markSelected(e[0]),this._selectedToEmit.length=0)}select(...i){this._verifyValueAssignment(i),i.forEach(t=>this._markSelected(t));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}deselect(...i){this._verifyValueAssignment(i),i.forEach(t=>this._unmarkSelected(t));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}setSelection(...i){this._verifyValueAssignment(i);let e=this.selected,t=new Set(i);i.forEach(r=>this._markSelected(r)),e.filter(r=>!t.has(this._getConcreteValue(r,t))).forEach(r=>this._unmarkSelected(r));let o=this._hasQueuedChanges();return this._emitChangeEvent(),o}toggle(i){return this.isSelected(i)?this.deselect(i):this.select(i)}clear(i=!0){this._unmarkAll();let e=this._hasQueuedChanges();return i&&this._emitChangeEvent(),e}isSelected(i){return this._selection.has(this._getConcreteValue(i))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(i){this._multiple&&this.selected&&this._selected.sort(i)}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(i){i=this._getConcreteValue(i),this.isSelected(i)||(this._multiple||this._unmarkAll(),this.isSelected(i)||this._selection.add(i),this._emitChanges&&this._selectedToEmit.push(i))}_unmarkSelected(i){i=this._getConcreteValue(i),this.isSelected(i)&&(this._selection.delete(i),this._emitChanges&&this._deselectedToEmit.push(i))}_unmarkAll(){this.isEmpty()||this._selection.forEach(i=>this._unmarkSelected(i))}_verifyValueAssignment(i){i.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(i,e){if(this.compareWith){e=e??this._selection;for(let t of e)if(this.compareWith(i,t))return t;return i}else return i}};var F4=20,El=(()=>{class n{_ngZone=h(te);_platform=h(rt);_document=h(de,{optional:!0});constructor(){}_scrolled=new j;_globalSubscription=null;_scrolledCount=0;scrollContainers=new Map;register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){let t=this.scrollContainers.get(e);t&&(t.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=F4){return this._platform.isBrowser?new Fe(t=>{this._globalSubscription||this._addGlobalListener();let o=e>0?this._scrolled.pipe(Vu(e)).subscribe(t):this._scrolled.subscribe(t);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):ie()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,t)=>this.deregister(t)),this._scrolled.complete()}ancestorScrolled(e,t){let o=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe(je(r=>!r||o.indexOf(r)>-1))}getAncestorScrollContainers(e){let t=[];return this.scrollContainers.forEach((o,r)=>{this._scrollableContainsElement(r,e)&&t.push(r)}),t}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,t){let o=Mi(t),r=e.getElementRef().nativeElement;do if(o==r)return!0;while(o=o.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{let e=this._getWindow();return mi(e.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),vd=(()=>{class n{elementRef=h(Q);scrollDispatcher=h(El);ngZone=h(te);dir=h(jt,{optional:!0});_destroyed=new j;_elementScrolled=new Fe(e=>this.ngZone.runOutsideAngular(()=>mi(this.elementRef.nativeElement,"scroll").pipe(pe(this._destroyed)).subscribe(e)));constructor(){}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(e){let t=this.elementRef.nativeElement,o=this.dir&&this.dir.value=="rtl";e.left==null&&(e.left=o?e.end:e.start),e.right==null&&(e.right=o?e.start:e.end),e.bottom!=null&&(e.top=t.scrollHeight-t.clientHeight-e.bottom),o&&xl()!=ko.NORMAL?(e.left!=null&&(e.right=t.scrollWidth-t.clientWidth-e.left),xl()==ko.INVERTED?e.left=e.right:xl()==ko.NEGATED&&(e.left=e.right?-e.right:e.right)):e.right!=null&&(e.left=t.scrollWidth-t.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){let t=this.elementRef.nativeElement;eh()?t.scrollTo(e):(e.top!=null&&(t.scrollTop=e.top),e.left!=null&&(t.scrollLeft=e.left))}measureScrollOffset(e){let t="left",o="right",r=this.elementRef.nativeElement;if(e=="top")return r.scrollTop;if(e=="bottom")return r.scrollHeight-r.clientHeight-r.scrollTop;let a=this.dir&&this.dir.value=="rtl";return e=="start"?e=a?o:t:e=="end"&&(e=a?t:o),a&&xl()==ko.INVERTED?e==t?r.scrollWidth-r.clientWidth-r.scrollLeft:r.scrollLeft:a&&xl()==ko.NEGATED?e==t?r.scrollLeft+r.scrollWidth-r.clientWidth:-r.scrollLeft:e==t?r.scrollLeft:r.scrollWidth-r.clientWidth-r.scrollLeft}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]})}return n})(),N4=20,Ii=(()=>{class n{_platform=h(rt);_viewportSize;_change=new j;_changeListener=e=>{this._change.next(e)};_document=h(de,{optional:!0});constructor(){h(te).runOutsideAngular(()=>{if(this._platform.isBrowser){let t=this._getWindow();t.addEventListener("resize",this._changeListener),t.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){let e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){let e=this.getViewportScrollPosition(),{width:t,height:o}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+o,right:e.left+t,height:o,width:t}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let e=this._document,t=this._getWindow(),o=e.documentElement,r=o.getBoundingClientRect(),a=-r.top||e.body.scrollTop||t.scrollY||o.scrollTop||0,s=-r.left||e.body.scrollLeft||t.scrollX||o.scrollLeft||0;return{top:a,left:s}}change(e=N4){return e>0?this._change.pipe(Vu(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var ro=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({})}return n})(),bd=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({imports:[ha,ro,ha,ro]})}return n})();var yd=class{_attachedHost;attach(i){return this._attachedHost=i,i.attach(this)}detach(){let i=this._attachedHost;i!=null&&(this._attachedHost=null,i.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(i){this._attachedHost=i}},Ti=class extends yd{component;viewContainerRef;injector;componentFactoryResolver;projectableNodes;constructor(i,e,t,o,r){super(),this.component=i,this.viewContainerRef=e,this.injector=t,this.projectableNodes=r}},On=class extends yd{templateRef;viewContainerRef;context;injector;constructor(i,e,t,o){super(),this.templateRef=i,this.viewContainerRef=e,this.context=t,this.injector=o}get origin(){return this.templateRef.elementRef}attach(i,e=this.context){return this.context=e,super.attach(i)}detach(){return this.context=void 0,super.detach()}},q0=class extends yd{element;constructor(i){super(),this.element=i instanceof Q?i.nativeElement:i}},fa=class{_attachedPortal;_disposeFn;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(i){if(i instanceof Ti)return this._attachedPortal=i,this.attachComponentPortal(i);if(i instanceof On)return this._attachedPortal=i,this.attachTemplatePortal(i);if(this.attachDomPortal&&i instanceof q0)return this._attachedPortal=i,this.attachDomPortal(i)}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(i){this._disposeFn=i}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}};var Ml=class extends fa{outletElement;_appRef;_defaultInjector;_document;constructor(i,e,t,o,r){super(),this.outletElement=i,this._appRef=t,this._defaultInjector=o,this._document=r}attachComponentPortal(i){let e;if(i.viewContainerRef){let t=i.injector||i.viewContainerRef.injector,o=t.get(Do,null,{optional:!0})||void 0;e=i.viewContainerRef.createComponent(i.component,{index:i.viewContainerRef.length,injector:t,ngModuleRef:o,projectableNodes:i.projectableNodes||void 0}),this.setDisposeFn(()=>e.destroy())}else e=gp(i.component,{elementInjector:i.injector||this._defaultInjector||Ae.NULL,environmentInjector:this._appRef.injector,projectableNodes:i.projectableNodes||void 0}),this._appRef.attachView(e.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(e.hostView),e.destroy()});return this.outletElement.appendChild(this._getComponentRootNode(e)),this._attachedPortal=i,e}attachTemplatePortal(i){let e=i.viewContainerRef,t=e.createEmbeddedView(i.templateRef,i.context,{injector:i.injector});return t.rootNodes.forEach(o=>this.outletElement.appendChild(o)),t.detectChanges(),this.setDisposeFn(()=>{let o=e.indexOf(t);o!==-1&&e.remove(o)}),this._attachedPortal=i,t}attachDomPortal=i=>{let e=i.element;e.parentNode;let t=this._document.createComment("dom-portal");e.parentNode.insertBefore(t,e),this.outletElement.appendChild(e),this._attachedPortal=i,super.setDisposeFn(()=>{t.parentNode&&t.parentNode.replaceChild(e,t)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(i){return i.hostView.rootNodes[0]}};var r1=(()=>{class n extends On{constructor(){let e=h(wt),t=h(kt);super(e,t)}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[_e]})}return n})();var si=(()=>{class n extends fa{_moduleRef=h(Do,{optional:!0});_document=h(de);_viewContainerRef=h(kt);_isInitialized=!1;_attachedRef;constructor(){super()}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}attached=new T;get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);let t=e.viewContainerRef!=null?e.viewContainerRef:this._viewContainerRef,o=t.createComponent(e.component,{index:t.length,injector:e.injector||t.injector,projectableNodes:e.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0});return t!==this._viewContainerRef&&this._getRootNode().appendChild(o.hostView.rootNodes[0]),super.setDisposeFn(()=>o.destroy()),this._attachedPortal=e,this._attachedRef=o,this.attached.emit(o),o}attachTemplatePortal(e){e.setAttachedHost(this);let t=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=t,this.attached.emit(t),t}attachDomPortal=e=>{let t=e.element;t.parentNode;let o=this._document.createComment("dom-portal");e.setAttachedHost(this),t.parentNode.insertBefore(o,t),this._getRootNode().appendChild(t),this._attachedPortal=e,super.setDisposeFn(()=>{o.parentNode&&o.parentNode.replaceChild(t,o)})};_getRootNode(){let e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[_e]})}return n})();var Ui=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({})}return n})();var ih=new WeakMap,Mt=(()=>{class n{_appRef;_injector=h(Ae);_environmentInjector=h(An);load(e){let t=this._appRef=this._appRef||this._injector.get(fi),o=ih.get(t);o||(o={loaders:new Set,refs:[]},ih.set(t,o),t.onDestroy(()=>{ih.get(t)?.refs.forEach(r=>r.destroy()),ih.delete(t)})),o.loaders.has(e)||(o.loaders.add(e),o.refs.push(gp(e,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Ao=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(t,o){},styles:[".cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}"],encapsulation:2,changeDetection:0})}return n})();function Ot(n,...i){return i.length?i.some(e=>n[e]):n.altKey||n.shiftKey||n.ctrlKey||n.metaKey}function L4(n){if(n.type==="characterData"&&n.target instanceof Comment)return!0;if(n.type==="childList"){for(let i=0;i{class n{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),s1=(()=>{class n{_mutationObserverFactory=h(a1);_observedElements=new Map;_ngZone=h(te);constructor(){}ngOnDestroy(){this._observedElements.forEach((e,t)=>this._cleanupObserver(t))}observe(e){let t=Mi(e);return new Fe(o=>{let a=this._observeElement(t).pipe(le(s=>s.filter(l=>!L4(l))),je(s=>!!s.length)).subscribe(s=>{this._ngZone.run(()=>{o.next(s)})});return()=>{a.unsubscribe(),this._unobserveElement(t)}})}_observeElement(e){return this._ngZone.runOutsideAngular(()=>{if(this._observedElements.has(e))this._observedElements.get(e).count++;else{let t=new j,o=this._mutationObserverFactory.create(r=>t.next(r));o&&o.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:o,stream:t,count:1})}return this._observedElements.get(e).stream})}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){let{observer:t,stream:o}=this._observedElements.get(e);t&&t.disconnect(),o.complete(),this._observedElements.delete(e)}}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),l1=(()=>{class n{_contentObserver=h(s1);_elementRef=h(Q);event=new T;get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._disabled?this._unsubscribe():this._subscribe()}_disabled=!1;get debounce(){return this._debounce}set debounce(e){this._debounce=tr(e),this._subscribe()}_debounce;_currentSubscription=null;constructor(){}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();let e=this._contentObserver.observe(this._elementRef);this._currentSubscription=(this.debounce?e.pipe(ur(this.debounce)):e).subscribe(this.event)}_unsubscribe(){this._currentSubscription?.unsubscribe()}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",G],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"],features:[ce]})}return n})(),oh=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({providers:[a1]})}return n})();var c1=new Set,ss,V4=(()=>{class n{_platform=h(rt);_nonce=h(Tc,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):j4}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&B4(e,this._nonce),this._matchMedia(e)}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function B4(n,i){if(!c1.has(n))try{ss||(ss=document.createElement("style"),i&&ss.setAttribute("nonce",i),ss.setAttribute("type","text/css"),document.head.appendChild(ss)),ss.sheet&&(ss.sheet.insertRule(`@media ${n} {body{ }}`,0),c1.add(n))}catch(e){console.error(e)}}function j4(n){return{matches:n==="all"||n==="",media:n,addListener:()=>{},removeListener:()=>{}}}var Il=(()=>{class n{_mediaMatcher=h(V4);_zone=h(te);_queries=new Map;_destroySubject=new j;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return d1(wl(e)).some(o=>this._registerQuery(o).mql.matches)}observe(e){let o=d1(wl(e)).map(a=>this._registerQuery(a).observable),r=Pi(o);return r=Bo(r.pipe(Rt(1)),r.pipe(ja(1),ur(0))),r.pipe(le(a=>{let s={matches:!1,breakpoints:{}};return a.forEach(({matches:l,query:m})=>{s.matches=s.matches||l,s.breakpoints[m]=l}),s}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);let t=this._mediaMatcher.matchMedia(e),r={observable:new Fe(a=>{let s=l=>this._zone.run(()=>a.next(l));return t.addListener(s),()=>{t.removeListener(s)}}).pipe(Et(t),le(({matches:a})=>({query:e,matches:a})),pe(this._destroySubject)),mql:t};return this._queries.set(e,r),r}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function d1(n){return n.map(i=>i.split(",")).reduce((i,e)=>i.concat(e)).map(i=>i.trim())}var rh={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"};var f1=" ";function Ol(n,i,e){let t=ch(n,i);e=e.trim(),!t.some(o=>o.trim()===e)&&(t.push(e),n.setAttribute(i,t.join(f1)))}function _a(n,i,e){let t=ch(n,i);e=e.trim();let o=t.filter(r=>r!==e);o.length?n.setAttribute(i,o.join(f1)):n.removeAttribute(i)}function ch(n,i){return n.getAttribute(i)?.match(/\S+/g)??[]}var g1="cdk-describedby-message",ah="cdk-describedby-host",Z0=0,uh=(()=>{class n{_platform=h(rt);_document=h(de);_messageRegistry=new Map;_messagesContainer=null;_id=`${Z0++}`;constructor(){h(Mt).load(Ao),this._id=h(il)+"-"+Z0++}describe(e,t,o){if(!this._canBeDescribed(e,t))return;let r=Y0(t,o);typeof t!="string"?(u1(t,this._id),this._messageRegistry.set(r,{messageElement:t,referenceCount:0})):this._messageRegistry.has(r)||this._createMessageElement(t,o),this._isElementDescribedByMessage(e,r)||this._addMessageReference(e,r)}removeDescription(e,t,o){if(!t||!this._isElementNode(e))return;let r=Y0(t,o);if(this._isElementDescribedByMessage(e,r)&&this._removeMessageReference(e,r),typeof t=="string"){let a=this._messageRegistry.get(r);a&&a.referenceCount===0&&this._deleteMessageElement(r)}this._messagesContainer?.childNodes.length===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){let e=this._document.querySelectorAll(`[${ah}="${this._id}"]`);for(let t=0;to.indexOf(g1)!=0);e.setAttribute("aria-describedby",t.join(" "))}_addMessageReference(e,t){let o=this._messageRegistry.get(t);Ol(e,"aria-describedby",o.messageElement.id),e.setAttribute(ah,this._id),o.referenceCount++}_removeMessageReference(e,t){let o=this._messageRegistry.get(t);o.referenceCount--,_a(e,"aria-describedby",o.messageElement.id),e.removeAttribute(ah)}_isElementDescribedByMessage(e,t){let o=ch(e,"aria-describedby"),r=this._messageRegistry.get(t),a=r&&r.messageElement.id;return!!a&&o.indexOf(a)!=-1}_canBeDescribed(e,t){if(!this._isElementNode(e))return!1;if(t&&typeof t=="object")return!0;let o=t==null?"":`${t}`.trim(),r=e.getAttribute("aria-label");return o?!r||r.trim()!==o:!1}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function Y0(n,i){return typeof n=="string"?`${i||""}/${n}`:n}function u1(n,i){n.id||(n.id=`${g1}-${i}-${Z0++}`)}var Q4=200,X0=class{_letterKeyStream=new j;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new j;selectedItem=this._selectedItem;constructor(i,e){let t=typeof e?.debounceInterval=="number"?e.debounceInterval:Q4;e?.skipPredicate&&(this._skipPredicateFn=e.skipPredicate),this.setItems(i),this._setupKeyHandler(t)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(i){this._selectedItemIndex=i}setItems(i){this._items=i}handleKey(i){let e=i.keyCode;i.key&&i.key.length===1?this._letterKeyStream.next(i.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(i){this._letterKeyStream.pipe(Ht(e=>this._pressedLetters.push(e)),ur(i),je(()=>this._pressedLetters.length>0),le(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(e=>{for(let t=1;ti.disabled;constructor(i,e){this._items=i,i instanceof Ji?this._itemChangesSubscription=i.changes.subscribe(t=>this._itemsChanged(t.toArray())):oa(i)&&(this._effectRef=jc(()=>this._itemsChanged(i()),{injector:e}))}tabOut=new j;change=new j;skipPredicate(i){return this._skipPredicateFn=i,this}withWrap(i=!0){return this._wrap=i,this}withVerticalOrientation(i=!0){return this._vertical=i,this}withHorizontalOrientation(i){return this._horizontal=i,this}withAllowedModifierKeys(i){return this._allowedModifierKeys=i,this}withTypeAhead(i=200){this._typeaheadSubscription.unsubscribe();let e=this._getItemsArray();return this._typeahead=new X0(e,{debounceInterval:typeof i=="number"?i:void 0,skipPredicate:t=>this._skipPredicateFn(t)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(t=>{this.setActiveItem(t)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(i=!0){return this._homeAndEnd=i,this}withPageUpDown(i=!0,e=10){return this._pageUpAndDown={enabled:i,delta:e},this}setActiveItem(i){let e=this._activeItem();this.updateActiveItem(i),this._activeItem()!==e&&this.change.next(this._activeItemIndex)}onKeydown(i){let e=i.keyCode,o=["altKey","ctrlKey","metaKey","shiftKey"].every(r=>!i[r]||this._allowedModifierKeys.indexOf(r)>-1);switch(e){case 9:this.tabOut.next();return;case 40:if(this._vertical&&o){this.setNextItemActive();break}else return;case 38:if(this._vertical&&o){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&o){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&o){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&o){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&o){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&o){let r=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(r>0?r:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&o){let r=this._activeItemIndex+this._pageUpAndDown.delta,a=this._getItemsArray().length;this._setActiveItemByIndex(r-1&&t!==this._activeItemIndex&&(this._activeItemIndex=t,this._typeahead?.setCurrentSelectedItemIndex(t))}}},kl=class extends dh{setActiveItem(i){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(i),this.activeItem&&this.activeItem.setActiveStyles()}},ga=class extends dh{_origin="program";setFocusOrigin(i){return this._origin=i,this}setActiveItem(i){super.setActiveItem(i),this.activeItem&&this.activeItem.focus(this._origin)}};var ty=(()=>{class n{_platform=h(rt);constructor(){}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return Z4(e)&&getComputedStyle(e).visibility==="visible"}isTabbable(e){if(!this._platform.isBrowser)return!1;let t=K4(rU(e));if(t&&(m1(t)===-1||!this.isVisible(t)))return!1;let o=e.nodeName.toLowerCase(),r=m1(e);return e.hasAttribute("contenteditable")?r!==-1:o==="iframe"||o==="object"||this._platform.WEBKIT&&this._platform.IOS&&!iU(e)?!1:o==="audio"?e.hasAttribute("controls")?r!==-1:!1:o==="video"?r===-1?!1:r!==null?!0:this._platform.FIREFOX||e.hasAttribute("controls"):e.tabIndex>=0}isFocusable(e,t){return oU(e)&&!this.isDisabled(e)&&(t?.ignoreVisibility||this.isVisible(e))}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function K4(n){try{return n.frameElement}catch{return null}}function Z4(n){return!!(n.offsetWidth||n.offsetHeight||typeof n.getClientRects=="function"&&n.getClientRects().length)}function X4(n){let i=n.nodeName.toLowerCase();return i==="input"||i==="select"||i==="button"||i==="textarea"}function J4(n){return tU(n)&&n.type=="hidden"}function eU(n){return nU(n)&&n.hasAttribute("href")}function tU(n){return n.nodeName.toLowerCase()=="input"}function nU(n){return n.nodeName.toLowerCase()=="a"}function _1(n){if(!n.hasAttribute("tabindex")||n.tabIndex===void 0)return!1;let i=n.getAttribute("tabindex");return!!(i&&!isNaN(parseInt(i,10)))}function m1(n){if(!_1(n))return null;let i=parseInt(n.getAttribute("tabindex")||"",10);return isNaN(i)?-1:i}function iU(n){let i=n.nodeName.toLowerCase(),e=i==="input"&&n.type;return e==="text"||e==="password"||i==="select"||i==="textarea"}function oU(n){return J4(n)?!1:X4(n)||eU(n)||n.hasAttribute("contenteditable")||_1(n)}function rU(n){return n.ownerDocument&&n.ownerDocument.defaultView||window}var J0=class{_element;_checker;_ngZone;_document;_injector;_startAnchor;_endAnchor;_hasAttached=!1;startAnchorListener=()=>this.focusLastTabbableElement();endAnchorListener=()=>this.focusFirstTabbableElement();get enabled(){return this._enabled}set enabled(i){this._enabled=i,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(i,this._startAnchor),this._toggleAnchorTabIndex(i,this._endAnchor))}_enabled=!0;constructor(i,e,t,o,r=!1,a){this._element=i,this._checker=e,this._ngZone=t,this._document=o,this._injector=a,r||this.attachAnchors()}destroy(){let i=this._startAnchor,e=this._endAnchor;i&&(i.removeEventListener("focus",this.startAnchorListener),i.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.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(i){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(i)))})}focusFirstTabbableElementWhenReady(i){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(i)))})}focusLastTabbableElementWhenReady(i){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(i)))})}_getRegionBoundary(i){let e=this._element.querySelectorAll(`[cdk-focus-region-${i}], [cdkFocusRegion${i}], [cdk-focus-${i}]`);return i=="start"?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(i){let e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){let t=this._getFirstTabbableElement(e);return t?.focus(i),!!t}return e.focus(i),!0}return this.focusFirstTabbableElement(i)}focusFirstTabbableElement(i){let e=this._getRegionBoundary("start");return e&&e.focus(i),!!e}focusLastTabbableElement(i){let e=this._getRegionBoundary("end");return e&&e.focus(i),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(i){if(this._checker.isFocusable(i)&&this._checker.isTabbable(i))return i;let e=i.children;for(let t=0;t=0;t--){let o=e[t].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[t]):null;if(o)return o}return null}_createAnchor(){let i=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,i),i.classList.add("cdk-visually-hidden"),i.classList.add("cdk-focus-trap-anchor"),i.setAttribute("aria-hidden","true"),i}_toggleAnchorTabIndex(i,e){i?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(i){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(i,this._startAnchor),this._toggleAnchorTabIndex(i,this._endAnchor))}_executeOnStable(i){this._injector?nn(i,{injector:this._injector}):setTimeout(i)}},ny=(()=>{class n{_checker=h(ty);_ngZone=h(te);_document=h(de);_injector=h(Ae);constructor(){h(Mt).load(Ao)}create(e,t=!1){return new J0(e,this._checker,this._ngZone,this._document,t,this._injector)}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),v1=(()=>{class n{_elementRef=h(Q);_focusTrapFactory=h(ny);focusTrap;_previouslyFocusedElement=null;get enabled(){return this.focusTrap?.enabled||!1}set enabled(e){this.focusTrap&&(this.focusTrap.enabled=e)}autoCapture;constructor(){h(rt).isBrowser&&(this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0))}ngOnDestroy(){this.focusTrap?.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap?.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap&&!this.focusTrap.hasAttached()&&this.focusTrap.attachAnchors()}ngOnChanges(e){let t=e.autoCapture;t&&!t.firstChange&&this.autoCapture&&this.focusTrap?.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=pa(),this.focusTrap?.focusInitialElementWhenReady()}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",G],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",G]},exportAs:["cdkTrapFocus"],features:[ce,Ze]})}return n})();function Cd(n){return n.buttons===0||n.detail===0}function xd(n){let i=n.touches&&n.touches[0]||n.changedTouches&&n.changedTouches[0];return!!i&&i.identifier===-1&&(i.radiusX==null||i.radiusX===1)&&(i.radiusY==null||i.radiusY===1)}var aU=new R("cdk-input-modality-detector-options"),sU={ignoreKeys:[18,17,224,91,16]},b1=650,Tl=Wn({passive:!0,capture:!0}),lU=(()=>{class n{_platform=h(rt);modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new Gt(null);_options;_lastTouchMs=0;_onKeydown=e=>{this._options?.ignoreKeys?.some(t=>t===e.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=gi(e))};_onMousedown=e=>{Date.now()-this._lastTouchMs{if(xd(e)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=gi(e)};constructor(){let e=h(te),t=h(de),o=h(aU,{optional:!0});this._options=L(L({},sU),o),this.modalityDetected=this._modality.pipe(ja(1)),this.modalityChanged=this.modalityDetected.pipe(Ls()),this._platform.isBrowser&&e.runOutsideAngular(()=>{t.addEventListener("keydown",this._onKeydown,Tl),t.addEventListener("mousedown",this._onMousedown,Tl),t.addEventListener("touchstart",this._onTouchstart,Tl)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Tl),document.removeEventListener("mousedown",this._onMousedown,Tl),document.removeEventListener("touchstart",this._onTouchstart,Tl))}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),cU=new R("liveAnnouncerElement",{providedIn:"root",factory:dU});function dU(){return null}var uU=new R("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),mU=0,mh=(()=>{class n{_ngZone=h(te);_defaultOptions=h(uU,{optional:!0});_liveElement;_document=h(de);_previousTimeout;_currentPromise;_currentResolve;constructor(){let e=h(cU,{optional:!0});this._liveElement=e||this._createLiveElement()}announce(e,...t){let o=this._defaultOptions,r,a;return t.length===1&&typeof t[0]=="number"?a=t[0]:[r,a]=t,this.clear(),clearTimeout(this._previousTimeout),r||(r=o&&o.politeness?o.politeness:"polite"),a==null&&o&&(a=o.duration),this._liveElement.setAttribute("aria-live",r),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(s=>this._currentResolve=s)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,typeof a=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),a)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let e="cdk-live-announcer-element",t=this._document.getElementsByClassName(e),o=this._document.createElement("div");for(let r=0;r .cdk-overlay-container [aria-modal="true"]');for(let o=0;o{class n{_ngZone=h(te);_platform=h(rt);_inputModalityDetector=h(lU);_origin=null;_lastFocusOrigin;_windowFocused=!1;_windowFocusTimeoutId;_originTimeoutId;_originFromTouchInteraction=!1;_elementInfo=new Map;_monitoredElementCount=0;_rootNodeFocusListenerCount=new Map;_detectionMode;_windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)};_document=h(de,{optional:!0});_stopInputModalityDetector=new j;constructor(){let e=h(pU,{optional:!0});this._detectionMode=e?.detectionMode||lh.IMMEDIATE}_rootNodeFocusAndBlurListener=e=>{let t=gi(e);for(let o=t;o;o=o.parentElement)e.type==="focus"?this._onFocus(e,o):this._onBlur(e,o)};monitor(e,t=!1){let o=Mi(e);if(!this._platform.isBrowser||o.nodeType!==1)return ie();let r=i1(o)||this._getDocument(),a=this._elementInfo.get(o);if(a)return t&&(a.checkChildren=!0),a.subject;let s={checkChildren:t,subject:new j,rootNode:r};return this._elementInfo.set(o,s),this._registerGlobalListeners(s),s.subject}stopMonitoring(e){let t=Mi(e),o=this._elementInfo.get(t);o&&(o.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._removeGlobalListeners(o))}focusVia(e,t,o){let r=Mi(e),a=this._getDocument().activeElement;r===a?this._getClosestElementsInfo(r).forEach(([s,l])=>this._originChanged(s,t,l)):(this._setOrigin(t),typeof r.focus=="function"&&r.focus(o))}ngOnDestroy(){this._elementInfo.forEach((e,t)=>this.stopMonitoring(t))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return this._detectionMode===lh.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,t){e.classList.toggle("cdk-focused",!!t),e.classList.toggle("cdk-touch-focused",t==="touch"),e.classList.toggle("cdk-keyboard-focused",t==="keyboard"),e.classList.toggle("cdk-mouse-focused",t==="mouse"),e.classList.toggle("cdk-program-focused",t==="program")}_setOrigin(e,t=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction=e==="touch"&&t,this._detectionMode===lh.IMMEDIATE){clearTimeout(this._originTimeoutId);let o=this._originFromTouchInteraction?b1:1;this._originTimeoutId=setTimeout(()=>this._origin=null,o)}})}_onFocus(e,t){let o=this._elementInfo.get(t),r=gi(e);!o||!o.checkChildren&&t!==r||this._originChanged(t,this._getFocusOrigin(r),o)}_onBlur(e,t){let o=this._elementInfo.get(t);!o||o.checkChildren&&e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||(this._setClasses(t),this._emitOrigin(o,null))}_emitOrigin(e,t){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(t))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;let t=e.rootNode,o=this._rootNodeFocusListenerCount.get(t)||0;o||this._ngZone.runOutsideAngular(()=>{t.addEventListener("focus",this._rootNodeFocusAndBlurListener,sh),t.addEventListener("blur",this._rootNodeFocusAndBlurListener,sh)}),this._rootNodeFocusListenerCount.set(t,o+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(pe(this._stopInputModalityDetector)).subscribe(r=>{this._setOrigin(r,!0)}))}_removeGlobalListeners(e){let t=e.rootNode;if(this._rootNodeFocusListenerCount.has(t)){let o=this._rootNodeFocusListenerCount.get(t);o>1?this._rootNodeFocusListenerCount.set(t,o-1):(t.removeEventListener("focus",this._rootNodeFocusAndBlurListener,sh),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,sh),this._rootNodeFocusListenerCount.delete(t))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,t,o){this._setClasses(e,t),this._emitOrigin(o,t),this._lastFocusOrigin=t}_getClosestElementsInfo(e){let t=[];return this._elementInfo.forEach((o,r)=>{(r===e||o.checkChildren&&r.contains(e))&&t.push([r,o])}),t}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:t,mostRecentModality:o}=this._inputModalityDetector;if(o!=="mouse"||!t||t===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return!1;let r=e.labels;if(r){for(let a=0;a{class n{_elementRef=h(Q);_focusMonitor=h(Pn);_monitorSubscription;_focusOrigin=null;cdkFocusChange=new T;constructor(){}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){let e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,e.nodeType===1&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(t=>{this._focusOrigin=t,this.cdkFocusChange.emit(t)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return n})(),ls=function(n){return n[n.NONE=0]="NONE",n[n.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",n[n.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",n}(ls||{}),p1="cdk-high-contrast-black-on-white",h1="cdk-high-contrast-white-on-black",Q0="cdk-high-contrast-active",iy=(()=>{class n{_platform=h(rt);_hasCheckedHighContrastMode;_document=h(de);_breakpointSubscription;constructor(){this._breakpointSubscription=h(Il).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return ls.NONE;let e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);let t=this._document.defaultView||window,o=t&&t.getComputedStyle?t.getComputedStyle(e):null,r=(o&&o.backgroundColor||"").replace(/ /g,"");switch(e.remove(),r){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return ls.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return ls.BLACK_ON_WHITE}return ls.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(Q0,p1,h1),this._hasCheckedHighContrastMode=!0;let t=this.getHighContrastMode();t===ls.BLACK_ON_WHITE?e.add(Q0,p1):t===ls.WHITE_ON_BLACK&&e.add(Q0,h1)}}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Pl=(()=>{class n{constructor(){h(iy)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({imports:[oh]})}return n})(),K0={},ft=(()=>{class n{_appId=h(il);getId(e){return this._appId!=="ng"&&(e+=this._appId),K0.hasOwnProperty(e)||(K0[e]=0),`${e}${K0[e]++}`}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var y1=eh(),oy=class{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(i,e){this._viewportRuler=i,this._document=e}attach(){}enable(){if(this._canBeEnabled()){let i=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=i.style.left||"",this._previousHTMLStyles.top=i.style.top||"",i.style.left=xn(-this._previousScrollPosition.left),i.style.top=xn(-this._previousScrollPosition.top),i.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let i=this._document.documentElement,e=this._document.body,t=i.style,o=e.style,r=t.scrollBehavior||"",a=o.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,i.classList.remove("cdk-global-scrollblock"),y1&&(t.scrollBehavior=o.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),y1&&(t.scrollBehavior=r,o.scrollBehavior=a)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let e=this._document.body,t=this._viewportRuler.getViewportSize();return e.scrollHeight>t.height||e.scrollWidth>t.width}};var ry=class{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(i,e,t,o){this._scrollDispatcher=i,this._ngZone=e,this._viewportRuler=t,this._config=o}attach(i){this._overlayRef,this._overlayRef=i}enable(){if(this._scrollSubscription)return;let i=this._scrollDispatcher.scrolled(0).pipe(je(e=>!e||!this._overlayRef.overlayElement.contains(e.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=i.subscribe(()=>{let e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=i.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}_detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}},hh=class{enable(){}disable(){}attach(){}};function ay(n,i){return i.some(e=>{let t=n.bottome.bottom,r=n.righte.right;return t||o||r||a})}function w1(n,i){return i.some(e=>{let t=n.tope.bottom,r=n.lefte.right;return t||o||r||a})}var sy=class{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(i,e,t,o){this._scrollDispatcher=i,this._viewportRuler=e,this._ngZone=t,this._config=o}attach(i){this._overlayRef,this._overlayRef=i}enable(){if(!this._scrollSubscription){let i=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(i).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:t,height:o}=this._viewportRuler.getViewportSize();ay(e,[{width:t,height:o,bottom:o,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}},hU=(()=>{class n{_scrollDispatcher=h(El);_viewportRuler=h(Ii);_ngZone=h(te);_document=h(de);constructor(){}noop=()=>new hh;close=e=>new ry(this._scrollDispatcher,this._ngZone,this._viewportRuler,e);block=()=>new oy(this._viewportRuler,this._document);reposition=e=>new sy(this._scrollDispatcher,this._viewportRuler,this._ngZone,e);static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),ki=class{positionStrategy;scrollStrategy=new hh;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;constructor(i){if(i){let e=Object.keys(i);for(let t of e)i[t]!==void 0&&(this[t]=i[t])}}};var ly=class{connectionPair;scrollableViewProperties;constructor(i,e){this.connectionPair=i,this.scrollableViewProperties=e}};var M1=(()=>{class n{_attachedOverlays=[];_document=h(de);_isAttached;constructor(){}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){let t=this._attachedOverlays.indexOf(e);t>-1&&this._attachedOverlays.splice(t,1),this._attachedOverlays.length===0&&this.detach()}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),fU=(()=>{class n extends M1{_ngZone=h(te,{optional:!0});add(e){super.add(e),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}_keydownListener=e=>{let t=this._attachedOverlays;for(let o=t.length-1;o>-1;o--)if(t[o]._keydownEvents.observers.length>0){let r=t[o]._keydownEvents;this._ngZone?this._ngZone.run(()=>r.next(e)):r.next(e);break}};static \u0275fac=(()=>{let e;return function(o){return(e||(e=at(n)))(o||n)}})();static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),gU=(()=>{class n extends M1{_platform=h(rt);_ngZone=h(te,{optional:!0});_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget;add(e){if(super.add(e),!this._isAttached){let t=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(t)):this._addEventListeners(t),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=t.style.cursor,t.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){let e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(e){e.addEventListener("pointerdown",this._pointerDownListener,!0),e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0)}_pointerDownListener=e=>{this._pointerDownEventTarget=gi(e)};_clickListener=e=>{let t=gi(e),o=e.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:t;this._pointerDownEventTarget=null;let r=this._attachedOverlays.slice();for(let a=r.length-1;a>-1;a--){let s=r[a];if(s._outsidePointerEvents.observers.length<1||!s.hasAttached())continue;if(C1(s.overlayElement,t)||C1(s.overlayElement,o))break;let l=s._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>l.next(e)):l.next(e)}};static \u0275fac=(()=>{let e;return function(o){return(e||(e=at(n)))(o||n)}})();static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function C1(n,i){let e=typeof ShadowRoot<"u"&&ShadowRoot,t=i;for(;t;){if(t===n)return!0;t=e&&t instanceof ShadowRoot?t.host:t.parentNode}return!1}var I1=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(t,o){},styles:[".cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed}@layer cdk-overlay{.cdk-overlay-container{z-index:1000}}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute}@layer cdk-overlay{.cdk-global-overlay-wrapper{z-index:1000}}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%}@layer cdk-overlay{.cdk-overlay-pane{z-index:1000}}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);opacity:0}@layer cdk-overlay{.cdk-overlay-backdrop{z-index:1000;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors: active){.cdk-overlay-backdrop-showing{opacity:.6}}@layer cdk-overlay{.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px}@layer cdk-overlay{.cdk-overlay-connected-position-bounding-box{z-index:1000}}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}"],encapsulation:2,changeDetection:0})}return n})(),fh=(()=>{class n{_platform=h(rt);_containerElement;_document=h(de);_styleLoader=h(Mt);constructor(){}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let e="cdk-overlay-container";if(this._platform.isBrowser||$0()){let o=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let r=0;rthis._backdropClick.next(i);_backdropTransitionendHandler=i=>{this._disposeBackdrop(i.target)};_previousHostParent;_keydownEvents=new j;_outsidePointerEvents=new j;_renders=new j;_afterRenderRef;_afterNextRenderRef;constructor(i,e,t,o,r,a,s,l,m,g=!1,v){this._portalOutlet=i,this._host=e,this._pane=t,this._config=o,this._ngZone=r,this._keyboardDispatcher=a,this._document=s,this._location=l,this._outsideClickDispatcher=m,this._animationsDisabled=g,this._injector=v,o.scrollStrategy&&(this._scrollStrategy=o.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=o.positionStrategy,this._afterRenderRef=Si(()=>kc(()=>{this._renders.next()},{injector:this._injector}))}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(i){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let e=this._portalOutlet.attach(i);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=nn(()=>{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 e?.onDestroy=="function"&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let i=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),i}dispose(){let i=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=null,i&&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(i){i!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=i,this.hasAttached()&&(i.attach(this),this.updatePosition()))}updateSize(i){this._config=L(L({},this._config),i),this._updateElementSize()}setDirection(i){this._config=Qe(L({},this._config),{direction:i}),this._updateElementDirection()}addPanelClass(i){this._pane&&this._toggleClasses(this._pane,i,!0)}removePanelClass(i){this._pane&&this._toggleClasses(this._pane,i,!1)}getDirection(){let i=this._config.direction;return i?typeof i=="string"?i:i.value:"ltr"}updateScrollStrategy(i){i!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=i,this.hasAttached()&&(i.attach(this),i.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let i=this._pane.style;i.width=xn(this._config.width),i.height=xn(this._config.height),i.minWidth=xn(this._config.minWidth),i.minHeight=xn(this._config.minHeight),i.maxWidth=xn(this._config.maxWidth),i.maxHeight=xn(this._config.maxHeight)}_togglePointerEvents(i){this._pane.style.pointerEvents=i?"":"none"}_attachBackdrop(){let i="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(i)})}):this._backdropElement.classList.add(i)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let i=this._backdropElement;if(i){if(this._animationsDisabled){this._disposeBackdrop(i);return}i.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{i.addEventListener("transitionend",this._backdropTransitionendHandler)}),i.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(i)},500))}}_toggleClasses(i,e,t){let o=wl(e||[]).filter(r=>!!r);o.length&&(t?i.classList.add(...o):i.classList.remove(...o))}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{let i=this._renders.pipe(pe(yt(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()),i.unsubscribe())})})}_disposeScrollStrategy(){let i=this._scrollStrategy;i&&(i.disable(),i.detach&&i.detach())}_disposeBackdrop(i){i&&(i.removeEventListener("click",this._backdropClickHandler),i.removeEventListener("transitionend",this._backdropTransitionendHandler),i.remove(),this._backdropElement===i&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}},x1="cdk-overlay-connected-position-bounding-box",_U=/([A-Za-z%]+)$/,Dd=class{_viewportRuler;_document;_platform;_overlayContainer;_overlayRef;_isInitialRender;_lastBoundingBoxSize={width:0,height:0};_isPushed=!1;_canPush=!0;_growAfterOpen=!1;_hasFlexibleDimensions=!0;_positionLocked=!1;_originRect;_overlayRect;_viewportRect;_containerRect;_viewportMargin=0;_scrollables=[];_preferredPositions=[];_origin;_pane;_isDisposed;_boundingBox;_lastPosition;_lastScrollVisibility;_positionChanges=new j;_resizeSubscription=ge.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount;positionChanges=this._positionChanges;get positions(){return this._preferredPositions}constructor(i,e,t,o,r){this._viewportRuler=e,this._document=t,this._platform=o,this._overlayContainer=r,this.setOrigin(i)}attach(i){this._overlayRef&&this._overlayRef,this._validatePositions(),i.hostElement.classList.add(x1),this._overlayRef=i,this._boundingBox=i.hostElement,this._pane=i.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 i=this._originRect,e=this._overlayRect,t=this._viewportRect,o=this._containerRect,r=[],a;for(let s of this._preferredPositions){let l=this._getOriginPoint(i,o,s),m=this._getOverlayPoint(l,e,s),g=this._getOverlayFit(m,e,t,s);if(g.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(s,l);return}if(this._canFitWithFlexibleDimensions(g,m,t)){r.push({position:s,origin:l,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(l,s)});continue}(!a||a.overlayFit.visibleAreal&&(l=g,s=m)}this._isPushed=!1,this._applyPosition(s.position,s.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(a.position,a.originPoint);return}this._applyPosition(a.position,a.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&us(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(x1),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let i=this._lastPosition;if(i){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let e=this._getOriginPoint(this._originRect,this._containerRect,i);this._applyPosition(i,e)}else this.apply()}withScrollableContainers(i){return this._scrollables=i,this}withPositions(i){return this._preferredPositions=i,i.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(i){return this._viewportMargin=i,this}withFlexibleDimensions(i=!0){return this._hasFlexibleDimensions=i,this}withGrowAfterOpen(i=!0){return this._growAfterOpen=i,this}withPush(i=!0){return this._canPush=i,this}withLockedPosition(i=!0){return this._positionLocked=i,this}setOrigin(i){return this._origin=i,this}withDefaultOffsetX(i){return this._offsetX=i,this}withDefaultOffsetY(i){return this._offsetY=i,this}withTransformOriginOn(i){return this._transformOriginSelector=i,this}_getOriginPoint(i,e,t){let o;if(t.originX=="center")o=i.left+i.width/2;else{let a=this._isRtl()?i.right:i.left,s=this._isRtl()?i.left:i.right;o=t.originX=="start"?a:s}e.left<0&&(o-=e.left);let r;return t.originY=="center"?r=i.top+i.height/2:r=t.originY=="top"?i.top:i.bottom,e.top<0&&(r-=e.top),{x:o,y:r}}_getOverlayPoint(i,e,t){let o;t.overlayX=="center"?o=-e.width/2:t.overlayX==="start"?o=this._isRtl()?-e.width:0:o=this._isRtl()?0:-e.width;let r;return t.overlayY=="center"?r=-e.height/2:r=t.overlayY=="top"?0:-e.height,{x:i.x+o,y:i.y+r}}_getOverlayFit(i,e,t,o){let r=S1(e),{x:a,y:s}=i,l=this._getOffset(o,"x"),m=this._getOffset(o,"y");l&&(a+=l),m&&(s+=m);let g=0-a,v=a+r.width-t.width,D=0-s,S=s+r.height-t.height,I=this._subtractOverflows(r.width,g,v),A=this._subtractOverflows(r.height,D,S),Y=I*A;return{visibleArea:Y,isCompletelyWithinViewport:r.width*r.height===Y,fitsInViewportVertically:A===r.height,fitsInViewportHorizontally:I==r.width}}_canFitWithFlexibleDimensions(i,e,t){if(this._hasFlexibleDimensions){let o=t.bottom-e.y,r=t.right-e.x,a=D1(this._overlayRef.getConfig().minHeight),s=D1(this._overlayRef.getConfig().minWidth),l=i.fitsInViewportVertically||a!=null&&a<=o,m=i.fitsInViewportHorizontally||s!=null&&s<=r;return l&&m}return!1}_pushOverlayOnScreen(i,e,t){if(this._previousPushAmount&&this._positionLocked)return{x:i.x+this._previousPushAmount.x,y:i.y+this._previousPushAmount.y};let o=S1(e),r=this._viewportRect,a=Math.max(i.x+o.width-r.width,0),s=Math.max(i.y+o.height-r.height,0),l=Math.max(r.top-t.top-i.y,0),m=Math.max(r.left-t.left-i.x,0),g=0,v=0;return o.width<=r.width?g=m||-a:g=i.xI&&!this._isInitialRender&&!this._growAfterOpen&&(a=i.y-I/2)}let l=e.overlayX==="start"&&!o||e.overlayX==="end"&&o,m=e.overlayX==="end"&&!o||e.overlayX==="start"&&o,g,v,D;if(m)D=t.width-i.x+this._viewportMargin*2,g=i.x-this._viewportMargin;else if(l)v=i.x,g=t.right-i.x;else{let S=Math.min(t.right-i.x+t.left,i.x),I=this._lastBoundingBoxSize.width;g=S*2,v=i.x-S,g>I&&!this._isInitialRender&&!this._growAfterOpen&&(v=i.x-I/2)}return{top:a,left:v,bottom:s,right:D,width:g,height:r}}_setBoundingBoxStyles(i,e){let t=this._calculateBoundingBoxRect(i,e);!this._isInitialRender&&!this._growAfterOpen&&(t.height=Math.min(t.height,this._lastBoundingBoxSize.height),t.width=Math.min(t.width,this._lastBoundingBoxSize.width));let o={};if(this._hasExactPosition())o.top=o.left="0",o.bottom=o.right=o.maxHeight=o.maxWidth="",o.width=o.height="100%";else{let r=this._overlayRef.getConfig().maxHeight,a=this._overlayRef.getConfig().maxWidth;o.height=xn(t.height),o.top=xn(t.top),o.bottom=xn(t.bottom),o.width=xn(t.width),o.left=xn(t.left),o.right=xn(t.right),e.overlayX==="center"?o.alignItems="center":o.alignItems=e.overlayX==="end"?"flex-end":"flex-start",e.overlayY==="center"?o.justifyContent="center":o.justifyContent=e.overlayY==="bottom"?"flex-end":"flex-start",r&&(o.maxHeight=xn(r)),a&&(o.maxWidth=xn(a))}this._lastBoundingBoxSize=t,us(this._boundingBox.style,o)}_resetBoundingBoxStyles(){us(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){us(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(i,e){let t={},o=this._hasExactPosition(),r=this._hasFlexibleDimensions,a=this._overlayRef.getConfig();if(o){let g=this._viewportRuler.getViewportScrollPosition();us(t,this._getExactOverlayY(e,i,g)),us(t,this._getExactOverlayX(e,i,g))}else t.position="static";let s="",l=this._getOffset(e,"x"),m=this._getOffset(e,"y");l&&(s+=`translateX(${l}px) `),m&&(s+=`translateY(${m}px)`),t.transform=s.trim(),a.maxHeight&&(o?t.maxHeight=xn(a.maxHeight):r&&(t.maxHeight="")),a.maxWidth&&(o?t.maxWidth=xn(a.maxWidth):r&&(t.maxWidth="")),us(this._pane.style,t)}_getExactOverlayY(i,e,t){let o={top:"",bottom:""},r=this._getOverlayPoint(e,this._overlayRect,i);if(this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,t)),i.overlayY==="bottom"){let a=this._document.documentElement.clientHeight;o.bottom=`${a-(r.y+this._overlayRect.height)}px`}else o.top=xn(r.y);return o}_getExactOverlayX(i,e,t){let o={left:"",right:""},r=this._getOverlayPoint(e,this._overlayRect,i);this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,t));let a;if(this._isRtl()?a=i.overlayX==="end"?"left":"right":a=i.overlayX==="end"?"right":"left",a==="right"){let s=this._document.documentElement.clientWidth;o.right=`${s-(r.x+this._overlayRect.width)}px`}else o.left=xn(r.x);return o}_getScrollVisibility(){let i=this._getOriginRect(),e=this._pane.getBoundingClientRect(),t=this._scrollables.map(o=>o.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:w1(i,t),isOriginOutsideView:ay(i,t),isOverlayClipped:w1(e,t),isOverlayOutsideView:ay(e,t)}}_subtractOverflows(i,...e){return e.reduce((t,o)=>t-Math.max(o,0),i)}_getNarrowedViewportRect(){let i=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,t=this._viewportRuler.getViewportScrollPosition();return{top:t.top+this._viewportMargin,left:t.left+this._viewportMargin,right:t.left+i-this._viewportMargin,bottom:t.top+e-this._viewportMargin,width:i-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(i,e){return e==="x"?i.offsetX==null?this._offsetX:i.offsetX:i.offsetY==null?this._offsetY:i.offsetY}_validatePositions(){}_addPanelClasses(i){this._pane&&wl(i).forEach(e=>{e!==""&&this._appliedPanelClasses.indexOf(e)===-1&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(i=>{this._pane.classList.remove(i)}),this._appliedPanelClasses=[])}_getOriginRect(){let i=this._origin;if(i instanceof Q)return i.nativeElement.getBoundingClientRect();if(i instanceof Element)return i.getBoundingClientRect();let e=i.width||0,t=i.height||0;return{top:i.y,bottom:i.y+t,left:i.x,right:i.x+e,height:t,width:e}}};function us(n,i){for(let e in i)i.hasOwnProperty(e)&&(n[e]=i[e]);return n}function D1(n){if(typeof n!="number"&&n!=null){let[i,e]=n.split(_U);return!e||e==="px"?parseFloat(i):null}return n||null}function S1(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 vU(n,i){return n===i?!0:n.isOriginClipped===i.isOriginClipped&&n.isOriginOutsideView===i.isOriginOutsideView&&n.isOverlayClipped===i.isOverlayClipped&&n.isOverlayOutsideView===i.isOverlayOutsideView}var E1="cdk-global-overlay-wrapper",cy=class{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(i){let e=i.getConfig();this._overlayRef=i,this._width&&!e.width&&i.updateSize({width:this._width}),this._height&&!e.height&&i.updateSize({height:this._height}),i.hostElement.classList.add(E1),this._isDisposed=!1}top(i=""){return this._bottomOffset="",this._topOffset=i,this._alignItems="flex-start",this}left(i=""){return this._xOffset=i,this._xPosition="left",this}bottom(i=""){return this._topOffset="",this._bottomOffset=i,this._alignItems="flex-end",this}right(i=""){return this._xOffset=i,this._xPosition="right",this}start(i=""){return this._xOffset=i,this._xPosition="start",this}end(i=""){return this._xOffset=i,this._xPosition="end",this}width(i=""){return this._overlayRef?this._overlayRef.updateSize({width:i}):this._width=i,this}height(i=""){return this._overlayRef?this._overlayRef.updateSize({height:i}):this._height=i,this}centerHorizontally(i=""){return this.left(i),this._xPosition="center",this}centerVertically(i=""){return this.top(i),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let i=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,t=this._overlayRef.getConfig(),{width:o,height:r,maxWidth:a,maxHeight:s}=t,l=(o==="100%"||o==="100vw")&&(!a||a==="100%"||a==="100vw"),m=(r==="100%"||r==="100vh")&&(!s||s==="100%"||s==="100vh"),g=this._xPosition,v=this._xOffset,D=this._overlayRef.getConfig().direction==="rtl",S="",I="",A="";l?A="flex-start":g==="center"?(A="center",D?I=v:S=v):D?g==="left"||g==="end"?(A="flex-end",S=v):(g==="right"||g==="start")&&(A="flex-start",I=v):g==="left"||g==="start"?(A="flex-start",S=v):(g==="right"||g==="end")&&(A="flex-end",I=v),i.position=this._cssPosition,i.marginLeft=l?"0":S,i.marginTop=m?"0":this._topOffset,i.marginBottom=this._bottomOffset,i.marginRight=l?"0":I,e.justifyContent=A,e.alignItems=m?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let i=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,t=e.style;e.classList.remove(E1),t.justifyContent=t.alignItems=i.marginTop=i.marginBottom=i.marginLeft=i.marginRight=i.position="",this._overlayRef=null,this._isDisposed=!0}},bU=(()=>{class n{_viewportRuler=h(Ii);_document=h(de);_platform=h(rt);_overlayContainer=h(fh);constructor(){}global(){return new cy}flexibleConnectedTo(e){return new Dd(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Lt=(()=>{class n{scrollStrategies=h(hU);_overlayContainer=h(fh);_positionBuilder=h(bU);_keyboardDispatcher=h(fU);_injector=h(Ae);_ngZone=h(te);_document=h(de);_directionality=h(jt);_location=h(sa);_outsideClickDispatcher=h(gU);_animationsModuleType=h($t,{optional:!0});_idGenerator=h(ft);_appRef;_styleLoader=h(Mt);constructor(){}create(e){this._styleLoader.load(I1);let t=this._createHostElement(),o=this._createPaneElement(t),r=this._createPortalOutlet(o),a=new ki(e);return a.direction=a.direction||this._directionality.value,new Fl(r,t,o,a,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations",this._injector.get(An))}position(){return this._positionBuilder}_createPaneElement(e){let t=this._document.createElement("div");return t.id=this._idGenerator.getId("cdk-overlay-"),t.classList.add("cdk-overlay-pane"),e.appendChild(t),t}_createHostElement(){let e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(fi)),new Ml(e,null,this._appRef,this._injector,this._document)}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),yU=[{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"}],T1=new R("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let n=h(Lt);return()=>n.scrollStrategies.reposition()}}),Sd=(()=>{class n{elementRef=h(Q);constructor(){}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]})}return n})(),dy=(()=>{class n{_overlay=h(Lt);_dir=h(jt,{optional:!0});_overlayRef;_templatePortal;_backdropSubscription=ge.EMPTY;_attachSubscription=ge.EMPTY;_detachSubscription=ge.EMPTY;_positionSubscription=ge.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=h(T1);_disposeOnNavigation=!1;_ngZone=h(te);origin;positions;positionStrategy;get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}width;height;minWidth;minHeight;backdropClass;panelClass;viewportMargin=0;scrollStrategy;open=!1;disableClose=!1;transformOriginSelector;hasBackdrop=!1;lockPosition=!1;flexibleDimensions=!1;growAfterOpen=!1;push=!1;get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(e){this._disposeOnNavigation=e}backdropClick=new T;positionChange=new T;attach=new T;detach=new T;overlayKeydown=new T;overlayOutsideClick=new T;constructor(){let e=h(wt),t=h(kt);this._templatePortal=new On(e,t),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(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=yU);let e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(t=>{this.overlayKeydown.next(t),t.keyCode===27&&!this.disableClose&&!Ot(t)&&(t.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(t=>{let o=this._getOriginElement(),r=gi(t);(!o||o!==r&&!o.contains(r))&&this.overlayOutsideClick.next(t)})}_buildConfig(){let e=this._position=this.positionStrategy||this._createPositionStrategy(),t=new ki({direction:this._dir||"ltr",positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||this.width===0)&&(t.width=this.width),(this.height||this.height===0)&&(t.height=this.height),(this.minWidth||this.minWidth===0)&&(t.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(t.minHeight=this.minHeight),this.backdropClass&&(t.backdropClass=this.backdropClass),this.panelClass&&(t.panelClass=this.panelClass),t}_updatePositionStrategy(e){let t=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 e.setOrigin(this._getOrigin()).withPositions(t).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){let e=this._overlay.position().flexibleConnectedTo(this._getOrigin());return this._updatePositionStrategy(e),e}_getOrigin(){return this.origin instanceof Sd?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof Sd?this.origin.elementRef.nativeElement:this.origin instanceof Q?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(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(m_(()=>this.positionChange.observers.length>0)).subscribe(e=>{this._ngZone.run(()=>this.positionChange.emit(e)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,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",G],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",G],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",G],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",G],push:[2,"cdkConnectedOverlayPush","push",G],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",G]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[ce,Ze]})}return n})();function wU(n){return()=>n.scrollStrategies.reposition()}var CU={provide:T1,deps:[Lt],useFactory:wU},ci=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({providers:[Lt,CU],imports:[ha,Ui,bd,bd]})}return n})();function xU(n,i){}var va=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;width="";height="";minWidth;minHeight;maxWidth;maxHeight;positionStrategy;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!0;autoFocus="first-tabbable";restoreFocus=!0;scrollStrategy;closeOnNavigation=!0;closeOnDestroy=!0;closeOnOverlayDetachments=!0;componentFactoryResolver;providers;container;templateContext};var my=(()=>{class n extends fa{_elementRef=h(Q);_focusTrapFactory=h(ny);_config;_interactivityChecker=h(ty);_ngZone=h(te);_overlayRef=h(Fl);_focusMonitor=h(Pn);_platform=h(rt);_document=h(de,{optional:!0});_portalOutlet;_focusTrap=null;_elementFocusedBeforeDialogWasOpened=null;_closeInteractionType=null;_ariaLabelledByQueue=[];_changeDetectorRef=h(Ee);_injector=h(Ae);_isDestroyed=!1;constructor(){super(),this._config=h(va,{optional:!0})||new va,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(e){this._ariaLabelledByQueue.push(e),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(e){let t=this._ariaLabelledByQueue.indexOf(e);t>-1&&(this._ariaLabelledByQueue.splice(t,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(e){this._portalOutlet.hasAttached();let t=this._portalOutlet.attachComponentPortal(e);return this._contentAttached(),t}attachTemplatePortal(e){this._portalOutlet.hasAttached();let t=this._portalOutlet.attachTemplatePortal(e);return this._contentAttached(),t}attachDomPortal=e=>{this._portalOutlet.hasAttached();let t=this._portalOutlet.attachDomPortal(e);return this._contentAttached(),t};_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,t){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let o=()=>{e.removeEventListener("blur",o),e.removeEventListener("mousedown",o),e.removeAttribute("tabindex")};e.addEventListener("blur",o),e.addEventListener("mousedown",o)})),e.focus(t)}_focusByCssSelector(e,t){let o=this._elementRef.nativeElement.querySelector(e);o&&this._forceFocus(o,t)}_trapFocus(){this._isDestroyed||nn(()=>{let e=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||e.focus();break;case!0:case"first-tabbable":this._focusTrap?.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 e=this._config.restoreFocus,t=null;if(typeof e=="string"?t=this._document.querySelector(e):typeof e=="boolean"?t=e?this._elementFocusedBeforeDialogWasOpened:null:e&&(t=e),this._config.restoreFocus&&t&&typeof t.focus=="function"){let o=pa(),r=this._elementRef.nativeElement;(!o||o===this._document.body||o===r||r.contains(o))&&(this._focusMonitor?(this._focusMonitor.focusVia(t,this._closeInteractionType),this._closeInteractionType=null):t.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){let e=this._elementRef.nativeElement,t=pa();return e===t||e.contains(t)}_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()})}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["cdk-dialog-container"]],viewQuery:function(t,o){if(t&1&&se(si,7),t&2){let r;$(r=q())&&(o._portalOutlet=r.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(t,o){t&2&&ee("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)},features:[_e],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,o){t&1&&x(0,xU,0,0,"ng-template",0)},dependencies:[si],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2})}return n})(),Ed=class{overlayRef;config;componentInstance;componentRef;containerInstance;disableClose;closed=new j;backdropClick;keydownEvents;outsidePointerEvents;id;_detachSubscription;constructor(i,e){this.overlayRef=i,this.config=e,this.disableClose=e.disableClose,this.backdropClick=i.backdropClick(),this.keydownEvents=i.keydownEvents(),this.outsidePointerEvents=i.outsidePointerEvents(),this.id=e.id,this.keydownEvents.subscribe(t=>{t.keyCode===27&&!this.disableClose&&!Ot(t)&&(t.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=i.detachments().subscribe(()=>{e.closeOnOverlayDetachments!==!1&&this.close()})}close(i,e){if(this.containerInstance){let t=this.closed;this.containerInstance._closeInteractionType=e?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),t.next(i),t.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(i="",e=""){return this.overlayRef.updateSize({width:i,height:e}),this}addPanelClass(i){return this.overlayRef.addPanelClass(i),this}removePanelClass(i){return this.overlayRef.removePanelClass(i),this}},DU=new R("DialogScrollStrategy",{providedIn:"root",factory:()=>{let n=h(Lt);return()=>n.scrollStrategies.block()}}),SU=new R("DialogData"),EU=new R("DefaultDialogConfig");var py=(()=>{class n{_overlay=h(Lt);_injector=h(Ae);_defaultOptions=h(EU,{optional:!0});_parentDialog=h(n,{optional:!0,skipSelf:!0});_overlayContainer=h(fh);_idGenerator=h(ft);_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new j;_afterOpenedAtThisLevel=new j;_ariaHiddenElements=new Map;_scrollStrategy=h(DU);get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}afterAllClosed=Xi(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Et(void 0)));constructor(){}open(e,t){let o=this._defaultOptions||new va;t=L(L({},o),t),t.id=t.id||this._idGenerator.getId("cdk-dialog-"),t.id&&this.getDialogById(t.id);let r=this._getOverlayConfig(t),a=this._overlay.create(r),s=new Ed(a,t),l=this._attachContainer(a,s,t);return s.containerInstance=l,this._attachDialogContent(e,s,l,t),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(s),s.closed.subscribe(()=>this._removeOpenDialog(s,!0)),this.afterOpened.next(s),s}closeAll(){uy(this.openDialogs,e=>e.close())}getDialogById(e){return this.openDialogs.find(t=>t.id===e)}ngOnDestroy(){uy(this._openDialogsAtThisLevel,e=>{e.config.closeOnDestroy===!1&&this._removeOpenDialog(e,!1)}),uy(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(e){let t=new ki({positionStrategy:e.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,width:e.width,height:e.height,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(t.backdropClass=e.backdropClass),t}_attachContainer(e,t,o){let r=o.injector||o.viewContainerRef?.injector,a=[{provide:va,useValue:o},{provide:Ed,useValue:t},{provide:Fl,useValue:e}],s;o.container?typeof o.container=="function"?s=o.container:(s=o.container.type,a.push(...o.container.providers(o))):s=my;let l=new Ti(s,o.viewContainerRef,Ae.create({parent:r||this._injector,providers:a}));return e.attach(l).instance}_attachDialogContent(e,t,o,r){if(e instanceof wt){let a=this._createInjector(r,t,o,void 0),s={$implicit:r.data,dialogRef:t};r.templateContext&&(s=L(L({},s),typeof r.templateContext=="function"?r.templateContext():r.templateContext)),o.attachTemplatePortal(new On(e,null,s,a))}else{let a=this._createInjector(r,t,o,this._injector),s=o.attachComponentPortal(new Ti(e,r.viewContainerRef,a));t.componentRef=s,t.componentInstance=s.instance}}_createInjector(e,t,o,r){let a=e.injector||e.viewContainerRef?.injector,s=[{provide:SU,useValue:e.data},{provide:Ed,useValue:t}];return e.providers&&(typeof e.providers=="function"?s.push(...e.providers(t,e,o)):s.push(...e.providers)),e.direction&&(!a||!a.get(jt,null,{optional:!0}))&&s.push({provide:jt,useValue:{value:e.direction,change:ie()}}),Ae.create({parent:a||r,providers:s})}_removeOpenDialog(e,t){let o=this.openDialogs.indexOf(e);o>-1&&(this.openDialogs.splice(o,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((r,a)=>{r?a.setAttribute("aria-hidden",r):a.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),t&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){let e=this._overlayContainer.getContainerElement();if(e.parentElement){let t=e.parentElement.children;for(let o=t.length-1;o>-1;o--){let r=t[o];r!==e&&r.nodeName!=="SCRIPT"&&r.nodeName!=="STYLE"&&!r.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(r,r.getAttribute("aria-hidden")),r.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function uy(n,i){let e=n.length;for(;e--;)i(n[e])}var k1=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({providers:[py],imports:[ci,Ui,Pl,Ui]})}return n})();var MU=["text"],IU=[[["mat-icon"]],"*"],TU=["mat-icon","*"];function kU(n,i){if(n&1&&M(0,"mat-pseudo-checkbox",1),n&2){let e=_();p("disabled",e.disabled)("state",e.selected?"checked":"unchecked")}}function AU(n,i){if(n&1&&M(0,"mat-pseudo-checkbox",3),n&2){let e=_();p("disabled",e.disabled)}}function RU(n,i){if(n&1&&(c(0,"span",4),f(1),d()),n&2){let e=_();u(),O("(",e.group.label,")")}}var OU=["mat-internal-form-field",""],PU=["*"];var V1=(()=>{class n{static STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)";static DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)";static ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)";static SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)"}return n})(),B1=(()=>{class n{static COMPLEX="375ms";static ENTERING="225ms";static EXITING="195ms"}return n})();var me=(()=>{class n{constructor(){h(iy)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({imports:[ha,ha]})}return n})(),Or=class{_defaultMatcher;ngControl;_parentFormGroup;_parentForm;_stateChanges;errorState=!1;matcher;constructor(i,e,t,o,r){this._defaultMatcher=i,this.ngControl=e,this._parentFormGroup=t,this._parentForm=o,this._stateChanges=r}updateErrorState(){let i=this.errorState,e=this._parentFormGroup||this._parentForm,t=this.matcher||this._defaultMatcher,o=this.ngControl?this.ngControl.control:null,r=t?.isErrorState(o,e)??!1;r!==i&&(this.errorState=r,this._stateChanges.next())}},_h=new R("MAT_DATE_LOCALE",{providedIn:"root",factory:FU});function FU(){return h(Bc)}var Nl="Method not implemented",$n=class{locale;_localeChanges=new j;localeChanges=this._localeChanges;setTime(i,e,t,o){throw new Error(Nl)}getHours(i){throw new Error(Nl)}getMinutes(i){throw new Error(Nl)}getSeconds(i){throw new Error(Nl)}parseTime(i,e){throw new Error(Nl)}addSeconds(i,e){throw new Error(Nl)}getValidDateOrNull(i){return this.isDateInstance(i)&&this.isValid(i)?i:null}deserialize(i){return i==null||this.isDateInstance(i)&&this.isValid(i)?i:this.invalid()}setLocale(i){this.locale=i,this._localeChanges.next()}compareDate(i,e){return this.getYear(i)-this.getYear(e)||this.getMonth(i)-this.getMonth(e)||this.getDate(i)-this.getDate(e)}compareTime(i,e){return this.getHours(i)-this.getHours(e)||this.getMinutes(i)-this.getMinutes(e)||this.getSeconds(i)-this.getSeconds(e)}sameDate(i,e){if(i&&e){let t=this.isValid(i),o=this.isValid(e);return t&&o?!this.compareDate(i,e):t==o}return i==e}sameTime(i,e){if(i&&e){let t=this.isValid(i),o=this.isValid(e);return t&&o?!this.compareTime(i,e):t==o}return i==e}clampDate(i,e,t){return e&&this.compareDate(i,e)<0?e:t&&this.compareDate(i,t)>0?t:i}},ms=new R("mat-date-formats"),NU=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/,LU=/^(\d?\d)[:.](\d?\d)(?:[:.](\d?\d))?\s*(AM|PM)?$/i;function hy(n,i){let e=Array(n);for(let t=0;t{class n extends $n{useUtcForDisplay=!1;_matDateLocale=h(_h,{optional:!0});constructor(){super();let e=h(_h,{optional:!0});e!==void 0&&(this._matDateLocale=e),super.setLocale(this._matDateLocale)}getYear(e){return e.getFullYear()}getMonth(e){return e.getMonth()}getDate(e){return e.getDate()}getDayOfWeek(e){return e.getDay()}getMonthNames(e){let t=new Intl.DateTimeFormat(this.locale,{month:e,timeZone:"utc"});return hy(12,o=>this._format(t,new Date(2017,o,1)))}getDateNames(){let e=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return hy(31,t=>this._format(e,new Date(2017,0,t+1)))}getDayOfWeekNames(e){let t=new Intl.DateTimeFormat(this.locale,{weekday:e,timeZone:"utc"});return hy(7,o=>this._format(t,new Date(2017,0,o+1)))}getYearName(e){let t=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(t,e)}getFirstDayOfWeek(){if(typeof Intl<"u"&&Intl.Locale){let e=new Intl.Locale(this.locale),t=(e.getWeekInfo?.()||e.weekInfo)?.firstDay??0;return t===7?0:t}return 0}getNumDaysInMonth(e){return this.getDate(this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+1,0))}clone(e){return new Date(e.getTime())}createDate(e,t,o){let r=this._createDateWithOverflow(e,t,o);return r.getMonth()!=t,r}today(){return new Date}parse(e,t){return typeof e=="number"?new Date(e):e?new Date(Date.parse(e)):null}format(e,t){if(!this.isValid(e))throw Error("NativeDateAdapter: Cannot format invalid date.");let o=new Intl.DateTimeFormat(this.locale,Qe(L({},t),{timeZone:"utc"}));return this._format(o,e)}addCalendarYears(e,t){return this.addCalendarMonths(e,t*12)}addCalendarMonths(e,t){let o=this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+t,this.getDate(e));return this.getMonth(o)!=((this.getMonth(e)+t)%12+12)%12&&(o=this._createDateWithOverflow(this.getYear(o),this.getMonth(o),0)),o}addCalendarDays(e,t){return this._createDateWithOverflow(this.getYear(e),this.getMonth(e),this.getDate(e)+t)}toIso8601(e){return[e.getUTCFullYear(),this._2digit(e.getUTCMonth()+1),this._2digit(e.getUTCDate())].join("-")}deserialize(e){if(typeof e=="string"){if(!e)return null;if(NU.test(e)){let t=new Date(e);if(this.isValid(t))return t}}return super.deserialize(e)}isDateInstance(e){return e instanceof Date}isValid(e){return!isNaN(e.getTime())}invalid(){return new Date(NaN)}setTime(e,t,o,r){let a=this.clone(e);return a.setHours(t,o,r,0),a}getHours(e){return e.getHours()}getMinutes(e){return e.getMinutes()}getSeconds(e){return e.getSeconds()}parseTime(e,t){if(typeof e!="string")return e instanceof Date?new Date(e.getTime()):null;let o=e.trim();if(o.length===0)return null;let r=this._parseTimeString(o);if(r===null){let a=o.replace(/[^0-9:(AM|PM)]/gi,"").trim();a.length>0&&(r=this._parseTimeString(a))}return r||this.invalid()}addSeconds(e,t){return new Date(e.getTime()+t*1e3)}_createDateWithOverflow(e,t,o){let r=new Date;return r.setFullYear(e,t,o),r.setHours(0,0,0,0),r}_2digit(e){return("00"+e).slice(-2)}_format(e,t){let o=new Date;return o.setUTCFullYear(t.getFullYear(),t.getMonth(),t.getDate()),o.setUTCHours(t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()),e.format(o)}_parseTimeString(e){let t=e.toUpperCase().match(LU);if(t){let o=parseInt(t[1]),r=parseInt(t[2]),a=t[3]==null?void 0:parseInt(t[3]),s=t[4];if(o===12?o=s==="AM"?0:o:s==="PM"&&(o+=12),fy(o,0,23)&&fy(r,0,59)&&(a==null||fy(a,0,59)))return this.setTime(this.today(),o,r,a||0)}return null}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac})}return n})();function fy(n,i,e){return!isNaN(n)&&n>=i&&n<=e}var BU={parse:{dateInput:null,timeInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},timeInput:{hour:"numeric",minute:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"},timeOptionLabel:{hour:"numeric",minute:"numeric"}}};var j1=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({providers:[jU()]})}return n})();function jU(n=BU){return[{provide:$n,useClass:VU},{provide:ms,useValue:n}]}var ba=(()=>{class n{isErrorState(e,t){return!!(e&&e.invalid&&(e.touched||t&&t.submitted))}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Dn=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["structural-styles"]],decls:0,vars:0,template:function(t,o){},styles:['.mat-focus-indicator{position:relative}.mat-focus-indicator::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-width:var(--mat-focus-indicator-border-width, 3px);border-style:var(--mat-focus-indicator-border-style, solid);border-color:var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus::before{content:""}@media(forced-colors: active){html{--mat-focus-indicator-display: block}}'],encapsulation:2,changeDetection:0})}return n})();var ao=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}(ao||{}),vy=class{_renderer;element;config;_animationForciblyDisabledThroughCss;state=ao.HIDDEN;constructor(i,e,t,o=!1){this._renderer=i,this.element=e,this.config=t,this._animationForciblyDisabledThroughCss=o}fadeOut(){this._renderer.fadeOutRipple(this)}},A1=Wn({passive:!0,capture:!0}),by=class{_events=new Map;addHandler(i,e,t,o){let r=this._events.get(e);if(r){let a=r.get(t);a?a.add(o):r.set(t,new Set([o]))}else this._events.set(e,new Map([[t,new Set([o])]])),i.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,A1)})}removeHandler(i,e,t){let o=this._events.get(i);if(!o)return;let r=o.get(e);r&&(r.delete(t),r.size===0&&o.delete(e),o.size===0&&(this._events.delete(i),document.removeEventListener(i,this._delegateEventHandler,A1)))}_delegateEventHandler=i=>{let e=gi(i);e&&this._events.get(i.type)?.forEach((t,o)=>{(o===e||o.contains(e))&&t.forEach(r=>r.handleEvent(i))})}},vh={enterDuration:225,exitDuration:150},zU=800,R1=Wn({passive:!0,capture:!0}),O1=["mousedown","touchstart"],P1=["mouseup","mouseleave","touchend","touchcancel"],UU=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(t,o){},styles:[".mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0, 0, 0.2, 1);transform:scale3d(0, 0, 0);background-color:var(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent))}@media(forced-colors: active){.mat-ripple-element{display:none}}.cdk-drag-preview .mat-ripple-element,.cdk-drag-placeholder .mat-ripple-element{display:none}"],encapsulation:2,changeDetection:0})}return n})(),bh=class n{_target;_ngZone;_platform;_containerElement;_triggerElement;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect;static _eventManager=new by;constructor(i,e,t,o,r){this._target=i,this._ngZone=e,this._platform=o,o.isBrowser&&(this._containerElement=Mi(t)),r&&r.get(Mt).load(UU)}fadeInRipple(i,e,t={}){let o=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),r=L(L({},vh),t.animation);t.centered&&(i=o.left+o.width/2,e=o.top+o.height/2);let a=t.radius||HU(i,e,o),s=i-o.left,l=e-o.top,m=r.enterDuration,g=document.createElement("div");g.classList.add("mat-ripple-element"),g.style.left=`${s-a}px`,g.style.top=`${l-a}px`,g.style.height=`${a*2}px`,g.style.width=`${a*2}px`,t.color!=null&&(g.style.backgroundColor=t.color),g.style.transitionDuration=`${m}ms`,this._containerElement.appendChild(g);let v=window.getComputedStyle(g),D=v.transitionProperty,S=v.transitionDuration,I=D==="none"||S==="0s"||S==="0s, 0s"||o.width===0&&o.height===0,A=new vy(this,g,t,I);g.style.transform="scale3d(1, 1, 1)",A.state=ao.FADING_IN,t.persistent||(this._mostRecentTransientRipple=A);let Y=null;return!I&&(m||r.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let V=()=>{Y&&(Y.fallbackTimer=null),clearTimeout(Ve),this._finishRippleTransition(A)},he=()=>this._destroyRipple(A),Ve=setTimeout(he,m+100);g.addEventListener("transitionend",V),g.addEventListener("transitioncancel",he),Y={onTransitionEnd:V,onTransitionCancel:he,fallbackTimer:Ve}}),this._activeRipples.set(A,Y),(I||!m)&&this._finishRippleTransition(A),A}fadeOutRipple(i){if(i.state===ao.FADING_OUT||i.state===ao.HIDDEN)return;let e=i.element,t=L(L({},vh),i.config.animation);e.style.transitionDuration=`${t.exitDuration}ms`,e.style.opacity="0",i.state=ao.FADING_OUT,(i._animationForciblyDisabledThroughCss||!t.exitDuration)&&this._finishRippleTransition(i)}fadeOutAll(){this._getActiveRipples().forEach(i=>i.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(i=>{i.config.persistent||i.fadeOut()})}setupTriggerEvents(i){let e=Mi(i);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,O1.forEach(t=>{n._eventManager.addHandler(this._ngZone,t,e,this)}))}handleEvent(i){i.type==="mousedown"?this._onMousedown(i):i.type==="touchstart"?this._onTouchStart(i):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{P1.forEach(e=>{this._triggerElement.addEventListener(e,this,R1)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(i){i.state===ao.FADING_IN?this._startFadeOutTransition(i):i.state===ao.FADING_OUT&&this._destroyRipple(i)}_startFadeOutTransition(i){let e=i===this._mostRecentTransientRipple,{persistent:t}=i.config;i.state=ao.VISIBLE,!t&&(!e||!this._isPointerDown)&&i.fadeOut()}_destroyRipple(i){let e=this._activeRipples.get(i)??null;this._activeRipples.delete(i),this._activeRipples.size||(this._containerRect=null),i===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),i.state=ao.HIDDEN,e!==null&&(i.element.removeEventListener("transitionend",e.onTransitionEnd),i.element.removeEventListener("transitioncancel",e.onTransitionCancel),e.fallbackTimer!==null&&clearTimeout(e.fallbackTimer)),i.element.remove()}_onMousedown(i){let e=Cd(i),t=this._lastTouchStartEvent&&Date.now(){let e=i.state===ao.VISIBLE||i.config.terminateOnPointerUp&&i.state===ao.FADING_IN;!i.config.persistent&&e&&i.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let i=this._triggerElement;i&&(O1.forEach(e=>n._eventManager.removeHandler(e,i,this)),this._pointerUpEventsRegistered&&(P1.forEach(e=>i.removeEventListener(e,this,R1)),this._pointerUpEventsRegistered=!1))}};function HU(n,i,e){let t=Math.max(Math.abs(n-e.left),Math.abs(n-e.right)),o=Math.max(Math.abs(i-e.top),Math.abs(i-e.bottom));return Math.sqrt(t*t+o*o)}var Id=new R("mat-ripple-global-options"),so=(()=>{class n{_elementRef=h(Q);_animationMode=h($t,{optional:!0});color;unbounded;centered;radius=0;animation;get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}_disabled=!1;get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}_trigger;_rippleRenderer;_globalOptions;_isInitialized=!1;constructor(){let e=h(te),t=h(rt),o=h(Id,{optional:!0}),r=h(Ae);this._globalOptions=o||{},this._rippleRenderer=new bh(this,e,this._elementRef,t,r)}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:L(L(L({},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(e,t=0,o){return typeof e=="number"?this._rippleRenderer.fadeInRipple(e,t,L(L({},this.rippleConfig),o)):this._rippleRenderer.fadeInRipple(0,0,L(L({},this.rippleConfig),e))}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(t,o){t&2&&ne("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"]})}return n})(),Pr=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({imports:[me,me]})}return n})(),yy=(()=>{class n{_animationMode=h($t,{optional:!0});state="unchecked";disabled=!1;appearance="full";constructor(){}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(t,o){t&2&&ne("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"},decls:0,vars:0,template:function(t,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, var(--mat-sys-primary))}.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, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color, var(--mat-sys-on-surface-variant));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, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.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, var(--mat-sys-primary));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, var(--mat-sys-on-primary))}.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, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.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, var(--mat-sys-surface))}.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})}return n})(),WU=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({imports:[me]})}return n})(),Td=new R("MAT_OPTION_PARENT_COMPONENT"),kd=new R("MatOptgroup");var Md=class{source;isUserInput;constructor(i,e=!1){this.source=i,this.isUserInput=e}},nt=(()=>{class n{_element=h(Q);_changeDetectorRef=h(Ee);_parent=h(Td,{optional:!0});group=h(kd,{optional:!0});_signalDisableRipple=!1;_selected=!1;_active=!1;_disabled=!1;_mostRecentViewValue="";get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}value;id=h(ft).getId("mat-option-");get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(e){this._disabled=e}get disableRipple(){return this._signalDisableRipple?this._parent.disableRipple():!!this._parent?.disableRipple}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}onSelectionChange=new T;_text;_stateChanges=new j;constructor(){h(Mt).load(Dn),h(Mt).load(Ao),this._signalDisableRipple=!!this._parent&&oa(this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(e=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}deselect(e=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}focus(e,t){let o=this._getHostElement();typeof o.focus=="function"&&o.focus(t)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(e.keyCode===13||e.keyCode===32)&&!Ot(e)&&(this._selectViaInteraction(),e.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 e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=e)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new Md(this,e))}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["mat-option"]],viewQuery:function(t,o){if(t&1&&se(MU,7),t&2){let r;$(r=q())&&(o._text=r.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(t,o){t&1&&b("click",function(){return o._selectViaInteraction()})("keydown",function(a){return o._handleKeydown(a)}),t&2&&(En("id",o.id),ee("aria-selected",o.selected)("aria-disabled",o.disabled.toString()),ne("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",G]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],features:[ce],ngContentSelectors:TU,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-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(t,o){t&1&&(We(IU),x(0,kU,1,2,"mat-pseudo-checkbox",1),re(1),c(2,"span",2,0),re(4,1),d(),x(5,AU,1,1,"mat-pseudo-checkbox",3)(6,RU,2,1,"span",4),M(7,"div",5)),t&2&&(Ce(o.multiple?0:-1),u(5),Ce(!o.multiple&&o.selected&&!o.hideSingleSelectionIndicator?5:-1),u(),Ce(o.group&&o.group._inert?6:-1),u(),p("matRippleTrigger",o._getHostElement())("matRippleDisabled",o.disabled||o.disableRipple))},dependencies:[yy,so],styles:['.mat-mdc-option{-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;min-height:48px;padding:0 16px;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-option-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mat-option-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-option-label-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-option-label-text-tracking, var(--mat-sys-label-large-tracking));font-weight:var(--mat-option-label-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}.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, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent));outline:0}.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, var(--mat-sys-on-secondary-container))}.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, var(--mat-sys-secondary-container))}.mat-mdc-option .mat-pseudo-checkbox{--mat-minimal-pseudo-checkbox-selected-checkmark-color: var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.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}@media(forced-colors: active){.mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::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-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return n})();function yh(n,i,e){if(e.length){let t=i.toArray(),o=e.toArray(),r=0;for(let a=0;ae+t?Math.max(0,n-t+i):e}var Ll=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({imports:[Pr,me,WU]})}return n})(),F1={capture:!0},N1=["focus","mousedown","mouseenter","touchstart"],gy="mat-ripple-loader-uninitialized",_y="mat-ripple-loader-class-name",L1="mat-ripple-loader-centered",gh="mat-ripple-loader-disabled",Ch=(()=>{class n{_document=h(de,{optional:!0});_animationMode=h($t,{optional:!0});_globalRippleOptions=h(Id,{optional:!0});_platform=h(rt);_ngZone=h(te);_injector=h(Ae);_hosts=new Map;constructor(){this._ngZone.runOutsideAngular(()=>{for(let e of N1)this._document?.addEventListener(e,this._onInteraction,F1)})}ngOnDestroy(){let e=this._hosts.keys();for(let t of e)this.destroyRipple(t);for(let t of N1)this._document?.removeEventListener(t,this._onInteraction,F1)}configureRipple(e,t){e.setAttribute(gy,this._globalRippleOptions?.namespace??""),(t.className||!e.hasAttribute(_y))&&e.setAttribute(_y,t.className||""),t.centered&&e.setAttribute(L1,""),t.disabled&&e.setAttribute(gh,"")}setDisabled(e,t){let o=this._hosts.get(e);o?(o.target.rippleDisabled=t,!t&&!o.hasSetUpEvents&&(o.hasSetUpEvents=!0,o.renderer.setupTriggerEvents(e))):t?e.setAttribute(gh,""):e.removeAttribute(gh)}_onInteraction=e=>{let t=gi(e);if(t instanceof HTMLElement){let o=t.closest(`[${gy}="${this._globalRippleOptions?.namespace??""}"]`);o&&this._createRipple(o)}};_createRipple(e){if(!this._document||this._hosts.has(e))return;e.querySelector(".mat-ripple")?.remove();let t=this._document.createElement("span");t.classList.add("mat-ripple",e.getAttribute(_y)),e.append(t);let o=this._animationMode==="NoopAnimations",r=this._globalRippleOptions,a=o?0:r?.animation?.enterDuration??vh.enterDuration,s=o?0:r?.animation?.exitDuration??vh.exitDuration,l={rippleDisabled:o||r?.disabled||e.hasAttribute(gh),rippleConfig:{centered:e.hasAttribute(L1),terminateOnPointerUp:r?.terminateOnPointerUp,animation:{enterDuration:a,exitDuration:s}}},m=new bh(l,this._ngZone,t,this._platform,this._injector),g=!l.rippleDisabled;g&&m.setupTriggerEvents(e),this._hosts.set(e,{target:l,renderer:m,hasSetUpEvents:g}),e.removeAttribute(gy)}destroyRipple(e){let t=this._hosts.get(e);t&&(t.renderer._removeTriggerEvents(),this._hosts.delete(e))}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),xh=(()=>{class n{labelPosition;static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(t,o){t&2&&ne("mdc-form-field--align-end",o.labelPosition==="before")},inputs:{labelPosition:"labelPosition"},attrs:OU,ngContentSelectors:PU,decls:1,vars:0,template:function(t,o){t&1&&(We(),re(0))},styles:[".mat-internal-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-flex;align-items:center;vertical-align:middle}.mat-internal-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mat-internal-form-field>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px}.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 .mdc-form-field--align-end label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0}"],encapsulation:2,changeDetection:0})}return n})();var it=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}(it||{}),nr="*";function mn(n,i){return{type:it.Trigger,name:n,definitions:i,options:{}}}function It(n,i=null){return{type:it.Animate,styles:i,timings:n}}function z1(n,i=null){return{type:it.Group,steps:n,options:i}}function U1(n,i=null){return{type:it.Sequence,steps:n,options:i}}function Me(n){return{type:it.Style,styles:n,offset:null}}function Ft(n,i,e){return{type:it.State,name:n,styles:i,options:e}}function wa(n){return{type:it.Keyframes,steps:n}}function xt(n,i,e=null){return{type:it.Transition,expr:n,animation:i,options:e}}function Dh(n=null){return{type:it.AnimateChild,options:n}}function Sh(n,i,e=null){return{type:it.Query,selector:n,animation:i,options:e}}var ya=class{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(i=0,e=0){this.totalTime=i+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(i=>i()),this._onDoneFns=[])}onStart(i){this._originalOnStartFns.push(i),this._onStartFns.push(i)}onDone(i){this._originalOnDoneFns.push(i),this._onDoneFns.push(i)}onDestroy(i){this._onDestroyFns.push(i)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(i=>i()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(i=>i()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(i){this._position=this.totalTime?i*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(i){let e=i=="start"?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}},Ad=class{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(i){this.players=i;let e=0,t=0,o=0,r=this.players.length;r==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(a=>{a.onDone(()=>{++e==r&&this._onFinish()}),a.onDestroy(()=>{++t==r&&this._onDestroy()}),a.onStart(()=>{++o==r&&this._onStart()})}),this.totalTime=this.players.reduce((a,s)=>Math.max(a,s.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(i=>i()),this._onDoneFns=[])}init(){this.players.forEach(i=>i.init())}onStart(i){this._onStartFns.push(i)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(i=>i()),this._onStartFns=[])}onDone(i){this._onDoneFns.push(i)}onDestroy(i){this._onDestroyFns.push(i)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(i=>i.play())}pause(){this.players.forEach(i=>i.pause())}restart(){this.players.forEach(i=>i.restart())}finish(){this._onFinish(),this.players.forEach(i=>i.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(i=>i.destroy()),this._onDestroyFns.forEach(i=>i()),this._onDestroyFns=[])}reset(){this.players.forEach(i=>i.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(i){let e=i*this.totalTime;this.players.forEach(t=>{let o=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(o)})}getPosition(){let i=this.players.reduce((e,t)=>e===null||t.totalTime>e.totalTime?t:e,null);return i!=null?i.getPosition():0}beforeDestroy(){this.players.forEach(i=>{i.beforeDestroy&&i.beforeDestroy()})}triggerCallback(i){let e=i=="start"?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}},Eh="!";function GU(n,i){}var Ih=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;width="";height="";minWidth;minHeight;maxWidth;maxHeight;position;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!0;autoFocus="first-tabbable";restoreFocus=!0;delayFocusTrap=!0;scrollStrategy;closeOnNavigation=!0;componentFactoryResolver;enterAnimationDuration;exitAnimationDuration},wy="mdc-dialog--open",H1="mdc-dialog--opening",W1="mdc-dialog--closing",$U=150,qU=75,YU=(()=>{class n extends my{_animationMode=h($t,{optional:!0});_animationStateChanged=new T;_animationsEnabled=this._animationMode!=="NoopAnimations";_actionSectionCount=0;_hostElement=this._elementRef.nativeElement;_enterAnimationDuration=this._animationsEnabled?$1(this._config.enterAnimationDuration)??$U:0;_exitAnimationDuration=this._animationsEnabled?$1(this._config.exitAnimationDuration)??qU:0;_animationTimer=null;_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(G1,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(H1,wy)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(wy),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(wy),this._animationsEnabled?(this._hostElement.style.setProperty(G1,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(W1)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(e){this._actionSectionCount+=e,this._changeDetectorRef.markForCheck()}_finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)};_finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})};_clearAnimationClasses(){this._hostElement.classList.remove(H1,W1)}_waitForAnimationToComplete(e,t){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(t,e)}_requestAnimationFrame(e){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(e):e()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer)}attachComponentPortal(e){let t=super.attachComponentPortal(e);return t.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),t}static \u0275fac=(()=>{let e;return function(o){return(e||(e=at(n)))(o||n)}})();static \u0275cmp=E({type:n,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(t,o){t&2&&(En("id",o._config.id),ee("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),ne("_mat-animation-noopable",!o._animationsEnabled)("mat-mdc-dialog-container-with-actions",o._actionSectionCount>0))},features:[_e],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(t,o){t&1&&(c(0,"div",0)(1,"div",1),x(2,GU,0,0,"ng-template",2),d()())},dependencies:[si],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, 560px);min-width:var(--mat-dialog-container-min-width, 280px)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, calc(100vw - 32px))}}.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, none);border-radius:var(--mdc-dialog-container-shape, var(--mat-sys-corner-extra-large, 4px));background-color:var(--mdc-dialog-container-color, var(--mat-sys-surface, 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;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:var(--mat-dialog-headline-padding, 6px 24px 13px)}.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, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mdc-dialog-subhead-font, var(--mat-sys-headline-small-font, inherit));line-height:var(--mdc-dialog-subhead-line-height, var(--mat-sys-headline-small-line-height, 1.5rem));font-size:var(--mdc-dialog-subhead-size, var(--mat-sys-headline-small-size, 1rem));font-weight:var(--mdc-dialog-subhead-weight, var(--mat-sys-headline-small-weight, 400));letter-spacing:var(--mdc-dialog-subhead-tracking, var(--mat-sys-headline-small-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, var(--mat-sys-on-surface-variant, rgba(0, 0, 0, 0.6)));font-family:var(--mdc-dialog-supporting-text-font, var(--mat-sys-body-medium-font, inherit));line-height:var(--mdc-dialog-supporting-text-line-height, var(--mat-sys-body-medium-line-height, 1.5rem));font-size:var(--mdc-dialog-supporting-text-size, var(--mat-sys-body-medium-size, 1rem));font-weight:var(--mdc-dialog-supporting-text-weight, var(--mat-sys-body-medium-weight, 400));letter-spacing:var(--mdc-dialog-supporting-text-tracking, var(--mat-sys-body-medium-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 0)}.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, 16px 24px);justify-content:var(--mat-dialog-actions-alignment, flex-end)}@media(forced-colors: 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})}return n})(),G1="--mat-dialog-transition-duration";function $1(n){return n==null?null:typeof n=="number"?n:n.endsWith("ms")?tr(n.substring(0,n.length-2)):n.endsWith("s")?tr(n.substring(0,n.length-1))*1e3:n==="0"?0:null}var Mh=function(n){return n[n.OPEN=0]="OPEN",n[n.CLOSING=1]="CLOSING",n[n.CLOSED=2]="CLOSED",n}(Mh||{}),Ne=class{_ref;_containerInstance;componentInstance;componentRef;disableClose;id;_afterOpened=new j;_beforeClosed=new j;_result;_closeFallbackTimeout;_state=Mh.OPEN;_closeInteractionType;constructor(i,e,t){this._ref=i,this._containerInstance=t,this.disableClose=e.disableClose,this.id=i.id,i.addPanelClass("mat-mdc-dialog-panel"),t._animationStateChanged.pipe(je(o=>o.state==="opened"),Rt(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),t._animationStateChanged.pipe(je(o=>o.state==="closed"),Rt(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),i.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),yt(this.backdropClick(),this.keydownEvents().pipe(je(o=>o.keyCode===27&&!this.disableClose&&!Ot(o)))).subscribe(o=>{this.disableClose||(o.preventDefault(),q1(this,o.type==="keydown"?"keyboard":"mouse"))})}close(i){this._result=i,this._containerInstance._animationStateChanged.pipe(je(e=>e.state==="closing"),Rt(1)).subscribe(e=>{this._beforeClosed.next(i),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._state=Mh.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(i){let e=this._ref.config.positionStrategy;return i&&(i.left||i.right)?i.left?e.left(i.left):e.right(i.right):e.centerHorizontally(),i&&(i.top||i.bottom)?i.top?e.top(i.top):e.bottom(i.bottom):e.centerVertically(),this._ref.updatePosition(),this}updateSize(i="",e=""){return this._ref.updateSize(i,e),this}addPanelClass(i){return this._ref.addPanelClass(i),this}removePanelClass(i){return this._ref.removePanelClass(i),this}getState(){return this._state}_finishDialogClose(){this._state=Mh.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};function q1(n,i,e){return n._closeInteractionType=i,n.close(e)}var Ke=new R("MatMdcDialogData"),QU=new R("mat-mdc-dialog-default-options"),KU=new R("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let n=h(Lt);return()=>n.scrollStrategies.block()}});var Rd=(()=>{class n{_overlay=h(Lt);_defaultOptions=h(QU,{optional:!0});_scrollStrategy=h(KU);_parentDialog=h(n,{optional:!0,skipSelf:!0});_idGenerator=h(ft);_dialog=h(py);_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new j;_afterOpenedAtThisLevel=new j;dialogConfigClass=Ih;_dialogRefConstructor;_dialogContainerType;_dialogDataToken;get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}afterAllClosed=Xi(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Et(void 0)));constructor(){this._dialogRefConstructor=Ne,this._dialogContainerType=YU,this._dialogDataToken=Ke}open(e,t){let o;t=L(L({},this._defaultOptions||new Ih),t),t.id=t.id||this._idGenerator.getId("mat-mdc-dialog-"),t.scrollStrategy=t.scrollStrategy||this._scrollStrategy();let r=this._dialog.open(e,Qe(L({},t),{positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:t},{provide:va,useValue:t}]},templateContext:()=>({dialogRef:o}),providers:(a,s,l)=>(o=new this._dialogRefConstructor(a,t,l),o.updatePosition(t?.position),[{provide:this._dialogContainerType,useValue:l},{provide:this._dialogDataToken,useValue:s.data},{provide:this._dialogRefConstructor,useValue:o}])}));return o.componentRef=r.componentRef,o.componentInstance=r.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(e){return this.openDialogs.find(t=>t.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(e){let t=e.length;for(;t--;)e[t].close()}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Qt=(()=>{class n{dialogRef=h(Ne,{optional:!0});_elementRef=h(Q);_dialog=h(Rd);ariaLabel;type="button";dialogResult;_matDialogClose;constructor(){}ngOnInit(){this.dialogRef||(this.dialogRef=Q1(this._elementRef,this._dialog.openDialogs))}ngOnChanges(e){let t=e._matDialogClose||e._matDialogCloseResult;t&&(this.dialogResult=t.currentValue)}_onButtonClick(e){q1(this.dialogRef,e.screenX===0&&e.screenY===0?"keyboard":"mouse",this.dialogResult)}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(t,o){t&1&&b("click",function(a){return o._onButtonClick(a)}),t&2&&ee("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"],features:[Ze]})}return n})(),Y1=(()=>{class n{_dialogRef=h(Ne,{optional:!0});_elementRef=h(Q);_dialog=h(Rd);constructor(){}ngOnInit(){this._dialogRef||(this._dialogRef=Q1(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd()})}ngOnDestroy(){this._dialogRef?._containerInstance&&Promise.resolve().then(()=>{this._onRemove()})}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n})}return n})(),Xe=(()=>{class n extends Y1{id=h(ft).getId("mat-mdc-dialog-title-");_onAdd(){this._dialogRef._containerInstance?._addAriaLabelledBy?.(this.id)}_onRemove(){this._dialogRef?._containerInstance?._removeAriaLabelledBy?.(this.id)}static \u0275fac=(()=>{let e;return function(o){return(e||(e=at(n)))(o||n)}})();static \u0275dir=N({type:n,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(t,o){t&2&&En("id",o.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],features:[_e]})}return n})(),Je=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],features:[WE([vd])]})}return n})(),et=(()=>{class n extends Y1{align;_onAdd(){this._dialogRef._containerInstance?._updateActionSectionCount?.(1)}_onRemove(){this._dialogRef._containerInstance?._updateActionSectionCount?.(-1)}static \u0275fac=(()=>{let e;return function(o){return(e||(e=at(n)))(o||n)}})();static \u0275dir=N({type:n,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(t,o){t&2&&ne("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"},features:[_e]})}return n})();function Q1(n,i){let e=n.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-mdc-dialog-container");)e=e.parentElement;return e?i.find(t=>t.id===e.id):null}var K1=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({providers:[Rd],imports:[k1,ci,Ui,me,me]})}return n})();var Z1,X1=[django.gettext("Sunday"),django.gettext("Monday"),django.gettext("Tuesday"),django.gettext("Wednesday"),django.gettext("Thursday"),django.gettext("Friday"),django.gettext("Saturday")],J1=[django.gettext("January"),django.gettext("February"),django.gettext("March"),django.gettext("April"),django.gettext("May"),django.gettext("June"),django.gettext("July"),django.gettext("August"),django.gettext("September"),django.gettext("October"),django.gettext("November"),django.gettext("December")];var eT=n=>{let i=[];return n.forEach(e=>{i.push(e.substring(0,3))}),i},Ca=(n,i,e)=>(typeof i>"u"&&(i=new Date),ps(n,i,e));var ps=(n,i,e,t)=>{t=t||{},i=i||new Date;let o=e||JU;o.formats=o.formats||{};let r=i.getTime();return(t.utc||typeof t.timezone=="number")&&(i=ZU(i)),typeof t.timezone=="number"&&(i=new Date(i.getTime()+t.timezone*6e4)),n.replace(/%([-_0]?.)/g,(a,s)=>{let l,m,g,v,D,S,I,A;if(g=null,D=null,s.length===2){if(g=s[0],g==="-")D="";else if(g==="_")D=" ";else if(g==="0")D="0";else return a;s=s[1]}switch(s){case"A":return o.days[i.getDay()];case"a":return o.shortDays[i.getDay()];case"B":return o.months[i.getMonth()];case"b":return o.shortMonths[i.getMonth()];case"C":return vi(Math.floor(i.getFullYear()/100),D);case"D":return ps(o.formats.D||"%m/%d/%y",i,o);case"d":return vi(i.getDate(),D);case"e":return i.getDate();case"F":return ps(o.formats.F||"%Y-%m-%d",i,o);case"H":return vi(i.getHours(),D);case"h":return o.shortMonths[i.getMonth()];case"I":return vi(tT(i),D);case"j":return I=new Date(i.getFullYear(),0,1),l=Math.ceil((i.getTime()-I.getTime())/(1e3*60*60*24)),vi(l,3);case"k":return vi(i.getHours(),D===void 0?" ":D);case"L":return vi(Math.floor(r%1e3),3);case"l":return vi(tT(i),D===void 0?" ":D);case"M":return vi(i.getMinutes(),D);case"m":return vi(i.getMonth()+1,D);case"n":return` +`;case"o":return String(i.getDate())+XU(i.getDate());case"P":return"";case"p":return"";case"R":return ps(o.formats.R||"%H:%M",i,o);case"r":return ps(o.formats.r||"%I:%M:%S %p",i,o);case"S":return vi(i.getSeconds(),D);case"s":return Math.floor(r/1e3);case"T":return ps(o.formats.T||"%H:%M:%S",i,o);case"t":return" ";case"U":return vi(nT(i,"sunday"),D);case"u":return m=i.getDay(),m===0?7:m;case"v":return ps(o.formats.v||"%e-%b-%Y",i,o);case"W":return vi(nT(i,"monday"),D);case"w":return i.getDay();case"Y":return i.getFullYear();case"y":return A=String(i.getFullYear()),A.slice(A.length-2);case"Z":return t.utc?"GMT":(S=i.toString().match(/\((\w+)\)/),S&&S[1]||"");case"z":return t.utc?"+0000":(v=typeof t.timezone=="number"?t.timezone:-i.getTimezoneOffset(),(v<0?"-":"+")+vi(Math.abs(v/60))+vi(v%60));default:return s}})},ZU=n=>{let i=(n.getTimezoneOffset()||0)*6e4;return new Date(n.getTime()+i)},vi=(n,i,e)=>{typeof i=="number"&&(e=i,i="0"),i=i??"0",e=e??2;let t=String(n);if(i)for(;t.length{let i;return i=n.getHours(),i===0?i=12:i>12&&(i-=12),i},XU=n=>{let i=n%10,e=n%100;if(e>=11&&e<=13||i===0||i>=4)return"th";switch(i){case 1:return"st";case 2:return"nd";case 3:return"rd"}return"th"},nT=(n,i)=>{i=i||"sunday";let e=n.getDay();i==="monday"&&(e===0?e=6:e--);let t=new Date(n.getFullYear(),0,1),o=Math.floor((n.getTime()-t.getTime())/864e5);return Math.floor((o+7-e)/7)},Cy=n=>n.replace(/./g,i=>{switch(i){case"a":case"A":return"%p";case"b":case"d":case"m":case"w":case"W":case"y":case"Y":return"%"+i;case"c":return"%FT%TZ";case"D":return"%a";case"e":return"%z";case"f":return"%I:%M";case"F":return"%F";case"h":case"g":return"%I";case"H":case"G":return"%H";case"i":return"%M";case"I":return"";case"j":return"%d";case"l":return"%A";case"L":return"";case"M":return"%b";case"n":return"%m";case"N":return"%b";case"o":return"%W";case"O":return"%z";case"P":return"%R %p";case"r":return"%a, %d %b %Y %T %z";case"s":return"%S";case"S":return"";case"t":return"";case"T":return"%Z";case"u":return"0";case"U":return"";case"z":return"%j";case"Z":return"z";default:return i}}),qn=(n,i,e=null)=>{let t;if(i==="None"||i===null||i===void 0)i=7226578800,t=django.gettext("Never");else{let o=django.get_format(n);e&&(o+=e),t=Ca(Cy(o),new Date(i*1e3))}return t},iT=n=>({1e4:"OTHER",2e4:"DEBUG",3e4:"INFO",4e4:"WARN",5e4:"ERROR",6e4:"FATAL"})[n]||"OTHER",xy=n=>!!(n==null||typeof n=="object"&&Object.keys(n).length===0&&n.constructor===Object||Array.isArray(n)&&n.length===0||typeof n=="string"&&n.trim()===""),oT=n=>n===""||n===null||n===void 0,Th=n=>n==="yes"||n===!0||n==="true"||n===1,JU={days:X1,shortDays:eT(X1),months:J1,shortMonths:eT(J1),AM:"AM",PM:"PM",am:"am",pm:"pm"},ir=(n,i)=>{let e;if(n instanceof Promise)e=n;else if(n instanceof Xt)e=n;else{if(i)return Pu(n.pipe(a_(i)));e=Pu(n)}return e},Xt=class{constructor(){this[Z1]="Future",this.resolve=()=>{},this.reject=()=>{},this.promise=new Promise((i,e)=>{this.resolve=i,this.reject=e})}then(i,e){return this.promise.then(i,e)}catch(i){return this.promise.catch(i)}finally(i){return this.promise.finally(i)}};Z1=Symbol.toStringTag;var rT=["mat-button",""],aT=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],sT=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],eH='.mat-mdc-button-base{text-decoration:none}.mdc-button{-webkit-user-select:none;user-select:none;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;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.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__label{position:relative}.mat-mdc-button{padding:0 var(--mat-text-button-horizontal-padding, 12px);height:var(--mdc-text-button-container-height, 40px);font-family:var(--mdc-text-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-text-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-text-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-text-button-label-text-transform);font-weight:var(--mdc-text-button-label-text-weight, var(--mat-sys-label-large-weight))}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, var(--mat-sys-primary))}.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, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 16px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);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, -4px);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, -4px)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity, var(--mat-sys-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, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity, var(--mat-sys-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, block)}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-filled-button-container-height, 40px);font-family:var(--mdc-filled-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-filled-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-filled-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-filled-button-label-text-transform);font-weight:var(--mdc-filled-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-filled-button-horizontal-padding, 24px)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);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, -8px);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, -8px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color, var(--mat-sys-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity, var(--mat-sys-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, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity, var(--mat-sys-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, block)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, var(--mat-sys-on-primary));background-color:var(--mdc-filled-button-container-color, var(--mat-sys-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mat-sys-corner-full))}.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, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-filled-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);box-shadow:var(--mdc-protected-button-container-elevation-shadow, var(--mat-sys-level1));height:var(--mdc-protected-button-container-height, 40px);font-family:var(--mdc-protected-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-protected-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-protected-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-protected-button-label-text-transform);font-weight:var(--mdc-protected-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-protected-button-horizontal-padding, 24px)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);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, -8px);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, -8px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity, var(--mat-sys-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, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity, var(--mat-sys-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, block)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, var(--mat-sys-primary));background-color:var(--mdc-protected-button-container-color, var(--mat-sys-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow, var(--mat-sys-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow, var(--mat-sys-level1))}.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, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-protected-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.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, var(--mat-sys-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-outlined-button-container-height, 40px);font-family:var(--mdc-outlined-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-outlined-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-outlined-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-outlined-button-label-text-transform);font-weight:var(--mdc-outlined-button-label-text-weight, var(--mat-sys-label-large-weight));border-radius:var(--mdc-outlined-button-container-shape, var(--mat-sys-corner-full));border-width:var(--mdc-outlined-button-outline-width, 1px);padding:0 var(--mat-outlined-button-horizontal-padding, 24px)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);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, -8px);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, -8px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity, var(--mat-sys-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, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity, var(--mat-sys-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, block)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, var(--mat-sys-primary));border-color:var(--mdc-outlined-button-outline-color, var(--mat-sys-outline))}.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, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:var(--mdc-outlined-button-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button .mdc-button__ripple{border-width:var(--mdc-outlined-button-outline-width, 1px);border-style:solid;border-color:rgba(0,0,0,0)}.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-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-focus-indicator,.mat-mdc-unelevated-button .mat-focus-indicator,.mat-mdc-raised-button .mat-focus-indicator,.mat-mdc-outlined-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-focus-indicator::before,.mat-mdc-raised-button:focus .mat-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-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}.mat-mdc-unelevated-button .mat-focus-indicator::before,.mat-mdc-raised-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}',Dy="@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-icon-button.mat-mdc-icon-button{outline:solid 1px}}";var lT=["mat-icon-button",""],cT=["*"],tH='.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;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;z-index:0;overflow:visible;border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 40px);height:var(--mdc-icon-button-state-layer-size, 40px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 40px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size, 24px);color:var(--mdc-icon-button-icon-color, var(--mat-sys-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.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,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface-variant) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-sys-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, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-sys-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, block)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.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, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mdc-icon-button-icon-size, 24px);height:var(--mdc-icon-button-icon-size, 24px);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button[hidden]{display:none}.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}',nH=new R("MAT_BUTTON_CONFIG");var iH=[{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-base","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],Sy=(()=>{class n{_elementRef=h(Q);_platform=h(rt);_ngZone=h(te);_animationMode=h($t,{optional:!0});_focusMonitor=h(Pn);_rippleLoader=h(Ch);_isFab=!1;color;get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=e,this._updateRippleDisabled()}_disableRipple=!1;get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._updateRippleDisabled()}_disabled=!1;ariaDisabled;disabledInteractive;constructor(){h(Mt).load(Dn);let e=h(nH,{optional:!0}),t=this._elementRef.nativeElement,o=t.classList;this.disabledInteractive=e?.disabledInteractive??!1,this.color=e?.color??null,this._rippleLoader?.configureRipple(t,{className:"mat-mdc-button-ripple"});for(let{attribute:r,mdcClasses:a}of iH)t.hasAttribute(r)&&o.add(...a)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(e="program",t){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,t):this._elementRef.nativeElement.focus(t)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",G],disabled:[2,"disabled","disabled",G],ariaDisabled:[2,"aria-disabled","ariaDisabled",G],disabledInteractive:[2,"disabledInteractive","disabledInteractive",G]},features:[ce]})}return n})();var dT=(()=>{class n extends Sy{tabIndex;ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}_haltDisabledEvents=e=>{this.disabled&&(e.preventDefault(),e.stopImmediatePropagation())};_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled||null}static \u0275fac=(()=>{let e;return function(o){return(e||(e=at(n)))(o||n)}})();static \u0275dir=N({type:n,inputs:{tabIndex:[2,"tabIndex","tabIndex",e=>e==null?void 0:on(e)]},features:[ce,_e]})}return n})(),Te=(()=>{class n extends Sy{static \u0275fac=(()=>{let e;return function(o){return(e||(e=at(n)))(o||n)}})();static \u0275cmp=E({type:n,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(t,o){t&2&&(ee("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled()),Yt(o.color?"mat-"+o.color:""),ne("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"],features:[_e],attrs:rT,ngContentSelectors:sT,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(t,o){t&1&&(We(aT),M(0,"span",0),re(1),c(2,"span",1),re(3,1),d(),re(4,2),M(5,"span",2)(6,"span",3)),t&2&&ne("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:['.mat-mdc-button-base{text-decoration:none}.mdc-button{-webkit-user-select:none;user-select:none;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;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.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__label{position:relative}.mat-mdc-button{padding:0 var(--mat-text-button-horizontal-padding, 12px);height:var(--mdc-text-button-container-height, 40px);font-family:var(--mdc-text-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-text-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-text-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-text-button-label-text-transform);font-weight:var(--mdc-text-button-label-text-weight, var(--mat-sys-label-large-weight))}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, var(--mat-sys-primary))}.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, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 16px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);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, -4px);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, -4px)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity, var(--mat-sys-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, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity, var(--mat-sys-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, block)}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-filled-button-container-height, 40px);font-family:var(--mdc-filled-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-filled-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-filled-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-filled-button-label-text-transform);font-weight:var(--mdc-filled-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-filled-button-horizontal-padding, 24px)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);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, -8px);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, -8px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color, var(--mat-sys-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity, var(--mat-sys-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, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity, var(--mat-sys-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, block)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, var(--mat-sys-on-primary));background-color:var(--mdc-filled-button-container-color, var(--mat-sys-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mat-sys-corner-full))}.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, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-filled-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);box-shadow:var(--mdc-protected-button-container-elevation-shadow, var(--mat-sys-level1));height:var(--mdc-protected-button-container-height, 40px);font-family:var(--mdc-protected-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-protected-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-protected-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-protected-button-label-text-transform);font-weight:var(--mdc-protected-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-protected-button-horizontal-padding, 24px)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);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, -8px);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, -8px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity, var(--mat-sys-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, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity, var(--mat-sys-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, block)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, var(--mat-sys-primary));background-color:var(--mdc-protected-button-container-color, var(--mat-sys-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow, var(--mat-sys-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow, var(--mat-sys-level1))}.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, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-protected-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.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, var(--mat-sys-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-outlined-button-container-height, 40px);font-family:var(--mdc-outlined-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-outlined-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-outlined-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-outlined-button-label-text-transform);font-weight:var(--mdc-outlined-button-label-text-weight, var(--mat-sys-label-large-weight));border-radius:var(--mdc-outlined-button-container-shape, var(--mat-sys-corner-full));border-width:var(--mdc-outlined-button-outline-width, 1px);padding:0 var(--mat-outlined-button-horizontal-padding, 24px)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);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, -8px);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, -8px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity, var(--mat-sys-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, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity, var(--mat-sys-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, block)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, var(--mat-sys-primary));border-color:var(--mdc-outlined-button-outline-color, var(--mat-sys-outline))}.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, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:var(--mdc-outlined-button-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button .mdc-button__ripple{border-width:var(--mdc-outlined-button-outline-width, 1px);border-style:solid;border-color:rgba(0,0,0,0)}.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-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-focus-indicator,.mat-mdc-unelevated-button .mat-focus-indicator,.mat-mdc-raised-button .mat-focus-indicator,.mat-mdc-outlined-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-focus-indicator::before,.mat-mdc-raised-button:focus .mat-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-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}.mat-mdc-unelevated-button .mat-focus-indicator::before,.mat-mdc-raised-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}',"@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-icon-button.mat-mdc-icon-button{outline:solid 1px}}"],encapsulation:2,changeDetection:0})}return n})(),xa=(()=>{class n extends dT{static \u0275fac=(()=>{let e;return function(o){return(e||(e=at(n)))(o||n)}})();static \u0275cmp=E({type:n,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:15,hostBindings:function(t,o){t&2&&(ee("disabled",o._getDisabledAttribute())("tabindex",o.disabled&&!o.disabledInteractive?-1:o.tabIndex)("aria-disabled",o._getAriaDisabled()),Yt(o.color?"mat-"+o.color:""),ne("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"],features:[_e],attrs:rT,ngContentSelectors:sT,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(t,o){t&1&&(We(aT),M(0,"span",0),re(1),c(2,"span",1),re(3,1),d(),re(4,2),M(5,"span",2)(6,"span",3)),t&2&&ne("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:[eH,Dy],encapsulation:2,changeDetection:0})}return n})();var Zn=(()=>{class n extends Sy{constructor(){super(),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(t,o){t&2&&(ee("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled()),Yt(o.color?"mat-"+o.color:""),ne("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"],features:[_e],attrs:lT,ngContentSelectors:cT,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(t,o){t&1&&(We(),M(0,"span",0),re(1),M(2,"span",1)(3,"span",2))},styles:['.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;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;z-index:0;overflow:visible;border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 40px);height:var(--mdc-icon-button-state-layer-size, 40px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 40px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size, 24px);color:var(--mdc-icon-button-icon-color, var(--mat-sys-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.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,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface-variant) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-sys-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, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-sys-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, block)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.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, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mdc-icon-button-icon-size, 24px);height:var(--mdc-icon-button-icon-size, 24px);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button[hidden]{display:none}.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}',Dy],encapsulation:2,changeDetection:0})}return n})(),kh=(()=>{class n extends dT{static \u0275fac=(()=>{let e;return function(o){return(e||(e=at(n)))(o||n)}})();static \u0275cmp=E({type:n,selectors:[["a","mat-icon-button",""]],hostVars:15,hostBindings:function(t,o){t&2&&(ee("disabled",o._getDisabledAttribute())("tabindex",o.disabled&&!o.disabledInteractive?-1:o.tabIndex)("aria-disabled",o._getAriaDisabled()),Yt(o.color?"mat-"+o.color:""),ne("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"],features:[_e],attrs:lT,ngContentSelectors:cT,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(t,o){t&1&&(We(),M(0,"span",0),re(1),M(2,"span",1)(3,"span",2))},styles:[tH,Dy],encapsulation:2,changeDetection:0})}return n})(),or=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({imports:[me,Pr,me]})}return n})();var ae=(()=>{let i=class i{constructor(t){this.el=t}ngOnInit(){this.el.nativeElement.innerHTML=django.gettext(this.el.nativeElement.innerHTML.trim().replaceAll("&","&"))}};i.\u0275fac=function(o){return new(o||i)(C(Q))},i.\u0275dir=N({type:i,selectors:[["uds-translate"]],standalone:!1});let n=i;return n})();var Ah=(()=>{let i=class i{constructor(t){this.sanitizer=t}transform(t,o){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)}};i.\u0275fac=function(o){return new(o||i)(C(ns,16))},i.\u0275pipe=Qo({name:"safeHtml",type:i,pure:!0,standalone:!1});let n=i;return n})();function oH(n,i){if(n&1){let e=k();c(0,"button",4),b("click",function(){y(e);let o=_();return w(o.resolveAndClose(!1))}),c(1,"uds-translate"),f(2,"Close"),d(),f(3),d()}if(n&2){let e=_();u(3),Ge(e.extra)}}function rH(n,i){if(n&1){let e=k();c(0,"button",5),b("click",function(){y(e);let o=_();return w(o.resolveAndClose(!0))}),c(1,"uds-translate"),f(2,"Yes"),d()()}if(n&2){let e=_();p("color",e.yesColor)}}function aH(n,i){if(n&1){let e=k();c(0,"button",5),b("click",function(){y(e);let o=_();return w(o.resolveAndClose(!1))}),c(1,"uds-translate"),f(2,"No"),d()()}if(n&2){let e=_();p("color",e.noColor)}}var Od=function(n){return n[n.alert=0]="alert",n[n.question=1]="question",n}(Od||{}),Ey=(()=>{let i=class i{constructor(t,o){this.dialogRef=t,this.data=o,this.yesColor="primary",this.noColor="warn",this.extra="",this.subscription={},this.acceptance=new Xt}resolveAndClose(t){this.acceptance.resolve(t),this.close()}close(){this.dialogRef.close()}closed(){this.subscription!==null&&this.subscription.unsubscribe()}setExtra(t){this.extra=" ("+Math.floor(t/1e3)+" "+django.gettext("seconds")+") "}initAlert(){return H(this,null,function*(){let t=this.data.autoclose||0;t>0&&(this.dialogRef.afterClosed().subscribe(o=>{this.closed()}),this.setExtra(t),this.subscription=s_(1e3).subscribe(o=>{let r=t-(o+1)*1e3;this.setExtra(r),r<=0&&this.close()}))})}ngOnInit(){this.data.warnOnYes===!0&&(this.yesColor="warn",this.noColor="primary"),this.data.type===Od.alert&&this.initAlert()}};i.\u0275fac=function(o){return new(o||i)(C(Ne),C(Ke))},i.\u0275cmp=E({type:i,selectors:[["uds-modal"]],standalone:!1,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,"color","click",4,"ngIf"],["mat-raised-button","","mat-dialog-close","",3,"click"],["mat-raised-button","","mat-dialog-close","",3,"click","color"]],template:function(o,r){o&1&&(M(0,"h4",0),gt(1,"safeHtml"),M(2,"mat-dialog-content",1),gt(3,"safeHtml"),c(4,"mat-dialog-actions"),x(5,oH,4,1,"button",2)(6,rH,3,1,"button",3)(7,aH,3,1,"button",3),d()),o&2&&(p("innerHtml",Ct(1,5,r.data.title),qt),u(2),p("innerHTML",Ct(3,7,r.data.body),qt),u(3),p("ngIf",r.data.type===0),u(),p("ngIf",r.data.type===1),u(),p("ngIf",r.data.type===1))},dependencies:[ue,Te,Qt,Xe,et,Je,ae,Ah],styles:[".uds-modal-footer[_ngcontent-%COMP%]{display:flex;justify-content:left}.mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}"]});let n=i;return n})();var Xn=function(n){return n.TEXT="text",n.TEXT_AUTOCOMPLETE="text-autocomplete",n.TEXTBOX="textbox",n.NUMERIC="numeric",n.PASSWORD="password",n.HIDDEN="hidden",n.CHOICE="choice",n.MULTI_CHOICE="multichoice",n.EDITLIST="editlist",n.CHECKBOX="checkbox",n.IMAGECHOICE="imgchoice",n.DATE="date",n.DATETIME="datetime",n.TAGLIST="taglist",n.INFO="internal-info",n}(Xn||{}),Pd=class{static locateChoice(i,e){let t=e.gui.choices;if(t===void 0)return{id:"",img:"",text:""};let o=t.find(r=>r.id===i);if(o===void 0)try{o=t[0]}catch{o={id:"",img:"",text:""}}return o}};var vT=(()=>{class n{_renderer;_elementRef;onChange=e=>{};onTouched=()=>{};constructor(e,t){this._renderer=e,this._elementRef=t}setProperty(e,t){this._renderer.setProperty(this._elementRef.nativeElement,e,t)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}static \u0275fac=function(t){return new(t||n)(C(xr),C(Q))};static \u0275dir=N({type:n})}return n})(),bT=(()=>{class n extends vT{static \u0275fac=(()=>{let e;return function(o){return(e||(e=at(n)))(o||n)}})();static \u0275dir=N({type:n,features:[_e]})}return n})(),bi=new R("");var sH={provide:bi,useExisting:ln(()=>lt),multi:!0};function lH(){let n=Zo()?Zo().getUserAgent():"";return/android (\d+)/.test(n.toLowerCase())}var cH=new R(""),lt=(()=>{class n extends vT{_compositionMode;_composing=!1;constructor(e,t,o){super(e,t),this._compositionMode=o,this._compositionMode==null&&(this._compositionMode=!lH())}writeValue(e){let t=e??"";this.setProperty("value",t)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}static \u0275fac=function(t){return new(t||n)(C(xr),C(Q),C(cH,8))};static \u0275dir=N({type:n,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(t,o){t&1&&b("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)})},standalone:!1,features:[ye([sH]),_e]})}return n})();function Da(n){return n==null||(typeof n=="string"||Array.isArray(n))&&n.length===0}function yT(n){return n!=null&&typeof n.length=="number"}var lo=new R(""),Hh=new R(""),dH=/^(?=.{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])?)*$/,rr=class{static min(i){return uH(i)}static max(i){return mH(i)}static required(i){return wT(i)}static requiredTrue(i){return pH(i)}static email(i){return hH(i)}static minLength(i){return fH(i)}static maxLength(i){return CT(i)}static pattern(i){return gH(i)}static nullValidator(i){return Oh(i)}static compose(i){return IT(i)}static composeAsync(i){return TT(i)}};function uH(n){return i=>{if(Da(i.value)||Da(n))return null;let e=parseFloat(i.value);return!isNaN(e)&&e{if(Da(i.value)||Da(n))return null;let e=parseFloat(i.value);return!isNaN(e)&&e>n?{max:{max:n,actual:i.value}}:null}}function wT(n){return Da(n.value)?{required:!0}:null}function pH(n){return n.value===!0?null:{required:!0}}function hH(n){return Da(n.value)||dH.test(n.value)?null:{email:!0}}function fH(n){return i=>Da(i.value)||!yT(i.value)?null:i.value.lengthyT(i.value)&&i.value.length>n?{maxlength:{requiredLength:n,actualLength:i.value.length}}:null}function gH(n){if(!n)return Oh;let i,e;return typeof n=="string"?(e="",n.charAt(0)!=="^"&&(e+="^"),e+=n,n.charAt(n.length-1)!=="$"&&(e+="$"),i=new RegExp(e)):(e=n.toString(),i=n),t=>{if(Da(t.value))return null;let o=t.value;return i.test(o)?null:{pattern:{requiredPattern:e,actualValue:o}}}}function Oh(n){return null}function xT(n){return n!=null}function DT(n){return ra(n)?Kt(n):n}function ST(n){let i={};return n.forEach(e=>{i=e!=null?L(L({},i),e):i}),Object.keys(i).length===0?null:i}function ET(n,i){return i.map(e=>e(n))}function _H(n){return!n.validate}function MT(n){return n.map(i=>_H(i)?i:e=>i.validate(e))}function IT(n){if(!n)return null;let i=n.filter(xT);return i.length==0?null:function(e){return ST(ET(e,i))}}function ky(n){return n!=null?IT(MT(n)):null}function TT(n){if(!n)return null;let i=n.filter(xT);return i.length==0?null:function(e){let t=ET(e,i).map(DT);return cc(t).pipe(le(ST))}}function Ay(n){return n!=null?TT(MT(n)):null}function mT(n,i){return n===null?[i]:Array.isArray(n)?[...n,i]:[n,i]}function kT(n){return n._rawValidators}function AT(n){return n._rawAsyncValidators}function My(n){return n?Array.isArray(n)?n:[n]:[]}function Ph(n,i){return Array.isArray(n)?n.includes(i):n===i}function pT(n,i){let e=My(i);return My(n).forEach(o=>{Ph(e,o)||e.push(o)}),e}function hT(n,i){return My(i).filter(e=>!Ph(n,e))}var Fh=class{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}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(i){this._rawValidators=i||[],this._composedValidatorFn=ky(this._rawValidators)}_setAsyncValidators(i){this._rawAsyncValidators=i||[],this._composedAsyncValidatorFn=Ay(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(i){this._onDestroyCallbacks.push(i)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(i=>i()),this._onDestroyCallbacks=[]}reset(i=void 0){this.control&&this.control.reset(i)}hasError(i,e){return this.control?this.control.hasError(i,e):!1}getError(i,e){return this.control?this.control.getError(i,e):null}},Fr=class extends Fh{name;get formDirective(){return null}get path(){return null}},Ai=class extends Fh{_parent=null;name=null;valueAccessor=null},Nh=class{_cd;constructor(i){this._cd=i}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},vH={"[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"},xce=Qe(L({},vH),{"[class.ng-submitted]":"isSubmitted"}),we=(()=>{class n extends Nh{constructor(e){super(e)}static \u0275fac=function(t){return new(t||n)(C(Ai,2))};static \u0275dir=N({type:n,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,o){t&2&&ne("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)},standalone:!1,features:[_e]})}return n})(),Wh=(()=>{class n extends Nh{constructor(e){super(e)}static \u0275fac=function(t){return new(t||n)(C(Fr,10))};static \u0275dir=N({type:n,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(t,o){t&2&&ne("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)},standalone:!1,features:[_e]})}return n})();var Fd="VALID",Rh="INVALID",Vl="PENDING",Nd="DISABLED",Sa=class{},Lh=class extends Sa{value;source;constructor(i,e){super(),this.value=i,this.source=e}},Vd=class extends Sa{pristine;source;constructor(i,e){super(),this.pristine=i,this.source=e}},Bd=class extends Sa{touched;source;constructor(i,e){super(),this.touched=i,this.source=e}},Bl=class extends Sa{status;source;constructor(i,e){super(),this.status=i,this.source=e}},Iy=class extends Sa{source;constructor(i){super(),this.source=i}},Ty=class extends Sa{source;constructor(i){super(),this.source=i}};function RT(n){return(Gh(n)?n.validators:n)||null}function bH(n){return Array.isArray(n)?ky(n):n||null}function OT(n,i){return(Gh(i)?i.asyncValidators:n)||null}function yH(n){return Array.isArray(n)?Ay(n):n||null}function Gh(n){return n!=null&&!Array.isArray(n)&&typeof n=="object"}function wH(n,i,e){let t=n.controls;if(!(i?Object.keys(t):t).length)throw new K(1e3,"");if(!t[e])throw new K(1001,"")}function CH(n,i,e){n._forEachChild((t,o)=>{if(e[o]===void 0)throw new K(1002,"")})}var Vh=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(i,e){this._assignValidators(i),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(i){this._rawValidators=this._composedValidatorFn=i}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(i){this._rawAsyncValidators=this._composedAsyncValidatorFn=i}get parent(){return this._parent}get status(){return Si(this.statusReactive)}set status(i){Si(()=>this.statusReactive.set(i))}_status=Mr(()=>this.statusReactive());statusReactive=Mo(void 0);get valid(){return this.status===Fd}get invalid(){return this.status===Rh}get pending(){return this.status==Vl}get disabled(){return this.status===Nd}get enabled(){return this.status!==Nd}errors;get pristine(){return Si(this.pristineReactive)}set pristine(i){Si(()=>this.pristineReactive.set(i))}_pristine=Mr(()=>this.pristineReactive());pristineReactive=Mo(!0);get dirty(){return!this.pristine}get touched(){return Si(this.touchedReactive)}set touched(i){Si(()=>this.touchedReactive.set(i))}_touched=Mr(()=>this.touchedReactive());touchedReactive=Mo(!1);get untouched(){return!this.touched}_events=new j;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(i){this._assignValidators(i)}setAsyncValidators(i){this._assignAsyncValidators(i)}addValidators(i){this.setValidators(pT(i,this._rawValidators))}addAsyncValidators(i){this.setAsyncValidators(pT(i,this._rawAsyncValidators))}removeValidators(i){this.setValidators(hT(i,this._rawValidators))}removeAsyncValidators(i){this.setAsyncValidators(hT(i,this._rawAsyncValidators))}hasValidator(i){return Ph(this._rawValidators,i)}hasAsyncValidator(i){return Ph(this._rawAsyncValidators,i)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(i={}){let e=this.touched===!1;this.touched=!0;let t=i.sourceControl??this;this._parent&&!i.onlySelf&&this._parent.markAsTouched(Qe(L({},i),{sourceControl:t})),e&&i.emitEvent!==!1&&this._events.next(new Bd(!0,t))}markAllAsTouched(i={}){this.markAsTouched({onlySelf:!0,emitEvent:i.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsTouched(i))}markAsUntouched(i={}){let e=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let t=i.sourceControl??this;this._forEachChild(o=>{o.markAsUntouched({onlySelf:!0,emitEvent:i.emitEvent,sourceControl:t})}),this._parent&&!i.onlySelf&&this._parent._updateTouched(i,t),e&&i.emitEvent!==!1&&this._events.next(new Bd(!1,t))}markAsDirty(i={}){let e=this.pristine===!0;this.pristine=!1;let t=i.sourceControl??this;this._parent&&!i.onlySelf&&this._parent.markAsDirty(Qe(L({},i),{sourceControl:t})),e&&i.emitEvent!==!1&&this._events.next(new Vd(!1,t))}markAsPristine(i={}){let e=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let t=i.sourceControl??this;this._forEachChild(o=>{o.markAsPristine({onlySelf:!0,emitEvent:i.emitEvent})}),this._parent&&!i.onlySelf&&this._parent._updatePristine(i,t),e&&i.emitEvent!==!1&&this._events.next(new Vd(!0,t))}markAsPending(i={}){this.status=Vl;let e=i.sourceControl??this;i.emitEvent!==!1&&(this._events.next(new Bl(this.status,e)),this.statusChanges.emit(this.status)),this._parent&&!i.onlySelf&&this._parent.markAsPending(Qe(L({},i),{sourceControl:e}))}disable(i={}){let e=this._parentMarkedDirty(i.onlySelf);this.status=Nd,this.errors=null,this._forEachChild(o=>{o.disable(Qe(L({},i),{onlySelf:!0}))}),this._updateValue();let t=i.sourceControl??this;i.emitEvent!==!1&&(this._events.next(new Lh(this.value,t)),this._events.next(new Bl(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Qe(L({},i),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(o=>o(!0))}enable(i={}){let e=this._parentMarkedDirty(i.onlySelf);this.status=Fd,this._forEachChild(t=>{t.enable(Qe(L({},i),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:i.emitEvent}),this._updateAncestors(Qe(L({},i),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(i,e){this._parent&&!i.onlySelf&&(this._parent.updateValueAndValidity(i),i.skipPristineCheck||this._parent._updatePristine({},e),this._parent._updateTouched({},e))}setParent(i){this._parent=i}getRawValue(){return this.value}updateValueAndValidity(i={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let t=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Fd||this.status===Vl)&&this._runAsyncValidator(t,i.emitEvent)}let e=i.sourceControl??this;i.emitEvent!==!1&&(this._events.next(new Lh(this.value,e)),this._events.next(new Bl(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!i.onlySelf&&this._parent.updateValueAndValidity(Qe(L({},i),{sourceControl:e}))}_updateTreeValidity(i={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(i)),this.updateValueAndValidity({onlySelf:!0,emitEvent:i.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Nd:Fd}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(i,e){if(this.asyncValidator){this.status=Vl,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1};let t=DT(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(o=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(o,{emitEvent:e,shouldHaveEmitted:i})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let i=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,i}return!1}setErrors(i,e={}){this.errors=i,this._updateControlsErrors(e.emitEvent!==!1,this,e.shouldHaveEmitted)}get(i){let e=i;return e==null||(Array.isArray(e)||(e=e.split(".")),e.length===0)?null:e.reduce((t,o)=>t&&t._find(o),this)}getError(i,e){let t=e?this.get(e):this;return t&&t.errors?t.errors[i]:null}hasError(i,e){return!!this.getError(i,e)}get root(){let i=this;for(;i._parent;)i=i._parent;return i}_updateControlsErrors(i,e,t){this.status=this._calculateStatus(),i&&this.statusChanges.emit(this.status),(i||t)&&this._events.next(new Bl(this.status,e)),this._parent&&this._parent._updateControlsErrors(i,e,t)}_initObservables(){this.valueChanges=new T,this.statusChanges=new T}_calculateStatus(){return this._allControlsDisabled()?Nd:this.errors?Rh:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Vl)?Vl:this._anyControlsHaveStatus(Rh)?Rh:Fd}_anyControlsHaveStatus(i){return this._anyControls(e=>e.status===i)}_anyControlsDirty(){return this._anyControls(i=>i.dirty)}_anyControlsTouched(){return this._anyControls(i=>i.touched)}_updatePristine(i,e){let t=!this._anyControlsDirty(),o=this.pristine!==t;this.pristine=t,this._parent&&!i.onlySelf&&this._parent._updatePristine(i,e),o&&this._events.next(new Vd(this.pristine,e))}_updateTouched(i={},e){this.touched=this._anyControlsTouched(),this._events.next(new Bd(this.touched,e)),this._parent&&!i.onlySelf&&this._parent._updateTouched(i,e)}_onDisabledChange=[];_registerOnCollectionChange(i){this._onCollectionChange=i}_setUpdateStrategy(i){Gh(i)&&i.updateOn!=null&&(this._updateOn=i.updateOn)}_parentMarkedDirty(i){let e=this._parent&&this._parent.dirty;return!i&&!!e&&!this._parent._anyControlsDirty()}_find(i){return null}_assignValidators(i){this._rawValidators=Array.isArray(i)?i.slice():i,this._composedValidatorFn=bH(this._rawValidators)}_assignAsyncValidators(i){this._rawAsyncValidators=Array.isArray(i)?i.slice():i,this._composedAsyncValidatorFn=yH(this._rawAsyncValidators)}},Bh=class extends Vh{constructor(i,e,t){super(RT(e),OT(t,e)),this.controls=i,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(i,e){return this.controls[i]?this.controls[i]:(this.controls[i]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(i,e,t={}){this.registerControl(i,e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}removeControl(i,e={}){this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),delete this.controls[i],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(i,e,t={}){this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),delete this.controls[i],e&&this.registerControl(i,e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}contains(i){return this.controls.hasOwnProperty(i)&&this.controls[i].enabled}setValue(i,e={}){CH(this,!0,i),Object.keys(i).forEach(t=>{wH(this,!0,t),this.controls[t].setValue(i[t],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(i,e={}){i!=null&&(Object.keys(i).forEach(t=>{let o=this.controls[t];o&&o.patchValue(i[t],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(i={},e={}){this._forEachChild((t,o)=>{t.reset(i?i[o]:null,{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(i,e,t)=>(i[t]=e.getRawValue(),i))}_syncPendingControls(){let i=this._reduceChildren(!1,(e,t)=>t._syncPendingControls()?!0:e);return i&&this.updateValueAndValidity({onlySelf:!0}),i}_forEachChild(i){Object.keys(this.controls).forEach(e=>{let t=this.controls[e];t&&i(t,e)})}_setUpControls(){this._forEachChild(i=>{i.setParent(this),i._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(i){for(let[e,t]of Object.entries(this.controls))if(this.contains(e)&&i(t))return!0;return!1}_reduceValue(){let i={};return this._reduceChildren(i,(e,t,o)=>((t.enabled||this.disabled)&&(e[o]=t.value),e))}_reduceChildren(i,e){let t=i;return this._forEachChild((o,r)=>{t=e(t,o,r)}),t}_allControlsDisabled(){for(let i of Object.keys(this.controls))if(this.controls[i].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(i){return this.controls.hasOwnProperty(i)?this.controls[i]:null}};var jl=new R("CallSetDisabledState",{providedIn:"root",factory:()=>$h}),$h="always";function xH(n,i){return[...i.path,n]}function jd(n,i,e=$h){Ry(n,i),i.valueAccessor.writeValue(n.value),(n.disabled||e==="always")&&i.valueAccessor.setDisabledState?.(n.disabled),SH(n,i),MH(n,i),EH(n,i),DH(n,i)}function jh(n,i,e=!0){let t=()=>{};i.valueAccessor&&(i.valueAccessor.registerOnChange(t),i.valueAccessor.registerOnTouched(t)),Uh(n,i),n&&(i._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}))}function zh(n,i){n.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(i)})}function DH(n,i){if(i.valueAccessor.setDisabledState){let e=t=>{i.valueAccessor.setDisabledState(t)};n.registerOnDisabledChange(e),i._registerOnDestroy(()=>{n._unregisterOnDisabledChange(e)})}}function Ry(n,i){let e=kT(n);i.validator!==null?n.setValidators(mT(e,i.validator)):typeof e=="function"&&n.setValidators([e]);let t=AT(n);i.asyncValidator!==null?n.setAsyncValidators(mT(t,i.asyncValidator)):typeof t=="function"&&n.setAsyncValidators([t]);let o=()=>n.updateValueAndValidity();zh(i._rawValidators,o),zh(i._rawAsyncValidators,o)}function Uh(n,i){let e=!1;if(n!==null){if(i.validator!==null){let o=kT(n);if(Array.isArray(o)&&o.length>0){let r=o.filter(a=>a!==i.validator);r.length!==o.length&&(e=!0,n.setValidators(r))}}if(i.asyncValidator!==null){let o=AT(n);if(Array.isArray(o)&&o.length>0){let r=o.filter(a=>a!==i.asyncValidator);r.length!==o.length&&(e=!0,n.setAsyncValidators(r))}}}let t=()=>{};return zh(i._rawValidators,t),zh(i._rawAsyncValidators,t),e}function SH(n,i){i.valueAccessor.registerOnChange(e=>{n._pendingValue=e,n._pendingChange=!0,n._pendingDirty=!0,n.updateOn==="change"&&PT(n,i)})}function EH(n,i){i.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,n.updateOn==="blur"&&n._pendingChange&&PT(n,i),n.updateOn!=="submit"&&n.markAsTouched()})}function PT(n,i){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),i.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function MH(n,i){let e=(t,o)=>{i.valueAccessor.writeValue(t),o&&i.viewToModelUpdate(t)};n.registerOnChange(e),i._registerOnDestroy(()=>{n._unregisterOnChange(e)})}function FT(n,i){n==null,Ry(n,i)}function IH(n,i){return Uh(n,i)}function NT(n,i){if(!n.hasOwnProperty("model"))return!1;let e=n.model;return e.isFirstChange()?!0:!Object.is(i,e.currentValue)}function TH(n){return Object.getPrototypeOf(n.constructor)===bT}function LT(n,i){n._syncPendingControls(),i.forEach(e=>{let t=e.control;t.updateOn==="submit"&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function VT(n,i){if(!i)return null;Array.isArray(i);let e,t,o;return i.forEach(r=>{r.constructor===lt?e=r:TH(r)?t=r:o=r}),o||t||e||null}function kH(n,i){let e=n.indexOf(i);e>-1&&n.splice(e,1)}var AH={provide:Fr,useExisting:ln(()=>co)},Ld=Promise.resolve(),co=(()=>{class n extends Fr{callSetDisabledState;get submitted(){return Si(this.submittedReactive)}_submitted=Mr(()=>this.submittedReactive());submittedReactive=Mo(!1);_directives=new Set;form;ngSubmit=new T;options;constructor(e,t,o){super(),this.callSetDisabledState=o,this.form=new Bh({},ky(e),Ay(t))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){Ld.then(()=>{let t=this._findContainer(e.path);e.control=t.registerControl(e.name,e.control),jd(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){Ld.then(()=>{let t=this._findContainer(e.path);t&&t.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){Ld.then(()=>{let t=this._findContainer(e.path),o=new Bh({});FT(o,e),t.registerControl(e.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){Ld.then(()=>{let t=this._findContainer(e.path);t&&t.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,t){Ld.then(()=>{this.form.get(e.path).setValue(t)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submittedReactive.set(!0),LT(this.form,this._directives),this.ngSubmit.emit(e),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}static \u0275fac=function(t){return new(t||n)(C(lo,10),C(Hh,10),C(jl,8))};static \u0275dir=N({type:n,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,o){t&1&&b("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[ye([AH]),_e]})}return n})();function fT(n,i){let e=n.indexOf(i);e>-1&&n.splice(e,1)}function gT(n){return typeof n=="object"&&n!==null&&Object.keys(n).length===2&&"value"in n&&"disabled"in n}var qh=class extends Vh{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(i=null,e,t){super(RT(e),OT(t,e)),this._applyFormState(i),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Gh(e)&&(e.nonNullable||e.initialValueIsDefault)&&(gT(i)?this.defaultValue=i.value:this.defaultValue=i)}setValue(i,e={}){this.value=this._pendingValue=i,this._onChange.length&&e.emitModelToViewChange!==!1&&this._onChange.forEach(t=>t(this.value,e.emitViewToModelChange!==!1)),this.updateValueAndValidity(e)}patchValue(i,e={}){this.setValue(i,e)}reset(i=this.defaultValue,e={}){this._applyFormState(i),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(i){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(i){this._onChange.push(i)}_unregisterOnChange(i){fT(this._onChange,i)}registerOnDisabledChange(i){this._onDisabledChange.push(i)}_unregisterOnDisabledChange(i){fT(this._onDisabledChange,i)}_forEachChild(i){}_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(i){gT(i)?(this.value=this._pendingValue=i.value,i.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=i}};var RH=n=>n instanceof qh;var OH={provide:Ai,useExisting:ln(()=>xe)},_T=Promise.resolve(),xe=(()=>{class n extends Ai{_changeDetectorRef;callSetDisabledState;control=new qh;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new T;constructor(e,t,o,r,a,s){super(),this._changeDetectorRef=a,this.callSetDisabledState=s,this._parent=e,this._setValidators(t),this._setAsyncValidators(o),this.valueAccessor=VT(this,r)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){let t=e.name.previousValue;this.formDirective.removeControl({name:t,path:this._getPath(t)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),NT(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){jd(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(e){_T.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){let t=e.isDisabled.currentValue,o=t!==0&&G(t);_T.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?xH(e,this._parent):[e]}static \u0275fac=function(t){return new(t||n)(C(Fr,9),C(lo,10),C(Hh,10),C(bi,10),C(Ee,8),C(jl,8))};static \u0275dir=N({type:n,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"],standalone:!1,features:[ye([OH]),_e,Ze]})}return n})(),Yh=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return n})(),PH={provide:bi,useExisting:ln(()=>Gi),multi:!0},Gi=(()=>{class n extends bT{writeValue(e){let t=e??"";this.setProperty("value",t)}registerOnChange(e){this.onChange=t=>{e(t==""?null:parseFloat(t))}}static \u0275fac=(()=>{let e;return function(o){return(e||(e=at(n)))(o||n)}})();static \u0275dir=N({type:n,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(t,o){t&1&&b("input",function(a){return o.onChange(a.target.value)})("blur",function(){return o.onTouched()})},standalone:!1,features:[ye([PH]),_e]})}return n})();var BT=new R(""),FH={provide:Ai,useExisting:ln(()=>Oy)},Oy=(()=>{class n extends Ai{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(e){}model;update=new T;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(e,t,o,r,a){super(),this._ngModelWarningConfig=r,this.callSetDisabledState=a,this._setValidators(e),this._setAsyncValidators(t),this.valueAccessor=VT(this,o)}ngOnChanges(e){if(this._isControlChanged(e)){let t=e.form.previousValue;t&&jh(t,this,!1),jd(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}NT(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&jh(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}static \u0275fac=function(t){return new(t||n)(C(lo,10),C(Hh,10),C(bi,10),C(BT,8),C(jl,8))};static \u0275dir=N({type:n,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:!1,features:[ye([FH]),_e,Ze]})}return n})(),NH={provide:Fr,useExisting:ln(()=>Ea)},Ea=(()=>{class n extends Fr{callSetDisabledState;get submitted(){return Si(this._submittedReactive)}set submitted(e){this._submittedReactive.set(e)}_submitted=Mr(()=>this._submittedReactive());_submittedReactive=Mo(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];form=null;ngSubmit=new T;constructor(e,t,o){super(),this.callSetDisabledState=o,this._setValidators(e),this._setAsyncValidators(t)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Uh(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){let t=this.form.get(e.path);return jd(t,e,this.callSetDisabledState),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}getControl(e){return this.form.get(e.path)}removeControl(e){jh(e.control||null,e,!1),kH(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,t){this.form.get(e.path).setValue(t)}onSubmit(e){return this._submittedReactive.set(!0),LT(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new Iy(this.control)),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this._submittedReactive.set(!1),this.form._events.next(new Ty(this.form))}_updateDomValue(){this.directives.forEach(e=>{let t=e.control,o=this.form.get(e.path);t!==o&&(jh(t||null,e),RH(o)&&(jd(o,e,this.callSetDisabledState),e.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){let t=this.form.get(e.path);FT(t,e),t.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){let t=this.form.get(e.path);t&&IH(t,e)&&t.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Ry(this.form,this),this._oldForm&&Uh(this._oldForm,this)}_checkFormPresent(){this.form}static \u0275fac=function(t){return new(t||n)(C(lo,10),C(Hh,10),C(jl,8))};static \u0275dir=N({type:n,selectors:[["","formGroup",""]],hostBindings:function(t,o){t&1&&b("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[ye([NH]),_e,Ze]})}return n})();function LH(n){return typeof n=="number"?n:parseInt(n,10)}var jT=(()=>{class n{_validator=Oh;_onChange;_enabled;ngOnChanges(e){if(this.inputName in e){let t=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(t),this._validator=this._enabled?this.createValidator(t):Oh,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return e!=null}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,features:[Ze]})}return n})();var VH={provide:lo,useExisting:ln(()=>Nn),multi:!0};var Nn=(()=>{class n extends jT{required;inputName="required";normalizeInput=G;createValidator=e=>wT;enabled(e){return e}static \u0275fac=(()=>{let e;return function(o){return(e||(e=at(n)))(o||n)}})();static \u0275dir=N({type:n,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(t,o){t&2&&ee("required",o._enabled?"":null)},inputs:{required:"required"},standalone:!1,features:[ye([VH]),_e]})}return n})();var BH={provide:lo,useExisting:ln(()=>hs),multi:!0},hs=(()=>{class n extends jT{maxlength;inputName="maxlength";normalizeInput=e=>LH(e);createValidator=e=>CT(e);static \u0275fac=(()=>{let e;return function(o){return(e||(e=at(n)))(o||n)}})();static \u0275dir=N({type:n,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(t,o){t&2&&ee("maxlength",o._enabled?o.maxlength:null)},inputs:{maxlength:"maxlength"},standalone:!1,features:[ye([BH]),_e]})}return n})();var zT=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({})}return n})();var UT=(()=>{class n{static withConfig(e){return{ngModule:n,providers:[{provide:jl,useValue:e.callSetDisabledState??$h}]}}static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({imports:[zT]})}return n})(),Qh=(()=>{class n{static withConfig(e){return{ngModule:n,providers:[{provide:BT,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:jl,useValue:e.callSetDisabledState??$h}]}}static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({imports:[zT]})}return n})();var Py=class{_box;_destroyed=new j;_resizeSubject=new j;_resizeObserver;_elementObservables=new Map;constructor(i){this._box=i,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(e=>this._resizeSubject.next(e)))}observe(i){return this._elementObservables.has(i)||this._elementObservables.set(i,new Fe(e=>{let t=this._resizeSubject.subscribe(e);return this._resizeObserver?.observe(i,{box:this._box}),()=>{this._resizeObserver?.unobserve(i),t.unsubscribe(),this._elementObservables.delete(i)}}).pipe(je(e=>e.some(t=>t.target===i)),zu({bufferSize:1,refCount:!0}),pe(this._destroyed))),this._elementObservables.get(i)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},Kh=(()=>{class n{_observers=new Map;_ngZone=h(te);constructor(){typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,e]of this._observers)e.destroy();this._observers.clear(),typeof ResizeObserver<"u"}observe(e,t){let o=t?.box||"content-box";return this._observers.has(o)||this._observers.set(o,new Py(o)),this._observers.get(o).observe(e)}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var Vy=["*"];function jH(n,i){n&1&&re(0)}var zH=["tabListContainer"],UH=["tabList"],HH=["tabListInner"],WH=["nextPaginator"],GH=["previousPaginator"],$H=n=>({animationDuration:n}),qH=(n,i)=>({value:n,params:i});function YH(n,i){}var QH=["tabBodyWrapper"],KH=["tabHeader"];function ZH(n,i){}function XH(n,i){if(n&1&&x(0,ZH,0,0,"ng-template",12),n&2){let e=_().$implicit;p("cdkPortalOutlet",e.templateLabel)}}function JH(n,i){if(n&1&&f(0),n&2){let e=_().$implicit;Ge(e.textLabel)}}function e5(n,i){if(n&1){let e=k();c(0,"div",7,2),b("click",function(){let o=y(e),r=o.$implicit,a=o.$index,s=_(),l=be(1);return w(s._handleClick(r,l,a))})("cdkFocusChange",function(o){let r=y(e).$index,a=_();return w(a._tabFocusChanged(o,r))}),M(2,"span",8)(3,"div",9),c(4,"span",10)(5,"span",11),x(6,XH,1,1,null,12)(7,JH,1,1),d()()()}if(n&2){let e=i.$implicit,t=i.$index,o=be(1),r=_();Yt(e.labelClass),ne("mdc-tab--active",r.selectedIndex===t),p("id",r._getTabLabelId(t))("disabled",e.disabled)("fitInkBarToContent",r.fitInkBarToContent),ee("tabIndex",r._getTabIndex(t))("aria-posinset",t+1)("aria-setsize",r._tabs.length)("aria-controls",r._getTabContentId(t))("aria-selected",r.selectedIndex===t)("aria-label",e.ariaLabel||null)("aria-labelledby",!e.ariaLabel&&e.ariaLabelledby?e.ariaLabelledby:null),u(3),p("matRippleTrigger",o)("matRippleDisabled",e.disabled||r.disableRipple),u(3),Ce(e.templateLabel?6:7)}}function t5(n,i){n&1&&re(0)}function n5(n,i){if(n&1){let e=k();c(0,"mat-tab-body",13),b("_onCentered",function(){y(e);let o=_();return w(o._removeTabBodyWrapperHeight())})("_onCentering",function(o){y(e);let r=_();return w(r._setTabBodyWrapperHeight(o))}),d()}if(n&2){let e=i.$implicit,t=i.$index,o=_();Yt(e.bodyClass),ne("mat-mdc-tab-body-active",o.selectedIndex===t),p("id",o._getTabContentId(t))("content",e.content)("position",e.position)("origin",e.origin)("animationDuration",o.animationDuration)("preserveContent",o.preserveContent),ee("tabindex",o.contentTabIndex!=null&&o.selectedIndex===t?o.contentTabIndex:null)("aria-labelledby",o._getTabLabelId(t))("aria-hidden",o.selectedIndex!==t)}}var i5=new R("MatTabContent"),o5=(()=>{class n{template=h(wt);constructor(){}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["","matTabContent",""]],features:[ye([{provide:i5,useExisting:n}])]})}return n})(),r5=new R("MatTabLabel"),GT=new R("MAT_TAB"),Jt=(()=>{class n extends r1{_closestTab=h(GT,{optional:!0});static \u0275fac=(()=>{let e;return function(o){return(e||(e=at(n)))(o||n)}})();static \u0275dir=N({type:n,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[ye([{provide:r5,useExisting:n}]),_e]})}return n})(),$T=new R("MAT_TAB_GROUP"),en=(()=>{class n{_viewContainerRef=h(kt);_closestTabGroup=h($T,{optional:!0});disabled=!1;get templateLabel(){return this._templateLabel}set templateLabel(e){this._setTemplateLabelInput(e)}_templateLabel;_explicitContent=void 0;_implicitContent;textLabel="";ariaLabel;ariaLabelledby;labelClass;bodyClass;_contentPortal=null;get content(){return this._contentPortal}_stateChanges=new j;position=null;origin=null;isActive=!1;constructor(){h(Mt).load(Dn)}ngOnChanges(e){(e.hasOwnProperty("textLabel")||e.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new On(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(e){e&&e._closestTab===this&&(this._templateLabel=e)}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["mat-tab"]],contentQueries:function(t,o,r){if(t&1&&(He(r,Jt,5),He(r,o5,7,wt)),t&2){let a;$(a=q())&&(o.templateLabel=a.first),$(a=q())&&(o._explicitContent=a.first)}},viewQuery:function(t,o){if(t&1&&se(wt,7),t&2){let r;$(r=q())&&(o._implicitContent=r.first)}},hostAttrs:["hidden",""],inputs:{disabled:[2,"disabled","disabled",G],textLabel:[0,"label","textLabel"],ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],features:[ye([{provide:GT,useExisting:n}]),ce,Ze],ngContentSelectors:Vy,decls:1,vars:0,template:function(t,o){t&1&&(We(),x(0,jH,1,0,"ng-template"))},encapsulation:2})}return n})(),Fy="mdc-tab-indicator--active",HT="mdc-tab-indicator--no-transition",Ny=class{_items;_currentItem;constructor(i){this._items=i}hide(){this._items.forEach(i=>i.deactivateInkBar())}alignToElement(i){let e=this._items.find(o=>o.elementRef.nativeElement===i),t=this._currentItem;if(e!==t&&(t?.deactivateInkBar(),e)){let o=t?.elementRef.nativeElement.getBoundingClientRect?.();e.activateInkBar(o),this._currentItem=e}}},a5=(()=>{class n{_elementRef=h(Q);_inkBarElement;_inkBarContentElement;_fitToContent=!1;get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(e){this._fitToContent!==e&&(this._fitToContent=e,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(e){let t=this._elementRef.nativeElement;if(!e||!t.getBoundingClientRect||!this._inkBarContentElement){t.classList.add(Fy);return}let o=t.getBoundingClientRect(),r=e.width/o.width,a=e.left-o.left;t.classList.add(HT),this._inkBarContentElement.style.setProperty("transform",`translateX(${a}px) scaleX(${r})`),t.getBoundingClientRect(),t.classList.remove(HT),t.classList.add(Fy),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this._elementRef.nativeElement.classList.remove(Fy)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){let e=this._elementRef.nativeElement.ownerDocument||document,t=this._inkBarElement=e.createElement("span"),o=this._inkBarContentElement=e.createElement("span");t.className="mdc-tab-indicator",o.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",t.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){this._inkBarElement;let e=this._fitToContent?this._elementRef.nativeElement.querySelector(".mdc-tab__content"):this._elementRef.nativeElement;e.appendChild(this._inkBarElement)}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,inputs:{fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",G]},features:[ce]})}return n})();var qT=(()=>{class n extends a5{elementRef=h(Q);disabled=!1;focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}static \u0275fac=(()=>{let e;return function(o){return(e||(e=at(n)))(o||n)}})();static \u0275dir=N({type:n,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(t,o){t&2&&(ee("aria-disabled",!!o.disabled),ne("mat-mdc-tab-disabled",o.disabled))},inputs:{disabled:[2,"disabled","disabled",G]},features:[ce,_e]})}return n})(),WT=Wn({passive:!0}),s5=650,l5=100,c5=(()=>{class n{_elementRef=h(Q);_changeDetectorRef=h(Ee);_viewportRuler=h(Ii);_dir=h(jt,{optional:!0});_ngZone=h(te);_platform=h(rt);_animationMode=h($t,{optional:!0});_scrollDistance=0;_selectedIndexChanged=!1;_destroyed=new j;_showPaginationControls=!1;_disableScrollAfter=!0;_disableScrollBefore=!0;_tabLabelCount;_scrollDistanceChanged;_keyManager;_currentTextContent;_stopScrolling=new j;disablePagination=!1;get selectedIndex(){return this._selectedIndex}set selectedIndex(e){let t=isNaN(e)?0:e;this._selectedIndex!=t&&(this._selectedIndexChanged=!0,this._selectedIndex=t,this._keyManager&&this._keyManager.updateActiveItem(t))}_selectedIndex=0;selectFocusedIndex=new T;indexFocused=new T;_sharedResizeObserver=h(Kh);_injector=h(Ae);constructor(){this._ngZone.runOutsideAngular(()=>{mi(this._elementRef.nativeElement,"mouseleave").pipe(pe(this._destroyed)).subscribe(()=>this._stopInterval())})}ngAfterViewInit(){mi(this._previousPaginator.nativeElement,"touchstart",WT).pipe(pe(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),mi(this._nextPaginator.nativeElement,"touchstart",WT).pipe(pe(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){let e=this._dir?this._dir.change:ie("ltr"),t=this._sharedResizeObserver.observe(this._elementRef.nativeElement).pipe(ur(32),pe(this._destroyed)),o=this._viewportRuler.change(150).pipe(pe(this._destroyed)),r=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new ga(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),nn(r,{injector:this._injector}),yt(e,o,t,this._items.changes,this._itemsResized()).pipe(pe(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),r()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(a=>{this.indexFocused.emit(a),this._setTabFocus(a)})}_itemsResized(){return typeof ResizeObserver!="function"?kn:this._items.changes.pipe(Et(this._items),Tt(e=>new Fe(t=>this._ngZone.runOutsideAngular(()=>{let o=new ResizeObserver(r=>t.next(r));return e.forEach(r=>o.observe(r.elementRef.nativeElement)),()=>{o.disconnect()}}))),ja(1),je(e=>e.some(t=>t.contentRect.width>0&&t.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(e){if(!Ot(e))switch(e.keyCode){case 13:case 32:if(this.focusIndex!==this.selectedIndex){let t=this._items.get(this.focusIndex);t&&!t.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(e))}break;default:this._keyManager.onKeydown(e)}}_onContentChanges(){let e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(e){!this._isValidIndex(e)||this.focusIndex===e||!this._keyManager||this._keyManager.setActiveItem(e)}_isValidIndex(e){return this._items?!!this._items.toArray()[e]:!0}_setTabFocus(e){if(this._showPaginationControls&&this._scrollToLabel(e),this._items&&this._items.length){this._items.toArray()[e].focus();let t=this._tabListContainer.nativeElement;this._getLayoutDirection()=="ltr"?t.scrollLeft=0:t.scrollLeft=t.scrollWidth-t.offsetWidth}}_getLayoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;let e=this.scrollDistance,t=this._getLayoutDirection()==="ltr"?-e:e;this._tabList.nativeElement.style.transform=`translateX(${Math.round(t)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(e){this._scrollTo(e)}_scrollHeader(e){let t=this._tabListContainer.nativeElement.offsetWidth,o=(e=="before"?-1:1)*t/3;return this._scrollTo(this._scrollDistance+o)}_handlePaginatorClick(e){this._stopInterval(),this._scrollHeader(e)}_scrollToLabel(e){if(this.disablePagination)return;let t=this._items?this._items.toArray()[e]:null;if(!t)return;let o=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:r,offsetWidth:a}=t.elementRef.nativeElement,s,l;this._getLayoutDirection()=="ltr"?(s=r,l=s+a):(l=this._tabListInner.nativeElement.offsetWidth-r,s=l-a);let m=this.scrollDistance,g=this.scrollDistance+o;sg&&(this.scrollDistance+=Math.min(l-g,s-m))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{let e=this._tabListInner.nativeElement.scrollWidth,t=this._elementRef.nativeElement.offsetWidth,o=e-t>=5;o||(this.scrollDistance=0),o!==this._showPaginationControls&&(this._showPaginationControls=o,this._changeDetectorRef.markForCheck())}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=this.scrollDistance==0,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){let e=this._tabListInner.nativeElement.scrollWidth,t=this._tabListContainer.nativeElement.offsetWidth;return e-t||0}_alignInkBarToSelectedTab(){let e=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,t=e?e.elementRef.nativeElement:null;t?this._inkBar.alignToElement(t):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(e,t){t&&t.button!=null&&t.button!==0||(this._stopInterval(),yo(s5,l5).pipe(pe(yt(this._stopScrolling,this._destroyed))).subscribe(()=>{let{maxScrollDistance:o,distance:r}=this._scrollHeader(e);(r===0||r>=o)&&this._stopInterval()}))}_scrollTo(e){if(this.disablePagination)return{maxScrollDistance:0,distance:0};let t=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(t,e)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:t,distance:this._scrollDistance}}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,inputs:{disablePagination:[2,"disablePagination","disablePagination",G],selectedIndex:[2,"selectedIndex","selectedIndex",on]},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[ce]})}return n})(),d5=(()=>{class n extends c5{_items;_tabListContainer;_tabList;_tabListInner;_nextPaginator;_previousPaginator;_inkBar;ariaLabel;ariaLabelledby;disableRipple=!1;ngAfterContentInit(){this._inkBar=new Ny(this._items),super.ngAfterContentInit()}_itemSelected(e){e.preventDefault()}static \u0275fac=(()=>{let e;return function(o){return(e||(e=at(n)))(o||n)}})();static \u0275cmp=E({type:n,selectors:[["mat-tab-header"]],contentQueries:function(t,o,r){if(t&1&&He(r,qT,4),t&2){let a;$(a=q())&&(o._items=a)}},viewQuery:function(t,o){if(t&1&&(se(zH,7),se(UH,7),se(HH,7),se(WH,5),se(GH,5)),t&2){let r;$(r=q())&&(o._tabListContainer=r.first),$(r=q())&&(o._tabList=r.first),$(r=q())&&(o._tabListInner=r.first),$(r=q())&&(o._nextPaginator=r.first),$(r=q())&&(o._previousPaginator=r.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(t,o){t&2&&ne("mat-mdc-tab-header-pagination-controls-enabled",o._showPaginationControls)("mat-mdc-tab-header-rtl",o._getLayoutDirection()=="rtl")},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],disableRipple:[2,"disableRipple","disableRipple",G]},features:[ce,_e],ngContentSelectors:Vy,decls:13,vars:10,consts:[["previousPaginator",""],["tabListContainer",""],["tabList",""],["tabListInner",""],["nextPaginator",""],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"click","mousedown","touchend","matRippleDisabled"],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],[1,"mat-mdc-tab-labels"],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"mousedown","click","touchend","matRippleDisabled"]],template:function(t,o){if(t&1){let r=k();We(),c(0,"div",5,0),b("click",function(){return y(r),w(o._handlePaginatorClick("before"))})("mousedown",function(s){return y(r),w(o._handlePaginatorPress("before",s))})("touchend",function(){return y(r),w(o._stopInterval())}),M(2,"div",6),d(),c(3,"div",7,1),b("keydown",function(s){return y(r),w(o._handleKeydown(s))}),c(5,"div",8,2),b("cdkObserveContent",function(){return y(r),w(o._onContentChanges())}),c(7,"div",9,3),re(9),d()()(),c(10,"div",10,4),b("mousedown",function(s){return y(r),w(o._handlePaginatorPress("after",s))})("click",function(){return y(r),w(o._handlePaginatorClick("after"))})("touchend",function(){return y(r),w(o._stopInterval())}),M(12,"div",6),d()}t&2&&(ne("mat-mdc-tab-header-pagination-disabled",o._disableScrollBefore),p("matRippleDisabled",o._disableScrollBefore||o.disableRipple),u(3),ne("_mat-animation-noopable",o._animationMode==="NoopAnimations"),u(2),ee("aria-label",o.ariaLabel||null)("aria-labelledby",o.ariaLabelledby||null),u(5),ne("mat-mdc-tab-header-pagination-disabled",o._disableScrollAfter),p("matRippleDisabled",o._disableScrollAfter||o.disableRipple))},dependencies:[so,l1],styles:[".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;outline:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-header-pagination-icon-color, var(--mat-sys-on-surface))}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1;border-bottom-style:solid;border-bottom-width:var(--mat-tab-header-divider-height, 1px);border-bottom-color:var(--mat-tab-header-divider-color, var(--mat-sys-surface-variant))}.mat-mdc-tab-group-inverted-header .mat-mdc-tab-label-container{border-bottom:none;border-top-style:solid;border-top-width:var(--mat-tab-header-divider-height, 1px);border-top-color:var(--mat-tab-header-divider-color, var(--mat-sys-surface-variant))}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.cdk-drop-list .mat-mdc-tab-labels,.mat-mdc-tab-labels.cdk-drop-list{min-height:var(--mdc-secondary-navigation-tab-container-height, 48px)}.mat-mdc-tab::before{margin:5px}@media(forced-colors: active){.mat-mdc-tab[aria-disabled=true]{color:GrayText}}"],encapsulation:2})}return n})(),u5=new R("MAT_TABS_CONFIG"),m5={translateTab:mn("translateTab",[Ft("center, void, left-origin-center, right-origin-center",Me({transform:"none",visibility:"visible"})),Ft("left",Me({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),Ft("right",Me({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),xt("* => left, * => right, left => center, right => center",It("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),xt("void => left-origin-center",[Me({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),It("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),xt("void => right-origin-center",[Me({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),It("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])},p5=(()=>{class n extends si{_host=h(YT);_centeringSub=ge.EMPTY;_leavingSub=ge.EMPTY;constructor(){super()}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(Et(this._host._isCenterPosition(this._host._position))).subscribe(e=>{this._host._content&&e&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["","matTabBodyHost",""]],features:[_e]})}return n})(),YT=(()=>{class n{_elementRef=h(Q);_dir=h(jt,{optional:!0});_positionIndex;_dirChangeSubscription=ge.EMPTY;_position;_translateTabComplete=new j;_onCentering=new T;_beforeCentering=new T;_afterLeavingCenter=new T;_onCentered=new T(!0);_portalHost;_content;origin;animationDuration="500ms";preserveContent=!1;set position(e){this._positionIndex=e,this._computePositionAnimationState()}constructor(){if(this._dir){let e=h(Ee);this._dirChangeSubscription=this._dir.change.subscribe(t=>{this._computePositionAnimationState(t),e.markForCheck()})}this._translateTabComplete.subscribe(e=>{this._isCenterPosition(e.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(e.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}ngOnInit(){this._position=="center"&&this.origin!=null&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(e){let t=this._isCenterPosition(e.toState);this._beforeCentering.emit(t),t&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_isCenterPosition(e){return e=="center"||e=="left-origin-center"||e=="right-origin-center"}_computePositionAnimationState(e=this._getLayoutDirection()){this._positionIndex<0?this._position=e=="ltr"?"left":"right":this._positionIndex>0?this._position=e=="ltr"?"right":"left":this._position="center"}_computePositionFromOrigin(e){let t=this._getLayoutDirection();return t=="ltr"&&e<=0||t=="rtl"&&e>0?"left-origin-center":"right-origin-center"}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["mat-tab-body"]],viewQuery:function(t,o){if(t&1&&se(si,5),t&2){let r;$(r=q())&&(o._portalHost=r.first)}},hostAttrs:[1,"mat-mdc-tab-body"],inputs:{_content:[0,"content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"},decls:3,vars:6,consts:[["content",""],["cdkScrollable","",1,"mat-mdc-tab-body-content"],["matTabBodyHost",""]],template:function(t,o){if(t&1){let r=k();c(0,"div",1,0),b("@translateTab.start",function(s){return y(r),w(o._onTranslateTabStarted(s))})("@translateTab.done",function(s){return y(r),w(o._translateTabComplete.next(s))}),x(2,YH,0,0,"ng-template",2),d()}t&2&&p("@translateTab",al(3,qH,o._position,Un(1,$H,o.animationDuration)))},dependencies:[p5,vd],styles:['.mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-mdc-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[m5.translateTab]}})}return n})(),h5=!0,rn=(()=>{class n{_elementRef=h(Q);_changeDetectorRef=h(Ee);_animationMode=h($t,{optional:!0});_allTabs;_tabBodyWrapper;_tabHeader;_tabs=new Ji;_indexToSelect=0;_lastFocusedTabIndex=null;_tabBodyWrapperHeight=0;_tabsSubscription=ge.EMPTY;_tabLabelSubscription=ge.EMPTY;color;get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(e){this._fitInkBarToContent=e,this._changeDetectorRef.markForCheck()}_fitInkBarToContent=!1;stretchTabs=!0;alignTabs=null;dynamicHeight=!1;get selectedIndex(){return this._selectedIndex}set selectedIndex(e){this._indexToSelect=isNaN(e)?null:e}_selectedIndex=null;headerPosition="above";get animationDuration(){return this._animationDuration}set animationDuration(e){let t=e+"";this._animationDuration=/^\d+$/.test(t)?e+"ms":t}_animationDuration;get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(e){this._contentTabIndex=isNaN(e)?null:e}_contentTabIndex;disablePagination=!1;disableRipple=!1;preserveContent=!1;get backgroundColor(){return this._backgroundColor}set backgroundColor(e){if(!h5)throw new Error("mat-tab-group background color must be set through the Sass theming API");let t=this._elementRef.nativeElement.classList;t.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),e&&t.add("mat-tabs-with-background",`mat-background-${e}`),this._backgroundColor=e}_backgroundColor;ariaLabel;ariaLabelledby;selectedIndexChange=new T;focusChange=new T;animationDone=new T;selectedTabChange=new T(!0);_groupId;_isServer=!h(rt).isBrowser;constructor(){let e=h(u5,{optional:!0});this._groupId=h(ft).getId("mat-tab-group-"),this.animationDuration=e&&e.animationDuration?e.animationDuration:"500ms",this.disablePagination=e&&e.disablePagination!=null?e.disablePagination:!1,this.dynamicHeight=e&&e.dynamicHeight!=null?e.dynamicHeight:!1,e?.contentTabIndex!=null&&(this.contentTabIndex=e.contentTabIndex),this.preserveContent=!!e?.preserveContent,this.fitInkBarToContent=e&&e.fitInkBarToContent!=null?e.fitInkBarToContent:!1,this.stretchTabs=e&&e.stretchTabs!=null?e.stretchTabs:!0,this.alignTabs=e&&e.alignTabs!=null?e.alignTabs:null}ngAfterContentChecked(){let e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){let t=this._selectedIndex==null;if(!t){this.selectedTabChange.emit(this._createChangeEvent(e));let o=this._tabBodyWrapper.nativeElement;o.style.minHeight=o.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((o,r)=>o.isActive=r===e),t||(this.selectedIndexChange.emit(e),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((t,o)=>{t.position=o-e,this._selectedIndex!=null&&t.position==0&&!t.origin&&(t.origin=e-this._selectedIndex)}),this._selectedIndex!==e&&(this._selectedIndex=e,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{let e=this._clampTabIndex(this._indexToSelect);if(e===this._selectedIndex){let t=this._tabs.toArray(),o;for(let r=0;r{t[e].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(e))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe(Et(this._allTabs)).subscribe(e=>{this._tabs.reset(e.filter(t=>t._closestTabGroup===this||!t._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(e){let t=this._tabHeader;t&&(t.focusIndex=e)}_focusChanged(e){this._lastFocusedTabIndex=e,this.focusChange.emit(this._createChangeEvent(e))}_createChangeEvent(e){let t=new Ly;return t.index=e,this._tabs&&this._tabs.length&&(t.tab=this._tabs.toArray()[e]),t}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=yt(...this._tabs.map(e=>e._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(e){return Math.min(this._tabs.length-1,Math.max(e||0,0))}_getTabLabelId(e){return`${this._groupId}-label-${e}`}_getTabContentId(e){return`${this._groupId}-content-${e}`}_setTabBodyWrapperHeight(e){if(!this.dynamicHeight||!this._tabBodyWrapperHeight)return;let t=this._tabBodyWrapper.nativeElement;t.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(t.style.height=e+"px")}_removeTabBodyWrapperHeight(){let e=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=e.clientHeight,e.style.height="",this.animationDone.emit()}_handleClick(e,t,o){t.focusIndex=o,e.disabled||(this.selectedIndex=o)}_getTabIndex(e){let t=this._lastFocusedTabIndex??this.selectedIndex;return e===t?0:-1}_tabFocusChanged(e,t){e&&e!=="mouse"&&e!=="touch"&&(this._tabHeader.focusIndex=t)}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["mat-tab-group"]],contentQueries:function(t,o,r){if(t&1&&He(r,en,5),t&2){let a;$(a=q())&&(o._allTabs=a)}},viewQuery:function(t,o){if(t&1&&(se(QH,5),se(KH,5)),t&2){let r;$(r=q())&&(o._tabBodyWrapper=r.first),$(r=q())&&(o._tabHeader=r.first)}},hostAttrs:[1,"mat-mdc-tab-group"],hostVars:11,hostBindings:function(t,o){t&2&&(ee("mat-align-tabs",o.alignTabs),Yt("mat-"+(o.color||"primary")),zn("--mat-tab-animation-duration",o.animationDuration),ne("mat-mdc-tab-group-dynamic-height",o.dynamicHeight)("mat-mdc-tab-group-inverted-header",o.headerPosition==="below")("mat-mdc-tab-group-stretch-tabs",o.stretchTabs))},inputs:{color:"color",fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",G],stretchTabs:[2,"mat-stretch-tabs","stretchTabs",G],alignTabs:[0,"mat-align-tabs","alignTabs"],dynamicHeight:[2,"dynamicHeight","dynamicHeight",G],selectedIndex:[2,"selectedIndex","selectedIndex",on],headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:[2,"contentTabIndex","contentTabIndex",on],disablePagination:[2,"disablePagination","disablePagination",G],disableRipple:[2,"disableRipple","disableRipple",G],preserveContent:[2,"preserveContent","preserveContent",G],backgroundColor:"backgroundColor",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"]},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},exportAs:["matTabGroup"],features:[ye([{provide:$T,useExisting:n}]),ce],ngContentSelectors:Vy,decls:9,vars:8,consts:[["tabHeader",""],["tabBodyWrapper",""],["tabNode",""],[3,"indexFocused","selectFocusedIndex","selectedIndex","disableRipple","disablePagination","aria-label","aria-labelledby"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-focus-indicator",3,"id","mdc-tab--active","class","disabled","fitInkBarToContent"],[1,"mat-mdc-tab-body-wrapper"],["role","tabpanel",3,"id","mat-mdc-tab-body-active","class","content","position","origin","animationDuration","preserveContent"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-focus-indicator",3,"click","cdkFocusChange","id","disabled","fitInkBarToContent"],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"cdkPortalOutlet"],["role","tabpanel",3,"_onCentered","_onCentering","id","content","position","origin","animationDuration","preserveContent"]],template:function(t,o){if(t&1){let r=k();We(),c(0,"mat-tab-header",3,0),b("indexFocused",function(s){return y(r),w(o._focusChanged(s))})("selectFocusedIndex",function(s){return y(r),w(o.selectedIndex=s)}),Dr(2,e5,8,17,"div",4,Nc),d(),x(4,t5,1,0),c(5,"div",5,1),Dr(7,n5,1,13,"mat-tab-body",6,Nc),d()}t&2&&(p("selectedIndex",o.selectedIndex||0)("disableRipple",o.disableRipple)("disablePagination",o.disablePagination)("aria-label",o.ariaLabel)("aria-labelledby",o.ariaLabelledby),u(2),Sr(o._tabs),u(2),Ce(o._isServer?4:-1),u(),ne("_mat-animation-noopable",o._animationMode==="NoopAnimations"),u(2),Sr(o._tabs))},dependencies:[d5,qT,ph,so,si,YT],styles:['.mdc-tab{min-width:90px;padding:0 24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;z-index:1}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab--active .mdc-tab__text-label{transition-delay:100ms}._mat-animation-noopable .mdc-tab__text-label{transition:none}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transition:var(--mat-tab-animation-duration, 250ms) transform cubic-bezier(0.4, 0, 0.2, 1);transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}._mat-animation-noopable .mdc-tab-indicator__content,.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mat-mdc-tab-ripple.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;height:var(--mdc-secondary-navigation-tab-container-height, 48px);font-family:var(--mat-tab-header-label-text-font, var(--mat-sys-title-small-font));font-size:var(--mat-tab-header-label-text-size, var(--mat-sys-title-small-size));letter-spacing:var(--mat-tab-header-label-text-tracking, var(--mat-sys-title-small-tracking));line-height:var(--mat-tab-header-label-text-line-height, var(--mat-sys-title-small-line-height));font-weight:var(--mat-tab-header-label-text-weight, var(--mat-sys-title-small-weight))}.mat-mdc-tab.mdc-tab{flex-grow:0}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color, var(--mat-sys-primary));border-top-width:var(--mdc-tab-indicator-active-indicator-height, 2px);border-radius:var(--mdc-tab-indicator-active-indicator-shape, 0)}.mat-mdc-tab:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color, var(--mat-sys-primary))}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color, var(--mat-sys-primary))}.mat-mdc-tab.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color, var(--mat-sys-on-surface));display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-focus-indicator::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}'],encapsulation:2})}return n})(),Ly=class{index;tab};var QT=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({imports:[me,me]})}return n})();function f5(n,i){if(n&1){let e=k();c(0,"uds-field-text",2),b("changed",function(o){y(e);let r=_();return w(r.changed.emit(o))}),d()}if(n&2){let e=_();p("field",e.field)}}function g5(n,i){if(n&1){let e=k();c(0,"uds-field-autocomplete",2),b("changed",function(o){y(e);let r=_();return w(r.changed.emit(o))}),d()}if(n&2){let e=_();p("field",e.field)}}function _5(n,i){if(n&1){let e=k();c(0,"uds-field-textbox",2),b("changed",function(o){y(e);let r=_();return w(r.changed.emit(o))}),d()}if(n&2){let e=_();p("field",e.field)}}function v5(n,i){if(n&1){let e=k();c(0,"uds-field-numeric",2),b("changed",function(o){y(e);let r=_();return w(r.changed.emit(o))}),d()}if(n&2){let e=_();p("field",e.field)}}function b5(n,i){if(n&1){let e=k();c(0,"uds-field-password",2),b("changed",function(o){y(e);let r=_();return w(r.changed.emit(o))}),d()}if(n&2){let e=_();p("field",e.field)}}function y5(n,i){if(n&1){let e=k();c(0,"uds-field-hidden",2),b("changed",function(o){y(e);let r=_();return w(r.changed.emit(o))}),d()}if(n&2){let e=_();p("field",e.field)}}function w5(n,i){if(n&1){let e=k();c(0,"uds-field-choice",2),b("changed",function(o){y(e);let r=_();return w(r.changed.emit(o))}),d()}if(n&2){let e=_();p("field",e.field)}}function C5(n,i){if(n&1){let e=k();c(0,"uds-field-multichoice",2),b("changed",function(o){y(e);let r=_();return w(r.changed.emit(o))}),d()}if(n&2){let e=_();p("field",e.field)}}function x5(n,i){if(n&1){let e=k();c(0,"uds-field-editlist",2),b("changed",function(o){y(e);let r=_();return w(r.changed.emit(o))}),d()}if(n&2){let e=_();p("field",e.field)}}function D5(n,i){if(n&1){let e=k();c(0,"uds-field-checkbox",2),b("changed",function(o){y(e);let r=_();return w(r.changed.emit(o))}),d()}if(n&2){let e=_();p("field",e.field)}}function S5(n,i){if(n&1){let e=k();c(0,"uds-field-imgchoice",2),b("changed",function(o){y(e);let r=_();return w(r.changed.emit(o))}),d()}if(n&2){let e=_();p("field",e.field)}}function E5(n,i){if(n&1){let e=k();c(0,"uds-field-date",2),b("changed",function(o){y(e);let r=_();return w(r.changed.emit(o))}),d()}if(n&2){let e=_();p("field",e.field)}}function M5(n,i){if(n&1){let e=k();c(0,"uds-field-tags",2),b("changed",function(o){y(e);let r=_();return w(r.changed.emit(o))}),d()}if(n&2){let e=_();p("field",e.field)}}var Zh=(()=>{let i=class i{constructor(){this.field={},this.changed=new T,this.udsGuiFieldType=Xn}ngOnInit(){}};i.\u0275fac=function(o){return new(o||i)},i.\u0275cmp=E({type:i,selectors:[["uds-field"]],inputs:{field:"field"},outputs:{changed:"changed"},standalone:!1,decls:14,vars:15,consts:[["matTooltipShowDelay","1000",1,"field",3,"ngSwitch","matTooltip"],[3,"field","changed",4,"ngSwitchCase"],[3,"changed","field"]],template:function(o,r){o&1&&(c(0,"div",0),x(1,f5,1,1,"uds-field-text",1)(2,g5,1,1,"uds-field-autocomplete",1)(3,_5,1,1,"uds-field-textbox",1)(4,v5,1,1,"uds-field-numeric",1)(5,b5,1,1,"uds-field-password",1)(6,y5,1,1,"uds-field-hidden",1)(7,w5,1,1,"uds-field-choice",1)(8,C5,1,1,"uds-field-multichoice",1)(9,x5,1,1,"uds-field-editlist",1)(10,D5,1,1,"uds-field-checkbox",1)(11,S5,1,1,"uds-field-imgchoice",1)(12,E5,1,1,"uds-field-date",1)(13,M5,1,1,"uds-field-tags",1),d()),o&2&&(p("ngSwitch",r.field.gui.type)("matTooltip",r.field.gui.tooltip),u(),p("ngSwitchCase",r.udsGuiFieldType.TEXT),u(),p("ngSwitchCase",r.udsGuiFieldType.TEXT_AUTOCOMPLETE),u(),p("ngSwitchCase",r.udsGuiFieldType.TEXTBOX),u(),p("ngSwitchCase",r.udsGuiFieldType.NUMERIC),u(),p("ngSwitchCase",r.udsGuiFieldType.PASSWORD),u(),p("ngSwitchCase",r.udsGuiFieldType.HIDDEN),u(),p("ngSwitchCase",r.udsGuiFieldType.CHOICE),u(),p("ngSwitchCase",r.udsGuiFieldType.MULTI_CHOICE),u(),p("ngSwitchCase",r.udsGuiFieldType.EDITLIST),u(),p("ngSwitchCase",r.udsGuiFieldType.CHECKBOX),u(),p("ngSwitchCase",r.udsGuiFieldType.IMAGECHOICE),u(),p("ngSwitchCase",r.udsGuiFieldType.DATE),u(),p("ngSwitchCase",r.udsGuiFieldType.TAGLIST))},styles:["uds-field[_ngcontent-%COMP%]{flex:1 50%} .mat-mdc-form-field{width:calc(100% - 1px)} .mat-form-field-flex{padding-top:0!important} .mat-mdc-tooltip{font-size:.9rem!important;margin:0!important;max-width:26em!important}"]});let n=i;return n})();function T5(n,i){if(n&1&&f(0),n&2){let e=_().$implicit;O(" ",e," ")}}function k5(n,i){if(n&1){let e=k();c(0,"uds-field",9),b("changed",function(o){y(e);let r=_(3);return w(r.changed.emit(o))}),d()}if(n&2){let e=i.$implicit;p("field",e)}}function A5(n,i){if(n&1&&(c(0,"mat-tab",4),x(1,T5,1,1,"ng-template",5),c(2,"div",6)(3,"div",7),x(4,k5,1,1,"uds-field",8),d()()()),n&2){let e=i.$implicit,t=_(2);u(4),p("ngForOf",t.fieldsByTab[e])}}function R5(n,i){if(n&1&&(c(0,"mat-tab-group",2),x(1,A5,5,1,"mat-tab",3),d()),n&2){let e=_();p("disableRipple",!1)("@.disabled",!0),u(),p("ngForOf",e.tabs)}}function O5(n,i){if(n&1){let e=k();c(0,"div")(1,"uds-field",9),b("changed",function(o){y(e);let r=_(2);return w(r.changed.emit(o))}),d()()}if(n&2){let e=i.$implicit;u(),p("field",e)}}function P5(n,i){if(n&1&&(c(0,"div",6),x(1,O5,2,1,"div",10),d()),n&2){let e=_();u(),p("ngForOf",e.fields)}}var F5=django.gettext("Main"),KT=(()=>{let i=class i{constructor(){this.fields=[],this.changed=new T,this.tabs=new Array,this.fieldsByTab={}}ngOnInit(){this.fieldsByTab={};for(let t of this.fields){let o=t.gui.tab===void 0?F5:t.gui.tab;this.tabs.includes(o)||(this.tabs.push(o),this.fieldsByTab[o]=new Array),this.fieldsByTab[o].push(t)}}};i.\u0275fac=function(o){return new(o||i)},i.\u0275cmp=E({type:i,selectors:[["uds-form"]],inputs:{fields:"fields"},outputs:{changed:"changed"},standalone:!1,decls:3,vars:2,consts:[["onlyone",""],["backgroundColor","primary",3,"disableRipple",4,"ngIf","ngIfElse"],["backgroundColor","primary",3,"disableRipple"],["class","noOverflow",4,"ngFor","ngForOf"],[1,"noOverflow"],["mat-tab-label",""],[1,"form-content"],[1,"content"],[3,"field","changed",4,"ngFor","ngForOf"],[3,"changed","field"],[4,"ngFor","ngForOf"]],template:function(o,r){if(o&1&&x(0,R5,2,3,"mat-tab-group",1)(1,P5,2,1,"ng-template",null,0,gn),o&2){let a=be(2);p("ngIf",r.tabs.length>1)("ngIfElse",a)}},dependencies:[$e,ue,Jt,en,rn,Zh],styles:[".content[_ngcontent-%COMP%]{margin-top:.5rem;display:flex;flex-wrap:wrap}.form-content[_ngcontent-%COMP%]{padding-top:1rem} .mat-mdc-tab-body-content{overflow:hidden!important} .mat-mdc-form-field-infix{min-height:3rem} .mat-mdc-tab-header{position:sticky;top:0;z-index:1000}"]});let n=i;return n})();function L5(n,i){if(n&1){let e=k();c(0,"button",10),b("click",function(){y(e);let o=_();return w(o.customButtonClicked())}),f(1),d()}if(n&2){let e=_();u(),Ge(e.data.customButton)}}var ZT=(()=>{let i=class i{constructor(t,o){this.dialogRef=t,this.data=o,this.onEvent=new T(!0),this.saving=!1}ngOnInit(){this.onEvent.emit({type:"init",data:null,dialog:this.dialogRef})}changed(t){this.onEvent.emit({type:"changed",data:t,dialog:this.dialogRef})}getFields(){let t={},o=[];return this.data.guiFields.forEach(r=>{let a=r.value;if(r.gui.required&&a!==0&&a!==!1&&(!a||a instanceof Array&&a.length===0)&&o.push(r.gui.label),typeof a=="number"){let s=parseInt((r.gui.minValue||987654321).toString(),10),l=parseInt((r.gui.maxValue||987654321).toString(),10);s!==987654321&&a= "+r.gui.minValue),l!==987654321&&a>l&&o.push(r.gui.label+" <= "+r.gui.maxValue),a=a.toString()}t[r.name]=a}),{data:t,errors:o}}save(){let t=this.getFields();if(t.errors.length>0){this.data.gui.alert(django.gettext("Error"),django.gettext("Please, fill in require fields: ")+t.errors.join(", "));return}this.onEvent.emit({data:t.data,type:"save",dialog:this.dialogRef})}cancel(){this.onEvent.emit({data:null,type:"cancel",dialog:this.dialogRef})}customButtonClicked(){let t=this.getFields();this.onEvent.emit({data:t.data,type:this.data.customButton||"",errors:t.errors,dialog:this.dialogRef})}};i.\u0275fac=function(o){return new(o||i)(C(Ne),C(Ke))},i.\u0275cmp=E({type:i,selectors:[["uds-modal-form"]],standalone:!1,decls:17,vars:7,consts:[["vc",""],["mat-dialog-title","",3,"innerHtml"],["autocomplete","off"],[3,"changed","fields"],[1,"buttons"],[1,"group1"],["ngClass","custom","mat-raised-button","",3,"click",4,"ngIf"],[1,"group2"],["mat-raised-button","",3,"click","disabled"],["mat-raised-button","","color","primary",3,"click","disabled"],["ngClass","custom","mat-raised-button","",3,"click"]],template:function(o,r){if(o&1){let a=k();M(0,"h4",1),gt(1,"safeHtml"),c(2,"mat-dialog-content",null,0)(4,"form",2)(5,"uds-form",3),b("changed",function(l){return y(a),w(r.changed(l))}),d()()(),c(6,"mat-dialog-actions")(7,"div",4)(8,"div",5),x(9,L5,2,1,"button",6),d(),c(10,"div",7)(11,"button",8),b("click",function(){return y(a),w(r.dialogRef.close())})("click",function(){return y(a),w(r.cancel())}),c(12,"uds-translate"),f(13,"Discard & close"),d()(),c(14,"button",9),b("click",function(){return y(a),w(r.save())}),c(15,"uds-translate"),f(16,"Save"),d()()()()()}o&2&&(p("innerHtml",Ct(1,5,r.data.title),qt),u(5),p("fields",r.data.guiFields),u(4),p("ngIf",r.data.customButton!==void 0),u(2),p("disabled",r.saving),u(3),p("disabled",r.saving))},dependencies:[Ei,ue,Yh,Wh,co,Te,Xe,et,Je,ae,KT,Ah],styles:["h4[_ngcontent-%COMP%]{margin-bottom:0}.buttons[_ngcontent-%COMP%]{display:flex;justify-content:space-between;width:100%} uds-field{flex:1 100%}button.custom[_ngcontent-%COMP%]{background-color:#4682b4;color:#fff}.modal-form[_ngcontent-%COMP%]{padding-top:1.5rem}"]});let n=i;return n})();var Xh=class{constructor(i){this.gui=i}modalForm(i,e,t=null,o){e.sort((l,m)=>l.gui.order>m.gui.order?1:-1);let r=t!=null;t=r?t:{},e.forEach(l=>{(r===!1||l.gui.readonly===void 0)&&(l.gui.readonly=!1),l.gui.type===Xn.TEXT&&l.gui.lines&&(l.gui.type=Xn.TEXTBOX);let m=t[l.name];if(m!==void 0)if(m instanceof Array){let g=new Array;m.forEach(v=>g.push(v)),l.value=g}else l.value=m});let a=window.innerWidth<800?"80%":"50%";return this.gui.dialog.open(ZT,{position:{top:"64px"},width:a,data:{title:i,guiFields:e,customButton:o,gui:this.gui},disableClose:!0}).componentInstance.onEvent}typedForm(i,e,t,o,r,a,s){return H(this,null,function*(){let l=s||{},m=l.callback||(()=>{}),g=o||[],v=t?django.gettext("Test"):void 0,D={},S={},I=V=>{if(S.hasOwnProperty(V.name)){let he=S[V.name];V.value!==""&&V.value!==void 0&&this.executeCallback(i,V,D)}},A=l.snack||this.gui.snackbar.open(django.gettext("Loading data..."),django.gettext("dismiss")),Y=yield i.table.rest.gui(a);if(A.dismiss(),g!==void 0)for(let V of g)Y.push(V);for(let V of Y){if(V.gui.type===Xn.INFO){V.name==="title"&&(e+=" "+(V.value||V.gui.default||""));continue}D[V.name]=V,V.gui.fills!==void 0&&(S[V.name]=V.gui.fills)}this.modalForm(e,Y,r,v).subscribe(V=>H(this,null,function*(){switch(V.data&&(V.data.data_type=a),V.type){case v:if(V.errors&&V.errors.length>0){this.gui.alert(django.gettext("Error"),django.gettext("Please, fill in require fields: ")+V.errors.join(", "));return}this.gui.snackbar.open(django.gettext("Testing..."),django.gettext("dismiss")),i.table.rest.test(a,V.data).then(he=>{he!=="ok"?this.gui.snackbar.open(django.gettext("Test failed:")+" "+he,django.gettext("dismiss")):this.gui.snackbar.open(django.gettext("Test passed successfully"),django.gettext("dismiss"),{duration:2e3})});break;case"changed":case"init":if(V.data===null)for(let he of Y)I(he);else I(V.data.field);m({on:V.data,all:D});break;case"save":if(l.save===void 0){V.dialog.componentInstance.saving=!0;try{r?yield i.table.rest.save(V.data,r.id):yield i.table.rest.create(V.data),this.gui.snackbar.open(django.gettext("Successfully saved"),django.gettext("dismiss"),{duration:2e3}),V.dialog.close(),i.table.overview()}finally{V.dialog.componentInstance.saving=!1}}else V.dialog.close(),l.save.resolve(V.data);break;case"cancel":V.dialog.close();break}}))})}typedEditForm(i,e,t=!1,o,r=()=>{}){return H(this,null,function*(){let a=i.table.selection.selected[0],s=a.type,l=new T,m=this.gui.snackbar.open(django.gettext("Loading data..."),django.gettext("dismiss")),g=yield i.table.rest.get(a.id);return this.typedForm(i,e,t,o,g,s,{snack:m,callback:r})})}typedNewForm(i,e,t=!1,o,r=()=>{}){return H(this,null,function*(){let a=i.param?i.param.type:void 0;return this.typedForm(i,e,t,o,null,a,{callback:r})})}deleteForm(i,e,t){return H(this,null,function*(){let o=new Array,r=new Array;for(let l of i.table.selection.selected){let m=l.name||l.friendly_name||l[t||"name"]||l.id;m&&m.changingThisBreaksApplicationSecurity&&(m=m.changingThisBreaksApplicationSecurity),o.push(m),r.push(l.id)}let a=django.gettext("Are you sure do you want to delete the following items?")+"
"+o.join(", ")+"";if(yield this.gui.questionDialog(e,a,!0)){for(let m of r)try{yield i.table.rest.delete(m)}catch(g){console.warn("Error deleting item",m,g)}let l=r.length;this.gui.snackbar.open(django.gettext("Deletion finished"),django.gettext("dismiss"),{duration:2e3}),i.table.overview()}})}executeCallback(r,a,s){return H(this,arguments,function*(i,e,t,o={}){let l=new Array;if(!e.gui.fills)return;for(let v of e.gui.fills.parameters)l.push(v+"="+encodeURIComponent(t[v].value));let m=yield i.table.rest.callback(e.gui.fills.callback_name,l.join("&")),g=new Array;for(let v of m){let D=t[v.name];if(D!==void 0){D.gui.fills!==void 0&&g.push(D);let S=new Array;for(let I of v.choices)S.push({id:I.id,text:I.text,img:I.img});if(D.gui.choices=S,D.value instanceof Array){let I=new Array;for(let A of D.gui.choices)D.value.indexOf(A.id)>=0&&I.push(A.id);D.value=I}else(!D.value||D.value instanceof Array&&D.value.length===0)&&(D.value=v.choices.length>0?v.choices[0].id:"")}}for(let v of g)o[v.name]===void 0&&(o[v.name]=!0,this.executeCallback(i,v,t,o))})}};var V5="display:inline-block; background-size: SIZE SIZE; background-repeat: no-repeat; width: SIZE; height: SIZE; vertical-align: middle; margin: 4px 8px 4px 0px;",Jh=class{constructor(i,e){this.dialog=i,this.snackbar=e,this.forms=new Xh(this)}alert(i,e,t=0,o){return H(this,null,function*(){let r=o||(window.innerWidth<800?"80%":"40%");return this.dialog.open(Ey,{width:r,data:{title:i,body:e,autoclose:t,type:Od.alert},disableClose:!0}).componentInstance.acceptance})}questionDialog(i,e,t=!1){return H(this,null,function*(){let o=window.innerWidth<800?"80%":"40%",r=this.dialog.open(Ey,{width:o,data:{title:i,body:e,type:Od.question,warnOnYes:t},disableClose:!0});return ir(r.componentInstance.acceptance)})}icon(i,e="24px"){return''}};var ef={production:!0};var _n=function(n){return n.NUMERIC="numeric",n.ALPHANUMERIC="alphanumeric",n.DATETIME="datetime",n.DATETIMESEC="datetimesec",n.DATE="date",n.TIME="time",n.ICON="iconType",n.CALLBACK="callback",n.DICTIONARY="dict",n.IMAGE="image",n}(_n||{}),ct=function(n){return n[n.ALWAYS=0]="ALWAYS",n[n.SINGLE_SELECT=1]="SINGLE_SELECT",n[n.MULTI_SELECT=2]="MULTI_SELECT",n[n.ONLY_MENU=3]="ONLY_MENU",n[n.ACCELERATOR=4]="ACCELERATOR",n}(ct||{});var By="provider",jy="service",zd="pool",B5="authenticator",Ud="user",zy="group",Uy="transport",Hy="osmanager",tf="calendar",Wy="poolgroup",j5={provider:django.gettext("provider"),service:django.gettext("service"),pool:django.gettext("service pool"),authenticator:django.gettext("authenticator"),mfa:django.gettext("MFA"),user:django.gettext("user"),group:django.gettext("group"),transport:django.gettext("transport"),osmanager:django.gettext("OS manager"),calendar:django.gettext("calendar"),poolgroup:django.gettext("pool group")},Mn=class{constructor(i){this.router=i}static getGotoButton(i,e,t){return{id:i,html:'link'+django.gettext("Go to")+" "+j5[i]+"",type:ct.ACCELERATOR,acceleratorProperties:[e,t||""]}}gotoProvider(i){i!==void 0?this.router.navigate(["services","providers",i]):this.router.navigate(["services","providers"])}gotoService(i,e){e!==void 0?this.router.navigate(["services","providers",i,"detail",e]):this.router.navigate(["services","providers",i,"detail"])}gotoServer(i){this.router.navigate(["services","servers",i])}gotoServerDetail(i){this.router.navigate(["services","servers",i,"detail"])}gotoServicePool(i){this.router.navigate(["pools","service-pools",i])}gotoServicePoolDetail(i){this.router.navigate(["pools","service-pools",i,"detail"])}gotoMetapool(i){this.router.navigate(["pools","meta-pools",i])}gotoMetapoolDetail(i){this.router.navigate(["pools","meta-pools",i,"detail"])}gotoCalendar(i){this.router.navigate(["pools","calendars",i])}gotoCalendarDetail(i){this.router.navigate(["pools","calendars",i,"detail"])}gotoAccount(i){this.router.navigate(["pools","accounts",i])}gotoAccountDetail(i){this.router.navigate(["pools","accounts",i,"detail"])}gotoPoolGroup(i){i=i||"",this.router.navigate(["pools","pool-groups",i])}gotoAuthenticator(i){this.router.navigate(["authenticators",i])}gotoAuthenticatorDetail(i){this.router.navigate(["authenticators",i,"detail"])}gotoMFA(i){this.router.navigate(["mfas",i])}gotoUser(i,e){this.router.navigate(["authenticators",i,"detail","users",e])}gotoGroup(i,e){this.router.navigate(["authenticators",i,"detail","groups",e])}gotoTransport(i){this.router.navigate(["connectivity/transports",i])}gotoTunnel(i){this.router.navigate(["connectivity/tunnels",i])}gotoTunnelDetail(i){this.router.navigate(["connectivity/tunnels",i,"detail"])}gotoOSManager(i){this.router.navigate(["osmanagers",i])}goto(i,e,t){let o=r=>{let a=e;if(t[r].split(".").forEach(s=>a=a[s]),!a)throw new Error("not going :)");return a};try{switch(i){case By:this.gotoProvider(o(0));break;case jy:this.gotoService(o(0),o(1));break;case zd:this.gotoServicePool(o(0));break;case B5:this.gotoAuthenticator(o(0));break;case Ud:this.gotoUser(o(0),o(1));break;case zy:this.gotoGroup(o(0),o(1));break;case Uy:this.gotoTransport(o(0));break;case Hy:this.gotoOSManager(o(0));break;case tf:this.gotoCalendar(o(0));break;case Wy:this.gotoPoolGroup(o(0));break}}catch{}}};function z5(n,i){if(n&1){let e=k();c(0,"div",1)(1,"button",2),b("click",function(){y(e);let o=_();return w(o.action())}),f(2),d()()}if(n&2){let e=_();u(2),O(" ",e.data.action," ")}}var U5=["label"];function H5(n,i){}var W5=Math.pow(2,31)-1,Hd=class{_overlayRef;instance;containerInstance;_afterDismissed=new j;_afterOpened=new j;_onAction=new j;_durationTimeoutId;_dismissedByAction=!1;constructor(i,e){this._overlayRef=e,this.containerInstance=i,i._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(i){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(i,W5))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}},XT=new R("MatSnackBarData"),zl=class{politeness="assertive";announcementMessage="";viewContainerRef;duration=0;panelClass;direction;data=null;horizontalPosition="center";verticalPosition="bottom"},G5=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]})}return n})(),$5=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]})}return n})(),q5=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]})}return n})(),JT=(()=>{class n{snackBarRef=h(Hd);data=h(XT);constructor(){}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(t,o){t&1&&(c(0,"div",0),f(1),d(),x(2,z5,3,1,"div",1)),t&2&&(u(),O(" ",o.data.message,` +`),u(),Ce(o.hasAction?2:-1))},dependencies:[Te,G5,$5,q5],styles:[".mat-mdc-simple-snack-bar{display:flex}"],encapsulation:2,changeDetection:0})}return n})(),Y5={snackBarState:mn("state",[Ft("void, hidden",Me({transform:"scale(0.8)",opacity:0})),Ft("visible",Me({transform:"scale(1)",opacity:1})),xt("* => visible",It("150ms cubic-bezier(0, 0, 0.2, 1)")),xt("* => void, * => hidden",It("75ms cubic-bezier(0.4, 0.0, 1, 1)",Me({opacity:0})))])},Q5=(()=>{class n extends fa{_ngZone=h(te);_elementRef=h(Q);_changeDetectorRef=h(Ee);_platform=h(rt);snackBarConfig=h(zl);_document=h(de);_trackedModals=new Set;_announceDelay=150;_announceTimeoutId;_destroyed=!1;_portalOutlet;_onAnnounce=new j;_onExit=new j;_onEnter=new j;_animationState="void";_live;_label;_role;_liveElementId=h(ft).getId("mat-snack-bar-container-live-");constructor(){super();let e=this.snackBarConfig;e.politeness==="assertive"&&!e.announcementMessage?this._live="assertive":e.politeness==="off"?this._live="off":this._live="polite",this._platform.FIREFOX&&(this._live==="polite"&&(this._role="status"),this._live==="assertive"&&(this._role="alert"))}attachComponentPortal(e){this._assertNotAttached();let t=this._portalOutlet.attachComponentPortal(e);return this._afterPortalAttached(),t}attachTemplatePortal(e){this._assertNotAttached();let t=this._portalOutlet.attachTemplatePortal(e);return this._afterPortalAttached(),t}attachDomPortal=e=>{this._assertNotAttached();let t=this._portalOutlet.attachDomPortal(e);return this._afterPortalAttached(),t};onAnimationEnd(e){let{fromState:t,toState:o}=e;if((o==="void"&&t!=="void"||o==="hidden")&&this._completeExit(),o==="visible"){let r=this._onEnter;this._ngZone.run(()=>{r.next(),r.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.markForCheck(),this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{this._animationState="hidden",this._changeDetectorRef.markForCheck(),this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){queueMicrotask(()=>{this._onExit.next(),this._onExit.complete()})}_afterPortalAttached(){let e=this._elementRef.nativeElement,t=this.snackBarConfig.panelClass;t&&(Array.isArray(t)?t.forEach(a=>e.classList.add(a)):e.classList.add(t)),this._exposeToModals();let o=this._label.nativeElement,r="mdc-snackbar__label";o.classList.toggle(r,!o.querySelector(`.${r}`))}_exposeToModals(){let e=this._liveElementId,t=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let o=0;o{let t=e.getAttribute("aria-owns");if(t){let o=t.replace(this._liveElementId,"").trim();o.length>0?e.setAttribute("aria-owns",o):e.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{let e=this._elementRef.nativeElement.querySelector("[aria-hidden]"),t=this._elementRef.nativeElement.querySelector("[aria-live]");if(e&&t){let o=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&e.contains(document.activeElement)&&(o=document.activeElement),e.removeAttribute("aria-hidden"),t.appendChild(e),o?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["mat-snack-bar-container"]],viewQuery:function(t,o){if(t&1&&(se(si,7),se(U5,7)),t&2){let r;$(r=q())&&(o._portalOutlet=r.first),$(r=q())&&(o._label=r.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container"],hostVars:1,hostBindings:function(t,o){t&1&&Vc("@state.done",function(a){return o.onAnimationEnd(a)}),t&2&&Lc("@state",o._animationState)},features:[_e],decls:6,vars:3,consts:[["label",""],[1,"mdc-snackbar__surface","mat-mdc-snackbar-surface"],[1,"mat-mdc-snack-bar-label"],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(t,o){t&1&&(c(0,"div",1)(1,"div",2,0)(3,"div",3),x(4,H5,0,0,"ng-template",4),d(),M(5,"div"),d()()),t&2&&(u(5),ee("aria-live",o._live)("role",o._role)("id",o._liveElementId))},dependencies:[si],styles:[".mat-mdc-snack-bar-container{display:flex;align-items:center;justify-content:center;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);margin:8px}.mat-mdc-snack-bar-handset .mat-mdc-snack-bar-container{width:100vw}.mat-mdc-snackbar-surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;padding-left:0;padding-right:8px}[dir=rtl] .mat-mdc-snackbar-surface{padding-right:0;padding-left:8px}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{min-width:344px;max-width:672px}.mat-mdc-snack-bar-handset .mat-mdc-snackbar-surface{width:100%;min-width:0}@media(forced-colors: active){.mat-mdc-snackbar-surface{outline:solid 1px}}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{color:var(--mdc-snackbar-supporting-text-color, var(--mat-sys-inverse-on-surface));border-radius:var(--mdc-snackbar-container-shape, var(--mat-sys-corner-extra-small));background-color:var(--mdc-snackbar-container-color, var(--mat-sys-inverse-surface))}.mdc-snackbar__label{width:100%;flex-grow:1;box-sizing:border-box;margin:0;padding:14px 8px 14px 16px}[dir=rtl] .mdc-snackbar__label{padding-left:8px;padding-right:16px}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-family:var(--mdc-snackbar-supporting-text-font, var(--mat-sys-body-medium-font));font-size:var(--mdc-snackbar-supporting-text-size, var(--mat-sys-body-medium-size));font-weight:var(--mdc-snackbar-supporting-text-weight, var(--mat-sys-body-medium-weight));line-height:var(--mdc-snackbar-supporting-text-line-height, var(--mat-sys-body-medium-line-height))}.mat-mdc-snack-bar-actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled).mat-unthemed{color:var(--mat-snack-bar-button-color, var(--mat-sys-inverse-primary))}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){--mat-text-button-state-layer-color:currentColor;--mat-text-button-ripple-color:currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{opacity:.1}"],encapsulation:2,data:{animation:[Y5.snackBarState]}})}return n})();function K5(){return new zl}var Z5=new R("mat-snack-bar-default-options",{providedIn:"root",factory:K5}),Gy=(()=>{class n{_overlay=h(Lt);_live=h(mh);_injector=h(Ae);_breakpointObserver=h(Il);_parentSnackBar=h(n,{optional:!0,skipSelf:!0});_defaultConfig=h(Z5);_snackBarRefAtThisLevel=null;simpleSnackBarComponent=JT;snackBarContainerComponent=Q5;handsetCssClass="mat-mdc-snack-bar-handset";get _openedSnackBarRef(){let e=this._parentSnackBar;return e?e._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(e){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=e:this._snackBarRefAtThisLevel=e}constructor(){}openFromComponent(e,t){return this._attach(e,t)}openFromTemplate(e,t){return this._attach(e,t)}open(e,t="",o){let r=L(L({},this._defaultConfig),o);return r.data={message:e,action:t},r.announcementMessage===e&&(r.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,r)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(e,t){let o=t&&t.viewContainerRef&&t.viewContainerRef.injector,r=Ae.create({parent:o||this._injector,providers:[{provide:zl,useValue:t}]}),a=new Ti(this.snackBarContainerComponent,t.viewContainerRef,r),s=e.attach(a);return s.instance.snackBarConfig=t,s.instance}_attach(e,t){let o=L(L(L({},new zl),this._defaultConfig),t),r=this._createOverlay(o),a=this._attachSnackBarContainer(r,o),s=new Hd(a,r);if(e instanceof wt){let l=new On(e,null,{$implicit:o.data,snackBarRef:s});s.instance=a.attachTemplatePortal(l)}else{let l=this._createInjector(o,s),m=new Ti(e,void 0,l),g=a.attachComponentPortal(m);s.instance=g.instance}return this._breakpointObserver.observe(rh.HandsetPortrait).pipe(pe(r.detachments())).subscribe(l=>{r.overlayElement.classList.toggle(this.handsetCssClass,l.matches)}),o.announcementMessage&&a._onAnnounce.subscribe(()=>{this._live.announce(o.announcementMessage,o.politeness)}),this._animateSnackBar(s,o),this._openedSnackBarRef=s,this._openedSnackBarRef}_animateSnackBar(e,t){e.afterDismissed().subscribe(()=>{this._openedSnackBarRef==e&&(this._openedSnackBarRef=null),t.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{e.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):e.containerInstance.enter(),t.duration&&t.duration>0&&e.afterOpened().subscribe(()=>e._dismissAfter(t.duration))}_createOverlay(e){let t=new ki;t.direction=e.direction;let o=this._overlay.position().global(),r=e.direction==="rtl",a=e.horizontalPosition==="left"||e.horizontalPosition==="start"&&!r||e.horizontalPosition==="end"&&r,s=!a&&e.horizontalPosition!=="center";return a?o.left("0"):s?o.right("0"):o.centerHorizontally(),e.verticalPosition==="top"?o.top("0"):o.bottom("0"),t.positionStrategy=o,this._overlay.create(t)}_createInjector(e,t){let o=e&&e.viewContainerRef&&e.viewContainerRef.injector;return Ae.create({parent:o||this._injector,providers:[{provide:Hd,useValue:t},{provide:XT,useValue:e.data}]})}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var ek=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({providers:[Gy],imports:[ci,Ui,or,me,JT,me]})}return n})();var tk="dark-theme",nk="light-theme",B=(()=>{let i=class i{constructor(t,o,r,a,s,l){this.http=t,this.router=o,this.dialog=r,this.snackbar=a,this.sanitizer=s,this.dateAdapter=l,this.user=new Xp(udsData.profile),this.navigation=new Mn(this.router),this.gui=new Jh(this.dialog,this.snackbar),this.dateAdapter.setLocale(this.config.language)}get config(){return udsData.config}get csrfField(){return csrf.csrfField}get csrfToken(){return csrf.csrfToken}get notices(){return udsData.errors}restPath(t){return this.config.urls.rest+t}staticURL(t){return ef.production?this.config.urls.static+t:"/static/"+t}logout(){window.location.href=this.config.urls.logout}gotoUser(){window.location.href=this.config.urls.user}putOnStorage(t,o){typeof Storage!==void 0&&sessionStorage.setItem(t,o)}getFromStorage(t){return typeof Storage!==void 0?sessionStorage.getItem(t):null}safeString(t){return this.sanitizer.bypassSecurityTrustHtml(t)}boolAsHumanString(t){return t?django.gettext("yes"):django.gettext("no")}switchTheme(t){let o=document.getElementsByTagName("html")[0];[tk,nk].forEach(r=>{o.classList.contains(r)&&o.classList.remove(r)}),o.classList.add(t?tk:nk)}};i.\u0275fac=function(o){return new(o||i)(oe(Gc),oe(er),oe(Rd),oe(Gy),oe(ns),oe($n))},i.\u0275prov=P({token:i,factory:i.\u0275fac,providedIn:"root"});let n=i;return n})();var ik=(()=>{let i=class i{constructor(t){this.api=t}canActivate(t,o){return this.api.user.isStaff?!0:(window.location.href=this.api.config.urls.user,!1)}};i.\u0275fac=function(o){return new(o||i)(oe(B))},i.\u0275prov=P({token:i,factory:i.\u0275fac,providedIn:"root"});let n=i;return n})();var Ul=3e4,Nr=function(n){return n[n.NONE=0]="NONE",n[n.READ=32]="READ",n[n.MANAGEMENT=64]="MANAGEMENT",n[n.ALL=96]="ALL",n}(Nr||{}),vn=class{constructor(i,e,t){this.api=i,t===void 0&&(t={}),t.base===void 0&&(t.base=e);let o=(r,a)=>r===void 0?a:r;this.id=e,this.paths={base:t.base,get:o(t.get,t.base),log:o(t.log,t.base),put:o(t.put,t.base),test:o(t.test,t.base+"/test"),delete:o(t.delete,t.base),types:o(t.types,t.base+"/types"),gui:o(t.gui,t.base+"/gui"),tableInfo:o(t.tableInfo,t.base+"/tableinfo")},this.headers=new Io().set("Content-Type","application/json; charset=utf8").set(this.api.config.auth_header,this.api.config.auth_token)}get(i){return this.typedGet(i)}getLogs(i){return this.doGet(this.getPath(this.paths.log,i)+"/log")}overview(i){return this.typedGet("overview"+(i!==void 0?"?filter="+i:""))}summary(i){return this.typedGet("overview?summarize"+(i!==void 0?"&filter="+i:""))}put(i,e){return this.typedPut(i,e)}create(i){return this.typedPut(i)}save(i,e){return e=e!==void 0?e:i.id,this.typedPut(i,e)}test(i,e){return ir(this.api.http.post(this.getPath(this.paths.test,i),e,{headers:this.headers}).pipe(Yn(t=>this.handleError(t))),Ul)}delete(i){return ir(this.api.http.delete(this.getPath(this.paths.delete,i),{headers:this.headers}).pipe(Yn(e=>this.handleError(e))),Ul)}permision(){return this.api.user.isAdmin?Nr.ALL:Nr.NONE}getPermissions(i){return this.doGet(this.getPath("permissions/"+this.paths.base+"/"+i))}addPermission(i,e,t,o){let r=this.getPath("permissions/"+this.paths.base+"/"+i+"/"+e+"/add/"+t),a={perm:o};return ir(this.api.http.put(r,a,{headers:this.headers}).pipe(Yn(s=>this.handleError(s))),Ul)}revokePermission(i){let e=this.getPath("permissions/revoke"),t={items:i};return ir(this.api.http.put(e,t,{headers:this.headers}).pipe(Yn(o=>this.handleError(o))),Ul)}types(){return this.doGet(this.getPath(this.paths.types))}gui(i){let e=this.getPath(this.paths.gui+(i!==void 0?"/"+i:""));return this.doGet(e)}callback(i,e){let t=this.getPath("gui/callback/"+i+"?"+e);return this.doGet(t)}tableInfo(){return this.doGet(this.getPath(this.paths.tableInfo))}detail(i,e){return new $y(this,i,e)}invoke(i,e){let t=i+(e?"?"+e:"");return this.typedGet(t)}getPath(i,e){if(i===void 0)throw new Error("Path is undefined");return this.api.restPath(i+(e!==void 0?"/"+e:""))}doGet(i){return ir(this.api.http.get(i,{headers:this.headers}).pipe(Yn(e=>this.handleError(e))),Ul)}typedGet(i){return this.doGet(this.getPath(this.paths.get,i))}typedPut(i,e){return ir(this.api.http.put(this.getPath(this.paths.put,e),i,{headers:this.headers}).pipe(Yn(t=>this.handleError(t,!0))),Ul)}handleError(i,e=!1){let t="";return i.error instanceof ErrorEvent?t=i.error.message:e?t=django.gettext("Error saving: ")+i.error:t=`Error ${i.status}: ${i.error}`,this.api.gui.alert(e?django.gettext("Error saving element"):django.gettext("Error handling your request"),t),Vo(()=>new Error(t))}},$y=class extends vn{constructor(i,e,t,o){super(i.api,[i.paths.base,e,t].join("/")),this.parentModel=i,this.parentId=e,this.model=t,this.perm=o}permision(){return this.perm||Nr.ALL}},nf=class extends vn{constructor(i){super(i,"providers"),this.api=i}allServices(){return this.get("allservices")}service(i){return this.get("service/"+i)}maintenance(i){return this.get(i+"/maintenance")}},of=class extends vn{constructor(i){super(i,"authenticators"),this.api=i}search(i,e,t,o=12){return this.get(i+"/search?type="+encodeURIComponent(e)+"&term="+encodeURIComponent(t)+"&limit="+o)}},rf=class extends vn{constructor(i){super(i,"osmanagers"),this.api=i}},af=class extends vn{constructor(i){super(i,"transports"),this.api=i}},sf=class extends vn{constructor(i){super(i,"networks"),this.api=i}},lf=class extends vn{constructor(i){super(i,"tunnels/tunnels"),this.api=i}maintenance(i){return this.get(i+"/maintenance")}tunnels(i){return this.get(i+"/tunnels")}assign(i,e){return this.get(i+"/assign/"+e)}},cf=class extends vn{constructor(i){super(i,"servers/groups"),this.api=i}maintenance(i){return this.get(i+"/maintenance")}},df=class extends vn{constructor(i){super(i,"servicespools"),this.api=i}setFallbackAccess(i,e){return this.get(i+"/setFallbackAccess?fallbackAccess="+e)}getFallbackAccess(i){return this.get(i+"/getFallbackAccess")}actionsList(i){return this.get(i+"/actionsList")}listAssignables(i){return this.get(i+"/listAssignables")}createFromAssignable(i,e,t){return this.get(i+"/createFromAssignable?user_id="+encodeURIComponent(e)+"&assignable_id="+encodeURIComponent(t))}},uf=class extends vn{constructor(i){super(i,"metapools"),this.api=i}setFallbackAccess(i,e){return this.get(i+"/setFallbackAccess?fallbackAccess="+e)}getFallbackAccess(i){return this.get(i+"/getFallbackAccess")}},mf=class extends vn{constructor(i){super(i,"config"),this.api=i}},pf=class extends vn{constructor(i){super(i,"gallery/images"),this.api=i}},hf=class extends vn{constructor(i){super(i,"gallery/servicespoolgroups"),this.api=i}},ff=class extends vn{constructor(i){super(i,"system"),this.api=i}information(){return this.get("overview")}stats(i,e){let t="stats/"+i;return e&&(t+="/"+e),this.get(t)}flushCache(){return this.doGet(this.getPath("cache","flush"))}},gf=class extends vn{constructor(i){super(i,"reports"),this.api=i}types(){return ir(ie([]))}},_f=class extends vn{constructor(i){super(i,"calendars"),this.api=i}},vf=class extends vn{constructor(i){super(i,"accounts"),this.api=i}timemark(i){return this.get(i+"/timemark")}},bf=class extends vn{constructor(i){super(i,"actortokens"),this.api=i}},yf=class extends vn{constructor(i){super(i,"servers/tokens"),this.api=i}},wf=class extends vn{constructor(i){super(i,"mfa"),this.api=i}},Cf=class extends vn{constructor(i){super(i,"messaging/notifiers"),this.api=i}};var Z=(()=>{let i=class i{constructor(t){this.api=t,this.providers=new nf(t),this.serverGroups=new cf(t),this.authenticators=new of(t),this.mfas=new wf(t),this.osManagers=new rf(t),this.transports=new af(t),this.networks=new sf(t),this.tunnels=new lf(t),this.servicesPools=new df(t),this.metaPools=new uf(t),this.gallery=new pf(t),this.servicesPoolGroups=new hf(t),this.calendars=new _f(t),this.accounts=new vf(t),this.system=new ff(t),this.configuration=new mf(t),this.actorToken=new bf(t),this.serversTokens=new yf(t),this.reports=new gf(t),this.notifiers=new Cf(t)}};i.\u0275fac=function(o){return new(o||i)(oe(B))},i.\u0275prov=P({token:i,factory:i.\u0275fac,providedIn:"root"});let n=i;return n})();var qy=class{constructor(){this.subject=new Zi(1),this.subscriptions=new ge}doFilter(i){this.subject.next(i)}dispose(){this.subscriptions.unsubscribe()}notEmpty(i,e){this.subscriptions.add(this.subject.subscribe(t=>{if(t[i]){let o=t[i].currentValue;o!=null&&e(o)}}))}has(i,e){this.subscriptions.add(this.subject.subscribe(t=>{if(t[i]){let o=t[i].currentValue;e(o)}}))}notFirst(i,e){this.subscriptions.add(this.subject.subscribe(t=>{if(t[i]&&!t[i].isFirstChange()){let o=t[i].currentValue;e(o)}}))}notFirstAndEmpty(i,e){this.subscriptions.add(this.subject.subscribe(t=>{if(t[i]&&!t[i].isFirstChange()){let o=t[i].currentValue;o!=null&&e(o)}}))}},ok=new R("NGX_ECHARTS_CONFIG"),xf=(()=>{let i=class i{constructor(t,o,r){this.el=o,this.ngZone=r,this.options=null,this.theme=null,this.initOpts=null,this.merge=null,this.autoResize=!0,this.loading=!1,this.loadingType="default",this.loadingOpts=null,this.chartInit=new T,this.optionsError=new T,this.chartClick=this.createLazyEvent("click"),this.chartDblClick=this.createLazyEvent("dblclick"),this.chartMouseDown=this.createLazyEvent("mousedown"),this.chartMouseMove=this.createLazyEvent("mousemove"),this.chartMouseUp=this.createLazyEvent("mouseup"),this.chartMouseOver=this.createLazyEvent("mouseover"),this.chartMouseOut=this.createLazyEvent("mouseout"),this.chartGlobalOut=this.createLazyEvent("globalout"),this.chartContextMenu=this.createLazyEvent("contextmenu"),this.chartHighlight=this.createLazyEvent("highlight"),this.chartDownplay=this.createLazyEvent("downplay"),this.chartSelectChanged=this.createLazyEvent("selectchanged"),this.chartLegendSelectChanged=this.createLazyEvent("legendselectchanged"),this.chartLegendSelected=this.createLazyEvent("legendselected"),this.chartLegendUnselected=this.createLazyEvent("legendunselected"),this.chartLegendLegendSelectAll=this.createLazyEvent("legendselectall"),this.chartLegendLegendInverseSelect=this.createLazyEvent("legendinverseselect"),this.chartLegendScroll=this.createLazyEvent("legendscroll"),this.chartDataZoom=this.createLazyEvent("datazoom"),this.chartDataRangeSelected=this.createLazyEvent("datarangeselected"),this.chartGraphRoam=this.createLazyEvent("graphroam"),this.chartGeoRoam=this.createLazyEvent("georoam"),this.chartTreeRoam=this.createLazyEvent("treeroam"),this.chartTimelineChanged=this.createLazyEvent("timelinechanged"),this.chartTimelinePlayChanged=this.createLazyEvent("timelineplaychanged"),this.chartRestore=this.createLazyEvent("restore"),this.chartDataViewChanged=this.createLazyEvent("dataviewchanged"),this.chartMagicTypeChanged=this.createLazyEvent("magictypechanged"),this.chartGeoSelectChanged=this.createLazyEvent("geoselectchanged"),this.chartGeoSelected=this.createLazyEvent("geoselected"),this.chartGeoUnselected=this.createLazyEvent("geounselected"),this.chartAxisAreaSelected=this.createLazyEvent("axisareaselected"),this.chartBrush=this.createLazyEvent("brush"),this.chartBrushEnd=this.createLazyEvent("brushend"),this.chartBrushSelected=this.createLazyEvent("brushselected"),this.chartGlobalCursorTaken=this.createLazyEvent("globalcursortaken"),this.chartRendered=this.createLazyEvent("rendered"),this.chartFinished=this.createLazyEvent("finished"),this.animationFrameID=null,this.chart$=new Zi(1),this.resize$=new j,this.changeFilter=new qy,this.resizeObFired=!1,this.echarts=t.echarts,this.theme=t.theme||null}ngOnChanges(t){this.changeFilter.doFilter(t)}ngOnInit(){if(!window.ResizeObserver)throw new Error("please install a polyfill for ResizeObserver");this.resizeSub=this.resize$.pipe(p_(100,ni,{leading:!1,trailing:!0})).subscribe(()=>this.resize()),this.autoResize&&(this.resizeOb=this.ngZone.runOutsideAngular(()=>new window.ResizeObserver(t=>{for(let o of t)o.target===this.el.nativeElement&&(this.resizeObFired?this.animationFrameID=window.requestAnimationFrame(()=>{this.resize$.next()}):this.resizeObFired=!0)})),this.resizeOb.observe(this.el.nativeElement)),this.changeFilter.notFirstAndEmpty("options",t=>this.onOptionsChange(t)),this.changeFilter.notFirstAndEmpty("merge",t=>this.setOption(t)),this.changeFilter.has("loading",t=>this.toggleLoading(!!t)),this.changeFilter.notFirst("theme",()=>this.refreshChart())}ngOnDestroy(){window.clearTimeout(this.initChartTimer),this.resizeSub&&this.resizeSub.unsubscribe(),this.animationFrameID&&window.cancelAnimationFrame(this.animationFrameID),this.resizeOb&&this.resizeOb.unobserve(this.el.nativeElement),this.loadingSub&&this.loadingSub.unsubscribe(),this.changeFilter.dispose(),this.dispose()}ngAfterViewInit(){this.initChartTimer=window.setTimeout(()=>this.initChart())}dispose(){this.chart&&(this.chart.isDisposed()||this.chart.dispose(),this.chart=null)}resize(){this.chart&&this.chart.resize()}toggleLoading(t){this.chart?t?this.chart.showLoading(this.loadingType,this.loadingOpts):this.chart.hideLoading():this.loadingSub=this.chart$.subscribe(o=>t?o.showLoading(this.loadingType,this.loadingOpts):o.hideLoading())}setOption(t,o){if(this.chart)try{this.chart.setOption(t,o)}catch(r){console.error(r),this.optionsError.emit(r)}}refreshChart(){return H(this,null,function*(){this.dispose(),yield this.initChart()})}createChart(){let t=this.el.nativeElement;if(window&&window.getComputedStyle){let o=window.getComputedStyle(t,null).getPropertyValue("height");(!o||o==="0px")&&(!t.style.height||t.style.height==="0px")&&(t.style.height="400px")}return this.ngZone.runOutsideAngular(()=>(typeof this.echarts=="function"?this.echarts:()=>Promise.resolve(this.echarts))().then(({init:r})=>r(t,this.theme,this.initOpts)))}initChart(){return H(this,null,function*(){yield this.onOptionsChange(this.options),this.merge&&this.chart&&this.setOption(this.merge)})}onOptionsChange(t){return H(this,null,function*(){t&&(this.chart?this.setOption(this.options,!0):(this.chart=yield this.createChart(),this.chart$.next(this.chart),this.chartInit.emit(this.chart),this.setOption(this.options,!0)))})}createLazyEvent(t){return this.chartInit.pipe(Tt(o=>new Fe(r=>(o.on(t,a=>this.ngZone.run(()=>r.next(a))),()=>{this.chart&&(this.chart.isDisposed()||o.off(t))}))))}};i.\u0275fac=function(o){return new(o||i)(C(ok),C(Q),C(te))},i.\u0275dir=N({type:i,selectors:[["echarts"],["","echarts",""]],inputs:{options:"options",theme:"theme",initOpts:"initOpts",merge:"merge",autoResize:"autoResize",loading:"loading",loadingType:"loadingType",loadingOpts:"loadingOpts"},outputs:{chartInit:"chartInit",optionsError:"optionsError",chartClick:"chartClick",chartDblClick:"chartDblClick",chartMouseDown:"chartMouseDown",chartMouseMove:"chartMouseMove",chartMouseUp:"chartMouseUp",chartMouseOver:"chartMouseOver",chartMouseOut:"chartMouseOut",chartGlobalOut:"chartGlobalOut",chartContextMenu:"chartContextMenu",chartHighlight:"chartHighlight",chartDownplay:"chartDownplay",chartSelectChanged:"chartSelectChanged",chartLegendSelectChanged:"chartLegendSelectChanged",chartLegendSelected:"chartLegendSelected",chartLegendUnselected:"chartLegendUnselected",chartLegendLegendSelectAll:"chartLegendLegendSelectAll",chartLegendLegendInverseSelect:"chartLegendLegendInverseSelect",chartLegendScroll:"chartLegendScroll",chartDataZoom:"chartDataZoom",chartDataRangeSelected:"chartDataRangeSelected",chartGraphRoam:"chartGraphRoam",chartGeoRoam:"chartGeoRoam",chartTreeRoam:"chartTreeRoam",chartTimelineChanged:"chartTimelineChanged",chartTimelinePlayChanged:"chartTimelinePlayChanged",chartRestore:"chartRestore",chartDataViewChanged:"chartDataViewChanged",chartMagicTypeChanged:"chartMagicTypeChanged",chartGeoSelectChanged:"chartGeoSelectChanged",chartGeoSelected:"chartGeoSelected",chartGeoUnselected:"chartGeoUnselected",chartAxisAreaSelected:"chartAxisAreaSelected",chartBrush:"chartBrush",chartBrushEnd:"chartBrushEnd",chartBrushSelected:"chartBrushSelected",chartGlobalCursorTaken:"chartGlobalCursorTaken",chartRendered:"chartRendered",chartFinished:"chartFinished"},exportAs:["echarts"],features:[Ze]});let n=i;return n})();var J5=n=>({provide:ok,useValue:n}),rk=(()=>{let i=class i{static forRoot(t){return{ngModule:i,providers:[J5(t)]}}static forChild(){return{ngModule:i}}};i.\u0275fac=function(o){return new(o||i)},i.\u0275mod=J({type:i}),i.\u0275inj=X({});let n=i;return n})();function e8(n,i){if(n&1&&(c(0,"div",21)(1,"div",11),M(2,"img",4),c(3,"div",12),f(4),d()(),c(5,"div",13)(6,"a",15)(7,"uds-translate"),f(8,"View service pools"),d()()()()),n&2){let e=_(2);u(2),p("src",e.api.staticURL("admin/img/icons/logs.png"),Se),u(2),O(" ",e.data.restrained," ")}}function t8(n,i){if(n&1){let e=k();c(0,"div")(1,"div",8)(2,"div",9)(3,"div",10)(4,"div",11),M(5,"img",4),c(6,"div",12),f(7),d()(),c(8,"div",13)(9,"a",14)(10,"uds-translate"),f(11,"View authenticators"),d()()()(),c(12,"div",10)(13,"div",11),M(14,"img",4),c(15,"div",12),f(16),d()(),c(17,"div",13)(18,"a",15)(19,"uds-translate"),f(20,"View service pools"),d()()()(),c(21,"div",10)(22,"div",11),M(23,"img",4),c(24,"div",12),f(25),d()(),c(26,"div",13)(27,"a",15)(28,"uds-translate"),f(29,"View service pools"),d()()()(),x(30,e8,9,2,"div",16),d(),c(31,"div",17)(32,"div",18)(33,"div",19)(34,"uds-translate"),f(35,"Assigned services chart"),d()(),c(36,"div",20),b("chartInit",function(o){y(e);let r=_();return w(r.chartInit("assigned",o))}),d()(),c(37,"div",18)(38,"div",19)(39,"uds-translate"),f(40,"In use services chart"),d()(),c(41,"div",20),b("chartInit",function(o){y(e);let r=_();return w(r.chartInit("inuse",o))}),d()()()()()}if(n&2){let e=_();u(5),p("src",e.api.staticURL("admin/img/icons/authenticators.png"),Se),u(2),O(" ",e.data.users," "),u(7),p("src",e.api.staticURL("admin/img/icons/pools.png"),Se),u(2),O(" ",e.data.pools," "),u(7),p("src",e.api.staticURL("admin/img/icons/services.png"),Se),u(2),O(" ",e.data.user_services," "),u(5),p("ngIf",e.data.restrained),u(6),p("options",e.assignedChartOpts),u(5),p("options",e.inuseChartOpts)}}function n8(n,i){n&1&&(c(0,"div",22)(1,"div",23)(2,"div",24)(3,"uds-translate"),f(4,"UDS Administration"),d()(),c(5,"div",25)(6,"p")(7,"uds-translate"),f(8,"You are accessing UDS Administration as staff member."),d()(),c(9,"p")(10,"uds-translate"),f(11,"This means that you have restricted access to elements."),d()(),c(12,"p")(13,"uds-translate"),f(14,"In order to increase your access privileges, please contact your local UDS administrator. "),d()(),M(15,"br"),c(16,"p")(17,"uds-translate"),f(18,"Thank you."),d()()()()())}var sk=(()=>{let i=class i{constructor(t,o){this.api=t,this.rest=o,this.data={},this.assignedChartInstance=null,this.assignedChartOpts={},this.inuseChartOpts={},this.inuseChartInstance=null}onResize(t){this.assignedChartInstance&&this.assignedChartInstance.resize(),this.inuseChartInstance&&this.inuseChartInstance.resize()}ngOnInit(){if(this.api.user.isAdmin){this.rest.system.information().then(t=>{this.data={users:django.gettext("#USR_NUMBER# users, #GRP_NUMBER# groups").replace("#USR_NUMBER#",t.users).replace("#GRP_NUMBER#",t.groups),pools:django.gettext("#POOLS_NUMBER# service pools").replace("#POOLS_NUMBER#",t.service_pools),user_services:django.gettext("#SERVICES_NUMBER# user services").replace("#SERVICES_NUMBER#",t.user_services)},t.restrained_services_pools>0&&(this.data.restrained=django.gettext("#RESTRAINED_NUMBER# restrained services!").replace("#RESTRAINED_NUMBER#",t.restrained_services_pools))});for(let t of["assigned","inuse"])this.rest.system.stats(t).then(o=>{let r={tooltip:{trigger:"axis"},toolbox:{feature:{dataZoom:{yAxisIndex:"none"},restore:{},saveAsImage:{}}},xAxis:{type:"category",data:o.map(a=>qn("SHORT_DATE_FORMAT",new Date(a.stamp))),boundaryGap:!1},yAxis:{type:"value"},series:[{name:t==="assigned"?django.gettext("Assigned services"):django.gettext("Services in use"),type:"line",smooth:!0,areaStyle:{},data:o.map(a=>a.value)}]};t==="assigned"?this.assignedChartOpts=r:this.inuseChartOpts=r})}}chartInit(t,o){t==="assigned"?this.assignedChartInstance=o:this.inuseChartInstance=o}};i.\u0275fac=function(o){return new(o||i)(C(B),C(Z))},i.\u0275cmp=E({type:i,selectors:[["uds-summary"]],hostBindings:function(o,r){o&1&&b("resize",function(s){return r.onResize(s)},!1,ep)},standalone:!1,decls:11,vars:3,consts:[["noAdmin",""],[1,"card"],[1,"card-header"],[1,"card-title"],[3,"src"],[1,"card-subtitle"],[1,"card-content"],[4,"ngIf","ngIfElse"],[1,"admin"],[1,"information"],[1,"info-panel"],[1,"info-panel-data"],[1,"info-text"],[1,"info-panel-link"],["mat-button","","routerLink","/authenticators"],["mat-button","","routerLink","/pools/service-pools"],["class","info-panel info-danger",4,"ngIf"],[1,"statistics"],[1,"statistics-chart"],[1,"statistics-title"],["echarts","","theme","dark-digerati",3,"chartInit","options"],[1,"info-panel","info-danger"],[1,"staff-container"],[1,"staff","mat-elevation-z8"],[1,"staff-header"],[1,"staff-content"]],template:function(o,r){if(o&1&&(c(0,"div",1)(1,"div",2)(2,"div",3),M(3,"img",4),c(4,"uds-translate"),f(5,"Dashboard"),d()(),M(6,"div",5),d(),c(7,"div",6),x(8,t8,42,9,"div",7)(9,n8,19,0,"ng-template",null,0,gn),d()()),o&2){let a=be(10);u(3),p("src",r.api.staticURL("admin/img/icons/dashboard-monitor.png"),Se),u(5),p("ngIf",r.api.user.isAdmin)("ngIfElse",a)}},dependencies:[ue,bn,xa,xf,ae],styles:[".mat-elevation-z0[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z0[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-0, none)}.mat-elevation-z1[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z1[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-1, none)}.mat-elevation-z2[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z2[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-2, none)}.mat-elevation-z3[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z3[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-3, none)}.mat-elevation-z4[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z4[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-4, none)}.mat-elevation-z5[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z5[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-5, none)}.mat-elevation-z6[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z6[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-6, none)}.mat-elevation-z7[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z7[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-7, none)}.mat-elevation-z8[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z8[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-8, none)}.mat-elevation-z9[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z9[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-9, none)}.mat-elevation-z10[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z10[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-10, none)}.mat-elevation-z11[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z11[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-11, none)}.mat-elevation-z12[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z12[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-12, none)}.mat-elevation-z13[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z13[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-13, none)}.mat-elevation-z14[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z14[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-14, none)}.mat-elevation-z15[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z15[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-15, none)}.mat-elevation-z16[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z16[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-16, none)}.mat-elevation-z17[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z17[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-17, none)}.mat-elevation-z18[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z18[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-18, none)}.mat-elevation-z19[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z19[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-19, none)}.mat-elevation-z20[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z20[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-20, none)}.mat-elevation-z21[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z21[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-21, none)}.mat-elevation-z22[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z22[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-22, none)}.mat-elevation-z23[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z23[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-23, none)}.mat-elevation-z24[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z24[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-24, none)}html[_ngcontent-%COMP%]{--mat-sys-on-surface: initial}.mat-app-background[_ngcontent-%COMP%]{background-color:var(--mat-app-background-color, var(--mat-sys-background, transparent));color:var(--mat-app-text-color, var(--mat-sys-on-background, inherit))}.staff-container[_ngcontent-%COMP%]{margin-top:2rem;display:flex;justify-content:center}.staff[_ngcontent-%COMP%]{border:#337ab7;border-width:1px;border-style:solid}.staff-header[_ngcontent-%COMP%]{display:flex;justify-content:center;background-color:#337ab7;color:#fff;font-weight:700;padding:.5rem 1rem}.staff-content[_ngcontent-%COMP%]{padding:.5rem 1rem}.admin[_ngcontent-%COMP%]{display:flex;flex-direction:column}.information[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-around;width:100%}.info-panel[_ngcontent-%COMP%]{border-color:#333;background-image:linear-gradient(135deg,#fdfcfb,#e2d1c3);box-shadow:#00000024 0 1px 4px;box-sizing:border-box;color:#333;display:flex;flex-direction:column;margin:2rem 1rem;width:100%}.info-danger[_ngcontent-%COMP%]{background-image:linear-gradient(to right,#f83600,#f9d423);color:#fff;font-weight:700;font-size:1.5em}.info-panel-data[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;padding:1rem}.info-panel-data[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{margin-right:1rem;width:5rem}.info-text[_ngcontent-%COMP%]{width:100%;text-align:center}.info-panel-link[_ngcontent-%COMP%]{background:linear-gradient(60deg,#4b5266,#465d9c)}.info-panel-link[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{width:100%;color:#fff}.statistics[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-around;width:100%}.statistics-title[_ngcontent-%COMP%]{background:linear-gradient(60deg,#4b5266,#465d9c);width:100%;color:#fff;padding:1rem 0rem;text-align:center}.statistics-chart[_ngcontent-%COMP%]{border-color:#333;box-shadow:#00000024 0 1px 4px;box-sizing:border-box;color:#333;display:flex;flex-direction:column;margin:2rem 1rem;width:100%;height:400px} .dark-theme .staff{border:#337ab7} .dark-theme .staff-header{color:#fff} .dark-theme .info-panel{border-color:lightned(#303030,60%);background-image:linear-gradient(135deg,#fdfcfb,#e2d1c3);box-shadow:#00000024 0 1px 4px;color:#b3b3b3} .dark-theme .info-danger{background-image:linear-gradient(to right,#f83600,#f9d423);color:#fff} .dark-theme .info-panel-link{background:#4682b4} .dark-theme .info-panel-link a{color:#fff} .dark-theme .statistics-title{color:#fff} .dark-theme .statistics-chart{border-color:#333;box-shadow:#00000024 0 1px 4px;color:#333}"]});let n=i;return n})();var i8=["notch"],o8=["matFormFieldNotchedOutline",""],r8=["*"],a8=["textField"],s8=["iconPrefixContainer"],l8=["textPrefixContainer"],c8=["iconSuffixContainer"],d8=["textSuffixContainer"],u8=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],m8=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function p8(n,i){n&1&&M(0,"span",21)}function h8(n,i){if(n&1&&(c(0,"label",20),re(1,1),x(2,p8,1,0,"span",21),d()),n&2){let e=_(2);p("floating",e._shouldLabelFloat())("monitorResize",e._hasOutline())("id",e._labelId),ee("for",e._control.disableAutomaticLabeling?null:e._control.id),u(2),Ce(!e.hideRequiredMarker&&e._control.required?2:-1)}}function f8(n,i){if(n&1&&x(0,h8,3,5,"label",20),n&2){let e=_();Ce(e._hasFloatingLabel()?0:-1)}}function g8(n,i){n&1&&M(0,"div",7)}function _8(n,i){}function v8(n,i){if(n&1&&x(0,_8,0,0,"ng-template",13),n&2){_(2);let e=be(1);p("ngTemplateOutlet",e)}}function b8(n,i){if(n&1&&(c(0,"div",9),x(1,v8,1,1,null,13),d()),n&2){let e=_();p("matFormFieldNotchedOutlineOpen",e._shouldLabelFloat()),u(),Ce(e._forceDisplayInfixLabel()?-1:1)}}function y8(n,i){n&1&&(c(0,"div",10,2),re(2,2),d())}function w8(n,i){n&1&&(c(0,"div",11,3),re(2,3),d())}function C8(n,i){}function x8(n,i){if(n&1&&x(0,C8,0,0,"ng-template",13),n&2){_();let e=be(1);p("ngTemplateOutlet",e)}}function D8(n,i){n&1&&(c(0,"div",14,4),re(2,4),d())}function S8(n,i){n&1&&(c(0,"div",15,5),re(2,5),d())}function E8(n,i){n&1&&M(0,"div",16)}function M8(n,i){if(n&1&&(c(0,"div",18),re(1,6),d()),n&2){let e=_();p("@transitionMessages",e._subscriptAnimationState)}}function I8(n,i){if(n&1&&(c(0,"mat-hint",22),f(1),d()),n&2){let e=_(2);p("id",e._hintLabelId),u(),Ge(e.hintLabel)}}function T8(n,i){if(n&1&&(c(0,"div",19),x(1,I8,2,2,"mat-hint",22),re(2,7),M(3,"div",23),re(4,8),d()),n&2){let e=_();p("@transitionMessages",e._subscriptAnimationState),u(),Ce(e.hintLabel?1:-1)}}var ke=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["mat-label"]]})}return n})(),k8=new R("MatError");var lk=(()=>{class n{align="start";id=h(ft).getId("mat-mdc-hint-");static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(t,o){t&2&&(En("id",o.id),ee("align",null),ne("mat-mdc-form-field-hint-end",o.align==="end"))},inputs:{align:"align",id:"id"}})}return n})(),A8=new R("MatPrefix");var fk=new R("MatSuffix"),uo=(()=>{class n{set _isTextSelector(e){this._isText=!0}_isText=!1;static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[0,"matTextSuffix","_isTextSelector"]},features:[ye([{provide:fk,useExisting:n}])]})}return n})(),gk=new R("FloatingLabelParent"),ck=(()=>{class n{_elementRef=h(Q);get floating(){return this._floating}set floating(e){this._floating=e,this.monitorResize&&this._handleResize()}_floating=!1;get monitorResize(){return this._monitorResize}set monitorResize(e){this._monitorResize=e,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}_monitorResize=!1;_resizeObserver=h(Kh);_ngZone=h(te);_parent=h(gk);_resizeSubscription=new ge;constructor(){}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return R8(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())})}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(t,o){t&2&&ne("mdc-floating-label--float-above",o.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}return n})();function R8(n){let i=n;if(i.offsetParent!==null)return i.scrollWidth;let e=i.cloneNode(!0);e.style.setProperty("position","absolute"),e.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(e);let t=e.scrollWidth;return e.remove(),t}var dk="mdc-line-ripple--active",Df="mdc-line-ripple--deactivating",uk=(()=>{class n{_elementRef=h(Q);constructor(){h(te).runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){let e=this._elementRef.nativeElement.classList;e.remove(Df),e.add(dk)}deactivate(){this._elementRef.nativeElement.classList.add(Df)}_handleTransitionEnd=e=>{let t=this._elementRef.nativeElement.classList,o=t.contains(Df);e.propertyName==="opacity"&&o&&t.remove(dk,Df)};ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}return n})(),mk=(()=>{class n{_elementRef=h(Q);_ngZone=h(te);open=!1;_notch;constructor(){}ngAfterViewInit(){let e=this._elementRef.nativeElement.querySelector(".mdc-floating-label");e?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(e.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>e.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(e){!this.open||!e?this._notch.nativeElement.style.width="":this._notch.nativeElement.style.width=`calc(${e}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(t,o){if(t&1&&se(i8,5),t&2){let r;$(r=q())&&(o._notch=r.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(t,o){t&2&&ne("mdc-notched-outline--notched",o.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},attrs:o8,ngContentSelectors:r8,decls:5,vars:0,consts:[["notch",""],[1,"mat-mdc-notch-piece","mdc-notched-outline__leading"],[1,"mat-mdc-notch-piece","mdc-notched-outline__notch"],[1,"mat-mdc-notch-piece","mdc-notched-outline__trailing"]],template:function(t,o){t&1&&(We(),M(0,"div",1),c(1,"div",2,0),re(3),d(),M(4,"div",3))},encapsulation:2,changeDetection:0})}return n})(),O8={transitionMessages:mn("transitionMessages",[Ft("enter",Me({opacity:1,transform:"translateY(0%)"})),xt("void => enter",[Me({opacity:0,transform:"translateY(-5px)"}),It("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Ma=(()=>{class n{value;stateChanges;id;placeholder;ngControl;focused;empty;shouldLabelFloat;required;disabled;errorState;controlType;autofilled;userAriaDescribedBy;disableAutomaticLabeling;static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n})}return n})();var Ro=new R("MatFormField"),Yy=new R("MAT_FORM_FIELD_DEFAULT_OPTIONS"),pk="fill",P8="auto",hk="fixed",F8="translateY(-50%)",fe=(()=>{class n{_elementRef=h(Q);_changeDetectorRef=h(Ee);_dir=h(jt);_platform=h(rt);_idGenerator=h(ft);_defaults=h(Yy,{optional:!0});_animationMode=h($t,{optional:!0});_textField;_iconPrefixContainer;_textPrefixContainer;_iconSuffixContainer;_textSuffixContainer;_floatingLabel;_notchedOutline;_lineRipple;_formFieldControl;_prefixChildren;_suffixChildren;_errorChildren;_hintChildren;_labelChild=HE(ke);get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=oo(e)}_hideRequiredMarker=!1;color="primary";get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||P8}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck())}_floatLabel;get appearance(){return this._appearance}set appearance(e){let t=this._appearance,o=e||this._defaults?.appearance||pk;this._appearance=o,this._appearance==="outline"&&this._appearance!==t&&(this._needsOutlineLabelOffsetUpdate=!0)}_appearance=pk;get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||hk}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||hk}_subscriptSizing=null;get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}_hintLabel="";_hasIconPrefix=!1;_hasTextPrefix=!1;_hasIconSuffix=!1;_hasTextSuffix=!1;_labelId=this._idGenerator.getId("mat-mdc-form-field-label-");_hintLabelId=this._idGenerator.getId("mat-mdc-hint-");_subscriptAnimationState="";get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(e){this._explicitFormFieldControl=e}_destroyed=new j;_isFocused=null;_explicitFormFieldControl;_needsOutlineLabelOffsetUpdate=!1;_previousControl=null;_stateChanges;_valueChanges;_describedByChanges;_injector=h(Ae);constructor(){let e=this._defaults;e&&(e.appearance&&(this.appearance=e.appearance),this._hideRequiredMarker=!!e?.hideRequiredMarker,e.color&&(this.color=e.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl(),this._control!==this._previousControl&&(this._initializeControl(this._previousControl),this._previousControl=this._control)}ngOnDestroy(){this._stateChanges?.unsubscribe(),this._valueChanges?.unsubscribe(),this._describedByChanges?.unsubscribe(),this._destroyed.next(),this._destroyed.complete()}getLabelId=Mr(()=>this._hasFloatingLabel()?this._labelId:null);getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(e){let t=this._control,o="mat-mdc-form-field-type-";e&&this._elementRef.nativeElement.classList.remove(o+e.controlType),t.controlType&&this._elementRef.nativeElement.classList.add(o+t.controlType),this._stateChanges?.unsubscribe(),this._stateChanges=t.stateChanges.subscribe(()=>{this._updateFocusState(),this._changeDetectorRef.markForCheck()}),this._describedByChanges?.unsubscribe(),this._describedByChanges=t.stateChanges.pipe(Et([void 0,void 0]),le(()=>[t.errorState,t.userAriaDescribedBy]),ju(),je(([[r,a],[s,l]])=>r!==s||a!==l)).subscribe(()=>this._syncDescribedByIds()),this._valueChanges?.unsubscribe(),t.ngControl&&t.ngControl.valueChanges&&(this._valueChanges=t.ngControl.valueChanges.pipe(pe(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()))}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(e=>!e._isText),this._hasTextPrefix=!!this._prefixChildren.find(e=>e._isText),this._hasIconSuffix=!!this._suffixChildren.find(e=>!e._isText),this._hasTextSuffix=!!this._suffixChildren.find(e=>e._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),yt(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){this._control}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0),kc(()=>{this._needsOutlineLabelOffsetUpdate&&(this._needsOutlineLabelOffsetUpdate=!1,this._updateOutlineLabelOffset())},{injector:this._injector}),this._dir.change.pipe(pe(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=Mr(()=>!!this._labelChild());_shouldLabelFloat(){return this._hasFloatingLabel()?this._control.shouldLabelFloat||this._shouldAlwaysFloat():!1}_shouldForward(e){let t=this._control?this._control.ngControl:null;return t&&t[e]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(0):this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&e.push(...this._control.userAriaDescribedBy.split(" ")),this._getDisplayedMessages()==="hint"){let t=this._hintChildren?this._hintChildren.find(r=>r.align==="start"):null,o=this._hintChildren?this._hintChildren.find(r=>r.align==="end"):null;t?e.push(t.id):this._hintLabel&&e.push(this._hintLabelId),o&&e.push(o.id)}else this._errorChildren&&e.push(...this._errorChildren.map(t=>t.id));this._control.setDescribedByIds(e)}}_updateOutlineLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return;let e=this._floatingLabel.element;if(!(this._iconPrefixContainer||this._textPrefixContainer)){e.style.transform="";return}if(!this._isAttachedToDom()){this._needsOutlineLabelOffsetUpdate=!0;return}let t=this._iconPrefixContainer?.nativeElement,o=this._textPrefixContainer?.nativeElement,r=this._iconSuffixContainer?.nativeElement,a=this._textSuffixContainer?.nativeElement,s=t?.getBoundingClientRect().width??0,l=o?.getBoundingClientRect().width??0,m=r?.getBoundingClientRect().width??0,g=a?.getBoundingClientRect().width??0,v=this._dir.value==="rtl"?"-1":"1",D=`${s+l}px`,I=`calc(${v} * (${D} + var(--mat-mdc-form-field-label-offset-x, 0px)))`;e.style.transform=`var( --mat-mdc-form-field-label-transform, - ${DH} translateX(${P}) - )`;let z=l+u+f+v;this._elementRef.nativeElement.style.setProperty("--mat-form-field-notch-max-width",`calc(100% - ${z}px)`)}_isAttachedToDom(){let t=this._elementRef.nativeElement;if(t.getRootNode){let n=t.getRootNode();return n&&n!==t}return document.documentElement.contains(t)}};e.\u0275fac=function(n){return new(n||e)(m(q),m(he),m(Z),m(Nt),m(Ve),m(Vy,8),m(kt,8),m(se))},e.\u0275cmp=E({type:e,selectors:[["mat-form-field"]],contentQueries:function(n,o,a){if(n&1&&(KE(a,o._labelChild,Ae,5),Be(a,Ia,5),Be(a,yH,5),Be(a,ik,5),Be(a,vH,5),Be(a,YT,5)),n&2){ZE();let s;Q(s=K())&&(o._formFieldControl=s.first),Q(s=K())&&(o._prefixChildren=s),Q(s=K())&&(o._suffixChildren=s),Q(s=K())&&(o._errorChildren=s),Q(s=K())&&(o._hintChildren=s)}},viewQuery:function(n,o){if(n&1&&(ce(Y8,5),ce(Q8,5),ce(K8,5),ce(Z8,5),ce(X8,5),ce(QT,5),ce(XT,5),ce(ZT,5)),n&2){let a;Q(a=K())&&(o._textField=a.first),Q(a=K())&&(o._iconPrefixContainer=a.first),Q(a=K())&&(o._textPrefixContainer=a.first),Q(a=K())&&(o._iconSuffixContainer=a.first),Q(a=K())&&(o._textSuffixContainer=a.first),Q(a=K())&&(o._floatingLabel=a.first),Q(a=K())&&(o._notchedOutline=a.first),Q(a=K())&&(o._lineRipple=a.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(n,o){n&2&&ne("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:[Ce([{provide:Ro,useExisting:e},{provide:nk,useExisting:e}]),re],ngContentSelectors:eH,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],["textSuffixContainer",""],["iconSuffixContainer",""],[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(n,o){if(n&1){let a=A();He(J8),x(0,nH,1,1,"ng-template",null,0,fi),c(2,"div",6,1),b("click",function(l){return y(a),w(o._control.onContainerClick(l))}),x(4,oH,1,0,"div",7),c(5,"div",8),x(6,sH,2,2,"div",9)(7,lH,3,0,"div",10)(8,cH,3,0,"div",11),c(9,"div",12),x(10,uH,1,1,null,13),ae(11),d(),x(12,hH,3,0,"div",14)(13,mH,3,0,"div",15),d(),x(14,pH,1,0,"div",16),d(),c(15,"div",17),x(16,fH,2,1,"div",18)(17,_H,5,2,"div",19),d()}if(n&2){let a;h(2),ne("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),h(2),De(!o._hasOutline()&&!o._control.disabled?4:-1),h(2),De(o._hasOutline()?6:-1),h(),De(o._hasIconPrefix?7:-1),h(),De(o._hasTextPrefix?8:-1),h(2),De(!o._hasOutline()||o._forceDisplayInfixLabel()?10:-1),h(2),De(o._hasTextSuffix?12:-1),h(),De(o._hasIconSuffix?13:-1),h(),De(o._hasOutline()?-1:14),h(),ne("mat-mdc-form-field-subscript-dynamic-size",o.subscriptSizing==="dynamic"),h(),De((a=o._getDisplayedMessages())==="error"?16:a==="hint"?17:-1)}},dependencies:[QT,XT,ym,ZT,YT],styles:['.mdc-text-field{display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field__input{width:100%;min-width:0;border:none;border-radius:0;background:none;padding:0;-moz-appearance:none;-webkit-appearance:none;height:28px}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}.mdc-text-field__input::placeholder{opacity:0}.mdc-text-field__input::-moz-placeholder{opacity:0}.mdc-text-field__input::-webkit-input-placeholder{opacity:0}.mdc-text-field__input:-ms-input-placeholder{opacity:0}.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{opacity:1}.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--outlined .mdc-text-field__input,.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color, var(--mat-app-on-surface));caret-color:var(--mdc-filled-text-field-caret-color, var(--mat-app-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.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, var(--mat-app-on-surface-variant))}.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.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color, var(--mat-app-on-surface));caret-color:var(--mdc-outlined-text-field-caret-color, var(--mat-app-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.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, var(--mat-app-on-surface-variant))}.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.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color)}.mdc-text-field--disabled .cdk-high-contrast-active .mdc-text-field__input{background-color:Window}.mdc-text-field--filled{height:56px;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-left-radius:var(--mdc-filled-text-field-container-shape, var(--mat-app-corner-extra-small-top));border-top-right-radius:var(--mdc-filled-text-field-container-shape, var(--mat-app-corner-extra-small-top))}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color, var(--mat-app-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color)}.mdc-text-field--outlined{height:56px;overflow:visible;padding-right:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)));padding-left:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)) + 4px)}[dir=rtl] .mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)) + 4px);padding-left:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)))}.mdc-floating-label{position:absolute;left:0;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{right:0;left:auto;transform-origin:right top;text-align:right}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:auto}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label{left:auto;right:4px}.mdc-text-field--filled .mdc-floating-label{left:16px;right:auto}[dir=rtl] .mdc-text-field--filled .mdc-floating-label{left:auto;right:16px}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.cdk-high-contrast-active .mdc-text-field--disabled .mdc-floating-label{z-index:1}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-filled-text-field-label-text-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mdc-filled-text-field-focus-label-text-color, var(--mat-app-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mdc-filled-text-field-hover-label-text-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-filled-text-field-disabled-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mdc-filled-text-field-error-label-text-color, var(--mat-app-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mdc-filled-text-field-error-focus-label-text-color, var(--mat-app-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mdc-filled-text-field-error-hover-label-text-color, var(--mat-app-on-error-container))}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font, var(--mat-app-body-large-font));font-size:var(--mdc-filled-text-field-label-text-size, var(--mat-app-body-large-size));font-weight:var(--mdc-filled-text-field-label-text-weight, var(--mat-app-body-large-weight));letter-spacing:var(--mdc-filled-text-field-label-text-tracking, var(--mat-app-body-large-tracking))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-outlined-text-field-label-text-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mdc-outlined-text-field-focus-label-text-color, var(--mat-app-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mdc-outlined-text-field-hover-label-text-color, var(--mat-app-on-surface))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-outlined-text-field-disabled-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mdc-outlined-text-field-error-label-text-color, var(--mat-app-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mdc-outlined-text-field-error-focus-label-text-color, var(--mat-app-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mdc-outlined-text-field-error-hover-label-text-color, var(--mat-app-on-error-container))}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font, var(--mat-app-body-large-font));font-size:var(--mdc-outlined-text-field-label-text-size, var(--mat-app-body-large-size));font-weight:var(--mdc-outlined-text-field-label-text-weight, var(--mat-app-body-large-weight));letter-spacing:var(--mdc-outlined-text-field-label-text-tracking, var(--mat-app-body-large-tracking))}.mdc-floating-label--float-above{cursor:auto;transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1);font-size:.75rem}.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-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-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-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::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{text-align:right}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mat-mdc-notch-piece{box-sizing:border-box;height:100%;pointer-events:none;border-top:1px solid;border-bottom:1px solid}.mdc-text-field--focused .mat-mdc-notch-piece{border-width:2px}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-outline-color, var(--mat-app-outline));border-width:var(--mdc-outlined-text-field-outline-width)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-hover-outline-color, var(--mat-app-on-surface))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-focus-outline-color, var(--mat-app-primary))}.mdc-text-field--outlined.mdc-text-field--disabled .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-disabled-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-outline-color, var(--mat-app-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-notched-outline .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-hover-outline-color, var(--mat-app-on-error-container))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-focus-outline-color, var(--mat-app-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mat-mdc-notch-piece{border-width:var(--mdc-outlined-text-field-focus-outline-width)}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small));border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small))}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)))}[dir=rtl] .mdc-notched-outline__leading{border-left:none;border-right:1px solid;border-bottom-left-radius:0;border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small));border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small))}.mdc-notched-outline__trailing{flex-grow:1;border-left:none;border-right:1px solid;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small));border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small))}[dir=rtl] .mdc-notched-outline__trailing{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small));border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small))}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:min(var(--mat-form-field-notch-max-width, 100%),100% - max(12px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)))*2)}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none;--mat-form-field-notch-max-width: 100%}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch{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;border-bottom-width:var(--mdc-filled-text-field-active-indicator-height)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color, var(--mat-app-on-surface-variant))}.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, var(--mat-app-on-surface))}.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:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color, var(--mat-app-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color, var(--mat-app-on-error-container))}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height)}.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, var(--mat-app-primary))}.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, var(--mat-app-error))}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-text-field--disabled{pointer-events:none}.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-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, var(--mat-app-error))}.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, var(--mat-app-body-small-font));line-height:var(--mat-form-field-subscript-text-line-height, var(--mat-app-body-small-line-height));font-size:var(--mat-form-field-subscript-text-size, var(--mat-app-body-small-size));letter-spacing:var(--mat-form-field-subscript-text-tracking, var(--mat-app-body-small-tracking));font-weight:var(--mat-form-field-subscript-text-weight, var(--mat-app-body-small-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, var(--mat-app-on-surface))}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity, var(--mat-app-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, var(--mat-app-on-surface-variant))}[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, var(--mat-app-primary))}.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, var(--mat-app-body-large-font));line-height:var(--mat-form-field-container-text-line-height, var(--mat-app-body-large-line-height));font-size:var(--mat-form-field-container-text-size, var(--mat-app-body-large-size));letter-spacing:var(--mat-form-field-container-text-tracking, var(--mat-app-body-large-tracking));font-weight:var(--mat-form-field-container-text-weight, var(--mat-app-body-large-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, var(--mat-app-on-surface-variant))}.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, var(--mat-app-on-surface-variant))}.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, var(--mat-app-error))}.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, var(--mat-app-on-error-container))}.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, var(--mat-app-error))}.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-infix:has(textarea[cols]){width:auto}.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-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::-moz-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::-webkit-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .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--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-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:[CH.transitionMessages]},changeDetection:0});let i=e;return i})(),vs=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=te({type:e}),e.\u0275inj=ee({imports:[pe,Ei,ip,pe]});let i=e;return i})();var SH=["trigger"],EH=["panel"],IH=[[["mat-select-trigger"]],"*"],MH=["mat-select-trigger","*"];function TH(i,e){if(i&1&&(c(0,"span",4),g(1),d()),i&2){let r=_();h(),$e(r.placeholder)}}function kH(i,e){i&1&&ae(0)}function AH(i,e){if(i&1&&(c(0,"span",11),g(1),d()),i&2){let r=_(2);h(),$e(r.triggerValue)}}function OH(i,e){if(i&1&&(c(0,"span",5),x(1,kH,1,0)(2,AH,2,1,"span",11),d()),i&2){let r=_();h(),De(r.customTrigger?1:2)}}function RH(i,e){if(i&1){let r=A();c(0,"div",12,1),b("@transformPanel.done",function(n){y(r);let o=_();return w(o._panelDoneAnimatingStream.next(n.toState))})("keydown",function(n){y(r);let o=_();return w(o._handleKeydown(n))}),ae(2,1),d()}if(i&2){let r=_();YE("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",r._getPanelTheme(),""),p("ngClass",r.panelClass)("@transformPanel","showing"),ie("id",r.id+"-panel")("aria-multiselectable",r.multiple)("aria-label",r.ariaLabel||null)("aria-labelledby",r._getPanelAriaLabelledby())}}var PH={transformPanelWrap:ui("transformPanelWrap",[St("* => void",bp("@transformPanel",[vp()],{optional:!0}))]),transformPanel:ui("transformPanel",[Lt("void",Me({opacity:0,transform:"scale(1, 0.8)"})),St("void => showing",Mt("120ms cubic-bezier(0, 0, 0.2, 1)",Me({opacity:1,transform:"scale(1, 1)"}))),St("* => void",Mt("100ms linear",Me({opacity:0})))])};var ok=0,rk=new R("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let i=k(xt);return()=>i.scrollStrategies.reposition()}});function FH(i){return()=>i.scrollStrategies.reposition()}var NH=new R("MAT_SELECT_CONFIG"),LH={provide:rk,deps:[xt],useFactory:FH},ak=new R("MatSelectTrigger"),jy=class{constructor(e,r){this.source=e,this.value=r}},bt=(()=>{let e=class e{_scrollOptionIntoView(t){let n=this.options.toArray()[t];if(n){let o=this.panel.nativeElement,a=pp(t,this.options,this.optionGroups),s=n._getHostElement();t===0&&a===1?o.scrollTop=0:o.scrollTop=fp(s.offsetTop,s.offsetHeight,o.scrollTop,o.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(t){return new jy(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(){return this._required??this.ngControl?.control?.hasValidator(sr.required)??!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,n,o,a,s,l,u,f,v,C,D,S,P,z){this._viewportRuler=t,this._changeDetectorRef=n,this._elementRef=s,this._dir=l,this._parentFormField=v,this.ngControl=C,this._liveAnnouncer=P,this._defaultOptions=z,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=(O,de)=>O===de,this._uid=`mat-select-${ok++}`,this._triggerAriaLabelledBy=null,this._destroy=new G,this.stateChanges=new G,this.disableAutomaticLabeling=!0,this._onChange=()=>{},this._onTouched=()=>{},this._valueId=`mat-select-value-${ok++}`,this._panelDoneAnimatingStream=new G,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this._multiple=!1,this.disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto",this._initialized=new G,this.optionSelectionChanges=Xn(()=>{let O=this.options;return O?O.changes.pipe(Rt(O),Tt(()=>wt(...O.map(de=>de.onSelectionChange)))):this._initialized.pipe(Tt(()=>this.optionSelectionChanges))}),this.openedChange=new T,this._openedStream=this.openedChange.pipe(Ye(O=>O),ue(()=>{})),this._closedStream=this.openedChange.pipe(Ye(O=>!O),ue(()=>{})),this.selectionChange=new T,this.valueChange=new T,this._trackedModal=null,this._skipPredicate=O=>this.panelOpen?!1:O.disabled,this.ngControl&&(this.ngControl.valueAccessor=this),z?.typeaheadDebounceInterval!=null&&(this.typeaheadDebounceInterval=z.typeaheadDebounceInterval),this._errorStateTracker=new Fr(a,C,f,u,this.stateChanges),this._scrollStrategyFactory=S,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(D)||0,this.id=this.id}ngOnInit(){this._selectionModel=new Rr(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(js(),fe(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen)),this._viewportRuler.change().pipe(fe(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(fe(this._destroy)).subscribe(t=>{t.added.forEach(n=>n.select()),t.removed.forEach(n=>n.deselect())}),this.options.changes.pipe(Rt(null),fe(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){let t=this._getTriggerAriaLabelledby(),n=this.ngControl;if(t!==this._triggerAriaLabelledBy){let o=this._elementRef.nativeElement;this._triggerAriaLabelledBy=t,t?o.setAttribute("aria-labelledby",t):o.removeAttribute("aria-labelledby")}n&&(this._previousControl!==n.control&&(this._previousControl!==void 0&&n.disabled!==null&&n.disabled!==this.disabled&&(this.disabled=n.disabled),this._previousControl=n.control),this.updateErrorState())}ngOnChanges(t){(t.disabled||t.userAriaDescribedBy)&&this.stateChanges.next(),t.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_applyModalPanelOwnership(){let t=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!t)return;let n=`${this.id}-panel`;this._trackedModal&&va(this._trackedModal,"aria-owns",n),Nl(t,"aria-owns",n),this._trackedModal=t}_clearFromModal(){if(!this._trackedModal)return;let t=`${this.id}-panel`;va(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(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){let t=this._selectionModel.selected.map(n=>n.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 n=t.keyCode,o=n===40||n===38||n===37||n===39,a=n===13||n===32,s=this._keyManager;if(!s.isTyping()&&a&&!Pt(t)||(this.multiple||t.altKey)&&o)t.preventDefault(),this.open();else if(!this.multiple){let l=this.selected;s.onKeydown(t);let u=this.selected;u&&l!==u&&this._liveAnnouncer.announce(u.viewValue,1e4)}}_handleOpenKeydown(t){let n=this._keyManager,o=t.keyCode,a=o===40||o===38,s=n.isTyping();if(a&&t.altKey)t.preventDefault(),this.close();else if(!s&&(o===13||o===32)&&n.activeItem&&!Pt(t))t.preventDefault(),n.activeItem._selectViaInteraction();else if(!s&&this._multiple&&o===65&&t.ctrlKey){t.preventDefault();let l=this.options.some(u=>!u.disabled&&!u.selected);this.options.forEach(u=>{u.disabled||(l?u.select():u.deselect())})}else{let l=n.activeItemIndex;n.onKeydown(t),this._multiple&&a&&t.shiftKey&&n.activeItem&&n.activeItemIndex!==l&&n.activeItem._selectViaInteraction()}}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe(Ot(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(t){if(this.options.forEach(n=>n.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&t)Array.isArray(t),t.forEach(n=>this._selectOptionByValue(n)),this._sortValues();else{let n=this._selectOptionByValue(t);n?this._keyManager.updateActiveItem(n):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(t){let n=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 n&&this._selectionModel.select(n),n}_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 yd?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 Rl(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=wt(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(fe(t)).subscribe(n=>{this._onSelect(n.source,n.isUserInput),n.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),wt(...this.options.map(n=>n._stateChanges)).pipe(fe(t)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(t,n){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)),n&&this._keyManager.setActiveItem(t),this.multiple&&(this._sortValues(),n&&this.focus())),o!==this._selectionModel.isSelected(t)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){let t=this.options.toArray();this._selectionModel.sort((n,o)=>this.sortComparator?this.sortComparator(n,o,t):t.indexOf(n)-t.indexOf(o)),this.stateChanges.next()}}_propagateChanges(t){let n;this.multiple?n=this.selected.map(o=>o.value):n=this.selected?this.selected.value:t,this._value=n,this.valueChange.emit(n),this._onChange(n),this.selectionChange.emit(this._getChangeEvent(n)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let t=-1;for(let n=0;n0}focus(t){this._elementRef.nativeElement.focus(t)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;let t=this._parentFormField?.getLabelId(),n=t?t+" ":"";return this.ariaLabelledby?n+this.ariaLabelledby:t}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let t=this._parentFormField?.getLabelId(),n=(t?t+" ":"")+this._valueId;return this.ariaLabelledby&&(n+=" "+this.ariaLabelledby),n}_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(n){return new(n||e)(m(fn),m(he),m(Z),m(Nr),m(q),m(Nt,8),m(Oo,8),m(gs,8),m(Ro,8),m(kn,10),vi("tabindex"),m(rk),m(dp),m(NH,8))},e.\u0275cmp=E({type:e,selectors:[["mat-select"]],contentQueries:function(n,o,a){if(n&1&&(Be(a,ak,5),Be(a,nt,5),Be(a,kd,5)),n&2){let s;Q(s=K())&&(o.customTrigger=s.first),Q(s=K())&&(o.options=s),Q(s=K())&&(o.optionGroups=s)}},viewQuery:function(n,o){if(n&1&&(ce(SH,5),ce(EH,5),ce(q0,5)),n&2){let a;Q(a=K())&&(o.trigger=a.first),Q(a=K())&&(o.panel=a.first),Q(a=K())&&(o._overlayDir=a.first)}},hostAttrs:["role","combobox","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(n,o){n&1&&b("keydown",function(s){return o._handleKeydown(s)})("focus",function(){return o._onFocus()})("blur",function(){return o._onBlur()}),n&2&&(ie("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()),ne("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",Y],disableRipple:[2,"disableRipple","disableRipple",Y],tabIndex:[2,"tabIndex","tabIndex",t=>t==null?0:ni(t)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",Y],placeholder:"placeholder",required:[2,"required","required",Y],multiple:[2,"multiple","multiple",Y],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",Y],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",ni],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],standalone:!0,features:[Ce([{provide:Ia,useExisting:e},{provide:Td,useExisting:e}]),ge,Qe,re],ngContentSelectors:MH,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(n,o){if(n&1){let a=A();He(IH),c(0,"div",2,0),b("click",function(){return y(a),w(o.open())}),c(3,"div",3),x(4,TH,2,1,"span",4)(5,OH,3,1,"span",5),d(),c(6,"div",6)(7,"div",7),pi(),c(8,"svg",8),I(9,"path",9),d()()()(),x(10,RH,3,9,"ng-template",10),b("backdropClick",function(){return y(a),w(o.close())})("attach",function(){return y(a),w(o._onAttached())})("detach",function(){return y(a),w(o.close())})}if(n&2){let a=we(1);h(3),ie("id",o._valueId),h(),De(o.empty?4:5),h(6),p("cdkConnectedOverlayPanelClass",o._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",o._scrollStrategy)("cdkConnectedOverlayOrigin",o._preferredOverlayOrigin||a)("cdkConnectedOverlayOpen",o.panelOpen)("cdkConnectedOverlayPositions",o._positions)("cdkConnectedOverlayWidth",o._overlayWidth)}},dependencies:[yd,q0,Sn],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, var(--mat-app-on-surface));font-family:var(--mat-select-trigger-text-font, var(--mat-app-body-large-font));line-height:var(--mat-select-trigger-text-line-height, var(--mat-app-body-large-line-height));font-size:var(--mat-select-trigger-text-size, var(--mat-app-body-large-size));font-weight:var(--mat-select-trigger-text-weight, var(--mat-app-body-large-weight));letter-spacing:var(--mat-select-trigger-text-tracking, var(--mat-app-body-large-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, var(--mat-app-error))}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color, var(--mat-app-on-surface-variant))}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color, var(--mat-app-primary))}.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, var(--mat-app-surface-container))}.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, var(--mat-app-on-surface-variant))}._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:[PH.transformPanel]},changeDetection:0});let i=e;return i})(),vf=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=L({type:e,selectors:[["mat-select-trigger"]],standalone:!0,features:[Ce([{provide:ak,useExisting:e}])]});let i=e;return i})(),bf=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=te({type:e}),e.\u0275inj=ee({providers:[LH],imports:[Ei,an,jl,pe,so,vs,jl,pe]});let i=e;return i})();var VH=["tooltip"],ck=20;var dk=new R("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{let i=k(xt);return()=>i.scrollStrategies.reposition({scrollThrottle:ck})}});function jH(i){return()=>i.scrollStrategies.reposition({scrollThrottle:ck})}var BH={provide:dk,deps:[xt],useFactory:jH};function zH(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}var UH=new R("mat-tooltip-default-options",{providedIn:"root",factory:zH});var sk="tooltip-panel",lk=Ui({passive:!0}),HH=8,$H=8,WH=24,GH=200,lr=(()=>{let e=class e{get position(){return this._position}set position(t){t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(t){this._positionAtOrigin=Bn(t),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(t){let n=Bn(t);this._disabled!==n&&(this._disabled=n,n?this.hide(0):this._setupPointerEnterEventsIfNeeded(),this._syncAriaDescription(this.message))}get showDelay(){return this._showDelay}set showDelay(t){this._showDelay=Mo(t)}get hideDelay(){return this._hideDelay}set hideDelay(t){this._hideDelay=Mo(t),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(t){let n=this._message;this._message=t!=null?String(t).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage()),this._syncAriaDescription(n)}get tooltipClass(){return this._tooltipClass}set tooltipClass(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(t,n,o,a,s,l,u,f,v,C,D,S){this._overlay=t,this._elementRef=n,this._scrollDispatcher=o,this._viewContainerRef=a,this._ngZone=s,this._platform=l,this._ariaDescriber=u,this._focusMonitor=f,this._dir=C,this._defaultOptions=D,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._tooltipComponent=qH,this._viewportMargin=8,this._cssClassPrefix="mat-mdc",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._touchstartTimeout=null,this._destroyed=new G,this._injector=k(Pe),this._scrollStrategy=v,this._document=S,D&&(this._showDelay=D.showDelay,this._hideDelay=D.hideDelay,D.position&&(this.position=D.position),D.positionAtOrigin&&(this.positionAtOrigin=D.positionAtOrigin),D.touchGestures&&(this.touchGestures=D.touchGestures),D.tooltipClass&&(this.tooltipClass=D.tooltipClass)),C.change.pipe(fe(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),this._viewportMargin=HH}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(fe(this._destroyed)).subscribe(t=>{t?t==="keyboard"&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){let t=this._elementRef.nativeElement;this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([n,o])=>{t.removeEventListener(n,o,lk)}),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,n){if(this.disabled||!this.message||this._isTooltipVisible()){this._tooltipInstance?._cancelPendingAnimations();return}let o=this._createOverlay(n);this._detach(),this._portal=this._portal||new In(this._tooltipComponent,this._viewContainerRef);let a=this._tooltipInstance=o.attach(this._portal).instance;a._triggerElement=this._elementRef.nativeElement,a._mouseLeaveHideDelay=this._hideDelay,a.afterHidden().pipe(fe(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),a.show(t)}hide(t=this.hideDelay){let n=this._tooltipInstance;n&&(n.isVisible()?n.hide(t):(n._cancelPendingAnimations(),this._detach()))}toggle(t){this._isTooltipVisible()?this.hide():this.show(void 0,t)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(t){if(this._overlayRef){let a=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!t)&&a._origin instanceof q)return this._overlayRef;this._detach()}let n=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),o=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin?t||this._elementRef:this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(n);return o.positionChanges.pipe(fe(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:`${this._cssClassPrefix}-${sk}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(fe(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(fe(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(fe(this._destroyed)).subscribe(a=>{this._isTooltipVisible()&&a.keyCode===27&&!Pt(a)&&(a.preventDefault(),a.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(t){let n=t.getConfig().positionStrategy,o=this._getOrigin(),a=this._getOverlayPosition();n.withPositions([this._addOffset(j(j({},o.main),a.main)),this._addOffset(j(j({},o.fallback),a.fallback))])}_addOffset(t){let n=$H,o=!this._dir||this._dir.value=="ltr";return t.originY==="top"?t.offsetY=-n:t.originY==="bottom"?t.offsetY=n:t.originX==="start"?t.offsetX=o?-n:n:t.originX==="end"&&(t.offsetX=o?n:-n),t}_getOrigin(){let t=!this._dir||this._dir.value=="ltr",n=this.position,o;n=="above"||n=="below"?o={originX:"center",originY:n=="above"?"top":"bottom"}:n=="before"||n=="left"&&t||n=="right"&&!t?o={originX:"start",originY:"center"}:(n=="after"||n=="right"&&t||n=="left"&&!t)&&(o={originX:"end",originY:"center"});let{x:a,y:s}=this._invertPosition(o.originX,o.originY);return{main:o,fallback:{originX:a,originY:s}}}_getOverlayPosition(){let t=!this._dir||this._dir.value=="ltr",n=this.position,o;n=="above"?o={overlayX:"center",overlayY:"bottom"}:n=="below"?o={overlayX:"center",overlayY:"top"}:n=="before"||n=="left"&&t||n=="right"&&!t?o={overlayX:"end",overlayY:"center"}:(n=="after"||n=="right"&&t||n=="left"&&!t)&&(o={overlayX:"start",overlayY:"center"});let{x:a,y:s}=this._invertPosition(o.overlayX,o.overlayY);return{main:o,fallback:{overlayX:a,overlayY:s}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),ai(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()},{injector:this._injector}))}_setTooltipClass(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t,this._tooltipInstance._markForCheck())}_invertPosition(t,n){return this.position==="above"||this.position==="below"?n==="top"?n="bottom":n==="bottom"&&(n="top"):t==="end"?t="start":t==="start"&&(t="end"),{x:t,y:n}}_updateCurrentPositionClass(t){let{overlayY:n,originX:o,originY:a}=t,s;if(n==="center"?this._dir&&this._dir.value==="rtl"?s=o==="end"?"left":"right":s=o==="start"?"left":"right":s=n==="bottom"&&a==="top"?"above":"below",s!==this._currentPosition){let l=this._overlayRef;if(l){let u=`${this._cssClassPrefix}-${sk}-`;l.removePanelClass(u+this._currentPosition),l.addPanelClass(u+s)}this._currentPosition=s}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",t=>{this._setupPointerExitEventsIfNeeded();let n;t.x!==void 0&&t.y!==void 0&&(n=t),this.show(void 0,n)}]):this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",t=>{let n=t.targetTouches?.[0],o=n?{x:n.clientX,y:n.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),this._touchstartTimeout&&clearTimeout(this._touchstartTimeout);let a=500;this._touchstartTimeout=setTimeout(()=>{this._touchstartTimeout=null,this.show(void 0,o)},this._defaultOptions.touchLongPressShowDelay??a)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;let t=[];if(this._platformSupportsMouseEvents())t.push(["mouseleave",n=>{let o=n.relatedTarget;(!o||!this._overlayRef?.overlayElement.contains(o))&&this.hide()}],["wheel",n=>this._wheelListener(n)]);else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();let n=()=>{this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};t.push(["touchend",n],["touchcancel",n])}this._addListeners(t),this._passiveListeners.push(...t)}_addListeners(t){t.forEach(([n,o])=>{this._elementRef.nativeElement.addEventListener(n,o,lk)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(t){if(this._isTooltipVisible()){let n=this._document.elementFromPoint(t.clientX,t.clientY),o=this._elementRef.nativeElement;n!==o&&!o.contains(n)&&this.hide()}}_disableNativeGesturesIfNecessary(){let t=this.touchGestures;if(t!=="off"){let n=this._elementRef.nativeElement,o=n.style;(t==="on"||n.nodeName!=="INPUT"&&n.nodeName!=="TEXTAREA")&&(o.userSelect=o.msUserSelect=o.webkitUserSelect=o.MozUserSelect="none"),(t==="on"||!n.draggable)&&(o.webkitUserDrag="none"),o.touchAction="none",o.webkitTapHighlightColor="transparent"}}_syncAriaDescription(t){this._ariaDescriptionPending||(this._ariaDescriptionPending=!0,this._ariaDescriber.removeDescription(this._elementRef.nativeElement,t,"tooltip"),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriptionPending=!1,this.message&&!this.disabled&&this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}};e.\u0275fac=function(n){return new(n||e)(m(xt),m(q),m(Ml),m(Ct),m(Z),m(Ve),m(cp),m(Di),m(dk),m(Nt),m(UH,8),m(se))},e.\u0275dir=L({type:e,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(n,o){n&2&&ne("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 i=e;return i})(),qH=(()=>{let e=class e{constructor(t,n,o){this._changeDetectorRef=t,this._elementRef=n,this._isMultiline=!1,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new G,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>WH&&t.width>=GH}_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 n=this._tooltip.nativeElement,o=this._showAnimation,a=this._hideAnimation;if(n.classList.remove(t?a:o),n.classList.add(t?o:a),this._isVisible!==t&&(this._isVisible=t,this._changeDetectorRef.markForCheck()),t&&!this._animationsDisabled&&typeof getComputedStyle=="function"){let s=getComputedStyle(n);(s.getPropertyValue("animation-duration")==="0s"||s.getPropertyValue("animation-name")==="none")&&(this._animationsDisabled=!0)}t&&this._onShow(),this._animationsDisabled&&(n.classList.add("_mat-animation-noopable"),this._finalizeAnimation(t))}};e.\u0275fac=function(n){return new(n||e)(m(he),m(q),m(kt,8))},e.\u0275cmp=E({type:e,selectors:[["mat-tooltip-component"]],viewQuery:function(n,o){if(n&1&&ce(VH,7),n&2){let a;Q(a=K())&&(o._tooltip=a.first)}},hostAttrs:["aria-hidden","true"],hostBindings:function(n,o){n&1&&b("mouseleave",function(s){return o._handleMouseLeave(s)})},standalone:!0,features:[re],decls:4,vars:4,consts:[["tooltip",""],[1,"mdc-tooltip","mat-mdc-tooltip",3,"animationend","ngClass"],[1,"mat-mdc-tooltip-surface","mdc-tooltip__surface"]],template:function(n,o){if(n&1){let a=A();c(0,"div",1,0),b("animationend",function(l){return y(a),w(o._handleAnimationEnd(l))}),c(2,"div",2),g(3),d()()}n&2&&(ne("mdc-tooltip--multiline",o._isMultiline),p("ngClass",o.tooltipClass),h(3),$e(o.message))},dependencies:[Sn],styles:['.mat-mdc-tooltip{position:relative;transform:scale(0);display:inline-flex}.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-surface{word-break:normal;overflow-wrap:anywhere;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center;will-change:transform,opacity;background-color:var(--mdc-plain-tooltip-container-color, var(--mat-app-inverse-surface));color:var(--mdc-plain-tooltip-supporting-text-color, var(--mat-app-inverse-on-surface));border-radius:var(--mdc-plain-tooltip-container-shape, var(--mat-app-corner-extra-small));font-family:var(--mdc-plain-tooltip-supporting-text-font, var(--mat-app-body-small-font));font-size:var(--mdc-plain-tooltip-supporting-text-size, var(--mat-app-body-small-size));font-weight:var(--mdc-plain-tooltip-supporting-text-weight, var(--mat-app-body-small-weight));line-height:var(--mdc-plain-tooltip-supporting-text-line-height, var(--mat-app-body-small-line-height));letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking, var(--mat-app-body-small-tracking))}.mat-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}.mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:right}.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 i=e;return i})();var Wl=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=te({type:e}),e.\u0275inj=ee({providers:[BH],imports:[Ll,Ei,an,pe,pe,so]});let i=e;return i})();function YH(i,e){if(i&1&&(c(0,"mat-option",17),g(1),d()),i&2){let r=e.$implicit;p("value",r),h(),F(" ",r," ")}}function QH(i,e){if(i&1){let r=A();c(0,"mat-form-field",14)(1,"mat-select",16,0),b("selectionChange",function(n){y(r);let o=_(2);return w(o._changePageSize(n.value))}),Sr(3,YH,2,2,"mat-option",17,Rc),d(),c(5,"div",18),b("click",function(){y(r);let n=we(2);return w(n.open())}),d()()}if(i&2){let r=_(2);p("appearance",r._formFieldAppearance)("color",r.color),h(),p("value",r.pageSize)("disabled",r.disabled)("aria-labelledby",r._pageSizeLabelId)("panelClass",r.selectConfig.panelClass||"")("disableOptionCentering",r.selectConfig.disableOptionCentering),h(2),Er(r._displayedPageSizeOptions)}}function KH(i,e){if(i&1&&(c(0,"div",15),g(1),d()),i&2){let r=_(2);h(),$e(r.pageSize)}}function ZH(i,e){if(i&1&&(c(0,"div",3)(1,"div",13),g(2),d(),x(3,QH,6,7,"mat-form-field",14)(4,KH,2,1,"div",15),d()),i&2){let r=_();h(),ie("id",r._pageSizeLabelId),h(),F(" ",r._intl.itemsPerPageLabel," "),h(),De(r._displayedPageSizeOptions.length>1?3:-1),h(),De(r._displayedPageSizeOptions.length<=1?4:-1)}}function XH(i,e){if(i&1){let r=A();c(0,"button",19),b("click",function(){y(r);let n=_();return w(n.firstPage())}),pi(),c(1,"svg",8),I(2,"path",20),d()()}if(i&2){let r=_();p("matTooltip",r._intl.firstPageLabel)("matTooltipDisabled",r._previousButtonsDisabled())("matTooltipPosition","above")("disabled",r._previousButtonsDisabled()),ie("aria-label",r._intl.firstPageLabel)}}function JH(i,e){if(i&1){let r=A();c(0,"button",21),b("click",function(){y(r);let n=_();return w(n.lastPage())}),pi(),c(1,"svg",8),I(2,"path",22),d()()}if(i&2){let r=_();p("matTooltip",r._intl.lastPageLabel)("matTooltipDisabled",r._nextButtonsDisabled())("matTooltipPosition","above")("disabled",r._nextButtonsDisabled()),ie("aria-label",r._intl.lastPageLabel)}}var Ma=(()=>{let e=class e{constructor(){this.changes=new G,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(t,n,o)=>{if(o==0||n==0)return`0 of ${o}`;o=Math.max(o,0);let a=t*n,s=a{let e=class e{get pageIndex(){return this._pageIndex}set pageIndex(t){this._pageIndex=Math.max(t||0,0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(t){this._length=t||0,this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(t){this._pageSize=Math.max(t||0,0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(t){this._pageSizeOptions=(t||[]).map(n=>ni(n,0)),this._updateDisplayedPageSizeOptions()}constructor(t,n,o){if(this._intl=t,this._changeDetectorRef=n,this._pageSizeLabelId=`mat-paginator-page-size-label-${o6++}`,this._isInitialized=!1,this._initializedStream=new Zn(1),this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this.hidePageSize=!1,this.showFirstLastButtons=!1,this.selectConfig={},this.disabled=!1,this.page=new T,this.initialized=this._initializedStream,this._intlChanges=t.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),o){let{pageSize:a,pageSizeOptions:s,hidePageSize:l,showFirstLastButtons:u}=o;a!=null&&(this._pageSize=a),s!=null&&(this._pageSizeOptions=s),l!=null&&(this.hidePageSize=l),u!=null&&(this.showFirstLastButtons=u)}this._formFieldAppearance=o?.formFieldAppearance||"outline"}ngOnInit(){this._isInitialized=!0,this._updateDisplayedPageSizeOptions(),this._initializedStream.next()}ngOnDestroy(){this._initializedStream.complete(),this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;let t=this.pageIndex;this.pageIndex=this.pageIndex+1,this._emitPageEvent(t)}previousPage(){if(!this.hasPreviousPage())return;let t=this.pageIndex;this.pageIndex=this.pageIndex-1,this._emitPageEvent(t)}firstPage(){if(!this.hasPreviousPage())return;let t=this.pageIndex;this.pageIndex=0,this._emitPageEvent(t)}lastPage(){if(!this.hasNextPage())return;let t=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(t)}hasPreviousPage(){return this.pageIndex>=1&&this.pageSize!=0}hasNextPage(){let t=this.getNumberOfPages()-1;return this.pageIndext-n),this._changeDetectorRef.markForCheck())}_emitPageEvent(t){this.page.emit({previousPageIndex:t,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}};e.\u0275fac=function(n){return new(n||e)(m(Ma),m(he),m(n6,8))},e.\u0275cmp=E({type:e,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-mdc-paginator"],inputs:{color:"color",pageIndex:[2,"pageIndex","pageIndex",ni],length:[2,"length","length",ni],pageSize:[2,"pageSize","pageSize",ni],pageSizeOptions:"pageSizeOptions",hidePageSize:[2,"hidePageSize","hidePageSize",Y],showFirstLastButtons:[2,"showFirstLastButtons","showFirstLastButtons",Y],selectConfig:"selectConfig",disabled:[2,"disabled","disabled",Y]},outputs:{page:"page"},exportAs:["matPaginator"],standalone:!0,features:[ge,re],decls:14,vars:14,consts:[["selectRef",""],[1,"mat-mdc-paginator-outer-container"],[1,"mat-mdc-paginator-container"],[1,"mat-mdc-paginator-page-size"],[1,"mat-mdc-paginator-range-actions"],["aria-live","polite",1,"mat-mdc-paginator-range-label"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-previous",3,"click","matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["viewBox","0 0 24 24","focusable","false","aria-hidden","true",1,"mat-mdc-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-next",3,"click","matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],[1,"mat-mdc-paginator-page-size-label"],[1,"mat-mdc-paginator-page-size-select",3,"appearance","color"],[1,"mat-mdc-paginator-page-size-value"],["hideSingleSelectionIndicator","",3,"selectionChange","value","disabled","aria-labelledby","panelClass","disableOptionCentering"],[3,"value"],[1,"mat-mdc-paginator-touch-target",3,"click"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-first",3,"click","matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-last",3,"click","matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(n,o){n&1&&(c(0,"div",1)(1,"div",2),x(2,ZH,5,4,"div",3),c(3,"div",4)(4,"div",5),g(5),d(),x(6,XH,3,5,"button",6),c(7,"button",7),b("click",function(){return o.previousPage()}),pi(),c(8,"svg",8),I(9,"path",9),d()(),yr(),c(10,"button",10),b("click",function(){return o.nextPage()}),pi(),c(11,"svg",8),I(12,"path",11),d()(),x(13,JH,3,5,"button",12),d()()()),n&2&&(h(2),De(o.hidePageSize?-1:2),h(3),F(" ",o._intl.getRangeLabel(o.pageIndex,o.pageSize,o.length)," "),h(),De(o.showFirstLastButtons?6:-1),h(),p("matTooltip",o._intl.previousPageLabel)("matTooltipDisabled",o._previousButtonsDisabled())("matTooltipPosition","above")("disabled",o._previousButtonsDisabled()),ie("aria-label",o._intl.previousPageLabel),h(3),p("matTooltip",o._intl.nextPageLabel)("matTooltipDisabled",o._nextButtonsDisabled())("matTooltipPosition","above")("disabled",o._nextButtonsDisabled()),ie("aria-label",o._intl.nextPageLabel),h(3),De(o.showFirstLastButtons?13:-1))},dependencies:[_e,bt,nt,Qi,lr],styles:[".mat-mdc-paginator{display:block;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-paginator-container-text-color, var(--mat-app-on-surface));background-color:var(--mat-paginator-container-background-color, var(--mat-app-surface));font-family:var(--mat-paginator-container-text-font, var(--mat-app-body-small-font));line-height:var(--mat-paginator-container-text-line-height, var(--mat-app-body-small-line-height));font-size:var(--mat-paginator-container-text-size, var(--mat-app-body-small-size));font-weight:var(--mat-paginator-container-text-weight, var(--mat-app-body-small-weight));letter-spacing:var(--mat-paginator-container-text-tracking, var(--mat-app-body-small-tracking));--mat-form-field-container-height:var(--mat-paginator-form-field-container-height);--mat-form-field-container-vertical-padding:var(--mat-paginator-form-field-container-vertical-padding)}.mat-mdc-paginator .mat-mdc-select-value{font-size:var(--mat-paginator-select-trigger-text-size, var(--mat-app-body-small-size))}.mat-mdc-paginator .mat-mdc-form-field-subscript-wrapper{display:none}.mat-mdc-paginator .mat-mdc-select{line-height:1.5}.mat-mdc-paginator-outer-container{display:flex}.mat-mdc-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap;width:100%;min-height:var(--mat-paginator-container-size)}.mat-mdc-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-mdc-paginator-page-size{margin-right:0;margin-left:8px}.mat-mdc-paginator-page-size-label{margin:0 4px}.mat-mdc-paginator-page-size-select{margin:0 4px;width:84px}.mat-mdc-paginator-range-label{margin:0 32px 0 24px}.mat-mdc-paginator-range-actions{display:flex;align-items:center}.mat-mdc-paginator-icon{display:inline-block;width:28px;fill:var(--mat-paginator-enabled-icon-color, var(--mat-app-on-surface-variant))}.mat-mdc-icon-button[disabled] .mat-mdc-paginator-icon{fill:var(--mat-paginator-disabled-icon-color)}[dir=rtl] .mat-mdc-paginator-icon{transform:rotate(180deg)}.cdk-high-contrast-active .mat-mdc-icon-button[disabled] .mat-mdc-paginator-icon,.cdk-high-contrast-active .mat-mdc-paginator-icon{fill:currentColor;fill:CanvasText}.cdk-high-contrast-active .mat-mdc-paginator-range-actions .mat-mdc-icon-button{outline:solid 1px}.mat-mdc-paginator-touch-target{display:var(--mat-paginator-touch-target-display);position:absolute;top:50%;left:50%;width:84px;height:48px;background-color:rgba(0,0,0,0);transform:translate(-50%, -50%);cursor:pointer}"],encapsulation:2,changeDetection:0});let i=e;return i})(),uk=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=te({type:e}),e.\u0275inj=ee({providers:[t6],imports:[ar,bf,Wl,jr]});let i=e;return i})();var r6=["mat-sort-header",""],a6=["*"];function s6(i,e){if(i&1){let r=A();c(0,"div",2),b("@arrowPosition.start",function(){y(r);let n=_();return w(n._disableViewStateAnimation=!0)})("@arrowPosition.done",function(){y(r);let n=_();return w(n._disableViewStateAnimation=!1)}),I(1,"div",3),c(2,"div",4),I(3,"div",5)(4,"div",6)(5,"div",7),d()()}if(i&2){let r=_();p("@arrowOpacity",r._getArrowViewState())("@arrowPosition",r._getArrowViewState())("@allowChildren",r._getArrowDirectionState()),h(2),p("@indicator",r._getArrowDirectionState()),h(),p("@leftPointer",r._getArrowDirectionState()),h(),p("@rightPointer",r._getArrowDirectionState())}}var mk=new R("MAT_SORT_DEFAULT_OPTIONS"),Br=(()=>{let e=class e{get direction(){return this._direction}set direction(t){this._direction=t}constructor(t){this._defaultOptions=t,this._initializedStream=new Zn(1),this.sortables=new Map,this._stateChanges=new G,this.start="asc",this._direction="",this.disabled=!1,this.sortChange=new T,this.initialized=this._initializedStream}register(t){this.sortables.set(t.id,t)}deregister(t){this.sortables.delete(t.id)}sort(t){this.active!=t.id?(this.active=t.id,this.direction=t.start?t.start:this.start):this.direction=this.getNextSortDirection(t),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(t){if(!t)return"";let n=t?.disableClear??this.disableClear??!!this._defaultOptions?.disableClear,o=l6(t.start||this.start,n),a=o.indexOf(this.direction)+1;return a>=o.length&&(a=0),o[a]}ngOnInit(){this._initializedStream.next()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete(),this._initializedStream.complete()}};e.\u0275fac=function(n){return new(n||e)(m(mk,8))},e.\u0275dir=L({type:e,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{active:[0,"matSortActive","active"],start:[0,"matSortStart","start"],direction:[0,"matSortDirection","direction"],disableClear:[2,"matSortDisableClear","disableClear",Y],disabled:[2,"matSortDisabled","disabled",Y]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],standalone:!0,features:[ge,Qe]});let i=e;return i})();function l6(i,e){let r=["asc","desc"];return i=="desc"&&r.reverse(),e||r.push(""),r}var Ta=S1.ENTERING+" "+D1.STANDARD_CURVE,Gl={indicator:ui("indicator",[Lt("active-asc, asc",Me({transform:"translateY(0px)"})),Lt("active-desc, desc",Me({transform:"translateY(10px)"})),St("active-asc <=> active-desc",Mt(Ta))]),leftPointer:ui("leftPointer",[Lt("active-asc, asc",Me({transform:"rotate(-45deg)"})),Lt("active-desc, desc",Me({transform:"rotate(45deg)"})),St("active-asc <=> active-desc",Mt(Ta))]),rightPointer:ui("rightPointer",[Lt("active-asc, asc",Me({transform:"rotate(45deg)"})),Lt("active-desc, desc",Me({transform:"rotate(-45deg)"})),St("active-asc <=> active-desc",Mt(Ta))]),arrowOpacity:ui("arrowOpacity",[Lt("desc-to-active, asc-to-active, active",Me({opacity:1})),Lt("desc-to-hint, asc-to-hint, hint",Me({opacity:.54})),Lt("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",Me({opacity:0})),St("* => asc, * => desc, * => active, * => hint, * => void",Mt("0ms")),St("* <=> *",Mt(Ta))]),arrowPosition:ui("arrowPosition",[St("* => desc-to-hint, * => desc-to-active",Mt(Ta,wa([Me({transform:"translateY(-25%)"}),Me({transform:"translateY(0)"})]))),St("* => hint-to-desc, * => active-to-desc",Mt(Ta,wa([Me({transform:"translateY(0)"}),Me({transform:"translateY(25%)"})]))),St("* => asc-to-hint, * => asc-to-active",Mt(Ta,wa([Me({transform:"translateY(25%)"}),Me({transform:"translateY(0)"})]))),St("* => hint-to-asc, * => active-to-asc",Mt(Ta,wa([Me({transform:"translateY(0)"}),Me({transform:"translateY(-25%)"})]))),Lt("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",Me({transform:"translateY(0)"})),Lt("hint-to-desc, active-to-desc, desc",Me({transform:"translateY(-25%)"})),Lt("hint-to-asc, active-to-asc, asc",Me({transform:"translateY(25%)"}))]),allowChildren:ui("allowChildren",[St("* <=> *",[bp("@*",vp(),{optional:!0})])])},wf=(()=>{let e=class e{constructor(){this.changes=new G}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function c6(i){return i||new wf}var d6={provide:wf,deps:[[new to,new Do,wf]],useFactory:c6},Cf=(()=>{let e=class e{get sortActionDescription(){return this._sortActionDescription}set sortActionDescription(t){this._updateSortActionDescription(t)}constructor(t,n,o,a,s,l,u,f){this._intl=t,this._changeDetectorRef=n,this._sort=o,this._columnDef=a,this._focusMonitor=s,this._elementRef=l,this._ariaDescriber=u,this._showIndicatorHint=!1,this._viewState={},this._arrowDirection="",this._disableViewStateAnimation=!1,this.arrowPosition="after",this.disabled=!1,this._sortActionDescription="Sort",f?.arrowPosition&&(this.arrowPosition=f?.arrowPosition),this._handleStateChanges()}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this),this._sortButton=this._elementRef.nativeElement.querySelector(".mat-sort-header-container"),this._updateSortActionDescription(this._sortActionDescription)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{let n=!!t;n!==this._showIndicatorHint&&(this._setIndicatorHintVisible(n),this._changeDetectorRef.markForCheck())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe(),this._sortButton&&this._ariaDescriber?.removeDescription(this._sortButton,this._sortActionDescription)}_setIndicatorHintVisible(t){this._isDisabled()&&t||(this._showIndicatorHint=t,this._isSorted()||(this._updateArrowDirection(),this._showIndicatorHint?this._setAnimationTransitionState({fromState:this._arrowDirection,toState:"hint"}):this._setAnimationTransitionState({fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(t){this._viewState=t||{},this._disableViewStateAnimation&&(this._viewState={toState:t.toState})}_toggleOnInteraction(){this._sort.sort(this),(this._viewState.toState==="hint"||this._viewState.toState==="active")&&(this._disableViewStateAnimation=!0)}_handleClick(){this._isDisabled()||this._sort.sort(this)}_handleKeydown(t){!this._isDisabled()&&(t.keyCode===32||t.keyCode===13)&&(t.preventDefault(),this._toggleOnInteraction())}_isSorted(){return this._sort.active==this.id&&(this._sort.direction==="asc"||this._sort.direction==="desc")}_getArrowDirectionState(){return`${this._isSorted()?"active-":""}${this._arrowDirection}`}_getArrowViewState(){let t=this._viewState.fromState;return(t?`${t}-to-`:"")+this._viewState.toState}_updateArrowDirection(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start}_isDisabled(){return this._sort.disabled||this.disabled}_getAriaSortAttribute(){return this._isSorted()?this._sort.direction=="asc"?"ascending":"descending":"none"}_renderArrow(){return!this._isDisabled()||this._isSorted()}_updateSortActionDescription(t){this._sortButton&&(this._ariaDescriber?.removeDescription(this._sortButton,this._sortActionDescription),this._ariaDescriber?.describe(this._sortButton,t)),this._sortActionDescription=t}_handleStateChanges(){this._rerenderSubscription=wt(this._sort.sortChange,this._sort._stateChanges,this._intl.changes).subscribe(()=>{this._isSorted()&&(this._updateArrowDirection(),(this._viewState.toState==="hint"||this._viewState.toState==="active")&&(this._disableViewStateAnimation=!0),this._setAnimationTransitionState({fromState:this._arrowDirection,toState:"active"}),this._showIndicatorHint=!1),!this._isSorted()&&this._viewState&&this._viewState.toState==="active"&&(this._disableViewStateAnimation=!1,this._setAnimationTransitionState({fromState:"active",toState:this._arrowDirection})),this._changeDetectorRef.markForCheck()})}};e.\u0275fac=function(n){return new(n||e)(m(wf),m(he),m(Br,8),m("MAT_SORT_HEADER_COLUMN_DEF",8),m(Di),m(q),m(cp,8),m(mk,8))},e.\u0275cmp=E({type:e,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(n,o){n&1&&b("click",function(){return o._handleClick()})("keydown",function(s){return o._handleKeydown(s)})("mouseenter",function(){return o._setIndicatorHintVisible(!0)})("mouseleave",function(){return o._setIndicatorHintVisible(!1)}),n&2&&(ie("aria-sort",o._getAriaSortAttribute()),ne("mat-sort-header-disabled",o._isDisabled()))},inputs:{id:[0,"mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",disabled:[2,"disabled","disabled",Y],sortActionDescription:"sortActionDescription",disableClear:[2,"disableClear","disableClear",Y]},exportAs:["matSortHeader"],standalone:!0,features:[ge,re],attrs:r6,ngContentSelectors:a6,decls:4,vars:7,consts:[[1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(n,o){n&1&&(He(),c(0,"div",0)(1,"div",1),ae(2),d(),x(3,s6,6,6,"div",2),d()),n&2&&(ne("mat-sort-header-sorted",o._isSorted())("mat-sort-header-position-before",o.arrowPosition==="before"),ie("tabindex",o._isDisabled()?null:0)("role",o._isDisabled()?null:"button"),h(3),De(o._renderArrow()?3:-1))},styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-container::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;color:var(--mat-sort-arrow-color, var(--mat-app-on-surface));opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}.cdk-high-contrast-active .mat-sort-header-stem{width:0;border-left:solid 2px}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}.cdk-high-contrast-active .mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}.cdk-high-contrast-active .mat-sort-header-pointer-left,.cdk-high-contrast-active .mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}"],encapsulation:2,data:{animation:[Gl.indicator,Gl.leftPointer,Gl.rightPointer,Gl.arrowOpacity,Gl.arrowPosition,Gl.allowChildren]},changeDetection:0});let i=e;return i})(),pk=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=te({type:e}),e.\u0275inj=ee({providers:[d6],imports:[pe]});let i=e;return i})();var h6=[[["caption"]],[["colgroup"],["col"]],"*"],m6=["caption","colgroup, col","*"];function p6(i,e){i&1&&ae(0,2)}function f6(i,e){i&1&&(c(0,"thead",0),Ci(1,1),d(),c(2,"tbody",0),Ci(3,2)(4,3),d(),c(5,"tfoot",0),Ci(6,4),d())}function g6(i,e){i&1&&Ci(0,1)(1,2)(2,3)(3,4)}var Po=new R("CDK_TABLE");var Mf=(()=>{let e=class e{constructor(t){this.template=t}};e.\u0275fac=function(n){return new(n||e)(m(dt))},e.\u0275dir=L({type:e,selectors:[["","cdkCellDef",""]],standalone:!0});let i=e;return i})(),Tf=(()=>{let e=class e{constructor(t){this.template=t}};e.\u0275fac=function(n){return new(n||e)(m(dt))},e.\u0275dir=L({type:e,selectors:[["","cdkHeaderCellDef",""]],standalone:!0});let i=e;return i})(),vk=(()=>{let e=class e{constructor(t){this.template=t}};e.\u0275fac=function(n){return new(n||e)(m(dt))},e.\u0275dir=L({type:e,selectors:[["","cdkFooterCellDef",""]],standalone:!0});let i=e;return i})(),ql=(()=>{let e=class e{get name(){return this._name}set name(t){this._setNameInput(t)}get sticky(){return this._sticky}set sticky(t){t!==this._sticky&&(this._sticky=t,this._hasStickyChanged=!0)}get stickyEnd(){return this._stickyEnd}set stickyEnd(t){t!==this._stickyEnd&&(this._stickyEnd=t,this._hasStickyChanged=!0)}constructor(t){this._table=t,this._hasStickyChanged=!1,this._sticky=!1,this._stickyEnd=!1}hasStickyChanged(){let t=this._hasStickyChanged;return this.resetStickyChanged(),t}resetStickyChanged(){this._hasStickyChanged=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(t){t&&(this._name=t,this.cssClassFriendlyName=t.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}};e.\u0275fac=function(n){return new(n||e)(m(Po,8))},e.\u0275dir=L({type:e,selectors:[["","cdkColumnDef",""]],contentQueries:function(n,o,a){if(n&1&&(Be(a,Mf,5),Be(a,Tf,5),Be(a,vk,5)),n&2){let s;Q(s=K())&&(o.cell=s.first),Q(s=K())&&(o.headerCell=s.first),Q(s=K())&&(o.footerCell=s.first)}},inputs:{name:[0,"cdkColumnDef","name"],sticky:[2,"sticky","sticky",Y],stickyEnd:[2,"stickyEnd","stickyEnd",Y]},standalone:!0,features:[Ce([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:e}]),ge]});let i=e;return i})(),Df=class{constructor(e,r){r.nativeElement.classList.add(...e._columnCssClassName)}},bk=(()=>{let e=class e extends Df{constructor(t,n){super(t,n)}};e.\u0275fac=function(n){return new(n||e)(m(ql),m(q))},e.\u0275dir=L({type:e,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],standalone:!0,features:[be]});let i=e;return i})();var yk=(()=>{let e=class e extends Df{constructor(t,n){super(t,n);let o=t._table?._getCellRole();o&&n.nativeElement.setAttribute("role",o)}};e.\u0275fac=function(n){return new(n||e)(m(ql),m(q))},e.\u0275dir=L({type:e,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],standalone:!0,features:[be]});let i=e;return i})(),Sf=class{constructor(){this.tasks=[],this.endTasks=[]}},Ef=new R("_COALESCED_STYLE_SCHEDULER"),zy=(()=>{let e=class e{constructor(t){this._currentSchedule=null,this._ngZone=k(Z)}schedule(t){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(t)}scheduleEnd(t){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(t)}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new Sf,this._ngZone.runOutsideAngular(()=>queueMicrotask(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){let t=this._currentSchedule;this._currentSchedule=new Sf;for(let n of t.tasks)n();for(let n of t.endTasks)n()}this._currentSchedule=null})))}};e.\u0275fac=function(n){return new(n||e)(M(Z))},e.\u0275prov=V({token:e,factory:e.\u0275fac});let i=e;return i})();var Uy=(()=>{let e=class e{constructor(t,n){this.template=t,this._differs=n}ngOnChanges(t){if(!this._columnsDiffer){let n=t.columns&&t.columns.currentValue||[];this._columnsDiffer=this._differs.find(n).create(),this._columnsDiffer.diff(n)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(t){return this instanceof Wd?t.headerCell.template:this instanceof Hy?t.footerCell.template:t.cell.template}};e.\u0275fac=function(n){return new(n||e)(m(dt),m(Xo))},e.\u0275dir=L({type:e,features:[Qe]});let i=e;return i})(),Wd=(()=>{let e=class e extends Uy{get sticky(){return this._sticky}set sticky(t){t!==this._sticky&&(this._sticky=t,this._hasStickyChanged=!0)}constructor(t,n,o){super(t,n),this._table=o,this._hasStickyChanged=!1,this._sticky=!1}ngOnChanges(t){super.ngOnChanges(t)}hasStickyChanged(){let t=this._hasStickyChanged;return this.resetStickyChanged(),t}resetStickyChanged(){this._hasStickyChanged=!1}};e.\u0275fac=function(n){return new(n||e)(m(dt),m(Xo),m(Po,8))},e.\u0275dir=L({type:e,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[0,"cdkHeaderRowDef","columns"],sticky:[2,"cdkHeaderRowDefSticky","sticky",Y]},standalone:!0,features:[ge,be,Qe]});let i=e;return i})(),Hy=(()=>{let e=class e extends Uy{get sticky(){return this._sticky}set sticky(t){t!==this._sticky&&(this._sticky=t,this._hasStickyChanged=!0)}constructor(t,n,o){super(t,n),this._table=o,this._hasStickyChanged=!1,this._sticky=!1}ngOnChanges(t){super.ngOnChanges(t)}hasStickyChanged(){let t=this._hasStickyChanged;return this.resetStickyChanged(),t}resetStickyChanged(){this._hasStickyChanged=!1}};e.\u0275fac=function(n){return new(n||e)(m(dt),m(Xo),m(Po,8))},e.\u0275dir=L({type:e,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[0,"cdkFooterRowDef","columns"],sticky:[2,"cdkFooterRowDefSticky","sticky",Y]},standalone:!0,features:[ge,be,Qe]});let i=e;return i})(),kf=(()=>{let e=class e extends Uy{constructor(t,n,o){super(t,n),this._table=o}};e.\u0275fac=function(n){return new(n||e)(m(dt),m(Xo),m(Po,8))},e.\u0275dir=L({type:e,selectors:[["","cdkRowDef",""]],inputs:{columns:[0,"cdkRowDefColumns","columns"],when:[0,"cdkRowDefWhen","when"]},standalone:!0,features:[be]});let i=e;return i})(),bs=(()=>{let e=class e{constructor(t){this._viewContainer=t,e.mostRecentCellOutlet=this}ngOnDestroy(){e.mostRecentCellOutlet===this&&(e.mostRecentCellOutlet=null)}};e.mostRecentCellOutlet=null,e.\u0275fac=function(n){return new(n||e)(m(Ct))},e.\u0275dir=L({type:e,selectors:[["","cdkCellOutlet",""]],standalone:!0});let i=e;return i})(),$y=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=E({type:e,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],standalone:!0,features:[re],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(n,o){n&1&&Ci(0,0)},dependencies:[bs],encapsulation:2});let i=e;return i})();var Wy=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=E({type:e,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],standalone:!0,features:[re],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(n,o){n&1&&Ci(0,0)},dependencies:[bs],encapsulation:2});let i=e;return i})(),wk=(()=>{let e=class e{constructor(t){this.templateRef=t,this._contentClassName="cdk-no-data-row"}};e.\u0275fac=function(n){return new(n||e)(m(dt))},e.\u0275dir=L({type:e,selectors:[["ng-template","cdkNoDataRow",""]],standalone:!0});let i=e;return i})(),gk=["top","bottom","left","right"],By=class{constructor(e,r,t,n,o=!0,a=!0,s){this._isNativeHtmlTable=e,this._stickCellCss=r,this.direction=t,this._coalescedStyleScheduler=n,this._isBrowser=o,this._needsPositionStickyOnElement=a,this._positionListener=s,this._elemSizeCache=new WeakMap,this._resizeObserver=globalThis?.ResizeObserver?new globalThis.ResizeObserver(l=>this._updateCachedSizes(l)):null,this._updatedStickyColumnsParamsToReplay=[],this._stickyColumnsReplayTimeout=null,this._cachedCellWidths=[],this._borderCellCss={top:`${r}-border-elem-top`,bottom:`${r}-border-elem-bottom`,left:`${r}-border-elem-left`,right:`${r}-border-elem-right`}}clearStickyPositioning(e,r){(r.includes("left")||r.includes("right"))&&this._removeFromStickyColumnReplayQueue(e);let t=[];for(let n of e)if(n.nodeType===n.ELEMENT_NODE){t.push(n);for(let o=0;o{for(let n of t)this._removeStickyStyle(n,r)})}updateStickyColumns(e,r,t,n=!0,o=!0){if(o&&this._updateStickyColumnReplayQueue({rows:[...e],stickyStartStates:[...r],stickyEndStates:[...t]}),!e.length||!this._isBrowser||!(r.some(a=>a)||t.some(a=>a))){this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]}));return}this._coalescedStyleScheduler.schedule(()=>{let a=e[0],s=a.children.length,l=this._getCellWidths(a,n),u=this._getStickyStartColumnPositions(l,r),f=this._getStickyEndColumnPositions(l,t),v=r.lastIndexOf(!0),C=t.indexOf(!0),D=this.direction==="rtl",S=D?"right":"left",P=D?"left":"right";for(let z of e)for(let O=0;Or[O]?z:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:C===-1?[]:l.slice(C).map((z,O)=>t[O+C]?z:null).reverse()}))})}stickRows(e,r,t){this._isBrowser&&this._coalescedStyleScheduler.schedule(()=>{let n=t==="bottom"?e.slice().reverse():e,o=t==="bottom"?r.slice().reverse():r,a=[],s=[],l=[];for(let f=0,v=0;f{let t=e.querySelector("tfoot");t&&(r.some(n=>!n)?this._removeStickyStyle(t,["bottom"]):this._addStickyStyle(t,"bottom",0,!1))})}_removeStickyStyle(e,r){for(let n of r)e.style[n]="",e.classList.remove(this._borderCellCss[n]);gk.some(n=>r.indexOf(n)===-1&&e.style[n])?e.style.zIndex=this._getCalculatedZIndex(e):(e.style.zIndex="",this._needsPositionStickyOnElement&&(e.style.position=""),e.classList.remove(this._stickCellCss))}_addStickyStyle(e,r,t,n){e.classList.add(this._stickCellCss),n&&e.classList.add(this._borderCellCss[r]),e.style[r]=`${t}px`,e.style.zIndex=this._getCalculatedZIndex(e),this._needsPositionStickyOnElement&&(e.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(e){let r={top:100,bottom:10,left:1,right:1},t=0;for(let n of gk)e.style[n]&&(t+=r[n]);return t?`${t}`:""}_getCellWidths(e,r=!0){if(!r&&this._cachedCellWidths.length)return this._cachedCellWidths;let t=[],n=e.children;for(let o=0;o0;o--)r[o]&&(t[o]=n,n+=e[o]);return t}_retrieveElementSize(e){let r=this._elemSizeCache.get(e);if(r)return r;let t=e.getBoundingClientRect(),n={width:t.width,height:t.height};return this._resizeObserver&&(this._elemSizeCache.set(e,n),this._resizeObserver.observe(e,{box:"border-box"})),n}_updateStickyColumnReplayQueue(e){this._removeFromStickyColumnReplayQueue(e.rows),!this._stickyColumnsReplayTimeout&&this._updatedStickyColumnsParamsToReplay.push(e)}_removeFromStickyColumnReplayQueue(e){let r=new Set(e);for(let t of this._updatedStickyColumnsParamsToReplay)t.rows=t.rows.filter(n=>!r.has(n));this._updatedStickyColumnsParamsToReplay=this._updatedStickyColumnsParamsToReplay.filter(t=>!!t.rows.length)}_updateCachedSizes(e){let r=!1;for(let t of e){let n=t.borderBoxSize?.length?{width:t.borderBoxSize[0].inlineSize,height:t.borderBoxSize[0].blockSize}:{width:t.contentRect.width,height:t.contentRect.height};n.width!==this._elemSizeCache.get(t.target)?.width&&_6(t.target)&&(r=!0),this._elemSizeCache.set(t.target,n)}r&&this._updatedStickyColumnsParamsToReplay.length&&(this._stickyColumnsReplayTimeout&&clearTimeout(this._stickyColumnsReplayTimeout),this._stickyColumnsReplayTimeout=setTimeout(()=>{for(let t of this._updatedStickyColumnsParamsToReplay)this.updateStickyColumns(t.rows,t.stickyStartStates,t.stickyEndStates,!0,!1);this._updatedStickyColumnsParamsToReplay=[],this._stickyColumnsReplayTimeout=null},0))}};function _6(i){return["cdk-cell","cdk-header-cell","cdk-footer-cell"].some(e=>i.classList.contains(e))}var If=new R("CDK_SPL");var Gy=(()=>{let e=class e{constructor(t,n){this.viewContainer=t,this.elementRef=n;let o=k(Po);o._rowOutlet=this,o._outletAssigned()}};e.\u0275fac=function(n){return new(n||e)(m(Ct),m(q))},e.\u0275dir=L({type:e,selectors:[["","rowOutlet",""]],standalone:!0});let i=e;return i})(),qy=(()=>{let e=class e{constructor(t,n){this.viewContainer=t,this.elementRef=n;let o=k(Po);o._headerRowOutlet=this,o._outletAssigned()}};e.\u0275fac=function(n){return new(n||e)(m(Ct),m(q))},e.\u0275dir=L({type:e,selectors:[["","headerRowOutlet",""]],standalone:!0});let i=e;return i})(),Yy=(()=>{let e=class e{constructor(t,n){this.viewContainer=t,this.elementRef=n;let o=k(Po);o._footerRowOutlet=this,o._outletAssigned()}};e.\u0275fac=function(n){return new(n||e)(m(Ct),m(q))},e.\u0275dir=L({type:e,selectors:[["","footerRowOutlet",""]],standalone:!0});let i=e;return i})(),Qy=(()=>{let e=class e{constructor(t,n){this.viewContainer=t,this.elementRef=n;let o=k(Po);o._noDataRowOutlet=this,o._outletAssigned()}};e.\u0275fac=function(n){return new(n||e)(m(Ct),m(q))},e.\u0275dir=L({type:e,selectors:[["","noDataRowOutlet",""]],standalone:!0});let i=e;return i})();var Ky=(()=>{let e=class e{_getCellRole(){if(this._cellRoleInternal===void 0){let t=this._elementRef.nativeElement.getAttribute("role"),n=t==="grid"||t==="treegrid"?"gridcell":"cell";this._cellRoleInternal=this._isNativeHtmlTable&&n==="cell"?null:n}return this._cellRoleInternal}get trackBy(){return this._trackByFn}set trackBy(t){this._trackByFn=t}get dataSource(){return this._dataSource}set dataSource(t){this._dataSource!==t&&this._switchDataSource(t)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(t){this._multiTemplateDataRows=t,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(t){this._fixedLayout=t,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}constructor(t,n,o,a,s,l,u,f,v,C,D,S){this._differs=t,this._changeDetectorRef=n,this._elementRef=o,this._dir=s,this._platform=u,this._viewRepeater=f,this._coalescedStyleScheduler=v,this._viewportRuler=C,this._stickyPositioningListener=D,this._onDestroy=new G,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._hasAllOutlets=!1,this._hasInitialized=!1,this._cellRoleInternal=void 0,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new T,this.viewChange=new Gt({start:0,end:Number.MAX_VALUE}),this._injector=k(Pe),a||o.nativeElement.setAttribute("role","table"),this._document=l,this._isServer=!u.isBrowser,this._isNativeHtmlTable=o.nativeElement.nodeName==="TABLE"}ngOnInit(){this._setupStickyStyler(),this._dataDiffer=this._differs.find([]).create((t,n)=>this.trackBy?this.trackBy(n.dataIndex,n.data):n),this._viewportRuler.change().pipe(fe(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentInit(){this._hasInitialized=!0}ngAfterContentChecked(){this._canRender()&&this._render()}ngOnDestroy(){[this._rowOutlet?.viewContainer,this._headerRowOutlet?.viewContainer,this._footerRowOutlet?.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(t=>{t?.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),ep(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();let t=this._dataDiffer.diff(this._renderRows);if(!t){this._updateNoDataRow(),this.contentChanged.next();return}let n=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(t,n,(o,a,s)=>this._getEmbeddedViewArgs(o.item,s),o=>o.item.data,o=>{o.operation===El.INSERTED&&o.context&&this._renderCellTemplateForItem(o.record.item.rowDef,o.context)}),this._updateRowIndexContext(),t.forEachIdentityChange(o=>{let a=n.get(o.currentIndex);a.context.$implicit=o.item.data}),this._updateNoDataRow(),ai(()=>{this.updateStickyColumnStyles()},{injector:this._injector}),this.contentChanged.next()}addColumnDef(t){this._customColumnDefs.add(t)}removeColumnDef(t){this._customColumnDefs.delete(t)}addRowDef(t){this._customRowDefs.add(t)}removeRowDef(t){this._customRowDefs.delete(t)}addHeaderRowDef(t){this._customHeaderRowDefs.add(t),this._headerRowDefChanged=!0}removeHeaderRowDef(t){this._customHeaderRowDefs.delete(t),this._headerRowDefChanged=!0}addFooterRowDef(t){this._customFooterRowDefs.add(t),this._footerRowDefChanged=!0}removeFooterRowDef(t){this._customFooterRowDefs.delete(t),this._footerRowDefChanged=!0}setNoDataRow(t){this._customNoDataRow=t}updateStickyHeaderRowStyles(){let t=this._getRenderedRows(this._headerRowOutlet);if(this._isNativeHtmlTable){let o=_k(this._headerRowOutlet,"thead");o&&(o.style.display=t.length?"":"none")}let n=this._headerRowDefs.map(o=>o.sticky);this._stickyStyler.clearStickyPositioning(t,["top"]),this._stickyStyler.stickRows(t,n,"top"),this._headerRowDefs.forEach(o=>o.resetStickyChanged())}updateStickyFooterRowStyles(){let t=this._getRenderedRows(this._footerRowOutlet);if(this._isNativeHtmlTable){let o=_k(this._footerRowOutlet,"tfoot");o&&(o.style.display=t.length?"":"none")}let n=this._footerRowDefs.map(o=>o.sticky);this._stickyStyler.clearStickyPositioning(t,["bottom"]),this._stickyStyler.stickRows(t,n,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,n),this._footerRowDefs.forEach(o=>o.resetStickyChanged())}updateStickyColumnStyles(){let t=this._getRenderedRows(this._headerRowOutlet),n=this._getRenderedRows(this._rowOutlet),o=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...t,...n,...o],["left","right"]),this._stickyColumnStylesNeedReset=!1),t.forEach((a,s)=>{this._addStickyColumnStyles([a],this._headerRowDefs[s])}),this._rowDefs.forEach(a=>{let s=[];for(let l=0;l{this._addStickyColumnStyles([a],this._footerRowDefs[s])}),Array.from(this._columnDefsByName.values()).forEach(a=>a.resetStickyChanged())}_outletAssigned(){!this._hasAllOutlets&&this._rowOutlet&&this._headerRowOutlet&&this._footerRowOutlet&&this._noDataRowOutlet&&(this._hasAllOutlets=!0,this._canRender()&&this._render())}_canRender(){return this._hasAllOutlets&&this._hasInitialized}_render(){this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&this._rowDefs.length;let n=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||n,this._forceRecalculateCellWidths=n,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}_getAllRenderRows(){let t=[],n=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let o=0;o{let l=o&&o.has(s)?o.get(s):[];if(l.length){let u=l.shift();return u.dataIndex=n,u}else return{data:t,rowDef:s,dataIndex:n}})}_cacheColumnDefs(){this._columnDefsByName.clear(),xf(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(n=>{this._columnDefsByName.has(n.name),this._columnDefsByName.set(n.name,n)})}_cacheRowDefs(){this._headerRowDefs=xf(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=xf(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=xf(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);let t=this._rowDefs.filter(n=>!n.when);!this.multiTemplateDataRows&&t.length>1,this._defaultRowDef=t[0]}_renderUpdatedColumns(){let t=(s,l)=>s||!!l.getColumnsDiff(),n=this._rowDefs.reduce(t,!1);n&&this._forceRenderDataRows();let o=this._headerRowDefs.reduce(t,!1);o&&this._forceRenderHeaderRows();let a=this._footerRowDefs.reduce(t,!1);return a&&this._forceRenderFooterRows(),n||o||a}_switchDataSource(t){this._data=[],ep(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),t||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet&&this._rowOutlet.viewContainer.clear()),this._dataSource=t}_observeRenderChanges(){if(!this.dataSource)return;let t;ep(this.dataSource)?t=this.dataSource.connect(this):Gr(this.dataSource)?t=this.dataSource:Array.isArray(this.dataSource)&&(t=oe(this.dataSource)),this._renderChangeSubscription=t.pipe(fe(this._onDestroy)).subscribe(n=>{this._data=n||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((t,n)=>this._renderRow(this._headerRowOutlet,t,n)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((t,n)=>this._renderRow(this._footerRowOutlet,t,n)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(t,n){let o=Array.from(n.columns||[]).map(l=>{let u=this._columnDefsByName.get(l);return u}),a=o.map(l=>l.sticky),s=o.map(l=>l.stickyEnd);this._stickyStyler.updateStickyColumns(t,a,s,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(t){let n=[];for(let o=0;o!a.when||a.when(n,t));else{let a=this._rowDefs.find(s=>s.when&&s.when(n,t))||this._defaultRowDef;a&&o.push(a)}return o.length,o}_getEmbeddedViewArgs(t,n){let o=t.rowDef,a={$implicit:t.data};return{templateRef:o.template,context:a,index:n}}_renderRow(t,n,o,a={}){let s=t.viewContainer.createEmbeddedView(n.template,a,o);return this._renderCellTemplateForItem(n,a),s}_renderCellTemplateForItem(t,n){for(let o of this._getCellTemplates(t))bs.mostRecentCellOutlet&&bs.mostRecentCellOutlet._viewContainer.createEmbeddedView(o,n);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){let t=this._rowOutlet.viewContainer;for(let n=0,o=t.length;n{let o=this._columnDefsByName.get(n);return t.extractCellTemplate(o)})}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){let t=(n,o)=>n||o.hasStickyChanged();this._headerRowDefs.reduce(t,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(t,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(t,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){let t=this._dir?this._dir.value:"ltr";this._stickyStyler=new By(this._isNativeHtmlTable,this.stickyCssClass,t,this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:oe()).pipe(fe(this._onDestroy)).subscribe(n=>{this._stickyStyler.direction=n,this.updateStickyColumnStyles()})}_getOwnDefs(t){return t.filter(n=>!n._table||n._table===this)}_updateNoDataRow(){let t=this._customNoDataRow||this._noDataRow;if(!t)return;let n=this._rowOutlet.viewContainer.length===0;if(n===this._isShowingNoDataRow)return;let o=this._noDataRowOutlet.viewContainer;if(n){let a=o.createEmbeddedView(t.templateRef),s=a.rootNodes[0];a.rootNodes.length===1&&s?.nodeType===this._document.ELEMENT_NODE&&(s.setAttribute("role","row"),s.classList.add(t._contentClassName))}else o.clear();this._isShowingNoDataRow=n,this._changeDetectorRef.markForCheck()}};e.\u0275fac=function(n){return new(n||e)(m(Xo),m(he),m(q),vi("role"),m(Nt,8),m(se),m(Ve),m(fd),m(Ef),m(fn),m(If,12),m(Z,8))},e.\u0275cmp=E({type:e,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(n,o,a){if(n&1&&(Be(a,wk,5),Be(a,ql,5),Be(a,kf,5),Be(a,Wd,5),Be(a,Hy,5)),n&2){let s;Q(s=K())&&(o._noDataRow=s.first),Q(s=K())&&(o._contentColumnDefs=s),Q(s=K())&&(o._contentRowDefs=s),Q(s=K())&&(o._contentHeaderRowDefs=s),Q(s=K())&&(o._contentFooterRowDefs=s)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(n,o){n&2&&ne("cdk-table-fixed-layout",o.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:[2,"multiTemplateDataRows","multiTemplateDataRows",Y],fixedLayout:[2,"fixedLayout","fixedLayout",Y]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],standalone:!0,features:[Ce([{provide:Po,useExisting:e},{provide:fd,useClass:Il},{provide:Ef,useClass:zy},{provide:If,useValue:null}]),ge,re],ngContentSelectors:m6,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(n,o){n&1&&(He(h6),ae(0),ae(1,1),x(2,p6,1,0)(3,f6,7,0)(4,g6,4,0)),n&2&&(h(2),De(o._isServer?2:-1),h(),De(o._isNativeHtmlTable?3:4))},dependencies:[qy,Gy,Qy,Yy],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2});let i=e;return i})();function xf(i,e){return i.concat(Array.from(e))}function _k(i,e){let r=e.toUpperCase(),t=i.viewContainer.element.nativeElement;for(;t;){let n=t.nodeType===1?t.nodeName:null;if(n===r)return t;if(n==="TABLE")break;t=t.parentNode}return null}var Ck=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=te({type:e}),e.\u0275inj=ee({imports:[_d]});let i=e;return i})();var v6=[[["caption"]],[["colgroup"],["col"]],"*"],b6=["caption","colgroup, col","*"];function y6(i,e){i&1&&ae(0,2)}function w6(i,e){i&1&&(c(0,"thead",0),Ci(1,1),d(),c(2,"tbody",2),Ci(3,3)(4,4),d(),c(5,"tfoot",0),Ci(6,5),d())}function C6(i,e){i&1&&Ci(0,1)(1,3)(2,4)(3,5)}var Af=(()=>{let e=class e extends Ky{constructor(){super(...arguments),this.stickyCssClass="mat-mdc-table-sticky",this.needsPositionStickyOnElement=!1}};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=jt(e)))(o||e)}})(),e.\u0275cmp=E({type:e,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(n,o){n&2&&ne("mdc-table-fixed-layout",o.fixedLayout)},exportAs:["matTable"],standalone:!0,features:[Ce([{provide:Ky,useExisting:e},{provide:Po,useExisting:e},{provide:Ef,useClass:zy},{provide:fd,useClass:Il},{provide:If,useValue:null}]),be,re],ngContentSelectors:b6,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["role","rowgroup",1,"mdc-data-table__content"],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(n,o){n&1&&(He(v6),ae(0),ae(1,1),x(2,y6,1,0)(3,w6,7,0)(4,C6,4,0)),n&2&&(h(2),De(o._isServer?2:-1),h(),De(o._isNativeHtmlTable?3:4))},dependencies:[qy,Gy,Qy,Yy],styles:[".mat-mdc-table-sticky{position:sticky !important}mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}.mat-mdc-table{min-width:100%;border:0;border-spacing:0;table-layout:auto;white-space:normal;background-color:var(--mat-table-background-color, var(--mat-app-surface))}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell{text-align:right}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px}.mat-mdc-header-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-header-container-height, 56px);color:var(--mat-table-header-headline-color, var(--mat-app-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-table-header-headline-font, var(--mat-app-title-small-font, Roboto, sans-serif));line-height:var(--mat-table-header-headline-line-height, var(--mat-app-title-small-line-height));font-size:var(--mat-table-header-headline-size, var(--mat-app-title-small-size, 14px));font-weight:var(--mat-table-header-headline-weight, var(--mat-app-title-small-weight, 500))}.mat-mdc-row{height:var(--mat-table-row-item-container-height, 52px);color:var(--mat-table-row-item-label-text-color, var(--mat-app-on-surface, rgba(0, 0, 0, 0.87)))}.mat-mdc-row,.mdc-data-table__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-table-row-item-label-text-font, var(--mat-app-body-medium-font, Roboto, sans-serif));line-height:var(--mat-table-row-item-label-text-line-height, var(--mat-app-body-medium-line-height));font-size:var(--mat-table-row-item-label-text-size, var(--mat-app-body-medium-size, 14px));font-weight:var(--mat-table-row-item-label-text-weight, var(--mat-app-body-medium-weight))}.mat-mdc-footer-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-footer-container-height, 52px);color:var(--mat-table-row-item-label-text-color, var(--mat-app-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-table-footer-supporting-text-font, var(--mat-app-body-medium-font, Roboto, sans-serif));line-height:var(--mat-table-footer-supporting-text-line-height, var(--mat-app-body-medium-line-height));font-size:var(--mat-table-footer-supporting-text-size, var(--mat-app-body-medium-size, 14px));font-weight:var(--mat-table-footer-supporting-text-weight, var(--mat-app-body-medium-weight));letter-spacing:var(--mat-table-footer-supporting-text-tracking, var(--mat-app-body-medium-tracking))}.mat-mdc-header-cell{border-bottom-color:var(--mat-table-row-item-outline-color, var(--mat-app-outline, rgba(0, 0, 0, 0.12)));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-header-headline-tracking, var(--mat-app-title-small-tracking));font-weight:inherit;line-height:inherit;box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mat-mdc-header-cell{text-align:right}.mat-mdc-cell{border-bottom-color:var(--mat-table-row-item-outline-color, var(--mat-app-outline, rgba(0, 0, 0, 0.12)));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-row-item-label-text-tracking, var(--mat-app-body-medium-tracking));line-height:inherit}.mdc-data-table__row:last-child .mat-mdc-cell{border-bottom:none}.mat-mdc-footer-cell{letter-spacing:var(--mat-table-row-item-label-text-tracking, var(--mat-app-body-medium-tracking))}mat-row.mat-mdc-row,mat-header-row.mat-mdc-header-row,mat-footer-row.mat-mdc-footer-row{border-bottom:none}.mat-mdc-table tbody,.mat-mdc-table tfoot,.mat-mdc-table thead,.mat-mdc-cell,.mat-mdc-footer-cell,.mat-mdc-header-row,.mat-mdc-row,.mat-mdc-footer-row,.mat-mdc-table .mat-mdc-header-cell{background:inherit}.mat-mdc-table mat-header-row.mat-mdc-header-row,.mat-mdc-table mat-row.mat-mdc-row,.mat-mdc-table mat-footer-row.mat-mdc-footer-cell{height:unset}mat-header-cell.mat-mdc-header-cell,mat-cell.mat-mdc-cell,mat-footer-cell.mat-mdc-footer-cell{align-self:stretch}"],encapsulation:2});let i=e;return i})(),Of=(()=>{let e=class e extends Mf{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=jt(e)))(o||e)}})(),e.\u0275dir=L({type:e,selectors:[["","matCellDef",""]],standalone:!0,features:[Ce([{provide:Mf,useExisting:e}]),be]});let i=e;return i})(),Rf=(()=>{let e=class e extends Tf{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=jt(e)))(o||e)}})(),e.\u0275dir=L({type:e,selectors:[["","matHeaderCellDef",""]],standalone:!0,features:[Ce([{provide:Tf,useExisting:e}]),be]});let i=e;return i})();var Pf=(()=>{let e=class e extends ql{get name(){return this._name}set name(t){this._setNameInput(t)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=jt(e)))(o||e)}})(),e.\u0275dir=L({type:e,selectors:[["","matColumnDef",""]],inputs:{name:[0,"matColumnDef","name"]},standalone:!0,features:[Ce([{provide:ql,useExisting:e},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:e}]),be]});let i=e;return i})(),Ff=(()=>{let e=class e extends bk{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=jt(e)))(o||e)}})(),e.\u0275dir=L({type:e,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],standalone:!0,features:[be]});let i=e;return i})();var Nf=(()=>{let e=class e extends yk{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=jt(e)))(o||e)}})(),e.\u0275dir=L({type:e,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],standalone:!0,features:[be]});let i=e;return i})();var Lf=(()=>{let e=class e extends Wd{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=jt(e)))(o||e)}})(),e.\u0275dir=L({type:e,selectors:[["","matHeaderRowDef",""]],inputs:{columns:[0,"matHeaderRowDef","columns"],sticky:[2,"matHeaderRowDefSticky","sticky",Y]},standalone:!0,features:[Ce([{provide:Wd,useExisting:e}]),ge,be]});let i=e;return i})();var Vf=(()=>{let e=class e extends kf{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=jt(e)))(o||e)}})(),e.\u0275dir=L({type:e,selectors:[["","matRowDef",""]],inputs:{columns:[0,"matRowDefColumns","columns"],when:[0,"matRowDefWhen","when"]},standalone:!0,features:[Ce([{provide:kf,useExisting:e}]),be]});let i=e;return i})(),jf=(()=>{let e=class e extends $y{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=jt(e)))(o||e)}})(),e.\u0275cmp=E({type:e,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],standalone:!0,features:[Ce([{provide:$y,useExisting:e}]),be,re],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(n,o){n&1&&Ci(0,0)},dependencies:[bs],encapsulation:2});let i=e;return i})();var Bf=(()=>{let e=class e extends Wy{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=jt(e)))(o||e)}})(),e.\u0275cmp=E({type:e,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],standalone:!0,features:[Ce([{provide:Wy,useExisting:e}]),be,re],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(n,o){n&1&&Ci(0,0)},dependencies:[bs],encapsulation:2});let i=e;return i})();var xk=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=te({type:e}),e.\u0275inj=ee({imports:[pe,Ck,pe]});let i=e;return i})(),x6=9007199254740991,Yl=class extends Jm{get data(){return this._data.value}set data(e){e=Array.isArray(e)?e:[],this._data.next(e),this._renderChangesSubscription||this._filterData(e)}get filter(){return this._filter.value}set filter(e){this._filter.next(e),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(e){this._sort=e,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(e){this._paginator=e,this._updateChangeSubscription()}constructor(e=[]){super(),this._renderData=new Gt([]),this._filter=new Gt(""),this._internalPageChanges=new G,this._renderChangesSubscription=null,this.sortingDataAccessor=(r,t)=>{let n=r[t];if(N0(n)){let o=Number(n);return o{let n=t.active,o=t.direction;return!n||o==""?r:r.sort((a,s)=>{let l=this.sortingDataAccessor(a,n),u=this.sortingDataAccessor(s,n),f=typeof l,v=typeof u;f!==v&&(f==="number"&&(l+=""),v==="number"&&(u+=""));let C=0;return l!=null&&u!=null?l>u?C=1:l{let n=Object.keys(r).reduce((a,s)=>a+r[s]+"\u25EC","").toLowerCase(),o=t.trim().toLowerCase();return n.indexOf(o)!=-1},this._data=new Gt(e),this._updateChangeSubscription()}_updateChangeSubscription(){let e=this._sort?wt(this._sort.sortChange,this._sort.initialized):oe(null),r=this._paginator?wt(this._paginator.page,this._internalPageChanges,this._paginator.initialized):oe(null),t=this._data,n=Rn([t,this._filter]).pipe(ue(([s])=>this._filterData(s))),o=Rn([n,e]).pipe(ue(([s])=>this._orderData(s))),a=Rn([o,r]).pipe(ue(([s])=>this._pageData(s)));this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=a.subscribe(s=>this._renderData.next(s))}_filterData(e){return this.filteredData=this.filter==null||this.filter===""?e:e.filter(r=>this.filterPredicate(r,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(e){return this.sort?this.sortData(e.slice(),this.sort):e}_pageData(e){if(!this.paginator)return e;let r=this.paginator.pageIndex*this.paginator.pageSize;return e.slice(r,r+this.paginator.pageSize)}_updatePaginator(e){Promise.resolve().then(()=>{let r=this.paginator;if(r&&(r.length=e,r.pageIndex>0)){let t=Math.ceil(r.length/r.pageSize)-1||0,n=Math.min(r.pageIndex,t);n!==r.pageIndex&&(r.pageIndex=n,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=null}};var S6=["input"],E6=["label"],I6=["*"],M6=new R("mat-checkbox-default-options",{providedIn:"root",factory:Ek});function Ek(){return{color:"accent",clickAction:"check-indeterminate",disabledInteractive:!1}}var ln=function(i){return i[i.Init=0]="Init",i[i.Checked=1]="Checked",i[i.Unchecked=2]="Unchecked",i[i.Indeterminate=3]="Indeterminate",i}(ln||{}),T6={provide:vn,useExisting:Xt(()=>zf),multi:!0},Zy=class{},k6=0,Sk=Ek(),zf=(()=>{let e=class e{focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(t){let n=new Zy;return n.source=this,n.checked=t,n}_getAnimationTargetElement(){return this._inputElement?.nativeElement}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(t,n,o,a,s,l){this._elementRef=t,this._changeDetectorRef=n,this._ngZone=o,this._animationMode=s,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 T,this.indeterminateChange=new T,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=ln.Init,this._controlValueAccessorChangeFn=()=>{},this._validatorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||Sk,this.color=this._options.color||Sk.color,this.tabIndex=parseInt(a)||0,this.id=this._uniqueId=`mat-mdc-checkbox-${++k6}`,this.disabledInteractive=l?.disabledInteractive??!1}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 n=t!=this._indeterminate;this._indeterminate=t,n&&(this._indeterminate?this._transitionCheckState(ln.Indeterminate):this._transitionCheckState(this.checked?ln.Checked:ln.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 n=this._currentCheckState,o=this._getAnimationTargetElement();if(!(n===t||!o)&&(this._currentAnimationClass&&o.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(n,t),this._currentCheckState=t,this._currentAnimationClass.length>0)){o.classList.add(this._currentAnimationClass);let a=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{o.classList.remove(a)},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(){let t=this._options?.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?ln.Checked:ln.Unchecked),this._emitChangeEvent()):(this.disabled&&this.disabledInteractive||!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,n){if(this._animationMode==="NoopAnimations")return"";switch(t){case ln.Init:if(n===ln.Checked)return this._animationClasses.uncheckedToChecked;if(n==ln.Indeterminate)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case ln.Unchecked:return n===ln.Checked?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case ln.Checked:return n===ln.Unchecked?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case ln.Indeterminate:return n===ln.Checked?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(t){let n=this._inputElement;n&&(n.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(n){return new(n||e)(m(q),m(he),m(Z),vi("tabindex"),m(kt,8),m(M6,8))},e.\u0275cmp=E({type:e,selectors:[["mat-checkbox"]],viewQuery:function(n,o){if(n&1&&(ce(S6,5),ce(E6,5),ce(Tn,5)),n&2){let a;Q(a=K())&&(o._inputElement=a.first),Q(a=K())&&(o._labelElement=a.first),Q(a=K())&&(o.ripple=a.first)}},hostAttrs:[1,"mat-mdc-checkbox"],hostVars:16,hostBindings:function(n,o){n&2&&(Si("id",o.id),ie("tabindex",null)("aria-label",null)("aria-labelledby",null),Yt(o.color?"mat-"+o.color:"mat-accent"),ne("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mdc-checkbox--disabled",o.disabled)("mat-mdc-checkbox-disabled",o.disabled)("mat-mdc-checkbox-checked",o.checked)("mat-mdc-checkbox-disabled-interactive",o.disabledInteractive))},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],id:"id",required:[2,"required","required",Y],labelPosition:"labelPosition",name:"name",value:"value",disableRipple:[2,"disableRipple","disableRipple",Y],tabIndex:[2,"tabIndex","tabIndex",t=>t==null?void 0:ni(t)],color:"color",disabledInteractive:[2,"disabledInteractive","disabledInteractive",Y],checked:[2,"checked","checked",Y],disabled:[2,"disabled","disabled",Y],indeterminate:[2,"indeterminate","indeterminate",Y]},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],standalone:!0,features:[Ce([T6,{provide:co,useExisting:e,multi:!0}]),ge,Qe,re],ngContentSelectors:I6,decls:15,vars:20,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(n,o){if(n&1){let a=A();He(),c(0,"div",3),b("click",function(l){return y(a),w(o._preventBubblingFromLabel(l))}),c(1,"div",4,0)(3,"div",5),b("click",function(){return y(a),w(o._onTouchTargetClick())}),d(),c(4,"input",6,1),b("blur",function(){return y(a),w(o._onBlur())})("click",function(){return y(a),w(o._onInputClick())})("change",function(l){return y(a),w(o._onInteractionEvent(l))}),d(),I(6,"div",7),c(7,"div",8),pi(),c(8,"svg",9),I(9,"path",10),d(),yr(),I(10,"div",11),d(),I(11,"div",12),d(),c(12,"label",13,2),ae(14),d()()}if(n&2){let a=we(2);p("labelPosition",o.labelPosition),h(4),ne("mdc-checkbox--selected",o.checked),p("checked",o.checked)("indeterminate",o.indeterminate)("disabled",o.disabled&&!o.disabledInteractive)("id",o.inputId)("required",o.required)("tabIndex",o.disabled&&!o.disabledInteractive?-1:o.tabIndex),ie("aria-label",o.ariaLabel||null)("aria-labelledby",o.ariaLabelledby)("aria-describedby",o.ariaDescribedby)("aria-checked",o.indeterminate?"mixed":null)("aria-disabled",o.disabled&&o.disabledInteractive?!0:null)("name",o.name)("value",o.value),h(7),p("matRippleTrigger",a)("matRippleDisabled",o.disableRipple||o.disabled)("matRippleCentered",!0),h(),p("for",o.inputId)}},dependencies:[Tn,_p],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, var(--mat-app-hover-state-layer-opacity));background-color:var(--mdc-checkbox-unselected-hover-state-layer-color, var(--mat-app-on-surface))}.mdc-checkbox:hover .mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color, var(--mat-app-on-surface))}.mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity));background-color:var(--mdc-checkbox-unselected-focus-state-layer-color, var(--mat-app-on-surface))}.mdc-checkbox .mdc-checkbox__native-control:focus~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-focus-state-layer-color, var(--mat-app-on-surface))}.mdc-checkbox:active .mdc-checkbox__native-control~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity));background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color, var(--mat-app-primary))}.mdc-checkbox:active .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color, var(--mat-app-primary))}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity));background-color:var(--mdc-checkbox-selected-hover-state-layer-color, var(--mat-app-primary))}.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, var(--mat-app-primary))}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity));background-color:var(--mdc-checkbox-selected-focus-state-layer-color, var(--mat-app-primary))}.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, var(--mat-app-primary))}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity));background-color:var(--mdc-checkbox-selected-pressed-state-layer-color, var(--mat-app-on-surface))}.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, var(--mat-app-on-surface))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control~.mdc-checkbox__ripple{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color, var(--mat-app-on-surface))}.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}.cdk-high-contrast-active .mdc-checkbox--disabled{opacity:.5}.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);-webkit-print-color-adjust:exact;color-adjust:exact;border-color:var(--mdc-checkbox-unselected-icon-color, var(--mat-app-on-surface-variant));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, var(--mat-app-primary));background-color:var(--mdc-checkbox-selected-icon-color, var(--mat-app-primary))}.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, var(--mat-app-on-surface));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, var(--mat-app-primary));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mat-app-primary))}.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, var(--mat-app-on-surface))}.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, var(--mat-app-primary));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mat-app-primary))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox:hover .mdc-checkbox__native-control~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color)}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{background-color:var(--mdc-checkbox-disabled-selected-icon-color);border-color:rgba(0,0,0,0)}.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, var(--mat-app-on-primary))}.cdk-high-contrast-active .mdc-checkbox__checkmark{color:CanvasText}.mdc-checkbox--disabled .mdc-checkbox__checkmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color, var(--mat-app-surface))}.cdk-high-contrast-active .mdc-checkbox--disabled .mdc-checkbox__checkmark,.cdk-high-contrast-active .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:CanvasText}.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, var(--mat-app-on-primary))}.cdk-high-contrast-active .mdc-checkbox__mixedmark{margin:0 1px}.mdc-checkbox--disabled .mdc-checkbox__mixedmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color, var(--mat-app-surface))}.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 label{cursor:pointer}.mat-mdc-checkbox .mat-internal-form-field{color:var(--mat-checkbox-label-text-color, var(--mat-app-on-surface));font-family:var(--mat-checkbox-label-text-font, var(--mat-app-body-medium-font));line-height:var(--mat-checkbox-label-text-line-height, var(--mat-app-body-medium-line-height));font-size:var(--mat-checkbox-label-text-size, var(--mat-app-body-medium-size));letter-spacing:var(--mat-checkbox-label-text-tracking, var(--mat-app-body-medium-tracking));font-weight:var(--mat-checkbox-label-text-weight, var(--mat-app-body-medium-weight))}.mat-mdc-checkbox.mat-mdc-checkbox-disabled.mat-mdc-checkbox-disabled-interactive{pointer-events:auto}.mat-mdc-checkbox.mat-mdc-checkbox-disabled.mat-mdc-checkbox-disabled-interactive input{cursor:default}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default;color:var(--mat-checkbox-disabled-label-color)}.mat-mdc-checkbox label:empty{display:none}.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 i=e;return i})();var Uf=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=te({type:e}),e.\u0275inj=ee({imports:[zf,pe,pe]});let i=e;return i})();var O6=["*"],Hf;function R6(){if(Hf===void 0&&(Hf=null,typeof window<"u")){let i=window;i.trustedTypes!==void 0&&(Hf=i.trustedTypes.createPolicy("angular#components",{createHTML:e=>e}))}return Hf}function Gd(i){return R6()?.createHTML(i)||i}function Ik(i){return Error(`Unable to find icon with the name "${i}"`)}function P6(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function Mk(i){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${i}".`)}function Tk(i){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${i}".`)}var zr=class{constructor(e,r,t){this.url=e,this.svgText=r,this.options=t}},F6=(()=>{let e=class e{constructor(t,n,o,a){this._httpClient=t,this._sanitizer=n,this._errorHandler=a,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=o}addSvgIcon(t,n,o){return this.addSvgIconInNamespace("",t,n,o)}addSvgIconLiteral(t,n,o){return this.addSvgIconLiteralInNamespace("",t,n,o)}addSvgIconInNamespace(t,n,o,a){return this._addSvgIconConfig(t,n,new zr(o,null,a))}addSvgIconResolver(t){return this._resolvers.push(t),this}addSvgIconLiteralInNamespace(t,n,o,a){let s=this._sanitizer.sanitize(Yi.HTML,o);if(!s)throw Tk(o);let l=Gd(s);return this._addSvgIconConfig(t,n,new zr("",l,a))}addSvgIconSet(t,n){return this.addSvgIconSetInNamespace("",t,n)}addSvgIconSetLiteral(t,n){return this.addSvgIconSetLiteralInNamespace("",t,n)}addSvgIconSetInNamespace(t,n,o){return this._addSvgIconSetConfig(t,new zr(n,null,o))}addSvgIconSetLiteralInNamespace(t,n,o){let a=this._sanitizer.sanitize(Yi.HTML,n);if(!a)throw Tk(n);let s=Gd(a);return this._addSvgIconSetConfig(t,new zr("",s,o))}registerFontClassAlias(t,n=t){return this._fontCssClassesByAlias.set(t,n),this}classNameForFontAlias(t){return this._fontCssClassesByAlias.get(t)||t}setDefaultFontSetClass(...t){return this._defaultFontSetClass=t,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(t){let n=this._sanitizer.sanitize(Yi.RESOURCE_URL,t);if(!n)throw Mk(t);let o=this._cachedIconsByUrl.get(n);return o?oe($f(o)):this._loadSvgIconFromConfig(new zr(t,null)).pipe(Ht(a=>this._cachedIconsByUrl.set(n,a)),ue(a=>$f(a)))}getNamedSvgIcon(t,n=""){let o=kk(n,t),a=this._svgIconConfigs.get(o);if(a)return this._getSvgFromConfig(a);if(a=this._getIconConfigFromResolvers(n,t),a)return this._svgIconConfigs.set(o,a),this._getSvgFromConfig(a);let s=this._iconSetConfigs.get(n);return s?this._getSvgFromIconSetConfigs(t,s):jo(Ik(o))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(t){return t.svgText?oe($f(this._svgElementFromConfig(t))):this._loadSvgIconFromConfig(t).pipe(ue(n=>$f(n)))}_getSvgFromIconSetConfigs(t,n){let o=this._extractIconWithNameFromAnySet(t,n);if(o)return oe(o);let a=n.filter(s=>!s.svgText).map(s=>this._loadSvgIconSetFromConfig(s).pipe(Wi(l=>{let f=`Loading icon set URL: ${this._sanitizer.sanitize(Yi.RESOURCE_URL,s.url)} failed: ${l.message}`;return this._errorHandler.handleError(new Error(f)),oe(null)})));return uc(a).pipe(ue(()=>{let s=this._extractIconWithNameFromAnySet(t,n);if(!s)throw Ik(t);return s}))}_extractIconWithNameFromAnySet(t,n){for(let o=n.length-1;o>=0;o--){let a=n[o];if(a.svgText&&a.svgText.toString().indexOf(t)>-1){let s=this._svgElementFromConfig(a),l=this._extractSvgIconFromSet(s,t,a.options);if(l)return l}}return null}_loadSvgIconFromConfig(t){return this._fetchIcon(t).pipe(Ht(n=>t.svgText=n),ue(()=>this._svgElementFromConfig(t)))}_loadSvgIconSetFromConfig(t){return t.svgText?oe(null):this._fetchIcon(t).pipe(Ht(n=>t.svgText=n))}_extractSvgIconFromSet(t,n,o){let a=t.querySelector(`[id="${n}"]`);if(!a)return null;let s=a.cloneNode(!0);if(s.removeAttribute("id"),s.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(s,o);if(s.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(s),o);let l=this._svgElementFromString(Gd(""));return l.appendChild(s),this._setSvgAttributes(l,o)}_svgElementFromString(t){let n=this._document.createElement("DIV");n.innerHTML=t;let o=n.querySelector("svg");if(!o)throw Error(" tag not found");return o}_toSvgElement(t){let n=this._svgElementFromString(Gd("")),o=t.attributes;for(let a=0;aGd(f)),zo(()=>this._inProgressUrlFetches.delete(s)),mc());return this._inProgressUrlFetches.set(s,u),u}_addSvgIconConfig(t,n,o){return this._svgIconConfigs.set(kk(t,n),o),this}_addSvgIconSetConfig(t,n){let o=this._iconSetConfigs.get(t);return o?o.push(n):this._iconSetConfigs.set(t,[n]),this}_svgElementFromConfig(t){if(!t.svgElement){let n=this._svgElementFromString(t.svgText);this._setSvgAttributes(n,t.options),t.svgElement=n}return t.svgElement}_getIconConfigFromResolvers(t,n){for(let o=0;oe?e.pathname+e.search:""}}var Ak=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],B6=Ak.map(i=>`[${i}]`).join(", "),z6=/^url\(['"]?#(.*?)['"]?\)$/,Ok=(()=>{let e=class e{get color(){return this._color||this._defaultColor}set color(t){this._color=t}get svgIcon(){return this._svgIcon}set svgIcon(t){t!==this._svgIcon&&(t?this._updateSvgIcon(t):this._svgIcon&&this._clearSvgElement(),this._svgIcon=t)}get fontSet(){return this._fontSet}set fontSet(t){let n=this._cleanupFontValue(t);n!==this._fontSet&&(this._fontSet=n,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(t){let n=this._cleanupFontValue(t);n!==this._fontIcon&&(this._fontIcon=n,this._updateFontIconClasses())}constructor(t,n,o,a,s,l){this._elementRef=t,this._iconRegistry=n,this._location=a,this._errorHandler=s,this.inline=!1,this._previousFontSetClass=[],this._currentIconFetch=ve.EMPTY,l&&(l.color&&(this.color=this._defaultColor=l.color),l.fontSet&&(this.fontSet=l.fontSet)),o||t.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(t){if(!t)return["",""];let n=t.split(":");switch(n.length){case 1:return["",n[0]];case 2:return n;default:throw Error(`Invalid icon name: "${t}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let t=this._elementsWithExternalReferences;if(t&&t.size){let n=this._location.getPathname();n!==this._previousPath&&(this._previousPath=n,this._prependPathToReferences(n))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(t){this._clearSvgElement();let n=this._location.getPathname();this._previousPath=n,this._cacheChildrenWithExternalReferences(t),this._prependPathToReferences(n),this._elementRef.nativeElement.appendChild(t)}_clearSvgElement(){let t=this._elementRef.nativeElement,n=t.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();n--;){let o=t.childNodes[n];(o.nodeType!==1||o.nodeName.toLowerCase()==="svg")&&o.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let t=this._elementRef.nativeElement,n=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(o=>o.length>0);this._previousFontSetClass.forEach(o=>t.classList.remove(o)),n.forEach(o=>t.classList.add(o)),this._previousFontSetClass=n,this.fontIcon!==this._previousFontIconClass&&!n.includes("mat-ligature-font")&&(this._previousFontIconClass&&t.classList.remove(this._previousFontIconClass),this.fontIcon&&t.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(t){return typeof t=="string"?t.trim().split(" ")[0]:t}_prependPathToReferences(t){let n=this._elementsWithExternalReferences;n&&n.forEach((o,a)=>{o.forEach(s=>{a.setAttribute(s.name,`url('${t}#${s.value}')`)})})}_cacheChildrenWithExternalReferences(t){let n=t.querySelectorAll(B6),o=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let a=0;a{let l=n[a],u=l.getAttribute(s),f=u?u.match(z6):null;if(f){let v=o.get(l);v||(v=[],o.set(l,v)),v.push({name:s,value:f[1]})}})}_updateSvgIcon(t){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),t){let[n,o]=this._splitIconName(t);n&&(this._svgNamespace=n),o&&(this._svgName=o),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(o,n).pipe(Ot(1)).subscribe(a=>this._setSvgElement(a),a=>{let s=`Error retrieving icon ${n}:${o}! ${a.message}`;this._errorHandler.handleError(new Error(s))})}}};e.\u0275fac=function(n){return new(n||e)(m(q),m(F6),vi("aria-hidden"),m(V6),m(yn),m(L6,8))},e.\u0275cmp=E({type:e,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(n,o){n&2&&(ie("data-mat-icon-type",o._usingFontIcon()?"font":"svg")("data-mat-icon-name",o._svgName||o.fontIcon)("data-mat-icon-namespace",o._svgNamespace||o.fontSet)("fontIcon",o._usingFontIcon()?o.fontIcon:null),Yt(o.color?"mat-"+o.color:""),ne("mat-icon-inline",o.inline)("mat-icon-no-color",o.color!=="primary"&&o.color!=="accent"&&o.color!=="warn"))},inputs:{color:"color",inline:[2,"inline","inline",Y],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],standalone:!0,features:[ge,re],ngContentSelectors:O6,decls:1,vars:0,template:function(n,o){n&1&&(He(),ae(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0});let i=e;return i})(),Rk=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=te({type:e}),e.\u0275inj=ee({imports:[pe,pe]});let i=e;return i})();var H6=["determinateSpinner"];function $6(i,e){if(i&1&&(pi(),c(0,"svg",11),I(1,"circle",12),d()),i&2){let r=_();ie("viewBox",r._viewBox()),h(),ji("stroke-dasharray",r._strokeCircumference(),"px")("stroke-dashoffset",r._strokeCircumference()/2,"px")("stroke-width",r._circleStrokeWidth(),"%"),ie("r",r._circleRadius())}}var W6=new R("mat-progress-spinner-default-options",{providedIn:"root",factory:G6});function G6(){return{diameter:Pk}}var Pk=100,q6=10,Wf=(()=>{let e=class e{get color(){return this._color||this._defaultColor}set color(t){this._color=t}constructor(t,n,o){this._elementRef=t,this._defaultColor="primary",this._value=0,this._diameter=Pk,this._noopAnimations=n==="NoopAnimations"&&!!o&&!o._forceAnimations,this.mode=t.nativeElement.nodeName.toLowerCase()==="mat-spinner"?"indeterminate":"determinate",o&&(o.color&&(this.color=this._defaultColor=o.color),o.diameter&&(this.diameter=o.diameter),o.strokeWidth&&(this.strokeWidth=o.strokeWidth))}get value(){return this.mode==="determinate"?this._value:0}set value(t){this._value=Math.max(0,Math.min(100,t||0))}get diameter(){return this._diameter}set diameter(t){this._diameter=t||0}get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(t){this._strokeWidth=t||0}_circleRadius(){return(this.diameter-q6)/2}_viewBox(){let t=this._circleRadius()*2+this.strokeWidth;return`0 0 ${t} ${t}`}_strokeCircumference(){return 2*Math.PI*this._circleRadius()}_strokeDashOffset(){return this.mode==="determinate"?this._strokeCircumference()*(100-this._value)/100:null}_circleStrokeWidth(){return this.strokeWidth/this.diameter*100}};e.\u0275fac=function(n){return new(n||e)(m(q),m(kt,8),m(W6))},e.\u0275cmp=E({type:e,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(n,o){if(n&1&&ce(H6,5),n&2){let a;Q(a=K())&&(o._determinateCircle=a.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:18,hostBindings:function(n,o){n&2&&(ie("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow",o.mode==="determinate"?o.value:null)("mode",o.mode),Yt("mat-"+o.color),ji("width",o.diameter,"px")("height",o.diameter,"px")("--mdc-circular-progress-size",o.diameter+"px")("--mdc-circular-progress-active-indicator-width",o.diameter+"px"),ne("_mat-animation-noopable",o._noopAnimations)("mdc-circular-progress--indeterminate",o.mode==="indeterminate"))},inputs:{color:"color",mode:"mode",value:[2,"value","value",ni],diameter:[2,"diameter","diameter",ni],strokeWidth:[2,"strokeWidth","strokeWidth",ni]},exportAs:["matProgressSpinner"],standalone:!0,features:[ge,re],decls:14,vars:11,consts:[["circle",""],["determinateSpinner",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(n,o){if(n&1&&(x(0,$6,2,8,"ng-template",null,0,fi),c(2,"div",2,1),pi(),c(4,"svg",3),I(5,"circle",4),d()(),yr(),c(6,"div",5)(7,"div",6)(8,"div",7),Ci(9,8),d(),c(10,"div",9),Ci(11,8),d(),c(12,"div",10),Ci(13,8),d()()()),n&2){let a=we(1);h(4),ie("viewBox",o._viewBox()),h(),ji("stroke-dasharray",o._strokeCircumference(),"px")("stroke-dashoffset",o._strokeDashOffset(),"px")("stroke-width",o._circleStrokeWidth(),"%"),ie("r",o._circleRadius()),h(4),p("ngTemplateOutlet",a),h(2),p("ngTemplateOutlet",a),h(2),p("ngTemplateOutlet",a)}},dependencies:[ym],styles:[".mat-mdc-progress-spinner{display:block;overflow:hidden;line-height:0;position:relative;direction:ltr;transition:opacity 250ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-progress-spinner circle{stroke-width:var(--mdc-circular-progress-active-indicator-width)}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none !important}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none !important}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1;animation:mdc-circular-progress-container-rotate 1568.2352941176ms linear infinite}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mdc-circular-progress-active-indicator-color, var(--mat-app-primary))}.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}}"],encapsulation:2,changeDetection:0});let i=e;return i})();var Gf=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=te({type:e}),e.\u0275inj=ee({imports:[Ei,pe]});let i=e;return i})();var qf=(()=>{let e=class e{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(t){this._vertical=Bn(t)}get inset(){return this._inset}set inset(t){this._inset=Bn(t)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=E({type:e,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(n,o){n&2&&(ie("aria-orientation",o.vertical?"vertical":"horizontal"),ne("mat-divider-vertical",o.vertical)("mat-divider-horizontal",!o.vertical)("mat-divider-inset",o.inset))},inputs:{vertical:"vertical",inset:"inset"},standalone:!0,features:[re],decls:0,vars:0,template:function(n,o){},styles:[".mat-divider{display:block;margin:0;border-top-style:solid;border-top-color:var(--mat-divider-color, var(--mat-app-outline));border-top-width:var(--mat-divider-width)}.mat-divider.mat-divider-vertical{border-top:0;border-right-style:solid;border-right-color:var(--mat-divider-color, var(--mat-app-outline));border-right-width:var(--mat-divider-width)}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}"],encapsulation:2,changeDetection:0});let i=e;return i})(),Yf=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=te({type:e}),e.\u0275inj=ee({imports:[pe,pe]});let i=e;return i})();var Y6=["searchSelectInput"],Q6=["innerSelectSearch"],K6=[[["",8,"mat-select-search-custom-header-content"]],[["","ngxMatSelectSearchClear",""]],[["","ngxMatSelectNoEntriesFound",""]]],Z6=[".mat-select-search-custom-header-content","[ngxMatSelectSearchClear]","[ngxMatSelectNoEntriesFound]"],X6=(i,e)=>({"mat-select-search-inner-multiple":i,"mat-select-search-inner-toggle-all":e});function J6(i,e){if(i&1){let r=A();c(0,"mat-checkbox",12),b("change",function(n){y(r);let o=_();return w(o._emitSelectAllBooleanToParent(n.checked))}),d()}if(i&2){let r=_();p("color",r.matFormField==null?null:r.matFormField.color)("checked",r.toggleAllCheckboxChecked)("indeterminate",r.toggleAllCheckboxIndeterminate)("matTooltip",r.toggleAllCheckboxTooltipMessage)("matTooltipPosition",r.toggleAllCheckboxTooltipPosition)}}function e$(i,e){i&1&&I(0,"mat-spinner",13)}function t$(i,e){i&1&&ae(0,1,["*ngIf","clearIcon; else defaultIcon"])}function i$(i,e){if(i&1&&(c(0,"mat-icon",16),g(1),d()),i&2){let r=_(2);p("svgIcon",r.closeSvgIcon),h(),F(" ",r.closeSvgIcon?null:r.closeIcon," ")}}function n$(i,e){if(i&1){let r=A();c(0,"button",14),b("click",function(){y(r);let n=_();return w(n._reset(!0))}),x(1,t$,1,0,"ng-content",15)(2,i$,2,2,"ng-template",null,2,fi),d()}if(i&2){let r=we(3),t=_();h(),p("ngIf",t.clearIcon)("ngIfElse",r)}}function o$(i,e){i&1&&ae(0,2,["*ngIf","noEntriesFound; else defaultNoEntriesFound"])}function r$(i,e){if(i&1&&g(0),i&2){let r=_(2);$e(r.noEntriesFoundLabel)}}function a$(i,e){if(i&1&&(c(0,"div",17),x(1,o$,1,0,"ng-content",15)(2,r$,1,1,"ng-template",null,3,fi),d()),i&2){let r=we(3),t=_();h(),p("ngIf",t.noEntriesFound)("ngIfElse",r)}}var s$=(()=>{class i{}return i.\u0275fac=function(r){return new(r||i)},i.\u0275dir=L({type:i,selectors:[["","ngxMatSelectSearchClear",""]]}),i})(),l$=["ariaLabel","clearSearchInput","closeIcon","closeSvgIcon","disableInitialFocus","disableScrollToActiveOnOptionsChanged","enableClearOnEscapePressed","hideClearSearchButton","noEntriesFoundLabel","placeholderLabel","preventHomeEndKeyPropagation","searching"],c$=new R("mat-selectsearch-default-options"),d$=(()=>{class i{}return i.\u0275fac=function(r){return new(r||i)},i.\u0275dir=L({type:i,selectors:[["","ngxMatSelectNoEntriesFound",""]]}),i})(),Lk=(()=>{class i{constructor(r,t,n,o,a,s){this.matSelect=r,this.changeDetectorRef=t,this._viewportRuler=n,this.matOption=o,this.matFormField=a,this.placeholderLabel="Suche",this.type="text",this.closeIcon="close",this.noEntriesFoundLabel="Keine Optionen gefunden",this.clearSearchInput=!0,this.searching=!1,this.disableInitialFocus=!1,this.enableClearOnEscapePressed=!1,this.preventHomeEndKeyPropagation=!1,this.disableScrollToActiveOnOptionsChanged=!1,this.ariaLabel="dropdown search",this.showToggleAllCheckbox=!1,this.toggleAllCheckboxChecked=!1,this.toggleAllCheckboxIndeterminate=!1,this.toggleAllCheckboxTooltipMessage="",this.toggleAllCheckboxTooltipPosition="below",this.hideClearSearchButton=!1,this.alwaysRestoreSelectedOptionsMulti=!1,this.recreateValuesArray=!1,this.toggleAll=new T,this.onTouched=l=>{},this._options$=new Gt(null),this.optionsList$=this._options$.pipe(Tt(l=>l?l.changes.pipe(ue(u=>u.toArray()),Rt(l.toArray())):oe(null))),this.optionsLength$=this.optionsList$.pipe(ue(l=>l?l.length:0)),this._formControl=new Bp("",{nonNullable:!0}),this._showNoEntriesFound$=Rn([this._formControl.valueChanges,this.optionsLength$]).pipe(ue(([l,u])=>!!(this.noEntriesFoundLabel&&l&&u===this.getOptionsLengthOffset()))),this._onDestroy=new G,this.applyDefaultOptions(s)}get value(){return this._formControl.value}set _options(r){this._options$.next(r)}get _options(){return this._options$.getValue()}applyDefaultOptions(r){if(r)for(let t of l$)r.hasOwnProperty(t)&&(this[t]=r[t])}ngOnInit(){this.matOption?(this.matOption.disabled=!0,this.matOption._getHostElement().classList.add("contains-mat-select-search"),this.matOption._getHostElement().setAttribute("role","presentation")):console.error(" must be placed inside a element"),this.matSelect.openedChange.pipe(Qr(1),fe(this._onDestroy)).subscribe(r=>{r?(this.updateInputWidth(),this.disableInitialFocus||this._focus()):this.clearSearchInput&&this._reset()}),this.matSelect.openedChange.pipe(Ot(1),Tt(r=>{this._options=this.matSelect.options;let t=this._options.toArray()[this.getOptionsLengthOffset()];return this._options.changes.pipe(Ht(()=>{setTimeout(()=>{let n=this._options.toArray(),o=n[this.getOptionsLengthOffset()],a=this.matSelect._keyManager;a&&this.matSelect.panelOpen&&o&&((!t||!this.matSelect.compareWith(t.value,o.value)||!a.activeItem||!n.find(l=>this.matSelect.compareWith(l.value,a.activeItem?.value)))&&a.setActiveItem(this.getOptionsLengthOffset()),setTimeout(()=>{this.updateInputWidth()})),t=o})}))})).pipe(fe(this._onDestroy)).subscribe(),this._showNoEntriesFound$.pipe(fe(this._onDestroy)).subscribe(r=>{this.matOption&&(r?this.matOption._getHostElement().classList.add("mat-select-search-no-entries-found"):this.matOption._getHostElement().classList.remove("mat-select-search-no-entries-found"))}),this._viewportRuler.change().pipe(fe(this._onDestroy)).subscribe(()=>{this.matSelect.panelOpen&&this.updateInputWidth()}),this.initMultipleHandling(),this.optionsList$.pipe(fe(this._onDestroy)).subscribe(()=>{this.changeDetectorRef.markForCheck()})}_emitSelectAllBooleanToParent(r){this.toggleAll.emit(r)}ngOnDestroy(){this._onDestroy.next(),this._onDestroy.complete()}_isToggleAllCheckboxVisible(){return this.matSelect.multiple&&this.showToggleAllCheckbox}_handleKeydown(r){(r.key&&r.key.length===1||this.preventHomeEndKeyPropagation&&(r.key==="Home"||r.key==="End"))&&r.stopPropagation(),this.matSelect.multiple&&r.key&&r.key==="Enter"&&setTimeout(()=>this._focus()),this.enableClearOnEscapePressed&&r.key==="Escape"&&this.value&&(this._reset(!0),r.stopPropagation())}_handleKeyup(r){if(r.key==="ArrowUp"||r.key==="ArrowDown"){let t=this.matSelect._getAriaActiveDescendant(),n=this._options.toArray().findIndex(o=>o.id===t);n!==-1&&(this.unselectActiveDescendant(),this.activeDescendant=this._options.toArray()[n]._getHostElement(),this.activeDescendant.setAttribute("aria-selected","true"),this.searchSelectInput.nativeElement.setAttribute("aria-activedescendant",t))}}writeValue(r){this._lastExternalInputValue=r,this._formControl.setValue(r),this.changeDetectorRef.markForCheck()}onBlur(){this.unselectActiveDescendant(),this.onTouched()}registerOnChange(r){this._formControl.valueChanges.pipe(Ye(t=>t!==this._lastExternalInputValue),Ht(()=>this._lastExternalInputValue=void 0),fe(this._onDestroy)).subscribe(r)}registerOnTouched(r){this.onTouched=r}_focus(){if(!this.searchSelectInput||!this.matSelect.panel)return;let r=this.matSelect.panel.nativeElement,t=r.scrollTop;this.searchSelectInput.nativeElement.focus(),r.scrollTop=t}_reset(r){this._formControl.setValue(""),r&&this._focus()}initMultipleHandling(){if(!this.matSelect.ngControl){this.matSelect.multiple&&console.error("the mat-select containing ngx-mat-select-search must have a ngModel or formControl directive when multiple=true");return}this.previousSelectedValues=this.matSelect.ngControl.value,this.matSelect.ngControl.valueChanges&&this.matSelect.ngControl.valueChanges.pipe(fe(this._onDestroy)).subscribe(r=>{let t=!1;if(this.matSelect.multiple&&(this.alwaysRestoreSelectedOptionsMulti||this._formControl.value&&this._formControl.value.length)&&this.previousSelectedValues&&Array.isArray(this.previousSelectedValues)){(!r||!Array.isArray(r))&&(r=[]);let n=this.matSelect.options.map(o=>o.value);this.previousSelectedValues.forEach(o=>{!r.some(a=>this.matSelect.compareWith(a,o))&&!n.some(a=>this.matSelect.compareWith(a,o))&&(this.recreateValuesArray?r=[...r,o]:r.push(o),t=!0)})}this.previousSelectedValues=r,t&&this.matSelect._onChange(r)})}updateInputWidth(){if(!this.innerSelectSearch||!this.innerSelectSearch.nativeElement)return;let r=this.innerSelectSearch.nativeElement,t=null;for(;r&&r.parentElement;)if(r=r.parentElement,r.classList.contains("mat-select-panel")){t=r;break}t&&(this.innerSelectSearch.nativeElement.style.width=t.clientWidth+"px")}getOptionsLengthOffset(){return this.matOption?1:0}unselectActiveDescendant(){this.activeDescendant?.removeAttribute("aria-selected"),this.searchSelectInput.nativeElement.removeAttribute("aria-activedescendant")}}return i.\u0275fac=function(r){return new(r||i)(m(bt),m(he),m(fn),m(nt,8),m(_e,8),m(c$,8))},i.\u0275cmp=E({type:i,selectors:[["ngx-mat-select-search"]],contentQueries:function(r,t,n){if(r&1&&(Be(n,s$,5),Be(n,d$,5)),r&2){let o;Q(o=K())&&(t.clearIcon=o.first),Q(o=K())&&(t.noEntriesFound=o.first)}},viewQuery:function(r,t){if(r&1&&(ce(Y6,7,q),ce(Q6,7,q)),r&2){let n;Q(n=K())&&(t.searchSelectInput=n.first),Q(n=K())&&(t.innerSelectSearch=n.first)}},inputs:{placeholderLabel:"placeholderLabel",type:"type",closeIcon:"closeIcon",closeSvgIcon:"closeSvgIcon",noEntriesFoundLabel:"noEntriesFoundLabel",clearSearchInput:"clearSearchInput",searching:"searching",disableInitialFocus:"disableInitialFocus",enableClearOnEscapePressed:"enableClearOnEscapePressed",preventHomeEndKeyPropagation:"preventHomeEndKeyPropagation",disableScrollToActiveOnOptionsChanged:"disableScrollToActiveOnOptionsChanged",ariaLabel:"ariaLabel",showToggleAllCheckbox:"showToggleAllCheckbox",toggleAllCheckboxChecked:"toggleAllCheckboxChecked",toggleAllCheckboxIndeterminate:"toggleAllCheckboxIndeterminate",toggleAllCheckboxTooltipMessage:"toggleAllCheckboxTooltipMessage",toggleAllCheckboxTooltipPosition:"toggleAllCheckboxTooltipPosition",hideClearSearchButton:"hideClearSearchButton",alwaysRestoreSelectedOptionsMulti:"alwaysRestoreSelectedOptionsMulti",recreateValuesArray:"recreateValuesArray"},outputs:{toggleAll:"toggleAll"},features:[Ce([{provide:vn,useExisting:Xt(()=>i),multi:!0}])],ngContentSelectors:Z6,decls:13,vars:14,consts:[["innerSelectSearch",""],["searchSelectInput",""],["defaultIcon",""],["defaultNoEntriesFound",""],["matInput","",1,"mat-select-search-input","mat-select-search-hidden"],[1,"mat-select-search-inner","mat-typography","mat-datepicker-content","mat-tab-header",3,"ngClass"],[1,"mat-select-search-inner-row"],["class","mat-select-search-toggle-all-checkbox","matTooltipClass","ngx-mat-select-search-toggle-all-tooltip",3,"color","checked","indeterminate","matTooltip","matTooltipPosition","change",4,"ngIf"],["autocomplete","off",1,"mat-select-search-input",3,"keydown","keyup","blur","type","formControl","placeholder"],["class","mat-select-search-spinner","diameter","16",4,"ngIf"],["mat-icon-button","","aria-label","Clear","class","mat-select-search-clear",3,"click",4,"ngIf"],["class","mat-select-search-no-entries-found",4,"ngIf"],["matTooltipClass","ngx-mat-select-search-toggle-all-tooltip",1,"mat-select-search-toggle-all-checkbox",3,"change","color","checked","indeterminate","matTooltip","matTooltipPosition"],["diameter","16",1,"mat-select-search-spinner"],["mat-icon-button","","aria-label","Clear",1,"mat-select-search-clear",3,"click"],[4,"ngIf","ngIfElse"],[3,"svgIcon"],[1,"mat-select-search-no-entries-found"]],template:function(r,t){if(r&1){let n=A();He(K6),I(0,"input",4),c(1,"div",5,0)(3,"div",6),x(4,J6,1,5,"mat-checkbox",7),c(5,"input",8,1),b("keydown",function(a){return y(n),w(t._handleKeydown(a))})("keyup",function(a){return y(n),w(t._handleKeyup(a))})("blur",function(){return y(n),w(t.onBlur())}),d(),x(7,e$,1,0,"mat-spinner",9)(8,n$,4,2,"button",10),ae(9),d(),I(10,"mat-divider"),d(),x(11,a$,4,2,"div",11),_t(12,"async")}r&2&&(h(),p("ngClass",cl(11,X6,t.matSelect.multiple,t._isToggleAllCheckboxVisible())),h(3),p("ngIf",t._isToggleAllCheckboxVisible()),h(),p("type",t.type)("formControl",t._formControl)("placeholder",t.placeholderLabel),ie("aria-label",t.ariaLabel),h(2),p("ngIf",t.searching),h(),p("ngIf",!t.hideClearSearchButton&&t.value&&!t.searching),h(3),p("ngIf",Dt(12,9,t._showNoEntriesFound$)))},dependencies:[Sn,me,lt,xe,xy,Qi,zf,Ok,Wf,lr,qf,EI],styles:[".mat-select-search-hidden[_ngcontent-%COMP%]{visibility:hidden}.mat-select-search-inner[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;z-index:100;font-size:inherit;box-shadow:none;background-color:var(--mat-select-panel-background-color)}.mat-select-search-inner.mat-select-search-inner-multiple.mat-select-search-inner-toggle-all[_ngcontent-%COMP%] .mat-select-search-inner-row[_ngcontent-%COMP%]{display:flex;align-items:center}.mat-select-search-input[_ngcontent-%COMP%]{box-sizing:border-box;width:100%;border:none;font-family:inherit;font-size:inherit;color:currentColor;outline:none;background-color:var(--mat-select-panel-background-color);padding:0 44px 0 16px;height:calc(3em - 1px);line-height:calc(3em - 1px)}[dir=rtl][_nghost-%COMP%] .mat-select-search-input[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-input[_ngcontent-%COMP%]{padding-right:16px;padding-left:44px}.mat-select-search-inner-toggle-all[_ngcontent-%COMP%] .mat-select-search-input[_ngcontent-%COMP%]{padding-left:5px}.mat-select-search-no-entries-found[_ngcontent-%COMP%]{padding-top:8px}.mat-select-search-clear[_ngcontent-%COMP%]{position:absolute;right:4px;top:0}[dir=rtl][_nghost-%COMP%] .mat-select-search-clear[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-clear[_ngcontent-%COMP%]{right:auto;left:4px}.mat-select-search-spinner[_ngcontent-%COMP%]{position:absolute;right:16px;top:calc(50% - 8px)}[dir=rtl][_nghost-%COMP%] .mat-select-search-spinner[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-spinner[_ngcontent-%COMP%]{right:auto;left:16px} .mat-mdc-option[aria-disabled=true].contains-mat-select-search{position:sticky;top:-8px;z-index:1;opacity:1;margin-top:-8px;pointer-events:all} .mat-mdc-option[aria-disabled=true].contains-mat-select-search .mat-icon{margin-right:0;margin-left:0} .mat-mdc-option[aria-disabled=true].contains-mat-select-search mat-pseudo-checkbox{display:none} .mat-mdc-option[aria-disabled=true].contains-mat-select-search .mdc-list-item__primary-text{opacity:1}.mat-select-search-toggle-all-checkbox[_ngcontent-%COMP%]{padding-left:5px}[dir=rtl][_nghost-%COMP%] .mat-select-search-toggle-all-checkbox[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-toggle-all-checkbox[_ngcontent-%COMP%]{padding-left:0;padding-right:5px}"],changeDetection:0}),i})();var Vk=(()=>{class i{}return i.\u0275fac=function(r){return new(r||i)},i.\u0275mod=te({type:i}),i.\u0275inj=ee({imports:[Ei,Up,ar,Uf,Rk,Gf,Wl,Yf]}),i})();function h$(i,e){if(i&1){let r=A();c(0,"mat-option")(1,"ngx-mat-select-search",1),b("ngModelChange",function(n){y(r);let o=_();return w(o.changed.emit(n))}),d()()}if(i&2){let r=_();h(),p("placeholderLabel",r.placeholderLabel)("noEntriesFoundLabel",r.noEntriesFoundLabel)}}var hi=(()=>{let e=class e{constructor(){this.placeholderLabel=django.gettext("Filter"),this.noEntriesFoundLabel=django.gettext("No entries found"),this.changed=new T,this.notIfLessThan=7}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=E({type:e,selectors:[["uds-cond-select-search"]],inputs:{placeholderLabel:"placeholderLabel",noEntriesFoundLabel:"noEntriesFoundLabel",options:"options",notIfLessThan:"notIfLessThan"},outputs:{changed:"changed"},decls:1,vars:1,consts:[[4,"ngIf"],["ngModel","",3,"ngModelChange","placeholderLabel","noEntriesFoundLabel"]],template:function(n,o){n&1&&x(0,h$,2,2,"mat-option",0),n&2&&p("ngIf",o.options&&o.options.length>o.notIfLessThan)},dependencies:[me,xe,Se,nt,Lk]});let i=e;return i})();function m$(i,e){i&1&&(c(0,"uds-translate"),g(1,"New user permission for"),d())}function p$(i,e){i&1&&(c(0,"uds-translate"),g(1,"New group permission for"),d())}function f$(i,e){if(i&1&&(c(0,"mat-option",11),g(1),d()),i&2){let r=e.$implicit;p("value",r.id),h(),$e(r.text)}}function g$(i,e){if(i&1&&(c(0,"mat-option",11),g(1),d()),i&2){let r=e.$implicit;p("value",r.id),h(),$e(r.text)}}function _$(i,e){if(i&1&&(c(0,"mat-option",11),g(1),d()),i&2){let r=e.$implicit;p("value",r.id),h(),$e(r.text)}}var jk=(()=>{let e=class e{constructor(t,n,o,a){this.api=t,this.rest=n,this.dialogRef=o,this.data=a,this.filterUser="",this.authenticators=[],this.entities=[],this.permissions=[{id:"1",text:django.gettext("Read only")},{id:"2",text:django.gettext("Full Access")}],this.authenticator="",this.entity="",this.permission="1",this.done=new Jt}static launch(t,n,o){return W(this,null,function*(){let a=window.innerWidth<800?"80%":"50%";return t.gui.dialog.open(e,{width:a,data:{type:n,item:o},disableClose:!0}).componentInstance.done})}ngOnInit(){return W(this,null,function*(){let t=yield this.rest.authenticators.summary();for(let n of t)this.authenticators.push({id:n.id,text:n.name})})}changeAuth(t){return W(this,null,function*(){this.entities.length=0,this.entity="";let n=yield this.rest.authenticators.detail(t,this.data.type+"s").summary();for(let o of n)this.entities.push({id:o.id,text:o.name})})}save(){this.done.resolve({authenticator:this.authenticator,entity:this.entity,permissision:this.permission}),this.dialogRef.close()}cancel(){this.done.resolve(null),this.dialogRef.close()}filteredEntities(){let t=new Array;return this.entities.forEach(n=>{(!this.filterUser||n.text.toLocaleLowerCase().includes(this.filterUser.toLocaleLowerCase()))&&t.push(n)}),t}getFieldLabel(t){return t==="user"?django.gettext("User"):t==="group"?django.gettext("Group"):t==="auth"?django.gettext("Authenticator"):django.gettext("Permission")}};e.\u0275fac=function(n){return new(n||e)(m(B),m(X),m(Ne),m(Ke))},e.\u0275cmp=E({type:e,selectors:[["uds-new-permission"]],decls:24,vars:13,consts:[["titleGroup",""],["mat-dialog-title",""],[4,"ngIf","ngIfElse"],[3,"innerHTML"],[1,"container"],[3,"valueChange","ngModelChange","placeholder","ngModel"],[3,"value",4,"ngFor","ngForOf"],[3,"ngModelChange","placeholder","ngModel"],[3,"changed","options"],["mat-raised-button","","color","warn",3,"click"],["mat-raised-button","","color","primary",3,"click"],[3,"value"]],template:function(n,o){if(n&1){let a=A();c(0,"h4",1),x(1,m$,2,0,"uds-translate",2),I(2,"b",3),x(3,p$,2,0,"ng-template",null,0,fi),d(),c(5,"mat-dialog-content")(6,"div",4)(7,"mat-form-field")(8,"mat-select",5),b("valueChange",function(l){return y(a),w(o.changeAuth(l))}),H("ngModelChange",function(l){return y(a),$(o.authenticator,l)||(o.authenticator=l),w(l)}),x(9,f$,2,2,"mat-option",6),d()(),c(10,"mat-form-field")(11,"mat-select",7),H("ngModelChange",function(l){return y(a),$(o.entity,l)||(o.entity=l),w(l)}),c(12,"uds-cond-select-search",8),b("changed",function(l){return y(a),w(o.filterUser=l)}),d(),x(13,g$,2,2,"mat-option",6),d()(),c(14,"mat-form-field")(15,"mat-select",7),H("ngModelChange",function(l){return y(a),$(o.permission,l)||(o.permission=l),w(l)}),x(16,_$,2,2,"mat-option",6),d()()()(),c(17,"mat-dialog-actions")(18,"button",9),b("click",function(){return y(a),w(o.cancel())}),c(19,"uds-translate"),g(20,"Cancel"),d()(),c(21,"button",10),b("click",function(){return y(a),w(o.save())}),c(22,"uds-translate"),g(23,"Ok"),d()()()}if(n&2){let a=we(4);h(),p("ngIf",o.data.type==="user")("ngIfElse",a),h(),p("innerHTML",o.data.item.name,qt),h(6),p("placeholder",o.getFieldLabel("auth")),U("ngModel",o.authenticator),h(),p("ngForOf",o.authenticators),h(2),p("placeholder",o.getFieldLabel(o.data.type)),U("ngModel",o.entity),h(),p("options",o.entities),h(),p("ngForOf",o.filteredEntities()),h(2),p("placeholder",o.getFieldLabel("perm")),U("ngModel",o.permission),h(),p("ngForOf",o.permissions)}},dependencies:[We,me,xe,Se,ke,Je,tt,et,_e,bt,nt,le,hi],styles:[".container[_ngcontent-%COMP%]{display:flex;flex-direction:column}.container[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{width:100%}.mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}"]});let i=e;return i})();var v$=(i,e)=>[i,e];function b$(i,e){if(i&1){let r=A();c(0,"div",11)(1,"div",12),g(2),d(),c(3,"div",13),g(4),c(5,"a",14),b("click",function(){let n=y(r).$implicit,o=_(2);return w(o.revokePermission(n))}),c(6,"i",15),g(7,"close"),d()()()()}if(i&2){let r=e.$implicit;h(2),Ir(" ",r.entity_name,"@",r.auth_name," "),h(2),F(" ",r.perm_name," \xA0")}}function y$(i,e){if(i&1){let r=A();c(0,"div",7)(1,"div",8)(2,"div",9),b("click",function(n){let o=y(r).$implicit;return _().newPermission(o),w(n.preventDefault())}),c(3,"uds-translate"),g(4,"New permission..."),d()(),x(5,b$,8,3,"div",10),d()()}if(i&2){let r=e.$implicit;h(5),p("ngForOf",r)}}var Bk=(()=>{let e=class e{constructor(t,n,o){this.api=t,this.dialogRef=n,this.data=o,this.userPermissions=[],this.groupPermissions=[]}static launch(t,n,o){let a=window.innerWidth<800?"90%":"60%",s=t.gui.dialog.open(e,{width:a,data:{rest:n,item:o},disableClose:!1})}ngOnInit(){return W(this,null,function*(){yield this.reload()})}reload(){return W(this,null,function*(){let t=yield this.data.rest.getPermissions(this.data.item.id);this.updatePermissions(t)})}updatePermissions(t){this.userPermissions.length=0,this.groupPermissions.length=0;for(let n of t)n.type==="user"?this.userPermissions.push(n):this.groupPermissions.push(n)}revokePermission(t){return W(this,null,function*(){if(yield this.api.gui.questionDialog(django.gettext("Remove"),django.gettext("Confirm revokation of permission")+" "+t.entity_name+"@"+t.auth_name+" "+t.perm_name+"")){let n=yield this.data.rest.revokePermission([t.id]);this.reload()}})}newPermission(t){return W(this,null,function*(){let n=t===this.userPermissions?"user":"group",o=yield jk.launch(this.api,n,this.data.item);o&&(yield this.data.rest.addPermission(this.data.item.id,n+"s",o.entity,o.permissision),this.reload())})}};e.\u0275fac=function(n){return new(n||e)(m(B),m(Ne),m(Ke))},e.\u0275cmp=E({type:e,selectors:[["uds-permissions-form"]],decls:17,vars:5,consts:[["mat-dialog-title",""],[3,"innerHTML"],[1,"titles"],[1,"title"],[1,"permissions"],["class","content",4,"ngFor","ngForOf"],["mat-raised-button","","mat-dialog-close","","color","primary"],[1,"content"],[1,"perms"],[1,"perm","new",3,"click"],["class","perm",4,"ngFor","ngForOf"],[1,"perm"],[1,"owner"],[1,"permission"],[3,"click"],[1,"material-icons"]],template:function(n,o){n&1&&(c(0,"h4",0)(1,"uds-translate"),g(2,"Permissions for"),d(),g(3,"\xA0"),I(4,"b",1),d(),c(5,"mat-dialog-content")(6,"div",2)(7,"uds-translate",3),g(8,"Users"),d(),c(9,"uds-translate",3),g(10,"Groups"),d()(),c(11,"div",4),x(12,y$,6,1,"div",5),d()(),c(13,"mat-dialog-actions")(14,"button",6)(15,"uds-translate"),g(16,"Ok"),d()()()),n&2&&(h(4),p("innerHTML",o.data.item.name,qt),h(8),p("ngForOf",cl(2,v$,o.userPermissions,o.groupPermissions)))},dependencies:[We,ke,Qt,Je,tt,et,le],styles:[".titles[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-around;margin-bottom:.4rem}.title[_ngcontent-%COMP%]{font-size:1.4rem}.permissions[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:flex-start}.perms[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:16rem;overflow-y:auto;border-color:#333;border-radius:1px;box-shadow:#00000024 0 1px 4px;margin-bottom:1rem;margin-right:1rem;padding:.5rem}.perm[_ngcontent-%COMP%]{font-family:Courier New,Courier,monospace;font-size:1.2rem;display:flex;justify-content:space-between;white-space:nowrap;flex-wrap:nowrap;margin-right:.4rem}.perm[_ngcontent-%COMP%]:hover:not(.new){background-color:#333;color:#fff;cursor:default}.owner[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-right:.2rem}.new[_ngcontent-%COMP%]{color:#00f;justify-content:center}.new[_ngcontent-%COMP%]:hover{color:#fff;background-color:#00f;cursor:pointer}.content[_ngcontent-%COMP%]{width:100%;display:flex;flex-direction:column;justify-content:space-between}.material-icons[_ngcontent-%COMP%]{font-size:1em;padding-bottom:1px}.material-icons[_ngcontent-%COMP%]:hover{cursor:pointer;color:red}.mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}"]});let i=e;return i})();var $k=su(Qf()),w$="text/csv",zk=",",Uk=`\r -`,Hk=i=>(i.changingThisBreaksApplicationSecurity!==void 0&&(i=i.changingThisBreaksApplicationSecurity.replace(/<.*>/g,"")),i=""+i,'"'+i.replace('"','""')+'"'),Kf=i=>{let e="";i.columns.forEach(n=>{e+=Hk(n.title)+zk}),e=e.slice(0,-1)+Uk;let r=i.dataSource.data;for(let n of r){for(let o of i.columns){let a=n[o.name];switch(o.type){case gi.DATE:a=$i("SHORT_DATE_FORMAT",a);break;case gi.DATETIME:a=$i("SHORT_DATETIME_FORMAT",a);break;case gi.DATETIMESEC:a=$i("SHORT_DATE_FORMAT",a," H:i:s");break;case gi.TIME:a=$i("TIME_FORMAT",a);break;default:break}e+=Hk(a)+zk}e=e.slice(0,-1)+Uk}let t=new Blob([e],{type:w$});setTimeout(()=>{(0,$k.saveAs)(t,i.title+".csv",{autoBom:!1})})};var ew=class{constructor(e,r){this._document=r;let t=this._textarea=this._document.createElement("textarea"),n=t.style;n.position="fixed",n.top=n.opacity="0",n.left="-999em",t.setAttribute("aria-hidden","true"),t.value=e,t.readOnly=!0,(this._document.fullscreenElement||this._document.body).appendChild(t)}copy(){let e=this._textarea,r=!1;try{if(e){let t=this._document.activeElement;e.select(),e.setSelectionRange(0,e.value.length),r=this._document.execCommand("copy"),t&&t.focus()}}catch{}return r}destroy(){let e=this._textarea;e&&(e.remove(),this._textarea=void 0)}},Wk=(()=>{let e=class e{constructor(t){this._document=t}copy(t){let n=this.beginCopy(t),o=n.copy();return n.destroy(),o}beginCopy(t){return new ew(t,this._document)}};e.\u0275fac=function(n){return new(n||e)(M(se))},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var Gk=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=te({type:e}),e.\u0275inj=ee({});let i=e;return i})();var x$=["mat-menu-item",""],D$=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],S$=["mat-icon, [matMenuItemIcon]","*"];function E$(i,e){i&1&&(pi(),c(0,"svg",2),I(1,"polygon",3),d())}var I$=["*"];function M$(i,e){if(i&1){let r=A();c(0,"div",0),b("keydown",function(n){y(r);let o=_();return w(o._handleKeydown(n))})("click",function(){y(r);let n=_();return w(n.closed.emit("click"))})("@transformMenu.start",function(n){y(r);let o=_();return w(o._onAnimationStart(n))})("@transformMenu.done",function(n){y(r);let o=_();return w(o._onAnimationDone(n))}),c(1,"div",1),ae(2),d()()}if(i&2){let r=_();Yt(r._classList),p("id",r.panelId)("@transformMenu",r._panelAnimationState),ie("aria-label",r.ariaLabel||null)("aria-labelledby",r.ariaLabelledby||null)("aria-describedby",r.ariaDescribedby||null)}}var tw=new R("MAT_MENU_PANEL"),ys=(()=>{let e=class e{constructor(t,n,o,a,s){this._elementRef=t,this._document=n,this._focusMonitor=o,this._parentMenu=a,this._changeDetectorRef=s,this.role="menuitem",this.disabled=!1,this.disableRipple=!1,this._hovered=new G,this._focused=new G,this._highlighted=!1,this._triggersSubmenu=!1,a?.addItem?.(this)}focus(t,n){this._focusMonitor&&t?this._focusMonitor.focusVia(this._getHostElement(),t,n):this._getHostElement().focus(n),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(){let t=this._elementRef.nativeElement.cloneNode(!0),n=t.querySelectorAll("mat-icon, .material-icons");for(let o=0;o{let e=class e{constructor(t,n,o,a,s,l,u){this._template=t,this._componentFactoryResolver=n,this._appRef=o,this._injector=a,this._viewContainerRef=s,this._document=l,this._changeDetectorRef=u,this._attached=new G}attach(t={}){this._portal||(this._portal=new Oi(this._template,this._viewContainerRef)),this.detach(),this._outlet||(this._outlet=new Tl(this._document.createElement("div"),this._componentFactoryResolver,this._appRef,this._injector));let n=this._template.elementRef.nativeElement;n.parentNode.insertBefore(this._outlet.outletElement,n),this._changeDetectorRef?.markForCheck(),this._portal.attach(this._outlet,t),this._attached.next()}detach(){this._portal.isAttached&&this._portal.detach()}ngOnDestroy(){this._outlet&&this._outlet.dispose()}};e.\u0275fac=function(n){return new(n||e)(m(dt),m(wn),m(Ln),m(Pe),m(Ct),m(se),m(he))},e.\u0275dir=L({type:e,selectors:[["ng-template","matMenuContent",""]],standalone:!0,features:[Ce([{provide:Yk,useExisting:e}])]});let i=e;return i})(),Zf={transformMenu:ui("transformMenu",[Lt("void",Me({opacity:0,transform:"scale(0.8)"})),St("void => enter",Mt("120ms cubic-bezier(0, 0, 0.2, 1)",Me({opacity:1,transform:"scale(1)"}))),St("* => void",Mt("100ms 25ms linear",Me({opacity:0})))]),fadeInItems:ui("fadeInItems",[Lt("showing",Me({opacity:1})),St("void => *",[Me({opacity:0}),Mt("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Efe=Zf.fadeInItems,Ife=Zf.transformMenu,T$=0,k$=new R("mat-menu-default-options",{providedIn:"root",factory:A$});function A$(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}var ka=(()=>{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 n=this._previousPanelClass,o=j({},this._classList);n&&n.length&&n.split(" ").forEach(a=>{o[a]=!1}),this._previousPanelClass=t,t&&t.length&&(t.split(" ").forEach(a=>{o[a]=!0}),this._elementRef.nativeElement.className=""),this._classList=o}get classList(){return this.panelClass}set classList(t){this.panelClass=t}constructor(t,n,o,a){this._elementRef=t,this._changeDetectorRef=a,this._elevationPrefix="mat-elevation-z",this._baseElevation=null,this._directDescendantItems=new eo,this._classList={},this._panelAnimationState="void",this._animationDone=new G,this.closed=new T,this.close=this.closed,this.panelId=`mat-menu-panel-${T$++}`,this._injector=k(Pe),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 _a(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(Rt(this._directDescendantItems),Tt(t=>wt(...t.map(n=>n._focused)))).subscribe(t=>this._keyManager.updateActiveItem(t)),this._directDescendantItems.changes.subscribe(t=>{let n=this._keyManager;if(this._panelAnimationState==="enter"&&n.activeItem?._hasFocus()){let o=t.toArray(),a=Math.max(0,Math.min(o.length-1,n.activeItemIndex||0));o[a]&&!o[a].disabled?n.setActiveItem(a):n.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusRef?.destroy()}_hovered(){return this._directDescendantItems.changes.pipe(Rt(this._directDescendantItems),Tt(n=>wt(...n.map(o=>o._hovered))))}addItem(t){}removeItem(t){}_handleKeydown(t){let n=t.keyCode,o=this._keyManager;switch(n){case 27:Pt(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:(n===38||n===40)&&o.setFocusOrigin("keyboard"),o.onKeydown(t);return}t.stopPropagation()}focusFirstItem(t="program"){this._firstItemFocusRef?.destroy(),this._firstItemFocusRef=ai(()=>{let n=null;if(this._directDescendantItems.length&&(n=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!n||!n.contains(document.activeElement)){let o=this._keyManager;o.setFocusOrigin(t).setFirstItemActive(),!o.activeItem&&n&&n.focus()}},{injector:this._injector})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(t){if(this._baseElevation===null){let l=(typeof getComputedStyle=="function"?getComputedStyle(this._elementRef.nativeElement):null)?.getPropertyValue("--mat-menu-base-elevation-level")||"8";this._baseElevation=parseInt(l)}let n=Math.min(this._baseElevation+t,24),o=`${this._elevationPrefix}${n}`,a=Object.keys(this._classList).find(s=>s.startsWith(this._elevationPrefix));if(!a||a===this._previousElevation){let s=j({},this._classList);this._previousElevation&&(s[this._previousElevation]=!1),s[o]=!0,this._previousElevation=o,this._classList=s}}setPositionClasses(t=this.xPosition,n=this.yPosition){this._classList=rt(j({},this._classList),{"mat-menu-before":t==="before","mat-menu-after":t==="after","mat-menu-above":n==="above","mat-menu-below":n==="below"}),this._changeDetectorRef?.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(Rt(this._allItems)).subscribe(t=>{this._directDescendantItems.reset(t.filter(n=>n._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}};e.\u0275fac=function(n){return new(n||e)(m(q),m(Z),m(k$),m(he))},e.\u0275cmp=E({type:e,selectors:[["mat-menu"]],contentQueries:function(n,o,a){if(n&1&&(Be(a,Yk,5),Be(a,ys,5),Be(a,ys,4)),n&2){let s;Q(s=K())&&(o.lazyContent=s.first),Q(s=K())&&(o._allItems=s),Q(s=K())&&(o.items=s)}},viewQuery:function(n,o){if(n&1&&ce(dt,5),n&2){let a;Q(a=K())&&(o.templateRef=a.first)}},hostVars:3,hostBindings:function(n,o){n&2&&ie("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",Y],hasBackdrop:[2,"hasBackdrop","hasBackdrop",t=>t==null?null:Y(t)],panelClass:[0,"class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],standalone:!0,features:[Ce([{provide:tw,useExisting:e}]),ge,re],ngContentSelectors:I$,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(n,o){n&1&&(He(),x(0,M$,3,7,"ng-template"))},styles:['mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;outline:0}.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, var(--mat-app-label-large-font));line-height:var(--mat-menu-item-label-text-line-height, var(--mat-app-label-large-line-height));font-size:var(--mat-menu-item-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mat-menu-item-label-text-tracking, var(--mat-app-label-large-tracking));font-weight:var(--mat-menu-item-label-text-weight, var(--mat-app-label-large-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, var(--mat-app-corner-extra-small));background-color:var(--mat-menu-container-color, var(--mat-app-surface-container));will-change:transform,opacity}.mat-mdc-menu-panel.ng-animating{pointer-events:none}.mat-mdc-menu-panel.ng-animating:has(.mat-mdc-menu-content:empty){display:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-mdc-menu-panel .mat-divider{color:var(--mat-menu-divider-color, var(--mat-app-surface-variant));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;min-height:48px}[dir=rtl] .mat-mdc-menu-item{padding-right:var(--mat-menu-item-leading-spacing);padding-left:var(--mat-menu-item-trailing-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]){padding-right:var(--mat-menu-item-with-icon-leading-spacing);padding-left:var(--mat-menu-item-with-icon-trailing-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, var(--mat-app-on-surface))}.mat-mdc-menu-item .mat-icon-no-color,.mat-mdc-menu-item .mat-mdc-menu-submenu-icon{color:var(--mat-menu-item-icon-color, var(--mat-app-on-surface-variant))}.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:focus{outline: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);transform-origin:center}.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:[Zf.transformMenu,Zf.fadeInItems]},changeDetection:0});let i=e;return i})(),Kk=new R("mat-menu-scroll-strategy",{providedIn:"root",factory:()=>{let i=k(xt);return()=>i.scrollStrategies.reposition()}});function O$(i){return()=>i.scrollStrategies.reposition()}var R$={provide:Kk,deps:[xt],useFactory:O$},qk=Ui({passive:!0});var Xf=(()=>{let e=class e{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(t){this.menu=t}get menu(){return this._menu}set menu(t){t!==this._menu&&(this._menu=t,this._menuCloseSubscription.unsubscribe(),t&&(this._parentMaterialMenu,this._menuCloseSubscription=t.close.subscribe(n=>{this._destroyMenu(n),(n==="click"||n==="tab")&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(n)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(t,n,o,a,s,l,u,f,v){this._overlay=t,this._element=n,this._viewContainerRef=o,this._menuItemInstance=l,this._dir=u,this._focusMonitor=f,this._ngZone=v,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=ve.EMPTY,this._hoverSubscription=ve.EMPTY,this._menuCloseSubscription=ve.EMPTY,this._changeDetectorRef=k(he),this._handleTouchStart=C=>{Sd(C)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new T,this.onMenuOpen=this.menuOpened,this.menuClosed=new T,this.onMenuClose=this.menuClosed,this._scrollStrategy=a,this._parentMaterialMenu=s instanceof ka?s:void 0,n.nativeElement.addEventListener("touchstart",this._handleTouchStart,qk)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,qk),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 n=this._createOverlay(t),o=n.getConfig(),a=o.positionStrategy;this._setPosition(t,a),o.hasBackdrop=t.hasBackdrop==null?!this.triggersSubmenu():t.hasBackdrop,n.attach(this._getPortal(t)),t.lazyContent&&t.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(t),t instanceof ka&&(t._startAnimation(),t._directDescendantItems.changes.pipe(fe(t.close)).subscribe(()=>{a.withLockedPosition(!1).reapplyLastPosition(),a.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(t,n){this._focusMonitor&&t?this._focusMonitor.focusVia(this._element,t,n):this._element.nativeElement.focus(n)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(t){if(!this._overlayRef||!this.menuOpen)return;let n=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&(t==="keydown"||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,n instanceof ka?(n._resetAnimation(),n.lazyContent?n._animationDone.pipe(Ye(o=>o.toState==="void"),Ot(1),fe(n.lazyContent._attached)).subscribe({next:()=>n.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),n?.lazyContent?.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 n=0,o=t.parentMenu;for(;o;)n++,o=o.parentMenu;t.setElevation(n)}}_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 n=this._getOverlayConfig(t);this._subscribeToPositions(t,n.positionStrategy),this._overlayRef=this._overlay.create(n),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(t){return new Mn({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,n){t.setPositionClasses&&n.positionChanges.subscribe(o=>{let a=o.connectionPair.overlayX==="start"?"after":"before",s=o.connectionPair.overlayY==="top"?"below":"above";this._ngZone?this._ngZone.run(()=>t.setPositionClasses(a,s)):t.setPositionClasses(a,s)})}_setPosition(t,n){let[o,a]=t.xPosition==="before"?["end","start"]:["start","end"],[s,l]=t.yPosition==="above"?["bottom","top"]:["top","bottom"],[u,f]=[s,l],[v,C]=[o,a],D=0;if(this.triggersSubmenu()){if(C=o=t.xPosition==="before"?"start":"end",a=v=o==="end"?"start":"end",this._parentMaterialMenu){if(this._parentInnerPadding==null){let S=this._parentMaterialMenu.items.first;this._parentInnerPadding=S?S._getHostElement().offsetTop:0}D=s==="bottom"?this._parentInnerPadding:-this._parentInnerPadding}}else t.overlapTrigger||(u=s==="top"?"bottom":"top",f=l==="top"?"bottom":"top");n.withPositions([{originX:o,originY:u,overlayX:v,overlayY:s,offsetY:D},{originX:a,originY:u,overlayX:C,overlayY:s,offsetY:D},{originX:o,originY:f,overlayX:v,overlayY:l,offsetY:-D},{originX:a,originY:f,overlayX:C,overlayY:l,offsetY:-D}])}_menuClosingActions(){let t=this._overlayRef.backdropClick(),n=this._overlayRef.detachments(),o=this._parentMaterialMenu?this._parentMaterialMenu.closed:oe(),a=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(Ye(s=>s!==this._menuItemInstance),Ye(()=>this._menuOpen)):oe();return wt(t,o,a,n)}_handleMousedown(t){Dd(t)||(this._openedBy=t.button===0?"mouse":void 0,this.triggersSubmenu()&&t.preventDefault())}_handleKeydown(t){let n=t.keyCode;(n===13||n===32)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(n===39&&this.dir==="ltr"||n===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(Ye(t=>t===this._menuItemInstance&&!t.disabled),Qr(0,dc)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof ka&&this.menu._isAnimating?this.menu._animationDone.pipe(Ot(1),Qr(0,dc),fe(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(t){return(!this._portal||this._portal.templateRef!==t.templateRef)&&(this._portal=new Oi(t.templateRef,this._viewContainerRef)),this._portal}};e.\u0275fac=function(n){return new(n||e)(m(xt),m(q),m(Ct),m(Kk),m(tw,8),m(ys,10),m(Nt,8),m(Di),m(Z))},e.\u0275dir=L({type:e,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],hostVars:3,hostBindings:function(n,o){n&1&&b("click",function(s){return o._handleClick(s)})("mousedown",function(s){return o._handleMousedown(s)})("keydown",function(s){return o._handleKeydown(s)}),n&2&&ie("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 i=e;return i})(),Zk=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=te({type:e}),e.\u0275inj=ee({providers:[R$],imports:[Ei,Lr,pe,an,so,pe]});let i=e;return i})();var Jk=Ui({passive:!0}),eA=(()=>{let e=class e{constructor(t,n){this._platform=t,this._ngZone=n,this._monitoredElements=new Map}monitor(t){if(!this._platform.isBrowser)return Ai;let n=En(t),o=this._monitoredElements.get(n);if(o)return o.subject;let a=new G,s="cdk-text-field-autofilled",l=u=>{u.animationName==="cdk-text-field-autofill-start"&&!n.classList.contains(s)?(n.classList.add(s),this._ngZone.run(()=>a.next({target:u.target,isAutofilled:!0}))):u.animationName==="cdk-text-field-autofill-end"&&n.classList.contains(s)&&(n.classList.remove(s),this._ngZone.run(()=>a.next({target:u.target,isAutofilled:!1})))};return this._ngZone.runOutsideAngular(()=>{n.addEventListener("animationstart",l,Jk),n.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(n,{subject:a,unlisten:()=>{n.removeEventListener("animationstart",l,Jk)}}),a}stopMonitoring(t){let n=En(t),o=this._monitoredElements.get(n);o&&(o.unlisten(),o.subject.complete(),n.classList.remove("cdk-text-field-autofill-monitored"),n.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(n))}ngOnDestroy(){this._monitoredElements.forEach((t,n)=>this.stopMonitoring(n))}};e.\u0275fac=function(n){return new(n||e)(M(Ve),M(Z))},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var tA=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=te({type:e}),e.\u0275inj=ee({});let i=e;return i})();var iw=new R("MAT_INPUT_VALUE_ACCESSOR"),F$=["button","checkbox","file","hidden","image","radio","range","reset","submit"],N$=0,ft=(()=>{let e=class e{get disabled(){return this._disabled}set disabled(t){this._disabled=Bn(t),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(t){this._id=t||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(sr.required)??!1}set required(t){this._required=Bn(t)}get type(){return this._type}set type(t){this._type=t||"text",this._validateType(),!this._isTextarea&&j0().has(this._type)&&(this._elementRef.nativeElement.type=this._type),this._ensureWheelDefaultBehavior()}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=Bn(t)}get errorState(){return this._errorStateTracker.errorState}set errorState(t){this._errorStateTracker.errorState=t}constructor(t,n,o,a,s,l,u,f,v,C){this._elementRef=t,this._platform=n,this.ngControl=o,this._autofillMonitor=f,this._ngZone=v,this._formField=C,this._uid=`mat-input-${N$++}`,this._webkitBlinkWheelListenerAttached=!1,this.focused=!1,this.stateChanges=new G,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(P=>j0().has(P)),this._iOSKeyupListener=P=>{let z=P.target;!z.value&&z.selectionStart===0&&z.selectionEnd===0&&(z.setSelectionRange(1,1),z.setSelectionRange(0,0))},this._webkitBlinkWheelListener=()=>{};let D=this._elementRef.nativeElement,S=D.nodeName.toLowerCase();this._inputValueAccessor=u||D,this._previousNativeValue=this.value,this.id=this.id,n.IOS&&v.runOutsideAngular(()=>{t.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._errorStateTracker=new Fr(l,o,s,a,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect=S==="select",this._isTextarea=S==="textarea",this._isInFormField=!!C,this._isNativeSelect&&(this.controlType=D.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),this._webkitBlinkWheelListenerAttached&&this._elementRef.nativeElement.removeEventListener("wheel",this._webkitBlinkWheelListener)}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 n=this._elementRef.nativeElement;this._previousPlaceholder=t,t?n.setAttribute("placeholder",t):n.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){F$.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,n=t.options[0];return this.focused||t.multiple||!this.empty||!!(t.selectedIndex>-1&&n&&n.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)}_ensureWheelDefaultBehavior(){!this._webkitBlinkWheelListenerAttached&&this._type==="number"&&(this._platform.BLINK||this._platform.WEBKIT)&&(this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("wheel",this._webkitBlinkWheelListener)}),this._webkitBlinkWheelListenerAttached=!0),this._webkitBlinkWheelListenerAttached&&this._type!=="number"&&(this._elementRef.nativeElement.removeEventListener("wheel",this._webkitBlinkWheelListener),this._webkitBlinkWheelListenerAttached=!0)}};e.\u0275fac=function(n){return new(n||e)(m(q),m(Ve),m(kn,10),m(Oo,8),m(gs,8),m(Nr),m(iw,10),m(eA),m(Z),m(Ro,8))},e.\u0275dir=L({type:e,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(n,o){n&1&&b("focus",function(){return o._focusChanged(!0)})("blur",function(){return o._focusChanged(!1)})("input",function(){return o._onInput()}),n&2&&(Si("id",o.id)("disabled",o.disabled)("required",o.required),ie("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),ne("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:[Ce([{provide:Ia,useExisting:e}]),Qe]});let i=e;return i})(),iA=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=te({type:e}),e.\u0275inj=ee({imports:[pe,vs,vs,tA,pe]});let i=e;return i})();var nA=(()=>{let e=class e{transform(t){return my(t)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275pipe=Qo({name:"isEmpty",type:e,pure:!0});let i=e;return i})(),yi=(()=>{let e=class e{transform(t){return!my(t)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275pipe=Qo({name:"notEmpty",type:e,pure:!0});let i=e;return i})();var oA=(()=>{let e=class e{transform(t,n){let o;return n===void 0?o=(a,s)=>a>s?1:-1:o=(a,s)=>a[n]>s[n]?1:-1,t.sort(o)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275pipe=Qo({name:"sort",type:e,pure:!0});let i=e;return i})();var V$=["trigger"],j$=()=>[5,10,25,100,1e3];function B$(i,e){if(i&1&&I(0,"img",39),i&2){let r=_();p("src",r.icon,Ie)}}function z$(i,e){if(i&1){let r=A();c(0,"button",47),b("click",function(){let n=y(r).$implicit,o=_(5);return w(o.newAction.emit({param:n,table:o}))}),d()}if(i&2){let r=e.$implicit,t=_(5);p("innerHTML",t.api.safeString(t.api.gui.icon(r.icon)+r.name),qt)}}function U$(i,e){if(i&1&&(mt(0),c(1,"button",44),g(2),d(),c(3,"mat-menu",45,3),x(5,z$,1,1,"button",46),_t(6,"sort"),d(),pt()),i&2){let r=e.$implicit,t=we(4);h(),p("matMenuTriggerFor",t),h(),$e(r.key),h(),p("overlapTrigger",!1),h(2),p("ngForOf",bb(6,4,r.value,"name"))}}function H$(i,e){if(i&1&&(mt(0),c(1,"mat-menu",40,2),x(3,U$,7,7,"ng-container",41),_t(4,"keyvalue"),d(),c(5,"a",42)(6,"i",22),g(7,"insert_drive_file"),d(),c(8,"span",43)(9,"uds-translate"),g(10,"New"),d()(),c(11,"i",22),g(12,"arrow_drop_down"),d()(),pt()),i&2){let r=we(2),t=_(3);h(),p("overlapTrigger",!1),h(2),p("ngForOf",Dt(4,3,t.grpTypes)),h(2),p("matMenuTriggerFor",r)}}function $$(i,e){if(i&1){let r=A();c(0,"button",49),b("click",function(){let n=y(r).$implicit,o=_(4);return w(o.newAction.emit({param:n,table:o}))}),d()}if(i&2){let r=e.$implicit,t=_(4);p("innerHTML",t.api.safeString(t.api.gui.icon(r.icon)+r.name),qt)}}function W$(i,e){if(i&1&&(mt(0),c(1,"mat-menu",40,2),x(3,$$,1,1,"button",48),_t(4,"sort"),d(),c(5,"a",42)(6,"i",22),g(7,"insert_drive_file"),d(),c(8,"span",43)(9,"uds-translate"),g(10,"New"),d()(),c(11,"i",22),g(12,"arrow_drop_down"),d()(),pt()),i&2){let r=we(2),t=_(3);h(),p("overlapTrigger",!1),h(2),p("ngForOf",bb(4,3,t.oTypes,"name")),h(2),p("matMenuTriggerFor",r)}}function G$(i,e){if(i&1&&(mt(0),x(1,H$,13,5,"ng-container",13)(2,W$,13,6,"ng-container",13),pt()),i&2){let r=_(2);h(),p("ngIf",r.newGrouped),h(),p("ngIf",!r.newGrouped)}}function q$(i,e){if(i&1){let r=A();mt(0),c(1,"a",50),b("click",function(){y(r);let n=_(2);return w(n.newAction.emit({param:void 0,table:n}))}),c(2,"i",22),g(3,"insert_drive_file"),d(),c(4,"span",43)(5,"uds-translate"),g(6,"New"),d()()(),pt()}}function Y$(i,e){if(i&1&&(mt(0),x(1,G$,3,2,"ng-container",13)(2,q$,7,0,"ng-container",13),pt()),i&2){let r=_();h(),p("ngIf",r.oTypes!==void 0&&r.oTypes.length!==0),h(),p("ngIf",r.oTypes!==void 0&&r.oTypes.length===0)}}function Q$(i,e){if(i&1){let r=A();mt(0),c(1,"a",51),b("click",function(){y(r);let n=_();return w(n.emitIfSelection(n.editAction))}),c(2,"i",22),g(3,"edit"),d(),c(4,"span",43)(5,"uds-translate"),g(6,"Edit"),d()()(),pt()}if(i&2){let r=_();h(),p("disabled",r.selection.selected.length!==1)}}function K$(i,e){if(i&1){let r=A();mt(0),c(1,"a",51),b("click",function(){y(r);let n=_();return w(n.permissions())}),c(2,"i",22),g(3,"perm_identity"),d(),c(4,"span",43)(5,"uds-translate"),g(6,"Permissions"),d()()(),pt()}if(i&2){let r=_();h(),p("disabled",r.selection.selected.length!==1)}}function Z$(i,e){if(i&1){let r=A();c(0,"a",53),b("click",function(){let n=y(r).$implicit,o=_(2);return w(o.emitCustom(n))}),d()}if(i&2){let r=e.$implicit,t=_(2);p("disabled",t.isCustomDisabled(r))("innerHTML",r.html,qt)}}function X$(i,e){if(i&1&&(mt(0),x(1,Z$,1,2,"a",52),pt()),i&2){let r=_();h(),p("ngForOf",r.getcustomButtons())}}function J$(i,e){if(i&1){let r=A();mt(0),c(1,"a",54),b("click",function(){y(r);let n=_();return w(n.export())}),c(2,"i",22),g(3,"import_export"),d(),c(4,"span",43)(5,"uds-translate"),g(6,"Export CSV"),d()()(),pt()}}function eW(i,e){if(i&1){let r=A();mt(0),c(1,"a",55),b("click",function(){y(r);let n=_();return w(n.emitIfSelection(n.deleteAction,!0))}),c(2,"i",22),g(3,"delete_forever"),d(),c(4,"span",43)(5,"uds-translate"),g(6,"Delete"),d()()(),pt()}if(i&2){let r=_();h(),p("disabled",r.selection.isEmpty())}}function tW(i,e){if(i&1){let r=A();c(0,"button",56),b("click",function(){y(r);let n=_();return n.filterText="",w(n.applyFilter())}),c(1,"i",22),g(2,"clear"),d()()}}function iW(i,e){i&1&&I(0,"mat-header-cell")}function nW(i,e){i&1&&(c(0,"i",61),g(1,"check_box"),d())}function oW(i,e){i&1&&(c(0,"i",62),g(1,"check_box_outline_blank"),d())}function rW(i,e){if(i&1){let r=A();c(0,"mat-cell",59),b("click",function(n){let o=y(r).$implicit,a=_(2);return w(a.clickRow(o,n))}),x(1,nW,2,0,"i",60)(2,oW,2,0,"ng-template",null,4,fi),d()}if(i&2){let r=e.$implicit,t=we(3),n=_(2);h(),p("ngIf",n.selection.isSelected(r))("ngIfElse",t)}}function aW(i,e){i&1&&(mt(0,57),x(1,iW,1,0,"mat-header-cell",27)(2,rW,4,2,"mat-cell",58),pt())}function sW(i,e){i&1&&I(0,"mat-header-cell")}function lW(i,e){if(i&1){let r=A();c(0,"mat-cell")(1,"div",63),b("click",function(n){let o=y(r).$implicit,a=_();return a.detailAction.emit({param:o,table:a}),w(n.stopPropagation())}),c(2,"i",22),g(3,"subdirectory_arrow_right"),d()()()}}function cW(i,e){if(i&1&&(c(0,"mat-header-cell",67),g(1),d()),i&2){let r=_().$implicit;h(),$e(r.title)}}function dW(i,e){if(i&1){let r=A();c(0,"mat-cell",68),b("click",function(n){let o=y(r).$implicit,a=_(2);return w(a.clickRow(o,n))})("contextmenu",function(n){let o=y(r).$implicit,a=_().$implicit,s=_();return w(s.onContextMenu(o,a,n))}),I(1,"div",69),d()}if(i&2){let r=e.$implicit,t=_().$implicit,n=_();h(),p("innerHtml",n.getRowColumn(r,t),qt)}}function uW(i,e){if(i&1&&(mt(0,64),x(1,cW,2,1,"mat-header-cell",65)(2,dW,2,1,"mat-cell",66),pt()),i&2){let r=e.$implicit;sa("matColumnDef",r.name)}}function hW(i,e){i&1&&I(0,"mat-header-row")}function mW(i,e){if(i&1&&I(0,"mat-row",70),i&2){let r=e.$implicit,t=_();p("ngClass",t.rowClass(r))}}function pW(i,e){if(i&1&&(c(0,"div",71),g(1),c(2,"uds-translate"),g(3,"Selected items"),d()()),i&2){let r=_();h(),F(" ",r.selection.selected.length," ")}}function fW(i,e){if(i&1){let r=A();c(0,"button",75),b("click",function(){y(r);let n=_(2);return w(n.copyToClipboard())}),c(1,"i",76),g(2,"content_copy"),d(),c(3,"uds-translate"),g(4,"Copy"),d()()}}function gW(i,e){if(i&1){let r=A();c(0,"button",75),b("click",function(){y(r);let n=_().item,o=_();return w(o.detailAction.emit({param:n,table:o}))}),c(1,"i",76),g(2,"subdirectory_arrow_right"),d(),c(3,"uds-translate"),g(4,"Detail"),d()()}}function _W(i,e){if(i&1){let r=A();c(0,"button",75),b("click",function(){y(r);let n=_(2);return w(n.emitIfSelection(n.editAction))}),c(1,"i",76),g(2,"edit"),d(),c(3,"uds-translate"),g(4,"Edit"),d()()}}function vW(i,e){if(i&1){let r=A();c(0,"button",75),b("click",function(){y(r);let n=_(2);return w(n.permissions())}),c(1,"i",76),g(2,"perm_identity"),d(),c(3,"uds-translate"),g(4,"Permissions"),d()()}}function bW(i,e){if(i&1){let r=A();c(0,"button",77),b("click",function(){let n=y(r).$implicit,o=_(2);return w(o.emitCustom(n))}),d()}if(i&2){let r=e.$implicit,t=_(2);p("disabled",t.isCustomDisabled(r))("innerHTML",r.html,qt)}}function yW(i,e){if(i&1){let r=A();c(0,"button",78),b("click",function(){y(r);let n=_(2);return w(n.emitIfSelection(n.deleteAction))}),c(1,"i",76),g(2,"delete_forever"),d(),c(3,"uds-translate"),g(4,"Delete"),d()()}}function wW(i,e){if(i&1){let r=A();c(0,"button",77),b("click",function(){let n=y(r).$implicit,o=_(3);return w(o.emitCustom(n))}),d()}if(i&2){let r=e.$implicit,t=_(3);p("disabled",t.isCustomDisabled(r))("innerHTML",r.html,qt)}}function CW(i,e){if(i&1&&(mt(0),I(1,"mat-divider"),x(2,wW,1,2,"button",73),pt()),i&2){let r=_(2);h(2),p("ngForOf",r.getCustomAccelerators())}}function xW(i,e){if(i&1&&x(0,fW,5,0,"button",72)(1,gW,5,0,"button",72)(2,_W,5,0,"button",72)(3,vW,5,0,"button",72)(4,bW,1,2,"button",73)(5,yW,5,0,"button",74)(6,CW,3,1,"ng-container",13),i&2){let r=_();p("ngIf",r.allowCopy===!0),h(),p("ngIf",r.detailAction.observed),h(),p("ngIf",r.editAction.observed),h(),p("ngIf",r.hasPermissions===!0),h(),p("ngForOf",r.getCustomMenu()),h(),p("ngIf",r.deleteAction.observed),h(),p("ngIf",r.hasAccelerators)}}var Te=(()=>{let e=class e{constructor(t,n){this.api=t,this.clipboard=n,this.contextMenu={},this.paginator={},this.sort={},this.rest={},this.tableId="",this.pageSize=10,this.newGrouped=!1,this.allowCopy=!0,this.loaded=new T,this.rowSelected=new T,this.newAction=new T,this.editAction=new T,this.deleteAction=new T,this.customButtonAction=new T,this.detailAction=new T,this.title="",this.subtitle="",this.displayedColumns=[],this.columns=[],this.types=new Map,this.oTypes=[],this.grpTypes=new Map,this.rowStyleInfo=null,this.selection=new Rr(!0,[]),this.lastSel=null,this.dataSource=new Yl([]),this.firstLoad=!0,this.loading=!1,this.lastClickInfo={time:0,x:-1e4,y:-1e4},this.clipValue="",this.contextMenuPosition={x:"0px",y:"0px"},this.filterText="",this.hasCustomButtons=!1,this.hasButtons=!1,this.hasActions=!1,this.hasAccelerators=!1}ngOnInit(){return W(this,null,function*(){this.customButtons===void 0||this.customButtons.length===0||!this.customButtonAction.observed?this.hasCustomButtons=!1:this.hasCustomButtons=!0,this.hasAccelerators=this.getCustomAccelerators().length>0,this.hasButtons=this.hasCustomButtons||this.detailAction.observed||this.editAction.observed||this.hasPermissions||this.deleteAction.observed,this.hasActions=this.hasButtons||this.customButtons!==void 0&&this.customButtons.length>0,this.tableId=this.tableId||this.rest.id,this.dataSource.paginator=this.paginator,this.dataSource.sort=this.sort,this.dataSource.sortingDataAccessor=(a,s)=>{if(!(s in a))return"";let l=a[s];return typeof l=="number"?l:typeof l=="string"?l.toLocaleLowerCase():(l===null&&(l=7226578800),l.changingThisBreaksApplicationSecurity&&(l=l.changingThisBreaksApplicationSecurity),(""+l).replace(/<(span|\/span)[^>]*>/g,"").toLocaleLowerCase())},this.dataSource.filterPredicate=(a,s)=>{try{this.columns.forEach(l=>{if((""+a[l.name]).replace(/<(span|\/span)[^>]*>/g,"").toLocaleLowerCase().includes(s))throw Error()})}catch{return!0}return!1},this.dataSource.sort.active=this.api.getFromStorage(this.tableId+"sort-column")||"name",this.dataSource.sort.direction=this.api.getFromStorage(this.tableId+"sort-direction")||"asc",this.filterText=this.api.getFromStorage(this.tableId+"filterValue")||"",this.applyFilter(),this.selection=new Rr(this.multiSelect===!0,[]);let t=this.rest.permision();t&Vr.MANAGEMENT||(this.newAction.unsubscribe(),this.editAction.unsubscribe(),this.deleteAction.unsubscribe(),this.customButtonAction.unsubscribe()),t!==Vr.ALL&&(this.hasPermissions=!1),this.icon!==void 0&&(this.icon=this.api.staticURL("admin/img/icons/"+this.icon+".png"));let n=yield this.rest.types(),o=yield this.rest.tableInfo();yield this.initialize(o,n)})}initialize(t,n){return W(this,null,function*(){this.oTypes=n,this.types=new Map,this.grpTypes=new Map;for(let a of n)if(this.types.set(a.type,a),a.group!==void 0){this.grpTypes.has(a.group)||this.grpTypes.set(a.group,[]);let s=this.grpTypes.get(a.group);s!==void 0&&s.push(a)}t["row-style"]!==void 0&&t["row-style"].field!==void 0?this.rowStyleInfo=t["row-style"]:this.rowStyleInfo=null,this.title=t.title,this.subtitle=t.subtitle||"",this.hasButtons&&this.displayedColumns.push("selection-column");let o=[];for(let a of t.fields)for(let s in a)if(a.hasOwnProperty(s)){let l=a[s];o.push({name:s,title:l.title,type:l.type===void 0?gi.ALPHANUMERIC:l.type,dict:l.dict}),(l.visible===void 0||l.visible)&&this.displayedColumns.push(s)}this.columns=o,this.detailAction.observed&&this.displayedColumns.push("detail-column"),yield this.overview()})}overview(){return W(this,null,function*(){if(!this.loading){this.selection.clear(),this.dataSource.data=[],this.loading=!0;try{let t=yield this.rest.overview();if(this.onItem)for(let n of t)this.onItem(n);this.dataSource.data=t,this.loaded.emit({param:this.firstLoad,table:this}),this.firstLoad=!1}finally{this.loading=!1}}})}getcustomButtons(){return this.customButtons?this.customButtons.filter(t=>t.type!==ct.ONLY_MENU&&t.type!==ct.ACCELERATOR):[]}getCustomMenu(){return this.customButtons?this.customButtons.filter(t=>t.type!==ct.ACCELERATOR):[]}getCustomAccelerators(){return this.customButtons?this.customButtons.filter(t=>t.type===ct.ACCELERATOR):[]}getRowColumn(t,n){let o=t[n.name];switch(n.type){case gi.IMAGE:return this.api.safeString(this.api.gui.icon(o,"48px"));case gi.DATE:o=$i("SHORT_DATE_FORMAT",o);break;case gi.DATETIME:o=$i("SHORT_DATETIME_FORMAT",o);break;case gi.TIME:o=$i("TIME_FORMAT",o);break;case gi.DATETIMESEC:o=$i("SHORT_DATE_FORMAT",o," H:i:s");break;case gi.ICON:try{o=this.api.gui.icon(this.types.get(t.type).icon)+o}catch{}return this.api.safeString(o);case gi.CALLBACK:break;case gi.DICTIONARY:try{o=n.dict[o]}catch{o=""}break}return o}applyFilter(){this.api.putOnStorage(this.tableId+"filterValue",this.filterText),this.dataSource.filter=this.filterText.trim().toLowerCase()}sortChanged(t){this.api.putOnStorage(this.tableId+"sort-column",t.active),this.api.putOnStorage(this.tableId+"sort-direction",t.direction)}copyToClipboard(){this.clipboard.copy(this.clipValue||"")}rowClass(t){let n=[];return this.selection.isSelected(t)&&n.push("selected"),this.rowStyleInfo!==null&&n.push(this.rowStyleInfo.prefix+t[this.rowStyleInfo.field]),n}emitIfSelection(t,n=!1){let o=this.selection.selected.length;o>0&&(n===!0||o===1)&&t.emit({table:this,param:o})}isCustomDisabled(t){switch(t.type){case void 0:case ct.SINGLE_SELECT:return this.selection.selected.length!==1||t.disabled===!0;case ct.MULTI_SELECT:return this.selection.isEmpty()||t.disabled===!0;default:return!1}}emitCustom(t){!this.selection.selected.length&&t.type!==ct.ALWAYS||(t.type===ct.ACCELERATOR?this.api.navigation.goto(t.id,this.selection.selected[0],t.acceleratorProperties||[]):this.customButtonAction.emit({param:t,table:this}))}clickRow(t,n){let o=new Date().getTime();if((this.detailAction.observed||this.editAction.observed)&&Math.abs(this.lastClickInfo.x-n.x)<16&&Math.abs(this.lastClickInfo.y-n.y)<16&&o-this.lastClickInfo.time<250){this.selection.clear(),this.selection.select(t),this.detailAction.observed?this.detailAction.emit({param:t,table:this}):this.emitIfSelection(this.editAction,!1);return}this.lastClickInfo={time:o,x:n.x,y:n.y},this.doSelect(t,n)}doSelect(t,n){if(n.ctrlKey)this.lastSel=t,this.selection.toggle(t);else if(n.shiftKey){if(this.selection.isEmpty())this.selection.toggle(t);else if(this.selection.clear(),this.lastSel!==t){let o=!1,a=this.dataSource.sort?this.dataSource.sortData(this.dataSource.data,this.dataSource.sort):this.dataSource.data;for(let s of a){if((s===t||s===this.lastSel)&&(o=!o,o===!1)){this.selection.select(s);break}o&&this.selection.select(s)}}}else this.lastSel!==t&&this.selection.clear(),this.lastSel=t,this.selection.toggle(t);this.rowSelected.emit({param:null,table:this})}onContextMenu(t,n,o){o.preventDefault();let a=t[n.name];a.changingThisBreaksApplicationSecurity&&(a=a.changingThisBreaksApplicationSecurity.replace(/.*<\/span>/,"")),this.clipValue=""+a,this.hasActions&&(this.selection.clear(),this.selection.select(t),this.contextMenuPosition.x=o.clientX+"px",this.contextMenuPosition.y=o.clientY+"px",this.contextMenu.menuData={item:t},this.contextMenu.openMenu())}selectElement(t,n){(this.dataSource.sort?this.dataSource.sortData(this.dataSource.data,this.dataSource.sort):this.dataSource.data).forEach((a,s)=>{if(a[t]===n){let l=Math.floor(s/this.paginator.pageSize);this.selection.select(a),this.paginator.pageIndex=l,this.paginator.page.next({pageIndex:l,pageSize:this.paginator.pageSize,length:this.paginator.length})}})}export(){Kf(this)}permissions(){this.selection.selected.length&&Bk.launch(this.api,this.rest,this.selection.selected[0])}keyDown(t){switch(t.keyCode){case 36:this.paginator.firstPage(),t.preventDefault();break;case 35:this.paginator.lastPage(),t.preventDefault();break;case 39:this.paginator.nextPage(),t.preventDefault();break;case 37:this.paginator.previousPage(),t.preventDefault();break}}};e.\u0275fac=function(n){return new(n||e)(m(B),m(Wk))},e.\u0275cmp=E({type:e,selectors:[["uds-table"]],viewQuery:function(n,o){if(n&1&&(ce(V$,7),ce(jr,7),ce(Br,7)),n&2){let a;Q(a=K())&&(o.contextMenu=a.first),Q(a=K())&&(o.paginator=a.first),Q(a=K())&&(o.sort=a.first)}},inputs:{rest:"rest",onItem:"onItem",icon:"icon",multiSelect:"multiSelect",allowExport:"allowExport",hasPermissions:"hasPermissions",customButtons:"customButtons",tableId:"tableId",pageSize:"pageSize",newGrouped:"newGrouped",allowCopy:"allowCopy"},outputs:{loaded:"loaded",rowSelected:"rowSelected",newAction:"newAction",editAction:"editAction",deleteAction:"deleteAction",customButtonAction:"customButtonAction",detailAction:"detailAction"},decls:51,vars:30,consts:[["trigger","matMenuTrigger"],["contextMenu","matMenu"],["newMenu","matMenu"],["sub_menu","matMenu"],["uncheck",""],[1,"card"],[1,"card-header"],[1,"card-title"],[3,"src",4,"ngIf"],[1,"card-subtitle"],[1,"card-content"],[1,"header"],[1,"buttons"],[4,"ngIf"],[1,"navigation"],[1,"filter"],["matInput","",3,"keyup","ngModelChange","ngModel"],["matSuffix","","mat-icon-button","","aria-label","Clear",3,"click",4,"ngIf"],[1,"paginator"],[3,"pageSize","hidePageSize","pageSizeOptions","showFirstLastButtons"],[1,"reload"],["mat-icon-button","",3,"click"],[1,"material-icons"],["tabindex","0",1,"table",3,"keydown"],["matSort","",3,"matSortChange","dataSource"],["matColumnDef","selection-column",4,"ngIf"],["matColumnDef","detail-column"],[4,"matHeaderCellDef"],[4,"matCellDef"],[3,"matColumnDef",4,"ngFor","ngForOf"],[4,"matHeaderRowDef"],[3,"ngClass",4,"matRowDef","matRowDefColumns"],[3,"hidden"],[1,"loading"],["mode","indeterminate"],[1,"footer"],["class","selection",4,"ngIf"],[2,"position","fixed",3,"matMenuTriggerFor"],["matMenuContent",""],[3,"src"],[1,"wide-menu",3,"overlapTrigger"],[4,"ngFor","ngForOf"],["mat-raised-button","","color","primary",3,"matMenuTriggerFor"],[1,"button-text"],["mat-menu-item","",1,"main-button",3,"matMenuTriggerFor"],[3,"overlapTrigger"],["mat-menu-item","",3,"innerHTML","click",4,"ngFor","ngForOf"],["mat-menu-item","",3,"click","innerHTML"],["mat-menu-item","","class","main-button",3,"innerHTML","click",4,"ngFor","ngForOf"],["mat-menu-item","",1,"main-button",3,"click","innerHTML"],["mat-raised-button","","color","primary",1,"main-button",3,"click"],["mat-raised-button","",3,"click","disabled"],["mat-raised-button","",3,"disabled","innerHTML","click",4,"ngFor","ngForOf"],["mat-raised-button","",3,"click","disabled","innerHTML"],["mat-raised-button","",3,"click"],["mat-raised-button","","color","warn",3,"click","disabled"],["matSuffix","","mat-icon-button","","aria-label","Clear",3,"click"],["matColumnDef","selection-column"],[3,"click",4,"matCellDef"],[3,"click"],["class","material-icons check checked",4,"ngIf","ngIfElse"],[1,"material-icons","check","checked"],[1,"material-icons","check"],[1,"detail-launcher",3,"click"],[3,"matColumnDef"],["mat-sort-header","",4,"matHeaderCellDef"],[3,"click","contextmenu",4,"matCellDef"],["mat-sort-header",""],[3,"click","contextmenu"],[3,"innerHtml"],[3,"ngClass"],[1,"selection"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"disabled","innerHTML","click",4,"ngFor","ngForOf"],["mat-menu-item","","class","menu-warn",3,"click",4,"ngIf"],["mat-menu-item","",3,"click"],[1,"material-icons","spaced"],["mat-menu-item","",3,"click","disabled","innerHTML"],["mat-menu-item","",1,"menu-warn",3,"click"]],template:function(n,o){if(n&1){let a=A();c(0,"div",5)(1,"div",6)(2,"div",7),x(3,B$,1,1,"img",8),g(4),d(),c(5,"div",9),g(6),d()(),c(7,"div",10)(8,"div",11)(9,"div",12),x(10,Y$,3,2,"ng-container",13)(11,Q$,7,1,"ng-container",13)(12,K$,7,1,"ng-container",13)(13,X$,2,1,"ng-container",13)(14,J$,7,0,"ng-container",13)(15,eW,7,1,"ng-container",13),d(),c(16,"div",14)(17,"div",15)(18,"mat-form-field")(19,"mat-label")(20,"uds-translate"),g(21,"Filter"),d()(),c(22,"input",16),b("keyup",function(){return y(a),w(o.applyFilter())}),H("ngModelChange",function(l){return y(a),$(o.filterText,l)||(o.filterText=l),w(l)}),d(),x(23,tW,3,0,"button",17),_t(24,"notEmpty"),d()(),c(25,"div",18),I(26,"mat-paginator",19),d(),c(27,"div",20)(28,"a",21),b("click",function(){return y(a),w(o.overview())}),c(29,"i",22),g(30,"autorenew"),d()()()()(),c(31,"div",23),b("keydown",function(l){return y(a),w(o.keyDown(l))}),c(32,"mat-table",24),b("matSortChange",function(l){return y(a),w(o.sortChanged(l))}),x(33,aW,3,0,"ng-container",25),mt(34,26),x(35,sW,1,0,"mat-header-cell",27)(36,lW,4,0,"mat-cell",28),pt(),x(37,uW,3,1,"ng-container",29)(38,hW,1,0,"mat-header-row",30)(39,mW,1,1,"mat-row",31),d(),c(40,"div",32)(41,"div",33),I(42,"mat-progress-spinner",34),d()()(),c(43,"div",35),g(44," \xA0 "),x(45,pW,4,1,"div",36),d()(),I(46,"div",37,0),c(48,"mat-menu",null,1),x(50,xW,7,7,"ng-template",38),d()()}if(n&2){let a=we(49);h(3),p("ngIf",o.icon!==void 0),h(),F(" ",o.title," "),h(2),F(" ",o.subtitle," "),h(4),p("ngIf",o.newAction.observed),h(),p("ngIf",o.editAction.observed),h(),p("ngIf",o.hasPermissions===!0),h(),p("ngIf",o.hasCustomButtons),h(),p("ngIf",o.allowExport===!0),h(),p("ngIf",o.deleteAction.observed),h(7),U("ngModel",o.filterText),h(),p("ngIf",Dt(24,27,o.filterText)),h(3),p("pageSize",o.pageSize)("hidePageSize",!0)("pageSizeOptions",ll(29,j$))("showFirstLastButtons",!0),h(6),p("dataSource",o.dataSource),h(),p("ngIf",o.hasButtons),h(4),p("ngForOf",o.columns),h(),p("matHeaderRowDef",o.displayedColumns),h(),p("matRowDefColumns",o.displayedColumns),h(),p("hidden",!o.loading),h(5),p("ngIf",o.hasButtons&&o.selection.selected.length>0),h(),ji("left",o.contextMenuPosition.x)("top",o.contextMenuPosition.y),p("matMenuTriggerFor",a)}},dependencies:[Sn,We,me,lt,xe,Se,xa,xp,Qi,ka,ys,Qk,Xf,_e,Ae,uo,ft,Af,Rf,Lf,Pf,Of,Vf,Ff,Nf,jf,Bf,jr,Br,Cf,Wf,qf,le,II,yi,oA],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;inset:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_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{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border:var(--mat-focus-indicator-border-width, 3px) var(--mat-focus-indicator-border-style, solid) var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator[_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{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-mdc-focus-indicator-display, none);border:var(--mat-mdc-focus-indicator-border-width, 3px) var(--mat-mdc-focus-indicator-border-style, solid) var(--mat-mdc-focus-indicator-border-color, transparent);border-radius:var(--mat-mdc-focus-indicator-border-radius, 4px)}.mat-mdc-focus-indicator[_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, var(--mat-app-background, transparent));color:var(--mat-app-text-color, var(--mat-app-on-background, inherit))}.mat-elevation-z0[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z0[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-0, none)}.mat-elevation-z1[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z1[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-1, none)}.mat-elevation-z2[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z2[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-2, none)}.mat-elevation-z3[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z3[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-3, none)}.mat-elevation-z4[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z4[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-4, none)}.mat-elevation-z5[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z5[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-5, none)}.mat-elevation-z6[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z6[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-6, none)}.mat-elevation-z7[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z7[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-7, none)}.mat-elevation-z8[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z8[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-8, none)}.mat-elevation-z9[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z9[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-9, none)}.mat-elevation-z10[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z10[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-10, none)}.mat-elevation-z11[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z11[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-11, none)}.mat-elevation-z12[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z12[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-12, none)}.mat-elevation-z13[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z13[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-13, none)}.mat-elevation-z14[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z14[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-14, none)}.mat-elevation-z15[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z15[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-15, none)}.mat-elevation-z16[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z16[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-16, none)}.mat-elevation-z17[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z17[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-17, none)}.mat-elevation-z18[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z18[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-18, none)}.mat-elevation-z19[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z19[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-19, none)}.mat-elevation-z20[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z20[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-20, none)}.mat-elevation-z21[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z21[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-21, none)}.mat-elevation-z22[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z22[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-22, none)}.mat-elevation-z23[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z23[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-23, none)}.mat-elevation-z24[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z24[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-24, none)}.header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;flex-wrap:wrap;margin:1rem 1rem 0rem}.buttons[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;flex-wrap:wrap}.buttons[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{margin-right:1rem;margin-bottom:1rem}.buttons[_ngcontent-%COMP%] .material-icons[_ngcontent-%COMP%]{margin-right:.1rem}.buttons[_ngcontent-%COMP%] .mat-mdc-raised-button[_ngcontent-%COMP%]:hover:not([disabled]){background-color:#fafafa;color:#000}button.mat-mdc-menu-item[_ngcontent-%COMP%]{height:2rem;line-height:2rem}.navigation[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;flex-wrap:wrap}.reload[_ngcontent-%COMP%]{margin-top:.5rem}.table[_ngcontent-%COMP%]{margin:0rem 1rem;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none}.footer[_ngcontent-%COMP%]{margin:1em;display:flex;justify-content:flex-end}mat-cell[_ngcontent-%COMP%]:first-of-type, mat-header-cell[_ngcontent-%COMP%]:first-of-type{padding-left:.5rem}mat-row[_ngcontent-%COMP%]:hover{background-color:#a0b0d0;cursor:pointer}.check[_ngcontent-%COMP%]{margin-left:.5rem;font-size:1.5rem;width:1.5rem}mat-table[_ngcontent-%COMP%]{width:100%;font-weight:300}.mat-column-detail-column[_ngcontent-%COMP%]{max-width:1.5rem;justify-content:center;color:#000!important;padding-right:.5rem}.detail-launcher[_ngcontent-%COMP%]{display:none}.mat-mdc-row[_ngcontent-%COMP%]:hover .detail-launcher[_ngcontent-%COMP%]{display:block}.mat-column-selection-column[_ngcontent-%COMP%]{max-width:2rem;justify-content:center;color:#000!important}.menu-warn[_ngcontent-%COMP%]{color:red}.menu-link[_ngcontent-%COMP%]{color:#00f}.loading[_ngcontent-%COMP%]{margin-top:2rem;margin-bottom:2rem;display:flex;justify-content:center} .mat-mdc-menu-panel{min-height:3rem} .mat-mdc-menu-panel.mat-mdc-menu-panel{max-width:32rem} .mat-mdc-paginator-range-label{min-width:6em}.mat-mdc-menu-item[_ngcontent-%COMP%]{min-height:2.5rem} .dark-theme .mat-mdc-paginator-container{background-color:#303030} .dark-theme .buttons .mat-mdc-raised-button:hover:not([disabled]){background-color:#303030;color:#fff} .dark-theme .mat-column-detail-column{color:#fff!important} .dark-theme .mat-column-selection-column{color:#fff!important} .dark-theme .menu-warn{color:red} .dark-theme .menu-link{color:#00f}.filter[_ngcontent-%COMP%]{display:flex;align-items:center;width:16rem}.filter[_ngcontent-%COMP%] .mat-mdc-form-field-infix{min-height:3rem;padding-top:1rem!important;padding-bottom:1rem!important}.filter[_ngcontent-%COMP%] .mat-mdc-form-field-bottom-align{height:0px}.mat-column-token[_ngcontent-%COMP%]{overflow-wrap:anywhere}']});let i=e;return i})();var rA='pause'+django.gettext("Maintenance")+"",DW='pause'+django.gettext("Exit maintenance mode")+"",SW='pause'+django.gettext("Enter maintenance mode")+"",nw=(()=>{let e=class e{constructor(t,n,o){this.route=t,this.rest=n,this.api=o,this.cButtons=[{id:"maintenance",html:rA,type:ct.SINGLE_SELECT}]}get customButtons(){return this.api.user.isAdmin?this.cButtons:[]}ngOnInit(){}onNew(t){this.api.gui.forms.typedNewForm(t,django.gettext("New provider"),!0)}onEdit(t){this.api.gui.forms.typedEditForm(t,django.gettext("Edit provider"),!0)}onDelete(t){this.api.gui.forms.deleteForm(t,django.gettext("Delete provider"))}onMaintenance(t){let n=t.table.selection.selected[0],o=n.maintenance_mode?django.gettext("Exit maintenance mode?"):django.gettext("Enter maintenance mode?");this.api.gui.questionDialog(django.gettext("Maintenance mode for")+" "+n.name,o).then(a=>{a&&this.rest.providers.maintenance(n.id).then(()=>{t.table.overview()})})}onRowSelect(t){let n=t.table;if(n.selection.selected.length>1||n.selection.selected.length===0){this.customButtons[0].html=rA;return}n.selection.selected[0].maintenance_mode?this.customButtons[0].html=DW:this.customButtons[0].html=SW}onDetail(t){this.api.navigation.gotoService(t.param.id)}processElement(t){t.maintenance_state=t.maintenance_mode?django.gettext("In Maintenance"):django.gettext("Active")}onLoad(t){t.param===!0&&t.table.selectElement("id",this.route.snapshot.paramMap.get("provider"))}};e.\u0275fac=function(n){return new(n||e)(m(Oe),m(X),m(B))},e.\u0275cmp=E({type:e,selectors:[["uds-providers"]],decls:1,vars:7,consts:[["tableId","service-providers","icon","providers",3,"customButtonAction","newAction","editAction","deleteAction","rowSelected","detailAction","loaded","rest","onItem","multiSelect","allowExport","hasPermissions","customButtons","pageSize"]],template:function(n,o){n&1&&(c(0,"uds-table",0),b("customButtonAction",function(s){return o.onMaintenance(s)})("newAction",function(s){return o.onNew(s)})("editAction",function(s){return o.onEdit(s)})("deleteAction",function(s){return o.onDelete(s)})("rowSelected",function(s){return o.onRowSelect(s)})("detailAction",function(s){return o.onDetail(s)})("loaded",function(s){return o.onLoad(s)}),d()),n&2&&p("rest",o.rest.providers)("onItem",o.processElement)("multiSelect",!0)("allowExport",!0)("hasPermissions",!0)("customButtons",o.customButtons)("pageSize",o.api.config.admin.page_size)},dependencies:[Te],styles:[".row-maintenance-true>mat-cell{color:#dc3131!important} .mat-column-services_count, .mat-column-user_services_count{max-width:7rem;justify-content:center} .mat-column-maintenance_state{max-width:10rem;justify-content:center}"]});let i=e;return i})();var mo=class{constructor(e,r,t,n){this.title=e,this.data=r,this.columns=t,this.id=n,this.columnsDefinition=Array.from(t,o=>{let a={};return a[o.field]={visible:!0,title:o.title,type:o.type===void 0?gi.ALPHANUMERIC:o.type},a})}get(e){return Promise.resolve({})}getLogs(e){return Promise.resolve([])}overview(e){return typeof this.data=="function"?Promise.resolve(this.data()):Promise.resolve(this.data)}summary(e){return this.overview()}put(e,r){return Promise.resolve()}create(e){return Promise.resolve()}save(e,r){return Promise.resolve()}test(e,r){return Promise.resolve("")}delete(e){return Promise.resolve()}permision(){return Vr.ALL}getPermissions(e){return Promise.resolve([])}addPermission(e,r,t,n){return Promise.resolve({})}revokePermission(e){return Promise.resolve()}types(){return Promise.resolve([])}gui(e){return Promise.resolve({})}callback(e,r){return Promise.resolve([])}tableInfo(){return Promise.resolve({fields:this.columnsDefinition,title:this.title})}detail(e,r){return null}invoke(e,r){return Promise.resolve({})}};var EW=()=>[5,10,25,100,1e3];function IW(i,e){if(i&1){let r=A();c(0,"button",24),b("click",function(){y(r);let n=_();return n.filterText="",w(n.applyFilter())}),c(1,"i",8),g(2,"close"),d()()}}function MW(i,e){if(i&1&&(c(0,"mat-header-cell",28),g(1),d()),i&2){let r=_().$implicit;h(),$e(r)}}function TW(i,e){if(i&1&&(c(0,"mat-cell"),I(1,"div",29),d()),i&2){let r=e.$implicit,t=_().$implicit,n=_();h(),p("innerHtml",n.getRowColumn(r,t),qt)}}function kW(i,e){if(i&1&&(mt(0,25),x(1,MW,2,1,"mat-header-cell",26)(2,TW,2,1,"mat-cell",27),pt()),i&2){let r=e.$implicit;p("matColumnDef",r)}}function AW(i,e){i&1&&I(0,"mat-header-row")}function OW(i,e){if(i&1&&I(0,"mat-row",30),i&2){let r=e.$implicit,t=_();p("ngClass",t.rowClass(r))}}var An=(()=>{let e=class e{constructor(t){this.api=t,this.rest={},this.itemId="",this.tableId="",this.pageSize=10,this.paginator={},this.sort={},this.filterText="",this.title="Logs",this.displayedColumns=["date","level","source","message"],this.columns=[],this.dataSource=new Yl([]),this.selection=new Rr}ngOnInit(){this.tableId=this.tableId||this.rest.id,this.dataSource.paginator=this.paginator,this.dataSource.sort=this.sort,this.dataSource.sort.active=this.api.getFromStorage("logs-sort-column")||"date",this.dataSource.sort.direction=this.api.getFromStorage("logs-sort-direction")||"desc";for(let t of this.displayedColumns){let n=t==="date"?gi.DATETIMESEC:gi.ALPHANUMERIC;this.columns.push({name:t,title:t,type:n})}this.filterText=this.api.getFromStorage(this.tableId+"filterValue")||"",this.applyFilter(),this.overview()}overview(){return W(this,null,function*(){this.dataSource.data=yield this.rest.getLogs(this.itemId)})}selectElement(t,n){}getRowColumn(t,n){let o=t[n];return n==="date"?o=$i("SHORT_DATE_FORMAT",o," H:i:s"):n==="level"&&(o=H1(o)),o}rowClass(t){return["level-"+t.level]}applyFilter(){this.api.putOnStorage(this.tableId+"filterValue",this.filterText),this.dataSource.filter=this.filterText.trim().toLowerCase()}sortChanged(t){this.api.putOnStorage("logs-sort-column",t.active),this.api.putOnStorage("logs-sort-direction",t.direction)}export(){Kf(this)}keyDown(t){switch(t.keyCode){case 36:this.paginator.firstPage(),t.preventDefault();break;case 35:this.paginator.lastPage(),t.preventDefault();break;case 39:this.paginator.nextPage(),t.preventDefault();break;case 37:this.paginator.previousPage(),t.preventDefault();break}}};e.\u0275fac=function(n){return new(n||e)(m(B))},e.\u0275cmp=E({type:e,selectors:[["uds-logs-table"]],viewQuery:function(n,o){if(n&1&&(ce(jr,7),ce(Br,7)),n&2){let a;Q(a=K())&&(o.paginator=a.first),Q(a=K())&&(o.sort=a.first)}},inputs:{rest:"rest",itemId:"itemId",tableId:"tableId",pageSize:"pageSize"},decls:37,vars:14,consts:[[1,"card"],[1,"card-header"],[1,"card-title"],[3,"src"],[1,"card-content"],[1,"header"],[1,"buttons"],["mat-raised-button","",3,"click"],[1,"material-icons"],[1,"button-text"],[1,"navigation"],[1,"filter"],["matInput","",3,"keyup","ngModelChange","ngModel"],["mat-button","","matSuffix","","mat-icon-button","","aria-label","Clear",3,"click",4,"ngIf"],[1,"paginator"],[3,"pageSize","hidePageSize","pageSizeOptions","showFirstLastButtons"],[1,"reload"],["mat-icon-button","",3,"click"],["tabindex","0",1,"table",3,"keydown"],["matSort","",3,"matSortChange","dataSource"],[3,"matColumnDef",4,"ngFor","ngForOf"],[4,"matHeaderRowDef"],[3,"ngClass",4,"matRowDef","matRowDefColumns"],[1,"footer"],["mat-button","","matSuffix","","mat-icon-button","","aria-label","Clear",3,"click"],[3,"matColumnDef"],["mat-sort-header","",4,"matHeaderCellDef"],[4,"matCellDef"],["mat-sort-header",""],[3,"innerHtml"],[3,"ngClass"]],template:function(n,o){n&1&&(c(0,"div",0)(1,"div",1)(2,"div",2),I(3,"img",3),g(4," \xA0"),c(5,"uds-translate"),g(6,"Logs"),d()()(),c(7,"div",4)(8,"div",5)(9,"div",6)(10,"a",7),b("click",function(){return o.export()}),c(11,"i",8),g(12,"import_export"),d(),c(13,"span",9)(14,"uds-translate"),g(15,"Export"),d()()()(),c(16,"div",10)(17,"div",11)(18,"uds-translate"),g(19,"Filter"),d(),g(20,"\xA0 "),c(21,"mat-form-field")(22,"input",12),b("keyup",function(){return o.applyFilter()}),H("ngModelChange",function(s){return $(o.filterText,s)||(o.filterText=s),s}),d(),x(23,IW,3,0,"button",13),_t(24,"notEmpty"),d()(),c(25,"div",14),I(26,"mat-paginator",15),d(),c(27,"div",16)(28,"a",17),b("click",function(){return o.overview()}),c(29,"i",8),g(30,"autorenew"),d()()()()(),c(31,"div",18),b("keydown",function(s){return o.keyDown(s)}),c(32,"mat-table",19),b("matSortChange",function(s){return o.sortChanged(s)}),x(33,kW,3,1,"ng-container",20)(34,AW,1,0,"mat-header-row",21)(35,OW,1,1,"mat-row",22),d()(),I(36,"div",23),d()()),n&2&&(h(3),p("src",o.api.staticURL("admin/img/icons/logs.png"),Ie),h(19),U("ngModel",o.filterText),h(),p("ngIf",Dt(24,11,o.filterText)),h(3),p("pageSize",o.pageSize)("hidePageSize",!0)("pageSizeOptions",ll(13,EW))("showFirstLastButtons",!0),h(6),p("dataSource",o.dataSource),h(),p("ngForOf",o.displayedColumns),h(),p("matHeaderRowDef",o.displayedColumns),h(),p("matRowDefColumns",o.displayedColumns))},dependencies:[Sn,We,me,lt,xe,Se,xa,ke,xp,Qi,_e,uo,ft,Af,Rf,Lf,Pf,Of,Vf,Ff,Nf,jf,Bf,jr,Br,Cf,le,yi],styles:[".header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;flex-wrap:wrap;margin:1rem 1rem 0rem}.navigation[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;flex-wrap:wrap}.reload[_ngcontent-%COMP%]{margin-top:.5rem}.table[_ngcontent-%COMP%]{margin:0rem 1rem;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none}.mat-column-date[_ngcontent-%COMP%]{min-width:12rem;max-width:20rem}.mat-column-level[_ngcontent-%COMP%]{max-width:8rem;text-align:center}.mat-column-source[_ngcontent-%COMP%]{max-width:8rem} .level-60000>.mat-mdc-cell{color:#ff1e1e!important} .level-50000>.mat-mdc-cell{color:#ff1e1e!important} .level-40000>.mat-mdc-cell{color:#d65014!important}.filter[_ngcontent-%COMP%]{display:flex;align-items:center;width:16rem}.filter[_ngcontent-%COMP%] .mat-mdc-form-field-infix{min-height:3rem;padding-top:1rem!important;padding-bottom:1rem!important}.filter[_ngcontent-%COMP%] .mat-mdc-form-field-bottom-align{height:0px}"]});let i=e;return i})();function RW(i,e){i&1&&(c(0,"uds-translate"),g(1,"Services pools"),d())}function PW(i,e){i&1&&(c(0,"uds-translate"),g(1,"Logs"),d())}var FW=[{field:"name",title:django.gettext("Pool")},{field:"state",title:django.gettext("State")},{field:"user_services_count",title:django.gettext("User Services")}],aA=(()=>{let e=class e{constructor(t,n,o,a){this.api=t,this.rest=n,this.dialogRef=o,this.customButtons=[Ii.getGotoButton(Ud,"id")],this.servicePools={},this.services=a.services,this.service=a.service}static launch(t,n,o){let a=window.innerWidth<800?"80%":"60%",s=t.gui.dialog.open(e,{width:a,position:{top:window.innerWidth<800?"0px":"7rem"},data:{service:o,services:n},disableClose:!1})}ngOnInit(){let t=()=>this.services.invoke(this.service.id+"/servicepools");this.servicePools=new mo(django.gettext("Service pools"),t,FW,this.service.id+"infopsls")}};e.\u0275fac=function(n){return new(n||e)(m(B),m(X),m(Ne),m(Ke))},e.\u0275cmp=E({type:e,selectors:[["uds-service-information"]],decls:17,vars:8,consts:[["mat-dialog-title",""],["mat-tab-label",""],[3,"rest","customButtons","pageSize"],[1,"content"],[3,"rest","itemId","tableId","pageSize"],["mat-raised-button","","mat-dialog-close","","color","primary"]],template:function(n,o){n&1&&(c(0,"h4",0)(1,"uds-translate"),g(2,"Information for"),d(),g(3),d(),c(4,"mat-dialog-content")(5,"mat-tab-group")(6,"mat-tab"),x(7,RW,2,0,"ng-template",1),I(8,"uds-table",2),d(),c(9,"mat-tab"),x(10,PW,2,0,"ng-template",1),c(11,"div",3),I(12,"uds-logs-table",4),d()()()(),c(13,"mat-dialog-actions")(14,"button",5)(15,"uds-translate"),g(16,"Ok"),d()()()),n&2&&(h(3),F(" ",o.service.name,` -`),h(5),p("rest",o.servicePools)("customButtons",o.customButtons)("pageSize",6),h(4),p("rest",o.services)("itemId",o.service.id)("tableId","serviceInfo-d-log"+o.service.id)("pageSize",5))},dependencies:[ke,Qt,Je,tt,et,ei,ti,oi,le,Te,An],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.mat-column-count[_ngcontent-%COMP%], .mat-column-image[_ngcontent-%COMP%], .mat-column-state[_ngcontent-%COMP%]{max-width:7rem;justify-content:center}.navigation[_ngcontent-%COMP%]{margin-top:1rem;display:flex;justify-content:flex-end;flex-wrap:wrap}.reload[_ngcontent-%COMP%]{margin-top:.5rem}"]});let i=e;return i})();function NW(i,e){if(i&1&&(c(0,"div",3),I(1,"div",4)(2,"div",5),d()),i&2){let r=e.$implicit;h(),p("innerHTML",r.gui.label,qt),h(),p("innerHTML",r.value,qt)}}var po=(()=>{let e=class e{constructor(t){this.api=t,this.gui=[]}ngOnInit(){this.processFields()}processFields(){if(!this.gui||!this.value)return;let t=this.gui.filter(n=>n.gui.type!==Ki.HIDDEN);for(let n of t){let o=this.value[n.name];switch(n.gui.type){case Ki.CHECKBOX:n.value=o?django.gettext("Yes"):django.gettext("No");break;case Ki.PASSWORD:n.value=django.gettext("(hidden)");break;case Ki.CHOICE:{let a=Fd.locateChoice(o,n);n.value=a.text;break}case Ki.MULTI_CHOICE:n.value=django.gettext("Selected items :")+o.length;break;case Ki.IMAGECHOICE:{let a=Fd.locateChoice(o,n);a.img&&(n.value=this.api.safeString(this.api.gui.icon(a.img)+" "+a.text));break}case Ki.INFO:continue;default:n.value=o}(n.value===""||n.value===void 0||n.value===null)&&(n.value="(empty)")}return t}};e.\u0275fac=function(n){return new(n||e)(m(B))},e.\u0275cmp=E({type:e,selectors:[["uds-information"]],inputs:{value:"value",gui:"gui"},decls:4,vars:1,consts:[[1,"card"],[1,"card-content"],["class","item",4,"ngFor","ngForOf"],[1,"item"],[1,"label",3,"innerHTML"],[1,"value",3,"innerHTML"]],template:function(n,o){n&1&&(c(0,"div",0)(1,"div",1),x(2,NW,3,2,"div",2),d(),I(3,"div"),d()),n&2&&(h(2),p("ngForOf",o.processFields()))},dependencies:[We],styles:[".card-content[_ngcontent-%COMP%]{padding:1rem;display:flex;flex-direction:column}.item[_ngcontent-%COMP%]{padding-bottom:.5rem;display:flex}.label[_ngcontent-%COMP%]{font-weight:700;width:32rem;overflow-x:hidden;text-overflow:ellipsis;text-align:end;margin-right:1rem;align-self:center}"]});let i=e;return i})();var LW=i=>["/services","providers",i];function VW(i,e){i&1&&(c(0,"uds-translate"),g(1,"Summary"),d())}function jW(i,e){if(i&1&&I(0,"uds-information",15),i&2){let r=_(2);p("value",r.provider)("gui",r.gui)}}function BW(i,e){i&1&&(c(0,"uds-translate"),g(1,"Services"),d())}function zW(i,e){i&1&&(c(0,"uds-translate"),g(1,"Usage"),d())}function UW(i,e){i&1&&(c(0,"uds-translate"),g(1,"Logs"),d())}function HW(i,e){if(i&1){let r=A();c(0,"div",6)(1,"div",7)(2,"mat-tab-group",8),H("selectedIndexChange",function(n){y(r);let o=_();return $(o.selectedTab,n)||(o.selectedTab=n),w(n)}),c(3,"mat-tab"),x(4,VW,2,0,"ng-template",9),c(5,"div",10),x(6,jW,1,2,"uds-information",11),d()(),c(7,"mat-tab"),x(8,BW,2,0,"ng-template",9),c(9,"div",10)(10,"uds-table",12),b("newAction",function(n){y(r);let o=_();return w(o.onNewService(n))})("editAction",function(n){y(r);let o=_();return w(o.onEditService(n))})("deleteAction",function(n){y(r);let o=_();return w(o.onDeleteService(n))})("customButtonAction",function(n){y(r);let o=_();return w(o.onInformation(n))})("loaded",function(n){y(r);let o=_();return w(o.onLoad(n))}),d()()(),c(11,"mat-tab"),x(12,zW,2,0,"ng-template",9),c(13,"div",10)(14,"uds-table",13),b("deleteAction",function(n){y(r);let o=_();return w(o.onDeleteUsage(n))}),d()()(),c(15,"mat-tab"),x(16,UW,2,0,"ng-template",9),c(17,"div",10),I(18,"uds-logs-table",14),d()()()()()}if(i&2){let r=_();h(2),U("selectedIndex",r.selectedTab),p("@.disabled",!0),h(4),p("ngIf",r.provider&&r.gui),h(4),p("rest",r.services)("multiSelect",!0)("allowExport",!0)("customButtons",r.customButtons)("pageSize",r.api.config.admin.page_size)("tableId","providers-d-services"+r.provider.id),h(4),p("rest",r.usage)("multiSelect",!0)("allowExport",!0)("pageSize",r.api.config.admin.page_size)("tableId","providers-d-usage"+r.provider.id),h(4),p("rest",r.services.parentModel)("itemId",r.provider.id)("tableId","providers-d-log"+r.provider.id)}}var ow=(()=>{let e=class e{constructor(t,n,o){this.route=t,this.rest=n,this.api=o,this.customButtons=[{id:"info",html:'info '+django.gettext("Information")+"",type:ct.ONLY_MENU}],this.provider=null,this.gui=[],this.services={},this.usage={},this.selectedTab=1}ngOnInit(){let t=this.route.snapshot.paramMap.get("provider");t&&(this.services=this.rest.providers.detail(t,"services"),this.usage=this.rest.providers.detail(t,"usage"),this.services.parentModel.get(t).then(n=>{this.provider=n,this.services.parentModel.gui(n.type).then(o=>{this.gui=o})}))}onInformation(t){aA.launch(this.api,this.services,t.table.selection.selected[0])}onNewService(t){let n=django.gettext("New service")+": "+(t.param.name||"");this.api.gui.forms.typedNewForm(t,n,!1)}onEditService(t){let n=django.gettext("Edit service")+": "+(t.table.selection.selected[0].name||"");this.api.gui.forms.typedEditForm(t,n,!1)}onDeleteService(t){this.api.gui.forms.deleteForm(t,django.gettext("Delete service"))}onDeleteUsage(t){this.api.gui.forms.deleteForm(t,django.gettext("Delete user service"))}onLoad(t){if(t.param===!0){let n=this.route.snapshot.paramMap.get("service");if(n!==void 0){this.selectedTab=1;let o=t.table;o.dataSource.data.forEach(a=>{a.id===n&&o.selection.select(a)})}}}};e.\u0275fac=function(n){return new(n||e)(m(Oe),m(X),m(B))},e.\u0275cmp=E({type:e,selectors:[["uds-provider-detail"]],decls:9,vars:6,consts:[[1,"detail"],[1,"mat-elevation-z4","title"],[3,"routerLink"],[1,"material-icons"],[3,"src"],["class","card",4,"ngIf"],[1,"card"],[1,"card-content"],["backgroundColor","primary",3,"selectedIndexChange","selectedIndex"],["mat-tab-label",""],[1,"content"],[3,"value","gui",4,"ngIf"],["icon","providers",3,"newAction","editAction","deleteAction","customButtonAction","loaded","rest","multiSelect","allowExport","customButtons","pageSize","tableId"],["icon","usage",3,"deleteAction","rest","multiSelect","allowExport","pageSize","tableId"],[3,"rest","itemId","tableId"],[3,"value","gui"]],template:function(n,o){n&1&&(c(0,"div",0)(1,"div",1)(2,"a",2)(3,"i",3),g(4,"arrow_back"),d()(),g(5," \xA0"),I(6,"img",4),g(7),d(),x(8,HW,19,17,"div",5),d()),n&2&&(h(2),p("routerLink",Bi(4,LW,o.services.parentId)),h(4),p("src",o.api.staticURL("admin/img/icons/services.png"),Ie),h(),F(" \xA0",o.provider==null?null:o.provider.name," "),h(),p("ngIf",o.provider!==null))},dependencies:[me,bi,ei,ti,oi,le,Te,An,po]});let i=e;return i})();var rw=(()=>{let e=class e{constructor(t,n,o){this.route=t,this.rest=n,this.api=o}ngOnInit(){}onNew(t){this.api.gui.forms.typedNewForm(t,django.gettext("New server"),!0)}onEdit(t){this.api.gui.forms.typedEditForm(t,django.gettext("Edit server"),!0)}onDelete(t){this.api.gui.forms.deleteForm(t,django.gettext("Delete server"))}onDetail(t){this.api.navigation.gotoServerDetail(t.param.id)}processElement(t){t.maintenance_state=t.maintenance_mode?django.gettext("In Maintenance"):django.gettext("Active")}onLoad(t){t.param===!0&&t.table.selectElement("id",this.route.snapshot.paramMap.get("server"))}};e.\u0275fac=function(n){return new(n||e)(m(Oe),m(X),m(B))},e.\u0275cmp=E({type:e,selectors:[["uds-servers"]],decls:1,vars:7,consts:[["tableId","server-groups-table","icon","servers",3,"newAction","editAction","deleteAction","detailAction","loaded","rest","onItem","multiSelect","allowExport","hasPermissions","newGrouped","pageSize"]],template:function(n,o){n&1&&(c(0,"uds-table",0),b("newAction",function(s){return o.onNew(s)})("editAction",function(s){return o.onEdit(s)})("deleteAction",function(s){return o.onDelete(s)})("detailAction",function(s){return o.onDetail(s)})("loaded",function(s){return o.onLoad(s)}),d()),n&2&&p("rest",o.rest.serverGroups)("onItem",o.processElement)("multiSelect",!0)("allowExport",!0)("hasPermissions",!0)("newGrouped",!0)("pageSize",o.api.config.admin.page_size)},dependencies:[Te]});let i=e;return i})();var sA=(()=>{let e=class e{constructor(t,n,o){this.api=t,this.dialogRef=n,this.data=o,this.filename="",this.contains_header=!0,this.separator=",",this.result=[],this.title="Import CSV",this.help="Select a CSV file to import",o&&(this.title=o.title||this.title,this.help=o.help||this.help)}static launch(t,n){return W(this,null,function*(){let o=window.innerWidth<800?"60%":"40%",a=t.gui.dialog.open(e,{width:o,data:n,disableClose:!1});return new Promise((s,l)=>{a.afterClosed().subscribe(u=>{s({data:a.componentInstance.result})})})})}loadCSV(t){return W(this,null,function*(){let n=t.split(` -`).map(a=>a.trim());if(n.length>=1024)return console.log("Too many lines, do not loaded (max is 1024)"),[];this.contains_header&&(n=n.slice(1));let o=[];for(let a of n){let s=a.split(this.separator);s.length===1&&s[0]===""||o.push(s)}return o})}onFileChange(t){return W(this,null,function*(){let n=t.target.files[0];if(!n)return;this.filename=n.name;let o=new FileReader,a=new Jt;o.onload=l=>{let u=o.result;a.resolve(u)},o.readAsText(n);let s=yield a;this.result=yield this.loadCSV(s)})}};e.\u0275fac=function(n){return new(n||e)(m(B),m(Ne),m(Ke))},e.\u0275cmp=E({type:e,selectors:[["uds-cvsimport"]],decls:57,vars:8,consts:[["fileUpload",""],["mat-dialog-title",""],[3,"innerHTML"],[1,"content"],[1,"options"],[1,"field"],[3,"valueChange","value"],[3,"value"],["value",","],["value",";"],["value","|"],["value","tab"],[1,"upload"],["type","file","accept",".csv",1,"file-input",3,"change"],["type","text","matInput","","readonly","readonly",3,"ngModelChange","click","ngModel","placeholder","matTooltip"],["mat-raised-button","","mat-dialog-close","","color","primary"],["mat-raised-button","","mat-dialog-close","","color","warn",3,"click"]],template:function(n,o){if(n&1){let a=A();c(0,"h4",1)(1,"uds-translate"),g(2,"CVS Import options for"),d(),g(3,"\xA0"),I(4,"b",2),d(),c(5,"mat-dialog-content")(6,"div",3)(7,"div",4)(8,"div",5)(9,"mat-form-field")(10,"mat-label")(11,"uds-translate"),g(12,"Header"),d()(),c(13,"mat-select",6),H("valueChange",function(l){return y(a),$(o.contains_header,l)||(o.contains_header=l),w(l)}),c(14,"mat-option",7)(15,"uds-translate"),g(16,"CSV contains header line"),d()(),c(17,"mat-option",7)(18,"uds-translate"),g(19,"CSV DOES NOT contains header line"),d()()()()(),c(20,"div",5)(21,"mat-form-field")(22,"mat-label")(23,"uds-translate"),g(24,"Separator"),d()(),c(25,"mat-select",6),H("valueChange",function(l){return y(a),$(o.separator,l)||(o.separator=l),w(l)}),c(26,"mat-option",8)(27,"uds-translate"),g(28,"Use comma"),d(),g(29," (,)"),d(),c(30,"mat-option",9)(31,"uds-translate"),g(32,"Use semicolon"),d(),g(33," (;)"),d(),c(34,"mat-option",10)(35,"uds-translate"),g(36,"Use pipe"),d(),g(37," (|)"),d(),c(38,"mat-option",11)(39,"uds-translate"),g(40,"Use tab"),d(),g(41," (tab)"),d()()()()()(),c(42,"div",12)(43,"mat-form-field")(44,"mat-label")(45,"uds-translate"),g(46,"File"),d()(),c(47,"input",13,0),b("change",function(l){return y(a),w(o.onFileChange(l))}),d(),c(49,"input",14),H("ngModelChange",function(l){return y(a),$(o.filename,l)||(o.filename=l),w(l)}),b("click",function(){y(a);let l=we(48);return w(l.click())}),d()()()(),c(50,"mat-dialog-actions")(51,"button",15)(52,"uds-translate"),g(53,"Ok"),d()(),c(54,"button",16),b("click",function(){return y(a),w(o.filename="")}),c(55,"uds-translate"),g(56,"Cancel"),d()()()}n&2&&(h(4),p("innerHTML",o.title,qt),h(9),U("value",o.contains_header),h(),p("value",!0),h(3),p("value",!1),h(8),U("value",o.separator),h(24),U("ngModel",o.filename),p("placeholder","Click here to select file to import.")("matTooltip",o.help))},dependencies:[lt,xe,Se,ke,lr,Qt,Je,tt,et,_e,Ae,ft,bt,nt,le],styles:[".content[_ngcontent-%COMP%]{margin-top:.5rem;display:flex;flex-wrap:wrap;width:100%}.options[_ngcontent-%COMP%]{width:100%}mat-form-field[_ngcontent-%COMP%]{width:100%!important}.mat-mdc-form-field[_ngcontent-%COMP%]{min-width:100%}.file-input[_ngcontent-%COMP%]{display:none}"]});let i=e;return i})();var $W=i=>["/services","servers",i];function WW(i,e){i&1&&(c(0,"uds-translate"),g(1,"Summary"),d())}function GW(i,e){i&1&&(c(0,"uds-translate"),g(1,"Servers"),d())}function qW(i,e){if(i&1){let r=A();c(0,"div",6)(1,"div",7)(2,"mat-tab-group",8)(3,"mat-tab"),x(4,WW,2,0,"ng-template",9),c(5,"div",10),I(6,"uds-information",11),d()(),c(7,"mat-tab"),x(8,GW,2,0,"ng-template",9),c(9,"div",10)(10,"uds-table",12),b("newAction",function(n){y(r);let o=_();return w(o.onNew(n))})("editAction",function(n){y(r);let o=_();return w(o.onEdit(n))})("rowSelected",function(n){y(r);let o=_();return w(o.onRowSelect(n))})("deleteAction",function(n){y(r);let o=_();return w(o.onDelete(n))})("customButtonAction",function(n){y(r);let o=_();return w(o.customButtonAction(n))})("loaded",function(n){y(r);let o=_();return w(o.onLoad(n))}),d()()()()()()}if(i&2){let r=_();h(2),p("@.disabled",!0),h(4),p("value",r.server)("gui",r.gui),h(4),p("rest",r.servers)("multiSelect",!0)("allowExport",!0)("customButtons",r.customButtons)("pageSize",r.api.config.admin.page_size)("tableId","servers-d-servers"+r.server.id)}}var lA='pause'+django.gettext("Maintenance")+"",YW='pause'+django.gettext("Exit maintenance mode")+"",QW='pause'+django.gettext("Enter maintenance mode")+"",KW='import_export'+django.gettext("Import CSV")+"",cA=(()=>{let e=class e{constructor(t,n,o){this.route=t,this.rest=n,this.api=o,this.cButtons=[{id:"maintenance",html:lA,type:ct.SINGLE_SELECT}],this.server=null,this.gui=[],this.servers={}}get customButtons(){return this.api.user.isAdmin?this.cButtons:[]}ngOnInit(){return W(this,null,function*(){let t=this.route.snapshot.paramMap.get("server");t&&(this.servers=this.rest.serverGroups.detail(t,"servers"),this.server=yield this.servers.parentModel.get(t),this.gui=yield this.servers.parentModel.gui(this.server.type),this.server.type.startsWith("UNMANAGED")&&this.cButtons.push({id:"import-csv",html:KW,type:ct.ALWAYS}))})}onMaintenance(t){let n=t.table.selection.selected[0],o=n.maintenance_mode?django.gettext("Exit maintenance mode?"):django.gettext("Enter maintenance mode?");this.api.gui.questionDialog(django.gettext("Maintenance mode for")+" "+n.name,o).then(a=>{a&&this.servers.get(n.id+"/maintenance").then(()=>{t.table.overview()})})}onImportCSV(t){return W(this,null,function*(){let n=yield sA.launch(this.api,{title:django.gettext("Import Servers"),help:django.gettext('Format of file must be "hostname,ip,mac,...". All fields except hostname are optional. Separator can be configured.')});if(n.data.length==0)return;let o=yield this.servers.put({data:n.data},this.server.id+"/importcsv");o&&o.length>0&&this.api.gui.alert("Errors found importing data: ",o.slice(0,16).join(`
-`)),t.table.overview()})}customButtonAction(t){return W(this,null,function*(){if(t.param.id=="maintenance")return yield this.onMaintenance(t);if(t.param.id=="import-csv")return yield this.onImportCSV(t)})}onNew(t){this.api.gui.forms.typedNewForm(t,django.gettext("New server"),!0)}onEdit(t){this.api.gui.forms.typedEditForm(t,django.gettext("Edit server"),!0)}onDelete(t){this.api.gui.forms.deleteForm(t,django.gettext("Remove server from server group"),"hostname")}onRowSelect(t){let n=t.table;if(n.selection.selected.length>1||n.selection.selected.length===0){this.customButtons[0].html=lA;return}n.selection.selected[0].maintenance_mode?this.customButtons[0].html=YW:this.customButtons[0].html=QW}onLoad(t){if(t.param===!0){let n=this.route.snapshot.paramMap.get("server");if(n!==void 0){let o=t.table;o.dataSource.data.forEach(a=>{a.id===n&&o.selection.select(a)})}}}};e.\u0275fac=function(n){return new(n||e)(m(Oe),m(X),m(B))},e.\u0275cmp=E({type:e,selectors:[["uds-server-detail"]],decls:9,vars:6,consts:[[1,"detail"],[1,"mat-elevation-z4","title"],[3,"routerLink"],[1,"material-icons"],[3,"src"],["class","card",4,"ngIf"],[1,"card"],[1,"card-content"],["backgroundColor","primary","selectedIndex","1"],["mat-tab-label",""],[1,"content"],[3,"value","gui"],["icon","servers",3,"newAction","editAction","rowSelected","deleteAction","customButtonAction","loaded","rest","multiSelect","allowExport","customButtons","pageSize","tableId"]],template:function(n,o){n&1&&(c(0,"div",0)(1,"div",1)(2,"a",2)(3,"i",3),g(4,"arrow_back"),d()(),g(5," \xA0"),I(6,"img",4),g(7),d(),x(8,qW,11,9,"div",5),d()),n&2&&(h(2),p("routerLink",Bi(4,$W,o.servers.parentId)),h(4),p("src",o.api.staticURL("admin/img/icons/servers.png"),Ie),h(),F(" \xA0",o.server==null?null:o.server.name," "),h(),p("ngIf",o.server!==null))},dependencies:[me,bi,ei,ti,oi,le,Te,po],styles:[".row-maintenance-true>mat-cell{color:orange!important}"]});let i=e;return i})();var aw=(()=>{let e=class e{constructor(t,n,o){this.api=t,this.route=n,this.rest=o}ngOnInit(){return W(this,null,function*(){let t=this.route.snapshot.paramMap.get("authenticator")})}onDetail(t){return W(this,null,function*(){this.api.navigation.gotoAuthenticatorDetail(t.param.id)})}onNew(t){return W(this,null,function*(){this.api.gui.forms.typedNewForm(t,django.gettext("New Authenticator"),!0)})}onEdit(t){return W(this,null,function*(){this.api.gui.forms.typedEditForm(t,django.gettext("Edit Authenticator"),!0)})}onDelete(t){return W(this,null,function*(){this.api.gui.forms.deleteForm(t,django.gettext("Delete Authenticator"))})}onLoad(t){return W(this,null,function*(){t.param===!0&&t.table.selectElement("id",this.route.snapshot.paramMap.get("authenticator"))})}processElement(t){t.visible=this.api.boolAsHumanString(t.visible)}};e.\u0275fac=function(n){return new(n||e)(m(B),m(Oe),m(X))},e.\u0275cmp=E({type:e,selectors:[["uds-authenticators"]],decls:2,vars:6,consts:[["icon","authenticators",3,"newAction","editAction","deleteAction","detailAction","loaded","rest","multiSelect","allowExport","hasPermissions","onItem","pageSize"]],template:function(n,o){n&1&&(c(0,"div")(1,"uds-table",0),b("newAction",function(s){return o.onNew(s)})("editAction",function(s){return o.onEdit(s)})("deleteAction",function(s){return o.onDelete(s)})("detailAction",function(s){return o.onDetail(s)})("loaded",function(s){return o.onLoad(s)}),d()()),n&2&&(h(),p("rest",o.rest.authenticators)("multiSelect",!0)("allowExport",!0)("hasPermissions",!0)("onItem",o.processElement)("pageSize",o.api.config.admin.page_size))},dependencies:[Te]});let i=e;return i})();var sw=(()=>{let e=class e{constructor(t,n,o){this.api=t,this.route=n,this.rest=o}ngOnInit(){let t=this.route.snapshot.paramMap.get("mfa")}onNew(t){this.api.gui.forms.typedNewForm(t,django.gettext("New MFA"))}onEdit(t){this.api.gui.forms.typedEditForm(t,django.gettext("Edit MFA"))}onDelete(t){this.api.gui.forms.deleteForm(t,django.gettext("Delete MFA"))}onLoad(t){t.param===!0&&t.table.selectElement("id",this.route.snapshot.paramMap.get("mfa"))}};e.\u0275fac=function(n){return new(n||e)(m(B),m(Oe),m(X))},e.\u0275cmp=E({type:e,selectors:[["uds-mfas"]],decls:2,vars:5,consts:[["icon","mfas",3,"newAction","editAction","deleteAction","loaded","rest","multiSelect","allowExport","hasPermissions","pageSize"]],template:function(n,o){n&1&&(c(0,"div")(1,"uds-table",0),b("newAction",function(s){return o.onNew(s)})("editAction",function(s){return o.onEdit(s)})("deleteAction",function(s){return o.onDelete(s)})("loaded",function(s){return o.onLoad(s)}),d()()),n&2&&(h(),p("rest",o.rest.mfas)("multiSelect",!0)("allowExport",!0)("hasPermissions",!0)("pageSize",o.api.config.admin.page_size))},dependencies:[Te]});let i=e;return i})();var ZW=["panel"],XW=["*"];function JW(i,e){if(i&1){let r=A();c(0,"div",1,0),b("@panelAnimation.done",function(n){y(r);let o=_();return w(o._animationDone.next(n))}),ae(2),d()}if(i&2){let r=e.id,t=_();Yt(t._classList),ne("mat-mdc-autocomplete-visible",t.showPanel)("mat-mdc-autocomplete-hidden",!t.showPanel)("mat-primary",t._color==="primary")("mat-accent",t._color==="accent")("mat-warn",t._color==="warn"),p("id",t.id)("@panelAnimation",t.isOpen?"visible":"hidden"),ie("aria-label",t.ariaLabel||null)("aria-labelledby",t._getPanelAriaLabelledby(r))}}var eG=ui("panelAnimation",[Lt("void, hidden",Me({opacity:0,transform:"scaleY(0.8)"})),St(":enter, hidden => visible",[I1([Mt("0.03s linear",Me({opacity:1})),Mt("0.12s cubic-bezier(0, 0, 0.2, 1)",Me({transform:"scaleY(1)"}))])]),St(":leave, visible => hidden",[Mt("0.075s linear",Me({opacity:0}))])]),tG=0,lw=class{constructor(e,r){this.source=e,this.option=r}},dA=new R("mat-autocomplete-default-options",{providedIn:"root",factory:iG});function iG(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1}}var Kl=(()=>{let e=class e{get isOpen(){return this._isOpen&&this.showPanel}_setColor(t){this._color=t,this._changeDetectorRef.markForCheck()}set classList(t){this._classList=t,this._elementRef.nativeElement.className=""}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(t){this._hideSingleSelectionIndicator=t,this._syncParentProperties()}_syncParentProperties(){if(this.options)for(let t of this.options)t._changeDetectorRef.markForCheck()}constructor(t,n,o,a){this._changeDetectorRef=t,this._elementRef=n,this._defaults=o,this._activeOptionChanges=ve.EMPTY,this._animationDone=new T,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new T,this.opened=new T,this.closed=new T,this.optionActivated=new T,this.id=`mat-autocomplete-${tG++}`,this.inertGroups=a?.SAFARI||!1,this.autoActiveFirstOption=!!o.autoActiveFirstOption,this.autoSelectActiveOption=!!o.autoSelectActiveOption,this.requireSelection=!!o.requireSelection,this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}ngAfterContentInit(){this._keyManager=new Rl(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(t=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[t]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe(),this._animationDone.complete()}_setScrollTop(t){this.panel&&(this.panel.nativeElement.scrollTop=t)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._changeDetectorRef.markForCheck()}_emitSelectEvent(t){let n=new lw(this,t);this.optionSelected.emit(n)}_getPanelAriaLabelledby(t){if(this.ariaLabel)return null;let n=t?t+" ":"";return this.ariaLabelledby?n+this.ariaLabelledby:t}_skipPredicate(){return!1}};e.\u0275fac=function(n){return new(n||e)(m(he),m(q),m(dA),m(Ve))},e.\u0275cmp=E({type:e,selectors:[["mat-autocomplete"]],contentQueries:function(n,o,a){if(n&1&&(Be(a,nt,5),Be(a,kd,5)),n&2){let s;Q(s=K())&&(o.options=s),Q(s=K())&&(o.optionGroups=s)}},viewQuery:function(n,o){if(n&1&&(ce(dt,7),ce(ZW,5)),n&2){let a;Q(a=K())&&(o.template=a.first),Q(a=K())&&(o.panel=a.first)}},hostAttrs:[1,"mat-mdc-autocomplete"],inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:[2,"autoActiveFirstOption","autoActiveFirstOption",Y],autoSelectActiveOption:[2,"autoSelectActiveOption","autoSelectActiveOption",Y],requireSelection:[2,"requireSelection","requireSelection",Y],panelWidth:"panelWidth",disableRipple:[2,"disableRipple","disableRipple",Y],classList:[0,"class","classList"],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",Y]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},exportAs:["matAutocomplete"],standalone:!0,features:[Ce([{provide:Td,useExisting:e}]),ge,re],ngContentSelectors:XW,decls:1,vars:0,consts:[["panel",""],["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id"]],template:function(n,o){n&1&&(He(),x(0,JW,3,16,"ng-template"))},styles:["div.mat-mdc-autocomplete-panel{width:100%;max-height:256px;visibility:hidden;transform-origin:center top;overflow:auto;padding:8px 0;box-sizing:border-box;position:static;border-radius:var(--mat-autocomplete-container-shape, var(--mat-app-corner-extra-small));box-shadow:var(--mat-autocomplete-container-elevation-shadow);background-color:var(--mat-autocomplete-background-color, var(--mat-app-surface-container))}.cdk-high-contrast-active div.mat-mdc-autocomplete-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) div.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above div.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden;pointer-events:none}mat-autocomplete{display:none}"],encapsulation:2,data:{animation:[eG]},changeDetection:0});let i=e;return i})();var nG={provide:vn,useExisting:Xt(()=>Cs),multi:!0};var uA=new R("mat-autocomplete-scroll-strategy",{providedIn:"root",factory:()=>{let i=k(xt);return()=>i.scrollStrategies.reposition()}});function oG(i){return()=>i.scrollStrategies.reposition()}var rG={provide:uA,deps:[xt],useFactory:oG},Cs=(()=>{let e=class e{constructor(t,n,o,a,s,l,u,f,v,C,D){this._element=t,this._overlay=n,this._viewContainerRef=o,this._zone=a,this._changeDetectorRef=s,this._dir=u,this._formField=f,this._document=v,this._viewportRuler=C,this._defaults=D,this._componentDestroyed=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=ve.EMPTY,this._breakpointObserver=k(Al),this._handsetLandscapeSubscription=ve.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new G,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._initialized=new G,this._injector=k(Pe),this._aboveClass="mat-mdc-autocomplete-panel-above",this._overlayAttached=!1,this.optionSelections=Xn(()=>{let S=this.autocomplete?this.autocomplete.options:null;return S?S.changes.pipe(Rt(S),Tt(()=>wt(...S.map(P=>P.onSelectionChange)))):this._initialized.pipe(Tt(()=>this.optionSelections))}),this._handlePanelKeydown=S=>{(S.keyCode===27&&!Pt(S)||S.keyCode===38&&Pt(S,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),S.stopPropagation(),S.preventDefault())},this._trackedModal=null,this._scrollStrategy=l}ngAfterViewInit(){this._initialized.next(),this._initialized.complete();let t=this._getWindow();typeof t<"u"&&this._zone.runOutsideAngular(()=>t.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(t){t.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){let t=this._getWindow();typeof t<"u"&&t.removeEventListener("blur",this._windowBlurHandler),this._handsetLandscapeSubscription.unsubscribe(),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete(),this._clearFromModal()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._openPanelInternal()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._latestOpeningTrigger===this&&(this.autocomplete._isOpen=!1,this.autocomplete._latestOpeningTrigger=null),this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._updatePanelState(),this._componentDestroyed||this._changeDetectorRef.detectChanges(),this._trackedModal&&va(this._trackedModal,"aria-owns",this.autocomplete.id))}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return wt(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(Ye(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(Ye(()=>this._overlayAttached)):oe()).pipe(ue(t=>t instanceof Md?t:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return wt(dn(this._document,"click"),dn(this._document,"auxclick"),dn(this._document,"touchend")).pipe(Ye(t=>{let n=mn(t),o=this._formField?this._formField.getConnectedOverlayOrigin().nativeElement:null,a=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&n!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!o||!o.contains(n))&&(!a||!a.contains(n))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(n)}))}writeValue(t){Promise.resolve(null).then(()=>this._assignOptionValue(t))}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this._element.nativeElement.disabled=t}_handleKeydown(t){let n=t.keyCode,o=Pt(t);if(n===27&&!o&&t.preventDefault(),this._valueOnLastKeydown=this._element.nativeElement.value,this.activeOption&&n===13&&this.panelOpen&&!o)this.activeOption._selectViaInteraction(),this._resetActiveItem(),t.preventDefault();else if(this.autocomplete){let a=this.autocomplete._keyManager.activeItem,s=n===38||n===40;n===9||s&&!o&&this.panelOpen?this.autocomplete._keyManager.onKeydown(t):s&&this._canOpen()&&this._openPanelInternal(this._valueOnLastKeydown),(s||this.autocomplete._keyManager.activeItem!==a)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._valueOnLastKeydown),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(t){let n=t.target,o=n.value;if(n.type==="number"&&(o=o==""?null:parseFloat(o)),this._previousValue!==o){if(this._previousValue=o,this._pendingAutoselectedOption=null,(!this.autocomplete||!this.autocomplete.requireSelection)&&this._onChange(o),!o)this._clearPreviousSelectedOption(null,!1);else if(this.panelOpen&&!this.autocomplete.requireSelection){let a=this.autocomplete.options?.find(s=>s.selected);if(a){let s=this._getDisplayValue(a.value);o!==s&&a.deselect(!1)}}if(this._canOpen()&&this._document.activeElement===t.target){let a=this._valueOnLastKeydown??this._element.nativeElement.value;this._valueOnLastKeydown=null,this._openPanelInternal(a)}}}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(this._previousValue),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this._openPanelInternal()}_floatLabel(t=!1){this._formField&&this._formField.floatLabel==="auto"&&(t?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){let t=new Re(o=>{ai(()=>{o.next()},{injector:this._injector})}),n=this.autocomplete.options.changes.pipe(Ht(()=>this._positionStrategy.reapplyLastPosition()),Qr(0));return wt(t,n).pipe(Tt(()=>this._zone.run(()=>{let o=this.panelOpen;return this._resetActiveItem(),this._updatePanelState(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),o!==this.panelOpen&&(this.panelOpen?this._emitOpened():this.autocomplete.closed.emit()),this.panelClosingActions})),Ot(1)).subscribe(o=>this._setValueAndClose(o))}_emitOpened(){this.autocomplete.opened.emit()}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_getDisplayValue(t){let n=this.autocomplete;return n&&n.displayWith?n.displayWith(t):t}_assignOptionValue(t){let n=this._getDisplayValue(t);t==null&&this._clearPreviousSelectedOption(null,!1),this._updateNativeInputValue(n??"")}_updateNativeInputValue(t){this._formField?this._formField._control.value=t:this._element.nativeElement.value=t,this._previousValue=t}_setValueAndClose(t){let n=this.autocomplete,o=t?t.source:this._pendingAutoselectedOption;o?(this._clearPreviousSelectedOption(o),this._assignOptionValue(o.value),this._onChange(o.value),n._emitSelectEvent(o),this._element.nativeElement.focus()):n.requireSelection&&this._element.nativeElement.value!==this._valueOnAttach&&(this._clearPreviousSelectedOption(null),this._assignOptionValue(null),n._animationDone?n._animationDone.pipe(Ot(1)).subscribe(()=>this._onChange(null)):this._onChange(null)),this.closePanel()}_clearPreviousSelectedOption(t,n){this.autocomplete?.options?.forEach(o=>{o!==t&&o.selected&&o.deselect(n)})}_openPanelInternal(t=this._element.nativeElement.value){if(this._attachOverlay(t),this._floatLabel(),this._trackedModal){let n=this.autocomplete.id;Nl(this._trackedModal,"aria-owns",n)}}_attachOverlay(t){this.autocomplete;let n=this._overlayRef;n?(this._positionStrategy.setOrigin(this._getConnectedElement()),n.updateSize({width:this._getPanelWidth()})):(this._portal=new Oi(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),n=this._overlay.create(this._getOverlayConfig()),this._overlayRef=n,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&n&&n.updateSize({width:this._getPanelWidth()})}),this._handsetLandscapeSubscription=this._breakpointObserver.observe(np.HandsetLandscape).subscribe(a=>{a.matches?this._positionStrategy.withFlexibleDimensions(!0).withGrowAfterOpen(!0).withViewportMargin(8):this._positionStrategy.withFlexibleDimensions(!1).withGrowAfterOpen(!1).withViewportMargin(0)})),n&&!n.hasAttached()&&(n.attach(this._portal),this._valueOnAttach=t,this._valueOnLastKeydown=null,this._closingActionsSubscription=this._subscribeToClosingActions());let o=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._latestOpeningTrigger=this,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this._applyModalPanelOwnership(),this.panelOpen&&o!==this.panelOpen&&this._emitOpened()}_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){let t=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=t.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=t.outsidePointerEvents().subscribe())}else this._keydownSubscription?.unsubscribe(),this._outsideClickSubscription?.unsubscribe(),this._keydownSubscription=this._outsideClickSubscription=null}_getOverlayConfig(){return new Mn({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){let t=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(t),this._positionStrategy=t,t}_setStrategyPositions(t){let n=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],o=this._aboveClass,a=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:o},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:o}],s;this.position==="above"?s=a:this.position==="below"?s=n:s=[...n,...a],t.withPositions(s)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){let t=this.autocomplete;if(t.autoActiveFirstOption){let n=-1;for(let o=0;o .cdk-overlay-container [aria-modal="true"]');if(!t)return;let n=this.autocomplete.id;this._trackedModal&&va(this._trackedModal,"aria-owns",n),Nl(t,"aria-owns",n),this._trackedModal=t}_clearFromModal(){if(this._trackedModal){let t=this.autocomplete.id;va(this._trackedModal,"aria-owns",t),this._trackedModal=null}}};e.\u0275fac=function(n){return new(n||e)(m(q),m(xt),m(Ct),m(Z),m(he),m(uA),m(Nt,8),m(Ro,9),m(se,8),m(fn),m(dA,8))},e.\u0275dir=L({type:e,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(n,o){n&1&&b("focusin",function(){return o._handleFocus()})("blur",function(){return o._onTouched()})("input",function(s){return o._handleInput(s)})("keydown",function(s){return o._handleKeydown(s)})("click",function(){return o._handleClick()}),n&2&&ie("autocomplete",o.autocompleteAttribute)("role",o.autocompleteDisabled?null:"combobox")("aria-autocomplete",o.autocompleteDisabled?null:"list")("aria-activedescendant",o.panelOpen&&o.activeOption?o.activeOption.id:null)("aria-expanded",o.autocompleteDisabled?null:o.panelOpen.toString())("aria-controls",o.autocompleteDisabled||!o.panelOpen||o.autocomplete==null?null:o.autocomplete.id)("aria-haspopup",o.autocompleteDisabled?null:"listbox")},inputs:{autocomplete:[0,"matAutocomplete","autocomplete"],position:[0,"matAutocompletePosition","position"],connectedTo:[0,"matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:[0,"autocomplete","autocompleteAttribute"],autocompleteDisabled:[2,"matAutocompleteDisabled","autocompleteDisabled",Y]},exportAs:["matAutocompleteTrigger"],standalone:!0,features:[Ce([nG]),ge,Qe]});let i=e;return i})(),hA=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=te({type:e}),e.\u0275inj=ee({providers:[rG],imports:[an,jl,pe,Ei,so,jl,pe]});let i=e;return i})();function aG(i,e){if(i&1&&(c(0,"div")(1,"uds-translate"),g(2,"Edit user"),d(),g(3),d()),i&2){let r=_();h(3),F(" ",r.user.name," ")}}function sG(i,e){i&1&&(c(0,"uds-translate"),g(1,"New user"),d())}function lG(i,e){if(i&1){let r=A();c(0,"mat-form-field")(1,"mat-label"),g(2),d(),c(3,"input",19),H("ngModelChange",function(n){y(r);let o=_();return $(o.user.name,n)||(o.user.name=n),w(n)}),d()()}if(i&2){let r=_();h(2),F(" ",r.authenticator.type_info.label_username," "),h(),U("ngModel",r.user.name),p("disabled",r.user.id)}}function cG(i,e){if(i&1&&(c(0,"mat-option",21),g(1),d()),i&2){let r=e.$implicit;p("value",r.id),h(),Ir(" ",r.id," (",r.name,") ")}}function dG(i,e){if(i&1){let r=A();c(0,"mat-form-field")(1,"mat-label"),g(2),d(),c(3,"input",20),H("ngModelChange",function(n){y(r);let o=_();return $(o.user.name,n)||(o.user.name=n),w(n)}),b("input",function(n){y(r);let o=_();return w(o.filterUser(n))}),d(),c(4,"mat-autocomplete",null,1),x(6,cG,2,3,"mat-option",16),d()()}if(i&2){let r=we(5),t=_();h(2),F(" ",t.authenticator.type_info.label_username," "),h(),U("ngModel",t.user.name),p("matAutocomplete",r),h(3),p("ngForOf",t.users)}}function uG(i,e){if(i&1){let r=A();c(0,"mat-form-field")(1,"mat-label"),g(2),d(),c(3,"input",22),H("ngModelChange",function(n){y(r);let o=_();return $(o.user.password,n)||(o.user.password=n),w(n)}),d()()}if(i&2){let r=_();h(2),F(" ",r.authenticator.type_info.label_password," "),h(),U("ngModel",r.user.password)}}function hG(i,e){if(i&1){let r=A();c(0,"mat-form-field")(1,"mat-label")(2,"uds-translate"),g(3,"MFA"),d()(),c(4,"input",23),H("ngModelChange",function(n){y(r);let o=_();return $(o.user.mfa_data,n)||(o.user.mfa_data=n),w(n)}),d()()}if(i&2){let r=_();h(4),U("ngModel",r.user.mfa_data)}}function mG(i,e){if(i&1&&(c(0,"mat-option",21),g(1),d()),i&2){let r=e.$implicit;p("value",r.id),h(),F(" ",r.name," ")}}var dw=(()=>{let e=class e{constructor(t,n,o,a){this.api=t,this.rest=n,this.dialogRef=o,this.groups=[],this.onSave=new T(!0),this.users=[],this.authenticator=a.authenticator,this.user={id:void 0,name:"",real_name:"",comments:"",state:"A",is_admin:!1,staff_member:!1,password:"",role:"user",mfa:"",groups:[]},a.user!==void 0&&(this.user.id=a.user.id,this.user.name=a.user.name)}static launch(t,n,o){let a=window.innerWidth<800?"60%":"40%";return t.gui.dialog.open(e,{width:a,position:{top:window.innerWidth<800?"0px":"7rem"},data:{authenticator:n,user:o},disableClose:!1}).componentInstance.onSave}ngOnInit(){this.rest.authenticators.detail(this.authenticator.id,"groups").overview().then(t=>{this.groups=t}),this.user.id&&this.rest.authenticators.detail(this.authenticator.id,"users").get(this.user.id).then(t=>{this.user=t,this.user.role=t.is_admin?"admin":t.staff_member?"staff":"user"},t=>{this.dialogRef.close()})}roleChanged(t){this.user.is_admin=t==="admin",this.user.staff_member=t==="admin"||t==="staff"}filterUser(t){let n=t.target.value;this.rest.authenticators.search(this.authenticator.id,"user",n,100).then(o=>{this.users.length=0,o.forEach(a=>{this.users.push(a)})})}save(){this.rest.authenticators.detail(this.authenticator.id,"users").save(this.user).then(t=>{this.dialogRef.close(),this.onSave.emit(!0)})}};e.\u0275fac=function(n){return new(n||e)(m(B),m(X),m(Ne),m(Ke))},e.\u0275cmp=E({type:e,selectors:[["uds-new-user"]],decls:58,vars:12,consts:[["nousertitle",""],["auto","matAutocomplete"],["mat-dialog-title",""],[4,"ngIf","ngIfElse"],[1,"content"],[4,"ngIf"],["type","text","matInput","","autocomplete","new-real_name",3,"ngModelChange","ngModel"],["type","text","matInput","","autocomplete","new-comments",3,"ngModelChange","ngModel"],[3,"ngModelChange","ngModel"],["value","A"],["value","I"],[3,"ngModelChange","valueChange","ngModel"],["value","admin"],["value","staff"],["value","user"],["multiple","",3,"ngModelChange","ngModel"],[3,"value",4,"ngFor","ngForOf"],["mat-raised-button","","mat-dialog-close","","color","warn"],["mat-raised-button","","color","primary",3,"click"],["type","text","matInput","","autocomplete","new-username",3,"ngModelChange","ngModel","disabled"],["type","text","aria-label","Number","matInput","",3,"ngModelChange","input","ngModel","matAutocomplete"],[3,"value"],["type","password","matInput","","autocomplete","new-password",3,"ngModelChange","ngModel"],["type","text","matInput","",3,"ngModelChange","ngModel"]],template:function(n,o){if(n&1){let a=A();c(0,"h4",2),x(1,aG,4,1,"div",3)(2,sG,2,0,"ng-template",null,0,fi),d(),c(4,"mat-dialog-content")(5,"div",4),x(6,lG,4,3,"mat-form-field",5)(7,dG,7,4,"mat-form-field",5),c(8,"mat-form-field")(9,"mat-label")(10,"uds-translate"),g(11,"Real name"),d()(),c(12,"input",6),H("ngModelChange",function(l){return y(a),$(o.user.real_name,l)||(o.user.real_name=l),w(l)}),d()(),c(13,"mat-form-field")(14,"mat-label")(15,"uds-translate"),g(16,"Comments"),d()(),c(17,"input",7),H("ngModelChange",function(l){return y(a),$(o.user.comments,l)||(o.user.comments=l),w(l)}),d()(),c(18,"mat-form-field")(19,"mat-label")(20,"uds-translate"),g(21,"State"),d()(),c(22,"mat-select",8),H("ngModelChange",function(l){return y(a),$(o.user.state,l)||(o.user.state=l),w(l)}),c(23,"mat-option",9)(24,"uds-translate"),g(25,"Enabled"),d()(),c(26,"mat-option",10)(27,"uds-translate"),g(28,"Disabled"),d()()()(),c(29,"mat-form-field")(30,"mat-label")(31,"uds-translate"),g(32,"Role"),d()(),c(33,"mat-select",11),H("ngModelChange",function(l){return y(a),$(o.user.role,l)||(o.user.role=l),w(l)}),b("valueChange",function(l){return y(a),w(o.roleChanged(l))}),c(34,"mat-option",12)(35,"uds-translate"),g(36,"Admin"),d()(),c(37,"mat-option",13)(38,"uds-translate"),g(39,"Staff member"),d()(),c(40,"mat-option",14)(41,"uds-translate"),g(42,"User"),d()()()(),x(43,uG,4,2,"mat-form-field",5)(44,hG,5,1,"mat-form-field",5),c(45,"mat-form-field")(46,"mat-label")(47,"uds-translate"),g(48,"Groups"),d()(),c(49,"mat-select",15),H("ngModelChange",function(l){return y(a),$(o.user.groups,l)||(o.user.groups=l),w(l)}),x(50,mG,2,2,"mat-option",16),d()()()(),c(51,"mat-dialog-actions")(52,"button",17)(53,"uds-translate"),g(54,"Cancel"),d()(),c(55,"button",18),b("click",function(){return y(a),w(o.save())}),c(56,"uds-translate"),g(57,"Ok"),d()()()}if(n&2){let a=we(3);h(),p("ngIf",o.user.id)("ngIfElse",a),h(5),p("ngIf",o.authenticator.type_info.search_users_supported===!1||o.user.id),h(),p("ngIf",o.authenticator.type_info.search_users_supported===!0&&!o.user.id),h(5),U("ngModel",o.user.real_name),h(5),U("ngModel",o.user.comments),h(5),U("ngModel",o.user.state),h(11),U("ngModel",o.user.role),h(10),p("ngIf",o.authenticator.type_info.needs_password),h(),p("ngIf",!o.authenticator.type_info.is_external),h(5),U("ngModel",o.user.groups),h(),p("ngForOf",o.groups)}},dependencies:[We,me,lt,xe,Se,ke,Qt,Je,tt,et,_e,Ae,ft,bt,nt,Kl,Cs,le],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:100%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}"]});let i=e;return i})();function pG(i,e){if(i&1&&(c(0,"div")(1,"uds-translate"),g(2,"Edit group"),d(),g(3),d()),i&2){let r=_();h(3),F(" ",r.group.name," ")}}function fG(i,e){i&1&&(c(0,"uds-translate"),g(1,"New group"),d())}function gG(i,e){if(i&1){let r=A();c(0,"mat-form-field")(1,"mat-label"),g(2),d(),c(3,"input",14),H("ngModelChange",function(n){y(r);let o=_(2);return $(o.group.name,n)||(o.group.name=n),w(n)}),d()()}if(i&2){let r=_(2);h(2),F(" ",r.authenticator.type_info.label_groupname," "),h(),U("ngModel",r.group.name),p("disabled",r.group.id)}}function _G(i,e){if(i&1&&(c(0,"mat-option",17),g(1),d()),i&2){let r=e.$implicit;p("value",r.id),h(),Ir(" ",r.id," (",r.name,") ")}}function vG(i,e){if(i&1){let r=A();c(0,"mat-form-field")(1,"mat-label"),g(2),d(),c(3,"input",15),H("ngModelChange",function(n){y(r);let o=_(2);return $(o.group.name,n)||(o.group.name=n),w(n)}),b("input",function(n){y(r);let o=_(2);return w(o.filterGroup(n))}),d(),c(4,"mat-autocomplete",null,3),x(6,_G,2,3,"mat-option",16),d()()}if(i&2){let r=we(5),t=_(2);h(2),F(" ",t.authenticator.type_info.label_groupname," "),h(),U("ngModel",t.group.name),p("matAutocomplete",r),h(3),p("ngForOf",t.fltrGroup)}}function bG(i,e){if(i&1&&(mt(0),x(1,gG,4,3,"mat-form-field",13)(2,vG,7,4,"mat-form-field",13),pt()),i&2){let r=_();h(),p("ngIf",r.authenticator.type_info.search_groups_supported===!1||r.group.id),h(),p("ngIf",r.authenticator.type_info.search_groups_supported===!0&&!r.group.id)}}function yG(i,e){if(i&1){let r=A();c(0,"mat-form-field")(1,"mat-label")(2,"uds-translate"),g(3,"Meta group name"),d()(),c(4,"input",14),H("ngModelChange",function(n){y(r);let o=_();return $(o.group.name,n)||(o.group.name=n),w(n)}),d()()}if(i&2){let r=_();h(4),U("ngModel",r.group.name),p("disabled",r.group.id)}}function wG(i,e){if(i&1&&(c(0,"mat-option",17),g(1),d()),i&2){let r=e.$implicit;p("value",r.id),h(),F(" ",r.name," ")}}function CG(i,e){if(i&1){let r=A();mt(0),c(1,"mat-form-field")(2,"mat-label")(3,"uds-translate"),g(4,"Service Pools"),d()(),c(5,"mat-select",18),H("ngModelChange",function(n){y(r);let o=_();return $(o.group.pools,n)||(o.group.pools=n),w(n)}),x(6,wG,2,2,"mat-option",16),d()(),pt()}if(i&2){let r=_();h(5),U("ngModel",r.group.pools),h(),p("ngForOf",r.servicePools)}}function xG(i,e){if(i&1&&(c(0,"mat-option",17),g(1),d()),i&2){let r=_().$implicit;p("value",r.id),h(),F(" ",r.name," ")}}function DG(i,e){if(i&1&&(mt(0),x(1,xG,2,2,"mat-option",20),pt()),i&2){let r=e.$implicit;h(),p("ngIf",r.type==="group")}}function SG(i,e){if(i&1){let r=A();c(0,"mat-form-field")(1,"mat-label")(2,"uds-translate"),g(3,"Match mode"),d()(),c(4,"mat-select",8),H("ngModelChange",function(n){y(r);let o=_();return $(o.group.meta_if_any,n)||(o.group.meta_if_any=n),w(n)}),c(5,"mat-option",17)(6,"uds-translate"),g(7,"Any group"),d()(),c(8,"mat-option",17)(9,"uds-translate"),g(10,"All groups"),d()()()(),c(11,"mat-form-field")(12,"mat-label")(13,"uds-translate"),g(14,"Selected Groups"),d()(),c(15,"mat-select",18),H("ngModelChange",function(n){y(r);let o=_();return $(o.group.groups,n)||(o.group.groups=n),w(n)}),x(16,DG,2,1,"ng-container",19),d()()}if(i&2){let r=_();h(4),U("ngModel",r.group.meta_if_any),h(),p("value",!0),h(3),p("value",!1),h(7),U("ngModel",r.group.groups),h(),p("ngForOf",r.groups)}}var uw=(()=>{let e=class e{constructor(t,n,o,a){this.api=t,this.rest=n,this.dialogRef=o,this.onSave=new T(!0),this.servicePools=[],this.groups=[],this.fltrGroup=[],this.authenticator=a.authenticator,this.group={id:void 0,type:a.groupType,name:"",comments:"",meta_if_any:!1,skip_mfa:"I",state:"A",groups:[],pools:[]},a.group!==void 0&&(this.group.id=a.group.id,this.group.type=a.group.type,this.group.name=a.group.name)}static launch(t,n,o,a){let s=window.innerWidth<800?"60%":"40%";return t.gui.dialog.open(e,{width:s,position:{top:window.innerWidth<800?"0px":"7rem"},data:{authenticator:n,groupType:o,group:a},disableClose:!0}).componentInstance.onSave}ngOnInit(){let t=this.rest.authenticators.detail(this.authenticator.id,"groups");this.group.id!==void 0&&t.get(this.group.id).then(n=>{this.group=n},n=>{this.dialogRef.close()}),this.group.type==="meta"?t.summary().then(n=>this.groups=n):this.rest.servicesPools.summary().then(n=>this.servicePools=n)}filterGroup(t){let n=t.target.value;this.rest.authenticators.search(this.authenticator.id,"group",n,100).then(o=>{this.fltrGroup.length=0,o.forEach(a=>{this.fltrGroup.push(a)})})}getMatchValue(){return django.gettext("Match mode")+this.group.meta_if_any?django.gettext("Any"):django.gettext("All")}save(){this.rest.authenticators.detail(this.authenticator.id,"groups").save(this.group).then(t=>{this.dialogRef.close(),this.onSave.emit(!0)})}};e.\u0275fac=function(n){return new(n||e)(m(B),m(X),m(Ne),m(Ke))},e.\u0275cmp=E({type:e,selectors:[["uds-new-group"]],decls:46,vars:9,consts:[["nousertitle",""],["metafirst",""],["metasecond",""],["auto","matAutocomplete"],["mat-dialog-title",""],[4,"ngIf","ngIfElse"],[1,"content"],["type","text","matInput","",3,"ngModelChange","ngModel"],[3,"ngModelChange","ngModel"],["value","A"],["value","I"],["mat-raised-button","","mat-dialog-close","","color","warn"],["mat-raised-button","","color","primary",3,"click"],[4,"ngIf"],["type","text","matInput","",3,"ngModelChange","ngModel","disabled"],["type","text","aria-label","Number","matInput","",3,"ngModelChange","input","ngModel","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["multiple","",3,"ngModelChange","ngModel"],[4,"ngFor","ngForOf"],[3,"value",4,"ngIf"]],template:function(n,o){if(n&1){let a=A();c(0,"h4",4),x(1,pG,4,1,"div",5)(2,fG,2,0,"ng-template",null,0,fi),d(),c(4,"mat-dialog-content")(5,"div",6),x(6,bG,3,2,"ng-container",5)(7,yG,5,2,"ng-template",null,1,fi),c(9,"mat-form-field")(10,"mat-label")(11,"uds-translate"),g(12,"Comments"),d()(),c(13,"input",7),H("ngModelChange",function(l){return y(a),$(o.group.comments,l)||(o.group.comments=l),w(l)}),d()(),c(14,"mat-form-field")(15,"mat-label")(16,"uds-translate"),g(17,"State"),d()(),c(18,"mat-select",8),H("ngModelChange",function(l){return y(a),$(o.group.state,l)||(o.group.state=l),w(l)}),c(19,"mat-option",9)(20,"uds-translate"),g(21,"Enabled"),d()(),c(22,"mat-option",10)(23,"uds-translate"),g(24,"Disabled"),d()()()(),c(25,"mat-form-field")(26,"mat-label")(27,"uds-translate"),g(28,"Skip MFA"),d()(),c(29,"mat-select",8),H("ngModelChange",function(l){return y(a),$(o.group.skip_mfa,l)||(o.group.skip_mfa=l),w(l)}),c(30,"mat-option",9)(31,"uds-translate"),g(32,"Enabled"),d()(),c(33,"mat-option",10)(34,"uds-translate"),g(35,"Disabled"),d()()()(),x(36,CG,7,2,"ng-container",5)(37,SG,17,5,"ng-template",null,2,fi),d()(),c(39,"mat-dialog-actions")(40,"button",11)(41,"uds-translate"),g(42,"Cancel"),d()(),c(43,"button",12),b("click",function(){return y(a),w(o.save())}),c(44,"uds-translate"),g(45,"Ok"),d()()()}if(n&2){let a=we(3),s=we(8),l=we(38);h(),p("ngIf",o.group.id)("ngIfElse",a),h(5),p("ngIf",o.group.type==="group")("ngIfElse",s),h(7),U("ngModel",o.group.comments),h(5),U("ngModel",o.group.state),h(11),U("ngModel",o.group.skip_mfa),h(7),p("ngIf",o.group.type==="group")("ngIfElse",l)}},dependencies:[We,me,lt,xe,Se,ke,Qt,Je,tt,et,_e,Ae,ft,bt,nt,Kl,Cs,le],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:100%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}.label-match[_ngcontent-%COMP%]{color:#0009;display:block;font-weight:400;left:0;line-height:18px;overflow:hidden;pointer-events:none;position:absolute;text-align:left;text-overflow:ellipsis;top:.5em;transform:matrix(.75,0,0,.75,0,-21.5);transform-origin:0px 0px;white-space:nowrap}"]});let i=e;return i})();function EG(i,e){i&1&&(c(0,"uds-translate"),g(1,"Groups"),d())}function IG(i,e){if(i&1&&(c(0,"mat-tab"),x(1,EG,2,0,"ng-template",2),I(2,"uds-table",6),d()),i&2){let r=_();h(2),p("rest",r.group)("pageSize",6)}}function MG(i,e){i&1&&(c(0,"uds-translate"),g(1,"Services Pools"),d())}function TG(i,e){if(i&1&&(c(0,"mat-tab"),x(1,MG,2,0,"ng-template",2),I(2,"uds-table",6),d()),i&2){let r=_();h(2),p("rest",r.servicesPools)("pageSize",6)}}function kG(i,e){i&1&&(c(0,"uds-translate"),g(1,"Assigned Services"),d())}function AG(i,e){if(i&1&&(c(0,"mat-tab"),x(1,kG,2,0,"ng-template",2),I(2,"uds-table",6),d()),i&2){let r=_();h(2),p("rest",r.userServices)("pageSize",6)}}function OG(i,e){i&1&&(c(0,"uds-translate"),g(1,"Logs"),d())}var RG=[{field:"name",title:django.gettext("Group")},{field:"comments",title:django.gettext("Comments")}],PG=[{field:"name",title:django.gettext("Pool")},{field:"state",title:django.gettext("State")},{field:"user_services_count",title:django.gettext("User Services")}],FG=[{field:"unique_id",title:django.gettext("Unique ID")},{field:"friendly_name",title:django.gettext("Friendly Name")},{field:"in_use",title:django.gettext("In Use")},{field:"ip",title:django.gettext("IP")},{field:"pool",title:django.gettext("Services Pool")}],mA=(()=>{let e=class e{constructor(t,n,o,a){this.api=t,this.rest=n,this.dialogRef=o,this.group={},this.servicesPools={},this.userServices={},this.users=a.users,this.user=a.user}static launch(t,n,o){let a=window.innerWidth<800?"80%":"60%",s=t.gui.dialog.open(e,{width:a,position:{top:window.innerWidth<800?"0px":"7rem"},data:{users:n,user:o},disableClose:!1})}ngOnInit(){return W(this,null,function*(){let t=()=>W(this,null,function*(){let a=yield this.rest.authenticators.detail(this.users.parentId,"users").get(this.user.id);return(yield this.rest.authenticators.detail(this.users.parentId,"groups").overview()).filter(l=>a.groups.includes(l.id))}),n=()=>W(this,null,function*(){return this.users.invoke(this.user.id+"/servicesPools")}),o=()=>W(this,null,function*(){return(yield this.users.invoke(this.user.id+"/userServices")).map(s=>(s.in_use=this.api.boolAsHumanString(s.in_use),s))});this.group=new mo(django.gettext("Groups"),t,RG,this.user.id+"infogrp"),this.servicesPools=new mo(django.gettext("Services Pools"),n,PG,this.user.id+"infopool"),this.userServices=new mo(django.gettext("Assigned services"),o,FG,this.user.id+"userservpool")})}};e.\u0275fac=function(n){return new(n||e)(m(B),m(X),m(Ne),m(Ke))},e.\u0275cmp=E({type:e,selectors:[["uds-user-information"]],decls:20,vars:14,consts:[["mat-dialog-title",""],[4,"ngIf"],["mat-tab-label",""],[1,"content"],[3,"rest","itemId","tableId","pageSize"],["mat-raised-button","","mat-dialog-close","","color","primary"],[3,"rest","pageSize"]],template:function(n,o){n&1&&(c(0,"h4",0)(1,"uds-translate"),g(2,"Information for"),d(),g(3),d(),c(4,"mat-dialog-content")(5,"mat-tab-group"),x(6,IG,3,2,"mat-tab",1),_t(7,"notEmpty"),x(8,TG,3,2,"mat-tab",1),_t(9,"notEmpty"),x(10,AG,3,2,"mat-tab",1),_t(11,"notEmpty"),c(12,"mat-tab"),x(13,OG,2,0,"ng-template",2),c(14,"div",3),I(15,"uds-logs-table",4),d()()()(),c(16,"mat-dialog-actions")(17,"button",5)(18,"uds-translate"),g(19,"Ok"),d()()()),n&2&&(h(3),F(" ",o.user.name,` -`),h(3),p("ngIf",Dt(7,8,o.group)),h(2),p("ngIf",Dt(9,10,o.servicesPools)),h(2),p("ngIf",Dt(11,12,o.userServices)),h(5),p("rest",o.users)("itemId",o.user.id)("tableId","userInfo-d-log"+o.user.id)("pageSize",5))},dependencies:[me,ke,Qt,Je,tt,et,ei,ti,oi,le,Te,An,yi],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}"]});let i=e;return i})();function NG(i,e){i&1&&(c(0,"uds-translate"),g(1,"Services Pools"),d())}function LG(i,e){if(i&1&&(c(0,"mat-tab"),x(1,NG,2,0,"ng-template",3),I(2,"uds-table",4),d()),i&2){let r=_();h(2),p("rest",r.servicesPools)("pageSize",6)}}function VG(i,e){i&1&&(c(0,"uds-translate"),g(1,"Users"),d())}function jG(i,e){if(i&1&&(c(0,"mat-tab"),x(1,VG,2,0,"ng-template",3),I(2,"uds-table",4),d()),i&2){let r=_();h(2),p("rest",r.users)("pageSize",6)}}function BG(i,e){i&1&&(c(0,"uds-translate"),g(1,"Groups"),d())}function zG(i,e){if(i&1&&(c(0,"mat-tab"),x(1,BG,2,0,"ng-template",3),I(2,"uds-table",4),d()),i&2){let r=_();h(2),p("rest",r.groups)("pageSize",6)}}var UG=[{field:"name",title:django.gettext("Pool")},{field:"state",title:django.gettext("State")},{field:"user_services_count",title:django.gettext("User Services")}],HG=[{field:"name",title:django.gettext("Name")},{field:"real_name",title:django.gettext("Real Name")},{field:"state",title:django.gettext("state")},{field:"last_access",title:django.gettext("Last access"),type:gi.DATETIME}],$G=[{field:"name",title:django.gettext("Group")},{field:"comments",title:django.gettext("Comments")}],pA=(()=>{let e=class e{constructor(t,n,o,a){this.api=t,this.rest=n,this.dialogRef=o,this.data=a,this.users={},this.groups={},this.servicesPools={}}static launch(t,n,o){let a=window.innerWidth<800?"80%":"60%",s=t.gui.dialog.open(e,{width:a,position:{top:window.innerWidth<800?"0px":"7rem"},data:{group:o,groups:n},disableClose:!1})}ngOnInit(){let t=this.rest.authenticators.detail(this.data.groups.parentId,"groups"),n=()=>t.invoke(this.data.group.id+"/servicesPools"),o=()=>t.invoke(this.data.group.id+"/users").then(a=>a.map(s=>(s.state=s.state==="A"?django.gettext("Enabled"):s.state==="I"?django.gettext("Disabled"):django.gettext("Blocked"),s)));if(this.servicesPools=new mo(django.gettext("Service pools"),n,UG,this.data.group.id+"infopls"),this.users=new mo(django.gettext("Users"),o,HG,this.data.group.id+"infousr"),this.data.group.type==="meta"){let a=()=>t.overview().then(s=>s.filter(l=>this.data.group.groups.includes(l.id)));this.groups=new mo(django.gettext("Groups"),a,$G,this.data.group.id+"infogrps")}}};e.\u0275fac=function(n){return new(n||e)(m(B),m(X),m(Ne),m(Ke))},e.\u0275cmp=E({type:e,selectors:[["uds-group-information"]],decls:15,vars:9,consts:[["mat-dialog-title",""],[4,"ngIf"],["mat-raised-button","","mat-dialog-close","","color","primary"],["mat-tab-label",""],[3,"rest","pageSize"]],template:function(n,o){n&1&&(c(0,"h4",0)(1,"uds-translate"),g(2,"Information for"),d()(),c(3,"mat-dialog-content")(4,"mat-tab-group"),x(5,LG,3,2,"mat-tab",1),_t(6,"notEmpty"),x(7,jG,3,2,"mat-tab",1),_t(8,"notEmpty"),x(9,zG,3,2,"mat-tab",1),_t(10,"notEmpty"),d()(),c(11,"mat-dialog-actions")(12,"button",2)(13,"uds-translate"),g(14,"Ok"),d()()()),n&2&&(h(5),p("ngIf",Dt(6,3,o.servicesPools)),h(2),p("ngIf",Dt(8,5,o.users)),h(2),p("ngIf",Dt(10,7,o.groups)))},dependencies:[me,ke,Qt,Je,tt,et,ei,ti,oi,le,Te,yi],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}"]});let i=e;return i})();var WG=i=>["/authenticators",i];function GG(i,e){i&1&&(c(0,"uds-translate"),g(1,"Summary"),d())}function qG(i,e){if(i&1&&I(0,"uds-information",16),i&2){let r=_(2);p("value",r.authenticator)("gui",r.gui)}}function YG(i,e){i&1&&(c(0,"uds-translate"),g(1,"Users"),d())}function QG(i,e){if(i&1){let r=A();c(0,"uds-table",17),b("loaded",function(n){y(r);let o=_(2);return w(o.onLoad(n))})("newAction",function(n){y(r);let o=_(2);return w(o.onNewUser(n))})("editAction",function(n){y(r);let o=_(2);return w(o.onEditUser(n))})("deleteAction",function(n){y(r);let o=_(2);return w(o.onDeleteUser(n))})("customButtonAction",function(n){y(r);let o=_(2);return w(o.onUserCustom(n))}),d()}if(i&2){let r=_(2);p("rest",r.users)("multiSelect",!0)("allowExport",!0)("tableId","authenticators-d-users"+r.authenticator.id)("customButtons",r.usersCustomButtons)("pageSize",r.api.config.admin.page_size)}}function KG(i,e){if(i&1){let r=A();c(0,"uds-table",18),b("loaded",function(n){y(r);let o=_(2);return w(o.onLoad(n))})("editAction",function(n){y(r);let o=_(2);return w(o.onEditUser(n))})("deleteAction",function(n){y(r);let o=_(2);return w(o.onDeleteUser(n))})("customButtonAction",function(n){y(r);let o=_(2);return w(o.onUserCustom(n))}),d()}if(i&2){let r=_(2);p("rest",r.users)("multiSelect",!0)("allowExport",!0)("tableId","authenticators-d-users"+r.authenticator.id)("customButtons",r.usersCustomButtons)("pageSize",r.api.config.admin.page_size)}}function ZG(i,e){i&1&&(c(0,"uds-translate"),g(1,"Groups"),d())}function XG(i,e){i&1&&(c(0,"uds-translate"),g(1,"Logs"),d())}function JG(i,e){if(i&1){let r=A();c(0,"div",6)(1,"div",7)(2,"mat-tab-group",8),H("selectedIndexChange",function(n){y(r);let o=_();return $(o.selectedTab,n)||(o.selectedTab=n),w(n)}),c(3,"mat-tab"),x(4,GG,2,0,"ng-template",9),c(5,"div",10),x(6,qG,1,2,"uds-information",11),_t(7,"notEmpty"),d()(),c(8,"mat-tab"),x(9,YG,2,0,"ng-template",9),c(10,"div",10),x(11,QG,1,6,"uds-table",12)(12,KG,1,6,"uds-table",13),d()(),c(13,"mat-tab"),x(14,ZG,2,0,"ng-template",9),c(15,"div",10)(16,"uds-table",14),b("loaded",function(n){y(r);let o=_();return w(o.onLoad(n))})("newAction",function(n){y(r);let o=_();return w(o.onNewGroup(n))})("editAction",function(n){y(r);let o=_();return w(o.onEditGroup(n))})("deleteAction",function(n){y(r);let o=_();return w(o.onDeleteGroup(n))})("customButtonAction",function(n){y(r);let o=_();return w(o.onGroupInformation(n))}),d()()(),c(17,"mat-tab"),x(18,XG,2,0,"ng-template",9),c(19,"div",10),I(20,"uds-logs-table",15),d()()()()()}if(i&2){let r=_();h(2),U("selectedIndex",r.selectedTab),p("@.disabled",!0),h(4),p("ngIf",Dt(7,14,r.gui)),h(5),p("ngIf",r.authenticator.type_info.create_users_supported),h(),p("ngIf",!r.authenticator.type_info.create_users_supported),h(4),p("rest",r.groups)("multiSelect",!0)("allowExport",!0)("customButtons",r.groupsCustomButtons)("tableId","authenticators-d-groups"+r.authenticator.id)("pageSize",r.api.config.admin.page_size),h(4),p("rest",r.rest.authenticators)("itemId",r.authenticator.id)("tableId","authenticators-d-log"+r.authenticator.id)}}var Jf=(()=>{let e=class e{constructor(t,n,o){this.route=t,this.rest=n,this.api=o,this.groupsCustomButtons=[{id:"info",html:'info '+django.gettext("Information")+"",type:ct.ONLY_MENU}],this.usersCustomButtons=[{id:"info",html:'info '+django.gettext("Information")+"",type:ct.ONLY_MENU},{id:"clean-related",html:'clear_all '+django.gettext("Clean related (mfa,...)")+"",type:ct.ONLY_MENU},{id:"enable-client-logging",html:'assignment '+django.gettext("Enable client logging")+"",type:ct.ONLY_MENU}],this.authenticator=null,this.gui=[],this.users={},this.groups={},this.selectedTab=1,this.selectedTab=this.route.snapshot.paramMap.get("group")?2:1}ngOnInit(){let t=this.route.snapshot.paramMap.get("authenticator");t&&(this.users=this.rest.authenticators.detail(t,"users"),this.groups=this.rest.authenticators.detail(t,"groups"),this.rest.authenticators.get(t).then(n=>{this.authenticator=n,this.rest.authenticators.gui(n.type).then(o=>{this.gui=o})}))}onLoad(t){if(t.param===!0){let n=this.route.snapshot.paramMap.get("user"),o=this.route.snapshot.paramMap.get("group"),a=n||o;t.table.selectElement("id",a)}}processElement(t){t.maintenance_state=t.maintenance_mode?django.gettext("In Maintenance"):django.gettext("Active")}onNewUser(t){dw.launch(this.api,this.authenticator).subscribe(n=>t.table.overview())}onEditUser(t){dw.launch(this.api,this.authenticator,t.table.selection.selected[0]).subscribe(n=>t.table.overview())}onDeleteUser(t){this.api.gui.forms.deleteForm(t,django.gettext("Delete user"))}onNewGroup(t){uw.launch(this.api,this.authenticator,t.param.type).subscribe(n=>t.table.overview())}onEditGroup(t){uw.launch(this.api,this.authenticator,t.param.type,t.table.selection.selected[0]).subscribe(n=>t.table.overview())}onDeleteGroup(t){this.api.gui.forms.deleteForm(t,django.gettext("Delete group"))}onUserCustom(t){return W(this,null,function*(){t.param.id==="info"?mA.launch(this.api,this.users,t.table.selection.selected[0]):t.param.id==="clean-related"?(yield this.api.gui.questionDialog(django.gettext("Clean data"),django.gettext("Clean related data (mfa, ...)?"),!0))&&(yield this.users.invoke(t.table.selection.selected[0].id+"/clean_related"),this.api.gui.snackbar.open(django.gettext("Related data cleaned"),django.gettext("dismiss"),{duration:2e3}),t.table.overview()):t.param.id==="enable-client-logging"&&(yield this.api.gui.questionDialog(django.gettext("Client logging"),django.gettext("Enable client logging for user?"),!0))&&(yield this.users.invoke(t.table.selection.selected[0].id+"/enable_client_logging"),this.api.gui.snackbar.open(django.gettext("Client logging enabled"),django.gettext("dismiss"),{duration:2e3}),t.table.overview())})}onGroupInformation(t){pA.launch(this.api,this.groups,t.table.selection.selected[0])}};e.\u0275fac=function(n){return new(n||e)(m(Oe),m(X),m(B))},e.\u0275cmp=E({type:e,selectors:[["uds-authenticators-detail"]],decls:10,vars:8,consts:[[1,"detail"],[1,"mat-elevation-z4","title"],[3,"routerLink"],[1,"material-icons"],[3,"src"],["class","card",4,"ngIf"],[1,"card"],[1,"card-content"],["backgroundColor","primary",3,"selectedIndexChange","selectedIndex"],["mat-tab-label",""],[1,"content"],[3,"value","gui",4,"ngIf"],["icon","users",3,"rest","multiSelect","allowExport","tableId","customButtons","pageSize","loaded","newAction","editAction","deleteAction","customButtonAction",4,"ngIf"],["icon","users",3,"rest","multiSelect","allowExport","tableId","customButtons","pageSize","loaded","editAction","deleteAction","customButtonAction",4,"ngIf"],["icon","groups",3,"loaded","newAction","editAction","deleteAction","customButtonAction","rest","multiSelect","allowExport","customButtons","tableId","pageSize"],[3,"rest","itemId","tableId"],[3,"value","gui"],["icon","users",3,"loaded","newAction","editAction","deleteAction","customButtonAction","rest","multiSelect","allowExport","tableId","customButtons","pageSize"],["icon","users",3,"loaded","editAction","deleteAction","customButtonAction","rest","multiSelect","allowExport","tableId","customButtons","pageSize"]],template:function(n,o){n&1&&(c(0,"div",0)(1,"div",1)(2,"a",2)(3,"i",3),g(4,"arrow_back"),d()(),g(5," \xA0"),I(6,"img",4),g(7),d(),x(8,JG,21,16,"div",5),_t(9,"notEmpty"),d()),n&2&&(h(2),p("routerLink",Bi(6,WG,o.authenticator?o.authenticator.id:"")),h(4),p("src",o.api.staticURL("admin/img/icons/services.png"),Ie),h(),F(" \xA0",o.authenticator==null?null:o.authenticator.name," "),h(),p("ngIf",Dt(9,4,o.authenticator)))},dependencies:[me,bi,ei,ti,oi,le,Te,An,po,yi]});let i=e;return i})();var hw=(()=>{let e=class e{constructor(t,n,o){this.api=t,this.route=n,this.rest=o}ngOnInit(){let t=this.route.snapshot.paramMap.get("osmanager")}onNew(t){this.api.gui.forms.typedNewForm(t,django.gettext("New OS Manager"),!1)}onEdit(t){this.api.gui.forms.typedEditForm(t,django.gettext("Edit OS Manager"),!1)}onDelete(t){this.api.gui.forms.deleteForm(t,django.gettext("Delete OS Manager"))}onLoad(t){t.param===!0&&t.table.selectElement("id",this.route.snapshot.paramMap.get("osmanager"))}};e.\u0275fac=function(n){return new(n||e)(m(B),m(Oe),m(X))},e.\u0275cmp=E({type:e,selectors:[["uds-osmanagers"]],decls:2,vars:5,consts:[["icon","osmanagers",3,"newAction","editAction","deleteAction","loaded","rest","multiSelect","allowExport","hasPermissions","pageSize"]],template:function(n,o){n&1&&(c(0,"div")(1,"uds-table",0),b("newAction",function(s){return o.onNew(s)})("editAction",function(s){return o.onEdit(s)})("deleteAction",function(s){return o.onDelete(s)})("loaded",function(s){return o.onLoad(s)}),d()()),n&2&&(h(),p("rest",o.rest.osManagers)("multiSelect",!0)("allowExport",!0)("hasPermissions",!0)("pageSize",o.api.config.admin.page_size))},dependencies:[Te]});let i=e;return i})();var mw=(()=>{let e=class e{constructor(t,n,o){this.api=t,this.route=n,this.rest=o}ngOnInit(){let t=this.route.snapshot.paramMap.get("transport")}onNew(t){this.api.gui.forms.typedNewForm(t,django.gettext("New Transport"))}onEdit(t){this.api.gui.forms.typedEditForm(t,django.gettext("Edit Transport"))}onDelete(t){this.api.gui.forms.deleteForm(t,django.gettext("Delete Transport"))}processElement(t){try{t.allowed_oss=t.allowed_oss.map(n=>n.id).join(", ")}catch{t.allowed_oss=""}}onLoad(t){t.param===!0&&t.table.selectElement("id",this.route.snapshot.paramMap.get("transport"))}};e.\u0275fac=function(n){return new(n||e)(m(B),m(Oe),m(X))},e.\u0275cmp=E({type:e,selectors:[["uds-transports"]],decls:2,vars:7,consts:[["icon","transports",3,"newAction","editAction","deleteAction","loaded","rest","multiSelect","allowExport","hasPermissions","newGrouped","onItem","pageSize"]],template:function(n,o){n&1&&(c(0,"div")(1,"uds-table",0),b("newAction",function(s){return o.onNew(s)})("editAction",function(s){return o.onEdit(s)})("deleteAction",function(s){return o.onDelete(s)})("loaded",function(s){return o.onLoad(s)}),d()()),n&2&&(h(),p("rest",o.rest.transports)("multiSelect",!0)("allowExport",!0)("hasPermissions",!0)("newGrouped",!0)("onItem",o.processElement)("pageSize",o.api.config.admin.page_size))},dependencies:[Te],styles:[".mat-column-priority{max-width:7rem;justify-content:center}"]});let i=e;return i})();var pw=(()=>{let e=class e{constructor(t,n,o){this.api=t,this.route=n,this.rest=o}ngOnInit(){let t=this.route.snapshot.paramMap.get("network")}onNew(t){this.api.gui.forms.typedNewForm(t,django.gettext("New Network"),!1)}onEdit(t){this.api.gui.forms.typedEditForm(t,django.gettext("Edit Network"),!1)}onDelete(t){this.api.gui.forms.deleteForm(t,django.gettext("Delete Network"))}onLoad(t){t.param===!0&&t.table.selectElement("id",this.route.snapshot.paramMap.get("network"))}};e.\u0275fac=function(n){return new(n||e)(m(B),m(Oe),m(X))},e.\u0275cmp=E({type:e,selectors:[["uds-networks"]],decls:2,vars:5,consts:[["icon","networks",3,"newAction","editAction","deleteAction","loaded","rest","multiSelect","allowExport","hasPermissions","pageSize"]],template:function(n,o){n&1&&(c(0,"div")(1,"uds-table",0),b("newAction",function(s){return o.onNew(s)})("editAction",function(s){return o.onEdit(s)})("deleteAction",function(s){return o.onDelete(s)})("loaded",function(s){return o.onLoad(s)}),d()()),n&2&&(h(),p("rest",o.rest.networks)("multiSelect",!0)("allowExport",!0)("hasPermissions",!0)("pageSize",o.api.config.admin.page_size))},dependencies:[Te]});let i=e;return i})();var fw=(()=>{let e=class e{constructor(t,n,o){this.route=t,this.rest=n,this.api=o}ngOnInit(){}onNew(t){this.api.gui.forms.typedNewForm(t,django.gettext("New tunnel"),!0)}onEdit(t){this.api.gui.forms.typedEditForm(t,django.gettext("Edit tunnel"),!0)}onDelete(t){this.api.gui.forms.deleteForm(t,django.gettext("Delete tunnel"))}onDetail(t){this.api.navigation.gotoTunnelDetail(t.param.id)}processElement(t){t.maintenance_state=t.maintenance_mode?django.gettext("In Maintenance"):django.gettext("Active")}onLoad(t){t.param===!0&&t.table.selectElement("id",this.route.snapshot.paramMap.get("tunnel"))}};e.\u0275fac=function(n){return new(n||e)(m(Oe),m(X),m(B))},e.\u0275cmp=E({type:e,selectors:[["uds-tunnels"]],decls:1,vars:6,consts:[["tableId","tunnels-table","icon","providers",3,"newAction","editAction","deleteAction","detailAction","loaded","rest","onItem","multiSelect","allowExport","hasPermissions","pageSize"]],template:function(n,o){n&1&&(c(0,"uds-table",0),b("newAction",function(s){return o.onNew(s)})("editAction",function(s){return o.onEdit(s)})("deleteAction",function(s){return o.onDelete(s)})("detailAction",function(s){return o.onDetail(s)})("loaded",function(s){return o.onLoad(s)}),d()),n&2&&p("rest",o.rest.tunnels)("onItem",o.processElement)("multiSelect",!0)("allowExport",!0)("hasPermissions",!0)("pageSize",o.api.config.admin.page_size)},dependencies:[Te]});let i=e;return i})();function e7(i,e){if(i&1&&(c(0,"mat-option",7),g(1),d()),i&2){let r=e.$implicit;p("value",r.id),h(),F(" ",r.name," ")}}var fA=(()=>{let e=class e{constructor(t,n,o,a){this.api=t,this.rest=n,this.dialogRef=o,this.done=new Jt,this.availTunnelServers=[],this.tunnelFilter="",this.serverId="",this.availTunnelServers=a.availableTunnelServers,this.tunnelId=a.tunnelId}static launch(t,n,o){return W(this,null,function*(){let a=window.innerWidth<800?"60%":"40%";return t.gui.dialog.open(e,{width:a,position:{top:window.innerWidth<800?"0px":"7rem"},data:{tunnelId:n,availableTunnelServers:o},disableClose:!1}).componentInstance.done})}ngOnInit(){return W(this,null,function*(){})}filteredTunnels(){if(!this.tunnelFilter)return this.availTunnelServers;let t=new Array;for(let n of this.availTunnelServers)n.name.toLocaleLowerCase().includes(this.tunnelFilter.toLocaleLowerCase())&&t.push(n);return t}save(){return W(this,null,function*(){if(this.serverId===""){this.api.gui.alert(django.gettext("Error"),django.gettext("Please, select a valid server"));return}this.dialogRef.close(),this.done.resolve(!0),yield this.rest.tunnels.assign(this.tunnelId,this.serverId)})}cancel(){return W(this,null,function*(){this.dialogRef.close(),this.done.resolve(!1)})}};e.\u0275fac=function(n){return new(n||e)(m(B),m(X),m(Ne),m(Ke))},e.\u0275cmp=E({type:e,selectors:[["uds-new-tunnel"]],decls:19,vars:3,consts:[["mat-dialog-title",""],[1,"content"],[3,"ngModelChange","ngModel"],[3,"changed","options"],[3,"value",4,"ngFor","ngForOf"],["mat-raised-button","","color","warn",3,"click"],["mat-raised-button","","color","primary",3,"click"],[3,"value"]],template:function(n,o){n&1&&(c(0,"h4",0)(1,"uds-translate"),g(2,"Assign new server to tunnel group"),d()(),c(3,"mat-dialog-content")(4,"div",1)(5,"mat-form-field")(6,"mat-label")(7,"uds-translate"),g(8,"Tunnel"),d()(),c(9,"mat-select",2),H("ngModelChange",function(s){return $(o.serverId,s)||(o.serverId=s),s}),c(10,"uds-cond-select-search",3),b("changed",function(s){return o.tunnelFilter=s}),d(),x(11,e7,2,2,"mat-option",4),d()()()(),c(12,"mat-dialog-actions")(13,"button",5),b("click",function(){return o.cancel()}),c(14,"uds-translate"),g(15,"Cancel"),d()(),c(16,"button",6),b("click",function(){return o.save()}),c(17,"uds-translate"),g(18,"Ok"),d()()()),n&2&&(h(9),U("ngModel",o.serverId),h(),p("options",o.availTunnelServers),h(),p("ngForOf",o.filteredTunnels()))},dependencies:[We,xe,Se,ke,Je,tt,et,_e,Ae,bt,nt,le,hi],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:100%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}"]});let i=e;return i})();var t7=i=>["/connectivity","tunnels",i];function i7(i,e){i&1&&(c(0,"uds-translate"),g(1,"Summary"),d())}function n7(i,e){i&1&&(c(0,"uds-translate"),g(1,"Tunnel servers"),d())}function o7(i,e){if(i&1){let r=A();c(0,"div",6)(1,"div",7)(2,"mat-tab-group",8)(3,"mat-tab"),x(4,i7,2,0,"ng-template",9),c(5,"div",10),I(6,"uds-information",11),d()(),c(7,"mat-tab"),x(8,n7,2,0,"ng-template",9),c(9,"div",10)(10,"uds-table",12),b("newAction",function(n){y(r);let o=_();return w(o.onNew(n))})("rowSelected",function(n){y(r);let o=_();return w(o.onRowSelect(n))})("deleteAction",function(n){y(r);let o=_();return w(o.onDelete(n))})("customButtonAction",function(n){y(r);let o=_();return w(o.onMaintenance(n))})("loaded",function(n){y(r);let o=_();return w(o.onLoad(n))}),d()()()()()()}if(i&2){let r=_();h(2),p("@.disabled",!0),h(4),p("value",r.tunnel)("gui",r.gui),h(4),p("rest",r.servers)("multiSelect",!0)("allowExport",!0)("customButtons",r.customButtons)("pageSize",r.api.config.admin.page_size)("tableId","tunnels-d-servers"+r.tunnel.id)}}var gA='pause'+django.gettext("Maintenance")+"",r7='pause'+django.gettext("Exit maintenance mode")+"",a7='pause'+django.gettext("Enter maintenance mode")+"",_A=(()=>{let e=class e{constructor(t,n,o){this.route=t,this.rest=n,this.api=o,this.cButtons=[{id:"maintenance",html:gA,type:ct.SINGLE_SELECT}],this.tunnel=null,this.gui=[],this.servers={}}get customButtons(){return this.api.user.isAdmin?this.cButtons:[]}ngOnInit(){return W(this,null,function*(){let t=this.route.snapshot.paramMap.get("tunnel");t&&(this.servers=this.rest.tunnels.detail(t,"servers"),this.tunnel=yield this.servers.parentModel.get(t),this.gui=yield this.servers.parentModel.gui(),console.log(this.gui),console.log(this.tunnel))})}onMaintenance(t){let n=t.table.selection.selected[0],o=n.maintenance_mode?django.gettext("Exit maintenance mode?"):django.gettext("Enter maintenance mode?");this.api.gui.questionDialog(django.gettext("Maintenance mode for")+" "+n.name,o).then(a=>{a&&this.servers.get(n.id+"/maintenance").then(()=>{t.table.overview()})})}onNew(t){return W(this,null,function*(){let n=yield this.rest.tunnels.tunnels(this.tunnel.id);n.length==0?this.api.gui.alert(django.gettext("Error"),django.gettext("This tunnel already has all the tunnel servers available")):(yield fA.launch(this.api,this.tunnel.id,n))===!0&&t.table.overview()})}onDelete(t){this.api.gui.forms.deleteForm(t,django.gettext("Remove member from tunnel"))}onRowSelect(t){let n=t.table;if(n.selection.selected.length>1||n.selection.selected.length===0){this.customButtons[0].html=gA;return}n.selection.selected[0].maintenance_mode?this.customButtons[0].html=r7:this.customButtons[0].html=a7}onLoad(t){if(t.param===!0){let n=this.route.snapshot.paramMap.get("tunnel");if(n!==void 0){let o=t.table;o.dataSource.data.forEach(a=>{a.id===n&&o.selection.select(a)})}}}};e.\u0275fac=function(n){return new(n||e)(m(Oe),m(X),m(B))},e.\u0275cmp=E({type:e,selectors:[["uds-tunnels-detail"]],decls:10,vars:8,consts:[[1,"detail"],[1,"mat-elevation-z4","title"],[3,"routerLink"],[1,"material-icons"],[3,"src"],["class","card",4,"ngIf"],[1,"card"],[1,"card-content"],["backgroundColor","primary","selectedIndex","1"],["mat-tab-label",""],[1,"content"],[3,"value","gui"],["icon","tunnels",3,"newAction","rowSelected","deleteAction","customButtonAction","loaded","rest","multiSelect","allowExport","customButtons","pageSize","tableId"]],template:function(n,o){n&1&&(c(0,"div",0)(1,"div",1)(2,"a",2)(3,"i",3),g(4,"arrow_back"),d()(),g(5," \xA0"),I(6,"img",4),g(7),d(),x(8,o7,11,9,"div",5),_t(9,"notEmpty"),d()),n&2&&(h(2),p("routerLink",Bi(6,t7,o.servers.parentId)),h(4),p("src",o.api.staticURL("admin/img/icons/tunnels.png"),Ie),h(),F(" \xA0",o.tunnel==null?null:o.tunnel.name," "),h(),p("ngIf",Dt(9,4,o.tunnel)))},dependencies:[me,bi,ei,ti,oi,le,Te,po,yi],styles:[".row-maintenance-true>mat-cell{color:orange!important}"]});let i=e;return i})();var gw=(()=>{let e=class e{constructor(t,n,o){this.route=t,this.rest=n,this.api=o,this.customButtons=[Ii.getGotoButton(Ty,"provider_id"),Ii.getGotoButton(ky,"provider_id","service_id"),Ii.getGotoButton(Ry,"osmanager_id"),Ii.getGotoButton(Py,"pool_group_id")],this.editing=!1}ngOnInit(){return W(this,null,function*(){})}onChange(t){return W(this,null,function*(){let n=["initial_srvs","cache_l1_srvs","max_srvs"];if(t.on===null||t.on.field.name==="service_id"){if(t.all.service_id.value===""){t.all.osmanager_id.gui.choices=[];for(let a of n)t.all[a].gui.readonly=!0;t.all.cache_l2_srvs.gui.readonly=!0;return}let o=yield this.rest.providers.service(t.all.service_id.value);if(t.all.allow_users_reset.gui.readonly=!o.info.can_reset,t.all.osmanager_id.gui.choices=[],this.editing||(t.all.osmanager_id.gui.readonly=!o.info.needs_osmanager),o.info.needs_osmanager===!0){let a=yield this.rest.osManagers.overview(),s=[];for(let l of a)for(let u of l.servicesTypes)o.info.services_type_provided==u&&s.push({id:l.id,text:l.name});s.length>0?t.all.osmanager_id.value=t.all.osmanager_id.value||s[0].id:t.all.osmanager_id.value="",t.all.osmanager_id.gui.choices=s}else t.all.osmanager_id.gui.choices=[{id:"",text:django.gettext("(This service does not requires an OS Manager)")}],t.all.osmanager_id.value="";for(let a of n)t.all[a].gui.readonly=!o.info.uses_cache;t.all.cache_l2_srvs.gui.readonly=o.info.uses_cache===!1||o.info.uses_cache_l2===!1,t.all.publish_on_save&&(t.all.publish_on_save.gui.readonly=!o.info.needs_publication)}})}onNew(t){return W(this,null,function*(){this.editing=!1,yield this.api.gui.forms.typedNewForm(t,django.gettext("New service Pool"),!1,[{name:"publish_on_save",value:!0,gui:{label:django.gettext("Publish on creation"),tooltip:django.gettext("If selected, will initiate the publication inmediatly after creation"),type:Ki.CHECKBOX,order:150,default:"true"}}],this.onChange.bind(this))})}onEdit(t){return W(this,null,function*(){return this.editing=!0,this.api.gui.forms.typedEditForm(t,django.gettext("Edit Service Pool"),!1,void 0,this.onChange.bind(this))})}onDelete(t){return W(this,null,function*(){return this.api.gui.forms.deleteForm(t,django.gettext("Delete service pool"))})}processElement(t){t.visible=this.api.boolAsHumanString(t.visible),t.show_transports=this.api.boolAsHumanString(t.show_transports),t.restrained?(t.name='warning '+this.api.gui.icon(t.info.icon)+t.name,t.state="T"):(t.name=this.api.gui.icon(t.info.icon)+t.name,t.meta_member.length>0&&(t.state="V")),t.name=this.api.safeString(t.name),t.pool_group_name=this.api.safeString(this.api.gui.icon(t.pool_group_thumb)+t.pool_group_name)}onDetail(t){this.api.navigation.gotoServicePoolDetail(t.param.id)}onLoad(t){t.param===!0&&t.table.selectElement("id",this.route.snapshot.paramMap.get("pool"))}};e.\u0275fac=function(n){return new(n||e)(m(Oe),m(X),m(B))},e.\u0275cmp=E({type:e,selectors:[["uds-service-pools"]],decls:1,vars:7,consts:[["icon","pools",3,"newAction","editAction","deleteAction","detailAction","loaded","rest","multiSelect","allowExport","hasPermissions","onItem","customButtons","pageSize"]],template:function(n,o){n&1&&(c(0,"uds-table",0),b("newAction",function(s){return o.onNew(s)})("editAction",function(s){return o.onEdit(s)})("deleteAction",function(s){return o.onDelete(s)})("detailAction",function(s){return o.onDetail(s)})("loaded",function(s){return o.onLoad(s)}),d()),n&2&&p("rest",o.rest.servicesPools)("multiSelect",!0)("allowExport",!0)("hasPermissions",!0)("onItem",o.processElement)("customButtons",o.customButtons)("pageSize",o.api.config.admin.page_size)},dependencies:[Te],styles:[".mat-column-user_services_count, .mat-column-user_services_in_preparation, .mat-column-visible, .mat-column-state, .mat-column-usage{max-width:7rem;justify-content:center} .mat-column-show_transports{max-width:12rem;justify-content:center} .mat-column-pool_group_name{max-width:12rem} .row-state-T>.mat-mdc-cell{color:#d65014!important} .mat-column-user_services_count{max-width:10rem;justify-content:center} .mat-column-user_services_in_preparation{max-width:10rem;justify-content:center}"]});let i=e;return i})();function s7(i,e){if(i&1&&(c(0,"mat-option",8),g(1),d()),i&2){let r=e.$implicit;p("value",r.id),h(),F(" ",r.name," ")}}function l7(i,e){if(i&1&&(c(0,"mat-option",8),g(1),d()),i&2){let r=e.$implicit;p("value",r.id),h(),F(" ",r.name," ")}}var eg=(()=>{let e=class e{constructor(t,n,o,a){this.api=t,this.rest=n,this.dialogRef=o,this.done=new Jt,this.auths=[],this.users=[],this.userFilter="",this.authId="",this.userId="",this.userService=a.userService,this.userServices=a.userServices}static launch(t,n,o){let a=window.innerWidth<800?"60%":"40%";return t.gui.dialog.open(e,{width:a,position:{top:window.innerWidth<800?"0px":"7rem"},data:{userService:n,userServices:o},disableClose:!1}).componentInstance.done}ngOnInit(){return W(this,null,function*(){this.authId=this.userService.owner_info.auth_id||"",this.userId=this.userService.owner_info.user_id||"",this.auths=yield this.rest.authenticators.summary(),this.authChanged()})}changeAuth(t){this.userId="",this.authChanged()}filteredUsers(){if(!this.userFilter)return this.users;let t=new Array;return this.users.forEach(n=>{(this.userFilter===""||n.name.toLocaleLowerCase().includes(this.userFilter.toLocaleLowerCase()))&&t.push(n)}),t}save(){if(this.userId===""||this.authId===""){this.api.gui.alert(django.gettext("Error"),django.gettext("Please, select a valid user"));return}this.userServices.save({id:this.userService.id,auth_id:this.authId,user_id:this.userId}).then(()=>{this.dialogRef.close(),this.done.resolve(!0)})}cancel(){this.dialogRef.close(),this.done.resolve(!1)}authChanged(){return W(this,null,function*(){this.authId?this.users=yield this.rest.authenticators.detail(this.authId,"users").summary():this.users=[]})}};e.\u0275fac=function(n){return new(n||e)(m(B),m(X),m(Ne),m(Ke))},e.\u0275cmp=E({type:e,selectors:[["uds-change-assigned-service-owner"]],decls:25,vars:5,consts:[["mat-dialog-title",""],[1,"content"],[3,"ngModelChange","selectionChange","ngModel"],[3,"value",4,"ngFor","ngForOf"],[3,"ngModelChange","ngModel"],[3,"changed","options"],["mat-raised-button","","color","warn",3,"click"],["mat-raised-button","","color","primary",3,"click"],[3,"value"]],template:function(n,o){n&1&&(c(0,"h4",0)(1,"uds-translate"),g(2,"Change owner of assigned service"),d()(),c(3,"mat-dialog-content")(4,"div",1)(5,"mat-form-field")(6,"mat-label")(7,"uds-translate"),g(8,"Authenticator"),d()(),c(9,"mat-select",2),H("ngModelChange",function(s){return $(o.authId,s)||(o.authId=s),s}),b("selectionChange",function(s){return o.changeAuth(s)}),x(10,s7,2,2,"mat-option",3),d()(),c(11,"mat-form-field")(12,"mat-label")(13,"uds-translate"),g(14,"User"),d()(),c(15,"mat-select",4),H("ngModelChange",function(s){return $(o.userId,s)||(o.userId=s),s}),c(16,"uds-cond-select-search",5),b("changed",function(s){return o.userFilter=s}),d(),x(17,l7,2,2,"mat-option",3),d()()()(),c(18,"mat-dialog-actions")(19,"button",6),b("click",function(){return o.cancel()}),c(20,"uds-translate"),g(21,"Cancel"),d()(),c(22,"button",7),b("click",function(){return o.save()}),c(23,"uds-translate"),g(24,"Ok"),d()()()),n&2&&(h(9),U("ngModel",o.authId),h(),p("ngForOf",o.auths),h(5),U("ngModel",o.userId),h(),p("options",o.users),h(),p("ngForOf",o.filteredUsers()))},dependencies:[We,xe,Se,ke,Je,tt,et,_e,Ae,bt,nt,le,hi],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:100%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}"]});let i=e;return i})();function c7(i,e){i&1&&(c(0,"uds-translate"),g(1,"New access rule for"),d())}function d7(i,e){i&1&&(c(0,"uds-translate"),g(1,"Edit access rule for"),d())}function u7(i,e){i&1&&(c(0,"uds-translate"),g(1,"Default fallback access for"),d())}function h7(i,e){if(i&1&&(c(0,"mat-option",11),g(1),d()),i&2){let r=e.$implicit;p("value",r.id),h(),F(" ",r.name," ")}}function m7(i,e){if(i&1){let r=A();mt(0),c(1,"mat-form-field")(2,"mat-label")(3,"uds-translate"),g(4,"Priority"),d()(),c(5,"input",8),H("ngModelChange",function(n){y(r);let o=_();return $(o.accessRule.priority,n)||(o.accessRule.priority=n),w(n)}),d()(),c(6,"mat-form-field")(7,"mat-label")(8,"uds-translate"),g(9,"Calendar"),d()(),c(10,"mat-select",3),H("ngModelChange",function(n){y(r);let o=_();return $(o.accessRule.calendar_id,n)||(o.accessRule.calendar_id=n),w(n)}),c(11,"uds-cond-select-search",9),b("changed",function(n){y(r);let o=_();return w(o.calendarsFilter=n)}),d(),x(12,h7,2,2,"mat-option",10),d()(),pt()}if(i&2){let r=_();h(5),U("ngModel",r.accessRule.priority),h(5),U("ngModel",r.accessRule.calendar_id),h(),p("options",r.calendars),h(),p("ngForOf",r.filtered(r.calendars,r.calendarsFilter))}}var Zl=(()=>{let e=class e{constructor(t,n,o,a){this.api=t,this.rest=n,this.dialogRef=o,this.onSave=new T(!0),this.calendars=[],this.calendarsFilter="",this.pool=a.pool,this.model=a.model,this.accessRule={id:void 0,priority:0,access:"ALLOW",calendar_id:""},a.accessRule&&(this.accessRule.id=a.accessRule.id)}static launch(t,n,o,a){let s=window.innerWidth<800?"80%":"60%";return t.gui.dialog.open(e,{width:s,position:{top:window.innerWidth<800?"0px":"7rem"},data:{pool:n,model:o,accessRule:a},disableClose:!1}).componentInstance.onSave}ngOnInit(){this.rest.calendars.summary().then(t=>{this.calendars=t}),this.accessRule.id!==void 0&&this.accessRule.id!==-1?this.model.get(this.accessRule.id).then(t=>{this.accessRule=t}):this.accessRule.id===-1&&this.model.parentModel.getFallbackAccess(this.pool.id).then(t=>this.accessRule.access=t)}filtered(t,n){return n?t.filter(o=>o.name.toLocaleLowerCase().includes(n.toLocaleLowerCase())):t}save(){let t=()=>{this.dialogRef.close(),this.onSave.emit(!0)};this.accessRule.id!==-1?this.model.save(this.accessRule).then(t):this.model.parentModel.setFallbackAccess(this.pool.id,this.accessRule.access).then(t)}};e.\u0275fac=function(n){return new(n||e)(m(B),m(X),m(Ne),m(Ke))},e.\u0275cmp=E({type:e,selectors:[["uds-service-pools-access-calendars"]],decls:24,vars:6,consts:[["mat-dialog-title",""],[4,"ngIf"],[1,"content"],[3,"ngModelChange","ngModel"],["value","ALLOW"],["value","DENY"],["mat-raised-button","","mat-dialog-close","","color","warn"],["mat-raised-button","","color","primary",3,"click"],["matInput","","type","number",3,"ngModelChange","ngModel"],[3,"changed","options"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(n,o){n&1&&(c(0,"h4",0),x(1,c7,2,0,"uds-translate",1)(2,d7,2,0,"uds-translate",1)(3,u7,2,0,"uds-translate",1),g(4),d(),c(5,"mat-dialog-content")(6,"div",2),x(7,m7,13,4,"ng-container",1),c(8,"mat-form-field")(9,"mat-label")(10,"uds-translate"),g(11,"Action"),d()(),c(12,"mat-select",3),H("ngModelChange",function(s){return $(o.accessRule.access,s)||(o.accessRule.access=s),s}),c(13,"mat-option",4),g(14," ALLOW "),d(),c(15,"mat-option",5),g(16," DENY "),d()()()()(),c(17,"mat-dialog-actions")(18,"button",6)(19,"uds-translate"),g(20,"Cancel"),d()(),c(21,"button",7),b("click",function(){return o.save()}),c(22,"uds-translate"),g(23,"Ok"),d()()()),n&2&&(h(),p("ngIf",o.accessRule.id===void 0),h(),p("ngIf",o.accessRule.id!==void 0&&o.accessRule.id!==-1),h(),p("ngIf",o.accessRule.id===-1),h(),F(" ",o.pool.name,` -`),h(3),p("ngIf",o.accessRule.id!==-1),h(5),U("ngModel",o.accessRule.access))},dependencies:[We,me,lt,$n,xe,Se,ke,Qt,Je,tt,et,_e,Ae,ft,bt,nt,le,hi],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:100%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}"]});let i=e;return i})();function p7(i,e){if(i&1&&(c(0,"mat-option",8),g(1),d()),i&2){let r=e.$implicit;p("value",r.id),h(),F(" ",r.name," ")}}function f7(i,e){if(i&1&&(mt(0),g(1),pt()),i&2){let r=_().$implicit;h(),F(" (",r.comments,")")}}function g7(i,e){if(i&1&&(c(0,"mat-option",8),g(1),x(2,f7,2,1,"ng-container",9),d()),i&2){let r=e.$implicit;p("value",r.id),h(),F(" ",r.name,""),h(),p("ngIf",r.comments)}}var tg=(()=>{let e=class e{constructor(t,n,o,a){this.api=t,this.rest=n,this.dialogRef=o,this.done=new Jt,this.model={},this.auths=[],this.authFilter="",this.groups=[],this.groupFilter="",this.authId="",this.groupId="",this.pool=a.pool,this.model=a.model}static launch(t,n,o){let a=window.innerWidth<800?"60%":"40%";return t.gui.dialog.open(e,{width:a,position:{top:window.innerWidth<800?"0px":"7rem"},data:{pool:n,model:o},disableClose:!1}).componentInstance.done}ngOnInit(){return W(this,null,function*(){this.auths=yield this.rest.authenticators.summary()})}changeAuth(t){return W(this,null,function*(){this.groupId="",this.authChanged()})}filteredGroups(){return!this.groupFilter||this.groupFilter.length<3?this.groups:this.groups.filter(t=>(t.name+t.comments).toLocaleLowerCase().includes(this.groupFilter.toLocaleLowerCase()))}filteredAuths(){return!this.authFilter||this.authFilter.length<3?this.auths:this.auths.filter(t=>t.name.toLocaleLowerCase().includes(this.authFilter.toLocaleLowerCase()))}save(){return W(this,null,function*(){if(this.groupId===""||this.authId===""){this.api.gui.alert(django.gettext("Error"),django.gettext("Please, select a valid group"));return}yield this.model.create({id:this.groupId}),this.dialogRef.close(),this.done.resolve(!0)})}cancel(){return W(this,null,function*(){this.dialogRef.close(),this.done.resolve(!1)})}authChanged(){return W(this,null,function*(){this.authId?this.groups=yield this.rest.authenticators.detail(this.authId,"groups").summary():this.groups=[]})}};e.\u0275fac=function(n){return new(n||e)(m(B),m(X),m(Ne),m(Ke))},e.\u0275cmp=E({type:e,selectors:[["uds-service-pools-add-group"]],decls:27,vars:7,consts:[["mat-dialog-title",""],[1,"content"],[3,"ngModelChange","selectionChange","ngModel"],[3,"changed","options"],[3,"value",4,"ngFor","ngForOf"],[3,"ngModelChange","ngModel"],["mat-raised-button","","color","warn",3,"click"],["mat-raised-button","","color","primary",3,"click"],[3,"value"],[4,"ngIf"]],template:function(n,o){n&1&&(c(0,"h4",0)(1,"uds-translate"),g(2,"New group for"),d(),g(3),d(),c(4,"mat-dialog-content")(5,"div",1)(6,"mat-form-field")(7,"mat-label")(8,"uds-translate"),g(9,"Authenticator"),d()(),c(10,"mat-select",2),H("ngModelChange",function(s){return $(o.authId,s)||(o.authId=s),s}),b("selectionChange",function(s){return o.changeAuth(s)}),c(11,"uds-cond-select-search",3),b("changed",function(s){return o.authFilter=s}),d(),x(12,p7,2,2,"mat-option",4),d()(),c(13,"mat-form-field")(14,"mat-label")(15,"uds-translate"),g(16,"Group"),d()(),c(17,"mat-select",5),H("ngModelChange",function(s){return $(o.groupId,s)||(o.groupId=s),s}),c(18,"uds-cond-select-search",3),b("changed",function(s){return o.groupFilter=s}),d(),x(19,g7,3,3,"mat-option",4),d()()()(),c(20,"mat-dialog-actions")(21,"button",6),b("click",function(){return o.cancel()}),c(22,"uds-translate"),g(23,"Cancel"),d()(),c(24,"button",7),b("click",function(){return o.save()}),c(25,"uds-translate"),g(26,"Ok"),d()()()),n&2&&(h(3),F(" ",o.pool.name,""),h(7),U("ngModel",o.authId),h(),p("options",o.auths),h(),p("ngForOf",o.filteredAuths()),h(5),U("ngModel",o.groupId),h(),p("options",o.groups),h(),p("ngForOf",o.filteredGroups()))},dependencies:[We,me,xe,Se,ke,Je,tt,et,_e,Ae,bt,nt,le,hi],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:100%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}"]});let i=e;return i})();function _7(i,e){if(i&1&&(mt(0),g(1),pt()),i&2){let r=_().$implicit;h(),F(" (",r.comments,")")}}function v7(i,e){if(i&1&&(c(0,"mat-option",7),g(1),x(2,_7,2,1,"ng-container",8),d()),i&2){let r=e.$implicit;p("value",r.id),h(),F(" ",r.name,""),h(),p("ngIf",r.comments)}}var vA=(()=>{let e=class e{constructor(t,n,o,a){this.api=t,this.rest=n,this.dialogRef=o,this.done=new Jt,this.transports=[],this.transportsFilter="",this.transportId="",this.servicePool=a.servicePool}static launch(t,n){let o=window.innerWidth<800?"60%":"40%";return t.gui.dialog.open(e,{width:o,position:{top:window.innerWidth<800?"0px":"7rem"},data:{servicePool:n},disableClose:!1}).componentInstance.done}ngOnInit(){return W(this,null,function*(){this.transports=(yield this.rest.transports.summary()).filter(t=>this.servicePool.info.allowed_protocols.includes(t.protocol))})}filteredTransports(){return this.transportsFilter?this.transports.filter(t=>t.name.toLocaleLowerCase().includes(this.transportsFilter.toLocaleLowerCase())):this.transports}save(){return W(this,null,function*(){if(this.transportId===""){this.api.gui.alert(django.gettext("Error"),django.gettext("Please, select a valid transport"));return}yield this.rest.servicesPools.detail(this.servicePool.id,"transports").create({id:this.transportId}),this.done.resolve(!0),this.dialogRef.close()})}cancel(){return W(this,null,function*(){this.done.resolve(!1),this.dialogRef.close()})}};e.\u0275fac=function(n){return new(n||e)(m(B),m(X),m(Ne),m(Ke))},e.\u0275cmp=E({type:e,selectors:[["uds-service-pools-add-transport"]],decls:20,vars:4,consts:[["mat-dialog-title",""],[1,"content"],[3,"ngModelChange","ngModel"],[3,"changed","options"],[3,"value",4,"ngFor","ngForOf"],["mat-raised-button","","color","warn",3,"click"],["mat-raised-button","","color","primary",3,"click"],[3,"value"],[4,"ngIf"]],template:function(n,o){n&1&&(c(0,"h4",0)(1,"uds-translate"),g(2,"New transport for"),d(),g(3),d(),c(4,"mat-dialog-content")(5,"div",1)(6,"mat-form-field")(7,"mat-label")(8,"uds-translate"),g(9,"Transport"),d()(),c(10,"mat-select",2),H("ngModelChange",function(s){return $(o.transportId,s)||(o.transportId=s),s}),c(11,"uds-cond-select-search",3),b("changed",function(s){return o.transportsFilter=s}),d(),x(12,v7,3,3,"mat-option",4),d()()()(),c(13,"mat-dialog-actions")(14,"button",5),b("click",function(){return o.cancel()}),c(15,"uds-translate"),g(16,"Cancel"),d()(),c(17,"button",6),b("click",function(){return o.save()}),c(18,"uds-translate"),g(19,"Ok"),d()()()),n&2&&(h(3),F(" ",o.servicePool.name,""),h(7),U("ngModel",o.transportId),h(),p("options",o.transports),h(),p("ngForOf",o.filteredTransports()))},dependencies:[We,me,xe,Se,ke,Je,tt,et,_e,Ae,bt,nt,le,hi],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:100%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}"]});let i=e;return i})();var bA=(()=>{let e=class e{constructor(t,n,o,a){this.api=t,this.rest=n,this.dialogRef=o,this.done=new Jt,this.reason="",this.servicePool=a.servicePool}static launch(t,n){let o=window.innerWidth<800?"60%":"40%";return t.gui.dialog.open(e,{width:o,position:{top:window.innerWidth<800?"0px":"7rem"},data:{servicePool:n},disableClose:!1}).componentInstance.done}ngOnInit(){}save(){this.rest.servicesPools.detail(this.servicePool.id,"publications").invoke("publish","changelog="+encodeURIComponent(this.reason)).then(()=>{this.dialogRef.close(),this.done.resolve(!0)})}cancel(){this.dialogRef.close(),this.done.resolve(!1)}};e.\u0275fac=function(n){return new(n||e)(m(B),m(X),m(Ne),m(Ke))},e.\u0275cmp=E({type:e,selectors:[["uds-service-pools-new-publication"]],decls:18,vars:2,consts:[["mat-dialog-title",""],[1,"content"],["matInput","","type","text",3,"ngModelChange","ngModel"],["mat-raised-button","","color","warn",3,"click"],["mat-raised-button","","color","primary",3,"click"]],template:function(n,o){n&1&&(c(0,"h4",0)(1,"uds-translate"),g(2,"New publication for"),d(),g(3),d(),c(4,"mat-dialog-content")(5,"div",1)(6,"mat-form-field")(7,"mat-label")(8,"uds-translate"),g(9,"Comments"),d()(),c(10,"input",2),H("ngModelChange",function(s){return $(o.reason,s)||(o.reason=s),s}),d()()()(),c(11,"mat-dialog-actions")(12,"button",3),b("click",function(){return o.cancel()}),c(13,"uds-translate"),g(14,"Cancel"),d()(),c(15,"button",4),b("click",function(){return o.save()}),c(16,"uds-translate"),g(17,"Ok"),d()()()),n&2&&(h(3),F(" ",o.servicePool.name,` -`),h(7),U("ngModel",o.reason))},dependencies:[lt,xe,Se,ke,Je,tt,et,_e,Ae,ft,le],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:100%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}"]});let i=e;return i})();var yA=(()=>{let e=class e{constructor(t,n,o,a){this.api=t,this.rest=n,this.dialogRef=o,this.onSave=new T(!0),this.changeLogPubs={},this.servicePool=a.servicePool}static launch(t,n){let o=window.innerWidth<800?"80%":"60%",a=t.gui.dialog.open(e,{width:o,position:{top:window.innerWidth<800?"0px":"7rem"},data:{servicePool:n},disableClose:!1})}ngOnInit(){this.changeLogPubs=this.rest.servicesPools.detail(this.servicePool.id,"changelog")}};e.\u0275fac=function(n){return new(n||e)(m(B),m(X),m(Ne),m(Ke))},e.\u0275cmp=E({type:e,selectors:[["uds-service-pools-publications-changelog"]],decls:11,vars:4,consts:[["changeLog",""],["mat-dialog-title",""],["icon","publications",3,"rest","allowExport","tableId"],["mat-raised-button","","color","primary","mat-dialog-close",""]],template:function(n,o){n&1&&(c(0,"h4",1)(1,"uds-translate"),g(2,"Changelog of"),d(),g(3),d(),c(4,"mat-dialog-content"),I(5,"uds-table",2,0),d(),c(7,"mat-dialog-actions")(8,"button",3)(9,"uds-translate"),g(10,"Ok"),d()()()),n&2&&(h(3),F(" ",o.servicePool.name,` -`),h(2),p("rest",o.changeLogPubs)("allowExport",!0)("tableId","servicePools-d-changelog"+o.servicePool.id))},dependencies:[ke,Qt,Je,tt,et,le,Te],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}"]});let i=e;return i})();var b7=["switch"],y7=["*"];function w7(i,e){i&1&&(c(0,"span",10),pi(),c(1,"svg",12),I(2,"path",13),d(),c(3,"svg",14),I(4,"path",15),d()())}var C7=new R("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1,hideIcon:!1,disabledInteractive:!1})}),x7={provide:vn,useExisting:Xt(()=>cr),multi:!0},ig=class{constructor(e,r){this.source=e,this.checked=r}},D7=0,cr=(()=>{let e=class e{_createChangeEvent(t){return new ig(this,t)}get buttonId(){return`${this.id||this._uniqueId}-button`}focus(){this._switchElement.nativeElement.focus()}get checked(){return this._checked}set checked(t){this._checked=t,this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(t,n,o,a,s,l){this._elementRef=t,this._focusMonitor=n,this._changeDetectorRef=o,this.defaults=s,this._onChange=u=>{},this._onTouched=()=>{},this._validatorOnChange=()=>{},this._checked=!1,this.name=null,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this.change=new T,this.toggleChange=new T,this.tabIndex=parseInt(a)||0,this.color=s.color||"accent",this._noopAnimations=l==="NoopAnimations",this.id=this._uniqueId=`mat-mdc-slide-toggle-${++D7}`,this.hideIcon=s.hideIcon??!1,this.disabledInteractive=s.disabledInteractive??!1,this._labelId=this._uniqueId+"-label"}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{t==="keyboard"||t==="program"?(this._focused=!0,this._changeDetectorRef.markForCheck()):t||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnChanges(t){t.required&&this._validatorOnChange()}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(t){this.checked=!!t}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}validate(t){return this.required&&t.value!==!0?{required:!0}:null}registerOnValidatorChange(t){this._validatorOnChange=t}setDisabledState(t){this.disabled=t,this._changeDetectorRef.markForCheck()}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(this._createChangeEvent(this.checked))}_handleClick(){this.disabled||(this.toggleChange.emit(),this.defaults.disableToggleValue||(this.checked=!this.checked,this._onChange(this.checked),this.change.emit(new ig(this,this.checked))))}_getAriaLabelledBy(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId}};e.\u0275fac=function(n){return new(n||e)(m(q),m(Di),m(he),vi("tabindex"),m(C7),m(kt,8))},e.\u0275cmp=E({type:e,selectors:[["mat-slide-toggle"]],viewQuery:function(n,o){if(n&1&&ce(b7,5),n&2){let a;Q(a=K())&&(o._switchElement=a.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:13,hostBindings:function(n,o){n&2&&(Si("id",o.id),ie("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),Yt(o.color?"mat-"+o.color:""),ne("mat-mdc-slide-toggle-focused",o._focused)("mat-mdc-slide-toggle-checked",o.checked)("_mat-animation-noopable",o._noopAnimations))},inputs:{name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],required:[2,"required","required",Y],color:"color",disabled:[2,"disabled","disabled",Y],disableRipple:[2,"disableRipple","disableRipple",Y],tabIndex:[2,"tabIndex","tabIndex",t=>t==null?0:ni(t)],checked:[2,"checked","checked",Y],hideIcon:[2,"hideIcon","hideIcon",Y],disabledInteractive:[2,"disabledInteractive","disabledInteractive",Y]},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],standalone:!0,features:[Ce([x7,{provide:co,useExisting:e,multi:!0}]),ge,Qe,re],ngContentSelectors:y7,decls:13,vars:27,consts:[["switch",""],["mat-internal-form-field","",3,"labelPosition"],["role","switch","type","button",1,"mdc-switch",3,"click","tabIndex","disabled"],[1,"mdc-switch__track"],[1,"mdc-switch__handle-track"],[1,"mdc-switch__handle"],[1,"mdc-switch__shadow"],[1,"mdc-elevation-overlay"],[1,"mdc-switch__ripple"],["mat-ripple","",1,"mat-mdc-slide-toggle-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-switch__icons"],[1,"mdc-label",3,"click","for"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--on"],["d","M19.69,5.23L8.96,15.96l-4.23-4.23L2.96,13.5l6,6L21.46,7L19.69,5.23z"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--off"],["d","M20 13H4v-2h16v2z"]],template:function(n,o){if(n&1){let a=A();He(),c(0,"div",1)(1,"button",2,0),b("click",function(){return y(a),w(o._handleClick())}),I(3,"span",3),c(4,"span",4)(5,"span",5)(6,"span",6),I(7,"span",7),d(),c(8,"span",8),I(9,"span",9),d(),x(10,w7,5,0,"span",10),d()()(),c(11,"label",11),b("click",function(l){return y(a),w(l.stopPropagation())}),ae(12),d()()}if(n&2){let a=we(2);p("labelPosition",o.labelPosition),h(),ne("mdc-switch--selected",o.checked)("mdc-switch--unselected",!o.checked)("mdc-switch--checked",o.checked)("mdc-switch--disabled",o.disabled)("mat-mdc-slide-toggle-disabled-interactive",o.disabledInteractive),p("tabIndex",o.disabled&&!o.disabledInteractive?-1:o.tabIndex)("disabled",o.disabled&&!o.disabledInteractive),ie("id",o.buttonId)("name",o.name)("aria-label",o.ariaLabel)("aria-labelledby",o._getAriaLabelledBy())("aria-describedby",o.ariaDescribedby)("aria-required",o.required||null)("aria-checked",o.checked)("aria-disabled",o.disabled&&o.disabledInteractive?"true":null),h(8),p("matRippleTrigger",a)("matRippleDisabled",o.disableRipple||o.disabled)("matRippleCentered",!0),h(),De(o.hideIcon?-1:10),h(),p("for",o.buttonId),ie("id",o._labelId)}},dependencies:[Tn,_p],styles:['.mdc-switch{align-items:center;background:none;border:none;cursor:pointer;display:inline-flex;flex-shrink:0;margin:0;outline:none;overflow:visible;padding:0;position:relative;width:var(--mdc-switch-track-width)}.mdc-switch.mdc-switch--disabled{cursor:default;pointer-events:none}.mdc-switch.mat-mdc-slide-toggle-disabled-interactive{pointer-events:auto}.mdc-switch__track{overflow:hidden;position:relative;width:100%;height:var(--mdc-switch-track-height);border-radius:var(--mdc-switch-track-shape, var(--mat-app-corner-full))}.mdc-switch--disabled.mdc-switch .mdc-switch__track{opacity:var(--mdc-switch-disabled-track-opacity)}.mdc-switch__track::before,.mdc-switch__track::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";height:100%;left:0;position:absolute;width:100%;border-width:var(--mat-switch-track-outline-width);border-color:var(--mat-switch-track-outline-color, var(--mat-app-outline))}.cdk-high-contrast-active .mdc-switch__track::before,.cdk-high-contrast-active .mdc-switch__track::after{border-color:currentColor}.mdc-switch--selected .mdc-switch__track::before,.mdc-switch--selected .mdc-switch__track::after{border-width:var(--mat-switch-selected-track-outline-width);border-color:var(--mat-switch-selected-track-outline-color)}.mdc-switch--disabled .mdc-switch__track::before,.mdc-switch--disabled .mdc-switch__track::after{border-width:var(--mat-switch-disabled-unselected-track-outline-width);border-color:var(--mat-switch-disabled-unselected-track-outline-color, var(--mat-app-on-surface))}.mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0);background:var(--mdc-switch-unselected-track-color, var(--mat-app-surface-variant))}.mdc-switch--selected .mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch--selected .mdc-switch__track::before{transform:translateX(-100%)}.mdc-switch--selected .mdc-switch__track::before{opacity:var(--mat-switch-hidden-track-opacity);transition:var(--mat-switch-hidden-track-transition)}.mdc-switch--unselected .mdc-switch__track::before{opacity:var(--mat-switch-visible-track-opacity);transition:var(--mat-switch-visible-track-transition)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-hover-track-color, var(--mat-app-surface-variant))}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-focus-track-color, var(--mat-app-surface-variant))}.mdc-switch:enabled:active .mdc-switch__track::before{background:var(--mdc-switch-unselected-pressed-track-color, var(--mat-app-surface-variant))}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__track::before,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__track::before,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__track::before,.mdc-switch.mdc-switch--disabled .mdc-switch__track::before{background:var(--mdc-switch-disabled-unselected-track-color, var(--mat-app-surface-variant))}.mdc-switch__track::after{transform:translateX(-100%);background:var(--mdc-switch-selected-track-color, var(--mat-app-primary))}[dir=rtl] .mdc-switch__track::after{transform:translateX(100%)}.mdc-switch--selected .mdc-switch__track::after{transform:translateX(0)}.mdc-switch--selected .mdc-switch__track::after{opacity:var(--mat-switch-visible-track-opacity);transition:var(--mat-switch-visible-track-transition)}.mdc-switch--unselected .mdc-switch__track::after{opacity:var(--mat-switch-hidden-track-opacity);transition:var(--mat-switch-hidden-track-transition)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-hover-track-color, var(--mat-app-primary))}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-focus-track-color, var(--mat-app-primary))}.mdc-switch:enabled:active .mdc-switch__track::after{background:var(--mdc-switch-selected-pressed-track-color, var(--mat-app-primary))}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__track::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__track::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__track::after,.mdc-switch.mdc-switch--disabled .mdc-switch__track::after{background:var(--mdc-switch-disabled-selected-track-color, var(--mat-app-on-surface))}.mdc-switch__handle-track{height:100%;pointer-events:none;position:absolute;top:0;transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);left:0;right:auto;transform:translateX(0);width:calc(100% - var(--mdc-switch-handle-width))}[dir=rtl] .mdc-switch__handle-track{left:auto;right:0}.mdc-switch--selected .mdc-switch__handle-track{transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__handle-track{transform:translateX(-100%)}.mdc-switch__handle{display:flex;pointer-events:auto;position:absolute;top:50%;transform:translateY(-50%);left:0;right:auto;transition:width 75ms cubic-bezier(0.4, 0, 0.2, 1),height 75ms cubic-bezier(0.4, 0, 0.2, 1),margin 75ms cubic-bezier(0.4, 0, 0.2, 1);width:var(--mdc-switch-handle-width);height:var(--mdc-switch-handle-height);border-radius:var(--mdc-switch-handle-shape, var(--mat-app-corner-full))}[dir=rtl] .mdc-switch__handle{left:auto;right:0}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle{width:var(--mat-switch-unselected-handle-size);height:var(--mat-switch-unselected-handle-size);margin:var(--mat-switch-unselected-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-switch-unselected-with-icon-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle{width:var(--mat-switch-selected-handle-size);height:var(--mat-switch-selected-handle-size);margin:var(--mat-switch-selected-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-switch-selected-with-icon-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch__handle:has(.mdc-switch__icons){width:var(--mat-switch-with-icon-handle-size);height:var(--mat-switch-with-icon-handle-size)}.mat-mdc-slide-toggle .mdc-switch:active:not(.mdc-switch--disabled) .mdc-switch__handle{width:var(--mat-switch-pressed-handle-size);height:var(--mat-switch-pressed-handle-size)}.mat-mdc-slide-toggle .mdc-switch--selected:active:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-switch-selected-pressed-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch--unselected:active:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-switch-unselected-pressed-handle-horizontal-margin)}.mdc-switch--disabled.mdc-switch--selected .mdc-switch__handle::after{opacity:var(--mat-switch-disabled-selected-handle-opacity)}.mdc-switch--disabled.mdc-switch--unselected .mdc-switch__handle::after{opacity:var(--mat-switch-disabled-unselected-handle-opacity)}.mdc-switch__handle::before,.mdc-switch__handle::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";width:100%;height:100%;left:0;position:absolute;top:0;transition:background-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1),border-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);z-index:-1}.cdk-high-contrast-active .mdc-switch__handle::before,.cdk-high-contrast-active .mdc-switch__handle::after{border-color:currentColor}.mdc-switch--selected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-selected-handle-color, var(--mat-app-on-primary))}.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-hover-handle-color, var(--mat-app-primary-container))}.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-focus-handle-color, var(--mat-app-primary-container))}.mdc-switch--selected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-selected-pressed-handle-color, var(--mat-app-primary-container))}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:hover:not(:focus):not(:active) .mdc-switch__handle::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:focus:not(:active) .mdc-switch__handle::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:active .mdc-switch__handle::after,.mdc-switch--selected.mdc-switch--disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-selected-handle-color, var(--mat-app-surface))}.mdc-switch--unselected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-unselected-handle-color, var(--mat-app-outline))}.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-hover-handle-color, var(--mat-app-on-surface-variant))}.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-focus-handle-color, var(--mat-app-on-surface-variant))}.mdc-switch--unselected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-unselected-pressed-handle-color, var(--mat-app-on-surface-variant))}.mdc-switch--unselected.mdc-switch--disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-unselected-handle-color, var(--mat-app-on-surface))}.mdc-switch__handle::before{background:var(--mdc-switch-handle-surface-color)}.mdc-switch__shadow{border-radius:inherit;bottom:0;left:0;position:absolute;right:0;top:0}.mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation-shadow)}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__shadow,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__shadow,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__shadow,.mdc-switch.mdc-switch--disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation-shadow)}.mdc-switch__ripple{left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);z-index:-1;width:var(--mdc-switch-state-layer-size);height:var(--mdc-switch-state-layer-size)}.mdc-switch__ripple::after{content:"";opacity:0}.mdc-switch--disabled .mdc-switch__ripple::after{display:none}.mat-mdc-slide-toggle-disabled-interactive .mdc-switch__ripple::after{display:block}.mdc-switch:hover .mdc-switch__ripple::after{opacity:.04;transition:75ms opacity cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mdc-switch .mdc-switch__ripple::after{opacity:.12}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:focus .mdc-switch__ripple::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:active .mdc-switch__ripple::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:hover:not(:focus) .mdc-switch__ripple::after,.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background:var(--mdc-switch-unselected-hover-state-layer-color, var(--mat-app-on-surface))}.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::after{background:var(--mdc-switch-unselected-focus-state-layer-color, var(--mat-app-on-surface))}.mdc-switch--unselected:enabled:active .mdc-switch__ripple::after{background:var(--mdc-switch-unselected-pressed-state-layer-color, var(--mat-app-on-surface));opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity));transition:opacity 75ms linear}.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background:var(--mdc-switch-selected-hover-state-layer-color, var(--mat-app-primary))}.mdc-switch--selected:enabled:focus .mdc-switch__ripple::after{background:var(--mdc-switch-selected-focus-state-layer-color, var(--mat-app-primary))}.mdc-switch--selected:enabled:active .mdc-switch__ripple::after{background:var(--mdc-switch-selected-pressed-state-layer-color, var(--mat-app-primary));opacity:var(--mdc-switch-selected-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity));transition:opacity 75ms linear}.mdc-switch__icons{position:relative;height:100%;width:100%;z-index:1}.mdc-switch--disabled.mdc-switch--unselected .mdc-switch__icons{opacity:var(--mdc-switch-disabled-unselected-icon-opacity)}.mdc-switch--disabled.mdc-switch--selected .mdc-switch__icons{opacity:var(--mdc-switch-disabled-selected-icon-opacity)}.mdc-switch__icon{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0;opacity:0;transition:opacity 30ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-switch--unselected .mdc-switch__icon{width:var(--mdc-switch-unselected-icon-size);height:var(--mdc-switch-unselected-icon-size);fill:var(--mdc-switch-unselected-icon-color, var(--mat-app-surface-variant))}.mdc-switch--unselected.mdc-switch--disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-unselected-icon-color, var(--mat-app-surface-variant))}.mdc-switch--selected .mdc-switch__icon{width:var(--mdc-switch-selected-icon-size);height:var(--mdc-switch-selected-icon-size);fill:var(--mdc-switch-selected-icon-color, var(--mat-app-on-primary-container))}.mdc-switch--selected.mdc-switch--disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-selected-icon-color, var(--mat-app-on-surface))}.mdc-switch--selected .mdc-switch__icon--on,.mdc-switch--unselected .mdc-switch__icon--off{opacity:1;transition:opacity 45ms 30ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle{-webkit-user-select:none;user-select:none;display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple,.mat-mdc-slide-toggle .mdc-switch__ripple::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple:not(:empty),.mat-mdc-slide-toggle .mdc-switch__ripple::after:not(:empty){transform:translateZ(0)}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mat-mdc-focus-indicator::before{content:""}.mat-mdc-slide-toggle .mat-internal-form-field{color:var(--mat-switch-label-text-color, var(--mat-app-on-surface));font-family:var(--mat-switch-label-text-font, var(--mat-app-body-medium-font));line-height:var(--mat-switch-label-text-line-height, var(--mat-app-body-medium-line-height));font-size:var(--mat-switch-label-text-size, var(--mat-app-body-medium-size));letter-spacing:var(--mat-switch-label-text-tracking, var(--mat-app-body-medium-tracking));font-weight:var(--mat-switch-label-text-weight, var(--mat-app-body-medium-weight))}.mat-mdc-slide-toggle .mat-ripple-element{opacity:.12}.mat-mdc-slide-toggle .mat-mdc-focus-indicator::before{border-radius:50%}.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle-track,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__icon,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::after,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::after{transition:none}.mat-mdc-slide-toggle .mdc-switch:enabled+.mdc-label{cursor:pointer}.mat-mdc-slide-toggle .mdc-switch--disabled+label{color:var(--mdc-switch-disabled-label-text-color)}'],encapsulation:2,changeDetection:0});let i=e;return i})();var wA=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=te({type:e}),e.\u0275inj=ee({imports:[cr,pe,pe]});let i=e;return i})();var S7=()=>["transport","group","bool"];function E7(i,e){i&1&&(mt(0),c(1,"uds-translate"),g(2,"Edit action for"),d(),pt())}function I7(i,e){i&1&&(c(0,"uds-translate"),g(1,"New action for"),d())}function M7(i,e){if(i&1&&(c(0,"mat-option",13),g(1),d()),i&2){let r=e.$implicit;p("value",r.id),h(),F(" ",r.name," ")}}function T7(i,e){if(i&1&&(c(0,"mat-option",13),g(1),d()),i&2){let r=e.$implicit;p("value",r.id),h(),F(" ",r.description," ")}}function k7(i,e){if(i&1&&(c(0,"mat-option",13),g(1),d()),i&2){let r=e.$implicit;p("value",r.id),h(),F(" ",r.name," ")}}function A7(i,e){if(i&1){let r=A();mt(0),c(1,"mat-form-field")(2,"mat-label")(3,"uds-translate"),g(4,"Transport"),d()(),c(5,"mat-select",4),H("ngModelChange",function(n){y(r);let o=_();return $(o.paramValue,n)||(o.paramValue=n),w(n)}),c(6,"uds-cond-select-search",5),b("changed",function(n){y(r);let o=_();return w(o.transportsFilter=n)}),d(),x(7,k7,2,2,"mat-option",6),d()(),pt()}if(i&2){let r=_();h(5),U("ngModel",r.paramValue),h(),p("options",r.transports),h(),p("ngForOf",r.filtered(r.transports,r.transportsFilter))}}function O7(i,e){if(i&1&&(c(0,"mat-option",13),g(1),d()),i&2){let r=e.$implicit;p("value",r.id),h(),F(" ",r.name," ")}}function R7(i,e){if(i&1&&(c(0,"mat-option",13),g(1),d()),i&2){let r=e.$implicit,t=_(2);p("value",t.authenticator+"@"+r.id),h(),F(" ",r.name," ")}}function P7(i,e){if(i&1){let r=A();mt(0),c(1,"mat-form-field")(2,"mat-label")(3,"uds-translate"),g(4,"Authenticator"),d()(),c(5,"mat-select",9),H("ngModelChange",function(n){y(r);let o=_();return $(o.authenticator,n)||(o.authenticator=n),w(n)}),b("valueChange",function(n){y(r);let o=_();return w(o.authenticatorChangedTo(n))}),x(6,O7,2,2,"mat-option",6),d()(),c(7,"mat-form-field")(8,"mat-label")(9,"uds-translate"),g(10,"Group"),d()(),c(11,"mat-select",4),H("ngModelChange",function(n){y(r);let o=_();return $(o.paramValue,n)||(o.paramValue=n),w(n)}),c(12,"uds-cond-select-search",5),b("changed",function(n){y(r);let o=_();return w(o.groupsFilter=n)}),d(),x(13,R7,2,2,"mat-option",6),d()(),pt()}if(i&2){let r=_();h(5),U("ngModel",r.authenticator),h(),p("ngForOf",r.authenticators),h(5),U("ngModel",r.paramValue),h(),p("options",r.groups),h(),p("ngForOf",r.filtered(r.groups,r.groupsFilter))}}function F7(i,e){if(i&1){let r=A();mt(0),c(1,"div",14)(2,"span",15),g(3),d(),g(4,"\xA0 "),c(5,"mat-slide-toggle",4),H("ngModelChange",function(n){y(r);let o=_();return $(o.paramValue,n)||(o.paramValue=n),w(n)}),d()(),pt()}if(i&2){let r=_();h(3),$e(r.parameter.description),h(2),U("ngModel",r.paramValue)}}function N7(i,e){if(i&1){let r=A();mt(0),c(1,"mat-form-field")(2,"mat-label"),g(3),d(),c(4,"input",16),H("ngModelChange",function(n){y(r);let o=_();return $(o.paramValue,n)||(o.paramValue=n),w(n)}),d()(),pt()}if(i&2){let r=_();h(3),F(" ",r.parameter.description," "),h(),p("type",r.parameter.type),U("ngModel",r.paramValue)}}var _w=(()=>{let e=class e{constructor(t,n,o,a){this.api=t,this.rest=n,this.dialogRef=o,this.onSave=new T(!0),this.calendars=[],this.actionList=[],this.authenticators=[],this.transports=[],this.groups=[],this.paramsDict={},this.calendarsFilter="",this.groupsFilter="",this.transportsFilter="",this.authenticator="",this.parameter={},this.paramValue="",this.servicePool=a.servicePool,this.scheduledAction={id:void 0,action:"",calendar:"",calendar_id:"",at_start:!0,events_offset:0,params:{}},a.scheduledAction!==void 0&&(this.scheduledAction.id=a.scheduledAction.id)}static launch(t,n,o){let a=window.innerWidth<800?"80%":"60%";return t.gui.dialog.open(e,{width:a,position:{top:window.innerWidth<800?"0px":"7rem"},data:{servicePool:n,scheduledAction:o},disableClose:!1}).componentInstance.onSave}ngOnInit(){this.rest.authenticators.summary().then(t=>this.authenticators=t),this.rest.transports.summary().then(t=>this.transports=t),this.rest.calendars.summary().then(t=>this.calendars=t),this.rest.servicesPools.actionsList(this.servicePool.id).then(t=>{this.actionList=t,this.actionList.forEach(n=>{this.paramsDict[n.id]=n.params[0]}),this.scheduledAction.id!==void 0&&this.rest.servicesPools.detail(this.servicePool.id,"actions").get(this.scheduledAction.id).then(n=>{this.scheduledAction=n,this.actionChangedTo(this.scheduledAction.action)})})}filtered(t,n){return n?t.filter(o=>o.name.toLocaleLowerCase().includes(n.toLocaleLowerCase())):t}actionChangedTo(t){if(this.parameter=this.paramsDict[t],this.parameter!==void 0&&(this.paramValue=this.scheduledAction.params[this.parameter.name],this.paramValue===void 0&&(this.parameter.default!==!1?this.paramValue=this.parameter.default||"":this.paramValue=!1),this.parameter.type==="group")){let n=this.paramValue.split("@");n.length!==2&&(n=["",""]),this.authenticator=n[0],this.authenticatorChangedTo(this.authenticator)}}authenticatorChangedTo(t){return W(this,null,function*(){t&&(this.groups=yield this.rest.authenticators.detail(t,"groups").summary())})}save(){return W(this,null,function*(){this.scheduledAction.params={},this.parameter&&(this.scheduledAction.params[this.parameter.name]=this.paramValue),yield this.rest.servicesPools.detail(this.servicePool.id,"actions").save(this.scheduledAction),this.dialogRef.close(),this.onSave.emit(!0)})}};e.\u0275fac=function(n){return new(n||e)(m(B),m(X),m(Ne),m(Ke))},e.\u0275cmp=E({type:e,selectors:[["uds-service-pools-scheduled-action"]],decls:40,vars:15,consts:[["editTitle",""],["mat-dialog-title",""],[4,"ngIf","ngIfElse"],[1,"content"],[3,"ngModelChange","ngModel"],[3,"changed","options"],[3,"value",4,"ngFor","ngForOf"],["matInput","","type","number",3,"ngModelChange","ngModel"],[1,"toggle"],[3,"ngModelChange","valueChange","ngModel"],[4,"ngIf"],["mat-raised-button","","mat-dialog-close","","color","warn"],["mat-raised-button","","color","primary",3,"click"],[3,"value"],[1,"mat-form-field-infix"],[1,"label"],["matInput","",3,"ngModelChange","type","ngModel"]],template:function(n,o){if(n&1){let a=A();c(0,"h4",1),x(1,E7,3,0,"ng-container",2)(2,I7,2,0,"ng-template",null,0,fi),g(4),d(),c(5,"mat-dialog-content")(6,"div",3)(7,"mat-form-field")(8,"mat-label")(9,"uds-translate"),g(10,"Calendar"),d()(),c(11,"mat-select",4),H("ngModelChange",function(l){return y(a),$(o.scheduledAction.calendar_id,l)||(o.scheduledAction.calendar_id=l),w(l)}),c(12,"uds-cond-select-search",5),b("changed",function(l){return y(a),w(o.calendarsFilter=l)}),d(),x(13,M7,2,2,"mat-option",6),d()(),c(14,"mat-form-field")(15,"mat-label")(16,"uds-translate"),g(17,"Events offset (minutes)"),d()(),c(18,"input",7),H("ngModelChange",function(l){return y(a),$(o.scheduledAction.events_offset,l)||(o.scheduledAction.events_offset=l),w(l)}),d()(),c(19,"div",8)(20,"mat-slide-toggle",4),H("ngModelChange",function(l){return y(a),$(o.scheduledAction.at_start,l)||(o.scheduledAction.at_start=l),w(l)}),c(21,"uds-translate"),g(22,"At the beginning of the interval?"),d()()(),c(23,"mat-form-field")(24,"mat-label")(25,"uds-translate"),g(26,"Action"),d()(),c(27,"mat-select",9),H("ngModelChange",function(l){return y(a),$(o.scheduledAction.action,l)||(o.scheduledAction.action=l),w(l)}),b("valueChange",function(l){return y(a),w(o.actionChangedTo(l))}),x(28,T7,2,2,"mat-option",6),d()(),x(29,A7,8,3,"ng-container",10)(30,P7,14,5,"ng-container",10)(31,F7,6,2,"ng-container",10)(32,N7,5,3,"ng-container",10),d()(),c(33,"mat-dialog-actions")(34,"button",11)(35,"uds-translate"),g(36,"Cancel"),d()(),c(37,"button",12),b("click",function(){return y(a),w(o.save())}),c(38,"uds-translate"),g(39,"Ok"),d()()()}if(n&2){let a=we(3);h(),p("ngIf",o.scheduledAction.id!==void 0)("ngIfElse",a),h(3),F(" ",o.servicePool.name,` -`),h(7),U("ngModel",o.scheduledAction.calendar_id),h(),p("options",o.calendars),h(),p("ngForOf",o.filtered(o.calendars,o.calendarsFilter)),h(5),U("ngModel",o.scheduledAction.events_offset),h(2),U("ngModel",o.scheduledAction.at_start),h(7),U("ngModel",o.scheduledAction.action),h(),p("ngForOf",o.actionList),h(),p("ngIf",(o.parameter==null?null:o.parameter.type)==="transport"),h(),p("ngIf",(o.parameter==null?null:o.parameter.type)==="group"),h(),p("ngIf",(o.parameter==null?null:o.parameter.type)==="bool"),h(),p("ngIf",(o.parameter==null?null:o.parameter.type)&&!ll(14,S7).includes(o.parameter.type))}},dependencies:[We,me,lt,$n,xe,Se,ke,Qt,Je,tt,et,_e,Ae,ft,bt,nt,cr,le,hi],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:100%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}"]});let i=e;return i})();var qd=(()=>{let e=class e{constructor(t,n,o,a){this.api=t,this.rest=n,this.dialogRef=o,this.onSave=new T(!0),this.userService=a.userService,this.model=a.model}static launch(t,n,o){let a=window.innerWidth<800?"80%":"60%",s=t.gui.dialog.open(e,{width:a,position:{top:window.innerWidth<800?"0px":"7rem"},data:{userService:n,model:o},disableClose:!1})}ngOnInit(){}};e.\u0275fac=function(n){return new(n||e)(m(B),m(X),m(Ne),m(Ke))},e.\u0275cmp=E({type:e,selectors:[["uds-service-pools-userservices-log"]],decls:10,vars:4,consts:[["mat-dialog-title",""],[3,"rest","itemId","tableId"],["mat-raised-button","","color","primary","mat-dialog-close",""]],template:function(n,o){n&1&&(c(0,"h4",0)(1,"uds-translate"),g(2,"Logs of"),d(),g(3),d(),c(4,"mat-dialog-content"),I(5,"uds-logs-table",1),d(),c(6,"mat-dialog-actions")(7,"button",2)(8,"uds-translate"),g(9,"Ok"),d()()()),n&2&&(h(3),F(" ",o.userService.name,` -`),h(2),p("rest",o.model)("itemId",o.userService.id)("tableId","servicePools-d-uslog"+o.userService.id))},dependencies:[ke,Qt,Je,tt,et,le,An],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}"]});let i=e;return i})();function L7(i,e){if(i&1&&(c(0,"mat-option",8),g(1),d()),i&2){let r=e.$implicit;p("value",r.id),h(),F(" ",r.text," ")}}function V7(i,e){if(i&1&&(c(0,"mat-option",8),g(1),d()),i&2){let r=e.$implicit;p("value",r.id),h(),F(" ",r.name," ")}}function j7(i,e){if(i&1&&(c(0,"mat-option",8),g(1),d()),i&2){let r=e.$implicit;p("value",r.id),h(),F(" ",r.name," ")}}var CA=(()=>{let e=class e{constructor(t,n,o,a){this.api=t,this.rest=n,this.dialogRef=o,this.done=new Jt,this.auths=[],this.assignablesServices=[],this.assignablesServicesFilter="",this.users=[],this.userFilter="",this.serviceId="",this.authId="",this.userId="",this.servicePool=a.servicePool}static launch(t,n){let o=window.innerWidth<800?"60%":"40%";return t.gui.dialog.open(e,{width:o,position:{top:window.innerWidth<800?"0px":"7rem"},data:{servicePool:n},disableClose:!1}).componentInstance.done}ngOnInit(){return W(this,null,function*(){this.authId="",this.userId="";let t=yield this.rest.authenticators.summary(),n=yield this.rest.servicesPools.listAssignables(this.servicePool.id);this.auths=t,this.assignablesServices=n})}changeAuth(t){return W(this,null,function*(){this.userId="",this.authChanged()})}filteredUsers(){if(!this.userFilter)return this.users;let t=new Array;return this.users.forEach(n=>{n.name.toLocaleLowerCase().includes(this.userFilter.toLocaleLowerCase())&&t.push(n)}),t}filteredAssignables(){if(!this.assignablesServicesFilter)return this.assignablesServices;let t=new Array;return this.assignablesServices.forEach(n=>{n.text.toLocaleLowerCase().includes(this.assignablesServicesFilter.toLocaleLowerCase())&&t.push(n)}),t}save(){return W(this,null,function*(){if(this.userId===""||this.authId===""){this.api.gui.alert(django.gettext("Error"),django.gettext("Please, select a valid user"));return}this.rest.servicesPools.createFromAssignable(this.servicePool.id,this.userId,this.serviceId).then(t=>{this.dialogRef.close(),this.done.resolve(!0)})})}cancel(){this.dialogRef.close(),this.done.resolve(!1)}authChanged(){return W(this,null,function*(){this.authId&&(this.users=yield this.rest.authenticators.detail(this.authId,"users").summary())})}};e.\u0275fac=function(n){return new(n||e)(m(B),m(X),m(Ne),m(Ke))},e.\u0275cmp=E({type:e,selectors:[["uds-assign-service-to-owner"]],decls:32,vars:8,consts:[["mat-dialog-title",""],[1,"content"],[3,"ngModelChange","ngModel"],[3,"changed","options"],[3,"value",4,"ngFor","ngForOf"],[3,"ngModelChange","selectionChange","ngModel"],["mat-raised-button","","color","warn",3,"click"],["mat-raised-button","","color","primary",3,"click"],[3,"value"]],template:function(n,o){n&1&&(c(0,"h4",0)(1,"uds-translate"),g(2,"Assign service to user manually"),d()(),c(3,"mat-dialog-content")(4,"div",1)(5,"mat-form-field")(6,"mat-label")(7,"uds-translate"),g(8,"Service"),d()(),c(9,"mat-select",2),H("ngModelChange",function(s){return $(o.serviceId,s)||(o.serviceId=s),s}),c(10,"uds-cond-select-search",3),b("changed",function(s){return o.assignablesServicesFilter=s}),d(),x(11,L7,2,2,"mat-option",4),d()(),c(12,"mat-form-field")(13,"mat-label")(14,"uds-translate"),g(15,"Authenticator"),d()(),c(16,"mat-select",5),H("ngModelChange",function(s){return $(o.authId,s)||(o.authId=s),s}),b("selectionChange",function(s){return o.changeAuth(s)}),x(17,V7,2,2,"mat-option",4),d()(),c(18,"mat-form-field")(19,"mat-label")(20,"uds-translate"),g(21,"User"),d()(),c(22,"mat-select",2),H("ngModelChange",function(s){return $(o.userId,s)||(o.userId=s),s}),c(23,"uds-cond-select-search",3),b("changed",function(s){return o.userFilter=s}),d(),x(24,j7,2,2,"mat-option",4),d()()()(),c(25,"mat-dialog-actions")(26,"button",6),b("click",function(){return o.cancel()}),c(27,"uds-translate"),g(28,"Cancel"),d()(),c(29,"button",7),b("click",function(){return o.save()}),c(30,"uds-translate"),g(31,"Ok"),d()()()),n&2&&(h(9),U("ngModel",o.serviceId),h(),p("options",o.assignablesServices),h(),p("ngForOf",o.filteredAssignables()),h(5),U("ngModel",o.authId),h(),p("ngForOf",o.auths),h(5),U("ngModel",o.userId),h(),p("options",o.users),h(),p("ngForOf",o.filteredUsers()))},dependencies:[We,xe,Se,ke,Je,tt,et,_e,Ae,bt,nt,le,hi],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:100%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}"]});let i=e;return i})();var DA=su(Qf());var xA=(()=>{let e=class e{constructor(t){this.rest=t,this.poolUuid="",this.options={},this.chart=null}onResize(t){this.chart&&this.chart.resize()}ngOnInit(){return W(this,null,function*(){let t=yield this.rest.system.stats("complete",this.poolUuid);this.options={tooltip:{trigger:"axis",axisPointer:{type:"cross",label:{backgroundColor:"#6a7985"}}},toolbox:{feature:{dataZoom:{yAxisIndex:"none"},restore:{},saveAsImage:{}}},xAxis:{type:"category",data:t.assigned.map(n=>$i("SHORT_DATETIME_FORMAT",new Date(n.stamp))),boundaryGap:!1},yAxis:{type:"value"},series:[{name:django.gettext("Assigned"),type:"line",stack:"services",smooth:!0,areaStyle:{},data:t.assigned.map(n=>n.value)},{name:django.gettext("Cached"),type:"line",stack:"services",smooth:!0,areaStyle:{},data:t.cached.map(n=>n.value)},{name:django.gettext("In use"),type:"line",smooth:!0,data:t.inuse.map(n=>n.value)}]}})}chartInit(t){this.chart=t}};e.\u0275fac=function(n){return new(n||e)(m(X))},e.\u0275cmp=E({type:e,selectors:[["uds-service-pools-charts"]],hostBindings:function(n,o){n&1&&b("resize",function(s){return o.onResize(s)},!1,Jh)},inputs:{poolUuid:"poolUuid"},decls:2,vars:1,consts:[[1,"statistics-chart"],["echarts","","theme","dark-digerati",3,"chartInit","options"]],template:function(n,o){n&1&&(c(0,"div",0)(1,"div",1),b("chartInit",function(s){return o.chartInit(s)}),d()()),n&2&&(h(),p("options",o.options))},dependencies:[gf]});let i=e;return i})();var z7=i=>["/pools","service-pools",i];function U7(i,e){i&1&&(c(0,"uds-translate"),g(1,"Summary"),d())}function H7(i,e){if(i&1&&I(0,"uds-information",20),i&2){let r=_(2);p("value",r.servicePool)("gui",r.gui)}}function $7(i,e){i&1&&(c(0,"uds-translate"),g(1,"Assigned services"),d())}function W7(i,e){i&1&&(c(0,"uds-translate"),g(1,"Cache"),d())}function G7(i,e){if(i&1){let r=A();c(0,"mat-tab"),x(1,W7,2,0,"ng-template",9),c(2,"div",10)(3,"uds-table",21),b("customButtonAction",function(n){y(r);let o=_(2);return w(o.onCustomCached(n))})("deleteAction",function(n){y(r);let o=_(2);return w(o.onDeleteCache(n))}),d()()()}if(i&2){let r=_(2);h(3),p("rest",r.cache)("multiSelect",!0)("allowExport",!0)("onItem",r.processsCacheElement)("tableId","servicePools-d-cache"+r.servicePool.id)("customButtons",r.customButtonsCachedServices)("pageSize",r.api.config.admin.page_size)}}function q7(i,e){i&1&&(c(0,"uds-translate"),g(1,"Groups"),d())}function Y7(i,e){i&1&&(c(0,"uds-translate"),g(1,"Transports"),d())}function Q7(i,e){i&1&&(c(0,"uds-translate"),g(1,"Publications"),d())}function K7(i,e){if(i&1){let r=A();c(0,"mat-tab"),x(1,Q7,2,0,"ng-template",9),c(2,"div",10)(3,"uds-table",22),b("customButtonAction",function(n){y(r);let o=_(2);return w(o.onCustomPublication(n))})("newAction",function(n){y(r);let o=_(2);return w(o.onNewPublication(n))})("rowSelected",function(n){y(r);let o=_(2);return w(o.onPublicationRowSelect(n))}),d()()()}if(i&2){let r=_(2);h(3),p("rest",r.publications)("multiSelect",!0)("allowExport",!0)("tableId","servicePools-d-publications"+r.servicePool.id)("customButtons",r.customButtonsPublication)("pageSize",r.api.config.admin.page_size)}}function Z7(i,e){i&1&&(c(0,"uds-translate"),g(1,"Scheduled actions"),d())}function X7(i,e){i&1&&(c(0,"uds-translate"),g(1,"Access calendars"),d())}function J7(i,e){i&1&&(c(0,"uds-translate"),g(1,"Charts"),d())}function e9(i,e){i&1&&(c(0,"uds-translate"),g(1,"Logs"),d())}function t9(i,e){if(i&1){let r=A();c(0,"div",6)(1,"div",7)(2,"mat-tab-group",8),H("selectedIndexChange",function(n){y(r);let o=_();return $(o.selectedTab,n)||(o.selectedTab=n),w(n)}),c(3,"mat-tab"),x(4,U7,2,0,"ng-template",9),c(5,"div",10),x(6,H7,1,2,"uds-information",11),d()(),c(7,"mat-tab"),x(8,$7,2,0,"ng-template",9),c(9,"div",10)(10,"uds-table",12),b("customButtonAction",function(n){y(r);let o=_();return w(o.onCustomAssigned(n))})("deleteAction",function(n){y(r);let o=_();return w(o.onDeleteAssigned(n))}),d()()(),x(11,G7,4,7,"mat-tab",13),c(12,"mat-tab"),x(13,q7,2,0,"ng-template",9),c(14,"div",10)(15,"uds-table",14),b("newAction",function(n){y(r);let o=_();return w(o.onNewGroup(n))})("deleteAction",function(n){y(r);let o=_();return w(o.onDeleteGroup(n))}),d()()(),c(16,"mat-tab"),x(17,Y7,2,0,"ng-template",9),c(18,"div",10)(19,"uds-table",15),b("newAction",function(n){y(r);let o=_();return w(o.onNewTransport(n))})("deleteAction",function(n){y(r);let o=_();return w(o.onDeleteTransport(n))}),d()()(),x(20,K7,4,6,"mat-tab",13),c(21,"mat-tab"),x(22,Z7,2,0,"ng-template",9),c(23,"div",10)(24,"uds-table",16),b("customButtonAction",function(n){y(r);let o=_();return w(o.onCustomScheduleAction(n))})("newAction",function(n){y(r);let o=_();return w(o.onNewScheduledAction(n))})("editAction",function(n){y(r);let o=_();return w(o.onEditScheduledAction(n))})("deleteAction",function(n){y(r);let o=_();return w(o.onDeleteScheduledAction(n))}),d()()(),c(25,"mat-tab"),x(26,X7,2,0,"ng-template",9),c(27,"div",10)(28,"uds-table",17),b("newAction",function(n){y(r);let o=_();return w(o.onNewAccessCalendar(n))})("editAction",function(n){y(r);let o=_();return w(o.onEditAccessCalendar(n))})("deleteAction",function(n){y(r);let o=_();return w(o.onDeleteAccessCalendar(n))})("loaded",function(n){y(r);let o=_();return w(o.onAccessCalendarLoad(n))}),d()()(),c(29,"mat-tab"),x(30,J7,2,0,"ng-template",9),c(31,"div",10),I(32,"uds-service-pools-charts",18),d()(),c(33,"mat-tab"),x(34,e9,2,0,"ng-template",9),c(35,"div",10),I(36,"uds-logs-table",19),d()()()()()}if(i&2){let r=_();h(2),U("selectedIndex",r.selectedTab),p("@.disabled",!0),h(4),p("ngIf",r.servicePool&&r.gui),h(4),p("rest",r.assignedServices)("multiSelect",!0)("allowExport",!0)("onItem",r.processsAssignedElement)("tableId","servicePools-d-services"+r.servicePool.id)("customButtons",r.customButtonsAssignedServices)("pageSize",r.api.config.admin.page_size),h(),p("ngIf",r.cache),h(4),p("rest",r.groups)("multiSelect",!0)("allowExport",!0)("customButtons",r.customButtonsGroups)("tableId","servicePools-d-groups"+r.servicePool.id)("pageSize",r.api.config.admin.page_size),h(4),p("rest",r.transports)("multiSelect",!0)("allowExport",!0)("customButtons",r.customButtonsTransports)("tableId","servicePools-d-transports"+r.servicePool.id)("pageSize",r.api.config.admin.page_size),h(),p("ngIf",r.publications),h(4),p("rest",r.scheduledActions)("multiSelect",!0)("allowExport",!0)("tableId","servicePools-d-actions"+r.servicePool.id)("customButtons",r.customButtonsScheduledAction)("onItem",r.processsCalendarOrScheduledElement)("pageSize",r.api.config.admin.page_size),h(4),p("rest",r.accessCalendars)("multiSelect",!0)("allowExport",!0)("customButtons",r.customButtonAccessCalendars)("tableId","servicePools-d-access"+r.servicePool.id)("onItem",r.processsCalendarOrScheduledElement)("pageSize",r.api.config.admin.page_size),h(4),p("poolUuid",r.servicePool.id),h(4),p("rest",r.rest.servicesPools)("itemId",r.servicePool.id)("tableId","servicePools-d-log"+r.servicePool.id)("pageSize",r.api.config.admin.page_size)}}var og='event'+django.gettext("Logs")+"",i9='computer'+django.gettext("VNC")+"",n9='schedule'+django.gettext("Launch now")+"",vw='perm_identity'+django.gettext("Change owner")+"",o9='perm_identity'+django.gettext("Assign service")+"",r9='cancel'+django.gettext("Cancel")+"",a9='event'+django.gettext("Changelog")+"",rg=(()=>{let e=class e{constructor(t,n,o){this.route=t,this.rest=n,this.api=o,this.customButtonsScheduledAction=[{id:"launch-action",html:n9,type:ct.SINGLE_SELECT},Ii.getGotoButton(Yp,"calendarId")],this.customButtonAccessCalendars=[Ii.getGotoButton(Yp,"calendarId")],this.customButtonsAssignedServices=[{id:"change-owner",html:vw,type:ct.SINGLE_SELECT},{id:"log",html:og,type:ct.SINGLE_SELECT},Ii.getGotoButton(Hd,"owner_info.auth_id","owner_info.user_id")],this.customButtonsCachedServices=[{id:"log",html:og,type:ct.SINGLE_SELECT}],this.customButtonsPublication=[{id:"cancel-publication",html:r9,type:ct.SINGLE_SELECT},{id:"changelog",html:a9,type:ct.ALWAYS}],this.customButtonsGroups=[Ii.getGotoButton(Ay,"auth_id","id")],this.customButtonsTransports=[Ii.getGotoButton(Oy,"id")],this.servicePool=null,this.gui=[],this.assignedServices={},this.cache=null,this.groups={},this.transports={},this.publications=null,this.scheduledActions={},this.accessCalendars={},this.selectedTab=1}static cleanInvalidSelections(t){return t.table.selection.selected.filter(n=>["E","R","M","S","C"].includes(n.state)).forEach(n=>t.table.selection.deselect(n)),t.table.selection.isEmpty()}ngOnInit(){return W(this,null,function*(){let t=this.route.snapshot.paramMap.get("pool");if(!t)return;this.assignedServices=this.rest.servicesPools.detail(t,"services"),this.groups=this.rest.servicesPools.detail(t,"groups"),this.transports=this.rest.servicesPools.detail(t,"transports"),this.scheduledActions=this.rest.servicesPools.detail(t,"actions"),this.accessCalendars=this.rest.servicesPools.detail(t,"access");let n=yield this.rest.servicesPools.get(t),o=(yield this.rest.servicesPools.gui()).filter(a=>{let s=["initial_srvs","cache_l1_srvs","cache_l2_srvs","max_srvs"];return!(n.info.uses_cache===!1&&s.includes(a.name)||n.info.uses_cache_l2===!1&&a.name==="cache_l2_srvs"||n.info.needs_manager===!1&&a.name==="osmanager_id")});this.servicePool=n,this.gui=o,n.info.uses_cache?this.cache=this.rest.servicesPools.detail(t,"cache"):this.cache=null,n.info.needs_publication?this.publications=this.rest.servicesPools.detail(t,"publications"):this.publications=null,this.api.config.admin.vnc_userservices&&this.customButtonsAssignedServices.push({id:"vnc",html:i9,type:ct.ONLY_MENU}),this.servicePool.info.can_list_assignables&&this.customButtonsAssignedServices.push({id:"assign-service",html:o9,type:ct.ALWAYS})})}vnc(t){let n=`[connection] + ${F8} translateX(${I}) + )`;let A=s+l+m+g;this._elementRef.nativeElement.style.setProperty("--mat-form-field-notch-max-width",`calc(100% - ${A}px)`)}_isAttachedToDom(){let e=this._elementRef.nativeElement;if(e.getRootNode){let t=e.getRootNode();return t&&t!==e}return document.documentElement.contains(e)}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["mat-form-field"]],contentQueries:function(t,o,r){if(t&1&&(rM(r,o._labelChild,ke,5),He(r,Ma,5),He(r,A8,5),He(r,fk,5),He(r,k8,5),He(r,lk,5)),t&2){aM();let a;$(a=q())&&(o._formFieldControl=a.first),$(a=q())&&(o._prefixChildren=a),$(a=q())&&(o._suffixChildren=a),$(a=q())&&(o._errorChildren=a),$(a=q())&&(o._hintChildren=a)}},viewQuery:function(t,o){if(t&1&&(se(a8,5),se(s8,5),se(l8,5),se(c8,5),se(d8,5),se(ck,5),se(mk,5),se(uk,5)),t&2){let r;$(r=q())&&(o._textField=r.first),$(r=q())&&(o._iconPrefixContainer=r.first),$(r=q())&&(o._textPrefixContainer=r.first),$(r=q())&&(o._iconSuffixContainer=r.first),$(r=q())&&(o._textSuffixContainer=r.first),$(r=q())&&(o._floatingLabel=r.first),$(r=q())&&(o._notchedOutline=r.first),$(r=q())&&(o._lineRipple=r.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(t,o){t&2&&ne("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"],features:[ye([{provide:Ro,useExisting:n},{provide:gk,useExisting:n}])],ngContentSelectors:m8,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],["textSuffixContainer",""],["iconSuffixContainer",""],[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(t,o){if(t&1){let r=k();We(u8),x(0,f8,1,1,"ng-template",null,0,gn),c(2,"div",6,1),b("click",function(s){return y(r),w(o._control.onContainerClick(s))}),x(4,g8,1,0,"div",7),c(5,"div",8),x(6,b8,2,2,"div",9)(7,y8,3,0,"div",10)(8,w8,3,0,"div",11),c(9,"div",12),x(10,x8,1,1,null,13),re(11),d(),x(12,D8,3,0,"div",14)(13,S8,3,0,"div",15),d(),x(14,E8,1,0,"div",16),d(),c(15,"div",17),x(16,M8,2,1,"div",18)(17,T8,5,2,"div",19),d()}if(t&2){let r;u(2),ne("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),u(2),Ce(!o._hasOutline()&&!o._control.disabled?4:-1),u(2),Ce(o._hasOutline()?6:-1),u(),Ce(o._hasIconPrefix?7:-1),u(),Ce(o._hasTextPrefix?8:-1),u(2),Ce(!o._hasOutline()||o._forceDisplayInfixLabel()?10:-1),u(2),Ce(o._hasTextSuffix?12:-1),u(),Ce(o._hasIconSuffix?13:-1),u(),Ce(o._hasOutline()?-1:14),u(),ne("mat-mdc-form-field-subscript-dynamic-size",o.subscriptSizing==="dynamic"),u(),Ce((r=o._getDisplayedMessages())==="error"?16:r==="hint"?17:-1)}},dependencies:[ck,mk,Cp,uk,lk],styles:['.mdc-text-field{display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field__input{width:100%;min-width:0;border:none;border-radius:0;background:none;padding:0;-moz-appearance:none;-webkit-appearance:none;height:28px}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}.mdc-text-field__input::placeholder{opacity:0}.mdc-text-field__input::-moz-placeholder{opacity:0}.mdc-text-field__input::-webkit-input-placeholder{opacity:0}.mdc-text-field__input:-ms-input-placeholder{opacity:0}.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{opacity:1}.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--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-moz-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-webkit-input-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive:-ms-input-placeholder{opacity:0}.mdc-text-field--outlined .mdc-text-field__input,.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mdc-filled-text-field-caret-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.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, var(--mat-sys-on-surface-variant))}.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.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mdc-outlined-text-field-caret-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.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, var(--mat-sys-on-surface-variant))}.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.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}}.mdc-text-field--filled{height:56px;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-left-radius:var(--mdc-filled-text-field-container-shape, var(--mat-sys-corner-extra-small));border-top-right-radius:var(--mdc-filled-text-field-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color, var(--mat-sys-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 4%, transparent))}.mdc-text-field--outlined{height:56px;overflow:visible;padding-right:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)));padding-left:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)) + 4px)}[dir=rtl] .mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)) + 4px);padding-left:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)))}.mdc-floating-label{position:absolute;left:0;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{right:0;left:auto;transform-origin:right top;text-align:right}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:auto}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label{left:auto;right:4px}.mdc-text-field--filled .mdc-floating-label{left:16px;right:auto}[dir=rtl] .mdc-text-field--filled .mdc-floating-label{left:auto;right:16px}.mdc-text-field--disabled .mdc-floating-label{cursor:default}@media(forced-colors: active){.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-filled-text-field-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mdc-filled-text-field-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mdc-filled-text-field-hover-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-filled-text-field-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mdc-filled-text-field-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mdc-filled-text-field-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mdc-filled-text-field-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mdc-filled-text-field-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mdc-filled-text-field-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mdc-filled-text-field-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-outlined-text-field-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mdc-outlined-text-field-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mdc-outlined-text-field-hover-label-text-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-outlined-text-field-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mdc-outlined-text-field-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mdc-outlined-text-field-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mdc-outlined-text-field-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mdc-outlined-text-field-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mdc-outlined-text-field-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mdc-outlined-text-field-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-floating-label--float-above{cursor:auto;transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1);font-size:.75rem}.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-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-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-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::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{text-align:right}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mat-mdc-notch-piece{box-sizing:border-box;height:100%;pointer-events:none;border-top:1px solid;border-bottom:1px solid}.mdc-text-field--focused .mat-mdc-notch-piece{border-width:2px}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-outline-color, var(--mat-sys-outline));border-width:var(--mdc-outlined-text-field-outline-width, 1px)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-hover-outline-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-focus-outline-color, var(--mat-sys-primary))}.mdc-text-field--outlined.mdc-text-field--disabled .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-notched-outline .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-hover-outline-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-focus-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mat-mdc-notch-piece{border-width:var(--mdc-outlined-text-field-focus-outline-width, 2px)}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)))}[dir=rtl] .mdc-notched-outline__leading{border-left:none;border-right:1px solid;border-bottom-left-radius:0;border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__trailing{flex-grow:1;border-left:none;border-right:1px solid;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small))}[dir=rtl] .mdc-notched-outline__trailing{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:min(var(--mat-form-field-notch-max-width, 100%),100% - max(12px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)))*2)}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none;--mat-form-field-notch-max-width: 100%}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch{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;border-bottom-width:var(--mdc-filled-text-field-active-indicator-height, 1px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color, var(--mat-sys-on-surface-variant))}.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, var(--mat-sys-on-surface))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color, var(--mat-sys-on-error-container))}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height, 2px)}.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, var(--mat-sys-primary))}.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, var(--mat-sys-error))}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-text-field--disabled{pointer-events:none}.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, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.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-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, 56px);padding-top:var(--mat-form-field-filled-with-label-container-padding-top, 24px);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom, 8px)}.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, 16px);padding-bottom:var(--mat-form-field-container-vertical-padding, 16px)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height, 56px)/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, 56px) / 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, var(--mat-sys-error))}.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, var(--mat-sys-body-small-font));line-height:var(--mat-form-field-subscript-text-line-height, var(--mat-sys-body-small-line-height));font-size:var(--mat-form-field-subscript-text-size, var(--mat-sys-body-small-size));letter-spacing:var(--mat-form-field-subscript-text-tracking, var(--mat-sys-body-small-tracking));font-weight:var(--mat-form-field-subscript-text-weight, var(--mat-sys-body-small-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, var(--mat-sys-on-surface))}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity, var(--mat-sys-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, 0)}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, var(--mat-sys-neutral10))}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, color-mix(in srgb, var(--mat-sys-neutral10) 38%, transparent))}.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, var(--mat-sys-on-surface-variant))}[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, var(--mat-sys-primary))}.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, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.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}@media(forced-colors: active){.mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}}@media(forced-colors: 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, var(--mat-sys-body-large-font));line-height:var(--mat-form-field-container-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-form-field-container-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-form-field-container-text-tracking, var(--mat-sys-body-large-tracking));font-weight:var(--mat-form-field-container-text-weight, var(--mat-sys-body-large-weight))}.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)}[dir=rtl] .mat-mdc-form-field{text-align:right}.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, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color, var(--mat-sys-error))}.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, var(--mat-sys-on-error-container))}.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, var(--mat-sys-error))}.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-infix:has(textarea[cols]){width:auto}.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-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::-moz-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::-webkit-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .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--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-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:[O8.transitionMessages]},changeDetection:0})}return n})(),fs=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({imports:[me,oh,me]})}return n})();var N8=["trigger"],L8=["panel"],V8=[[["mat-select-trigger"]],"*"],B8=["mat-select-trigger","*"];function j8(n,i){if(n&1&&(c(0,"span",4),f(1),d()),n&2){let e=_();u(),Ge(e.placeholder)}}function z8(n,i){n&1&&re(0)}function U8(n,i){if(n&1&&(c(0,"span",11),f(1),d()),n&2){let e=_(2);u(),Ge(e.triggerValue)}}function H8(n,i){if(n&1&&(c(0,"span",5),x(1,z8,1,0)(2,U8,2,1,"span",11),d()),n&2){let e=_();u(),Ce(e.customTrigger?1:2)}}function W8(n,i){if(n&1){let e=k();c(0,"div",12,1),b("@transformPanel.done",function(o){y(e);let r=_();return w(r._panelDoneAnimatingStream.next(o.toState))})("keydown",function(o){y(e);let r=_();return w(r._handleKeydown(o))}),re(2,1),d()}if(n&2){let e=_();iM("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",e._getPanelTheme(),""),p("ngClass",e.panelClass)("@transformPanel","showing"),ee("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}var G8={transformPanelWrap:mn("transformPanelWrap",[xt("* => void",Sh("@transformPanel",[Dh()],{optional:!0}))]),transformPanel:mn("transformPanel",[Ft("void",Me({opacity:0,transform:"scale(1, 0.8)"})),xt("void => showing",It("120ms cubic-bezier(0, 0, 0.2, 1)",Me({opacity:1,transform:"scale(1, 1)"}))),xt("* => void",It("100ms linear",Me({opacity:0})))])};var _k=new R("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let n=h(Lt);return()=>n.scrollStrategies.reposition()}});function $8(n){return()=>n.scrollStrategies.reposition()}var q8=new R("MAT_SELECT_CONFIG"),Y8={provide:_k,deps:[Lt],useFactory:$8},vk=new R("MatSelectTrigger"),Qy=class{source;value;constructor(i,e){this.source=i,this.value=e}},vt=(()=>{class n{_viewportRuler=h(Ii);_changeDetectorRef=h(Ee);_elementRef=h(Q);_dir=h(jt,{optional:!0});_idGenerator=h(ft);_parentFormField=h(Ro,{optional:!0});ngControl=h(Ai,{self:!0,optional:!0});_liveAnnouncer=h(mh);_defaultOptions=h(q8,{optional:!0});options;optionGroups;customTrigger;_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"}];_scrollOptionIntoView(e){let t=this.options.toArray()[e];if(t){let o=this.panel.nativeElement,r=yh(e,this.options,this.optionGroups),a=t._getHostElement();e===0&&r===1?o.scrollTop=0:o.scrollTop=wh(a.offsetTop,a.offsetHeight,o.scrollTop,o.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(e){return new Qy(this,e)}_scrollStrategyFactory=h(_k);_panelOpen=!1;_compareWith=(e,t)=>e===t;_uid=this._idGenerator.getId("mat-select-");_triggerAriaLabelledBy=null;_previousControl;_destroy=new j;_errorStateTracker;stateChanges=new j;disableAutomaticLabeling=!0;userAriaDescribedBy;_selectionModel;_keyManager;_preferredOverlayOrigin;_overlayWidth;_onChange=()=>{};_onTouched=()=>{};_valueId=this._idGenerator.getId("mat-select-value-");_panelDoneAnimatingStream=new j;_scrollStrategy;_overlayPanelClass=this._defaultOptions?.overlayPanelClass||"";get focused(){return this._focused||this._panelOpen}_focused=!1;controlType="mat-select";trigger;panel;_overlayDir;panelClass;disabled=!1;disableRipple=!1;tabIndex=0;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._syncParentProperties()}_hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1;get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}_placeholder;get required(){return this._required??this.ngControl?.control?.hasValidator(rr.required)??!1}set required(e){this._required=e,this.stateChanges.next()}_required;get multiple(){return this._multiple}set multiple(e){this._selectionModel,this._multiple=e}_multiple=!1;disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1;get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this._assignValue(e)&&this._onChange(e)}_value;ariaLabel="";ariaLabelledby;get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}typeaheadDebounceInterval;sortComparator;get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}_id;get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto";_initialized=new j;optionSelectionChanges=Xi(()=>{let e=this.options;return e?e.changes.pipe(Et(e),Tt(()=>yt(...e.map(t=>t.onSelectionChange)))):this._initialized.pipe(Tt(()=>this.optionSelectionChanges))});openedChange=new T;_openedStream=this.openedChange.pipe(je(e=>e),le(()=>{}));_closedStream=this.openedChange.pipe(je(e=>!e),le(()=>{}));selectionChange=new T;valueChange=new T;constructor(){let e=h(ba),t=h(co,{optional:!0}),o=h(Ea,{optional:!0}),r=h(new jn("tabindex"),{optional:!0});this.ngControl&&(this.ngControl.valueAccessor=this),this._defaultOptions?.typeaheadDebounceInterval!=null&&(this.typeaheadDebounceInterval=this._defaultOptions.typeaheadDebounceInterval),this._errorStateTracker=new Or(e,this.ngControl,o,t,this.stateChanges),this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=r==null?0:parseInt(r)||0,this.id=this.id}ngOnInit(){this._selectionModel=new Rr(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Ls(),pe(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen)),this._viewportRuler.change().pipe(pe(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(pe(this._destroy)).subscribe(e=>{e.added.forEach(t=>t.select()),e.removed.forEach(t=>t.deselect())}),this.options.changes.pipe(Et(null),pe(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){let e=this._getTriggerAriaLabelledby(),t=this.ngControl;if(e!==this._triggerAriaLabelledBy){let o=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?o.setAttribute("aria-labelledby",e):o.removeAttribute("aria-labelledby")}t&&(this._previousControl!==t.control&&(this._previousControl!==void 0&&t.disabled!==null&&t.disabled!==this.disabled&&(this.disabled=t.disabled),this._previousControl=t.control),this.updateErrorState())}ngOnChanges(e){(e.disabled||e.userAriaDescribedBy)&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_trackedModal=null;_applyModalPanelOwnership(){let e=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!e)return;let t=`${this.id}-panel`;this._trackedModal&&_a(this._trackedModal,"aria-owns",t),Ol(e,"aria-owns",t),this._trackedModal=e}_clearFromModal(){if(!this._trackedModal)return;let e=`${this.id}-panel`;_a(this._trackedModal,"aria-owns",e),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(e){this._assignValue(e)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){let e=this._selectionModel.selected.map(t=>t.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return this._dir?this._dir.value==="rtl":!1}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){let t=e.keyCode,o=t===40||t===38||t===37||t===39,r=t===13||t===32,a=this._keyManager;if(!a.isTyping()&&r&&!Ot(e)||(this.multiple||e.altKey)&&o)e.preventDefault(),this.open();else if(!this.multiple){let s=this.selected;a.onKeydown(e);let l=this.selected;l&&s!==l&&this._liveAnnouncer.announce(l.viewValue,1e4)}}_handleOpenKeydown(e){let t=this._keyManager,o=e.keyCode,r=o===40||o===38,a=t.isTyping();if(r&&e.altKey)e.preventDefault(),this.close();else if(!a&&(o===13||o===32)&&t.activeItem&&!Ot(e))e.preventDefault(),t.activeItem._selectViaInteraction();else if(!a&&this._multiple&&o===65&&e.ctrlKey){e.preventDefault();let s=this.options.some(l=>!l.disabled&&!l.selected);this.options.forEach(l=>{l.disabled||(s?l.select():l.deselect())})}else{let s=t.activeItemIndex;t.onKeydown(e),this._multiple&&r&&e.shiftKey&&t.activeItem&&t.activeItemIndex!==s&&t.activeItem._selectViaInteraction()}}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe(Rt(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this.options.forEach(t=>t.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(t=>this._selectOptionByValue(t)),this._sortValues();else{let t=this._selectOptionByValue(e);t?this._keyManager.updateActiveItem(t):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(e){let t=this.options.find(o=>{if(this._selectionModel.isSelected(o))return!1;try{return o.value!=null&&this._compareWith(o.value,e)}catch{return!1}});return t&&this._selectionModel.select(t),t}_assignValue(e){return e!==this._value||this._multiple&&Array.isArray(e)?(this.options&&this._setSelectionByValue(e),this._value=e,!0):!1}_skipPredicate=e=>this.panelOpen?!1:e.disabled;_getOverlayWidth(e){return this.panelWidth==="auto"?(e instanceof Sd?e.elementRef:e||this._elementRef).nativeElement.getBoundingClientRect().width:this.panelWidth===null?"":this.panelWidth}_syncParentProperties(){if(this.options)for(let e of this.options)e._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new kl(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 e=yt(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(pe(e)).subscribe(t=>{this._onSelect(t.source,t.isUserInput),t.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),yt(...this.options.map(t=>t._stateChanges)).pipe(pe(e)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(e,t){let o=this._selectionModel.isSelected(e);e.value==null&&!this._multiple?(e.deselect(),this._selectionModel.clear(),this.value!=null&&this._propagateChanges(e.value)):(o!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),t&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),t&&this.focus())),o!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){let e=this.options.toArray();this._selectionModel.sort((t,o)=>this.sortComparator?this.sortComparator(t,o,e):e.indexOf(t)-e.indexOf(o)),this.stateChanges.next()}}_propagateChanges(e){let t;this.multiple?t=this.selected.map(o=>o.value):t=this.selected?this.selected.value:e,this._value=t,this.valueChange.emit(t),this._onChange(t),this.selectionChange.emit(this._getChangeEvent(t)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let e=-1;for(let t=0;t0}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId()||null,t=e?e+" ":"";return this.ariaLabelledby?t+this.ariaLabelledby:e}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId(),t=(e?e+" ":"")+this._valueId;return this.ariaLabelledby&&(t+=" "+this.ariaLabelledby),t}_panelDoneAnimating(e){this.openedChange.emit(e)}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["mat-select"]],contentQueries:function(t,o,r){if(t&1&&(He(r,vk,5),He(r,nt,5),He(r,kd,5)),t&2){let a;$(a=q())&&(o.customTrigger=a.first),$(a=q())&&(o.options=a),$(a=q())&&(o.optionGroups=a)}},viewQuery:function(t,o){if(t&1&&(se(N8,5),se(L8,5),se(dy,5)),t&2){let r;$(r=q())&&(o.trigger=r.first),$(r=q())&&(o.panel=r.first),$(r=q())&&(o._overlayDir=r.first)}},hostAttrs:["role","combobox","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(t,o){t&1&&b("keydown",function(a){return o._handleKeydown(a)})("focus",function(){return o._onFocus()})("blur",function(){return o._onBlur()}),t&2&&(ee("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()),ne("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",G],disableRipple:[2,"disableRipple","disableRipple",G],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:on(e)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",G],placeholder:"placeholder",required:[2,"required","required",G],multiple:[2,"multiple","multiple",G],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",G],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",on],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[ye([{provide:Ma,useExisting:n},{provide:Td,useExisting:n}]),ce,Ze],ngContentSelectors:B8,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(t,o){if(t&1){let r=k();We(V8),c(0,"div",2,0),b("click",function(){return y(r),w(o.open())}),c(3,"div",3),x(4,j8,2,1,"span",4)(5,H8,3,1,"span",5),d(),c(6,"div",6)(7,"div",7),fn(),c(8,"svg",8),M(9,"path",9),d()()()(),x(10,W8,3,9,"ng-template",10),b("backdropClick",function(){return y(r),w(o.close())})("attach",function(){return y(r),w(o._onAttached())})("detach",function(){return y(r),w(o.close())})}if(t&2){let r=be(1);u(3),ee("id",o._valueId),u(),Ce(o.empty?4:5),u(6),p("cdkConnectedOverlayPanelClass",o._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",o._scrollStrategy)("cdkConnectedOverlayOrigin",o._preferredOverlayOrigin||r)("cdkConnectedOverlayOpen",o.panelOpen)("cdkConnectedOverlayPositions",o._positions)("cdkConnectedOverlayWidth",o._overlayWidth)}},dependencies:[Sd,dy,Ei],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, var(--mat-sys-on-surface));font-family:var(--mat-select-trigger-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-select-trigger-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-select-trigger-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-select-trigger-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-select-trigger-text-tracking, var(--mat-sys-body-large-tracking))}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-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-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.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, var(--mat-sys-error))}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color, var(--mat-sys-on-surface-variant))}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}@media(forced-colors: active){.mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .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, var(--mat-sys-surface-container))}@media(forced-colors: 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, var(--mat-sys-on-surface-variant))}._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, translateY(-8px))}'],encapsulation:2,data:{animation:[G8.transformPanel]},changeDetection:0})}return n})(),Sf=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["mat-select-trigger"]],features:[ye([{provide:vk,useExisting:n}])]})}return n})(),Ef=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({providers:[Y8],imports:[ci,Ll,me,ro,fs,Ll,me]})}return n})();var Q8=["tooltip"],wk=20;var Ck=new R("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{let n=h(Lt);return()=>n.scrollStrategies.reposition({scrollThrottle:wk})}});function K8(n){return()=>n.scrollStrategies.reposition({scrollThrottle:wk})}var Z8={provide:Ck,deps:[Lt],useFactory:K8};function X8(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}var J8=new R("mat-tooltip-default-options",{providedIn:"root",factory:X8});var bk="tooltip-panel",yk=Wn({passive:!0}),e6=8,t6=8,n6=24,i6=200,ar=(()=>{class n{_overlay=h(Lt);_elementRef=h(Q);_scrollDispatcher=h(El);_viewContainerRef=h(kt);_ngZone=h(te);_platform=h(rt);_ariaDescriber=h(uh);_focusMonitor=h(Pn);_dir=h(jt);_injector=h(Ae);_defaultOptions=h(J8,{optional:!0});_overlayRef;_tooltipInstance;_portal;_position="below";_positionAtOrigin=!1;_disabled=!1;_tooltipClass;_scrollStrategy=h(Ck);_viewInitialized=!1;_pointerExitEventsInitialized=!1;_tooltipComponent=o6;_viewportMargin=8;_currentPosition;_cssClassPrefix="mat-mdc";_ariaDescriptionPending;get position(){return this._position}set position(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(e){this._positionAtOrigin=oo(e),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(e){let t=oo(e);this._disabled!==t&&(this._disabled=t,t?this.hide(0):this._setupPointerEnterEventsIfNeeded(),this._syncAriaDescription(this.message))}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=tr(e)}_showDelay;get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=tr(e),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}_hideDelay;touchGestures="auto";get message(){return this._message}set message(e){let t=this._message;this._message=e!=null?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage()),this._syncAriaDescription(t)}_message="";get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}_passiveListeners=[];_document=h(de);_touchstartTimeout=null;_destroyed=new j;constructor(){let e=this._defaultOptions;e&&(this._showDelay=e.showDelay,this._hideDelay=e.hideDelay,e.position&&(this.position=e.position),e.positionAtOrigin&&(this.positionAtOrigin=e.positionAtOrigin),e.touchGestures&&(this.touchGestures=e.touchGestures),e.tooltipClass&&(this.tooltipClass=e.tooltipClass)),this._dir.change.pipe(pe(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),this._viewportMargin=e6}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(pe(this._destroyed)).subscribe(e=>{e?e==="keyboard"&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){let e=this._elementRef.nativeElement;this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([t,o])=>{e.removeEventListener(t,o,yk)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay,t){if(this.disabled||!this.message||this._isTooltipVisible()){this._tooltipInstance?._cancelPendingAnimations();return}let o=this._createOverlay(t);this._detach(),this._portal=this._portal||new Ti(this._tooltipComponent,this._viewContainerRef);let r=this._tooltipInstance=o.attach(this._portal).instance;r._triggerElement=this._elementRef.nativeElement,r._mouseLeaveHideDelay=this._hideDelay,r.afterHidden().pipe(pe(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),r.show(e)}hide(e=this.hideDelay){let t=this._tooltipInstance;t&&(t.isVisible()?t.hide(e):(t._cancelPendingAnimations(),this._detach()))}toggle(e){this._isTooltipVisible()?this.hide():this.show(void 0,e)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(e){if(this._overlayRef){let r=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!e)&&r._origin instanceof Q)return this._overlayRef;this._detach()}let t=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),o=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin?e||this._elementRef:this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(t);return o.positionChanges.pipe(pe(this._destroyed)).subscribe(r=>{this._updateCurrentPositionClass(r.connectionPair),this._tooltipInstance&&r.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:o,panelClass:`${this._cssClassPrefix}-${bk}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(pe(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(pe(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(pe(this._destroyed)).subscribe(r=>{this._isTooltipVisible()&&r.keyCode===27&&!Ot(r)&&(r.preventDefault(),r.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){let t=e.getConfig().positionStrategy,o=this._getOrigin(),r=this._getOverlayPosition();t.withPositions([this._addOffset(L(L({},o.main),r.main)),this._addOffset(L(L({},o.fallback),r.fallback))])}_addOffset(e){let t=t6,o=!this._dir||this._dir.value=="ltr";return e.originY==="top"?e.offsetY=-t:e.originY==="bottom"?e.offsetY=t:e.originX==="start"?e.offsetX=o?-t:t:e.originX==="end"&&(e.offsetX=o?t:-t),e}_getOrigin(){let e=!this._dir||this._dir.value=="ltr",t=this.position,o;t=="above"||t=="below"?o={originX:"center",originY:t=="above"?"top":"bottom"}:t=="before"||t=="left"&&e||t=="right"&&!e?o={originX:"start",originY:"center"}:(t=="after"||t=="right"&&e||t=="left"&&!e)&&(o={originX:"end",originY:"center"});let{x:r,y:a}=this._invertPosition(o.originX,o.originY);return{main:o,fallback:{originX:r,originY:a}}}_getOverlayPosition(){let e=!this._dir||this._dir.value=="ltr",t=this.position,o;t=="above"?o={overlayX:"center",overlayY:"bottom"}:t=="below"?o={overlayX:"center",overlayY:"top"}:t=="before"||t=="left"&&e||t=="right"&&!e?o={overlayX:"end",overlayY:"center"}:(t=="after"||t=="right"&&e||t=="left"&&!e)&&(o={overlayX:"start",overlayY:"center"});let{x:r,y:a}=this._invertPosition(o.overlayX,o.overlayY);return{main:o,fallback:{overlayX:r,overlayY:a}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),nn(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()},{injector:this._injector}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,t){return this.position==="above"||this.position==="below"?t==="top"?t="bottom":t==="bottom"&&(t="top"):e==="end"?e="start":e==="start"&&(e="end"),{x:e,y:t}}_updateCurrentPositionClass(e){let{overlayY:t,originX:o,originY:r}=e,a;if(t==="center"?this._dir&&this._dir.value==="rtl"?a=o==="end"?"left":"right":a=o==="start"?"left":"right":a=t==="bottom"&&r==="top"?"above":"below",a!==this._currentPosition){let s=this._overlayRef;if(s){let l=`${this._cssClassPrefix}-${bk}-`;s.removePanelClass(l+this._currentPosition),s.addPanelClass(l+a)}this._currentPosition=a}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",e=>{this._setupPointerExitEventsIfNeeded();let t;e.x!==void 0&&e.y!==void 0&&(t=e),this.show(void 0,t)}]):this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",e=>{let t=e.targetTouches?.[0],o=t?{x:t.clientX,y:t.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),this._touchstartTimeout&&clearTimeout(this._touchstartTimeout);let r=500;this._touchstartTimeout=setTimeout(()=>{this._touchstartTimeout=null,this.show(void 0,o)},this._defaultOptions?.touchLongPressShowDelay??r)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;let e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",t=>{let o=t.relatedTarget;(!o||!this._overlayRef?.overlayElement.contains(o))&&this.hide()}],["wheel",t=>this._wheelListener(t)]);else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();let t=()=>{this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions?.touchendHideDelay)};e.push(["touchend",t],["touchcancel",t])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([t,o])=>{this._elementRef.nativeElement.addEventListener(t,o,yk)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){let t=this._document.elementFromPoint(e.clientX,e.clientY),o=this._elementRef.nativeElement;t!==o&&!o.contains(t)&&this.hide()}}_disableNativeGesturesIfNecessary(){let e=this.touchGestures;if(e!=="off"){let t=this._elementRef.nativeElement,o=t.style;(e==="on"||t.nodeName!=="INPUT"&&t.nodeName!=="TEXTAREA")&&(o.userSelect=o.msUserSelect=o.webkitUserSelect=o.MozUserSelect="none"),(e==="on"||!t.draggable)&&(o.webkitUserDrag="none"),o.touchAction="none",o.webkitTapHighlightColor="transparent"}}_syncAriaDescription(e){this._ariaDescriptionPending||(this._ariaDescriptionPending=!0,this._ariaDescriber.removeDescription(this._elementRef.nativeElement,e,"tooltip"),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriptionPending=!1,this.message&&!this.disabled&&this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(t,o){t&2&&ne("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"]})}return n})(),o6=(()=>{class n{_changeDetectorRef=h(Ee);_elementRef=h(Q);_isMultiline=!1;message;tooltipClass;_showTimeoutId;_hideTimeoutId;_triggerElement;_mouseLeaveHideDelay;_animationsDisabled;_tooltip;_closeOnInteraction=!1;_isVisible=!1;_onHide=new j;_showAnimation="mat-mdc-tooltip-show";_hideAnimation="mat-mdc-tooltip-hide";constructor(){let e=h($t,{optional:!0});this._animationsDisabled=e==="NoopAnimations"}show(e){this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},e)}hide(e){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},e)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:e}){(!e||!this._triggerElement.contains(e))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){let e=this._elementRef.nativeElement.getBoundingClientRect();return e.height>n6&&e.width>=i6}_handleAnimationEnd({animationName:e}){(e===this._showAnimation||e===this._hideAnimation)&&this._finalizeAnimation(e===this._showAnimation)}_cancelPendingAnimations(){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(e){e?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(e){let t=this._tooltip.nativeElement,o=this._showAnimation,r=this._hideAnimation;if(t.classList.remove(e?r:o),t.classList.add(e?o:r),this._isVisible!==e&&(this._isVisible=e,this._changeDetectorRef.markForCheck()),e&&!this._animationsDisabled&&typeof getComputedStyle=="function"){let a=getComputedStyle(t);(a.getPropertyValue("animation-duration")==="0s"||a.getPropertyValue("animation-name")==="none")&&(this._animationsDisabled=!0)}e&&this._onShow(),this._animationsDisabled&&(t.classList.add("_mat-animation-noopable"),this._finalizeAnimation(e))}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["mat-tooltip-component"]],viewQuery:function(t,o){if(t&1&&se(Q8,7),t&2){let r;$(r=q())&&(o._tooltip=r.first)}},hostAttrs:["aria-hidden","true"],hostBindings:function(t,o){t&1&&b("mouseleave",function(a){return o._handleMouseLeave(a)})},decls:4,vars:4,consts:[["tooltip",""],[1,"mdc-tooltip","mat-mdc-tooltip",3,"animationend","ngClass"],[1,"mat-mdc-tooltip-surface","mdc-tooltip__surface"]],template:function(t,o){if(t&1){let r=k();c(0,"div",1,0),b("animationend",function(s){return y(r),w(o._handleAnimationEnd(s))}),c(2,"div",2),f(3),d()()}t&2&&(ne("mdc-tooltip--multiline",o._isMultiline),p("ngClass",o.tooltipClass),u(3),Ge(o.message))},dependencies:[Ei],styles:['.mat-mdc-tooltip{position:relative;transform:scale(0);display:inline-flex}.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-surface{word-break:normal;overflow-wrap:anywhere;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center;will-change:transform,opacity;background-color:var(--mdc-plain-tooltip-container-color, var(--mat-sys-inverse-surface));color:var(--mdc-plain-tooltip-supporting-text-color, var(--mat-sys-inverse-on-surface));border-radius:var(--mdc-plain-tooltip-container-shape, var(--mat-sys-corner-extra-small));font-family:var(--mdc-plain-tooltip-supporting-text-font, var(--mat-sys-body-small-font));font-size:var(--mdc-plain-tooltip-supporting-text-size, var(--mat-sys-body-small-size));font-weight:var(--mdc-plain-tooltip-supporting-text-weight, var(--mat-sys-body-small-weight));line-height:var(--mdc-plain-tooltip-supporting-text-line-height, var(--mat-sys-body-small-line-height));letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking, var(--mat-sys-body-small-tracking))}.mat-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}.mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:right}.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})}return n})();var Hl=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({providers:[Z8],imports:[Pl,ci,me,me,ro]})}return n})();function r6(n,i){if(n&1&&(c(0,"mat-option",17),f(1),d()),n&2){let e=i.$implicit;p("value",e),u(),O(" ",e," ")}}function a6(n,i){if(n&1){let e=k();c(0,"mat-form-field",14)(1,"mat-select",16,0),b("selectionChange",function(o){y(e);let r=_(2);return w(r._changePageSize(o.value))}),Dr(3,r6,2,2,"mat-option",17,Nc),d(),c(5,"div",18),b("click",function(){y(e);let o=be(2);return w(o.open())}),d()()}if(n&2){let e=_(2);p("appearance",e._formFieldAppearance)("color",e.color),u(),p("value",e.pageSize)("disabled",e.disabled)("aria-labelledby",e._pageSizeLabelId)("panelClass",e.selectConfig.panelClass||"")("disableOptionCentering",e.selectConfig.disableOptionCentering),u(2),Sr(e._displayedPageSizeOptions)}}function s6(n,i){if(n&1&&(c(0,"div",15),f(1),d()),n&2){let e=_(2);u(),Ge(e.pageSize)}}function l6(n,i){if(n&1&&(c(0,"div",3)(1,"div",13),f(2),d(),x(3,a6,6,7,"mat-form-field",14)(4,s6,2,1,"div",15),d()),n&2){let e=_();u(),ee("id",e._pageSizeLabelId),u(),O(" ",e._intl.itemsPerPageLabel," "),u(),Ce(e._displayedPageSizeOptions.length>1?3:-1),u(),Ce(e._displayedPageSizeOptions.length<=1?4:-1)}}function c6(n,i){if(n&1){let e=k();c(0,"button",19),b("click",function(){y(e);let o=_();return w(o.firstPage())}),fn(),c(1,"svg",8),M(2,"path",20),d()()}if(n&2){let e=_();p("matTooltip",e._intl.firstPageLabel)("matTooltipDisabled",e._previousButtonsDisabled())("matTooltipPosition","above")("disabled",e._previousButtonsDisabled()),ee("aria-label",e._intl.firstPageLabel)}}function d6(n,i){if(n&1){let e=k();c(0,"button",21),b("click",function(){y(e);let o=_();return w(o.lastPage())}),fn(),c(1,"svg",8),M(2,"path",22),d()()}if(n&2){let e=_();p("matTooltip",e._intl.lastPageLabel)("matTooltipDisabled",e._nextButtonsDisabled())("matTooltipPosition","above")("disabled",e._nextButtonsDisabled()),ee("aria-label",e._intl.lastPageLabel)}}var Ia=(()=>{class n{changes=new j;itemsPerPageLabel="Items per page:";nextPageLabel="Next page";previousPageLabel="Previous page";firstPageLabel="First page";lastPageLabel="Last page";getRangeLabel=(e,t,o)=>{if(o==0||t==0)return`0 of ${o}`;o=Math.max(o,0);let r=e*t,a=r{class n{_intl;_changeDetectorRef;_formFieldAppearance;_pageSizeLabelId=h(ft).getId("mat-paginator-page-size-label-");_intlChanges;_isInitialized=!1;_initializedStream=new Zi(1);color;get pageIndex(){return this._pageIndex}set pageIndex(e){this._pageIndex=Math.max(e||0,0),this._changeDetectorRef.markForCheck()}_pageIndex=0;get length(){return this._length}set length(e){this._length=e||0,this._changeDetectorRef.markForCheck()}_length=0;get pageSize(){return this._pageSize}set pageSize(e){this._pageSize=Math.max(e||0,0),this._updateDisplayedPageSizeOptions()}_pageSize;get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(e){this._pageSizeOptions=(e||[]).map(t=>on(t,0)),this._updateDisplayedPageSizeOptions()}_pageSizeOptions=[];hidePageSize=!1;showFirstLastButtons=!1;selectConfig={};disabled=!1;page=new T;_displayedPageSizeOptions;initialized=this._initializedStream;constructor(e,t,o){if(this._intl=e,this._changeDetectorRef=t,this._intlChanges=e.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),o){let{pageSize:r,pageSizeOptions:a,hidePageSize:s,showFirstLastButtons:l}=o;r!=null&&(this._pageSize=r),a!=null&&(this._pageSizeOptions=a),s!=null&&(this.hidePageSize=s),l!=null&&(this.showFirstLastButtons=l)}this._formFieldAppearance=o?.formFieldAppearance||"outline"}ngOnInit(){this._isInitialized=!0,this._updateDisplayedPageSizeOptions(),this._initializedStream.next()}ngOnDestroy(){this._initializedStream.complete(),this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;let e=this.pageIndex;this.pageIndex=this.pageIndex+1,this._emitPageEvent(e)}previousPage(){if(!this.hasPreviousPage())return;let e=this.pageIndex;this.pageIndex=this.pageIndex-1,this._emitPageEvent(e)}firstPage(){if(!this.hasPreviousPage())return;let e=this.pageIndex;this.pageIndex=0,this._emitPageEvent(e)}lastPage(){if(!this.hasNextPage())return;let e=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(e)}hasPreviousPage(){return this.pageIndex>=1&&this.pageSize!=0}hasNextPage(){let e=this.getNumberOfPages()-1;return this.pageIndexe-t),this._changeDetectorRef.markForCheck())}_emitPageEvent(e){this.page.emit({previousPageIndex:e,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}static \u0275fac=function(t){return new(t||n)(C(Ia),C(Ee),C(h6,8))};static \u0275cmp=E({type:n,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-mdc-paginator"],inputs:{color:"color",pageIndex:[2,"pageIndex","pageIndex",on],length:[2,"length","length",on],pageSize:[2,"pageSize","pageSize",on],pageSizeOptions:"pageSizeOptions",hidePageSize:[2,"hidePageSize","hidePageSize",G],showFirstLastButtons:[2,"showFirstLastButtons","showFirstLastButtons",G],selectConfig:"selectConfig",disabled:[2,"disabled","disabled",G]},outputs:{page:"page"},exportAs:["matPaginator"],features:[ce],decls:14,vars:14,consts:[["selectRef",""],[1,"mat-mdc-paginator-outer-container"],[1,"mat-mdc-paginator-container"],[1,"mat-mdc-paginator-page-size"],[1,"mat-mdc-paginator-range-actions"],["aria-live","polite",1,"mat-mdc-paginator-range-label"],["mat-icon-button","","type","button","disabledInteractive","",1,"mat-mdc-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["mat-icon-button","","type","button","disabledInteractive","",1,"mat-mdc-paginator-navigation-previous",3,"click","matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["viewBox","0 0 24 24","focusable","false","aria-hidden","true",1,"mat-mdc-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button","disabledInteractive","",1,"mat-mdc-paginator-navigation-next",3,"click","matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","disabledInteractive","",1,"mat-mdc-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],[1,"mat-mdc-paginator-page-size-label"],[1,"mat-mdc-paginator-page-size-select",3,"appearance","color"],[1,"mat-mdc-paginator-page-size-value"],["hideSingleSelectionIndicator","",3,"selectionChange","value","disabled","aria-labelledby","panelClass","disableOptionCentering"],[3,"value"],[1,"mat-mdc-paginator-touch-target",3,"click"],["mat-icon-button","","type","button","disabledInteractive","",1,"mat-mdc-paginator-navigation-first",3,"click","matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button","disabledInteractive","",1,"mat-mdc-paginator-navigation-last",3,"click","matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(t,o){t&1&&(c(0,"div",1)(1,"div",2),x(2,l6,5,4,"div",3),c(3,"div",4)(4,"div",5),f(5),d(),x(6,c6,3,5,"button",6),c(7,"button",7),b("click",function(){return o.previousPage()}),fn(),c(8,"svg",8),M(9,"path",9),d()(),yr(),c(10,"button",10),b("click",function(){return o.nextPage()}),fn(),c(11,"svg",8),M(12,"path",11),d()(),x(13,d6,3,5,"button",12),d()()()),t&2&&(u(2),Ce(o.hidePageSize?-1:2),u(3),O(" ",o._intl.getRangeLabel(o.pageIndex,o.pageSize,o.length)," "),u(),Ce(o.showFirstLastButtons?6:-1),u(),p("matTooltip",o._intl.previousPageLabel)("matTooltipDisabled",o._previousButtonsDisabled())("matTooltipPosition","above")("disabled",o._previousButtonsDisabled()),ee("aria-label",o._intl.previousPageLabel),u(3),p("matTooltip",o._intl.nextPageLabel)("matTooltipDisabled",o._nextButtonsDisabled())("matTooltipPosition","above")("disabled",o._nextButtonsDisabled()),ee("aria-label",o._intl.nextPageLabel),u(3),Ce(o.showFirstLastButtons?13:-1))},dependencies:[fe,vt,nt,Zn,ar],styles:[".mat-mdc-paginator{display:block;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-paginator-container-text-color, var(--mat-sys-on-surface));background-color:var(--mat-paginator-container-background-color, var(--mat-sys-surface));font-family:var(--mat-paginator-container-text-font, var(--mat-sys-body-small-font));line-height:var(--mat-paginator-container-text-line-height, var(--mat-sys-body-small-line-height));font-size:var(--mat-paginator-container-text-size, var(--mat-sys-body-small-size));font-weight:var(--mat-paginator-container-text-weight, var(--mat-sys-body-small-weight));letter-spacing:var(--mat-paginator-container-text-tracking, var(--mat-sys-body-small-tracking));--mat-form-field-container-height:var(--mat-paginator-form-field-container-height, 40px);--mat-form-field-container-vertical-padding:var(--mat-paginator-form-field-container-vertical-padding, 8px)}.mat-mdc-paginator .mat-mdc-select-value{font-size:var(--mat-paginator-select-trigger-text-size, var(--mat-sys-body-small-size))}.mat-mdc-paginator .mat-mdc-form-field-subscript-wrapper{display:none}.mat-mdc-paginator .mat-mdc-select{line-height:1.5}.mat-mdc-paginator-outer-container{display:flex}.mat-mdc-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap;width:100%;min-height:var(--mat-paginator-container-size, 56px)}.mat-mdc-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-mdc-paginator-page-size{margin-right:0;margin-left:8px}.mat-mdc-paginator-page-size-label{margin:0 4px}.mat-mdc-paginator-page-size-select{margin:0 4px;width:84px}.mat-mdc-paginator-range-label{margin:0 32px 0 24px}.mat-mdc-paginator-range-actions{display:flex;align-items:center}.mat-mdc-paginator-icon{display:inline-block;width:28px;fill:var(--mat-paginator-enabled-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button[aria-disabled] .mat-mdc-paginator-icon{fill:var(--mat-paginator-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}[dir=rtl] .mat-mdc-paginator-icon{transform:rotate(180deg)}@media(forced-colors: active){.mat-mdc-icon-button[disabled] .mat-mdc-paginator-icon,.mat-mdc-paginator-icon{fill:currentColor;fill:CanvasText}.mat-mdc-paginator-range-actions .mat-mdc-icon-button{outline:solid 1px}}.mat-mdc-paginator-touch-target{display:var(--mat-paginator-touch-target-display, block);position:absolute;top:50%;left:50%;width:84px;height:48px;background-color:rgba(0,0,0,0);transform:translate(-50%, -50%);cursor:pointer}"],encapsulation:2,changeDetection:0})}return n})(),xk=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({providers:[m6],imports:[or,Ef,Hl,Lr]})}return n})();var f6=["mat-sort-header",""],g6=["*"];function _6(n,i){if(n&1){let e=k();c(0,"div",2),b("@arrowPosition.start",function(){y(e);let o=_();return w(o._disableViewStateAnimation=!0)})("@arrowPosition.done",function(){y(e);let o=_();return w(o._disableViewStateAnimation=!1)}),M(1,"div",3),c(2,"div",4),M(3,"div",5)(4,"div",6)(5,"div",7),d()()}if(n&2){let e=_();p("@arrowOpacity",e._getArrowViewState())("@arrowPosition",e._getArrowViewState())("@allowChildren",e._getArrowDirectionState()),u(2),p("@indicator",e._getArrowDirectionState()),u(),p("@leftPointer",e._getArrowDirectionState()),u(),p("@rightPointer",e._getArrowDirectionState())}}var Sk=new R("MAT_SORT_DEFAULT_OPTIONS"),Vr=(()=>{class n{_defaultOptions;_initializedStream=new Zi(1);sortables=new Map;_stateChanges=new j;active;start="asc";get direction(){return this._direction}set direction(e){this._direction=e}_direction="";disableClear;disabled=!1;sortChange=new T;initialized=this._initializedStream;constructor(e){this._defaultOptions=e}register(e){this.sortables.set(e.id,e)}deregister(e){this.sortables.delete(e.id)}sort(e){this.active!=e.id?(this.active=e.id,this.direction=e.start?e.start:this.start):this.direction=this.getNextSortDirection(e),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(e){if(!e)return"";let t=e?.disableClear??this.disableClear??!!this._defaultOptions?.disableClear,o=v6(e.start||this.start,t),r=o.indexOf(this.direction)+1;return r>=o.length&&(r=0),o[r]}ngOnInit(){this._initializedStream.next()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete(),this._initializedStream.complete()}static \u0275fac=function(t){return new(t||n)(C(Sk,8))};static \u0275dir=N({type:n,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{active:[0,"matSortActive","active"],start:[0,"matSortStart","start"],direction:[0,"matSortDirection","direction"],disableClear:[2,"matSortDisableClear","disableClear",G],disabled:[2,"matSortDisabled","disabled",G]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[ce,Ze]})}return n})();function v6(n,i){let e=["asc","desc"];return n=="desc"&&e.reverse(),i||e.push(""),e}var Ta=B1.ENTERING+" "+V1.STANDARD_CURVE,Wl={indicator:mn("indicator",[Ft("active-asc, asc",Me({transform:"translateY(0px)"})),Ft("active-desc, desc",Me({transform:"translateY(10px)"})),xt("active-asc <=> active-desc",It(Ta))]),leftPointer:mn("leftPointer",[Ft("active-asc, asc",Me({transform:"rotate(-45deg)"})),Ft("active-desc, desc",Me({transform:"rotate(45deg)"})),xt("active-asc <=> active-desc",It(Ta))]),rightPointer:mn("rightPointer",[Ft("active-asc, asc",Me({transform:"rotate(45deg)"})),Ft("active-desc, desc",Me({transform:"rotate(-45deg)"})),xt("active-asc <=> active-desc",It(Ta))]),arrowOpacity:mn("arrowOpacity",[Ft("desc-to-active, asc-to-active, active",Me({opacity:1})),Ft("desc-to-hint, asc-to-hint, hint",Me({opacity:.54})),Ft("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",Me({opacity:0})),xt("* => asc, * => desc, * => active, * => hint, * => void",It("0ms")),xt("* <=> *",It(Ta))]),arrowPosition:mn("arrowPosition",[xt("* => desc-to-hint, * => desc-to-active",It(Ta,wa([Me({transform:"translateY(-25%)"}),Me({transform:"translateY(0)"})]))),xt("* => hint-to-desc, * => active-to-desc",It(Ta,wa([Me({transform:"translateY(0)"}),Me({transform:"translateY(25%)"})]))),xt("* => asc-to-hint, * => asc-to-active",It(Ta,wa([Me({transform:"translateY(25%)"}),Me({transform:"translateY(0)"})]))),xt("* => hint-to-asc, * => active-to-asc",It(Ta,wa([Me({transform:"translateY(0)"}),Me({transform:"translateY(-25%)"})]))),Ft("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",Me({transform:"translateY(0)"})),Ft("hint-to-desc, active-to-desc, desc",Me({transform:"translateY(-25%)"})),Ft("hint-to-asc, active-to-asc, asc",Me({transform:"translateY(25%)"}))]),allowChildren:mn("allowChildren",[xt("* <=> *",[Sh("@*",Dh(),{optional:!0})])])},If=(()=>{class n{changes=new j;static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function b6(n){return n||new If}var y6={provide:If,deps:[[new Bi,new So,If]],useFactory:b6},Tf=(()=>{class n{_intl=h(If);_changeDetectorRef=h(Ee);_sort=h(Vr,{optional:!0});_columnDef=h("MAT_SORT_HEADER_COLUMN_DEF",{optional:!0});_focusMonitor=h(Pn);_elementRef=h(Q);_ariaDescriber=h(uh,{optional:!0});_rerenderSubscription;_sortButton;_showIndicatorHint=!1;_viewState={};_arrowDirection="";_disableViewStateAnimation=!1;id;arrowPosition="after";start;disabled=!1;get sortActionDescription(){return this._sortActionDescription}set sortActionDescription(e){this._updateSortActionDescription(e)}_sortActionDescription="Sort";disableClear;constructor(){h(Mt).load(Dn);let e=h(Sk,{optional:!0});this._sort,e?.arrowPosition&&(this.arrowPosition=e?.arrowPosition),this._handleStateChanges()}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this),this._sortButton=this._elementRef.nativeElement.querySelector(".mat-sort-header-container"),this._updateSortActionDescription(this._sortActionDescription)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{let t=!!e;t!==this._showIndicatorHint&&(this._setIndicatorHintVisible(t),this._changeDetectorRef.markForCheck())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe(),this._sortButton&&this._ariaDescriber?.removeDescription(this._sortButton,this._sortActionDescription)}_setIndicatorHintVisible(e){this._isDisabled()&&e||(this._showIndicatorHint=e,this._isSorted()||(this._updateArrowDirection(),this._showIndicatorHint?this._setAnimationTransitionState({fromState:this._arrowDirection,toState:"hint"}):this._setAnimationTransitionState({fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(e){this._viewState=e||{},this._disableViewStateAnimation&&(this._viewState={toState:e.toState})}_toggleOnInteraction(){this._sort.sort(this),(this._viewState.toState==="hint"||this._viewState.toState==="active")&&(this._disableViewStateAnimation=!0)}_handleClick(){this._isDisabled()||this._sort.sort(this)}_handleKeydown(e){!this._isDisabled()&&(e.keyCode===32||e.keyCode===13)&&(e.preventDefault(),this._toggleOnInteraction())}_isSorted(){return this._sort.active==this.id&&(this._sort.direction==="asc"||this._sort.direction==="desc")}_getArrowDirectionState(){return`${this._isSorted()?"active-":""}${this._arrowDirection}`}_getArrowViewState(){let e=this._viewState.fromState;return(e?`${e}-to-`:"")+this._viewState.toState}_updateArrowDirection(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start}_isDisabled(){return this._sort.disabled||this.disabled}_getAriaSortAttribute(){return this._isSorted()?this._sort.direction=="asc"?"ascending":"descending":"none"}_renderArrow(){return!this._isDisabled()||this._isSorted()}_updateSortActionDescription(e){this._sortButton&&(this._ariaDescriber?.removeDescription(this._sortButton,this._sortActionDescription),this._ariaDescriber?.describe(this._sortButton,e)),this._sortActionDescription=e}_handleStateChanges(){this._rerenderSubscription=yt(this._sort.sortChange,this._sort._stateChanges,this._intl.changes).subscribe(()=>{this._isSorted()&&(this._updateArrowDirection(),(this._viewState.toState==="hint"||this._viewState.toState==="active")&&(this._disableViewStateAnimation=!0),this._setAnimationTransitionState({fromState:this._arrowDirection,toState:"active"}),this._showIndicatorHint=!1),!this._isSorted()&&this._viewState&&this._viewState.toState==="active"&&(this._disableViewStateAnimation=!1,this._setAnimationTransitionState({fromState:"active",toState:this._arrowDirection})),this._changeDetectorRef.markForCheck()})}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(t,o){t&1&&b("click",function(){return o._handleClick()})("keydown",function(a){return o._handleKeydown(a)})("mouseenter",function(){return o._setIndicatorHintVisible(!0)})("mouseleave",function(){return o._setIndicatorHintVisible(!1)}),t&2&&(ee("aria-sort",o._getAriaSortAttribute()),ne("mat-sort-header-disabled",o._isDisabled()))},inputs:{id:[0,"mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",disabled:[2,"disabled","disabled",G],sortActionDescription:"sortActionDescription",disableClear:[2,"disableClear","disableClear",G]},exportAs:["matSortHeader"],features:[ce],attrs:f6,ngContentSelectors:g6,decls:4,vars:7,consts:[[1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(t,o){t&1&&(We(),c(0,"div",0)(1,"div",1),re(2),d(),x(3,_6,6,6,"div",2),d()),t&2&&(ne("mat-sort-header-sorted",o._isSorted())("mat-sort-header-position-before",o.arrowPosition==="before"),ee("tabindex",o._isDisabled()?null:0)("role",o._isDisabled()?null:"button"),u(3),Ce(o._renderArrow()?3:-1))},styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-container::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;color:var(--mat-sort-arrow-color, var(--mat-sys-on-surface));opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}@media(forced-colors: active){.mat-sort-header-stem{width:0;border-left:solid 2px}}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}@media(forced-colors: active){.mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}@media(forced-colors: active){.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}"],encapsulation:2,data:{animation:[Wl.indicator,Wl.leftPointer,Wl.rightPointer,Wl.arrowOpacity,Wl.arrowPosition,Wl.allowChildren]},changeDetection:0})}return n})(),Ek=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({providers:[y6],imports:[me]})}return n})();var C6=[[["caption"]],[["colgroup"],["col"]],"*"],x6=["caption","colgroup, col","*"];function D6(n,i){n&1&&re(0,2)}function S6(n,i){n&1&&(c(0,"thead",0),Cn(1,1),d(),c(2,"tbody",0),Cn(3,2)(4,3),d(),c(5,"tfoot",0),Cn(6,4),d())}function E6(n,i){n&1&&Cn(0,1)(1,2)(2,3)(3,4)}var Oo=new R("CDK_TABLE");var Ff=(()=>{class n{template=h(wt);constructor(){}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["","cdkCellDef",""]]})}return n})(),Nf=(()=>{class n{template=h(wt);constructor(){}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["","cdkHeaderCellDef",""]]})}return n})(),kk=(()=>{class n{template=h(wt);constructor(){}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["","cdkFooterCellDef",""]]})}return n})(),Gl=(()=>{class n{_table=h(Oo,{optional:!0});_hasStickyChanged=!1;get name(){return this._name}set name(e){this._setNameInput(e)}_name;get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}_sticky=!1;get stickyEnd(){return this._stickyEnd}set stickyEnd(e){e!==this._stickyEnd&&(this._stickyEnd=e,this._hasStickyChanged=!0)}_stickyEnd=!1;cell;headerCell;footerCell;cssClassFriendlyName;_columnCssClassName;constructor(){}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(e){e&&(this._name=e,this.cssClassFriendlyName=e.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["","cdkColumnDef",""]],contentQueries:function(t,o,r){if(t&1&&(He(r,Ff,5),He(r,Nf,5),He(r,kk,5)),t&2){let a;$(a=q())&&(o.cell=a.first),$(a=q())&&(o.headerCell=a.first),$(a=q())&&(o.footerCell=a.first)}},inputs:{name:[0,"cdkColumnDef","name"],sticky:[2,"sticky","sticky",G],stickyEnd:[2,"stickyEnd","stickyEnd",G]},features:[ye([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:n}]),ce]})}return n})(),Af=class{constructor(i,e){e.nativeElement.classList.add(...i._columnCssClassName)}},Ak=(()=>{class n extends Af{constructor(){super(h(Gl),h(Q))}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[_e]})}return n})();var Rk=(()=>{class n extends Af{constructor(){let e=h(Gl),t=h(Q);super(e,t);let o=e._table?._getCellRole();o&&t.nativeElement.setAttribute("role",o)}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[_e]})}return n})(),Rf=class{tasks=[];endTasks=[]},Of=new R("_COALESCED_STYLE_SCHEDULER"),Zy=(()=>{class n{_currentSchedule=null;_ngZone=h(te);constructor(){}schedule(e){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(e)}scheduleEnd(e){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(e)}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new Rf,this._ngZone.runOutsideAngular(()=>queueMicrotask(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){let e=this._currentSchedule;this._currentSchedule=new Rf;for(let t of e.tasks)t();for(let t of e.endTasks)t()}this._currentSchedule=null})))}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac})}return n})();var Xy=(()=>{class n{template=h(wt);_differs=h(Ko);columns;_columnsDiffer;constructor(){}ngOnChanges(e){if(!this._columnsDiffer){let t=e.columns&&e.columns.currentValue||[];this._columnsDiffer=this._differs.find(t).create(),this._columnsDiffer.diff(t)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(e){return this instanceof Wd?e.headerCell.template:this instanceof Jy?e.footerCell.template:e.cell.template}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,features:[Ze]})}return n})(),Wd=(()=>{class n extends Xy{_table=h(Oo,{optional:!0});_hasStickyChanged=!1;get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}_sticky=!1;constructor(){super(h(wt),h(Ko))}ngOnChanges(e){super.ngOnChanges(e)}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[0,"cdkHeaderRowDef","columns"],sticky:[2,"cdkHeaderRowDefSticky","sticky",G]},features:[ce,_e,Ze]})}return n})(),Jy=(()=>{class n extends Xy{_table=h(Oo,{optional:!0});_hasStickyChanged=!1;get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}_sticky=!1;constructor(){super(h(wt),h(Ko))}ngOnChanges(e){super.ngOnChanges(e)}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[0,"cdkFooterRowDef","columns"],sticky:[2,"cdkFooterRowDefSticky","sticky",G]},features:[ce,_e,Ze]})}return n})(),Lf=(()=>{class n extends Xy{_table=h(Oo,{optional:!0});when;constructor(){super(h(wt),h(Ko))}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["","cdkRowDef",""]],inputs:{columns:[0,"cdkRowDefColumns","columns"],when:[0,"cdkRowDefWhen","when"]},features:[_e]})}return n})(),gs=(()=>{class n{_viewContainer=h(kt);cells;context;static mostRecentCellOutlet=null;constructor(){n.mostRecentCellOutlet=this}ngOnDestroy(){n.mostRecentCellOutlet===this&&(n.mostRecentCellOutlet=null)}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["","cdkCellOutlet",""]]})}return n})(),ew=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,o){t&1&&Cn(0,0)},dependencies:[gs],encapsulation:2})}return n})();var tw=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,o){t&1&&Cn(0,0)},dependencies:[gs],encapsulation:2})}return n})(),Ok=(()=>{class n{templateRef=h(wt);_contentClassName="cdk-no-data-row";constructor(){}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["ng-template","cdkNoDataRow",""]]})}return n})(),Ik=["top","bottom","left","right"],Ky=class{_isNativeHtmlTable;_stickCellCss;direction;_coalescedStyleScheduler;_isBrowser;_needsPositionStickyOnElement;_positionListener;_elemSizeCache=new WeakMap;_resizeObserver=globalThis?.ResizeObserver?new globalThis.ResizeObserver(i=>this._updateCachedSizes(i)):null;_updatedStickyColumnsParamsToReplay=[];_stickyColumnsReplayTimeout=null;_cachedCellWidths=[];_borderCellCss;constructor(i,e,t,o,r=!0,a=!0,s){this._isNativeHtmlTable=i,this._stickCellCss=e,this.direction=t,this._coalescedStyleScheduler=o,this._isBrowser=r,this._needsPositionStickyOnElement=a,this._positionListener=s,this._borderCellCss={top:`${e}-border-elem-top`,bottom:`${e}-border-elem-bottom`,left:`${e}-border-elem-left`,right:`${e}-border-elem-right`}}clearStickyPositioning(i,e){(e.includes("left")||e.includes("right"))&&this._removeFromStickyColumnReplayQueue(i);let t=[];for(let o of i)if(o.nodeType===o.ELEMENT_NODE){t.push(o);for(let r=0;r{for(let o of t)this._removeStickyStyle(o,e)})}updateStickyColumns(i,e,t,o=!0,r=!0){if(r&&this._updateStickyColumnReplayQueue({rows:[...i],stickyStartStates:[...e],stickyEndStates:[...t]}),!i.length||!this._isBrowser||!(e.some(a=>a)||t.some(a=>a))){this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]}));return}this._coalescedStyleScheduler.schedule(()=>{let a=i[0],s=a.children.length,l=this._getCellWidths(a,o),m=this._getStickyStartColumnPositions(l,e),g=this._getStickyEndColumnPositions(l,t),v=e.lastIndexOf(!0),D=t.indexOf(!0),S=this.direction==="rtl",I=S?"right":"left",A=S?"left":"right";for(let Y of i)for(let V=0;Ve[V]?Y:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:D===-1?[]:l.slice(D).map((Y,V)=>t[V+D]?Y:null).reverse()}))})}stickRows(i,e,t){this._isBrowser&&this._coalescedStyleScheduler.schedule(()=>{let o=t==="bottom"?i.slice().reverse():i,r=t==="bottom"?e.slice().reverse():e,a=[],s=[],l=[];for(let g=0,v=0;g{let t=i.querySelector("tfoot");t&&(e.some(o=>!o)?this._removeStickyStyle(t,["bottom"]):this._addStickyStyle(t,"bottom",0,!1))})}_removeStickyStyle(i,e){for(let o of e)i.style[o]="",i.classList.remove(this._borderCellCss[o]);Ik.some(o=>e.indexOf(o)===-1&&i.style[o])?i.style.zIndex=this._getCalculatedZIndex(i):(i.style.zIndex="",this._needsPositionStickyOnElement&&(i.style.position=""),i.classList.remove(this._stickCellCss))}_addStickyStyle(i,e,t,o){i.classList.add(this._stickCellCss),o&&i.classList.add(this._borderCellCss[e]),i.style[e]=`${t}px`,i.style.zIndex=this._getCalculatedZIndex(i),this._needsPositionStickyOnElement&&(i.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(i){let e={top:100,bottom:10,left:1,right:1},t=0;for(let o of Ik)i.style[o]&&(t+=e[o]);return t?`${t}`:""}_getCellWidths(i,e=!0){if(!e&&this._cachedCellWidths.length)return this._cachedCellWidths;let t=[],o=i.children;for(let r=0;r0;r--)e[r]&&(t[r]=o,o+=i[r]);return t}_retrieveElementSize(i){let e=this._elemSizeCache.get(i);if(e)return e;let t=i.getBoundingClientRect(),o={width:t.width,height:t.height};return this._resizeObserver&&(this._elemSizeCache.set(i,o),this._resizeObserver.observe(i,{box:"border-box"})),o}_updateStickyColumnReplayQueue(i){this._removeFromStickyColumnReplayQueue(i.rows),!this._stickyColumnsReplayTimeout&&this._updatedStickyColumnsParamsToReplay.push(i)}_removeFromStickyColumnReplayQueue(i){let e=new Set(i);for(let t of this._updatedStickyColumnsParamsToReplay)t.rows=t.rows.filter(o=>!e.has(o));this._updatedStickyColumnsParamsToReplay=this._updatedStickyColumnsParamsToReplay.filter(t=>!!t.rows.length)}_updateCachedSizes(i){let e=!1;for(let t of i){let o=t.borderBoxSize?.length?{width:t.borderBoxSize[0].inlineSize,height:t.borderBoxSize[0].blockSize}:{width:t.contentRect.width,height:t.contentRect.height};o.width!==this._elemSizeCache.get(t.target)?.width&&M6(t.target)&&(e=!0),this._elemSizeCache.set(t.target,o)}e&&this._updatedStickyColumnsParamsToReplay.length&&(this._stickyColumnsReplayTimeout&&clearTimeout(this._stickyColumnsReplayTimeout),this._stickyColumnsReplayTimeout=setTimeout(()=>{for(let t of this._updatedStickyColumnsParamsToReplay)this.updateStickyColumns(t.rows,t.stickyStartStates,t.stickyEndStates,!0,!1);this._updatedStickyColumnsParamsToReplay=[],this._stickyColumnsReplayTimeout=null},0))}};function M6(n){return["cdk-cell","cdk-header-cell","cdk-footer-cell"].some(i=>n.classList.contains(i))}var Pf=new R("CDK_SPL");var nw=(()=>{class n{viewContainer=h(kt);elementRef=h(Q);constructor(){let e=h(Oo);e._rowOutlet=this,e._outletAssigned()}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["","rowOutlet",""]]})}return n})(),iw=(()=>{class n{viewContainer=h(kt);elementRef=h(Q);constructor(){let e=h(Oo);e._headerRowOutlet=this,e._outletAssigned()}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["","headerRowOutlet",""]]})}return n})(),ow=(()=>{class n{viewContainer=h(kt);elementRef=h(Q);constructor(){let e=h(Oo);e._footerRowOutlet=this,e._outletAssigned()}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["","footerRowOutlet",""]]})}return n})(),rw=(()=>{class n{viewContainer=h(kt);elementRef=h(Q);constructor(){let e=h(Oo);e._noDataRowOutlet=this,e._outletAssigned()}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["","noDataRowOutlet",""]]})}return n})();var aw=(()=>{class n{_differs=h(Ko);_changeDetectorRef=h(Ee);_elementRef=h(Q);_dir=h(jt,{optional:!0});_platform=h(rt);_viewRepeater=h(_d);_coalescedStyleScheduler=h(Of);_viewportRuler=h(Ii);_stickyPositioningListener=h(Pf,{optional:!0,skipSelf:!0});_document=h(de);_data;_onDestroy=new j;_renderRows;_renderChangeSubscription;_columnDefsByName=new Map;_rowDefs;_headerRowDefs;_footerRowDefs;_dataDiffer;_defaultRowDef;_customColumnDefs=new Set;_customRowDefs=new Set;_customHeaderRowDefs=new Set;_customFooterRowDefs=new Set;_customNoDataRow;_headerRowDefChanged=!0;_footerRowDefChanged=!0;_stickyColumnStylesNeedReset=!0;_forceRecalculateCellWidths=!0;_cachedRenderRowsMap=new Map;_isNativeHtmlTable;_stickyStyler;stickyCssClass="cdk-table-sticky";needsPositionStickyOnElement=!0;_isServer;_isShowingNoDataRow=!1;_hasAllOutlets=!1;_hasInitialized=!1;_getCellRole(){if(this._cellRoleInternal===void 0){let e=this._elementRef.nativeElement.getAttribute("role");return e==="grid"||e==="treegrid"?"gridcell":"cell"}return this._cellRoleInternal}_cellRoleInternal=void 0;get trackBy(){return this._trackByFn}set trackBy(e){this._trackByFn=e}_trackByFn;get dataSource(){return this._dataSource}set dataSource(e){this._dataSource!==e&&this._switchDataSource(e)}_dataSource;get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(e){this._multiTemplateDataRows=e,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}_multiTemplateDataRows=!1;get fixedLayout(){return this._fixedLayout}set fixedLayout(e){this._fixedLayout=e,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}_fixedLayout=!1;contentChanged=new T;viewChange=new Gt({start:0,end:Number.MAX_VALUE});_rowOutlet;_headerRowOutlet;_footerRowOutlet;_noDataRowOutlet;_contentColumnDefs;_contentRowDefs;_contentHeaderRowDefs;_contentFooterRowDefs;_noDataRow;_injector=h(Ae);constructor(){h(new jn("role"),{optional:!0})||this._elementRef.nativeElement.setAttribute("role","table"),this._isServer=!this._platform.isBrowser,this._isNativeHtmlTable=this._elementRef.nativeElement.nodeName==="TABLE"}ngOnInit(){this._setupStickyStyler(),this._dataDiffer=this._differs.find([]).create((e,t)=>this.trackBy?this.trackBy(t.dataIndex,t.data):t),this._viewportRuler.change().pipe(pe(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentInit(){this._hasInitialized=!0}ngAfterContentChecked(){this._canRender()&&this._render()}ngOnDestroy(){[this._rowOutlet?.viewContainer,this._headerRowOutlet?.viewContainer,this._footerRowOutlet?.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(e=>{e?.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),nh(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();let e=this._dataDiffer.diff(this._renderRows);if(!e){this._updateNoDataRow(),this.contentChanged.next();return}let t=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(e,t,(o,r,a)=>this._getEmbeddedViewArgs(o.item,a),o=>o.item.data,o=>{o.operation===Dl.INSERTED&&o.context&&this._renderCellTemplateForItem(o.record.item.rowDef,o.context)}),this._updateRowIndexContext(),e.forEachIdentityChange(o=>{let r=t.get(o.currentIndex);r.context.$implicit=o.item.data}),this._updateNoDataRow(),nn(()=>{this.updateStickyColumnStyles()},{injector:this._injector}),this.contentChanged.next()}addColumnDef(e){this._customColumnDefs.add(e)}removeColumnDef(e){this._customColumnDefs.delete(e)}addRowDef(e){this._customRowDefs.add(e)}removeRowDef(e){this._customRowDefs.delete(e)}addHeaderRowDef(e){this._customHeaderRowDefs.add(e),this._headerRowDefChanged=!0}removeHeaderRowDef(e){this._customHeaderRowDefs.delete(e),this._headerRowDefChanged=!0}addFooterRowDef(e){this._customFooterRowDefs.add(e),this._footerRowDefChanged=!0}removeFooterRowDef(e){this._customFooterRowDefs.delete(e),this._footerRowDefChanged=!0}setNoDataRow(e){this._customNoDataRow=e}updateStickyHeaderRowStyles(){let e=this._getRenderedRows(this._headerRowOutlet);if(this._isNativeHtmlTable){let o=Tk(this._headerRowOutlet,"thead");o&&(o.style.display=e.length?"":"none")}let t=this._headerRowDefs.map(o=>o.sticky);this._stickyStyler.clearStickyPositioning(e,["top"]),this._stickyStyler.stickRows(e,t,"top"),this._headerRowDefs.forEach(o=>o.resetStickyChanged())}updateStickyFooterRowStyles(){let e=this._getRenderedRows(this._footerRowOutlet);if(this._isNativeHtmlTable){let o=Tk(this._footerRowOutlet,"tfoot");o&&(o.style.display=e.length?"":"none")}let t=this._footerRowDefs.map(o=>o.sticky);this._stickyStyler.clearStickyPositioning(e,["bottom"]),this._stickyStyler.stickRows(e,t,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,t),this._footerRowDefs.forEach(o=>o.resetStickyChanged())}updateStickyColumnStyles(){let e=this._getRenderedRows(this._headerRowOutlet),t=this._getRenderedRows(this._rowOutlet),o=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...e,...t,...o],["left","right"]),this._stickyColumnStylesNeedReset=!1),e.forEach((r,a)=>{this._addStickyColumnStyles([r],this._headerRowDefs[a])}),this._rowDefs.forEach(r=>{let a=[];for(let s=0;s{this._addStickyColumnStyles([r],this._footerRowDefs[a])}),Array.from(this._columnDefsByName.values()).forEach(r=>r.resetStickyChanged())}_outletAssigned(){!this._hasAllOutlets&&this._rowOutlet&&this._headerRowOutlet&&this._footerRowOutlet&&this._noDataRowOutlet&&(this._hasAllOutlets=!0,this._canRender()&&this._render())}_canRender(){return this._hasAllOutlets&&this._hasInitialized}_render(){this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&this._rowDefs.length;let t=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||t,this._forceRecalculateCellWidths=t,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}_getAllRenderRows(){let e=[],t=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let o=0;o{let s=o&&o.has(a)?o.get(a):[];if(s.length){let l=s.shift();return l.dataIndex=t,l}else return{data:e,rowDef:a,dataIndex:t}})}_cacheColumnDefs(){this._columnDefsByName.clear(),kf(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(t=>{this._columnDefsByName.has(t.name),this._columnDefsByName.set(t.name,t)})}_cacheRowDefs(){this._headerRowDefs=kf(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=kf(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=kf(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);let e=this._rowDefs.filter(t=>!t.when);!this.multiTemplateDataRows&&e.length>1,this._defaultRowDef=e[0]}_renderUpdatedColumns(){let e=(a,s)=>{let l=!!s.getColumnsDiff();return a||l},t=this._rowDefs.reduce(e,!1);t&&this._forceRenderDataRows();let o=this._headerRowDefs.reduce(e,!1);o&&this._forceRenderHeaderRows();let r=this._footerRowDefs.reduce(e,!1);return r&&this._forceRenderFooterRows(),t||o||r}_switchDataSource(e){this._data=[],nh(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),e||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet&&this._rowOutlet.viewContainer.clear()),this._dataSource=e}_observeRenderChanges(){if(!this.dataSource)return;let e;nh(this.dataSource)?e=this.dataSource.connect(this):Gr(this.dataSource)?e=this.dataSource:Array.isArray(this.dataSource)&&(e=ie(this.dataSource)),this._renderChangeSubscription=e.pipe(pe(this._onDestroy)).subscribe(t=>{this._data=t||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((e,t)=>this._renderRow(this._headerRowOutlet,e,t)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((e,t)=>this._renderRow(this._footerRowOutlet,e,t)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(e,t){let o=Array.from(t.columns||[]).map(s=>{let l=this._columnDefsByName.get(s);return l}),r=o.map(s=>s.sticky),a=o.map(s=>s.stickyEnd);this._stickyStyler.updateStickyColumns(e,r,a,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(e){let t=[];for(let o=0;o!r.when||r.when(t,e));else{let r=this._rowDefs.find(a=>a.when&&a.when(t,e))||this._defaultRowDef;r&&o.push(r)}return o.length,o}_getEmbeddedViewArgs(e,t){let o=e.rowDef,r={$implicit:e.data};return{templateRef:o.template,context:r,index:t}}_renderRow(e,t,o,r={}){let a=e.viewContainer.createEmbeddedView(t.template,r,o);return this._renderCellTemplateForItem(t,r),a}_renderCellTemplateForItem(e,t){for(let o of this._getCellTemplates(e))gs.mostRecentCellOutlet&&gs.mostRecentCellOutlet._viewContainer.createEmbeddedView(o,t);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){let e=this._rowOutlet.viewContainer;for(let t=0,o=e.length;t{let o=this._columnDefsByName.get(t);return e.extractCellTemplate(o)})}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){let e=(t,o)=>t||o.hasStickyChanged();this._headerRowDefs.reduce(e,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(e,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(e,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){let e=this._dir?this._dir.value:"ltr";this._stickyStyler=new Ky(this._isNativeHtmlTable,this.stickyCssClass,e,this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:ie()).pipe(pe(this._onDestroy)).subscribe(t=>{this._stickyStyler.direction=t,this.updateStickyColumnStyles()})}_getOwnDefs(e){return e.filter(t=>!t._table||t._table===this)}_updateNoDataRow(){let e=this._customNoDataRow||this._noDataRow;if(!e)return;let t=this._rowOutlet.viewContainer.length===0;if(t===this._isShowingNoDataRow)return;let o=this._noDataRowOutlet.viewContainer;if(t){let r=o.createEmbeddedView(e.templateRef),a=r.rootNodes[0];r.rootNodes.length===1&&a?.nodeType===this._document.ELEMENT_NODE&&(a.setAttribute("role","row"),a.classList.add(e._contentClassName))}else o.clear();this._isShowingNoDataRow=t,this._changeDetectorRef.markForCheck()}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(t,o,r){if(t&1&&(He(r,Ok,5),He(r,Gl,5),He(r,Lf,5),He(r,Wd,5),He(r,Jy,5)),t&2){let a;$(a=q())&&(o._noDataRow=a.first),$(a=q())&&(o._contentColumnDefs=a),$(a=q())&&(o._contentRowDefs=a),$(a=q())&&(o._contentHeaderRowDefs=a),$(a=q())&&(o._contentFooterRowDefs=a)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(t,o){t&2&&ne("cdk-table-fixed-layout",o.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:[2,"multiTemplateDataRows","multiTemplateDataRows",G],fixedLayout:[2,"fixedLayout","fixedLayout",G]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[ye([{provide:Oo,useExisting:n},{provide:_d,useClass:Sl},{provide:Of,useClass:Zy},{provide:Pf,useValue:null}]),ce],ngContentSelectors:x6,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,o){t&1&&(We(C6),re(0),re(1,1),x(2,D6,1,0)(3,S6,7,0)(4,E6,4,0)),t&2&&(u(2),Ce(o._isServer?2:-1),u(),Ce(o._isNativeHtmlTable?3:4))},dependencies:[iw,nw,rw,ow],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2})}return n})();function kf(n,i){return n.concat(Array.from(i))}function Tk(n,i){let e=i.toUpperCase(),t=n.viewContainer.element.nativeElement;for(;t;){let o=t.nodeType===1?t.nodeName:null;if(o===e)return t;if(o==="TABLE")break;t=t.parentNode}return null}var Pk=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({imports:[bd]})}return n})();var I6=[[["caption"]],[["colgroup"],["col"]],"*"],T6=["caption","colgroup, col","*"];function k6(n,i){n&1&&re(0,2)}function A6(n,i){n&1&&(c(0,"thead",0),Cn(1,1),d(),c(2,"tbody",2),Cn(3,3)(4,4),d(),c(5,"tfoot",0),Cn(6,5),d())}function R6(n,i){n&1&&Cn(0,1)(1,3)(2,4)(3,5)}var Vf=(()=>{class n extends aw{stickyCssClass="mat-mdc-table-sticky";needsPositionStickyOnElement=!1;static \u0275fac=(()=>{let e;return function(o){return(e||(e=at(n)))(o||n)}})();static \u0275cmp=E({type:n,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(t,o){t&2&&ne("mdc-table-fixed-layout",o.fixedLayout)},exportAs:["matTable"],features:[ye([{provide:aw,useExisting:n},{provide:Oo,useExisting:n},{provide:Of,useClass:Zy},{provide:_d,useClass:Sl},{provide:Pf,useValue:null}]),_e],ngContentSelectors:T6,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["role","rowgroup",1,"mdc-data-table__content"],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,o){t&1&&(We(I6),re(0),re(1,1),x(2,k6,1,0)(3,A6,7,0)(4,R6,4,0)),t&2&&(u(2),Ce(o._isServer?2:-1),u(),Ce(o._isNativeHtmlTable?3:4))},dependencies:[iw,nw,rw,ow],styles:[".mat-mdc-table-sticky{position:sticky !important}mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}.mat-mdc-table{min-width:100%;border:0;border-spacing:0;table-layout:auto;white-space:normal;background-color:var(--mat-table-background-color, var(--mat-sys-surface))}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell{text-align:right}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px}.mat-mdc-header-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-header-container-height, 56px);color:var(--mat-table-header-headline-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-table-header-headline-font, var(--mat-sys-title-small-font, Roboto, sans-serif));line-height:var(--mat-table-header-headline-line-height, var(--mat-sys-title-small-line-height));font-size:var(--mat-table-header-headline-size, var(--mat-sys-title-small-size, 14px));font-weight:var(--mat-table-header-headline-weight, var(--mat-sys-title-small-weight, 500))}.mat-mdc-row{height:var(--mat-table-row-item-container-height, 52px);color:var(--mat-table-row-item-label-text-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)))}.mat-mdc-row,.mdc-data-table__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-table-row-item-label-text-font, var(--mat-sys-body-medium-font, Roboto, sans-serif));line-height:var(--mat-table-row-item-label-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-table-row-item-label-text-size, var(--mat-sys-body-medium-size, 14px));font-weight:var(--mat-table-row-item-label-text-weight, var(--mat-sys-body-medium-weight))}.mat-mdc-footer-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-footer-container-height, 52px);color:var(--mat-table-row-item-label-text-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-table-footer-supporting-text-font, var(--mat-sys-body-medium-font, Roboto, sans-serif));line-height:var(--mat-table-footer-supporting-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-table-footer-supporting-text-size, var(--mat-sys-body-medium-size, 14px));font-weight:var(--mat-table-footer-supporting-text-weight, var(--mat-sys-body-medium-weight));letter-spacing:var(--mat-table-footer-supporting-text-tracking, var(--mat-sys-body-medium-tracking))}.mat-mdc-header-cell{border-bottom-color:var(--mat-table-row-item-outline-color, var(--mat-sys-outline, rgba(0, 0, 0, 0.12)));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-header-headline-tracking, var(--mat-sys-title-small-tracking));font-weight:inherit;line-height:inherit;box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mat-mdc-header-cell{text-align:right}.mat-mdc-cell{border-bottom-color:var(--mat-table-row-item-outline-color, var(--mat-sys-outline, rgba(0, 0, 0, 0.12)));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-row-item-label-text-tracking, var(--mat-sys-body-medium-tracking));line-height:inherit}.mdc-data-table__row:last-child .mat-mdc-cell{border-bottom:none}.mat-mdc-footer-cell{letter-spacing:var(--mat-table-row-item-label-text-tracking, var(--mat-sys-body-medium-tracking))}mat-row.mat-mdc-row,mat-header-row.mat-mdc-header-row,mat-footer-row.mat-mdc-footer-row{border-bottom:none}.mat-mdc-table tbody,.mat-mdc-table tfoot,.mat-mdc-table thead,.mat-mdc-cell,.mat-mdc-footer-cell,.mat-mdc-header-row,.mat-mdc-row,.mat-mdc-footer-row,.mat-mdc-table .mat-mdc-header-cell{background:inherit}.mat-mdc-table mat-header-row.mat-mdc-header-row,.mat-mdc-table mat-row.mat-mdc-row,.mat-mdc-table mat-footer-row.mat-mdc-footer-cell{height:unset}mat-header-cell.mat-mdc-header-cell,mat-cell.mat-mdc-cell,mat-footer-cell.mat-mdc-footer-cell{align-self:stretch}"],encapsulation:2})}return n})(),Bf=(()=>{class n extends Ff{static \u0275fac=(()=>{let e;return function(o){return(e||(e=at(n)))(o||n)}})();static \u0275dir=N({type:n,selectors:[["","matCellDef",""]],features:[ye([{provide:Ff,useExisting:n}]),_e]})}return n})(),jf=(()=>{class n extends Nf{static \u0275fac=(()=>{let e;return function(o){return(e||(e=at(n)))(o||n)}})();static \u0275dir=N({type:n,selectors:[["","matHeaderCellDef",""]],features:[ye([{provide:Nf,useExisting:n}]),_e]})}return n})();var zf=(()=>{class n extends Gl{get name(){return this._name}set name(e){this._setNameInput(e)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}static \u0275fac=(()=>{let e;return function(o){return(e||(e=at(n)))(o||n)}})();static \u0275dir=N({type:n,selectors:[["","matColumnDef",""]],inputs:{name:[0,"matColumnDef","name"]},features:[ye([{provide:Gl,useExisting:n},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:n}]),_e]})}return n})(),Uf=(()=>{class n extends Ak{static \u0275fac=(()=>{let e;return function(o){return(e||(e=at(n)))(o||n)}})();static \u0275dir=N({type:n,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],features:[_e]})}return n})();var Hf=(()=>{class n extends Rk{static \u0275fac=(()=>{let e;return function(o){return(e||(e=at(n)))(o||n)}})();static \u0275dir=N({type:n,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[_e]})}return n})();var Wf=(()=>{class n extends Wd{static \u0275fac=(()=>{let e;return function(o){return(e||(e=at(n)))(o||n)}})();static \u0275dir=N({type:n,selectors:[["","matHeaderRowDef",""]],inputs:{columns:[0,"matHeaderRowDef","columns"],sticky:[2,"matHeaderRowDefSticky","sticky",G]},features:[ye([{provide:Wd,useExisting:n}]),ce,_e]})}return n})();var Gf=(()=>{class n extends Lf{static \u0275fac=(()=>{let e;return function(o){return(e||(e=at(n)))(o||n)}})();static \u0275dir=N({type:n,selectors:[["","matRowDef",""]],inputs:{columns:[0,"matRowDefColumns","columns"],when:[0,"matRowDefWhen","when"]},features:[ye([{provide:Lf,useExisting:n}]),_e]})}return n})(),$f=(()=>{class n extends ew{static \u0275fac=(()=>{let e;return function(o){return(e||(e=at(n)))(o||n)}})();static \u0275cmp=E({type:n,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],features:[ye([{provide:ew,useExisting:n}]),_e],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,o){t&1&&Cn(0,0)},dependencies:[gs],encapsulation:2})}return n})();var qf=(()=>{class n extends tw{static \u0275fac=(()=>{let e;return function(o){return(e||(e=at(n)))(o||n)}})();static \u0275cmp=E({type:n,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[ye([{provide:tw,useExisting:n}]),_e],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,o){t&1&&Cn(0,0)},dependencies:[gs],encapsulation:2})}return n})();var Fk=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({imports:[me,Pk,me]})}return n})(),O6=9007199254740991,$l=class extends th{_data;_renderData=new Gt([]);_filter=new Gt("");_internalPageChanges=new j;_renderChangesSubscription=null;filteredData;get data(){return this._data.value}set data(i){i=Array.isArray(i)?i:[],this._data.next(i),this._renderChangesSubscription||this._filterData(i)}get filter(){return this._filter.value}set filter(i){this._filter.next(i),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(i){this._sort=i,this._updateChangeSubscription()}_sort;get paginator(){return this._paginator}set paginator(i){this._paginator=i,this._updateChangeSubscription()}_paginator;sortingDataAccessor=(i,e)=>{let t=i[e];if(U0(t)){let o=Number(t);return o{let t=e.active,o=e.direction;return!t||o==""?i:i.sort((r,a)=>{let s=this.sortingDataAccessor(r,t),l=this.sortingDataAccessor(a,t),m=typeof s,g=typeof l;m!==g&&(m==="number"&&(s+=""),g==="number"&&(l+=""));let v=0;return s!=null&&l!=null?s>l?v=1:s{let t=Object.keys(i).reduce((r,a)=>r+i[a]+"\u25EC","").toLowerCase(),o=e.trim().toLowerCase();return t.indexOf(o)!=-1};constructor(i=[]){super(),this._data=new Gt(i),this._updateChangeSubscription()}_updateChangeSubscription(){let i=this._sort?yt(this._sort.sortChange,this._sort.initialized):ie(null),e=this._paginator?yt(this._paginator.page,this._internalPageChanges,this._paginator.initialized):ie(null),t=this._data,o=Pi([t,this._filter]).pipe(le(([s])=>this._filterData(s))),r=Pi([o,i]).pipe(le(([s])=>this._orderData(s))),a=Pi([r,e]).pipe(le(([s])=>this._pageData(s)));this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=a.subscribe(s=>this._renderData.next(s))}_filterData(i){return this.filteredData=this.filter==null||this.filter===""?i:i.filter(e=>this.filterPredicate(e,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(i){return this.sort?this.sortData(i.slice(),this.sort):i}_pageData(i){if(!this.paginator)return i;let e=this.paginator.pageIndex*this.paginator.pageSize;return i.slice(e,e+this.paginator.pageSize)}_updatePaginator(i){Promise.resolve().then(()=>{let e=this.paginator;if(e&&(e.length=i,e.pageIndex>0)){let t=Math.ceil(e.length/e.pageSize)-1||0,o=Math.min(e.pageIndex,t);o!==e.pageIndex&&(e.pageIndex=o,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=null}};var F6=["input"],N6=["label"],L6=["*"],V6=new R("mat-checkbox-default-options",{providedIn:"root",factory:Vk});function Vk(){return{color:"accent",clickAction:"check-indeterminate",disabledInteractive:!1}}var di=function(n){return n[n.Init=0]="Init",n[n.Checked=1]="Checked",n[n.Unchecked=2]="Unchecked",n[n.Indeterminate=3]="Indeterminate",n}(di||{}),B6={provide:bi,useExisting:ln(()=>Yf),multi:!0},sw=class{source;checked},Lk=Vk(),Yf=(()=>{class n{_elementRef=h(Q);_changeDetectorRef=h(Ee);_ngZone=h(te);_animationMode=h($t,{optional:!0});_options=h(V6,{optional:!0});focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(e){let t=new sw;return t.source=this,t.checked=e,t}_getAnimationTargetElement(){return this._inputElement?.nativeElement}_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"};ariaLabel="";ariaLabelledby=null;ariaDescribedby;ariaExpanded;ariaControls;ariaOwns;_uniqueId;id;get inputId(){return`${this.id||this._uniqueId}-input`}required;labelPosition="after";name=null;change=new T;indeterminateChange=new T;value;disableRipple;_inputElement;_labelElement;tabIndex;color;disabledInteractive;_onTouched=()=>{};_currentAnimationClass="";_currentCheckState=di.Init;_controlValueAccessorChangeFn=()=>{};_validatorChangeFn=()=>{};constructor(){h(Mt).load(Dn);let e=h(new jn("tabindex"),{optional:!0});this._options=this._options||Lk,this.color=this._options.color||Lk.color,this.tabIndex=e==null?0:parseInt(e)||0,this.id=this._uniqueId=h(ft).getId("mat-mdc-checkbox-"),this.disabledInteractive=this._options?.disabledInteractive??!1}ngOnChanges(e){e.required&&this._validatorChangeFn()}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(e){e!=this.checked&&(this._checked=e,this._changeDetectorRef.markForCheck())}_checked=!1;get disabled(){return this._disabled}set disabled(e){e!==this.disabled&&(this._disabled=e,this._changeDetectorRef.markForCheck())}_disabled=!1;get indeterminate(){return this._indeterminate}set indeterminate(e){let t=e!=this._indeterminate;this._indeterminate=e,t&&(this._indeterminate?this._transitionCheckState(di.Indeterminate):this._transitionCheckState(this.checked?di.Checked:di.Unchecked),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_indeterminate=!1;_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(e){this.checked=!!e}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}validate(e){return this.required&&e.value!==!0?{required:!0}:null}registerOnValidatorChange(e){this._validatorChangeFn=e}_transitionCheckState(e){let t=this._currentCheckState,o=this._getAnimationTargetElement();if(!(t===e||!o)&&(this._currentAnimationClass&&o.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(t,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){o.classList.add(this._currentAnimationClass);let r=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{o.classList.remove(r)},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(){let e=this._options?.clickAction;!this.disabled&&e!=="noop"?(this.indeterminate&&e!=="check"&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?di.Checked:di.Unchecked),this._emitChangeEvent()):(this.disabled&&this.disabledInteractive||!this.disabled&&e==="noop")&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate)}_onInteractionEvent(e){e.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(e,t){if(this._animationMode==="NoopAnimations")return"";switch(e){case di.Init:if(t===di.Checked)return this._animationClasses.uncheckedToChecked;if(t==di.Indeterminate)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case di.Unchecked:return t===di.Checked?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case di.Checked:return t===di.Unchecked?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case di.Indeterminate:return t===di.Checked?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(e){let t=this._inputElement;t&&(t.nativeElement.indeterminate=e)}_onInputClick(){this._handleInputClick()}_onTouchTargetClick(){this._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(e){e.target&&this._labelElement.nativeElement.contains(e.target)&&e.stopPropagation()}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["mat-checkbox"]],viewQuery:function(t,o){if(t&1&&(se(F6,5),se(N6,5)),t&2){let r;$(r=q())&&(o._inputElement=r.first),$(r=q())&&(o._labelElement=r.first)}},hostAttrs:[1,"mat-mdc-checkbox"],hostVars:16,hostBindings:function(t,o){t&2&&(En("id",o.id),ee("tabindex",null)("aria-label",null)("aria-labelledby",null),Yt(o.color?"mat-"+o.color:"mat-accent"),ne("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mdc-checkbox--disabled",o.disabled)("mat-mdc-checkbox-disabled",o.disabled)("mat-mdc-checkbox-checked",o.checked)("mat-mdc-checkbox-disabled-interactive",o.disabledInteractive))},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],ariaExpanded:[2,"aria-expanded","ariaExpanded",G],ariaControls:[0,"aria-controls","ariaControls"],ariaOwns:[0,"aria-owns","ariaOwns"],id:"id",required:[2,"required","required",G],labelPosition:"labelPosition",name:"name",value:"value",disableRipple:[2,"disableRipple","disableRipple",G],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?void 0:on(e)],color:"color",disabledInteractive:[2,"disabledInteractive","disabledInteractive",G],checked:[2,"checked","checked",G],disabled:[2,"disabled","disabled",G],indeterminate:[2,"indeterminate","indeterminate",G]},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[ye([B6,{provide:lo,useExisting:n,multi:!0}]),ce,Ze],ngContentSelectors:L6,decls:15,vars:23,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-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"]],template:function(t,o){if(t&1){let r=k();We(),c(0,"div",3),b("click",function(s){return y(r),w(o._preventBubblingFromLabel(s))}),c(1,"div",4,0)(3,"div",5),b("click",function(){return y(r),w(o._onTouchTargetClick())}),d(),c(4,"input",6,1),b("blur",function(){return y(r),w(o._onBlur())})("click",function(){return y(r),w(o._onInputClick())})("change",function(s){return y(r),w(o._onInteractionEvent(s))}),d(),M(6,"div",7),c(7,"div",8),fn(),c(8,"svg",9),M(9,"path",10),d(),yr(),M(10,"div",11),d(),M(11,"div",12),d(),c(12,"label",13,2),re(14),d()()}if(t&2){let r=be(2);p("labelPosition",o.labelPosition),u(4),ne("mdc-checkbox--selected",o.checked),p("checked",o.checked)("indeterminate",o.indeterminate)("disabled",o.disabled&&!o.disabledInteractive)("id",o.inputId)("required",o.required)("tabIndex",o.disabled&&!o.disabledInteractive?-1:o.tabIndex),ee("aria-label",o.ariaLabel||null)("aria-labelledby",o.ariaLabelledby)("aria-describedby",o.ariaDescribedby)("aria-checked",o.indeterminate?"mixed":null)("aria-controls",o.ariaControls)("aria-disabled",o.disabled&&o.disabledInteractive?!0:null)("aria-expanded",o.ariaExpanded)("aria-owns",o.ariaOwns)("name",o.name)("value",o.value),u(7),p("matRippleTrigger",r)("matRippleDisabled",o.disableRipple||o.disabled)("matRippleCentered",!0),u(),p("for",o.inputId)}},dependencies:[so,xh],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, var(--mat-sys-hover-state-layer-opacity));background-color:var(--mdc-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox:hover .mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));background-color:var(--mdc-checkbox-unselected-focus-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox .mdc-checkbox__native-control:focus~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-focus-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox:active .mdc-checkbox__native-control~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:active .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));background-color:var(--mdc-checkbox-selected-hover-state-layer-color, var(--mat-sys-primary))}.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, var(--mat-sys-primary))}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));background-color:var(--mdc-checkbox-selected-focus-state-layer-color, var(--mat-sys-primary))}.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, var(--mat-sys-primary))}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));background-color:var(--mdc-checkbox-selected-pressed-state-layer-color, var(--mat-sys-on-surface))}.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, var(--mat-sys-on-surface))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control~.mdc-checkbox__ripple{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.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}@media(forced-colors: active){.mdc-checkbox--disabled{opacity:.5}}.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);-webkit-print-color-adjust:exact;color-adjust:exact;border-color:var(--mdc-checkbox-unselected-icon-color, var(--mat-sys-on-surface-variant));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, var(--mat-sys-primary));background-color:var(--mdc-checkbox-selected-icon-color, var(--mat-sys-primary))}.mdc-checkbox--disabled .mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.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, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));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, var(--mat-sys-on-surface));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, var(--mat-sys-primary));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mat-sys-primary))}.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, var(--mat-sys-on-surface))}.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, var(--mat-sys-primary));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mat-sys-primary))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox:hover .mdc-checkbox__native-control~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{background-color:var(--mdc-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:rgba(0,0,0,0)}.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, var(--mat-sys-on-primary))}@media(forced-colors: active){.mdc-checkbox__checkmark{color:CanvasText}}.mdc-checkbox--disabled .mdc-checkbox__checkmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface))}@media(forced-colors: active){.mdc-checkbox--disabled .mdc-checkbox__checkmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:CanvasText}}.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, var(--mat-sys-on-primary))}@media(forced-colors: active){.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled .mdc-checkbox__mixedmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface))}.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 label{cursor:pointer}.mat-mdc-checkbox .mat-internal-form-field{color:var(--mat-checkbox-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-checkbox-label-text-font, var(--mat-sys-body-medium-font));line-height:var(--mat-checkbox-label-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-checkbox-label-text-size, var(--mat-sys-body-medium-size));letter-spacing:var(--mat-checkbox-label-text-tracking, var(--mat-sys-body-medium-tracking));font-weight:var(--mat-checkbox-label-text-weight, var(--mat-sys-body-medium-weight))}.mat-mdc-checkbox.mat-mdc-checkbox-disabled.mat-mdc-checkbox-disabled-interactive{pointer-events:auto}.mat-mdc-checkbox.mat-mdc-checkbox-disabled.mat-mdc-checkbox-disabled-interactive input{cursor:default}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default;color:var(--mat-checkbox-disabled-label-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-checkbox label:empty{display:none}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox .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 .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, block)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return n})();var Qf=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({imports:[Yf,me,me]})}return n})();var z6=["*"],Kf;function U6(){if(Kf===void 0&&(Kf=null,typeof window<"u")){let n=window;n.trustedTypes!==void 0&&(Kf=n.trustedTypes.createPolicy("angular#components",{createHTML:i=>i}))}return Kf}function Gd(n){return U6()?.createHTML(n)||n}function Bk(n){return Error(`Unable to find icon with the name "${n}"`)}function H6(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function jk(n){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${n}".`)}function zk(n){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${n}".`)}var Br=class{url;svgText;options;svgElement;constructor(i,e,t){this.url=i,this.svgText=e,this.options=t}},W6=(()=>{class n{_httpClient;_sanitizer;_errorHandler;_document;_svgIconConfigs=new Map;_iconSetConfigs=new Map;_cachedIconsByUrl=new Map;_inProgressUrlFetches=new Map;_fontCssClassesByAlias=new Map;_resolvers=[];_defaultFontSetClass=["material-icons","mat-ligature-font"];constructor(e,t,o,r){this._httpClient=e,this._sanitizer=t,this._errorHandler=r,this._document=o}addSvgIcon(e,t,o){return this.addSvgIconInNamespace("",e,t,o)}addSvgIconLiteral(e,t,o){return this.addSvgIconLiteralInNamespace("",e,t,o)}addSvgIconInNamespace(e,t,o,r){return this._addSvgIconConfig(e,t,new Br(o,null,r))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,t,o,r){let a=this._sanitizer.sanitize(Kn.HTML,o);if(!a)throw zk(o);let s=Gd(a);return this._addSvgIconConfig(e,t,new Br("",s,r))}addSvgIconSet(e,t){return this.addSvgIconSetInNamespace("",e,t)}addSvgIconSetLiteral(e,t){return this.addSvgIconSetLiteralInNamespace("",e,t)}addSvgIconSetInNamespace(e,t,o){return this._addSvgIconSetConfig(e,new Br(t,null,o))}addSvgIconSetLiteralInNamespace(e,t,o){let r=this._sanitizer.sanitize(Kn.HTML,t);if(!r)throw zk(t);let a=Gd(r);return this._addSvgIconSetConfig(e,new Br("",a,o))}registerFontClassAlias(e,t=e){return this._fontCssClassesByAlias.set(e,t),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(...e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){let t=this._sanitizer.sanitize(Kn.RESOURCE_URL,e);if(!t)throw jk(e);let o=this._cachedIconsByUrl.get(t);return o?ie(Zf(o)):this._loadSvgIconFromConfig(new Br(e,null)).pipe(Ht(r=>this._cachedIconsByUrl.set(t,r)),le(r=>Zf(r)))}getNamedSvgIcon(e,t=""){let o=Uk(t,e),r=this._svgIconConfigs.get(o);if(r)return this._getSvgFromConfig(r);if(r=this._getIconConfigFromResolvers(t,e),r)return this._svgIconConfigs.set(o,r),this._getSvgFromConfig(r);let a=this._iconSetConfigs.get(t);return a?this._getSvgFromIconSetConfigs(e,a):Vo(Bk(o))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?ie(Zf(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(le(t=>Zf(t)))}_getSvgFromIconSetConfigs(e,t){let o=this._extractIconWithNameFromAnySet(e,t);if(o)return ie(o);let r=t.filter(a=>!a.svgText).map(a=>this._loadSvgIconSetFromConfig(a).pipe(Yn(s=>{let m=`Loading icon set URL: ${this._sanitizer.sanitize(Kn.RESOURCE_URL,a.url)} failed: ${s.message}`;return this._errorHandler.handleError(new Error(m)),ie(null)})));return cc(r).pipe(le(()=>{let a=this._extractIconWithNameFromAnySet(e,t);if(!a)throw Bk(e);return a}))}_extractIconWithNameFromAnySet(e,t){for(let o=t.length-1;o>=0;o--){let r=t[o];if(r.svgText&&r.svgText.toString().indexOf(e)>-1){let a=this._svgElementFromConfig(r),s=this._extractSvgIconFromSet(a,e,r.options);if(s)return s}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(Ht(t=>e.svgText=t),le(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?ie(null):this._fetchIcon(e).pipe(Ht(t=>e.svgText=t))}_extractSvgIconFromSet(e,t,o){let r=e.querySelector(`[id="${t}"]`);if(!r)return null;let a=r.cloneNode(!0);if(a.removeAttribute("id"),a.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(a,o);if(a.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(a),o);let s=this._svgElementFromString(Gd(""));return s.appendChild(a),this._setSvgAttributes(s,o)}_svgElementFromString(e){let t=this._document.createElement("DIV");t.innerHTML=e;let o=t.querySelector("svg");if(!o)throw Error(" tag not found");return o}_toSvgElement(e){let t=this._svgElementFromString(Gd("")),o=e.attributes;for(let r=0;rGd(m)),jo(()=>this._inProgressUrlFetches.delete(a)),uc());return this._inProgressUrlFetches.set(a,l),l}_addSvgIconConfig(e,t,o){return this._svgIconConfigs.set(Uk(e,t),o),this}_addSvgIconSetConfig(e,t){let o=this._iconSetConfigs.get(e);return o?o.push(t):this._iconSetConfigs.set(e,[t]),this}_svgElementFromConfig(e){if(!e.svgElement){let t=this._svgElementFromString(e.svgText);this._setSvgAttributes(t,e.options),e.svgElement=t}return e.svgElement}_getIconConfigFromResolvers(e,t){for(let o=0;oi?i.pathname+i.search:""}}var Hk=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],Q6=Hk.map(n=>`[${n}]`).join(", "),K6=/^url\(['"]?#(.*?)['"]?\)$/,Wk=(()=>{class n{_elementRef=h(Q);_iconRegistry=h(W6);_location=h(q6);_errorHandler=h(wi);_defaultColor;get color(){return this._color||this._defaultColor}set color(e){this._color=e}_color;inline=!1;get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}_svgIcon;get fontSet(){return this._fontSet}set fontSet(e){let t=this._cleanupFontValue(e);t!==this._fontSet&&(this._fontSet=t,this._updateFontIconClasses())}_fontSet;get fontIcon(){return this._fontIcon}set fontIcon(e){let t=this._cleanupFontValue(e);t!==this._fontIcon&&(this._fontIcon=t,this._updateFontIconClasses())}_fontIcon;_previousFontSetClass=[];_previousFontIconClass;_svgName;_svgNamespace;_previousPath;_elementsWithExternalReferences;_currentIconFetch=ge.EMPTY;constructor(){let e=h(new jn("aria-hidden"),{optional:!0}),t=h($6,{optional:!0});t&&(t.color&&(this.color=this._defaultColor=t.color),t.fontSet&&(this.fontSet=t.fontSet)),e||this._elementRef.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(e){if(!e)return["",""];let t=e.split(":");switch(t.length){case 1:return["",t[0]];case 2:return t;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let e=this._elementsWithExternalReferences;if(e&&e.size){let t=this._location.getPathname();t!==this._previousPath&&(this._previousPath=t,this._prependPathToReferences(t))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();let t=this._location.getPathname();this._previousPath=t,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(t),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){let e=this._elementRef.nativeElement,t=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();t--;){let o=e.childNodes[t];(o.nodeType!==1||o.nodeName.toLowerCase()==="svg")&&o.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let e=this._elementRef.nativeElement,t=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(o=>o.length>0);this._previousFontSetClass.forEach(o=>e.classList.remove(o)),t.forEach(o=>e.classList.add(o)),this._previousFontSetClass=t,this.fontIcon!==this._previousFontIconClass&&!t.includes("mat-ligature-font")&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return typeof e=="string"?e.trim().split(" ")[0]:e}_prependPathToReferences(e){let t=this._elementsWithExternalReferences;t&&t.forEach((o,r)=>{o.forEach(a=>{r.setAttribute(a.name,`url('${e}#${a.value}')`)})})}_cacheChildrenWithExternalReferences(e){let t=e.querySelectorAll(Q6),o=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let r=0;r{let s=t[r],l=s.getAttribute(a),m=l?l.match(K6):null;if(m){let g=o.get(s);g||(g=[],o.set(s,g)),g.push({name:a,value:m[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){let[t,o]=this._splitIconName(e);t&&(this._svgNamespace=t),o&&(this._svgName=o),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(o,t).pipe(Rt(1)).subscribe(r=>this._setSvgElement(r),r=>{let a=`Error retrieving icon ${t}:${o}! ${r.message}`;this._errorHandler.handleError(new Error(a))})}}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(t,o){t&2&&(ee("data-mat-icon-type",o._usingFontIcon()?"font":"svg")("data-mat-icon-name",o._svgName||o.fontIcon)("data-mat-icon-namespace",o._svgNamespace||o.fontSet)("fontIcon",o._usingFontIcon()?o.fontIcon:null),Yt(o.color?"mat-"+o.color:""),ne("mat-icon-inline",o.inline)("mat-icon-no-color",o.color!=="primary"&&o.color!=="accent"&&o.color!=="warn"))},inputs:{color:"color",inline:[2,"inline","inline",G],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[ce],ngContentSelectors:z6,decls:1,vars:0,template:function(t,o){t&1&&(We(),re(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color, inherit)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0})}return n})(),Gk=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({imports:[me,me]})}return n})();var X6=["determinateSpinner"];function J6(n,i){if(n&1&&(fn(),c(0,"svg",11),M(1,"circle",12),d()),n&2){let e=_();ee("viewBox",e._viewBox()),u(),zn("stroke-dasharray",e._strokeCircumference(),"px")("stroke-dashoffset",e._strokeCircumference()/2,"px")("stroke-width",e._circleStrokeWidth(),"%"),ee("r",e._circleRadius())}}var eW=new R("mat-progress-spinner-default-options",{providedIn:"root",factory:tW});function tW(){return{diameter:$k}}var $k=100,nW=10,Xf=(()=>{class n{_elementRef=h(Q);_noopAnimations;get color(){return this._color||this._defaultColor}set color(e){this._color=e}_color;_defaultColor="primary";_determinateCircle;constructor(){let e=h($t,{optional:!0}),t=h(eW);this._noopAnimations=e==="NoopAnimations"&&!!t&&!t._forceAnimations,this.mode=this._elementRef.nativeElement.nodeName.toLowerCase()==="mat-spinner"?"indeterminate":"determinate",t&&(t.color&&(this.color=this._defaultColor=t.color),t.diameter&&(this.diameter=t.diameter),t.strokeWidth&&(this.strokeWidth=t.strokeWidth))}mode;get value(){return this.mode==="determinate"?this._value:0}set value(e){this._value=Math.max(0,Math.min(100,e||0))}_value=0;get diameter(){return this._diameter}set diameter(e){this._diameter=e||0}_diameter=$k;get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(e){this._strokeWidth=e||0}_strokeWidth;_circleRadius(){return(this.diameter-nW)/2}_viewBox(){let e=this._circleRadius()*2+this.strokeWidth;return`0 0 ${e} ${e}`}_strokeCircumference(){return 2*Math.PI*this._circleRadius()}_strokeDashOffset(){return this.mode==="determinate"?this._strokeCircumference()*(100-this._value)/100:null}_circleStrokeWidth(){return this.strokeWidth/this.diameter*100}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(t,o){if(t&1&&se(X6,5),t&2){let r;$(r=q())&&(o._determinateCircle=r.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:18,hostBindings:function(t,o){t&2&&(ee("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow",o.mode==="determinate"?o.value:null)("mode",o.mode),Yt("mat-"+o.color),zn("width",o.diameter,"px")("height",o.diameter,"px")("--mdc-circular-progress-size",o.diameter+"px")("--mdc-circular-progress-active-indicator-width",o.diameter+"px"),ne("_mat-animation-noopable",o._noopAnimations)("mdc-circular-progress--indeterminate",o.mode==="indeterminate"))},inputs:{color:"color",mode:"mode",value:[2,"value","value",on],diameter:[2,"diameter","diameter",on],strokeWidth:[2,"strokeWidth","strokeWidth",on]},exportAs:["matProgressSpinner"],features:[ce],decls:14,vars:11,consts:[["circle",""],["determinateSpinner",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(t,o){if(t&1&&(x(0,J6,2,8,"ng-template",null,0,gn),c(2,"div",2,1),fn(),c(4,"svg",3),M(5,"circle",4),d()(),yr(),c(6,"div",5)(7,"div",6)(8,"div",7),Cn(9,8),d(),c(10,"div",9),Cn(11,8),d(),c(12,"div",10),Cn(13,8),d()()()),t&2){let r=be(1);u(4),ee("viewBox",o._viewBox()),u(),zn("stroke-dasharray",o._strokeCircumference(),"px")("stroke-dashoffset",o._strokeDashOffset(),"px")("stroke-width",o._circleStrokeWidth(),"%"),ee("r",o._circleRadius()),u(4),p("ngTemplateOutlet",r),u(2),p("ngTemplateOutlet",r),u(2),p("ngTemplateOutlet",r)}},dependencies:[Cp],styles:[".mat-mdc-progress-spinner{display:block;overflow:hidden;line-height:0;position:relative;direction:ltr;transition:opacity 250ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-progress-spinner circle{stroke-width:var(--mdc-circular-progress-active-indicator-width, 4px)}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none !important}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none !important}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}@media(forced-colors: active){.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1;animation:mdc-circular-progress-container-rotate 1568.2352941176ms linear infinite}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mdc-circular-progress-active-indicator-color, var(--mat-sys-primary))}@media(forced-colors: active){.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}}"],encapsulation:2,changeDetection:0})}return n})();var Jf=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({imports:[me]})}return n})();var eg=(()=>{class n{get vertical(){return this._vertical}set vertical(e){this._vertical=oo(e)}_vertical=!1;get inset(){return this._inset}set inset(e){this._inset=oo(e)}_inset=!1;static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(t,o){t&2&&(ee("aria-orientation",o.vertical?"vertical":"horizontal"),ne("mat-divider-vertical",o.vertical)("mat-divider-horizontal",!o.vertical)("mat-divider-inset",o.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(t,o){},styles:[".mat-divider{display:block;margin:0;border-top-style:solid;border-top-color:var(--mat-divider-color, var(--mat-sys-outline));border-top-width:var(--mat-divider-width, 1px)}.mat-divider.mat-divider-vertical{border-top:0;border-right-style:solid;border-right-color:var(--mat-divider-color, var(--mat-sys-outline));border-right-width:var(--mat-divider-width, 1px)}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}"],encapsulation:2,changeDetection:0})}return n})(),tg=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({imports:[me,me]})}return n})();var iW=["searchSelectInput"],oW=["innerSelectSearch"],rW=[[["",8,"mat-select-search-custom-header-content"]],[["","ngxMatSelectSearchClear",""]],[["","ngxMatSelectNoEntriesFound",""]]],aW=[".mat-select-search-custom-header-content","[ngxMatSelectSearchClear]","[ngxMatSelectNoEntriesFound]"],sW=(n,i)=>({"mat-select-search-inner-multiple":n,"mat-select-search-inner-toggle-all":i});function lW(n,i){if(n&1){let e=k();c(0,"mat-checkbox",12),b("change",function(o){y(e);let r=_();return w(r._emitSelectAllBooleanToParent(o.checked))}),d()}if(n&2){let e=_();p("color",e.matFormField==null?null:e.matFormField.color)("checked",e.toggleAllCheckboxChecked)("indeterminate",e.toggleAllCheckboxIndeterminate)("matTooltip",e.toggleAllCheckboxTooltipMessage)("matTooltipPosition",e.toggleAllCheckboxTooltipPosition)}}function cW(n,i){n&1&&M(0,"mat-spinner",13)}function dW(n,i){n&1&&re(0,1,["*ngIf","clearIcon; else defaultIcon"])}function uW(n,i){if(n&1&&(c(0,"mat-icon",16),f(1),d()),n&2){let e=_(2);p("svgIcon",e.closeSvgIcon),u(),O(" ",e.closeSvgIcon?null:e.closeIcon," ")}}function mW(n,i){if(n&1){let e=k();c(0,"button",14),b("click",function(){y(e);let o=_();return w(o._reset(!0))}),x(1,dW,1,0,"ng-content",15)(2,uW,2,2,"ng-template",null,2,gn),d()}if(n&2){let e=be(3),t=_();u(),p("ngIf",t.clearIcon)("ngIfElse",e)}}function pW(n,i){n&1&&re(0,2,["*ngIf","noEntriesFound; else defaultNoEntriesFound"])}function hW(n,i){if(n&1&&f(0),n&2){let e=_(2);Ge(e.noEntriesFoundLabel)}}function fW(n,i){if(n&1&&(c(0,"div",17),x(1,pW,1,0,"ng-content",15)(2,hW,1,1,"ng-template",null,3,gn),d()),n&2){let e=be(3),t=_();u(),p("ngIf",t.noEntriesFound)("ngIfElse",e)}}var gW=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=N({type:n,selectors:[["","ngxMatSelectSearchClear",""]],standalone:!1}),n})(),_W=["ariaLabel","clearSearchInput","closeIcon","closeSvgIcon","disableInitialFocus","disableScrollToActiveOnOptionsChanged","enableClearOnEscapePressed","hideClearSearchButton","noEntriesFoundLabel","placeholderLabel","preventHomeEndKeyPropagation","searching"],vW=new R("mat-selectsearch-default-options"),bW=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=N({type:n,selectors:[["","ngxMatSelectNoEntriesFound",""]],standalone:!1}),n})(),Qk=(()=>{class n{constructor(e,t,o,r,a,s){this.matSelect=e,this.changeDetectorRef=t,this._viewportRuler=o,this.matOption=r,this.matFormField=a,this.placeholderLabel="Suche",this.type="text",this.closeIcon="close",this.noEntriesFoundLabel="Keine Optionen gefunden",this.clearSearchInput=!0,this.searching=!1,this.disableInitialFocus=!1,this.enableClearOnEscapePressed=!1,this.preventHomeEndKeyPropagation=!1,this.disableScrollToActiveOnOptionsChanged=!1,this.ariaLabel="dropdown search",this.showToggleAllCheckbox=!1,this.toggleAllCheckboxChecked=!1,this.toggleAllCheckboxIndeterminate=!1,this.toggleAllCheckboxTooltipMessage="",this.toggleAllCheckboxTooltipPosition="below",this.hideClearSearchButton=!1,this.alwaysRestoreSelectedOptionsMulti=!1,this.recreateValuesArray=!1,this.toggleAll=new T,this.onTouched=l=>{},this._options$=new Gt(null),this.optionsList$=this._options$.pipe(Tt(l=>l?l.changes.pipe(le(m=>m.toArray()),Et(l.toArray())):ie(null))),this.optionsLength$=this.optionsList$.pipe(le(l=>l?l.length:0)),this._formControl=new qh("",{nonNullable:!0}),this._showNoEntriesFound$=Pi([this._formControl.valueChanges,this.optionsLength$]).pipe(le(([l,m])=>!!(this.noEntriesFoundLabel&&l&&m===this.getOptionsLengthOffset()))),this._onDestroy=new j,this.applyDefaultOptions(s)}get value(){return this._formControl.value}set _options(e){this._options$.next(e)}get _options(){return this._options$.getValue()}applyDefaultOptions(e){if(e)for(let t of _W)e.hasOwnProperty(t)&&(this[t]=e[t])}ngOnInit(){this.matOption?(this.matOption.disabled=!0,this.matOption._getHostElement().classList.add("contains-mat-select-search"),this.matOption._getHostElement().setAttribute("role","presentation")):console.error(" must be placed inside a element"),this.matSelect.openedChange.pipe(Yr(1),pe(this._onDestroy)).subscribe(e=>{e?(this.updateInputWidth(),this.disableInitialFocus||this._focus()):this.clearSearchInput&&this._reset()}),this.matSelect.openedChange.pipe(Rt(1),Tt(e=>{this._options=this.matSelect.options;let t=this._options.toArray()[this.getOptionsLengthOffset()];return this._options.changes.pipe(Ht(()=>{setTimeout(()=>{let o=this._options.toArray(),r=o[this.getOptionsLengthOffset()],a=this.matSelect._keyManager;a&&this.matSelect.panelOpen&&r&&((!t||!this.matSelect.compareWith(t.value,r.value)||!a.activeItem||!o.find(l=>this.matSelect.compareWith(l.value,a.activeItem?.value)))&&a.setActiveItem(this.getOptionsLengthOffset()),setTimeout(()=>{this.updateInputWidth()})),t=r})}))})).pipe(pe(this._onDestroy)).subscribe(),this._showNoEntriesFound$.pipe(pe(this._onDestroy)).subscribe(e=>{this.matOption&&(e?this.matOption._getHostElement().classList.add("mat-select-search-no-entries-found"):this.matOption._getHostElement().classList.remove("mat-select-search-no-entries-found"))}),this._viewportRuler.change().pipe(pe(this._onDestroy)).subscribe(()=>{this.matSelect.panelOpen&&this.updateInputWidth()}),this.initMultipleHandling(),this.optionsList$.pipe(pe(this._onDestroy)).subscribe(()=>{this.changeDetectorRef.markForCheck()})}_emitSelectAllBooleanToParent(e){this.toggleAll.emit(e)}ngOnDestroy(){this._onDestroy.next(),this._onDestroy.complete()}_isToggleAllCheckboxVisible(){return this.matSelect.multiple&&this.showToggleAllCheckbox}_handleKeydown(e){(e.key&&e.key.length===1||this.preventHomeEndKeyPropagation&&(e.key==="Home"||e.key==="End"))&&e.stopPropagation(),this.matSelect.multiple&&e.key&&e.key==="Enter"&&setTimeout(()=>this._focus()),this.enableClearOnEscapePressed&&e.key==="Escape"&&this.value&&(this._reset(!0),e.stopPropagation())}_handleKeyup(e){if(e.key==="ArrowUp"||e.key==="ArrowDown"){let t=this.matSelect._getAriaActiveDescendant(),o=this._options.toArray().findIndex(r=>r.id===t);o!==-1&&(this.unselectActiveDescendant(),this.activeDescendant=this._options.toArray()[o]._getHostElement(),this.activeDescendant.setAttribute("aria-selected","true"),this.searchSelectInput.nativeElement.setAttribute("aria-activedescendant",t))}}writeValue(e){this._lastExternalInputValue=e,this._formControl.setValue(e),this.changeDetectorRef.markForCheck()}onBlur(){this.unselectActiveDescendant(),this.onTouched()}registerOnChange(e){this._formControl.valueChanges.pipe(je(t=>t!==this._lastExternalInputValue),Ht(()=>this._lastExternalInputValue=void 0),pe(this._onDestroy)).subscribe(e)}registerOnTouched(e){this.onTouched=e}_focus(){if(!this.searchSelectInput||!this.matSelect.panel)return;let e=this.matSelect.panel.nativeElement,t=e.scrollTop;this.searchSelectInput.nativeElement.focus(),e.scrollTop=t}_reset(e){this._formControl.setValue(""),e&&this._focus()}initMultipleHandling(){if(!this.matSelect.ngControl){this.matSelect.multiple&&console.error("the mat-select containing ngx-mat-select-search must have a ngModel or formControl directive when multiple=true");return}this.previousSelectedValues=this.matSelect.ngControl.value,this.matSelect.ngControl.valueChanges&&this.matSelect.ngControl.valueChanges.pipe(pe(this._onDestroy)).subscribe(e=>{let t=!1;if(this.matSelect.multiple&&(this.alwaysRestoreSelectedOptionsMulti||this._formControl.value&&this._formControl.value.length)&&this.previousSelectedValues&&Array.isArray(this.previousSelectedValues)){(!e||!Array.isArray(e))&&(e=[]);let o=this.matSelect.options.map(r=>r.value);this.previousSelectedValues.forEach(r=>{!e.some(a=>this.matSelect.compareWith(a,r))&&!o.some(a=>this.matSelect.compareWith(a,r))&&(this.recreateValuesArray?e=[...e,r]:e.push(r),t=!0)})}this.previousSelectedValues=e,t&&this.matSelect._onChange(e)})}updateInputWidth(){if(!this.innerSelectSearch||!this.innerSelectSearch.nativeElement)return;let e=this.innerSelectSearch.nativeElement,t=null;for(;e&&e.parentElement;)if(e=e.parentElement,e.classList.contains("mat-select-panel")){t=e;break}t&&(this.innerSelectSearch.nativeElement.style.width=t.clientWidth+"px")}getOptionsLengthOffset(){return this.matOption?1:0}unselectActiveDescendant(){this.activeDescendant?.removeAttribute("aria-selected"),this.searchSelectInput.nativeElement.removeAttribute("aria-activedescendant")}}return n.\u0275fac=function(e){return new(e||n)(C(vt),C(Ee),C(Ii),C(nt,8),C(fe,8),C(vW,8))},n.\u0275cmp=E({type:n,selectors:[["ngx-mat-select-search"]],contentQueries:function(e,t,o){if(e&1&&(He(o,gW,5),He(o,bW,5)),e&2){let r;$(r=q())&&(t.clearIcon=r.first),$(r=q())&&(t.noEntriesFound=r.first)}},viewQuery:function(e,t){if(e&1&&(se(iW,7,Q),se(oW,7,Q)),e&2){let o;$(o=q())&&(t.searchSelectInput=o.first),$(o=q())&&(t.innerSelectSearch=o.first)}},inputs:{placeholderLabel:"placeholderLabel",type:"type",closeIcon:"closeIcon",closeSvgIcon:"closeSvgIcon",noEntriesFoundLabel:"noEntriesFoundLabel",clearSearchInput:"clearSearchInput",searching:"searching",disableInitialFocus:"disableInitialFocus",enableClearOnEscapePressed:"enableClearOnEscapePressed",preventHomeEndKeyPropagation:"preventHomeEndKeyPropagation",disableScrollToActiveOnOptionsChanged:"disableScrollToActiveOnOptionsChanged",ariaLabel:"ariaLabel",showToggleAllCheckbox:"showToggleAllCheckbox",toggleAllCheckboxChecked:"toggleAllCheckboxChecked",toggleAllCheckboxIndeterminate:"toggleAllCheckboxIndeterminate",toggleAllCheckboxTooltipMessage:"toggleAllCheckboxTooltipMessage",toggleAllCheckboxTooltipPosition:"toggleAllCheckboxTooltipPosition",hideClearSearchButton:"hideClearSearchButton",alwaysRestoreSelectedOptionsMulti:"alwaysRestoreSelectedOptionsMulti",recreateValuesArray:"recreateValuesArray"},outputs:{toggleAll:"toggleAll"},standalone:!1,features:[ye([{provide:bi,useExisting:ln(()=>n),multi:!0}])],ngContentSelectors:aW,decls:13,vars:14,consts:[["innerSelectSearch",""],["searchSelectInput",""],["defaultIcon",""],["defaultNoEntriesFound",""],["matInput","",1,"mat-select-search-input","mat-select-search-hidden"],[1,"mat-select-search-inner","mat-typography","mat-datepicker-content","mat-tab-header",3,"ngClass"],[1,"mat-select-search-inner-row"],["class","mat-select-search-toggle-all-checkbox","matTooltipClass","ngx-mat-select-search-toggle-all-tooltip",3,"color","checked","indeterminate","matTooltip","matTooltipPosition","change",4,"ngIf"],["autocomplete","off",1,"mat-select-search-input",3,"keydown","keyup","blur","type","formControl","placeholder"],["class","mat-select-search-spinner","diameter","16",4,"ngIf"],["mat-icon-button","","aria-label","Clear","class","mat-select-search-clear",3,"click",4,"ngIf"],["class","mat-select-search-no-entries-found",4,"ngIf"],["matTooltipClass","ngx-mat-select-search-toggle-all-tooltip",1,"mat-select-search-toggle-all-checkbox",3,"change","color","checked","indeterminate","matTooltip","matTooltipPosition"],["diameter","16",1,"mat-select-search-spinner"],["mat-icon-button","","aria-label","Clear",1,"mat-select-search-clear",3,"click"],[4,"ngIf","ngIfElse"],[3,"svgIcon"],[1,"mat-select-search-no-entries-found"]],template:function(e,t){if(e&1){let o=k();We(rW),M(0,"input",4),c(1,"div",5,0)(3,"div",6),x(4,lW,1,5,"mat-checkbox",7),c(5,"input",8,1),b("keydown",function(a){return y(o),w(t._handleKeydown(a))})("keyup",function(a){return y(o),w(t._handleKeyup(a))})("blur",function(){return y(o),w(t.onBlur())}),d(),x(7,cW,1,0,"mat-spinner",9)(8,mW,4,2,"button",10),re(9),d(),M(10,"mat-divider"),d(),x(11,fW,4,2,"div",11),gt(12,"async")}e&2&&(u(),p("ngClass",al(11,sW,t.matSelect.multiple,t._isToggleAllCheckboxVisible())),u(3),p("ngIf",t._isToggleAllCheckboxVisible()),u(),p("type",t.type)("formControl",t._formControl)("placeholder",t.placeholderLabel),ee("aria-label",t.ariaLabel),u(2),p("ngIf",t.searching),u(),p("ngIf",!t.hideClearSearchButton&&t.value&&!t.searching),u(3),p("ngIf",Ct(12,9,t._showNoEntriesFound$)))},dependencies:[Ei,ue,lt,we,Oy,Zn,Yf,Wk,Xf,ar,eg,FM],styles:[".mat-select-search-hidden[_ngcontent-%COMP%]{visibility:hidden}.mat-select-search-inner[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;z-index:100;font-size:inherit;box-shadow:none;background-color:var(--mat-select-panel-background-color)}.mat-select-search-inner.mat-select-search-inner-multiple.mat-select-search-inner-toggle-all[_ngcontent-%COMP%] .mat-select-search-inner-row[_ngcontent-%COMP%]{display:flex;align-items:center}.mat-select-search-input[_ngcontent-%COMP%]{box-sizing:border-box;width:100%;border:none;font-family:inherit;font-size:inherit;color:currentColor;outline:none;background-color:var(--mat-select-panel-background-color);padding:0 44px 0 16px;height:calc(3em - 1px);line-height:calc(3em - 1px)}[dir=rtl][_nghost-%COMP%] .mat-select-search-input[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-input[_ngcontent-%COMP%]{padding-right:16px;padding-left:44px}.mat-select-search-inner-toggle-all[_ngcontent-%COMP%] .mat-select-search-input[_ngcontent-%COMP%]{padding-left:5px}.mat-select-search-no-entries-found[_ngcontent-%COMP%]{padding-top:8px}.mat-select-search-clear[_ngcontent-%COMP%]{position:absolute;right:4px;top:0}[dir=rtl][_nghost-%COMP%] .mat-select-search-clear[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-clear[_ngcontent-%COMP%]{right:auto;left:4px}.mat-select-search-spinner[_ngcontent-%COMP%]{position:absolute;right:16px;top:calc(50% - 8px)}[dir=rtl][_nghost-%COMP%] .mat-select-search-spinner[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-spinner[_ngcontent-%COMP%]{right:auto;left:16px} .mat-mdc-option[aria-disabled=true].contains-mat-select-search{position:sticky;top:-8px;z-index:1;opacity:1;margin-top:-8px;pointer-events:all} .mat-mdc-option[aria-disabled=true].contains-mat-select-search .mat-icon{margin-right:0;margin-left:0} .mat-mdc-option[aria-disabled=true].contains-mat-select-search mat-pseudo-checkbox{display:none} .mat-mdc-option[aria-disabled=true].contains-mat-select-search .mdc-list-item__primary-text{opacity:1}.mat-select-search-toggle-all-checkbox[_ngcontent-%COMP%]{padding-left:5px}[dir=rtl][_nghost-%COMP%] .mat-select-search-toggle-all-checkbox[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-toggle-all-checkbox[_ngcontent-%COMP%]{padding-left:0;padding-right:5px}"],changeDetection:0}),n})();var Kk=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=J({type:n}),n.\u0275inj=X({imports:[cl,Qh,or,Qf,Gk,Jf,Hl,tg]}),n})();function wW(n,i){if(n&1){let e=k();c(0,"mat-option")(1,"ngx-mat-select-search",1),b("ngModelChange",function(o){y(e);let r=_();return w(r.changed.emit(o))}),d()()}if(n&2){let e=_();u(),p("placeholderLabel",e.placeholderLabel)("noEntriesFoundLabel",e.noEntriesFoundLabel)}}var pn=(()=>{let i=class i{constructor(){this.placeholderLabel=django.gettext("Filter"),this.noEntriesFoundLabel=django.gettext("No entries found"),this.changed=new T,this.notIfLessThan=7}};i.\u0275fac=function(o){return new(o||i)},i.\u0275cmp=E({type:i,selectors:[["uds-cond-select-search"]],inputs:{placeholderLabel:"placeholderLabel",noEntriesFoundLabel:"noEntriesFoundLabel",options:"options",notIfLessThan:"notIfLessThan"},outputs:{changed:"changed"},standalone:!1,decls:1,vars:1,consts:[[4,"ngIf"],["ngModel","",3,"ngModelChange","placeholderLabel","noEntriesFoundLabel"]],template:function(o,r){o&1&&x(0,wW,2,2,"mat-option",0),o&2&&p("ngIf",r.options&&r.options.length>r.notIfLessThan)},dependencies:[ue,we,xe,nt,Qk],encapsulation:2});let n=i;return n})();function CW(n,i){n&1&&(c(0,"uds-translate"),f(1,"New user permission for"),d())}function xW(n,i){n&1&&(c(0,"uds-translate"),f(1,"New group permission for"),d())}function DW(n,i){if(n&1&&(c(0,"mat-option",11),f(1),d()),n&2){let e=i.$implicit;p("value",e.id),u(),Ge(e.text)}}function SW(n,i){if(n&1&&(c(0,"mat-option",11),f(1),d()),n&2){let e=i.$implicit;p("value",e.id),u(),Ge(e.text)}}function EW(n,i){if(n&1&&(c(0,"mat-option",11),f(1),d()),n&2){let e=i.$implicit;p("value",e.id),u(),Ge(e.text)}}var Zk=(()=>{let i=class i{constructor(t,o,r,a){this.api=t,this.rest=o,this.dialogRef=r,this.data=a,this.filterUser="",this.authenticators=[],this.entities=[],this.permissions=[{id:"1",text:django.gettext("Read only")},{id:"2",text:django.gettext("Full Access")}],this.authenticator="",this.entity="",this.permission="1",this.done=new Xt}static launch(t,o,r){return H(this,null,function*(){let a=window.innerWidth<800?"80%":"50%";return t.gui.dialog.open(i,{width:a,data:{type:o,item:r},disableClose:!0}).componentInstance.done})}ngOnInit(){return H(this,null,function*(){let t=yield this.rest.authenticators.summary();for(let o of t)this.authenticators.push({id:o.id,text:o.name})})}changeAuth(t){return H(this,null,function*(){this.entities.length=0,this.entity="";let o=yield this.rest.authenticators.detail(t,this.data.type+"s").summary();for(let r of o)this.entities.push({id:r.id,text:r.name})})}save(){this.done.resolve({authenticator:this.authenticator,entity:this.entity,permissision:this.permission}),this.dialogRef.close()}cancel(){this.done.resolve(null),this.dialogRef.close()}filteredEntities(){let t=new Array;return this.entities.forEach(o=>{(!this.filterUser||o.text.toLocaleLowerCase().includes(this.filterUser.toLocaleLowerCase()))&&t.push(o)}),t}getFieldLabel(t){return t==="user"?django.gettext("User"):t==="group"?django.gettext("Group"):t==="auth"?django.gettext("Authenticator"):django.gettext("Permission")}};i.\u0275fac=function(o){return new(o||i)(C(B),C(Z),C(Ne),C(Ke))},i.\u0275cmp=E({type:i,selectors:[["uds-new-permission"]],standalone:!1,decls:24,vars:13,consts:[["titleGroup",""],["mat-dialog-title",""],[4,"ngIf","ngIfElse"],[3,"innerHTML"],[1,"container"],[3,"valueChange","ngModelChange","placeholder","ngModel"],[3,"value",4,"ngFor","ngForOf"],[3,"ngModelChange","placeholder","ngModel"],[3,"changed","options"],["mat-raised-button","","color","warn",3,"click"],["mat-raised-button","","color","primary",3,"click"],[3,"value"]],template:function(o,r){if(o&1){let a=k();c(0,"h4",1),x(1,CW,2,0,"uds-translate",2),M(2,"b",3),x(3,xW,2,0,"ng-template",null,0,gn),d(),c(5,"mat-dialog-content")(6,"div",4)(7,"mat-form-field")(8,"mat-select",5),b("valueChange",function(l){return y(a),w(r.changeAuth(l))}),U("ngModelChange",function(l){return y(a),W(r.authenticator,l)||(r.authenticator=l),w(l)}),x(9,DW,2,2,"mat-option",6),d()(),c(10,"mat-form-field")(11,"mat-select",7),U("ngModelChange",function(l){return y(a),W(r.entity,l)||(r.entity=l),w(l)}),c(12,"uds-cond-select-search",8),b("changed",function(l){return y(a),w(r.filterUser=l)}),d(),x(13,SW,2,2,"mat-option",6),d()(),c(14,"mat-form-field")(15,"mat-select",7),U("ngModelChange",function(l){return y(a),W(r.permission,l)||(r.permission=l),w(l)}),x(16,EW,2,2,"mat-option",6),d()()()(),c(17,"mat-dialog-actions")(18,"button",9),b("click",function(){return y(a),w(r.cancel())}),c(19,"uds-translate"),f(20,"Cancel"),d()(),c(21,"button",10),b("click",function(){return y(a),w(r.save())}),c(22,"uds-translate"),f(23,"Ok"),d()()()}if(o&2){let a=be(4);u(),p("ngIf",r.data.type==="user")("ngIfElse",a),u(),p("innerHTML",r.data.item.name,qt),u(6),p("placeholder",r.getFieldLabel("auth")),z("ngModel",r.authenticator),u(),p("ngForOf",r.authenticators),u(2),p("placeholder",r.getFieldLabel(r.data.type)),z("ngModel",r.entity),u(),p("options",r.entities),u(),p("ngForOf",r.filteredEntities()),u(2),p("placeholder",r.getFieldLabel("perm")),z("ngModel",r.permission),u(),p("ngForOf",r.permissions)}},dependencies:[$e,ue,we,xe,Te,Xe,et,Je,fe,vt,nt,ae,pn],styles:[".container[_ngcontent-%COMP%]{display:flex;flex-direction:column}.container[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{width:100%}.mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}"]});let n=i;return n})();var MW=(n,i)=>[n,i];function IW(n,i){if(n&1){let e=k();c(0,"div",11)(1,"div",12),f(2),d(),c(3,"div",13),f(4),c(5,"a",14),b("click",function(){let o=y(e).$implicit,r=_(2);return w(r.revokePermission(o))}),c(6,"i",15),f(7,"close"),d()()()()}if(n&2){let e=i.$implicit;u(2),Er(" ",e.entity_name,"@",e.auth_name," "),u(2),O(" ",e.perm_name," \xA0")}}function TW(n,i){if(n&1){let e=k();c(0,"div",7)(1,"div",8)(2,"div",9),b("click",function(o){let r=y(e).$implicit;return _().newPermission(r),w(o.preventDefault())}),c(3,"uds-translate"),f(4,"New permission..."),d()(),x(5,IW,8,3,"div",10),d()()}if(n&2){let e=i.$implicit;u(5),p("ngForOf",e)}}var Xk=(()=>{let i=class i{constructor(t,o,r){this.api=t,this.dialogRef=o,this.data=r,this.userPermissions=[],this.groupPermissions=[]}static launch(t,o,r){let a=window.innerWidth<800?"90%":"60%",s=t.gui.dialog.open(i,{width:a,data:{rest:o,item:r},disableClose:!1})}ngOnInit(){return H(this,null,function*(){yield this.reload()})}reload(){return H(this,null,function*(){let t=yield this.data.rest.getPermissions(this.data.item.id);this.updatePermissions(t)})}updatePermissions(t){this.userPermissions.length=0,this.groupPermissions.length=0;for(let o of t)o.type==="user"?this.userPermissions.push(o):this.groupPermissions.push(o)}revokePermission(t){return H(this,null,function*(){if(yield this.api.gui.questionDialog(django.gettext("Remove"),django.gettext("Confirm revokation of permission")+" "+t.entity_name+"@"+t.auth_name+" "+t.perm_name+"")){let o=yield this.data.rest.revokePermission([t.id]);this.reload()}})}newPermission(t){return H(this,null,function*(){let o=t===this.userPermissions?"user":"group",r=yield Zk.launch(this.api,o,this.data.item);r&&(yield this.data.rest.addPermission(this.data.item.id,o+"s",r.entity,r.permissision),this.reload())})}};i.\u0275fac=function(o){return new(o||i)(C(B),C(Ne),C(Ke))},i.\u0275cmp=E({type:i,selectors:[["uds-permissions-form"]],standalone:!1,decls:17,vars:5,consts:[["mat-dialog-title",""],[3,"innerHTML"],[1,"titles"],[1,"title"],[1,"permissions"],["class","content",4,"ngFor","ngForOf"],["mat-raised-button","","mat-dialog-close","","color","primary"],[1,"content"],[1,"perms"],[1,"perm","new",3,"click"],["class","perm",4,"ngFor","ngForOf"],[1,"perm"],[1,"owner"],[1,"permission"],[3,"click"],[1,"material-icons"]],template:function(o,r){o&1&&(c(0,"h4",0)(1,"uds-translate"),f(2,"Permissions for"),d(),f(3,"\xA0"),M(4,"b",1),d(),c(5,"mat-dialog-content")(6,"div",2)(7,"uds-translate",3),f(8,"Users"),d(),c(9,"uds-translate",3),f(10,"Groups"),d()(),c(11,"div",4),x(12,TW,6,1,"div",5),d()(),c(13,"mat-dialog-actions")(14,"button",6)(15,"uds-translate"),f(16,"Ok"),d()()()),o&2&&(u(4),p("innerHTML",r.data.item.name,qt),u(8),p("ngForOf",al(2,MW,r.userPermissions,r.groupPermissions)))},dependencies:[$e,Te,Qt,Xe,et,Je,ae],styles:[".titles[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-around;margin-bottom:.4rem}.title[_ngcontent-%COMP%]{font-size:1.4rem}.permissions[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:flex-start}.perms[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:16rem;overflow-y:auto;border-color:#333;border-radius:1px;box-shadow:#00000024 0 1px 4px;margin-bottom:1rem;margin-right:1rem;padding:.5rem}.perm[_ngcontent-%COMP%]{font-family:Courier New,Courier,monospace;font-size:1.2rem;display:flex;justify-content:space-between;white-space:nowrap;flex-wrap:nowrap;margin-right:.4rem}.perm[_ngcontent-%COMP%]:hover:not(.new){background-color:#333;color:#fff;cursor:default}.owner[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-right:.2rem}.new[_ngcontent-%COMP%]{color:#00f;justify-content:center}.new[_ngcontent-%COMP%]:hover{color:#fff;background-color:#00f;cursor:pointer}.content[_ngcontent-%COMP%]{width:100%;display:flex;flex-direction:column;justify-content:space-between}.material-icons[_ngcontent-%COMP%]{font-size:1em;padding-bottom:1px}.material-icons[_ngcontent-%COMP%]:hover{cursor:pointer;color:red}.mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}"]});let n=i;return n})();var nA=au(ng()),kW="text/csv",Jk=",",eA=`\r +`,tA=n=>(n.changingThisBreaksApplicationSecurity!==void 0&&(n=n.changingThisBreaksApplicationSecurity.replace(/<.*>/g,"")),n=""+n,'"'+n.replace('"','""')+'"'),ig=n=>{let i="";n.columns.forEach(o=>{i+=tA(o.title)+Jk}),i=i.slice(0,-1)+eA;let e=n.dataSource.data;for(let o of e){for(let r of n.columns){let a=o[r.name];switch(r.type){case _n.DATE:a=qn("SHORT_DATE_FORMAT",a);break;case _n.DATETIME:a=qn("SHORT_DATETIME_FORMAT",a);break;case _n.DATETIMESEC:a=qn("SHORT_DATE_FORMAT",a," H:i:s");break;case _n.TIME:a=qn("TIME_FORMAT",a);break;default:break}i+=tA(a)+Jk}i=i.slice(0,-1)+eA}let t=new Blob([i],{type:kW});setTimeout(()=>{(0,nA.saveAs)(t,n.title+".csv",{autoBom:!1})})};var dw=class{_document;_textarea;constructor(i,e){this._document=e;let t=this._textarea=this._document.createElement("textarea"),o=t.style;o.position="fixed",o.top=o.opacity="0",o.left="-999em",t.setAttribute("aria-hidden","true"),t.value=i,t.readOnly=!0,(this._document.fullscreenElement||this._document.body).appendChild(t)}copy(){let i=this._textarea,e=!1;try{if(i){let t=this._document.activeElement;i.select(),i.setSelectionRange(0,i.value.length),e=this._document.execCommand("copy"),t&&t.focus()}}catch{}return e}destroy(){let i=this._textarea;i&&(i.remove(),this._textarea=void 0)}},iA=(()=>{class n{_document=h(de);constructor(){}copy(e){let t=this.beginCopy(e),o=t.copy();return t.destroy(),o}beginCopy(e){return new dw(e,this._document)}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var oA=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({})}return n})();var RW=["mat-menu-item",""],OW=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],PW=["mat-icon, [matMenuItemIcon]","*"];function FW(n,i){n&1&&(fn(),c(0,"svg",2),M(1,"polygon",3),d())}var NW=["*"];function LW(n,i){if(n&1){let e=k();c(0,"div",0),b("click",function(){y(e);let o=_();return w(o.closed.emit("click"))})("@transformMenu.start",function(o){y(e);let r=_();return w(r._onAnimationStart(o))})("@transformMenu.done",function(o){y(e);let r=_();return w(r._onAnimationDone(o))}),c(1,"div",1),re(2),d()()}if(n&2){let e=_();Yt(e._classList),p("id",e.panelId)("@transformMenu",e._panelAnimationState),ee("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby||null)("aria-describedby",e.ariaDescribedby||null)}}var uw=new R("MAT_MENU_PANEL"),_s=(()=>{class n{_elementRef=h(Q);_document=h(de);_focusMonitor=h(Pn);_parentMenu=h(uw,{optional:!0});_changeDetectorRef=h(Ee);role="menuitem";disabled=!1;disableRipple=!1;_hovered=new j;_focused=new j;_highlighted=!1;_triggersSubmenu=!1;constructor(){h(Mt).load(Dn),this._parentMenu?.addItem?.(this)}focus(e,t){this._focusMonitor&&e?this._focusMonitor.focusVia(this._getHostElement(),e,t):this._getHostElement().focus(t),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){let e=this._elementRef.nativeElement.cloneNode(!0),t=e.querySelectorAll("mat-icon, .material-icons");for(let o=0;o{class n{_template=h(wt);_appRef=h(fi);_injector=h(Ae);_viewContainerRef=h(kt);_document=h(de);_changeDetectorRef=h(Ee);_portal;_outlet;_attached=new j;constructor(){}attach(e={}){this._portal||(this._portal=new On(this._template,this._viewContainerRef)),this.detach(),this._outlet||(this._outlet=new Ml(this._document.createElement("div"),null,this._appRef,this._injector));let t=this._template.elementRef.nativeElement;t.parentNode.insertBefore(this._outlet.outletElement,t),this._changeDetectorRef.markForCheck(),this._portal.attach(this._outlet,e),this._attached.next()}detach(){this._portal.isAttached&&this._portal.detach()}ngOnDestroy(){this._outlet&&this._outlet.dispose()}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["ng-template","matMenuContent",""]],features:[ye([{provide:aA,useExisting:n}])]})}return n})(),og={transformMenu:mn("transformMenu",[Ft("void",Me({opacity:0,transform:"scale(0.8)"})),xt("void => enter",It("120ms cubic-bezier(0, 0, 0.2, 1)",Me({opacity:1,transform:"scale(1)"}))),xt("* => void",It("100ms 25ms linear",Me({opacity:0})))]),fadeInItems:mn("fadeInItems",[Ft("showing",Me({opacity:1})),xt("void => *",[Me({opacity:0}),It("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Ufe=og.fadeInItems,Hfe=og.transformMenu,VW=new R("mat-menu-default-options",{providedIn:"root",factory:BW});function BW(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}var jr=(()=>{class n{_elementRef=h(Q);_changeDetectorRef=h(Ee);_keyManager;_xPosition;_yPosition;_firstItemFocusRef;_allItems;_directDescendantItems=new Ji;_classList={};_panelAnimationState="void";_animationDone=new j;_isAnimating;parentMenu;direction;overlayPanelClass;backdropClass;ariaLabel;ariaLabelledby;ariaDescribedby;get xPosition(){return this._xPosition}set xPosition(e){this._xPosition=e,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(e){this._yPosition=e,this.setPositionClasses()}templateRef;items;lazyContent;overlapTrigger;hasBackdrop;set panelClass(e){let t=this._previousPanelClass,o=L({},this._classList);t&&t.length&&t.split(" ").forEach(r=>{o[r]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(r=>{o[r]=!0}),this._elementRef.nativeElement.className=""),this._classList=o}_previousPanelClass;get classList(){return this.panelClass}set classList(e){this.panelClass=e}closed=new T;close=this.closed;panelId=h(ft).getId("mat-menu-panel-");_injector=h(Ae);constructor(){let e=h(VW);this.overlayPanelClass=e.overlayPanelClass||"",this._xPosition=e.xPosition,this._yPosition=e.yPosition,this.backdropClass=e.backdropClass,this.overlapTrigger=e.overlapTrigger,this.hasBackdrop=e.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new ga(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(Et(this._directDescendantItems),Tt(e=>yt(...e.map(t=>t._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e)),this._directDescendantItems.changes.subscribe(e=>{let t=this._keyManager;if(this._panelAnimationState==="enter"&&t.activeItem?._hasFocus()){let o=e.toArray(),r=Math.max(0,Math.min(o.length-1,t.activeItemIndex||0));o[r]&&!o[r].disabled?t.setActiveItem(r):t.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusRef?.destroy()}_hovered(){return this._directDescendantItems.changes.pipe(Et(this._directDescendantItems),Tt(t=>yt(...t.map(o=>o._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){let t=e.keyCode,o=this._keyManager;switch(t){case 27:Ot(e)||(e.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:(t===38||t===40)&&o.setFocusOrigin("keyboard"),o.onKeydown(e);return}}focusFirstItem(e="program"){this._firstItemFocusRef?.destroy(),this._firstItemFocusRef=nn(()=>{let t=null;if(this._directDescendantItems.length&&(t=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!t||!t.contains(document.activeElement)){let o=this._keyManager;o.setFocusOrigin(e).setFirstItemActive(),!o.activeItem&&t&&t.focus()}},{injector:this._injector})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){}setPositionClasses(e=this.xPosition,t=this.yPosition){this._classList=Qe(L({},this._classList),{"mat-menu-before":e==="before","mat-menu-after":e==="after","mat-menu-above":t==="above","mat-menu-below":t==="below"}),this._changeDetectorRef.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(e){this._animationDone.next(e),this._isAnimating=!1}_onAnimationStart(e){this._isAnimating=!0,e.toState==="enter"&&this._keyManager.activeItemIndex===0&&(e.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(Et(this._allItems)).subscribe(e=>{this._directDescendantItems.reset(e.filter(t=>t._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["mat-menu"]],contentQueries:function(t,o,r){if(t&1&&(He(r,aA,5),He(r,_s,5),He(r,_s,4)),t&2){let a;$(a=q())&&(o.lazyContent=a.first),$(a=q())&&(o._allItems=a),$(a=q())&&(o.items=a)}},viewQuery:function(t,o){if(t&1&&se(wt,5),t&2){let r;$(r=q())&&(o.templateRef=r.first)}},hostVars:3,hostBindings:function(t,o){t&2&&ee("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",G],hasBackdrop:[2,"hasBackdrop","hasBackdrop",e=>e==null?null:G(e)],panelClass:[0,"class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],features:[ye([{provide:uw,useExisting:n}]),ce],ngContentSelectors:NW,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel",3,"click","id"],[1,"mat-mdc-menu-content"]],template:function(t,o){t&1&&(We(),x(0,LW,3,7,"ng-template"))},styles:['mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;outline:0}.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, var(--mat-sys-label-large-font));line-height:var(--mat-menu-item-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-menu-item-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-menu-item-label-text-tracking, var(--mat-sys-label-large-tracking));font-weight:var(--mat-menu-item-label-text-weight, var(--mat-sys-label-large-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, var(--mat-sys-corner-extra-small));background-color:var(--mat-menu-container-color, var(--mat-sys-surface-container));box-shadow:var(--mat-menu-container-elevation-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));will-change:transform,opacity}.mat-mdc-menu-panel.ng-animating{pointer-events:none}.mat-mdc-menu-panel.ng-animating:has(.mat-mdc-menu-content:empty){display:none}@media(forced-colors: active){.mat-mdc-menu-panel{outline:solid 1px}}.mat-mdc-menu-panel .mat-divider{color:var(--mat-menu-divider-color, var(--mat-sys-surface-variant));margin-bottom:var(--mat-menu-divider-bottom-spacing, 8px);margin-top:var(--mat-menu-divider-top-spacing, 8px)}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;min-height:48px;padding-left:var(--mat-menu-item-leading-spacing, 12px);padding-right:var(--mat-menu-item-trailing-spacing, 12px);-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-menu-item::-moz-focus-inner{border:0}[dir=rtl] .mat-mdc-menu-item{padding-left:var(--mat-menu-item-trailing-spacing, 12px);padding-right:var(--mat-menu-item-leading-spacing, 12px)}.mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-left:var(--mat-menu-item-with-icon-leading-spacing, 12px);padding-right:var(--mat-menu-item-with-icon-trailing-spacing, 12px)}[dir=rtl] .mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-left:var(--mat-menu-item-with-icon-trailing-spacing, 12px);padding-right:var(--mat-menu-item-with-icon-leading-spacing, 12px)}.mat-mdc-menu-item,.mat-mdc-menu-item:visited,.mat-mdc-menu-item:link{color:var(--mat-menu-item-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-menu-item .mat-icon-no-color,.mat-mdc-menu-item .mat-mdc-menu-submenu-icon{color:var(--mat-menu-item-icon-color, var(--mat-sys-on-surface-variant))}.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:focus{outline:0}.mat-mdc-menu-item .mat-icon{flex-shrink:0;margin-right:var(--mat-menu-item-spacing, 12px);height:var(--mat-menu-item-icon-size, 24px);width:var(--mat-menu-item-icon-size, 24px)}[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, 12px)}.mat-mdc-menu-item:not([disabled]):hover{background-color:var(--mat-menu-item-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}.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, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent))}@media(forced-colors: active){.mat-mdc-menu-item{margin-top:1px}}.mat-mdc-menu-submenu-icon{width:var(--mat-menu-item-icon-size, 24px);height:10px;fill:currentColor;padding-left:var(--mat-menu-item-spacing, 12px)}[dir=rtl] .mat-mdc-menu-submenu-icon{padding-right:var(--mat-menu-item-spacing, 12px);padding-left:0}[dir=rtl] .mat-mdc-menu-submenu-icon polygon{transform:scaleX(-1);transform-origin:center}@media(forced-colors: 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:[og.transformMenu,og.fadeInItems]},changeDetection:0})}return n})(),lA=new R("mat-menu-scroll-strategy",{providedIn:"root",factory:()=>{let n=h(Lt);return()=>n.scrollStrategies.reposition()}});function jW(n){return()=>n.scrollStrategies.reposition()}var zW={provide:lA,deps:[Lt],useFactory:jW},rA=Wn({passive:!0});var rg=(()=>{class n{_overlay=h(Lt);_element=h(Q);_viewContainerRef=h(kt);_menuItemInstance=h(_s,{optional:!0,self:!0});_dir=h(jt,{optional:!0});_focusMonitor=h(Pn);_ngZone=h(te);_scrollStrategy=h(lA);_changeDetectorRef=h(Ee);_portal;_overlayRef=null;_menuOpen=!1;_closingActionsSubscription=ge.EMPTY;_hoverSubscription=ge.EMPTY;_menuCloseSubscription=ge.EMPTY;_parentMaterialMenu;_parentInnerPadding;_handleTouchStart=e=>{xd(e)||(this._openedBy="touch")};_openedBy=void 0;get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(e){this.menu=e}get menu(){return this._menu}set menu(e){e!==this._menu&&(this._menu=e,this._menuCloseSubscription.unsubscribe(),e&&(this._parentMaterialMenu,this._menuCloseSubscription=e.close.subscribe(t=>{this._destroyMenu(t),(t==="click"||t==="tab")&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(t)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}_menu;menuData;restoreFocus=!0;menuOpened=new T;onMenuOpen=this.menuOpened;menuClosed=new T;onMenuClose=this.menuClosed;constructor(){let e=h(uw,{optional:!0});this._parentMaterialMenu=e instanceof jr?e:void 0,this._element.nativeElement.addEventListener("touchstart",this._handleTouchStart,rA)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,rA),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 e=this.menu;if(this._menuOpen||!e)return;let t=this._createOverlay(e),o=t.getConfig(),r=o.positionStrategy;this._setPosition(e,r),o.hasBackdrop=e.hasBackdrop==null?!this.triggersSubmenu():e.hasBackdrop,t.attach(this._getPortal(e)),e.lazyContent&&e.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(e),e instanceof jr&&(e._startAnimation(),e._directDescendantItems.changes.pipe(pe(e.close)).subscribe(()=>{r.withLockedPosition(!1).reapplyLastPosition(),r.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(e,t){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,t):this._element.nativeElement.focus(t)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(e){if(!this._overlayRef||!this.menuOpen)return;let t=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&(e==="keydown"||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,t instanceof jr?(t._resetAnimation(),t.lazyContent?t._animationDone.pipe(je(o=>o.toState==="void"),Rt(1),pe(t.lazyContent._attached)).subscribe({next:()=>t.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),t?.lazyContent?.detach())}_initMenu(e){e.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,e.direction=this.dir,e.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setIsMenuOpen(e){e!==this._menuOpen&&(this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(e),this._changeDetectorRef.markForCheck())}_createOverlay(e){if(!this._overlayRef){let t=this._getOverlayConfig(e);this._subscribeToPositions(e,t.positionStrategy),this._overlayRef=this._overlay.create(t),this._overlayRef.keydownEvents().subscribe(o=>{this.menu instanceof jr&&this.menu._handleKeydown(o)})}return this._overlayRef}_getOverlayConfig(e){return new ki({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:e.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:e.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir||"ltr"})}_subscribeToPositions(e,t){e.setPositionClasses&&t.positionChanges.subscribe(o=>{this._ngZone.run(()=>{let r=o.connectionPair.overlayX==="start"?"after":"before",a=o.connectionPair.overlayY==="top"?"below":"above";e.setPositionClasses(r,a)})})}_setPosition(e,t){let[o,r]=e.xPosition==="before"?["end","start"]:["start","end"],[a,s]=e.yPosition==="above"?["bottom","top"]:["top","bottom"],[l,m]=[a,s],[g,v]=[o,r],D=0;if(this.triggersSubmenu()){if(v=o=e.xPosition==="before"?"start":"end",r=g=o==="end"?"start":"end",this._parentMaterialMenu){if(this._parentInnerPadding==null){let S=this._parentMaterialMenu.items.first;this._parentInnerPadding=S?S._getHostElement().offsetTop:0}D=a==="bottom"?this._parentInnerPadding:-this._parentInnerPadding}}else e.overlapTrigger||(l=a==="top"?"bottom":"top",m=s==="top"?"bottom":"top");t.withPositions([{originX:o,originY:l,overlayX:g,overlayY:a,offsetY:D},{originX:r,originY:l,overlayX:v,overlayY:a,offsetY:D},{originX:o,originY:m,overlayX:g,overlayY:s,offsetY:-D},{originX:r,originY:m,overlayX:v,overlayY:s,offsetY:-D}])}_menuClosingActions(){let e=this._overlayRef.backdropClick(),t=this._overlayRef.detachments(),o=this._parentMaterialMenu?this._parentMaterialMenu.closed:ie(),r=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(je(a=>a!==this._menuItemInstance),je(()=>this._menuOpen)):ie();return yt(e,o,r,t)}_handleMousedown(e){Cd(e)||(this._openedBy=e.button===0?"mouse":void 0,this.triggersSubmenu()&&e.preventDefault())}_handleKeydown(e){let t=e.keyCode;(t===13||t===32)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(t===39&&this.dir==="ltr"||t===37&&this.dir==="rtl")&&(this._openedBy="keyboard",this.openMenu())}_handleClick(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(je(e=>e===this._menuItemInstance&&!e.disabled),Yr(0,lc)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof jr&&this.menu._isAnimating?this.menu._animationDone.pipe(Rt(1),Yr(0,lc),pe(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(e){return(!this._portal||this._portal.templateRef!==e.templateRef)&&(this._portal=new On(e.templateRef,this._viewContainerRef)),this._portal}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],hostVars:3,hostBindings:function(t,o){t&1&&b("click",function(a){return o._handleClick(a)})("mousedown",function(a){return o._handleMousedown(a)})("keydown",function(a){return o._handleKeydown(a)}),t&2&&ee("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"]})}return n})(),cA=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({providers:[zW],imports:[Pr,me,ci,ro,me]})}return n})();var UW=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["ng-component"]],hostAttrs:["cdk-text-field-style-loader",""],decls:0,vars:0,template:function(t,o){},styles:["textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0 !important;box-sizing:content-box !important;height:auto !important;overflow:hidden !important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0 !important;box-sizing:content-box !important;height:0 !important}@keyframes cdk-text-field-autofill-start{/*!*/}@keyframes cdk-text-field-autofill-end{/*!*/}.cdk-text-field-autofill-monitored:-webkit-autofill{animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){animation:cdk-text-field-autofill-end 0s 1ms}"],encapsulation:2,changeDetection:0})}return n})(),uA=Wn({passive:!0}),mA=(()=>{class n{_platform=h(rt);_ngZone=h(te);_styleLoader=h(Mt);_monitoredElements=new Map;constructor(){}monitor(e){if(!this._platform.isBrowser)return kn;this._styleLoader.load(UW);let t=Mi(e),o=this._monitoredElements.get(t);if(o)return o.subject;let r=new j,a="cdk-text-field-autofilled",s=l=>{l.animationName==="cdk-text-field-autofill-start"&&!t.classList.contains(a)?(t.classList.add(a),this._ngZone.run(()=>r.next({target:l.target,isAutofilled:!0}))):l.animationName==="cdk-text-field-autofill-end"&&t.classList.contains(a)&&(t.classList.remove(a),this._ngZone.run(()=>r.next({target:l.target,isAutofilled:!1})))};return this._ngZone.runOutsideAngular(()=>{t.addEventListener("animationstart",s,uA),t.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(t,{subject:r,unlisten:()=>{t.removeEventListener("animationstart",s,uA)}}),r}stopMonitoring(e){let t=Mi(e),o=this._monitoredElements.get(t);o&&(o.unlisten(),o.subject.complete(),t.classList.remove("cdk-text-field-autofill-monitored"),t.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(t))}ngOnDestroy(){this._monitoredElements.forEach((e,t)=>this.stopMonitoring(t))}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var pA=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({})}return n})();var mw=new R("MAT_INPUT_VALUE_ACCESSOR"),HW=["button","checkbox","file","hidden","image","radio","range","reset","submit"],WW=new R("MAT_INPUT_CONFIG"),pt=(()=>{class n{_elementRef=h(Q);_platform=h(rt);ngControl=h(Ai,{optional:!0,self:!0});_autofillMonitor=h(mA);_ngZone=h(te);_formField=h(Ro,{optional:!0});_uid=h(ft).getId("mat-input-");_previousNativeValue;_inputValueAccessor;_signalBasedValueAccessor;_previousPlaceholder;_errorStateTracker;_webkitBlinkWheelListenerAttached=!1;_config=h(WW,{optional:!0});_formFieldDescribedBy;_isServer;_isNativeSelect;_isTextarea;_isInFormField;focused=!1;stateChanges=new j;controlType="mat-input";autofilled=!1;get disabled(){return this._disabled}set disabled(e){this._disabled=oo(e),this.focused&&(this.focused=!1,this.stateChanges.next())}_disabled=!1;get id(){return this._id}set id(e){this._id=e||this._uid}_id;placeholder;name;get required(){return this._required??this.ngControl?.control?.hasValidator(rr.required)??!1}set required(e){this._required=oo(e)}_required;get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&G0().has(this._type)&&(this._elementRef.nativeElement.type=this._type),this._ensureWheelDefaultBehavior()}_type="text";get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}userAriaDescribedBy;get value(){return this._signalBasedValueAccessor?this._signalBasedValueAccessor.value():this._inputValueAccessor.value}set value(e){e!==this.value&&(this._signalBasedValueAccessor?this._signalBasedValueAccessor.value.set(e):this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=oo(e)}_readonly=!1;disabledInteractive;get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}_neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(e=>G0().has(e));constructor(){let e=h(co,{optional:!0}),t=h(Ea,{optional:!0}),o=h(ba),r=h(mw,{optional:!0,self:!0}),a=this._elementRef.nativeElement,s=a.nodeName.toLowerCase();r?oa(r.value)?this._signalBasedValueAccessor=r:this._inputValueAccessor=r:this._inputValueAccessor=a,this._previousNativeValue=this.value,this.id=this.id,this._platform.IOS&&this._ngZone.runOutsideAngular(()=>{a.addEventListener("keyup",this._iOSKeyupListener)}),this._errorStateTracker=new Or(o,this.ngControl,t,e,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect=s==="select",this._isTextarea=s==="textarea",this._isInFormField=!!this._formField,this.disabledInteractive=this._config?.disabledInteractive||!1,this._isNativeSelect&&(this.controlType=a.multiple?"mat-native-select-multiple":"mat-native-select"),this._signalBasedValueAccessor&&jc(()=>{this._signalBasedValueAccessor.value(),this.stateChanges.next()})}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener),this._webkitBlinkWheelListenerAttached&&this._elementRef.nativeElement.removeEventListener("wheel",this._webkitBlinkWheelListener)}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(e){this._elementRef.nativeElement.focus(e)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(e){if(e!==this.focused){if(!this._isNativeSelect&&e&&this.disabled&&this.disabledInteractive){let t=this._elementRef.nativeElement;t.type==="number"?(t.type="text",t.setSelectionRange(0,0),t.type="number"):t.setSelectionRange(0,0)}this.focused=e,this.stateChanges.next()}}_onInput(){}_dirtyCheckNativeValue(){let e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_dirtyCheckPlaceholder(){let e=this._getPlaceholder();if(e!==this._previousPlaceholder){let t=this._elementRef.nativeElement;this._previousPlaceholder=e,e?t.setAttribute("placeholder",e):t.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){HW.indexOf(this._type)>-1}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!this._isNeverEmpty()&&!this._elementRef.nativeElement.value&&!this._isBadInput()&&!this.autofilled}get shouldLabelFloat(){if(this._isNativeSelect){let e=this._elementRef.nativeElement,t=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&t&&t.label)}else return this.focused&&!this.disabled||!this.empty}setDescribedByIds(e){let t=this._elementRef.nativeElement,o=t.getAttribute("aria-describedby"),r;if(o){let a=this._formFieldDescribedBy||e;r=e.concat(o.split(" ").filter(s=>s&&!a.includes(s)))}else r=e;this._formFieldDescribedBy=e,r.length?t.setAttribute("aria-describedby",r.join(" ")):t.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){let e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}_iOSKeyupListener=e=>{let t=e.target;!t.value&&t.selectionStart===0&&t.selectionEnd===0&&(t.setSelectionRange(1,1),t.setSelectionRange(0,0))};_webkitBlinkWheelListener=()=>{};_ensureWheelDefaultBehavior(){!this._webkitBlinkWheelListenerAttached&&this._type==="number"&&(this._platform.BLINK||this._platform.WEBKIT)&&(this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("wheel",this._webkitBlinkWheelListener)}),this._webkitBlinkWheelListenerAttached=!0),this._webkitBlinkWheelListenerAttached&&this._type!=="number"&&(this._elementRef.nativeElement.removeEventListener("wheel",this._webkitBlinkWheelListener),this._webkitBlinkWheelListenerAttached=!0)}_getReadonlyAttribute(){return this._isNativeSelect?null:this.readonly||this.disabled&&this.disabledInteractive?"true":null}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:21,hostBindings:function(t,o){t&1&&b("focus",function(){return o._focusChanged(!0)})("blur",function(){return o._focusChanged(!1)})("input",function(){return o._onInput()}),t&2&&(En("id",o.id)("disabled",o.disabled&&!o.disabledInteractive)("required",o.required),ee("name",o.name||null)("readonly",o._getReadonlyAttribute())("aria-disabled",o.disabled&&o.disabledInteractive?"true":null)("aria-invalid",o.empty&&o.required?null:o.errorState)("aria-required",o.required)("id",o.id),ne("mat-input-server",o._isServer)("mat-mdc-form-field-textarea-control",o._isInFormField&&o._isTextarea)("mat-mdc-form-field-input-control",o._isInFormField)("mat-mdc-input-disabled-interactive",o.disabledInteractive)("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",disabledInteractive:[2,"disabledInteractive","disabledInteractive",G]},exportAs:["matInput"],features:[ye([{provide:Ma,useExisting:n}]),ce,Ze]})}return n})(),hA=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({imports:[me,fs,fs,pA,me]})}return n})();var fA=(()=>{let i=class i{transform(t){return xy(t)}};i.\u0275fac=function(o){return new(o||i)},i.\u0275pipe=Qo({name:"isEmpty",type:i,pure:!0,standalone:!1});let n=i;return n})(),yn=(()=>{let i=class i{transform(t){return!xy(t)}};i.\u0275fac=function(o){return new(o||i)},i.\u0275pipe=Qo({name:"notEmpty",type:i,pure:!0,standalone:!1});let n=i;return n})();var gA=(()=>{let i=class i{transform(t,o){let r;return o===void 0?r=(a,s)=>a>s?1:-1:r=(a,s)=>a[o]>s[o]?1:-1,t.sort(r)}};i.\u0275fac=function(o){return new(o||i)},i.\u0275pipe=Qo({name:"sort",type:i,pure:!0,standalone:!1});let n=i;return n})();var $W=["trigger"],qW=()=>[5,10,25,100,1e3];function YW(n,i){if(n&1&&M(0,"img",39),n&2){let e=_();p("src",e.icon,Se)}}function QW(n,i){if(n&1){let e=k();c(0,"button",47),b("click",function(){let o=y(e).$implicit,r=_(5);return w(r.newAction.emit({param:o,table:r}))}),d()}if(n&2){let e=i.$implicit,t=_(5);p("innerHTML",t.api.safeString(t.api.gui.icon(e.icon)+e.name),qt)}}function KW(n,i){if(n&1&&(ut(0),c(1,"button",44),f(2),d(),c(3,"mat-menu",45,3),x(5,QW,1,1,"button",46),gt(6,"sort"),d(),mt()),n&2){let e=i.$implicit,t=be(4);u(),p("matMenuTriggerFor",t),u(),Ge(e.key),u(),p("overlapTrigger",!1),u(2),p("ngForOf",Tb(6,4,e.value,"name"))}}function ZW(n,i){if(n&1&&(ut(0),c(1,"mat-menu",40,2),x(3,KW,7,7,"ng-container",41),gt(4,"keyvalue"),d(),c(5,"a",42)(6,"i",22),f(7,"insert_drive_file"),d(),c(8,"span",43)(9,"uds-translate"),f(10,"New"),d()(),c(11,"i",22),f(12,"arrow_drop_down"),d()(),mt()),n&2){let e=be(2),t=_(3);u(),p("overlapTrigger",!1),u(2),p("ngForOf",Ct(4,3,t.grpTypes)),u(2),p("matMenuTriggerFor",e)}}function XW(n,i){if(n&1){let e=k();c(0,"button",49),b("click",function(){let o=y(e).$implicit,r=_(4);return w(r.newAction.emit({param:o,table:r}))}),d()}if(n&2){let e=i.$implicit,t=_(4);p("innerHTML",t.api.safeString(t.api.gui.icon(e.icon)+e.name),qt)}}function JW(n,i){if(n&1&&(ut(0),c(1,"mat-menu",40,2),x(3,XW,1,1,"button",48),gt(4,"sort"),d(),c(5,"a",42)(6,"i",22),f(7,"insert_drive_file"),d(),c(8,"span",43)(9,"uds-translate"),f(10,"New"),d()(),c(11,"i",22),f(12,"arrow_drop_down"),d()(),mt()),n&2){let e=be(2),t=_(3);u(),p("overlapTrigger",!1),u(2),p("ngForOf",Tb(4,3,t.oTypes,"name")),u(2),p("matMenuTriggerFor",e)}}function eG(n,i){if(n&1&&(ut(0),x(1,ZW,13,5,"ng-container",13)(2,JW,13,6,"ng-container",13),mt()),n&2){let e=_(2);u(),p("ngIf",e.newGrouped),u(),p("ngIf",!e.newGrouped)}}function tG(n,i){if(n&1){let e=k();ut(0),c(1,"a",50),b("click",function(){y(e);let o=_(2);return w(o.newAction.emit({param:void 0,table:o}))}),c(2,"i",22),f(3,"insert_drive_file"),d(),c(4,"span",43)(5,"uds-translate"),f(6,"New"),d()()(),mt()}}function nG(n,i){if(n&1&&(ut(0),x(1,eG,3,2,"ng-container",13)(2,tG,7,0,"ng-container",13),mt()),n&2){let e=_();u(),p("ngIf",e.oTypes!==void 0&&e.oTypes.length!==0),u(),p("ngIf",e.oTypes!==void 0&&e.oTypes.length===0)}}function iG(n,i){if(n&1){let e=k();ut(0),c(1,"a",51),b("click",function(){y(e);let o=_();return w(o.emitIfSelection(o.editAction))}),c(2,"i",22),f(3,"edit"),d(),c(4,"span",43)(5,"uds-translate"),f(6,"Edit"),d()()(),mt()}if(n&2){let e=_();u(),p("disabled",e.selection.selected.length!==1)}}function oG(n,i){if(n&1){let e=k();ut(0),c(1,"a",51),b("click",function(){y(e);let o=_();return w(o.permissions())}),c(2,"i",22),f(3,"perm_identity"),d(),c(4,"span",43)(5,"uds-translate"),f(6,"Permissions"),d()()(),mt()}if(n&2){let e=_();u(),p("disabled",e.selection.selected.length!==1)}}function rG(n,i){if(n&1){let e=k();c(0,"a",53),b("click",function(){let o=y(e).$implicit,r=_(2);return w(r.emitCustom(o))}),d()}if(n&2){let e=i.$implicit,t=_(2);p("disabled",t.isCustomDisabled(e))("innerHTML",e.html,qt)}}function aG(n,i){if(n&1&&(ut(0),x(1,rG,1,2,"a",52),mt()),n&2){let e=_();u(),p("ngForOf",e.getcustomButtons())}}function sG(n,i){if(n&1){let e=k();ut(0),c(1,"a",54),b("click",function(){y(e);let o=_();return w(o.export())}),c(2,"i",22),f(3,"import_export"),d(),c(4,"span",43)(5,"uds-translate"),f(6,"Export CSV"),d()()(),mt()}}function lG(n,i){if(n&1){let e=k();ut(0),c(1,"a",55),b("click",function(){y(e);let o=_();return w(o.emitIfSelection(o.deleteAction,!0))}),c(2,"i",22),f(3,"delete_forever"),d(),c(4,"span",43)(5,"uds-translate"),f(6,"Delete"),d()()(),mt()}if(n&2){let e=_();u(),p("disabled",e.selection.isEmpty())}}function cG(n,i){if(n&1){let e=k();c(0,"button",56),b("click",function(){y(e);let o=_();return o.filterText="",w(o.applyFilter())}),c(1,"i",22),f(2,"clear"),d()()}}function dG(n,i){n&1&&M(0,"mat-header-cell")}function uG(n,i){n&1&&(c(0,"i",61),f(1,"check_box"),d())}function mG(n,i){n&1&&(c(0,"i",62),f(1,"check_box_outline_blank"),d())}function pG(n,i){if(n&1){let e=k();c(0,"mat-cell",59),b("click",function(o){let r=y(e).$implicit,a=_(2);return w(a.clickRow(r,o))}),x(1,uG,2,0,"i",60)(2,mG,2,0,"ng-template",null,4,gn),d()}if(n&2){let e=i.$implicit,t=be(3),o=_(2);u(),p("ngIf",o.selection.isSelected(e))("ngIfElse",t)}}function hG(n,i){n&1&&(ut(0,57),x(1,dG,1,0,"mat-header-cell",27)(2,pG,4,2,"mat-cell",58),mt())}function fG(n,i){n&1&&M(0,"mat-header-cell")}function gG(n,i){if(n&1){let e=k();c(0,"mat-cell")(1,"div",63),b("click",function(o){let r=y(e).$implicit,a=_();return a.detailAction.emit({param:r,table:a}),w(o.stopPropagation())}),c(2,"i",22),f(3,"subdirectory_arrow_right"),d()()()}}function _G(n,i){if(n&1&&(c(0,"mat-header-cell",67),f(1),d()),n&2){let e=_().$implicit;u(),Ge(e.title)}}function vG(n,i){if(n&1){let e=k();c(0,"mat-cell",68),b("click",function(o){let r=y(e).$implicit,a=_(2);return w(a.clickRow(r,o))})("contextmenu",function(o){let r=y(e).$implicit,a=_().$implicit,s=_();return w(s.onContextMenu(r,a,o))}),M(1,"div",69),d()}if(n&2){let e=i.$implicit,t=_().$implicit,o=_();u(),p("innerHtml",o.getRowColumn(e,t),qt)}}function bG(n,i){if(n&1&&(ut(0,64),x(1,_G,2,1,"mat-header-cell",65)(2,vG,2,1,"mat-cell",66),mt()),n&2){let e=i.$implicit;aa("matColumnDef",e.name)}}function yG(n,i){n&1&&M(0,"mat-header-row")}function wG(n,i){if(n&1&&M(0,"mat-row",70),n&2){let e=i.$implicit,t=_();p("ngClass",t.rowClass(e))}}function CG(n,i){if(n&1&&(c(0,"div",71),f(1),c(2,"uds-translate"),f(3,"Selected items"),d()()),n&2){let e=_();u(),O(" ",e.selection.selected.length," ")}}function xG(n,i){if(n&1){let e=k();c(0,"button",75),b("click",function(){y(e);let o=_(2);return w(o.copyToClipboard())}),c(1,"i",76),f(2,"content_copy"),d(),c(3,"uds-translate"),f(4,"Copy"),d()()}}function DG(n,i){if(n&1){let e=k();c(0,"button",75),b("click",function(){y(e);let o=_().item,r=_();return w(r.detailAction.emit({param:o,table:r}))}),c(1,"i",76),f(2,"subdirectory_arrow_right"),d(),c(3,"uds-translate"),f(4,"Detail"),d()()}}function SG(n,i){if(n&1){let e=k();c(0,"button",75),b("click",function(){y(e);let o=_(2);return w(o.emitIfSelection(o.editAction))}),c(1,"i",76),f(2,"edit"),d(),c(3,"uds-translate"),f(4,"Edit"),d()()}}function EG(n,i){if(n&1){let e=k();c(0,"button",75),b("click",function(){y(e);let o=_(2);return w(o.permissions())}),c(1,"i",76),f(2,"perm_identity"),d(),c(3,"uds-translate"),f(4,"Permissions"),d()()}}function MG(n,i){if(n&1){let e=k();c(0,"button",77),b("click",function(){let o=y(e).$implicit,r=_(2);return w(r.emitCustom(o))}),d()}if(n&2){let e=i.$implicit,t=_(2);p("disabled",t.isCustomDisabled(e))("innerHTML",e.html,qt)}}function IG(n,i){if(n&1){let e=k();c(0,"button",78),b("click",function(){y(e);let o=_(2);return w(o.emitIfSelection(o.deleteAction))}),c(1,"i",76),f(2,"delete_forever"),d(),c(3,"uds-translate"),f(4,"Delete"),d()()}}function TG(n,i){if(n&1){let e=k();c(0,"button",77),b("click",function(){let o=y(e).$implicit,r=_(3);return w(r.emitCustom(o))}),d()}if(n&2){let e=i.$implicit,t=_(3);p("disabled",t.isCustomDisabled(e))("innerHTML",e.html,qt)}}function kG(n,i){if(n&1&&(ut(0),M(1,"mat-divider"),x(2,TG,1,2,"button",73),mt()),n&2){let e=_(2);u(2),p("ngForOf",e.getCustomAccelerators())}}function AG(n,i){if(n&1&&x(0,xG,5,0,"button",72)(1,DG,5,0,"button",72)(2,SG,5,0,"button",72)(3,EG,5,0,"button",72)(4,MG,1,2,"button",73)(5,IG,5,0,"button",74)(6,kG,3,1,"ng-container",13),n&2){let e=_();p("ngIf",e.allowCopy===!0),u(),p("ngIf",e.detailAction.observed),u(),p("ngIf",e.editAction.observed),u(),p("ngIf",e.hasPermissions===!0),u(),p("ngForOf",e.getCustomMenu()),u(),p("ngIf",e.deleteAction.observed),u(),p("ngIf",e.hasAccelerators)}}var Ie=(()=>{let i=class i{constructor(t,o){this.api=t,this.clipboard=o,this.contextMenu={},this.paginator={},this.sort={},this.rest={},this.tableId="",this.pageSize=10,this.newGrouped=!1,this.allowCopy=!0,this.loaded=new T,this.rowSelected=new T,this.newAction=new T,this.editAction=new T,this.deleteAction=new T,this.customButtonAction=new T,this.detailAction=new T,this.title="",this.subtitle="",this.displayedColumns=[],this.columns=[],this.types=new Map,this.oTypes=[],this.grpTypes=new Map,this.rowStyleInfo=null,this.selection=new Rr(!0,[]),this.lastSel=null,this.dataSource=new $l([]),this.firstLoad=!0,this.loading=!1,this.lastClickInfo={time:0,x:-1e4,y:-1e4},this.clipValue="",this.contextMenuPosition={x:"0px",y:"0px"},this.filterText="",this.hasCustomButtons=!1,this.hasButtons=!1,this.hasActions=!1,this.hasAccelerators=!1}ngOnInit(){return H(this,null,function*(){this.customButtons===void 0||this.customButtons.length===0||!this.customButtonAction.observed?this.hasCustomButtons=!1:this.hasCustomButtons=!0,this.hasAccelerators=this.getCustomAccelerators().length>0,this.hasButtons=this.hasCustomButtons||this.detailAction.observed||this.editAction.observed||this.hasPermissions||this.deleteAction.observed,this.hasActions=this.hasButtons||this.customButtons!==void 0&&this.customButtons.length>0,this.tableId=this.tableId||this.rest.id,this.dataSource.paginator=this.paginator,this.dataSource.sort=this.sort,this.dataSource.sortingDataAccessor=(a,s)=>{if(!(s in a))return"";let l=a[s];return typeof l=="number"?l:typeof l=="string"?l.toLocaleLowerCase():(l===null&&(l=7226578800),l.changingThisBreaksApplicationSecurity&&(l=l.changingThisBreaksApplicationSecurity),(""+l).replace(/<(span|\/span)[^>]*>/g,"").toLocaleLowerCase())},this.dataSource.filterPredicate=(a,s)=>{try{this.columns.forEach(l=>{if((""+a[l.name]).replace(/<(span|\/span)[^>]*>/g,"").toLocaleLowerCase().includes(s))throw Error()})}catch{return!0}return!1},this.dataSource.sort.active=this.api.getFromStorage(this.tableId+"sort-column")||"name",this.dataSource.sort.direction=this.api.getFromStorage(this.tableId+"sort-direction")||"asc",this.filterText=this.api.getFromStorage(this.tableId+"filterValue")||"",this.applyFilter(),this.selection=new Rr(this.multiSelect===!0,[]);let t=this.rest.permision();t&Nr.MANAGEMENT||(this.newAction.unsubscribe(),this.editAction.unsubscribe(),this.deleteAction.unsubscribe(),this.customButtonAction.unsubscribe()),t!==Nr.ALL&&(this.hasPermissions=!1),this.icon!==void 0&&(this.icon=this.api.staticURL("admin/img/icons/"+this.icon+".png"));let o=yield this.rest.types(),r=yield this.rest.tableInfo();yield this.initialize(r,o)})}initialize(t,o){return H(this,null,function*(){this.oTypes=o,this.types=new Map,this.grpTypes=new Map;for(let a of o)if(this.types.set(a.type,a),a.group!==void 0){this.grpTypes.has(a.group)||this.grpTypes.set(a.group,[]);let s=this.grpTypes.get(a.group);s!==void 0&&s.push(a)}t["row-style"]!==void 0&&t["row-style"].field!==void 0?this.rowStyleInfo=t["row-style"]:this.rowStyleInfo=null,this.title=t.title,this.subtitle=t.subtitle||"",this.hasButtons&&this.displayedColumns.push("selection-column");let r=[];for(let a of t.fields)for(let s in a)if(a.hasOwnProperty(s)){let l=a[s];r.push({name:s,title:l.title,type:l.type===void 0?_n.ALPHANUMERIC:l.type,dict:l.dict}),(l.visible===void 0||l.visible)&&this.displayedColumns.push(s)}this.columns=r,this.detailAction.observed&&this.displayedColumns.push("detail-column"),yield this.overview()})}overview(){return H(this,null,function*(){if(!this.loading){this.selection.clear(),this.dataSource.data=[],this.loading=!0;try{let t=yield this.rest.overview();if(this.onItem)for(let o of t)this.onItem(o);this.dataSource.data=t,this.loaded.emit({param:this.firstLoad,table:this}),this.firstLoad=!1}finally{this.loading=!1}}})}getcustomButtons(){return this.customButtons?this.customButtons.filter(t=>t.type!==ct.ONLY_MENU&&t.type!==ct.ACCELERATOR):[]}getCustomMenu(){return this.customButtons?this.customButtons.filter(t=>t.type!==ct.ACCELERATOR):[]}getCustomAccelerators(){return this.customButtons?this.customButtons.filter(t=>t.type===ct.ACCELERATOR):[]}getRowColumn(t,o){let r=t[o.name];switch(o.type){case _n.IMAGE:return this.api.safeString(this.api.gui.icon(r,"48px"));case _n.DATE:r=qn("SHORT_DATE_FORMAT",r);break;case _n.DATETIME:r=qn("SHORT_DATETIME_FORMAT",r);break;case _n.TIME:r=qn("TIME_FORMAT",r);break;case _n.DATETIMESEC:r=qn("SHORT_DATE_FORMAT",r," H:i:s");break;case _n.ICON:try{r=this.api.gui.icon(this.types.get(t.type).icon)+r}catch{}return this.api.safeString(r);case _n.CALLBACK:break;case _n.DICTIONARY:try{r=o.dict[r]}catch{r=""}break}return r}applyFilter(){this.api.putOnStorage(this.tableId+"filterValue",this.filterText),this.dataSource.filter=this.filterText.trim().toLowerCase()}sortChanged(t){this.api.putOnStorage(this.tableId+"sort-column",t.active),this.api.putOnStorage(this.tableId+"sort-direction",t.direction)}copyToClipboard(){this.clipboard.copy(this.clipValue||"")}rowClass(t){let o=[];return this.selection.isSelected(t)&&o.push("selected"),this.rowStyleInfo!==null&&o.push(this.rowStyleInfo.prefix+t[this.rowStyleInfo.field]),o}emitIfSelection(t,o=!1){let r=this.selection.selected.length;r>0&&(o===!0||r===1)&&t.emit({table:this,param:r})}isCustomDisabled(t){switch(t.type){case void 0:case ct.SINGLE_SELECT:return this.selection.selected.length!==1||t.disabled===!0;case ct.MULTI_SELECT:return this.selection.isEmpty()||t.disabled===!0;default:return!1}}emitCustom(t){!this.selection.selected.length&&t.type!==ct.ALWAYS||(t.type===ct.ACCELERATOR?this.api.navigation.goto(t.id,this.selection.selected[0],t.acceleratorProperties||[]):this.customButtonAction.emit({param:t,table:this}))}clickRow(t,o){let r=new Date().getTime();if((this.detailAction.observed||this.editAction.observed)&&Math.abs(this.lastClickInfo.x-o.x)<16&&Math.abs(this.lastClickInfo.y-o.y)<16&&r-this.lastClickInfo.time<250){this.selection.clear(),this.selection.select(t),this.detailAction.observed?this.detailAction.emit({param:t,table:this}):this.emitIfSelection(this.editAction,!1);return}this.lastClickInfo={time:r,x:o.x,y:o.y},this.doSelect(t,o)}doSelect(t,o){if(o.ctrlKey)this.lastSel=t,this.selection.toggle(t);else if(o.shiftKey){if(this.selection.isEmpty())this.selection.toggle(t);else if(this.selection.clear(),this.lastSel!==t){let r=!1,a=this.dataSource.sort?this.dataSource.sortData(this.dataSource.data,this.dataSource.sort):this.dataSource.data;for(let s of a){if((s===t||s===this.lastSel)&&(r=!r,r===!1)){this.selection.select(s);break}r&&this.selection.select(s)}}}else this.lastSel!==t&&this.selection.clear(),this.lastSel=t,this.selection.toggle(t);this.rowSelected.emit({param:null,table:this})}onContextMenu(t,o,r){r.preventDefault();let a=t[o.name];a.changingThisBreaksApplicationSecurity&&(a=a.changingThisBreaksApplicationSecurity.replace(/.*<\/span>/,"")),this.clipValue=""+a,this.hasActions&&(this.selection.clear(),this.selection.select(t),this.contextMenuPosition.x=r.clientX+"px",this.contextMenuPosition.y=r.clientY+"px",this.contextMenu.menuData={item:t},this.contextMenu.openMenu())}selectElement(t,o){(this.dataSource.sort?this.dataSource.sortData(this.dataSource.data,this.dataSource.sort):this.dataSource.data).forEach((a,s)=>{if(a[t]===o){let l=Math.floor(s/this.paginator.pageSize);this.selection.select(a),this.paginator.pageIndex=l,this.paginator.page.next({pageIndex:l,pageSize:this.paginator.pageSize,length:this.paginator.length})}})}export(){ig(this)}permissions(){this.selection.selected.length&&Xk.launch(this.api,this.rest,this.selection.selected[0])}keyDown(t){switch(t.keyCode){case 36:this.paginator.firstPage(),t.preventDefault();break;case 35:this.paginator.lastPage(),t.preventDefault();break;case 39:this.paginator.nextPage(),t.preventDefault();break;case 37:this.paginator.previousPage(),t.preventDefault();break}}};i.\u0275fac=function(o){return new(o||i)(C(B),C(iA))},i.\u0275cmp=E({type:i,selectors:[["uds-table"]],viewQuery:function(o,r){if(o&1&&(se($W,7),se(Lr,7),se(Vr,7)),o&2){let a;$(a=q())&&(r.contextMenu=a.first),$(a=q())&&(r.paginator=a.first),$(a=q())&&(r.sort=a.first)}},inputs:{rest:"rest",onItem:"onItem",icon:"icon",multiSelect:"multiSelect",allowExport:"allowExport",hasPermissions:"hasPermissions",customButtons:"customButtons",tableId:"tableId",pageSize:"pageSize",newGrouped:"newGrouped",allowCopy:"allowCopy"},outputs:{loaded:"loaded",rowSelected:"rowSelected",newAction:"newAction",editAction:"editAction",deleteAction:"deleteAction",customButtonAction:"customButtonAction",detailAction:"detailAction"},standalone:!1,decls:51,vars:30,consts:[["trigger","matMenuTrigger"],["contextMenu","matMenu"],["newMenu","matMenu"],["sub_menu","matMenu"],["uncheck",""],[1,"card"],[1,"card-header"],[1,"card-title"],[3,"src",4,"ngIf"],[1,"card-subtitle"],[1,"card-content"],[1,"header"],[1,"buttons"],[4,"ngIf"],[1,"navigation"],[1,"filter"],["matInput","",3,"keyup","ngModelChange","ngModel"],["matSuffix","","mat-icon-button","","aria-label","Clear",3,"click",4,"ngIf"],[1,"paginator"],[3,"pageSize","hidePageSize","pageSizeOptions","showFirstLastButtons"],[1,"reload"],["mat-icon-button","",3,"click"],[1,"material-icons"],["tabindex","0",1,"table",3,"keydown"],["matSort","",3,"matSortChange","dataSource"],["matColumnDef","selection-column",4,"ngIf"],["matColumnDef","detail-column"],[4,"matHeaderCellDef"],[4,"matCellDef"],[3,"matColumnDef",4,"ngFor","ngForOf"],[4,"matHeaderRowDef"],[3,"ngClass",4,"matRowDef","matRowDefColumns"],[3,"hidden"],[1,"loading"],["mode","indeterminate"],[1,"footer"],["class","selection",4,"ngIf"],[2,"position","fixed",3,"matMenuTriggerFor"],["matMenuContent",""],[3,"src"],[1,"wide-menu",3,"overlapTrigger"],[4,"ngFor","ngForOf"],["mat-raised-button","","color","primary",3,"matMenuTriggerFor"],[1,"button-text"],["mat-menu-item","",1,"main-button",3,"matMenuTriggerFor"],[3,"overlapTrigger"],["mat-menu-item","",3,"innerHTML","click",4,"ngFor","ngForOf"],["mat-menu-item","",3,"click","innerHTML"],["mat-menu-item","","class","main-button",3,"innerHTML","click",4,"ngFor","ngForOf"],["mat-menu-item","",1,"main-button",3,"click","innerHTML"],["mat-raised-button","","color","primary",1,"main-button",3,"click"],["mat-raised-button","",3,"click","disabled"],["mat-raised-button","",3,"disabled","innerHTML","click",4,"ngFor","ngForOf"],["mat-raised-button","",3,"click","disabled","innerHTML"],["mat-raised-button","",3,"click"],["mat-raised-button","","color","warn",3,"click","disabled"],["matSuffix","","mat-icon-button","","aria-label","Clear",3,"click"],["matColumnDef","selection-column"],[3,"click",4,"matCellDef"],[3,"click"],["class","material-icons check checked",4,"ngIf","ngIfElse"],[1,"material-icons","check","checked"],[1,"material-icons","check"],[1,"detail-launcher",3,"click"],[3,"matColumnDef"],["mat-sort-header","",4,"matHeaderCellDef"],[3,"click","contextmenu",4,"matCellDef"],["mat-sort-header",""],[3,"click","contextmenu"],[3,"innerHtml"],[3,"ngClass"],[1,"selection"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"disabled","innerHTML","click",4,"ngFor","ngForOf"],["mat-menu-item","","class","menu-warn",3,"click",4,"ngIf"],["mat-menu-item","",3,"click"],[1,"material-icons","spaced"],["mat-menu-item","",3,"click","disabled","innerHTML"],["mat-menu-item","",1,"menu-warn",3,"click"]],template:function(o,r){if(o&1){let a=k();c(0,"div",5)(1,"div",6)(2,"div",7),x(3,YW,1,1,"img",8),f(4),d(),c(5,"div",9),f(6),d()(),c(7,"div",10)(8,"div",11)(9,"div",12),x(10,nG,3,2,"ng-container",13)(11,iG,7,1,"ng-container",13)(12,oG,7,1,"ng-container",13)(13,aG,2,1,"ng-container",13)(14,sG,7,0,"ng-container",13)(15,lG,7,1,"ng-container",13),d(),c(16,"div",14)(17,"div",15)(18,"mat-form-field")(19,"mat-label")(20,"uds-translate"),f(21,"Filter"),d()(),c(22,"input",16),b("keyup",function(){return y(a),w(r.applyFilter())}),U("ngModelChange",function(l){return y(a),W(r.filterText,l)||(r.filterText=l),w(l)}),d(),x(23,cG,3,0,"button",17),gt(24,"notEmpty"),d()(),c(25,"div",18),M(26,"mat-paginator",19),d(),c(27,"div",20)(28,"a",21),b("click",function(){return y(a),w(r.overview())}),c(29,"i",22),f(30,"autorenew"),d()()()()(),c(31,"div",23),b("keydown",function(l){return y(a),w(r.keyDown(l))}),c(32,"mat-table",24),b("matSortChange",function(l){return y(a),w(r.sortChanged(l))}),x(33,hG,3,0,"ng-container",25),ut(34,26),x(35,fG,1,0,"mat-header-cell",27)(36,gG,4,0,"mat-cell",28),mt(),x(37,bG,3,1,"ng-container",29)(38,yG,1,0,"mat-header-row",30)(39,wG,1,1,"mat-row",31),d(),c(40,"div",32)(41,"div",33),M(42,"mat-progress-spinner",34),d()()(),c(43,"div",35),f(44," \xA0 "),x(45,CG,4,1,"div",36),d()(),M(46,"div",37,0),c(48,"mat-menu",null,1),x(50,AG,7,7,"ng-template",38),d()()}if(o&2){let a=be(49);u(3),p("ngIf",r.icon!==void 0),u(),O(" ",r.title," "),u(2),O(" ",r.subtitle," "),u(4),p("ngIf",r.newAction.observed),u(),p("ngIf",r.editAction.observed),u(),p("ngIf",r.hasPermissions===!0),u(),p("ngIf",r.hasCustomButtons),u(),p("ngIf",r.allowExport===!0),u(),p("ngIf",r.deleteAction.observed),u(7),z("ngModel",r.filterText),u(),p("ngIf",Ct(24,27,r.filterText)),u(3),p("pageSize",r.pageSize)("hidePageSize",!0)("pageSizeOptions",rl(29,qW))("showFirstLastButtons",!0),u(6),p("dataSource",r.dataSource),u(),p("ngIf",r.hasButtons),u(4),p("ngForOf",r.columns),u(),p("matHeaderRowDef",r.displayedColumns),u(),p("matRowDefColumns",r.displayedColumns),u(),p("hidden",!r.loading),u(5),p("ngIf",r.hasButtons&&r.selection.selected.length>0),u(),zn("left",r.contextMenuPosition.x)("top",r.contextMenuPosition.y),p("matMenuTriggerFor",a)}},dependencies:[Ei,$e,ue,lt,we,xe,xa,kh,Zn,jr,_s,sA,rg,fe,ke,uo,pt,Vf,jf,Wf,zf,Bf,Gf,Uf,Hf,$f,qf,Lr,Vr,Tf,Xf,eg,ae,NM,yn,gA],styles:[".mat-elevation-z0[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z0[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-0, none)}.mat-elevation-z1[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z1[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-1, none)}.mat-elevation-z2[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z2[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-2, none)}.mat-elevation-z3[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z3[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-3, none)}.mat-elevation-z4[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z4[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-4, none)}.mat-elevation-z5[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z5[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-5, none)}.mat-elevation-z6[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z6[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-6, none)}.mat-elevation-z7[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z7[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-7, none)}.mat-elevation-z8[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z8[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-8, none)}.mat-elevation-z9[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z9[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-9, none)}.mat-elevation-z10[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z10[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-10, none)}.mat-elevation-z11[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z11[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-11, none)}.mat-elevation-z12[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z12[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-12, none)}.mat-elevation-z13[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z13[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-13, none)}.mat-elevation-z14[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z14[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-14, none)}.mat-elevation-z15[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z15[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-15, none)}.mat-elevation-z16[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z16[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-16, none)}.mat-elevation-z17[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z17[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-17, none)}.mat-elevation-z18[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z18[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-18, none)}.mat-elevation-z19[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z19[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-19, none)}.mat-elevation-z20[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z20[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-20, none)}.mat-elevation-z21[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z21[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-21, none)}.mat-elevation-z22[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z22[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-22, none)}.mat-elevation-z23[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z23[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-23, none)}.mat-elevation-z24[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z24[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-24, none)}html[_ngcontent-%COMP%]{--mat-sys-on-surface: initial}.mat-app-background[_ngcontent-%COMP%]{background-color:var(--mat-app-background-color, var(--mat-sys-background, transparent));color:var(--mat-app-text-color, var(--mat-sys-on-background, inherit))}.header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;flex-wrap:wrap;margin:1rem 1rem 0rem}.buttons[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;flex-wrap:wrap}.buttons[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{margin-right:1rem;margin-bottom:1rem}.buttons[_ngcontent-%COMP%] .material-icons[_ngcontent-%COMP%]{margin-right:.1rem}.buttons[_ngcontent-%COMP%] .mat-mdc-raised-button[_ngcontent-%COMP%]:hover:not([disabled]){background-color:#fafafa;color:#000}button.mat-mdc-menu-item[_ngcontent-%COMP%]{height:2rem;line-height:2rem}.navigation[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;flex-wrap:wrap}.reload[_ngcontent-%COMP%]{margin-top:.5rem}.table[_ngcontent-%COMP%]{margin:0rem 1rem;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none}.footer[_ngcontent-%COMP%]{margin:1em;display:flex;justify-content:flex-end}mat-cell[_ngcontent-%COMP%]:first-of-type, mat-header-cell[_ngcontent-%COMP%]:first-of-type{padding-left:.5rem}mat-row[_ngcontent-%COMP%]:hover{background-color:#a0b0d0;cursor:pointer}.check[_ngcontent-%COMP%]{margin-left:.5rem;font-size:1.5rem;width:1.5rem}mat-table[_ngcontent-%COMP%]{width:100%;font-weight:300}.mat-column-detail-column[_ngcontent-%COMP%]{max-width:1.5rem;justify-content:center;color:#000!important;padding-right:.5rem}.detail-launcher[_ngcontent-%COMP%]{display:none}.mat-mdc-row[_ngcontent-%COMP%]:hover .detail-launcher[_ngcontent-%COMP%]{display:block}.mat-column-selection-column[_ngcontent-%COMP%]{max-width:2rem;justify-content:center;color:#000!important}.menu-warn[_ngcontent-%COMP%]{color:red}.menu-link[_ngcontent-%COMP%]{color:#00f}.loading[_ngcontent-%COMP%]{margin-top:2rem;margin-bottom:2rem;display:flex;justify-content:center} .mat-mdc-menu-panel{min-height:3rem} .mat-mdc-menu-panel.mat-mdc-menu-panel{max-width:32rem} .mat-mdc-paginator-range-label{min-width:6em}.mat-mdc-menu-item[_ngcontent-%COMP%]{min-height:2.5rem} .dark-theme .mat-mdc-paginator-container{background-color:#303030} .dark-theme .buttons .mat-mdc-raised-button:hover:not([disabled]){background-color:#303030;color:#fff} .dark-theme .mat-column-detail-column{color:#fff!important} .dark-theme .mat-column-selection-column{color:#fff!important} .dark-theme .menu-warn{color:red} .dark-theme .menu-link{color:#00f}.filter[_ngcontent-%COMP%]{display:flex;align-items:center;width:16rem}.filter[_ngcontent-%COMP%] .mat-mdc-form-field-infix{min-height:3rem;padding-top:1rem!important;padding-bottom:1rem!important}.filter[_ngcontent-%COMP%] .mat-mdc-form-field-bottom-align{height:0px}.mat-column-token[_ngcontent-%COMP%]{overflow-wrap:anywhere}"]});let n=i;return n})();var _A='pause'+django.gettext("Maintenance")+"",RG='pause'+django.gettext("Exit maintenance mode")+"",OG='pause'+django.gettext("Enter maintenance mode")+"",pw=(()=>{let i=class i{constructor(t,o,r){this.route=t,this.rest=o,this.api=r,this.cButtons=[{id:"maintenance",html:_A,type:ct.SINGLE_SELECT}]}get customButtons(){return this.api.user.isAdmin?this.cButtons:[]}ngOnInit(){}onNew(t){this.api.gui.forms.typedNewForm(t,django.gettext("New provider"),!0)}onEdit(t){this.api.gui.forms.typedEditForm(t,django.gettext("Edit provider"),!0)}onDelete(t){this.api.gui.forms.deleteForm(t,django.gettext("Delete provider"))}onMaintenance(t){let o=t.table.selection.selected[0],r=o.maintenance_mode?django.gettext("Exit maintenance mode?"):django.gettext("Enter maintenance mode?");this.api.gui.questionDialog(django.gettext("Maintenance mode for")+" "+o.name,r).then(a=>{a&&this.rest.providers.maintenance(o.id).then(()=>{t.table.overview()})})}onRowSelect(t){let o=t.table;if(o.selection.selected.length>1||o.selection.selected.length===0){this.customButtons[0].html=_A;return}o.selection.selected[0].maintenance_mode?this.customButtons[0].html=RG:this.customButtons[0].html=OG}onDetail(t){this.api.navigation.gotoService(t.param.id)}processElement(t){t.maintenance_state=t.maintenance_mode?django.gettext("In Maintenance"):django.gettext("Active")}onLoad(t){t.param===!0&&t.table.selectElement("id",this.route.snapshot.paramMap.get("provider"))}};i.\u0275fac=function(o){return new(o||i)(C(Re),C(Z),C(B))},i.\u0275cmp=E({type:i,selectors:[["uds-providers"]],standalone:!1,decls:1,vars:7,consts:[["tableId","service-providers","icon","providers",3,"customButtonAction","newAction","editAction","deleteAction","rowSelected","detailAction","loaded","rest","onItem","multiSelect","allowExport","hasPermissions","customButtons","pageSize"]],template:function(o,r){o&1&&(c(0,"uds-table",0),b("customButtonAction",function(s){return r.onMaintenance(s)})("newAction",function(s){return r.onNew(s)})("editAction",function(s){return r.onEdit(s)})("deleteAction",function(s){return r.onDelete(s)})("rowSelected",function(s){return r.onRowSelect(s)})("detailAction",function(s){return r.onDetail(s)})("loaded",function(s){return r.onLoad(s)}),d()),o&2&&p("rest",r.rest.providers)("onItem",r.processElement)("multiSelect",!0)("allowExport",!0)("hasPermissions",!0)("customButtons",r.customButtons)("pageSize",r.api.config.admin.page_size)},dependencies:[Ie],styles:[".row-maintenance-true>mat-cell{color:#dc3131!important} .mat-column-services_count, .mat-column-user_services_count{max-width:7rem;justify-content:center} .mat-column-maintenance_state{max-width:10rem;justify-content:center}"]});let n=i;return n})();var po=class{constructor(i,e,t,o){this.title=i,this.data=e,this.columns=t,this.id=o,this.columnsDefinition=Array.from(t,r=>{let a={};return a[r.field]={visible:!0,title:r.title,type:r.type===void 0?_n.ALPHANUMERIC:r.type},a})}get(i){return Promise.resolve({})}getLogs(i){return Promise.resolve([])}overview(i){return typeof this.data=="function"?Promise.resolve(this.data()):Promise.resolve(this.data)}summary(i){return this.overview()}put(i,e){return Promise.resolve()}create(i){return Promise.resolve()}save(i,e){return Promise.resolve()}test(i,e){return Promise.resolve("")}delete(i){return Promise.resolve()}permision(){return Nr.ALL}getPermissions(i){return Promise.resolve([])}addPermission(i,e,t,o){return Promise.resolve({})}revokePermission(i){return Promise.resolve()}types(){return Promise.resolve([])}gui(i){return Promise.resolve({})}callback(i,e){return Promise.resolve([])}tableInfo(){return Promise.resolve({fields:this.columnsDefinition,title:this.title})}detail(i,e){return null}invoke(i,e){return Promise.resolve({})}};var PG=()=>[5,10,25,100,1e3];function FG(n,i){if(n&1){let e=k();c(0,"button",24),b("click",function(){y(e);let o=_();return o.filterText="",w(o.applyFilter())}),c(1,"i",8),f(2,"close"),d()()}}function NG(n,i){if(n&1&&(c(0,"mat-header-cell",28),f(1),d()),n&2){let e=_().$implicit;u(),Ge(e)}}function LG(n,i){if(n&1&&(c(0,"mat-cell"),M(1,"div",29),d()),n&2){let e=i.$implicit,t=_().$implicit,o=_();u(),p("innerHtml",o.getRowColumn(e,t),qt)}}function VG(n,i){if(n&1&&(ut(0,25),x(1,NG,2,1,"mat-header-cell",26)(2,LG,2,1,"mat-cell",27),mt()),n&2){let e=i.$implicit;p("matColumnDef",e)}}function BG(n,i){n&1&&M(0,"mat-header-row")}function jG(n,i){if(n&1&&M(0,"mat-row",30),n&2){let e=i.$implicit,t=_();p("ngClass",t.rowClass(e))}}var Ri=(()=>{let i=class i{constructor(t){this.api=t,this.rest={},this.itemId="",this.tableId="",this.pageSize=10,this.paginator={},this.sort={},this.filterText="",this.title="Logs",this.displayedColumns=["date","level","source","message"],this.columns=[],this.dataSource=new $l([]),this.selection=new Rr}ngOnInit(){this.tableId=this.tableId||this.rest.id,this.dataSource.paginator=this.paginator,this.dataSource.sort=this.sort,this.dataSource.sort.active=this.api.getFromStorage("logs-sort-column")||"date",this.dataSource.sort.direction=this.api.getFromStorage("logs-sort-direction")||"desc";for(let t of this.displayedColumns){let o=t==="date"?_n.DATETIMESEC:_n.ALPHANUMERIC;this.columns.push({name:t,title:t,type:o})}this.filterText=this.api.getFromStorage(this.tableId+"filterValue")||"",this.applyFilter(),this.overview()}overview(){return H(this,null,function*(){this.dataSource.data=yield this.rest.getLogs(this.itemId)})}selectElement(t,o){}getRowColumn(t,o){let r=t[o];return o==="date"?r=qn("SHORT_DATE_FORMAT",r," H:i:s"):o==="level"&&(r=iT(r)),r}rowClass(t){return["level-"+t.level]}applyFilter(){this.api.putOnStorage(this.tableId+"filterValue",this.filterText),this.dataSource.filter=this.filterText.trim().toLowerCase()}sortChanged(t){this.api.putOnStorage("logs-sort-column",t.active),this.api.putOnStorage("logs-sort-direction",t.direction)}export(){ig(this)}keyDown(t){switch(t.keyCode){case 36:this.paginator.firstPage(),t.preventDefault();break;case 35:this.paginator.lastPage(),t.preventDefault();break;case 39:this.paginator.nextPage(),t.preventDefault();break;case 37:this.paginator.previousPage(),t.preventDefault();break}}};i.\u0275fac=function(o){return new(o||i)(C(B))},i.\u0275cmp=E({type:i,selectors:[["uds-logs-table"]],viewQuery:function(o,r){if(o&1&&(se(Lr,7),se(Vr,7)),o&2){let a;$(a=q())&&(r.paginator=a.first),$(a=q())&&(r.sort=a.first)}},inputs:{rest:"rest",itemId:"itemId",tableId:"tableId",pageSize:"pageSize"},standalone:!1,decls:37,vars:14,consts:[[1,"card"],[1,"card-header"],[1,"card-title"],[3,"src"],[1,"card-content"],[1,"header"],[1,"buttons"],["mat-raised-button","",3,"click"],[1,"material-icons"],[1,"button-text"],[1,"navigation"],[1,"filter"],["matInput","",3,"keyup","ngModelChange","ngModel"],["mat-button","","matSuffix","","mat-icon-button","","aria-label","Clear",3,"click",4,"ngIf"],[1,"paginator"],[3,"pageSize","hidePageSize","pageSizeOptions","showFirstLastButtons"],[1,"reload"],["mat-icon-button","",3,"click"],["tabindex","0",1,"table",3,"keydown"],["matSort","",3,"matSortChange","dataSource"],[3,"matColumnDef",4,"ngFor","ngForOf"],[4,"matHeaderRowDef"],[3,"ngClass",4,"matRowDef","matRowDefColumns"],[1,"footer"],["mat-button","","matSuffix","","mat-icon-button","","aria-label","Clear",3,"click"],[3,"matColumnDef"],["mat-sort-header","",4,"matHeaderCellDef"],[4,"matCellDef"],["mat-sort-header",""],[3,"innerHtml"],[3,"ngClass"]],template:function(o,r){o&1&&(c(0,"div",0)(1,"div",1)(2,"div",2),M(3,"img",3),f(4," \xA0"),c(5,"uds-translate"),f(6,"Logs"),d()()(),c(7,"div",4)(8,"div",5)(9,"div",6)(10,"a",7),b("click",function(){return r.export()}),c(11,"i",8),f(12,"import_export"),d(),c(13,"span",9)(14,"uds-translate"),f(15,"Export"),d()()()(),c(16,"div",10)(17,"div",11)(18,"uds-translate"),f(19,"Filter"),d(),f(20,"\xA0 "),c(21,"mat-form-field")(22,"input",12),b("keyup",function(){return r.applyFilter()}),U("ngModelChange",function(s){return W(r.filterText,s)||(r.filterText=s),s}),d(),x(23,FG,3,0,"button",13),gt(24,"notEmpty"),d()(),c(25,"div",14),M(26,"mat-paginator",15),d(),c(27,"div",16)(28,"a",17),b("click",function(){return r.overview()}),c(29,"i",8),f(30,"autorenew"),d()()()()(),c(31,"div",18),b("keydown",function(s){return r.keyDown(s)}),c(32,"mat-table",19),b("matSortChange",function(s){return r.sortChanged(s)}),x(33,VG,3,1,"ng-container",20)(34,BG,1,0,"mat-header-row",21)(35,jG,1,1,"mat-row",22),d()(),M(36,"div",23),d()()),o&2&&(u(3),p("src",r.api.staticURL("admin/img/icons/logs.png"),Se),u(19),z("ngModel",r.filterText),u(),p("ngIf",Ct(24,11,r.filterText)),u(3),p("pageSize",r.pageSize)("hidePageSize",!0)("pageSizeOptions",rl(13,PG))("showFirstLastButtons",!0),u(6),p("dataSource",r.dataSource),u(),p("ngForOf",r.displayedColumns),u(),p("matHeaderRowDef",r.displayedColumns),u(),p("matRowDefColumns",r.displayedColumns))},dependencies:[Ei,$e,ue,lt,we,xe,xa,Te,kh,Zn,fe,uo,pt,Vf,jf,Wf,zf,Bf,Gf,Uf,Hf,$f,qf,Lr,Vr,Tf,ae,yn],styles:[".header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;flex-wrap:wrap;margin:1rem 1rem 0rem}.navigation[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;flex-wrap:wrap}.reload[_ngcontent-%COMP%]{margin-top:.5rem}.table[_ngcontent-%COMP%]{margin:0rem 1rem;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none}.mat-column-date[_ngcontent-%COMP%]{min-width:12rem;max-width:20rem}.mat-column-level[_ngcontent-%COMP%]{max-width:8rem;text-align:center}.mat-column-source[_ngcontent-%COMP%]{max-width:8rem} .level-60000>.mat-mdc-cell{color:#ff1e1e!important} .level-50000>.mat-mdc-cell{color:#ff1e1e!important} .level-40000>.mat-mdc-cell{color:#d65014!important}.filter[_ngcontent-%COMP%]{display:flex;align-items:center;width:16rem}.filter[_ngcontent-%COMP%] .mat-mdc-form-field-infix{min-height:3rem;padding-top:1rem!important;padding-bottom:1rem!important}.filter[_ngcontent-%COMP%] .mat-mdc-form-field-bottom-align{height:0px}"]});let n=i;return n})();function zG(n,i){n&1&&(c(0,"uds-translate"),f(1,"Services pools"),d())}function UG(n,i){n&1&&(c(0,"uds-translate"),f(1,"Logs"),d())}var HG=[{field:"name",title:django.gettext("Pool")},{field:"state",title:django.gettext("State")},{field:"user_services_count",title:django.gettext("User Services")}],vA=(()=>{let i=class i{constructor(t,o,r,a){this.api=t,this.rest=o,this.dialogRef=r,this.customButtons=[Mn.getGotoButton(zd,"id")],this.servicePools={},this.services=a.services,this.service=a.service}static launch(t,o,r){let a=window.innerWidth<800?"80%":"60%",s=t.gui.dialog.open(i,{width:a,position:{top:window.innerWidth<800?"0px":"7rem"},data:{service:r,services:o},disableClose:!1})}ngOnInit(){let t=()=>this.services.invoke(this.service.id+"/servicepools");this.servicePools=new po(django.gettext("Service pools"),t,HG,this.service.id+"infopsls")}};i.\u0275fac=function(o){return new(o||i)(C(B),C(Z),C(Ne),C(Ke))},i.\u0275cmp=E({type:i,selectors:[["uds-service-information"]],standalone:!1,decls:17,vars:8,consts:[["mat-dialog-title",""],["mat-tab-label",""],[3,"rest","customButtons","pageSize"],[1,"content"],[3,"rest","itemId","tableId","pageSize"],["mat-raised-button","","mat-dialog-close","","color","primary"]],template:function(o,r){o&1&&(c(0,"h4",0)(1,"uds-translate"),f(2,"Information for"),d(),f(3),d(),c(4,"mat-dialog-content")(5,"mat-tab-group")(6,"mat-tab"),x(7,zG,2,0,"ng-template",1),M(8,"uds-table",2),d(),c(9,"mat-tab"),x(10,UG,2,0,"ng-template",1),c(11,"div",3),M(12,"uds-logs-table",4),d()()()(),c(13,"mat-dialog-actions")(14,"button",5)(15,"uds-translate"),f(16,"Ok"),d()()()),o&2&&(u(3),O(" ",r.service.name,` +`),u(5),p("rest",r.servicePools)("customButtons",r.customButtons)("pageSize",6),u(4),p("rest",r.services)("itemId",r.service.id)("tableId","serviceInfo-d-log"+r.service.id)("pageSize",5))},dependencies:[Te,Qt,Xe,et,Je,Jt,en,rn,ae,Ie,Ri],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.mat-column-count[_ngcontent-%COMP%], .mat-column-image[_ngcontent-%COMP%], .mat-column-state[_ngcontent-%COMP%]{max-width:7rem;justify-content:center}.navigation[_ngcontent-%COMP%]{margin-top:1rem;display:flex;justify-content:flex-end;flex-wrap:wrap}.reload[_ngcontent-%COMP%]{margin-top:.5rem}"]});let n=i;return n})();function WG(n,i){if(n&1&&(c(0,"div",3),M(1,"div",4)(2,"div",5),d()),n&2){let e=i.$implicit;u(),p("innerHTML",e.gui.label,qt),u(),p("innerHTML",e.value,qt)}}var ho=(()=>{let i=class i{constructor(t){this.api=t,this.gui=[]}ngOnInit(){this.processFields()}processFields(){if(!this.gui||!this.value)return;let t=this.gui.filter(o=>o.gui.type!==Xn.HIDDEN);for(let o of t){let r=this.value[o.name];switch(o.gui.type){case Xn.CHECKBOX:o.value=r?django.gettext("Yes"):django.gettext("No");break;case Xn.PASSWORD:o.value=django.gettext("(hidden)");break;case Xn.CHOICE:{let a=Pd.locateChoice(r,o);o.value=a.text;break}case Xn.MULTI_CHOICE:o.value=django.gettext("Selected items :")+r.length;break;case Xn.IMAGECHOICE:{let a=Pd.locateChoice(r,o);a.img&&(o.value=this.api.safeString(this.api.gui.icon(a.img)+" "+a.text));break}case Xn.INFO:continue;default:o.value=r}(o.value===""||o.value===void 0||o.value===null)&&(o.value="(empty)")}return t}};i.\u0275fac=function(o){return new(o||i)(C(B))},i.\u0275cmp=E({type:i,selectors:[["uds-information"]],inputs:{value:"value",gui:"gui"},standalone:!1,decls:4,vars:1,consts:[[1,"card"],[1,"card-content"],["class","item",4,"ngFor","ngForOf"],[1,"item"],[1,"label",3,"innerHTML"],[1,"value",3,"innerHTML"]],template:function(o,r){o&1&&(c(0,"div",0)(1,"div",1),x(2,WG,3,2,"div",2),d(),M(3,"div"),d()),o&2&&(u(2),p("ngForOf",r.processFields()))},dependencies:[$e],styles:[".card-content[_ngcontent-%COMP%]{padding:1rem;display:flex;flex-direction:column}.item[_ngcontent-%COMP%]{padding-bottom:.5rem;display:flex}.label[_ngcontent-%COMP%]{font-weight:700;width:32rem;overflow-x:hidden;text-overflow:ellipsis;text-align:end;margin-right:1rem;align-self:center}"]});let n=i;return n})();var GG=n=>["/services","providers",n];function $G(n,i){n&1&&(c(0,"uds-translate"),f(1,"Summary"),d())}function qG(n,i){if(n&1&&M(0,"uds-information",15),n&2){let e=_(2);p("value",e.provider)("gui",e.gui)}}function YG(n,i){n&1&&(c(0,"uds-translate"),f(1,"Services"),d())}function QG(n,i){n&1&&(c(0,"uds-translate"),f(1,"Usage"),d())}function KG(n,i){n&1&&(c(0,"uds-translate"),f(1,"Logs"),d())}function ZG(n,i){if(n&1){let e=k();c(0,"div",6)(1,"div",7)(2,"mat-tab-group",8),U("selectedIndexChange",function(o){y(e);let r=_();return W(r.selectedTab,o)||(r.selectedTab=o),w(o)}),c(3,"mat-tab"),x(4,$G,2,0,"ng-template",9),c(5,"div",10),x(6,qG,1,2,"uds-information",11),d()(),c(7,"mat-tab"),x(8,YG,2,0,"ng-template",9),c(9,"div",10)(10,"uds-table",12),b("newAction",function(o){y(e);let r=_();return w(r.onNewService(o))})("editAction",function(o){y(e);let r=_();return w(r.onEditService(o))})("deleteAction",function(o){y(e);let r=_();return w(r.onDeleteService(o))})("customButtonAction",function(o){y(e);let r=_();return w(r.onInformation(o))})("loaded",function(o){y(e);let r=_();return w(r.onLoad(o))}),d()()(),c(11,"mat-tab"),x(12,QG,2,0,"ng-template",9),c(13,"div",10)(14,"uds-table",13),b("deleteAction",function(o){y(e);let r=_();return w(r.onDeleteUsage(o))}),d()()(),c(15,"mat-tab"),x(16,KG,2,0,"ng-template",9),c(17,"div",10),M(18,"uds-logs-table",14),d()()()()()}if(n&2){let e=_();u(2),z("selectedIndex",e.selectedTab),p("@.disabled",!0),u(4),p("ngIf",e.provider&&e.gui),u(4),p("rest",e.services)("multiSelect",!0)("allowExport",!0)("customButtons",e.customButtons)("pageSize",e.api.config.admin.page_size)("tableId","providers-d-services"+e.provider.id),u(4),p("rest",e.usage)("multiSelect",!0)("allowExport",!0)("pageSize",e.api.config.admin.page_size)("tableId","providers-d-usage"+e.provider.id),u(4),p("rest",e.services.parentModel)("itemId",e.provider.id)("tableId","providers-d-log"+e.provider.id)}}var hw=(()=>{let i=class i{constructor(t,o,r){this.route=t,this.rest=o,this.api=r,this.customButtons=[{id:"info",html:'info '+django.gettext("Information")+"",type:ct.ONLY_MENU}],this.provider=null,this.gui=[],this.services={},this.usage={},this.selectedTab=1}ngOnInit(){let t=this.route.snapshot.paramMap.get("provider");t&&(this.services=this.rest.providers.detail(t,"services"),this.usage=this.rest.providers.detail(t,"usage"),this.services.parentModel.get(t).then(o=>{this.provider=o,this.services.parentModel.gui(o.type).then(r=>{this.gui=r})}))}onInformation(t){vA.launch(this.api,this.services,t.table.selection.selected[0])}onNewService(t){let o=django.gettext("New service")+": "+(t.param.name||"");this.api.gui.forms.typedNewForm(t,o,!1)}onEditService(t){let o=django.gettext("Edit service")+": "+(t.table.selection.selected[0].name||"");this.api.gui.forms.typedEditForm(t,o,!1)}onDeleteService(t){this.api.gui.forms.deleteForm(t,django.gettext("Delete service"))}onDeleteUsage(t){this.api.gui.forms.deleteForm(t,django.gettext("Delete user service"))}onLoad(t){if(t.param===!0){let o=this.route.snapshot.paramMap.get("service");if(o!==void 0){this.selectedTab=1;let r=t.table;r.dataSource.data.forEach(a=>{a.id===o&&r.selection.select(a)})}}}};i.\u0275fac=function(o){return new(o||i)(C(Re),C(Z),C(B))},i.\u0275cmp=E({type:i,selectors:[["uds-provider-detail"]],standalone:!1,decls:9,vars:6,consts:[[1,"detail"],[1,"mat-elevation-z4","title"],[3,"routerLink"],[1,"material-icons"],[3,"src"],["class","card",4,"ngIf"],[1,"card"],[1,"card-content"],["backgroundColor","primary",3,"selectedIndexChange","selectedIndex"],["mat-tab-label",""],[1,"content"],[3,"value","gui",4,"ngIf"],["icon","providers",3,"newAction","editAction","deleteAction","customButtonAction","loaded","rest","multiSelect","allowExport","customButtons","pageSize","tableId"],["icon","usage",3,"deleteAction","rest","multiSelect","allowExport","pageSize","tableId"],[3,"rest","itemId","tableId"],[3,"value","gui"]],template:function(o,r){o&1&&(c(0,"div",0)(1,"div",1)(2,"a",2)(3,"i",3),f(4,"arrow_back"),d()(),f(5," \xA0"),M(6,"img",4),f(7),d(),x(8,ZG,19,17,"div",5),d()),o&2&&(u(2),p("routerLink",Un(4,GG,r.services.parentId)),u(4),p("src",r.api.staticURL("admin/img/icons/services.png"),Se),u(),O(" \xA0",r.provider==null?null:r.provider.name," "),u(),p("ngIf",r.provider!==null))},dependencies:[ue,bn,Jt,en,rn,ae,Ie,Ri,ho],encapsulation:2});let n=i;return n})();var fw=(()=>{let i=class i{constructor(t,o,r){this.route=t,this.rest=o,this.api=r}ngOnInit(){}onNew(t){this.api.gui.forms.typedNewForm(t,django.gettext("New server"),!0)}onEdit(t){this.api.gui.forms.typedEditForm(t,django.gettext("Edit server"),!0)}onDelete(t){this.api.gui.forms.deleteForm(t,django.gettext("Delete server"))}onDetail(t){this.api.navigation.gotoServerDetail(t.param.id)}processElement(t){t.maintenance_state=t.maintenance_mode?django.gettext("In Maintenance"):django.gettext("Active")}onLoad(t){t.param===!0&&t.table.selectElement("id",this.route.snapshot.paramMap.get("server"))}};i.\u0275fac=function(o){return new(o||i)(C(Re),C(Z),C(B))},i.\u0275cmp=E({type:i,selectors:[["uds-servers"]],standalone:!1,decls:1,vars:7,consts:[["tableId","server-groups-table","icon","servers",3,"newAction","editAction","deleteAction","detailAction","loaded","rest","onItem","multiSelect","allowExport","hasPermissions","newGrouped","pageSize"]],template:function(o,r){o&1&&(c(0,"uds-table",0),b("newAction",function(s){return r.onNew(s)})("editAction",function(s){return r.onEdit(s)})("deleteAction",function(s){return r.onDelete(s)})("detailAction",function(s){return r.onDetail(s)})("loaded",function(s){return r.onLoad(s)}),d()),o&2&&p("rest",r.rest.serverGroups)("onItem",r.processElement)("multiSelect",!0)("allowExport",!0)("hasPermissions",!0)("newGrouped",!0)("pageSize",r.api.config.admin.page_size)},dependencies:[Ie],encapsulation:2});let n=i;return n})();var bA=(()=>{let i=class i{constructor(t,o,r){this.api=t,this.dialogRef=o,this.data=r,this.filename="",this.contains_header=!0,this.separator=",",this.result=[],this.title="Import CSV",this.help="Select a CSV file to import",r&&(this.title=r.title||this.title,this.help=r.help||this.help)}static launch(t,o){return H(this,null,function*(){let r=window.innerWidth<800?"60%":"40%",a=t.gui.dialog.open(i,{width:r,data:o,disableClose:!1});return new Promise((s,l)=>{a.afterClosed().subscribe(m=>{s({data:a.componentInstance.result})})})})}loadCSV(t){return H(this,null,function*(){let o=t.split(` +`).map(a=>a.trim());if(o.length>=1024)return console.log("Too many lines, do not loaded (max is 1024)"),[];this.contains_header&&(o=o.slice(1));let r=[];for(let a of o){let s=a.split(this.separator);s.length===1&&s[0]===""||r.push(s)}return r})}onFileChange(t){return H(this,null,function*(){let o=t.target.files[0];if(!o)return;this.filename=o.name;let r=new FileReader,a=new Xt;r.onload=l=>{let m=r.result;a.resolve(m)},r.readAsText(o);let s=yield a;this.result=yield this.loadCSV(s)})}};i.\u0275fac=function(o){return new(o||i)(C(B),C(Ne),C(Ke))},i.\u0275cmp=E({type:i,selectors:[["uds-cvsimport"]],standalone:!1,decls:57,vars:8,consts:[["fileUpload",""],["mat-dialog-title",""],[3,"innerHTML"],[1,"content"],[1,"options"],[1,"field"],[3,"valueChange","value"],[3,"value"],["value",","],["value",";"],["value","|"],["value","tab"],[1,"upload"],["type","file","accept",".csv",1,"file-input",3,"change"],["type","text","matInput","","readonly","readonly",3,"ngModelChange","click","ngModel","placeholder","matTooltip"],["mat-raised-button","","mat-dialog-close","","color","primary"],["mat-raised-button","","mat-dialog-close","","color","warn",3,"click"]],template:function(o,r){if(o&1){let a=k();c(0,"h4",1)(1,"uds-translate"),f(2,"CVS Import options for"),d(),f(3,"\xA0"),M(4,"b",2),d(),c(5,"mat-dialog-content")(6,"div",3)(7,"div",4)(8,"div",5)(9,"mat-form-field")(10,"mat-label")(11,"uds-translate"),f(12,"Header"),d()(),c(13,"mat-select",6),U("valueChange",function(l){return y(a),W(r.contains_header,l)||(r.contains_header=l),w(l)}),c(14,"mat-option",7)(15,"uds-translate"),f(16,"CSV contains header line"),d()(),c(17,"mat-option",7)(18,"uds-translate"),f(19,"CSV DOES NOT contains header line"),d()()()()(),c(20,"div",5)(21,"mat-form-field")(22,"mat-label")(23,"uds-translate"),f(24,"Separator"),d()(),c(25,"mat-select",6),U("valueChange",function(l){return y(a),W(r.separator,l)||(r.separator=l),w(l)}),c(26,"mat-option",8)(27,"uds-translate"),f(28,"Use comma"),d(),f(29," (,)"),d(),c(30,"mat-option",9)(31,"uds-translate"),f(32,"Use semicolon"),d(),f(33," (;)"),d(),c(34,"mat-option",10)(35,"uds-translate"),f(36,"Use pipe"),d(),f(37," (|)"),d(),c(38,"mat-option",11)(39,"uds-translate"),f(40,"Use tab"),d(),f(41," (tab)"),d()()()()()(),c(42,"div",12)(43,"mat-form-field")(44,"mat-label")(45,"uds-translate"),f(46,"File"),d()(),c(47,"input",13,0),b("change",function(l){return y(a),w(r.onFileChange(l))}),d(),c(49,"input",14),U("ngModelChange",function(l){return y(a),W(r.filename,l)||(r.filename=l),w(l)}),b("click",function(){y(a);let l=be(48);return w(l.click())}),d()()()(),c(50,"mat-dialog-actions")(51,"button",15)(52,"uds-translate"),f(53,"Ok"),d()(),c(54,"button",16),b("click",function(){return y(a),w(r.filename="")}),c(55,"uds-translate"),f(56,"Cancel"),d()()()}o&2&&(u(4),p("innerHTML",r.title,qt),u(9),z("value",r.contains_header),u(),p("value",!0),u(3),p("value",!1),u(8),z("value",r.separator),u(24),z("ngModel",r.filename),p("placeholder","Click here to select file to import.")("matTooltip",r.help))},dependencies:[lt,we,xe,Te,ar,Qt,Xe,et,Je,fe,ke,pt,vt,nt,ae],styles:[".content[_ngcontent-%COMP%]{margin-top:.5rem;display:flex;flex-wrap:wrap;width:100%}.options[_ngcontent-%COMP%]{width:100%}mat-form-field[_ngcontent-%COMP%]{width:100%!important}.mat-mdc-form-field[_ngcontent-%COMP%]{min-width:100%}.file-input[_ngcontent-%COMP%]{display:none}"]});let n=i;return n})();var XG=n=>["/services","servers",n];function JG(n,i){n&1&&(c(0,"uds-translate"),f(1,"Summary"),d())}function e$(n,i){n&1&&(c(0,"uds-translate"),f(1,"Servers"),d())}function t$(n,i){if(n&1){let e=k();c(0,"div",6)(1,"div",7)(2,"mat-tab-group",8)(3,"mat-tab"),x(4,JG,2,0,"ng-template",9),c(5,"div",10),M(6,"uds-information",11),d()(),c(7,"mat-tab"),x(8,e$,2,0,"ng-template",9),c(9,"div",10)(10,"uds-table",12),b("newAction",function(o){y(e);let r=_();return w(r.onNew(o))})("editAction",function(o){y(e);let r=_();return w(r.onEdit(o))})("rowSelected",function(o){y(e);let r=_();return w(r.onRowSelect(o))})("deleteAction",function(o){y(e);let r=_();return w(r.onDelete(o))})("customButtonAction",function(o){y(e);let r=_();return w(r.customButtonAction(o))})("loaded",function(o){y(e);let r=_();return w(r.onLoad(o))}),d()()()()()()}if(n&2){let e=_();u(2),p("@.disabled",!0),u(4),p("value",e.server)("gui",e.gui),u(4),p("rest",e.servers)("multiSelect",!0)("allowExport",!0)("customButtons",e.customButtons)("pageSize",e.api.config.admin.page_size)("tableId","servers-d-servers"+e.server.id)}}var yA='pause'+django.gettext("Maintenance")+"",n$='pause'+django.gettext("Exit maintenance mode")+"",i$='pause'+django.gettext("Enter maintenance mode")+"",o$='import_export'+django.gettext("Import CSV")+"",wA=(()=>{let i=class i{constructor(t,o,r){this.route=t,this.rest=o,this.api=r,this.cButtons=[{id:"maintenance",html:yA,type:ct.SINGLE_SELECT}],this.server=null,this.gui=[],this.servers={}}get customButtons(){return this.api.user.isAdmin?this.cButtons:[]}ngOnInit(){return H(this,null,function*(){let t=this.route.snapshot.paramMap.get("server");t&&(this.servers=this.rest.serverGroups.detail(t,"servers"),this.server=yield this.servers.parentModel.get(t),this.gui=yield this.servers.parentModel.gui(this.server.type),this.server.type.startsWith("UNMANAGED")&&this.cButtons.push({id:"import-csv",html:o$,type:ct.ALWAYS}))})}onMaintenance(t){let o=t.table.selection.selected[0],r=o.maintenance_mode?django.gettext("Exit maintenance mode?"):django.gettext("Enter maintenance mode?");this.api.gui.questionDialog(django.gettext("Maintenance mode for")+" "+o.name,r).then(a=>{a&&this.servers.get(o.id+"/maintenance").then(()=>{t.table.overview()})})}onImportCSV(t){return H(this,null,function*(){let o=yield bA.launch(this.api,{title:django.gettext("Import Servers"),help:django.gettext('Format of file must be "hostname,ip,mac,...". All fields except hostname are optional. Separator can be configured.')});if(o.data.length==0)return;let r=yield this.servers.put({data:o.data},this.server.id+"/importcsv");r&&r.length>0&&this.api.gui.alert("Errors found importing data: ",r.slice(0,16).join(`
+`)),t.table.overview()})}customButtonAction(t){return H(this,null,function*(){if(t.param.id=="maintenance")return yield this.onMaintenance(t);if(t.param.id=="import-csv")return yield this.onImportCSV(t)})}onNew(t){this.api.gui.forms.typedNewForm(t,django.gettext("New server"),!0)}onEdit(t){this.api.gui.forms.typedEditForm(t,django.gettext("Edit server"),!0)}onDelete(t){this.api.gui.forms.deleteForm(t,django.gettext("Remove server from server group"),"hostname")}onRowSelect(t){let o=t.table;if(o.selection.selected.length>1||o.selection.selected.length===0){this.customButtons[0].html=yA;return}o.selection.selected[0].maintenance_mode?this.customButtons[0].html=n$:this.customButtons[0].html=i$}onLoad(t){if(t.param===!0){let o=this.route.snapshot.paramMap.get("server");if(o!==void 0){let r=t.table;r.dataSource.data.forEach(a=>{a.id===o&&r.selection.select(a)})}}}};i.\u0275fac=function(o){return new(o||i)(C(Re),C(Z),C(B))},i.\u0275cmp=E({type:i,selectors:[["uds-server-detail"]],standalone:!1,decls:9,vars:6,consts:[[1,"detail"],[1,"mat-elevation-z4","title"],[3,"routerLink"],[1,"material-icons"],[3,"src"],["class","card",4,"ngIf"],[1,"card"],[1,"card-content"],["backgroundColor","primary","selectedIndex","1"],["mat-tab-label",""],[1,"content"],[3,"value","gui"],["icon","servers",3,"newAction","editAction","rowSelected","deleteAction","customButtonAction","loaded","rest","multiSelect","allowExport","customButtons","pageSize","tableId"]],template:function(o,r){o&1&&(c(0,"div",0)(1,"div",1)(2,"a",2)(3,"i",3),f(4,"arrow_back"),d()(),f(5," \xA0"),M(6,"img",4),f(7),d(),x(8,t$,11,9,"div",5),d()),o&2&&(u(2),p("routerLink",Un(4,XG,r.servers.parentId)),u(4),p("src",r.api.staticURL("admin/img/icons/servers.png"),Se),u(),O(" \xA0",r.server==null?null:r.server.name," "),u(),p("ngIf",r.server!==null))},dependencies:[ue,bn,Jt,en,rn,ae,Ie,ho],styles:[".row-maintenance-true>mat-cell{color:orange!important}"]});let n=i;return n})();var gw=(()=>{let i=class i{constructor(t,o,r){this.api=t,this.route=o,this.rest=r}ngOnInit(){return H(this,null,function*(){let t=this.route.snapshot.paramMap.get("authenticator")})}onDetail(t){return H(this,null,function*(){this.api.navigation.gotoAuthenticatorDetail(t.param.id)})}onNew(t){return H(this,null,function*(){this.api.gui.forms.typedNewForm(t,django.gettext("New Authenticator"),!0)})}onEdit(t){return H(this,null,function*(){this.api.gui.forms.typedEditForm(t,django.gettext("Edit Authenticator"),!0)})}onDelete(t){return H(this,null,function*(){this.api.gui.forms.deleteForm(t,django.gettext("Delete Authenticator"))})}onLoad(t){return H(this,null,function*(){t.param===!0&&t.table.selectElement("id",this.route.snapshot.paramMap.get("authenticator"))})}processElement(t){t.visible=this.api.boolAsHumanString(t.visible)}};i.\u0275fac=function(o){return new(o||i)(C(B),C(Re),C(Z))},i.\u0275cmp=E({type:i,selectors:[["uds-authenticators"]],standalone:!1,decls:2,vars:6,consts:[["icon","authenticators",3,"newAction","editAction","deleteAction","detailAction","loaded","rest","multiSelect","allowExport","hasPermissions","onItem","pageSize"]],template:function(o,r){o&1&&(c(0,"div")(1,"uds-table",0),b("newAction",function(s){return r.onNew(s)})("editAction",function(s){return r.onEdit(s)})("deleteAction",function(s){return r.onDelete(s)})("detailAction",function(s){return r.onDetail(s)})("loaded",function(s){return r.onLoad(s)}),d()()),o&2&&(u(),p("rest",r.rest.authenticators)("multiSelect",!0)("allowExport",!0)("hasPermissions",!0)("onItem",r.processElement)("pageSize",r.api.config.admin.page_size))},dependencies:[Ie],encapsulation:2});let n=i;return n})();var _w=(()=>{let i=class i{constructor(t,o,r){this.api=t,this.route=o,this.rest=r}ngOnInit(){let t=this.route.snapshot.paramMap.get("mfa")}onNew(t){this.api.gui.forms.typedNewForm(t,django.gettext("New MFA"))}onEdit(t){this.api.gui.forms.typedEditForm(t,django.gettext("Edit MFA"))}onDelete(t){this.api.gui.forms.deleteForm(t,django.gettext("Delete MFA"))}onLoad(t){t.param===!0&&t.table.selectElement("id",this.route.snapshot.paramMap.get("mfa"))}};i.\u0275fac=function(o){return new(o||i)(C(B),C(Re),C(Z))},i.\u0275cmp=E({type:i,selectors:[["uds-mfas"]],standalone:!1,decls:2,vars:5,consts:[["icon","mfas",3,"newAction","editAction","deleteAction","loaded","rest","multiSelect","allowExport","hasPermissions","pageSize"]],template:function(o,r){o&1&&(c(0,"div")(1,"uds-table",0),b("newAction",function(s){return r.onNew(s)})("editAction",function(s){return r.onEdit(s)})("deleteAction",function(s){return r.onDelete(s)})("loaded",function(s){return r.onLoad(s)}),d()()),o&2&&(u(),p("rest",r.rest.mfas)("multiSelect",!0)("allowExport",!0)("hasPermissions",!0)("pageSize",r.api.config.admin.page_size))},dependencies:[Ie],encapsulation:2});let n=i;return n})();var r$=["panel"],a$=["*"];function s$(n,i){if(n&1){let e=k();c(0,"div",1,0),b("@panelAnimation.done",function(o){y(e);let r=_();return w(r._animationDone.next(o))}),re(2),d()}if(n&2){let e=i.id,t=_();Yt(t._classList),ne("mat-mdc-autocomplete-visible",t.showPanel)("mat-mdc-autocomplete-hidden",!t.showPanel)("mat-primary",t._color==="primary")("mat-accent",t._color==="accent")("mat-warn",t._color==="warn"),p("id",t.id)("@panelAnimation",t.isOpen?"visible":"hidden"),ee("aria-label",t.ariaLabel||null)("aria-labelledby",t._getPanelAriaLabelledby(e))}}var l$=mn("panelAnimation",[Ft("void, hidden",Me({opacity:0,transform:"scaleY(0.8)"})),xt(":enter, hidden => visible",[z1([It("0.03s linear",Me({opacity:1})),It("0.12s cubic-bezier(0, 0, 0.2, 1)",Me({transform:"scaleY(1)"}))])]),xt(":leave, visible => hidden",[It("0.075s linear",Me({opacity:0}))])]),vw=class{source;option;constructor(i,e){this.source=i,this.option=e}},CA=new R("mat-autocomplete-default-options",{providedIn:"root",factory:c$});function c$(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1}}var Yl=(()=>{class n{_changeDetectorRef=h(Ee);_elementRef=h(Q);_defaults=h(CA);_activeOptionChanges=ge.EMPTY;_animationDone=new T;_keyManager;showPanel=!1;get isOpen(){return this._isOpen&&this.showPanel}_isOpen=!1;_latestOpeningTrigger;_setColor(e){this._color=e,this._changeDetectorRef.markForCheck()}_color;template;panel;options;optionGroups;ariaLabel;ariaLabelledby;displayWith=null;autoActiveFirstOption;autoSelectActiveOption;requireSelection;panelWidth;disableRipple;optionSelected=new T;opened=new T;closed=new T;optionActivated=new T;set classList(e){this._classList=e,this._elementRef.nativeElement.className=""}_classList;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._syncParentProperties()}_hideSingleSelectionIndicator;_syncParentProperties(){if(this.options)for(let e of this.options)e._changeDetectorRef.markForCheck()}id=h(ft).getId("mat-autocomplete-");inertGroups;constructor(){let e=h(rt);this.inertGroups=e?.SAFARI||!1,this.autoActiveFirstOption=!!this._defaults.autoActiveFirstOption,this.autoSelectActiveOption=!!this._defaults.autoSelectActiveOption,this.requireSelection=!!this._defaults.requireSelection,this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}ngAfterContentInit(){this._keyManager=new kl(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(e=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[e]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe(),this._animationDone.complete()}_setScrollTop(e){this.panel&&(this.panel.nativeElement.scrollTop=e)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._changeDetectorRef.markForCheck()}_emitSelectEvent(e){let t=new vw(this,e);this.optionSelected.emit(t)}_getPanelAriaLabelledby(e){if(this.ariaLabel)return null;let t=e?e+" ":"";return this.ariaLabelledby?t+this.ariaLabelledby:e}_skipPredicate(){return!1}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["mat-autocomplete"]],contentQueries:function(t,o,r){if(t&1&&(He(r,nt,5),He(r,kd,5)),t&2){let a;$(a=q())&&(o.options=a),$(a=q())&&(o.optionGroups=a)}},viewQuery:function(t,o){if(t&1&&(se(wt,7),se(r$,5)),t&2){let r;$(r=q())&&(o.template=r.first),$(r=q())&&(o.panel=r.first)}},hostAttrs:[1,"mat-mdc-autocomplete"],inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:[2,"autoActiveFirstOption","autoActiveFirstOption",G],autoSelectActiveOption:[2,"autoSelectActiveOption","autoSelectActiveOption",G],requireSelection:[2,"requireSelection","requireSelection",G],panelWidth:"panelWidth",disableRipple:[2,"disableRipple","disableRipple",G],classList:[0,"class","classList"],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",G]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},exportAs:["matAutocomplete"],features:[ye([{provide:Td,useExisting:n}]),ce],ngContentSelectors:a$,decls:1,vars:0,consts:[["panel",""],["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id"]],template:function(t,o){t&1&&(We(),x(0,s$,3,16,"ng-template"))},styles:["div.mat-mdc-autocomplete-panel{width:100%;max-height:256px;visibility:hidden;transform-origin:center top;overflow:auto;padding:8px 0;box-sizing:border-box;position:static;border-radius:var(--mat-autocomplete-container-shape, var(--mat-sys-corner-extra-small));box-shadow:var(--mat-autocomplete-container-elevation-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));background-color:var(--mat-autocomplete-background-color, var(--mat-sys-surface-container))}@media(forced-colors: active){div.mat-mdc-autocomplete-panel{outline:solid 1px}}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) div.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above div.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden;pointer-events:none}mat-autocomplete{display:none}"],encapsulation:2,data:{animation:[l$]},changeDetection:0})}return n})();var d$={provide:bi,useExisting:ln(()=>bs),multi:!0};var xA=new R("mat-autocomplete-scroll-strategy",{providedIn:"root",factory:()=>{let n=h(Lt);return()=>n.scrollStrategies.reposition()}});function u$(n){return()=>n.scrollStrategies.reposition()}var m$={provide:xA,deps:[Lt],useFactory:u$},bs=(()=>{class n{_element=h(Q);_overlay=h(Lt);_viewContainerRef=h(kt);_zone=h(te);_changeDetectorRef=h(Ee);_dir=h(jt,{optional:!0});_formField=h(Ro,{optional:!0,host:!0});_document=h(de);_viewportRuler=h(Ii);_defaults=h(CA,{optional:!0});_overlayRef;_portal;_componentDestroyed=!1;_scrollStrategy=h(xA);_keydownSubscription;_outsideClickSubscription;_previousValue;_valueOnAttach;_valueOnLastKeydown;_positionStrategy;_manuallyFloatingLabel=!1;_closingActionsSubscription;_viewportSubscription=ge.EMPTY;_breakpointObserver=h(Il);_handsetLandscapeSubscription=ge.EMPTY;_canOpenOnNextFocus=!0;_valueBeforeAutoSelection;_pendingAutoselectedOption;_closeKeyEventStream=new j;_windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen};_onChange=()=>{};_onTouched=()=>{};autocomplete;position="auto";connectedTo;autocompleteAttribute="off";autocompleteDisabled;_initialized=new j;_injector=h(Ae);constructor(){}_aboveClass="mat-mdc-autocomplete-panel-above";ngAfterViewInit(){this._initialized.next(),this._initialized.complete();let e=this._getWindow();typeof e<"u"&&this._zone.runOutsideAngular(()=>e.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(e){e.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){let e=this._getWindow();typeof e<"u"&&e.removeEventListener("blur",this._windowBlurHandler),this._handsetLandscapeSubscription.unsubscribe(),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete(),this._clearFromModal()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}_overlayAttached=!1;openPanel(){this._openPanelInternal()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._latestOpeningTrigger===this&&(this.autocomplete._isOpen=!1,this.autocomplete._latestOpeningTrigger=null),this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._updatePanelState(),this._componentDestroyed||this._changeDetectorRef.detectChanges(),this._trackedModal&&_a(this._trackedModal,"aria-owns",this.autocomplete.id))}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return yt(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(je(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(je(()=>this._overlayAttached)):ie()).pipe(le(e=>e instanceof Md?e:null))}optionSelections=Xi(()=>{let e=this.autocomplete?this.autocomplete.options:null;return e?e.changes.pipe(Et(e),Tt(()=>yt(...e.map(t=>t.onSelectionChange)))):this._initialized.pipe(Tt(()=>this.optionSelections))});get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return yt(mi(this._document,"click"),mi(this._document,"auxclick"),mi(this._document,"touchend")).pipe(je(e=>{let t=gi(e),o=this._formField?this._formField.getConnectedOverlayOrigin().nativeElement:null,r=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&t!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!o||!o.contains(t))&&(!r||!r.contains(t))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(t)}))}writeValue(e){Promise.resolve(null).then(()=>this._assignOptionValue(e))}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this._element.nativeElement.disabled=e}_handleKeydown(e){let t=e.keyCode,o=Ot(e);if(t===27&&!o&&e.preventDefault(),this._valueOnLastKeydown=this._element.nativeElement.value,this.activeOption&&t===13&&this.panelOpen&&!o)this.activeOption._selectViaInteraction(),this._resetActiveItem(),e.preventDefault();else if(this.autocomplete){let r=this.autocomplete._keyManager.activeItem,a=t===38||t===40;t===9||a&&!o&&this.panelOpen?this.autocomplete._keyManager.onKeydown(e):a&&this._canOpen()&&this._openPanelInternal(this._valueOnLastKeydown),(a||this.autocomplete._keyManager.activeItem!==r)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._valueOnLastKeydown),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(e){let t=e.target,o=t.value;if(t.type==="number"&&(o=o==""?null:parseFloat(o)),this._previousValue!==o){if(this._previousValue=o,this._pendingAutoselectedOption=null,(!this.autocomplete||!this.autocomplete.requireSelection)&&this._onChange(o),!o)this._clearPreviousSelectedOption(null,!1);else if(this.panelOpen&&!this.autocomplete.requireSelection){let r=this.autocomplete.options?.find(a=>a.selected);if(r){let a=this._getDisplayValue(r.value);o!==a&&r.deselect(!1)}}if(this._canOpen()&&this._document.activeElement===e.target){let r=this._valueOnLastKeydown??this._element.nativeElement.value;this._valueOnLastKeydown=null,this._openPanelInternal(r)}}}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(this._previousValue),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this._openPanelInternal()}_floatLabel(e=!1){this._formField&&this._formField.floatLabel==="auto"&&(e?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){let e=new Fe(o=>{nn(()=>{o.next()},{injector:this._injector})}),t=this.autocomplete.options.changes.pipe(Ht(()=>this._positionStrategy.reapplyLastPosition()),Yr(0));return yt(e,t).pipe(Tt(()=>this._zone.run(()=>{let o=this.panelOpen;return this._resetActiveItem(),this._updatePanelState(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),o!==this.panelOpen&&(this.panelOpen?this._emitOpened():this.autocomplete.closed.emit()),this.panelClosingActions})),Rt(1)).subscribe(o=>this._setValueAndClose(o))}_emitOpened(){this.autocomplete.opened.emit()}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_getDisplayValue(e){let t=this.autocomplete;return t&&t.displayWith?t.displayWith(e):e}_assignOptionValue(e){let t=this._getDisplayValue(e);e==null&&this._clearPreviousSelectedOption(null,!1),this._updateNativeInputValue(t??"")}_updateNativeInputValue(e){this._formField?this._formField._control.value=e:this._element.nativeElement.value=e,this._previousValue=e}_setValueAndClose(e){let t=this.autocomplete,o=e?e.source:this._pendingAutoselectedOption;o?(this._clearPreviousSelectedOption(o),this._assignOptionValue(o.value),this._onChange(o.value),t._emitSelectEvent(o),this._element.nativeElement.focus()):t.requireSelection&&this._element.nativeElement.value!==this._valueOnAttach&&(this._clearPreviousSelectedOption(null),this._assignOptionValue(null),t._animationDone?t._animationDone.pipe(Rt(1)).subscribe(()=>this._onChange(null)):this._onChange(null)),this.closePanel()}_clearPreviousSelectedOption(e,t){this.autocomplete?.options?.forEach(o=>{o!==e&&o.selected&&o.deselect(t)})}_openPanelInternal(e=this._element.nativeElement.value){if(this._attachOverlay(e),this._floatLabel(),this._trackedModal){let t=this.autocomplete.id;Ol(this._trackedModal,"aria-owns",t)}}_attachOverlay(e){this.autocomplete;let t=this._overlayRef;t?(this._positionStrategy.setOrigin(this._getConnectedElement()),t.updateSize({width:this._getPanelWidth()})):(this._portal=new On(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),t=this._overlay.create(this._getOverlayConfig()),this._overlayRef=t,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&t&&t.updateSize({width:this._getPanelWidth()})}),this._handsetLandscapeSubscription=this._breakpointObserver.observe(rh.HandsetLandscape).subscribe(r=>{r.matches?this._positionStrategy.withFlexibleDimensions(!0).withGrowAfterOpen(!0).withViewportMargin(8):this._positionStrategy.withFlexibleDimensions(!1).withGrowAfterOpen(!1).withViewportMargin(0)})),t&&!t.hasAttached()&&(t.attach(this._portal),this._valueOnAttach=e,this._valueOnLastKeydown=null,this._closingActionsSubscription=this._subscribeToClosingActions());let o=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._latestOpeningTrigger=this,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this._applyModalPanelOwnership(),this.panelOpen&&o!==this.panelOpen&&this._emitOpened()}_handlePanelKeydown=e=>{(e.keyCode===27&&!Ot(e)||e.keyCode===38&&Ot(e,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),e.stopPropagation(),e.preventDefault())};_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){let e=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=e.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=e.outsidePointerEvents().subscribe())}else this._keydownSubscription?.unsubscribe(),this._outsideClickSubscription?.unsubscribe(),this._keydownSubscription=this._outsideClickSubscription=null}_getOverlayConfig(){return new ki({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){let e=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(e),this._positionStrategy=e,e}_setStrategyPositions(e){let t=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],o=this._aboveClass,r=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:o},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:o}],a;this.position==="above"?a=r:this.position==="below"?a=t:a=[...t,...r],e.withPositions(a)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){let e=this.autocomplete;if(e.autoActiveFirstOption){let t=-1;for(let o=0;o .cdk-overlay-container [aria-modal="true"]');if(!e)return;let t=this.autocomplete.id;this._trackedModal&&_a(this._trackedModal,"aria-owns",t),Ol(e,"aria-owns",t),this._trackedModal=e}_clearFromModal(){if(this._trackedModal){let e=this.autocomplete.id;_a(this._trackedModal,"aria-owns",e),this._trackedModal=null}}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(t,o){t&1&&b("focusin",function(){return o._handleFocus()})("blur",function(){return o._onTouched()})("input",function(a){return o._handleInput(a)})("keydown",function(a){return o._handleKeydown(a)})("click",function(){return o._handleClick()}),t&2&&ee("autocomplete",o.autocompleteAttribute)("role",o.autocompleteDisabled?null:"combobox")("aria-autocomplete",o.autocompleteDisabled?null:"list")("aria-activedescendant",o.panelOpen&&o.activeOption?o.activeOption.id:null)("aria-expanded",o.autocompleteDisabled?null:o.panelOpen.toString())("aria-controls",o.autocompleteDisabled||!o.panelOpen||o.autocomplete==null?null:o.autocomplete.id)("aria-haspopup",o.autocompleteDisabled?null:"listbox")},inputs:{autocomplete:[0,"matAutocomplete","autocomplete"],position:[0,"matAutocompletePosition","position"],connectedTo:[0,"matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:[0,"autocomplete","autocompleteAttribute"],autocompleteDisabled:[2,"matAutocompleteDisabled","autocompleteDisabled",G]},exportAs:["matAutocompleteTrigger"],features:[ye([d$]),ce,Ze]})}return n})(),DA=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({providers:[m$],imports:[ci,Ll,me,ro,Ll,me]})}return n})();function p$(n,i){if(n&1&&(c(0,"div")(1,"uds-translate"),f(2,"Edit user"),d(),f(3),d()),n&2){let e=_();u(3),O(" ",e.user.name," ")}}function h$(n,i){n&1&&(c(0,"uds-translate"),f(1,"New user"),d())}function f$(n,i){if(n&1){let e=k();c(0,"mat-form-field")(1,"mat-label"),f(2),d(),c(3,"input",19),U("ngModelChange",function(o){y(e);let r=_();return W(r.user.name,o)||(r.user.name=o),w(o)}),d()()}if(n&2){let e=_();u(2),O(" ",e.authenticator.type_info.label_username," "),u(),z("ngModel",e.user.name),p("disabled",e.user.id)}}function g$(n,i){if(n&1&&(c(0,"mat-option",21),f(1),d()),n&2){let e=i.$implicit;p("value",e.id),u(),Er(" ",e.id," (",e.name,") ")}}function _$(n,i){if(n&1){let e=k();c(0,"mat-form-field")(1,"mat-label"),f(2),d(),c(3,"input",20),U("ngModelChange",function(o){y(e);let r=_();return W(r.user.name,o)||(r.user.name=o),w(o)}),b("input",function(o){y(e);let r=_();return w(r.filterUser(o))}),d(),c(4,"mat-autocomplete",null,1),x(6,g$,2,3,"mat-option",16),d()()}if(n&2){let e=be(5),t=_();u(2),O(" ",t.authenticator.type_info.label_username," "),u(),z("ngModel",t.user.name),p("matAutocomplete",e),u(3),p("ngForOf",t.users)}}function v$(n,i){if(n&1){let e=k();c(0,"mat-form-field")(1,"mat-label"),f(2),d(),c(3,"input",22),U("ngModelChange",function(o){y(e);let r=_();return W(r.user.password,o)||(r.user.password=o),w(o)}),d()()}if(n&2){let e=_();u(2),O(" ",e.authenticator.type_info.label_password," "),u(),z("ngModel",e.user.password)}}function b$(n,i){if(n&1){let e=k();c(0,"mat-form-field")(1,"mat-label")(2,"uds-translate"),f(3,"MFA"),d()(),c(4,"input",23),U("ngModelChange",function(o){y(e);let r=_();return W(r.user.mfa_data,o)||(r.user.mfa_data=o),w(o)}),d()()}if(n&2){let e=_();u(4),z("ngModel",e.user.mfa_data)}}function y$(n,i){if(n&1&&(c(0,"mat-option",21),f(1),d()),n&2){let e=i.$implicit;p("value",e.id),u(),O(" ",e.name," ")}}var yw=(()=>{let i=class i{constructor(t,o,r,a){this.api=t,this.rest=o,this.dialogRef=r,this.groups=[],this.onSave=new T(!0),this.users=[],this.authenticator=a.authenticator,this.user={id:void 0,name:"",real_name:"",comments:"",state:"A",is_admin:!1,staff_member:!1,password:"",role:"user",mfa:"",groups:[]},a.user!==void 0&&(this.user.id=a.user.id,this.user.name=a.user.name)}static launch(t,o,r){let a=window.innerWidth<800?"60%":"40%";return t.gui.dialog.open(i,{width:a,position:{top:window.innerWidth<800?"0px":"7rem"},data:{authenticator:o,user:r},disableClose:!1}).componentInstance.onSave}ngOnInit(){this.rest.authenticators.detail(this.authenticator.id,"groups").overview().then(t=>{this.groups=t}),this.user.id&&this.rest.authenticators.detail(this.authenticator.id,"users").get(this.user.id).then(t=>{this.user=t,this.user.role=t.is_admin?"admin":t.staff_member?"staff":"user"},t=>{this.dialogRef.close()})}roleChanged(t){this.user.is_admin=t==="admin",this.user.staff_member=t==="admin"||t==="staff"}filterUser(t){let o=t.target.value;this.rest.authenticators.search(this.authenticator.id,"user",o,100).then(r=>{this.users.length=0,r.forEach(a=>{this.users.push(a)})})}save(){this.rest.authenticators.detail(this.authenticator.id,"users").save(this.user).then(t=>{this.dialogRef.close(),this.onSave.emit(!0)})}};i.\u0275fac=function(o){return new(o||i)(C(B),C(Z),C(Ne),C(Ke))},i.\u0275cmp=E({type:i,selectors:[["uds-new-user"]],standalone:!1,decls:58,vars:12,consts:[["nousertitle",""],["auto","matAutocomplete"],["mat-dialog-title",""],[4,"ngIf","ngIfElse"],[1,"content"],[4,"ngIf"],["type","text","matInput","","autocomplete","new-real_name",3,"ngModelChange","ngModel"],["type","text","matInput","","autocomplete","new-comments",3,"ngModelChange","ngModel"],[3,"ngModelChange","ngModel"],["value","A"],["value","I"],[3,"ngModelChange","valueChange","ngModel"],["value","admin"],["value","staff"],["value","user"],["multiple","",3,"ngModelChange","ngModel"],[3,"value",4,"ngFor","ngForOf"],["mat-raised-button","","mat-dialog-close","","color","warn"],["mat-raised-button","","color","primary",3,"click"],["type","text","matInput","","autocomplete","new-username",3,"ngModelChange","ngModel","disabled"],["type","text","aria-label","Number","matInput","",3,"ngModelChange","input","ngModel","matAutocomplete"],[3,"value"],["type","password","matInput","","autocomplete","new-password",3,"ngModelChange","ngModel"],["type","text","matInput","",3,"ngModelChange","ngModel"]],template:function(o,r){if(o&1){let a=k();c(0,"h4",2),x(1,p$,4,1,"div",3)(2,h$,2,0,"ng-template",null,0,gn),d(),c(4,"mat-dialog-content")(5,"div",4),x(6,f$,4,3,"mat-form-field",5)(7,_$,7,4,"mat-form-field",5),c(8,"mat-form-field")(9,"mat-label")(10,"uds-translate"),f(11,"Real name"),d()(),c(12,"input",6),U("ngModelChange",function(l){return y(a),W(r.user.real_name,l)||(r.user.real_name=l),w(l)}),d()(),c(13,"mat-form-field")(14,"mat-label")(15,"uds-translate"),f(16,"Comments"),d()(),c(17,"input",7),U("ngModelChange",function(l){return y(a),W(r.user.comments,l)||(r.user.comments=l),w(l)}),d()(),c(18,"mat-form-field")(19,"mat-label")(20,"uds-translate"),f(21,"State"),d()(),c(22,"mat-select",8),U("ngModelChange",function(l){return y(a),W(r.user.state,l)||(r.user.state=l),w(l)}),c(23,"mat-option",9)(24,"uds-translate"),f(25,"Enabled"),d()(),c(26,"mat-option",10)(27,"uds-translate"),f(28,"Disabled"),d()()()(),c(29,"mat-form-field")(30,"mat-label")(31,"uds-translate"),f(32,"Role"),d()(),c(33,"mat-select",11),U("ngModelChange",function(l){return y(a),W(r.user.role,l)||(r.user.role=l),w(l)}),b("valueChange",function(l){return y(a),w(r.roleChanged(l))}),c(34,"mat-option",12)(35,"uds-translate"),f(36,"Admin"),d()(),c(37,"mat-option",13)(38,"uds-translate"),f(39,"Staff member"),d()(),c(40,"mat-option",14)(41,"uds-translate"),f(42,"User"),d()()()(),x(43,v$,4,2,"mat-form-field",5)(44,b$,5,1,"mat-form-field",5),c(45,"mat-form-field")(46,"mat-label")(47,"uds-translate"),f(48,"Groups"),d()(),c(49,"mat-select",15),U("ngModelChange",function(l){return y(a),W(r.user.groups,l)||(r.user.groups=l),w(l)}),x(50,y$,2,2,"mat-option",16),d()()()(),c(51,"mat-dialog-actions")(52,"button",17)(53,"uds-translate"),f(54,"Cancel"),d()(),c(55,"button",18),b("click",function(){return y(a),w(r.save())}),c(56,"uds-translate"),f(57,"Ok"),d()()()}if(o&2){let a=be(3);u(),p("ngIf",r.user.id)("ngIfElse",a),u(5),p("ngIf",r.authenticator.type_info.search_users_supported===!1||r.user.id),u(),p("ngIf",r.authenticator.type_info.search_users_supported===!0&&!r.user.id),u(5),z("ngModel",r.user.real_name),u(5),z("ngModel",r.user.comments),u(5),z("ngModel",r.user.state),u(11),z("ngModel",r.user.role),u(10),p("ngIf",r.authenticator.type_info.needs_password),u(),p("ngIf",!r.authenticator.type_info.is_external),u(5),z("ngModel",r.user.groups),u(),p("ngForOf",r.groups)}},dependencies:[$e,ue,lt,we,xe,Te,Qt,Xe,et,Je,fe,ke,pt,vt,nt,Yl,bs,ae],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:100%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}"]});let n=i;return n})();function w$(n,i){if(n&1&&(c(0,"div")(1,"uds-translate"),f(2,"Edit group"),d(),f(3),d()),n&2){let e=_();u(3),O(" ",e.group.name," ")}}function C$(n,i){n&1&&(c(0,"uds-translate"),f(1,"New group"),d())}function x$(n,i){if(n&1){let e=k();c(0,"mat-form-field")(1,"mat-label"),f(2),d(),c(3,"input",14),U("ngModelChange",function(o){y(e);let r=_(2);return W(r.group.name,o)||(r.group.name=o),w(o)}),d()()}if(n&2){let e=_(2);u(2),O(" ",e.authenticator.type_info.label_groupname," "),u(),z("ngModel",e.group.name),p("disabled",e.group.id)}}function D$(n,i){if(n&1&&(c(0,"mat-option",17),f(1),d()),n&2){let e=i.$implicit;p("value",e.id),u(),Er(" ",e.id," (",e.name,") ")}}function S$(n,i){if(n&1){let e=k();c(0,"mat-form-field")(1,"mat-label"),f(2),d(),c(3,"input",15),U("ngModelChange",function(o){y(e);let r=_(2);return W(r.group.name,o)||(r.group.name=o),w(o)}),b("input",function(o){y(e);let r=_(2);return w(r.filterGroup(o))}),d(),c(4,"mat-autocomplete",null,3),x(6,D$,2,3,"mat-option",16),d()()}if(n&2){let e=be(5),t=_(2);u(2),O(" ",t.authenticator.type_info.label_groupname," "),u(),z("ngModel",t.group.name),p("matAutocomplete",e),u(3),p("ngForOf",t.fltrGroup)}}function E$(n,i){if(n&1&&(ut(0),x(1,x$,4,3,"mat-form-field",13)(2,S$,7,4,"mat-form-field",13),mt()),n&2){let e=_();u(),p("ngIf",e.authenticator.type_info.search_groups_supported===!1||e.group.id),u(),p("ngIf",e.authenticator.type_info.search_groups_supported===!0&&!e.group.id)}}function M$(n,i){if(n&1){let e=k();c(0,"mat-form-field")(1,"mat-label")(2,"uds-translate"),f(3,"Meta group name"),d()(),c(4,"input",14),U("ngModelChange",function(o){y(e);let r=_();return W(r.group.name,o)||(r.group.name=o),w(o)}),d()()}if(n&2){let e=_();u(4),z("ngModel",e.group.name),p("disabled",e.group.id)}}function I$(n,i){if(n&1&&(c(0,"mat-option",17),f(1),d()),n&2){let e=i.$implicit;p("value",e.id),u(),O(" ",e.name," ")}}function T$(n,i){if(n&1){let e=k();ut(0),c(1,"mat-form-field")(2,"mat-label")(3,"uds-translate"),f(4,"Service Pools"),d()(),c(5,"mat-select",18),U("ngModelChange",function(o){y(e);let r=_();return W(r.group.pools,o)||(r.group.pools=o),w(o)}),x(6,I$,2,2,"mat-option",16),d()(),mt()}if(n&2){let e=_();u(5),z("ngModel",e.group.pools),u(),p("ngForOf",e.servicePools)}}function k$(n,i){if(n&1&&(c(0,"mat-option",17),f(1),d()),n&2){let e=_().$implicit;p("value",e.id),u(),O(" ",e.name," ")}}function A$(n,i){if(n&1&&(ut(0),x(1,k$,2,2,"mat-option",20),mt()),n&2){let e=i.$implicit;u(),p("ngIf",e.type==="group")}}function R$(n,i){if(n&1){let e=k();c(0,"mat-form-field")(1,"mat-label")(2,"uds-translate"),f(3,"Match mode"),d()(),c(4,"mat-select",8),U("ngModelChange",function(o){y(e);let r=_();return W(r.group.meta_if_any,o)||(r.group.meta_if_any=o),w(o)}),c(5,"mat-option",17)(6,"uds-translate"),f(7,"Any group"),d()(),c(8,"mat-option",17)(9,"uds-translate"),f(10,"All groups"),d()()()(),c(11,"mat-form-field")(12,"mat-label")(13,"uds-translate"),f(14,"Selected Groups"),d()(),c(15,"mat-select",18),U("ngModelChange",function(o){y(e);let r=_();return W(r.group.groups,o)||(r.group.groups=o),w(o)}),x(16,A$,2,1,"ng-container",19),d()()}if(n&2){let e=_();u(4),z("ngModel",e.group.meta_if_any),u(),p("value",!0),u(3),p("value",!1),u(7),z("ngModel",e.group.groups),u(),p("ngForOf",e.groups)}}var ww=(()=>{let i=class i{constructor(t,o,r,a){this.api=t,this.rest=o,this.dialogRef=r,this.onSave=new T(!0),this.servicePools=[],this.groups=[],this.fltrGroup=[],this.authenticator=a.authenticator,this.group={id:void 0,type:a.groupType,name:"",comments:"",meta_if_any:!1,skip_mfa:"I",state:"A",groups:[],pools:[]},a.group!==void 0&&(this.group.id=a.group.id,this.group.type=a.group.type,this.group.name=a.group.name)}static launch(t,o,r,a){let s=window.innerWidth<800?"60%":"40%";return t.gui.dialog.open(i,{width:s,position:{top:window.innerWidth<800?"0px":"7rem"},data:{authenticator:o,groupType:r,group:a},disableClose:!0}).componentInstance.onSave}ngOnInit(){let t=this.rest.authenticators.detail(this.authenticator.id,"groups");this.group.id!==void 0&&t.get(this.group.id).then(o=>{this.group=o},o=>{this.dialogRef.close()}),this.group.type==="meta"?t.summary().then(o=>this.groups=o):this.rest.servicesPools.summary().then(o=>this.servicePools=o)}filterGroup(t){let o=t.target.value;this.rest.authenticators.search(this.authenticator.id,"group",o,100).then(r=>{this.fltrGroup.length=0,r.forEach(a=>{this.fltrGroup.push(a)})})}getMatchValue(){return django.gettext("Match mode")+this.group.meta_if_any?django.gettext("Any"):django.gettext("All")}save(){this.rest.authenticators.detail(this.authenticator.id,"groups").save(this.group).then(t=>{this.dialogRef.close(),this.onSave.emit(!0)})}};i.\u0275fac=function(o){return new(o||i)(C(B),C(Z),C(Ne),C(Ke))},i.\u0275cmp=E({type:i,selectors:[["uds-new-group"]],standalone:!1,decls:46,vars:9,consts:[["nousertitle",""],["metafirst",""],["metasecond",""],["auto","matAutocomplete"],["mat-dialog-title",""],[4,"ngIf","ngIfElse"],[1,"content"],["type","text","matInput","",3,"ngModelChange","ngModel"],[3,"ngModelChange","ngModel"],["value","A"],["value","I"],["mat-raised-button","","mat-dialog-close","","color","warn"],["mat-raised-button","","color","primary",3,"click"],[4,"ngIf"],["type","text","matInput","",3,"ngModelChange","ngModel","disabled"],["type","text","aria-label","Number","matInput","",3,"ngModelChange","input","ngModel","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["multiple","",3,"ngModelChange","ngModel"],[4,"ngFor","ngForOf"],[3,"value",4,"ngIf"]],template:function(o,r){if(o&1){let a=k();c(0,"h4",4),x(1,w$,4,1,"div",5)(2,C$,2,0,"ng-template",null,0,gn),d(),c(4,"mat-dialog-content")(5,"div",6),x(6,E$,3,2,"ng-container",5)(7,M$,5,2,"ng-template",null,1,gn),c(9,"mat-form-field")(10,"mat-label")(11,"uds-translate"),f(12,"Comments"),d()(),c(13,"input",7),U("ngModelChange",function(l){return y(a),W(r.group.comments,l)||(r.group.comments=l),w(l)}),d()(),c(14,"mat-form-field")(15,"mat-label")(16,"uds-translate"),f(17,"State"),d()(),c(18,"mat-select",8),U("ngModelChange",function(l){return y(a),W(r.group.state,l)||(r.group.state=l),w(l)}),c(19,"mat-option",9)(20,"uds-translate"),f(21,"Enabled"),d()(),c(22,"mat-option",10)(23,"uds-translate"),f(24,"Disabled"),d()()()(),c(25,"mat-form-field")(26,"mat-label")(27,"uds-translate"),f(28,"Skip MFA"),d()(),c(29,"mat-select",8),U("ngModelChange",function(l){return y(a),W(r.group.skip_mfa,l)||(r.group.skip_mfa=l),w(l)}),c(30,"mat-option",9)(31,"uds-translate"),f(32,"Enabled"),d()(),c(33,"mat-option",10)(34,"uds-translate"),f(35,"Disabled"),d()()()(),x(36,T$,7,2,"ng-container",5)(37,R$,17,5,"ng-template",null,2,gn),d()(),c(39,"mat-dialog-actions")(40,"button",11)(41,"uds-translate"),f(42,"Cancel"),d()(),c(43,"button",12),b("click",function(){return y(a),w(r.save())}),c(44,"uds-translate"),f(45,"Ok"),d()()()}if(o&2){let a=be(3),s=be(8),l=be(38);u(),p("ngIf",r.group.id)("ngIfElse",a),u(5),p("ngIf",r.group.type==="group")("ngIfElse",s),u(7),z("ngModel",r.group.comments),u(5),z("ngModel",r.group.state),u(11),z("ngModel",r.group.skip_mfa),u(7),p("ngIf",r.group.type==="group")("ngIfElse",l)}},dependencies:[$e,ue,lt,we,xe,Te,Qt,Xe,et,Je,fe,ke,pt,vt,nt,Yl,bs,ae],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:100%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}.label-match[_ngcontent-%COMP%]{color:#0009;display:block;font-weight:400;left:0;line-height:18px;overflow:hidden;pointer-events:none;position:absolute;text-align:left;text-overflow:ellipsis;top:.5em;transform:matrix(.75,0,0,.75,0,-21.5);transform-origin:0px 0px;white-space:nowrap}"]});let n=i;return n})();function O$(n,i){n&1&&(c(0,"uds-translate"),f(1,"Groups"),d())}function P$(n,i){if(n&1&&(c(0,"mat-tab"),x(1,O$,2,0,"ng-template",2),M(2,"uds-table",6),d()),n&2){let e=_();u(2),p("rest",e.group)("pageSize",6)}}function F$(n,i){n&1&&(c(0,"uds-translate"),f(1,"Services Pools"),d())}function N$(n,i){if(n&1&&(c(0,"mat-tab"),x(1,F$,2,0,"ng-template",2),M(2,"uds-table",6),d()),n&2){let e=_();u(2),p("rest",e.servicesPools)("pageSize",6)}}function L$(n,i){n&1&&(c(0,"uds-translate"),f(1,"Assigned Services"),d())}function V$(n,i){if(n&1&&(c(0,"mat-tab"),x(1,L$,2,0,"ng-template",2),M(2,"uds-table",6),d()),n&2){let e=_();u(2),p("rest",e.userServices)("pageSize",6)}}function B$(n,i){n&1&&(c(0,"uds-translate"),f(1,"Logs"),d())}var j$=[{field:"name",title:django.gettext("Group")},{field:"comments",title:django.gettext("Comments")}],z$=[{field:"name",title:django.gettext("Pool")},{field:"state",title:django.gettext("State")},{field:"user_services_count",title:django.gettext("User Services")}],U$=[{field:"unique_id",title:django.gettext("Unique ID")},{field:"friendly_name",title:django.gettext("Friendly Name")},{field:"in_use",title:django.gettext("In Use")},{field:"ip",title:django.gettext("IP")},{field:"pool",title:django.gettext("Services Pool")}],SA=(()=>{let i=class i{constructor(t,o,r,a){this.api=t,this.rest=o,this.dialogRef=r,this.group={},this.servicesPools={},this.userServices={},this.users=a.users,this.user=a.user}static launch(t,o,r){let a=window.innerWidth<800?"80%":"60%",s=t.gui.dialog.open(i,{width:a,position:{top:window.innerWidth<800?"0px":"7rem"},data:{users:o,user:r},disableClose:!1})}ngOnInit(){return H(this,null,function*(){let t=()=>H(this,null,function*(){let a=yield this.rest.authenticators.detail(this.users.parentId,"users").get(this.user.id);return(yield this.rest.authenticators.detail(this.users.parentId,"groups").overview()).filter(l=>a.groups.includes(l.id))}),o=()=>H(this,null,function*(){return this.users.invoke(this.user.id+"/servicesPools")}),r=()=>H(this,null,function*(){return(yield this.users.invoke(this.user.id+"/userServices")).map(s=>(s.in_use=this.api.boolAsHumanString(s.in_use),s))});this.group=new po(django.gettext("Groups"),t,j$,this.user.id+"infogrp"),this.servicesPools=new po(django.gettext("Services Pools"),o,z$,this.user.id+"infopool"),this.userServices=new po(django.gettext("Assigned services"),r,U$,this.user.id+"userservpool")})}};i.\u0275fac=function(o){return new(o||i)(C(B),C(Z),C(Ne),C(Ke))},i.\u0275cmp=E({type:i,selectors:[["uds-user-information"]],standalone:!1,decls:20,vars:14,consts:[["mat-dialog-title",""],[4,"ngIf"],["mat-tab-label",""],[1,"content"],[3,"rest","itemId","tableId","pageSize"],["mat-raised-button","","mat-dialog-close","","color","primary"],[3,"rest","pageSize"]],template:function(o,r){o&1&&(c(0,"h4",0)(1,"uds-translate"),f(2,"Information for"),d(),f(3),d(),c(4,"mat-dialog-content")(5,"mat-tab-group"),x(6,P$,3,2,"mat-tab",1),gt(7,"notEmpty"),x(8,N$,3,2,"mat-tab",1),gt(9,"notEmpty"),x(10,V$,3,2,"mat-tab",1),gt(11,"notEmpty"),c(12,"mat-tab"),x(13,B$,2,0,"ng-template",2),c(14,"div",3),M(15,"uds-logs-table",4),d()()()(),c(16,"mat-dialog-actions")(17,"button",5)(18,"uds-translate"),f(19,"Ok"),d()()()),o&2&&(u(3),O(" ",r.user.name,` +`),u(3),p("ngIf",Ct(7,8,r.group)),u(2),p("ngIf",Ct(9,10,r.servicesPools)),u(2),p("ngIf",Ct(11,12,r.userServices)),u(5),p("rest",r.users)("itemId",r.user.id)("tableId","userInfo-d-log"+r.user.id)("pageSize",5))},dependencies:[ue,Te,Qt,Xe,et,Je,Jt,en,rn,ae,Ie,Ri,yn],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}"]});let n=i;return n})();function H$(n,i){n&1&&(c(0,"uds-translate"),f(1,"Services Pools"),d())}function W$(n,i){if(n&1&&(c(0,"mat-tab"),x(1,H$,2,0,"ng-template",3),M(2,"uds-table",4),d()),n&2){let e=_();u(2),p("rest",e.servicesPools)("pageSize",6)}}function G$(n,i){n&1&&(c(0,"uds-translate"),f(1,"Users"),d())}function $$(n,i){if(n&1&&(c(0,"mat-tab"),x(1,G$,2,0,"ng-template",3),M(2,"uds-table",4),d()),n&2){let e=_();u(2),p("rest",e.users)("pageSize",6)}}function q$(n,i){n&1&&(c(0,"uds-translate"),f(1,"Groups"),d())}function Y$(n,i){if(n&1&&(c(0,"mat-tab"),x(1,q$,2,0,"ng-template",3),M(2,"uds-table",4),d()),n&2){let e=_();u(2),p("rest",e.groups)("pageSize",6)}}var Q$=[{field:"name",title:django.gettext("Pool")},{field:"state",title:django.gettext("State")},{field:"user_services_count",title:django.gettext("User Services")}],K$=[{field:"name",title:django.gettext("Name")},{field:"real_name",title:django.gettext("Real Name")},{field:"state",title:django.gettext("state")},{field:"last_access",title:django.gettext("Last access"),type:_n.DATETIME}],Z$=[{field:"name",title:django.gettext("Group")},{field:"comments",title:django.gettext("Comments")}],EA=(()=>{let i=class i{constructor(t,o,r,a){this.api=t,this.rest=o,this.dialogRef=r,this.data=a,this.users={},this.groups={},this.servicesPools={}}static launch(t,o,r){let a=window.innerWidth<800?"80%":"60%",s=t.gui.dialog.open(i,{width:a,position:{top:window.innerWidth<800?"0px":"7rem"},data:{group:r,groups:o},disableClose:!1})}ngOnInit(){let t=this.rest.authenticators.detail(this.data.groups.parentId,"groups"),o=()=>t.invoke(this.data.group.id+"/servicesPools"),r=()=>t.invoke(this.data.group.id+"/users").then(a=>a.map(s=>(s.state=s.state==="A"?django.gettext("Enabled"):s.state==="I"?django.gettext("Disabled"):django.gettext("Blocked"),s)));if(this.servicesPools=new po(django.gettext("Service pools"),o,Q$,this.data.group.id+"infopls"),this.users=new po(django.gettext("Users"),r,K$,this.data.group.id+"infousr"),this.data.group.type==="meta"){let a=()=>t.overview().then(s=>s.filter(l=>this.data.group.groups.includes(l.id)));this.groups=new po(django.gettext("Groups"),a,Z$,this.data.group.id+"infogrps")}}};i.\u0275fac=function(o){return new(o||i)(C(B),C(Z),C(Ne),C(Ke))},i.\u0275cmp=E({type:i,selectors:[["uds-group-information"]],standalone:!1,decls:15,vars:9,consts:[["mat-dialog-title",""],[4,"ngIf"],["mat-raised-button","","mat-dialog-close","","color","primary"],["mat-tab-label",""],[3,"rest","pageSize"]],template:function(o,r){o&1&&(c(0,"h4",0)(1,"uds-translate"),f(2,"Information for"),d()(),c(3,"mat-dialog-content")(4,"mat-tab-group"),x(5,W$,3,2,"mat-tab",1),gt(6,"notEmpty"),x(7,$$,3,2,"mat-tab",1),gt(8,"notEmpty"),x(9,Y$,3,2,"mat-tab",1),gt(10,"notEmpty"),d()(),c(11,"mat-dialog-actions")(12,"button",2)(13,"uds-translate"),f(14,"Ok"),d()()()),o&2&&(u(5),p("ngIf",Ct(6,3,r.servicesPools)),u(2),p("ngIf",Ct(8,5,r.users)),u(2),p("ngIf",Ct(10,7,r.groups)))},dependencies:[ue,Te,Qt,Xe,et,Je,Jt,en,rn,ae,Ie,yn],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}"]});let n=i;return n})();var X$=n=>["/authenticators",n];function J$(n,i){n&1&&(c(0,"uds-translate"),f(1,"Summary"),d())}function e7(n,i){if(n&1&&M(0,"uds-information",16),n&2){let e=_(2);p("value",e.authenticator)("gui",e.gui)}}function t7(n,i){n&1&&(c(0,"uds-translate"),f(1,"Users"),d())}function n7(n,i){if(n&1){let e=k();c(0,"uds-table",17),b("loaded",function(o){y(e);let r=_(2);return w(r.onLoad(o))})("newAction",function(o){y(e);let r=_(2);return w(r.onNewUser(o))})("editAction",function(o){y(e);let r=_(2);return w(r.onEditUser(o))})("deleteAction",function(o){y(e);let r=_(2);return w(r.onDeleteUser(o))})("customButtonAction",function(o){y(e);let r=_(2);return w(r.onUserCustom(o))}),d()}if(n&2){let e=_(2);p("rest",e.users)("multiSelect",!0)("allowExport",!0)("tableId","authenticators-d-users"+e.authenticator.id)("customButtons",e.usersCustomButtons)("pageSize",e.api.config.admin.page_size)}}function i7(n,i){if(n&1){let e=k();c(0,"uds-table",18),b("loaded",function(o){y(e);let r=_(2);return w(r.onLoad(o))})("editAction",function(o){y(e);let r=_(2);return w(r.onEditUser(o))})("deleteAction",function(o){y(e);let r=_(2);return w(r.onDeleteUser(o))})("customButtonAction",function(o){y(e);let r=_(2);return w(r.onUserCustom(o))}),d()}if(n&2){let e=_(2);p("rest",e.users)("multiSelect",!0)("allowExport",!0)("tableId","authenticators-d-users"+e.authenticator.id)("customButtons",e.usersCustomButtons)("pageSize",e.api.config.admin.page_size)}}function o7(n,i){n&1&&(c(0,"uds-translate"),f(1,"Groups"),d())}function r7(n,i){n&1&&(c(0,"uds-translate"),f(1,"Logs"),d())}function a7(n,i){if(n&1){let e=k();c(0,"div",6)(1,"div",7)(2,"mat-tab-group",8),U("selectedIndexChange",function(o){y(e);let r=_();return W(r.selectedTab,o)||(r.selectedTab=o),w(o)}),c(3,"mat-tab"),x(4,J$,2,0,"ng-template",9),c(5,"div",10),x(6,e7,1,2,"uds-information",11),gt(7,"notEmpty"),d()(),c(8,"mat-tab"),x(9,t7,2,0,"ng-template",9),c(10,"div",10),x(11,n7,1,6,"uds-table",12)(12,i7,1,6,"uds-table",13),d()(),c(13,"mat-tab"),x(14,o7,2,0,"ng-template",9),c(15,"div",10)(16,"uds-table",14),b("loaded",function(o){y(e);let r=_();return w(r.onLoad(o))})("newAction",function(o){y(e);let r=_();return w(r.onNewGroup(o))})("editAction",function(o){y(e);let r=_();return w(r.onEditGroup(o))})("deleteAction",function(o){y(e);let r=_();return w(r.onDeleteGroup(o))})("customButtonAction",function(o){y(e);let r=_();return w(r.onGroupInformation(o))}),d()()(),c(17,"mat-tab"),x(18,r7,2,0,"ng-template",9),c(19,"div",10),M(20,"uds-logs-table",15),d()()()()()}if(n&2){let e=_();u(2),z("selectedIndex",e.selectedTab),p("@.disabled",!0),u(4),p("ngIf",Ct(7,14,e.gui)),u(5),p("ngIf",e.authenticator.type_info.create_users_supported),u(),p("ngIf",!e.authenticator.type_info.create_users_supported),u(4),p("rest",e.groups)("multiSelect",!0)("allowExport",!0)("customButtons",e.groupsCustomButtons)("tableId","authenticators-d-groups"+e.authenticator.id)("pageSize",e.api.config.admin.page_size),u(4),p("rest",e.rest.authenticators)("itemId",e.authenticator.id)("tableId","authenticators-d-log"+e.authenticator.id)}}var ag=(()=>{let i=class i{constructor(t,o,r){this.route=t,this.rest=o,this.api=r,this.groupsCustomButtons=[{id:"info",html:'info '+django.gettext("Information")+"",type:ct.ONLY_MENU}],this.usersCustomButtons=[{id:"info",html:'info '+django.gettext("Information")+"",type:ct.ONLY_MENU},{id:"clean-related",html:'clear_all '+django.gettext("Clean related (mfa,...)")+"",type:ct.ONLY_MENU},{id:"enable-client-logging",html:'assignment '+django.gettext("Enable client logging")+"",type:ct.ONLY_MENU}],this.authenticator=null,this.gui=[],this.users={},this.groups={},this.selectedTab=1,this.selectedTab=this.route.snapshot.paramMap.get("group")?2:1}ngOnInit(){let t=this.route.snapshot.paramMap.get("authenticator");t&&(this.users=this.rest.authenticators.detail(t,"users"),this.groups=this.rest.authenticators.detail(t,"groups"),this.rest.authenticators.get(t).then(o=>{this.authenticator=o,this.rest.authenticators.gui(o.type).then(r=>{this.gui=r})}))}onLoad(t){if(t.param===!0){let o=this.route.snapshot.paramMap.get("user"),r=this.route.snapshot.paramMap.get("group"),a=o||r;t.table.selectElement("id",a)}}processElement(t){t.maintenance_state=t.maintenance_mode?django.gettext("In Maintenance"):django.gettext("Active")}onNewUser(t){yw.launch(this.api,this.authenticator).subscribe(o=>t.table.overview())}onEditUser(t){yw.launch(this.api,this.authenticator,t.table.selection.selected[0]).subscribe(o=>t.table.overview())}onDeleteUser(t){this.api.gui.forms.deleteForm(t,django.gettext("Delete user"))}onNewGroup(t){ww.launch(this.api,this.authenticator,t.param.type).subscribe(o=>t.table.overview())}onEditGroup(t){ww.launch(this.api,this.authenticator,t.param.type,t.table.selection.selected[0]).subscribe(o=>t.table.overview())}onDeleteGroup(t){this.api.gui.forms.deleteForm(t,django.gettext("Delete group"))}onUserCustom(t){return H(this,null,function*(){t.param.id==="info"?SA.launch(this.api,this.users,t.table.selection.selected[0]):t.param.id==="clean-related"?(yield this.api.gui.questionDialog(django.gettext("Clean data"),django.gettext("Clean related data (mfa, ...)?"),!0))&&(yield this.users.invoke(t.table.selection.selected[0].id+"/clean_related"),this.api.gui.snackbar.open(django.gettext("Related data cleaned"),django.gettext("dismiss"),{duration:2e3}),t.table.overview()):t.param.id==="enable-client-logging"&&(yield this.api.gui.questionDialog(django.gettext("Client logging"),django.gettext("Enable client logging for user?"),!0))&&(yield this.users.invoke(t.table.selection.selected[0].id+"/enable_client_logging"),this.api.gui.snackbar.open(django.gettext("Client logging enabled"),django.gettext("dismiss"),{duration:2e3}),t.table.overview())})}onGroupInformation(t){EA.launch(this.api,this.groups,t.table.selection.selected[0])}};i.\u0275fac=function(o){return new(o||i)(C(Re),C(Z),C(B))},i.\u0275cmp=E({type:i,selectors:[["uds-authenticators-detail"]],standalone:!1,decls:10,vars:8,consts:[[1,"detail"],[1,"mat-elevation-z4","title"],[3,"routerLink"],[1,"material-icons"],[3,"src"],["class","card",4,"ngIf"],[1,"card"],[1,"card-content"],["backgroundColor","primary",3,"selectedIndexChange","selectedIndex"],["mat-tab-label",""],[1,"content"],[3,"value","gui",4,"ngIf"],["icon","users",3,"rest","multiSelect","allowExport","tableId","customButtons","pageSize","loaded","newAction","editAction","deleteAction","customButtonAction",4,"ngIf"],["icon","users",3,"rest","multiSelect","allowExport","tableId","customButtons","pageSize","loaded","editAction","deleteAction","customButtonAction",4,"ngIf"],["icon","groups",3,"loaded","newAction","editAction","deleteAction","customButtonAction","rest","multiSelect","allowExport","customButtons","tableId","pageSize"],[3,"rest","itemId","tableId"],[3,"value","gui"],["icon","users",3,"loaded","newAction","editAction","deleteAction","customButtonAction","rest","multiSelect","allowExport","tableId","customButtons","pageSize"],["icon","users",3,"loaded","editAction","deleteAction","customButtonAction","rest","multiSelect","allowExport","tableId","customButtons","pageSize"]],template:function(o,r){o&1&&(c(0,"div",0)(1,"div",1)(2,"a",2)(3,"i",3),f(4,"arrow_back"),d()(),f(5," \xA0"),M(6,"img",4),f(7),d(),x(8,a7,21,16,"div",5),gt(9,"notEmpty"),d()),o&2&&(u(2),p("routerLink",Un(6,X$,r.authenticator?r.authenticator.id:"")),u(4),p("src",r.api.staticURL("admin/img/icons/services.png"),Se),u(),O(" \xA0",r.authenticator==null?null:r.authenticator.name," "),u(),p("ngIf",Ct(9,4,r.authenticator)))},dependencies:[ue,bn,Jt,en,rn,ae,Ie,Ri,ho,yn],encapsulation:2});let n=i;return n})();var Cw=(()=>{let i=class i{constructor(t,o,r){this.api=t,this.route=o,this.rest=r}ngOnInit(){let t=this.route.snapshot.paramMap.get("osmanager")}onNew(t){this.api.gui.forms.typedNewForm(t,django.gettext("New OS Manager"),!1)}onEdit(t){this.api.gui.forms.typedEditForm(t,django.gettext("Edit OS Manager"),!1)}onDelete(t){this.api.gui.forms.deleteForm(t,django.gettext("Delete OS Manager"))}onLoad(t){t.param===!0&&t.table.selectElement("id",this.route.snapshot.paramMap.get("osmanager"))}};i.\u0275fac=function(o){return new(o||i)(C(B),C(Re),C(Z))},i.\u0275cmp=E({type:i,selectors:[["uds-osmanagers"]],standalone:!1,decls:2,vars:5,consts:[["icon","osmanagers",3,"newAction","editAction","deleteAction","loaded","rest","multiSelect","allowExport","hasPermissions","pageSize"]],template:function(o,r){o&1&&(c(0,"div")(1,"uds-table",0),b("newAction",function(s){return r.onNew(s)})("editAction",function(s){return r.onEdit(s)})("deleteAction",function(s){return r.onDelete(s)})("loaded",function(s){return r.onLoad(s)}),d()()),o&2&&(u(),p("rest",r.rest.osManagers)("multiSelect",!0)("allowExport",!0)("hasPermissions",!0)("pageSize",r.api.config.admin.page_size))},dependencies:[Ie],encapsulation:2});let n=i;return n})();var xw=(()=>{let i=class i{constructor(t,o,r){this.api=t,this.route=o,this.rest=r}ngOnInit(){let t=this.route.snapshot.paramMap.get("transport")}onNew(t){this.api.gui.forms.typedNewForm(t,django.gettext("New Transport"))}onEdit(t){this.api.gui.forms.typedEditForm(t,django.gettext("Edit Transport"))}onDelete(t){this.api.gui.forms.deleteForm(t,django.gettext("Delete Transport"))}processElement(t){try{t.allowed_oss=t.allowed_oss.map(o=>o.id).join(", ")}catch{t.allowed_oss=""}}onLoad(t){t.param===!0&&t.table.selectElement("id",this.route.snapshot.paramMap.get("transport"))}};i.\u0275fac=function(o){return new(o||i)(C(B),C(Re),C(Z))},i.\u0275cmp=E({type:i,selectors:[["uds-transports"]],standalone:!1,decls:2,vars:7,consts:[["icon","transports",3,"newAction","editAction","deleteAction","loaded","rest","multiSelect","allowExport","hasPermissions","newGrouped","onItem","pageSize"]],template:function(o,r){o&1&&(c(0,"div")(1,"uds-table",0),b("newAction",function(s){return r.onNew(s)})("editAction",function(s){return r.onEdit(s)})("deleteAction",function(s){return r.onDelete(s)})("loaded",function(s){return r.onLoad(s)}),d()()),o&2&&(u(),p("rest",r.rest.transports)("multiSelect",!0)("allowExport",!0)("hasPermissions",!0)("newGrouped",!0)("onItem",r.processElement)("pageSize",r.api.config.admin.page_size))},dependencies:[Ie],styles:[".mat-column-priority{max-width:7rem;justify-content:center}"]});let n=i;return n})();var Dw=(()=>{let i=class i{constructor(t,o,r){this.api=t,this.route=o,this.rest=r}ngOnInit(){let t=this.route.snapshot.paramMap.get("network")}onNew(t){this.api.gui.forms.typedNewForm(t,django.gettext("New Network"),!1)}onEdit(t){this.api.gui.forms.typedEditForm(t,django.gettext("Edit Network"),!1)}onDelete(t){this.api.gui.forms.deleteForm(t,django.gettext("Delete Network"))}onLoad(t){t.param===!0&&t.table.selectElement("id",this.route.snapshot.paramMap.get("network"))}};i.\u0275fac=function(o){return new(o||i)(C(B),C(Re),C(Z))},i.\u0275cmp=E({type:i,selectors:[["uds-networks"]],standalone:!1,decls:2,vars:5,consts:[["icon","networks",3,"newAction","editAction","deleteAction","loaded","rest","multiSelect","allowExport","hasPermissions","pageSize"]],template:function(o,r){o&1&&(c(0,"div")(1,"uds-table",0),b("newAction",function(s){return r.onNew(s)})("editAction",function(s){return r.onEdit(s)})("deleteAction",function(s){return r.onDelete(s)})("loaded",function(s){return r.onLoad(s)}),d()()),o&2&&(u(),p("rest",r.rest.networks)("multiSelect",!0)("allowExport",!0)("hasPermissions",!0)("pageSize",r.api.config.admin.page_size))},dependencies:[Ie],encapsulation:2});let n=i;return n})();var Sw=(()=>{let i=class i{constructor(t,o,r){this.route=t,this.rest=o,this.api=r}ngOnInit(){}onNew(t){this.api.gui.forms.typedNewForm(t,django.gettext("New tunnel"),!0)}onEdit(t){this.api.gui.forms.typedEditForm(t,django.gettext("Edit tunnel"),!0)}onDelete(t){this.api.gui.forms.deleteForm(t,django.gettext("Delete tunnel"))}onDetail(t){this.api.navigation.gotoTunnelDetail(t.param.id)}processElement(t){t.maintenance_state=t.maintenance_mode?django.gettext("In Maintenance"):django.gettext("Active")}onLoad(t){t.param===!0&&t.table.selectElement("id",this.route.snapshot.paramMap.get("tunnel"))}};i.\u0275fac=function(o){return new(o||i)(C(Re),C(Z),C(B))},i.\u0275cmp=E({type:i,selectors:[["uds-tunnels"]],standalone:!1,decls:1,vars:6,consts:[["tableId","tunnels-table","icon","providers",3,"newAction","editAction","deleteAction","detailAction","loaded","rest","onItem","multiSelect","allowExport","hasPermissions","pageSize"]],template:function(o,r){o&1&&(c(0,"uds-table",0),b("newAction",function(s){return r.onNew(s)})("editAction",function(s){return r.onEdit(s)})("deleteAction",function(s){return r.onDelete(s)})("detailAction",function(s){return r.onDetail(s)})("loaded",function(s){return r.onLoad(s)}),d()),o&2&&p("rest",r.rest.tunnels)("onItem",r.processElement)("multiSelect",!0)("allowExport",!0)("hasPermissions",!0)("pageSize",r.api.config.admin.page_size)},dependencies:[Ie],encapsulation:2});let n=i;return n})();function s7(n,i){if(n&1&&(c(0,"mat-option",7),f(1),d()),n&2){let e=i.$implicit;p("value",e.id),u(),O(" ",e.name," ")}}var MA=(()=>{let i=class i{constructor(t,o,r,a){this.api=t,this.rest=o,this.dialogRef=r,this.done=new Xt,this.availTunnelServers=[],this.tunnelFilter="",this.serverId="",this.availTunnelServers=a.availableTunnelServers,this.tunnelId=a.tunnelId}static launch(t,o,r){return H(this,null,function*(){let a=window.innerWidth<800?"60%":"40%";return t.gui.dialog.open(i,{width:a,position:{top:window.innerWidth<800?"0px":"7rem"},data:{tunnelId:o,availableTunnelServers:r},disableClose:!1}).componentInstance.done})}ngOnInit(){return H(this,null,function*(){})}filteredTunnels(){if(!this.tunnelFilter)return this.availTunnelServers;let t=new Array;for(let o of this.availTunnelServers)o.name.toLocaleLowerCase().includes(this.tunnelFilter.toLocaleLowerCase())&&t.push(o);return t}save(){return H(this,null,function*(){if(this.serverId===""){this.api.gui.alert(django.gettext("Error"),django.gettext("Please, select a valid server"));return}this.dialogRef.close(),this.done.resolve(!0),yield this.rest.tunnels.assign(this.tunnelId,this.serverId)})}cancel(){return H(this,null,function*(){this.dialogRef.close(),this.done.resolve(!1)})}};i.\u0275fac=function(o){return new(o||i)(C(B),C(Z),C(Ne),C(Ke))},i.\u0275cmp=E({type:i,selectors:[["uds-new-tunnel"]],standalone:!1,decls:19,vars:3,consts:[["mat-dialog-title",""],[1,"content"],[3,"ngModelChange","ngModel"],[3,"changed","options"],[3,"value",4,"ngFor","ngForOf"],["mat-raised-button","","color","warn",3,"click"],["mat-raised-button","","color","primary",3,"click"],[3,"value"]],template:function(o,r){o&1&&(c(0,"h4",0)(1,"uds-translate"),f(2,"Assign new server to tunnel group"),d()(),c(3,"mat-dialog-content")(4,"div",1)(5,"mat-form-field")(6,"mat-label")(7,"uds-translate"),f(8,"Tunnel"),d()(),c(9,"mat-select",2),U("ngModelChange",function(s){return W(r.serverId,s)||(r.serverId=s),s}),c(10,"uds-cond-select-search",3),b("changed",function(s){return r.tunnelFilter=s}),d(),x(11,s7,2,2,"mat-option",4),d()()()(),c(12,"mat-dialog-actions")(13,"button",5),b("click",function(){return r.cancel()}),c(14,"uds-translate"),f(15,"Cancel"),d()(),c(16,"button",6),b("click",function(){return r.save()}),c(17,"uds-translate"),f(18,"Ok"),d()()()),o&2&&(u(9),z("ngModel",r.serverId),u(),p("options",r.availTunnelServers),u(),p("ngForOf",r.filteredTunnels()))},dependencies:[$e,we,xe,Te,Xe,et,Je,fe,ke,vt,nt,ae,pn],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:100%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}"]});let n=i;return n})();var l7=n=>["/connectivity","tunnels",n];function c7(n,i){n&1&&(c(0,"uds-translate"),f(1,"Summary"),d())}function d7(n,i){n&1&&(c(0,"uds-translate"),f(1,"Tunnel servers"),d())}function u7(n,i){if(n&1){let e=k();c(0,"div",6)(1,"div",7)(2,"mat-tab-group",8)(3,"mat-tab"),x(4,c7,2,0,"ng-template",9),c(5,"div",10),M(6,"uds-information",11),d()(),c(7,"mat-tab"),x(8,d7,2,0,"ng-template",9),c(9,"div",10)(10,"uds-table",12),b("newAction",function(o){y(e);let r=_();return w(r.onNew(o))})("rowSelected",function(o){y(e);let r=_();return w(r.onRowSelect(o))})("deleteAction",function(o){y(e);let r=_();return w(r.onDelete(o))})("customButtonAction",function(o){y(e);let r=_();return w(r.onMaintenance(o))})("loaded",function(o){y(e);let r=_();return w(r.onLoad(o))}),d()()()()()()}if(n&2){let e=_();u(2),p("@.disabled",!0),u(4),p("value",e.tunnel)("gui",e.gui),u(4),p("rest",e.servers)("multiSelect",!0)("allowExport",!0)("customButtons",e.customButtons)("pageSize",e.api.config.admin.page_size)("tableId","tunnels-d-servers"+e.tunnel.id)}}var IA='pause'+django.gettext("Maintenance")+"",m7='pause'+django.gettext("Exit maintenance mode")+"",p7='pause'+django.gettext("Enter maintenance mode")+"",TA=(()=>{let i=class i{constructor(t,o,r){this.route=t,this.rest=o,this.api=r,this.cButtons=[{id:"maintenance",html:IA,type:ct.SINGLE_SELECT}],this.tunnel=null,this.gui=[],this.servers={}}get customButtons(){return this.api.user.isAdmin?this.cButtons:[]}ngOnInit(){return H(this,null,function*(){let t=this.route.snapshot.paramMap.get("tunnel");t&&(this.servers=this.rest.tunnels.detail(t,"servers"),this.tunnel=yield this.servers.parentModel.get(t),this.gui=yield this.servers.parentModel.gui(),console.log(this.gui),console.log(this.tunnel))})}onMaintenance(t){let o=t.table.selection.selected[0],r=o.maintenance_mode?django.gettext("Exit maintenance mode?"):django.gettext("Enter maintenance mode?");this.api.gui.questionDialog(django.gettext("Maintenance mode for")+" "+o.name,r).then(a=>{a&&this.servers.get(o.id+"/maintenance").then(()=>{t.table.overview()})})}onNew(t){return H(this,null,function*(){let o=yield this.rest.tunnels.tunnels(this.tunnel.id);o.length==0?this.api.gui.alert(django.gettext("Error"),django.gettext("This tunnel already has all the tunnel servers available")):(yield MA.launch(this.api,this.tunnel.id,o))===!0&&t.table.overview()})}onDelete(t){this.api.gui.forms.deleteForm(t,django.gettext("Remove member from tunnel"))}onRowSelect(t){let o=t.table;if(o.selection.selected.length>1||o.selection.selected.length===0){this.customButtons[0].html=IA;return}o.selection.selected[0].maintenance_mode?this.customButtons[0].html=m7:this.customButtons[0].html=p7}onLoad(t){if(t.param===!0){let o=this.route.snapshot.paramMap.get("tunnel");if(o!==void 0){let r=t.table;r.dataSource.data.forEach(a=>{a.id===o&&r.selection.select(a)})}}}};i.\u0275fac=function(o){return new(o||i)(C(Re),C(Z),C(B))},i.\u0275cmp=E({type:i,selectors:[["uds-tunnels-detail"]],standalone:!1,decls:10,vars:8,consts:[[1,"detail"],[1,"mat-elevation-z4","title"],[3,"routerLink"],[1,"material-icons"],[3,"src"],["class","card",4,"ngIf"],[1,"card"],[1,"card-content"],["backgroundColor","primary","selectedIndex","1"],["mat-tab-label",""],[1,"content"],[3,"value","gui"],["icon","tunnels",3,"newAction","rowSelected","deleteAction","customButtonAction","loaded","rest","multiSelect","allowExport","customButtons","pageSize","tableId"]],template:function(o,r){o&1&&(c(0,"div",0)(1,"div",1)(2,"a",2)(3,"i",3),f(4,"arrow_back"),d()(),f(5," \xA0"),M(6,"img",4),f(7),d(),x(8,u7,11,9,"div",5),gt(9,"notEmpty"),d()),o&2&&(u(2),p("routerLink",Un(6,l7,r.servers.parentId)),u(4),p("src",r.api.staticURL("admin/img/icons/tunnels.png"),Se),u(),O(" \xA0",r.tunnel==null?null:r.tunnel.name," "),u(),p("ngIf",Ct(9,4,r.tunnel)))},dependencies:[ue,bn,Jt,en,rn,ae,Ie,ho,yn],styles:[".row-maintenance-true>mat-cell{color:orange!important}"]});let n=i;return n})();var Ew=(()=>{let i=class i{constructor(t,o,r){this.route=t,this.rest=o,this.api=r,this.customButtons=[Mn.getGotoButton(By,"provider_id"),Mn.getGotoButton(jy,"provider_id","service_id"),Mn.getGotoButton(Hy,"osmanager_id"),Mn.getGotoButton(Wy,"pool_group_id")],this.editing=!1}ngOnInit(){return H(this,null,function*(){})}onChange(t){return H(this,null,function*(){let o=["initial_srvs","cache_l1_srvs","max_srvs"];if(t.on===null||t.on.field.name==="service_id"){if(t.all.service_id.value===""){t.all.osmanager_id.gui.choices=[];for(let a of o)t.all[a].gui.readonly=!0;t.all.cache_l2_srvs.gui.readonly=!0;return}let r=yield this.rest.providers.service(t.all.service_id.value);if(t.all.allow_users_reset.gui.readonly=!r.info.can_reset,t.all.osmanager_id.gui.choices=[],this.editing||(t.all.osmanager_id.gui.readonly=!r.info.needs_osmanager),r.info.needs_osmanager===!0){let a=yield this.rest.osManagers.overview(),s=[];for(let l of a)for(let m of l.servicesTypes)r.info.services_type_provided==m&&s.push({id:l.id,text:l.name});s.length>0?t.all.osmanager_id.value=t.all.osmanager_id.value||s[0].id:t.all.osmanager_id.value="",t.all.osmanager_id.gui.choices=s}else t.all.osmanager_id.gui.choices=[{id:"",text:django.gettext("(This service does not requires an OS Manager)")}],t.all.osmanager_id.value="";for(let a of o)t.all[a].gui.readonly=!r.info.uses_cache;t.all.cache_l2_srvs.gui.readonly=r.info.uses_cache===!1||r.info.uses_cache_l2===!1,t.all.publish_on_save&&(t.all.publish_on_save.gui.readonly=!r.info.needs_publication)}})}onNew(t){return H(this,null,function*(){this.editing=!1,yield this.api.gui.forms.typedNewForm(t,django.gettext("New service Pool"),!1,[{name:"publish_on_save",value:!0,gui:{label:django.gettext("Publish on creation"),tooltip:django.gettext("If selected, will initiate the publication inmediatly after creation"),type:Xn.CHECKBOX,order:150,default:"true"}}],this.onChange.bind(this))})}onEdit(t){return H(this,null,function*(){return this.editing=!0,this.api.gui.forms.typedEditForm(t,django.gettext("Edit Service Pool"),!1,void 0,this.onChange.bind(this))})}onDelete(t){return H(this,null,function*(){return this.api.gui.forms.deleteForm(t,django.gettext("Delete service pool"))})}processElement(t){t.visible=this.api.boolAsHumanString(t.visible),t.show_transports=this.api.boolAsHumanString(t.show_transports),t.restrained?(t.name='warning '+this.api.gui.icon(t.info.icon)+t.name,t.state="T"):(t.name=this.api.gui.icon(t.info.icon)+t.name,t.meta_member.length>0&&(t.state="V")),t.name=this.api.safeString(t.name),t.pool_group_name=this.api.safeString(this.api.gui.icon(t.pool_group_thumb)+t.pool_group_name)}onDetail(t){this.api.navigation.gotoServicePoolDetail(t.param.id)}onLoad(t){t.param===!0&&t.table.selectElement("id",this.route.snapshot.paramMap.get("pool"))}};i.\u0275fac=function(o){return new(o||i)(C(Re),C(Z),C(B))},i.\u0275cmp=E({type:i,selectors:[["uds-service-pools"]],standalone:!1,decls:1,vars:7,consts:[["icon","pools",3,"newAction","editAction","deleteAction","detailAction","loaded","rest","multiSelect","allowExport","hasPermissions","onItem","customButtons","pageSize"]],template:function(o,r){o&1&&(c(0,"uds-table",0),b("newAction",function(s){return r.onNew(s)})("editAction",function(s){return r.onEdit(s)})("deleteAction",function(s){return r.onDelete(s)})("detailAction",function(s){return r.onDetail(s)})("loaded",function(s){return r.onLoad(s)}),d()),o&2&&p("rest",r.rest.servicesPools)("multiSelect",!0)("allowExport",!0)("hasPermissions",!0)("onItem",r.processElement)("customButtons",r.customButtons)("pageSize",r.api.config.admin.page_size)},dependencies:[Ie],styles:[".mat-column-user_services_count, .mat-column-user_services_in_preparation, .mat-column-visible, .mat-column-state, .mat-column-usage{max-width:7rem;justify-content:center} .mat-column-show_transports{max-width:12rem;justify-content:center} .mat-column-pool_group_name{max-width:12rem} .row-state-T>.mat-mdc-cell{color:#d65014!important} .mat-column-user_services_count{max-width:10rem;justify-content:center} .mat-column-user_services_in_preparation{max-width:10rem;justify-content:center}"]});let n=i;return n})();function h7(n,i){if(n&1&&(c(0,"mat-option",8),f(1),d()),n&2){let e=i.$implicit;p("value",e.id),u(),O(" ",e.name," ")}}function f7(n,i){if(n&1&&(c(0,"mat-option",8),f(1),d()),n&2){let e=i.$implicit;p("value",e.id),u(),O(" ",e.name," ")}}var sg=(()=>{let i=class i{constructor(t,o,r,a){this.api=t,this.rest=o,this.dialogRef=r,this.done=new Xt,this.auths=[],this.users=[],this.userFilter="",this.authId="",this.userId="",this.userService=a.userService,this.userServices=a.userServices}static launch(t,o,r){let a=window.innerWidth<800?"60%":"40%";return t.gui.dialog.open(i,{width:a,position:{top:window.innerWidth<800?"0px":"7rem"},data:{userService:o,userServices:r},disableClose:!1}).componentInstance.done}ngOnInit(){return H(this,null,function*(){this.authId=this.userService.owner_info.auth_id||"",this.userId=this.userService.owner_info.user_id||"",this.auths=yield this.rest.authenticators.summary(),this.authChanged()})}changeAuth(t){this.userId="",this.authChanged()}filteredUsers(){if(!this.userFilter)return this.users;let t=new Array;return this.users.forEach(o=>{(this.userFilter===""||o.name.toLocaleLowerCase().includes(this.userFilter.toLocaleLowerCase()))&&t.push(o)}),t}save(){if(this.userId===""||this.authId===""){this.api.gui.alert(django.gettext("Error"),django.gettext("Please, select a valid user"));return}this.userServices.save({id:this.userService.id,auth_id:this.authId,user_id:this.userId}).then(()=>{this.dialogRef.close(),this.done.resolve(!0)})}cancel(){this.dialogRef.close(),this.done.resolve(!1)}authChanged(){return H(this,null,function*(){this.authId?this.users=yield this.rest.authenticators.detail(this.authId,"users").summary():this.users=[]})}};i.\u0275fac=function(o){return new(o||i)(C(B),C(Z),C(Ne),C(Ke))},i.\u0275cmp=E({type:i,selectors:[["uds-change-assigned-service-owner"]],standalone:!1,decls:25,vars:5,consts:[["mat-dialog-title",""],[1,"content"],[3,"ngModelChange","selectionChange","ngModel"],[3,"value",4,"ngFor","ngForOf"],[3,"ngModelChange","ngModel"],[3,"changed","options"],["mat-raised-button","","color","warn",3,"click"],["mat-raised-button","","color","primary",3,"click"],[3,"value"]],template:function(o,r){o&1&&(c(0,"h4",0)(1,"uds-translate"),f(2,"Change owner of assigned service"),d()(),c(3,"mat-dialog-content")(4,"div",1)(5,"mat-form-field")(6,"mat-label")(7,"uds-translate"),f(8,"Authenticator"),d()(),c(9,"mat-select",2),U("ngModelChange",function(s){return W(r.authId,s)||(r.authId=s),s}),b("selectionChange",function(s){return r.changeAuth(s)}),x(10,h7,2,2,"mat-option",3),d()(),c(11,"mat-form-field")(12,"mat-label")(13,"uds-translate"),f(14,"User"),d()(),c(15,"mat-select",4),U("ngModelChange",function(s){return W(r.userId,s)||(r.userId=s),s}),c(16,"uds-cond-select-search",5),b("changed",function(s){return r.userFilter=s}),d(),x(17,f7,2,2,"mat-option",3),d()()()(),c(18,"mat-dialog-actions")(19,"button",6),b("click",function(){return r.cancel()}),c(20,"uds-translate"),f(21,"Cancel"),d()(),c(22,"button",7),b("click",function(){return r.save()}),c(23,"uds-translate"),f(24,"Ok"),d()()()),o&2&&(u(9),z("ngModel",r.authId),u(),p("ngForOf",r.auths),u(5),z("ngModel",r.userId),u(),p("options",r.users),u(),p("ngForOf",r.filteredUsers()))},dependencies:[$e,we,xe,Te,Xe,et,Je,fe,ke,vt,nt,ae,pn],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:100%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}"]});let n=i;return n})();function g7(n,i){n&1&&(c(0,"uds-translate"),f(1,"New access rule for"),d())}function _7(n,i){n&1&&(c(0,"uds-translate"),f(1,"Edit access rule for"),d())}function v7(n,i){n&1&&(c(0,"uds-translate"),f(1,"Default fallback access for"),d())}function b7(n,i){if(n&1&&(c(0,"mat-option",11),f(1),d()),n&2){let e=i.$implicit;p("value",e.id),u(),O(" ",e.name," ")}}function y7(n,i){if(n&1){let e=k();ut(0),c(1,"mat-form-field")(2,"mat-label")(3,"uds-translate"),f(4,"Priority"),d()(),c(5,"input",8),U("ngModelChange",function(o){y(e);let r=_();return W(r.accessRule.priority,o)||(r.accessRule.priority=o),w(o)}),d()(),c(6,"mat-form-field")(7,"mat-label")(8,"uds-translate"),f(9,"Calendar"),d()(),c(10,"mat-select",3),U("ngModelChange",function(o){y(e);let r=_();return W(r.accessRule.calendar_id,o)||(r.accessRule.calendar_id=o),w(o)}),c(11,"uds-cond-select-search",9),b("changed",function(o){y(e);let r=_();return w(r.calendarsFilter=o)}),d(),x(12,b7,2,2,"mat-option",10),d()(),mt()}if(n&2){let e=_();u(5),z("ngModel",e.accessRule.priority),u(5),z("ngModel",e.accessRule.calendar_id),u(),p("options",e.calendars),u(),p("ngForOf",e.filtered(e.calendars,e.calendarsFilter))}}var Ql=(()=>{let i=class i{constructor(t,o,r,a){this.api=t,this.rest=o,this.dialogRef=r,this.onSave=new T(!0),this.calendars=[],this.calendarsFilter="",this.pool=a.pool,this.model=a.model,this.accessRule={id:void 0,priority:0,access:"ALLOW",calendar_id:""},a.accessRule&&(this.accessRule.id=a.accessRule.id)}static launch(t,o,r,a){let s=window.innerWidth<800?"80%":"60%";return t.gui.dialog.open(i,{width:s,position:{top:window.innerWidth<800?"0px":"7rem"},data:{pool:o,model:r,accessRule:a},disableClose:!1}).componentInstance.onSave}ngOnInit(){this.rest.calendars.summary().then(t=>{this.calendars=t}),this.accessRule.id!==void 0&&this.accessRule.id!==-1?this.model.get(this.accessRule.id).then(t=>{this.accessRule=t}):this.accessRule.id===-1&&this.model.parentModel.getFallbackAccess(this.pool.id).then(t=>this.accessRule.access=t)}filtered(t,o){return o?t.filter(r=>r.name.toLocaleLowerCase().includes(o.toLocaleLowerCase())):t}save(){let t=()=>{this.dialogRef.close(),this.onSave.emit(!0)};this.accessRule.id!==-1?this.model.save(this.accessRule).then(t):this.model.parentModel.setFallbackAccess(this.pool.id,this.accessRule.access).then(t)}};i.\u0275fac=function(o){return new(o||i)(C(B),C(Z),C(Ne),C(Ke))},i.\u0275cmp=E({type:i,selectors:[["uds-service-pools-access-calendars"]],standalone:!1,decls:24,vars:6,consts:[["mat-dialog-title",""],[4,"ngIf"],[1,"content"],[3,"ngModelChange","ngModel"],["value","ALLOW"],["value","DENY"],["mat-raised-button","","mat-dialog-close","","color","warn"],["mat-raised-button","","color","primary",3,"click"],["matInput","","type","number",3,"ngModelChange","ngModel"],[3,"changed","options"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(o,r){o&1&&(c(0,"h4",0),x(1,g7,2,0,"uds-translate",1)(2,_7,2,0,"uds-translate",1)(3,v7,2,0,"uds-translate",1),f(4),d(),c(5,"mat-dialog-content")(6,"div",2),x(7,y7,13,4,"ng-container",1),c(8,"mat-form-field")(9,"mat-label")(10,"uds-translate"),f(11,"Action"),d()(),c(12,"mat-select",3),U("ngModelChange",function(s){return W(r.accessRule.access,s)||(r.accessRule.access=s),s}),c(13,"mat-option",4),f(14," ALLOW "),d(),c(15,"mat-option",5),f(16," DENY "),d()()()()(),c(17,"mat-dialog-actions")(18,"button",6)(19,"uds-translate"),f(20,"Cancel"),d()(),c(21,"button",7),b("click",function(){return r.save()}),c(22,"uds-translate"),f(23,"Ok"),d()()()),o&2&&(u(),p("ngIf",r.accessRule.id===void 0),u(),p("ngIf",r.accessRule.id!==void 0&&r.accessRule.id!==-1),u(),p("ngIf",r.accessRule.id===-1),u(),O(" ",r.pool.name,` +`),u(3),p("ngIf",r.accessRule.id!==-1),u(5),z("ngModel",r.accessRule.access))},dependencies:[$e,ue,lt,Gi,we,xe,Te,Qt,Xe,et,Je,fe,ke,pt,vt,nt,ae,pn],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:100%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}"]});let n=i;return n})();function w7(n,i){if(n&1&&(c(0,"mat-option",8),f(1),d()),n&2){let e=i.$implicit;p("value",e.id),u(),O(" ",e.name," ")}}function C7(n,i){if(n&1&&(ut(0),f(1),mt()),n&2){let e=_().$implicit;u(),O(" (",e.comments,")")}}function x7(n,i){if(n&1&&(c(0,"mat-option",8),f(1),x(2,C7,2,1,"ng-container",9),d()),n&2){let e=i.$implicit;p("value",e.id),u(),O(" ",e.name,""),u(),p("ngIf",e.comments)}}var lg=(()=>{let i=class i{constructor(t,o,r,a){this.api=t,this.rest=o,this.dialogRef=r,this.done=new Xt,this.model={},this.auths=[],this.authFilter="",this.groups=[],this.groupFilter="",this.authId="",this.groupId="",this.pool=a.pool,this.model=a.model}static launch(t,o,r){let a=window.innerWidth<800?"60%":"40%";return t.gui.dialog.open(i,{width:a,position:{top:window.innerWidth<800?"0px":"7rem"},data:{pool:o,model:r},disableClose:!1}).componentInstance.done}ngOnInit(){return H(this,null,function*(){this.auths=yield this.rest.authenticators.summary()})}changeAuth(t){return H(this,null,function*(){this.groupId="",this.authChanged()})}filteredGroups(){return!this.groupFilter||this.groupFilter.length<3?this.groups:this.groups.filter(t=>(t.name+t.comments).toLocaleLowerCase().includes(this.groupFilter.toLocaleLowerCase()))}filteredAuths(){return!this.authFilter||this.authFilter.length<3?this.auths:this.auths.filter(t=>t.name.toLocaleLowerCase().includes(this.authFilter.toLocaleLowerCase()))}save(){return H(this,null,function*(){if(this.groupId===""||this.authId===""){this.api.gui.alert(django.gettext("Error"),django.gettext("Please, select a valid group"));return}yield this.model.create({id:this.groupId}),this.dialogRef.close(),this.done.resolve(!0)})}cancel(){return H(this,null,function*(){this.dialogRef.close(),this.done.resolve(!1)})}authChanged(){return H(this,null,function*(){this.authId?this.groups=yield this.rest.authenticators.detail(this.authId,"groups").summary():this.groups=[]})}};i.\u0275fac=function(o){return new(o||i)(C(B),C(Z),C(Ne),C(Ke))},i.\u0275cmp=E({type:i,selectors:[["uds-service-pools-add-group"]],standalone:!1,decls:27,vars:7,consts:[["mat-dialog-title",""],[1,"content"],[3,"ngModelChange","selectionChange","ngModel"],[3,"changed","options"],[3,"value",4,"ngFor","ngForOf"],[3,"ngModelChange","ngModel"],["mat-raised-button","","color","warn",3,"click"],["mat-raised-button","","color","primary",3,"click"],[3,"value"],[4,"ngIf"]],template:function(o,r){o&1&&(c(0,"h4",0)(1,"uds-translate"),f(2,"New group for"),d(),f(3),d(),c(4,"mat-dialog-content")(5,"div",1)(6,"mat-form-field")(7,"mat-label")(8,"uds-translate"),f(9,"Authenticator"),d()(),c(10,"mat-select",2),U("ngModelChange",function(s){return W(r.authId,s)||(r.authId=s),s}),b("selectionChange",function(s){return r.changeAuth(s)}),c(11,"uds-cond-select-search",3),b("changed",function(s){return r.authFilter=s}),d(),x(12,w7,2,2,"mat-option",4),d()(),c(13,"mat-form-field")(14,"mat-label")(15,"uds-translate"),f(16,"Group"),d()(),c(17,"mat-select",5),U("ngModelChange",function(s){return W(r.groupId,s)||(r.groupId=s),s}),c(18,"uds-cond-select-search",3),b("changed",function(s){return r.groupFilter=s}),d(),x(19,x7,3,3,"mat-option",4),d()()()(),c(20,"mat-dialog-actions")(21,"button",6),b("click",function(){return r.cancel()}),c(22,"uds-translate"),f(23,"Cancel"),d()(),c(24,"button",7),b("click",function(){return r.save()}),c(25,"uds-translate"),f(26,"Ok"),d()()()),o&2&&(u(3),O(" ",r.pool.name,""),u(7),z("ngModel",r.authId),u(),p("options",r.auths),u(),p("ngForOf",r.filteredAuths()),u(5),z("ngModel",r.groupId),u(),p("options",r.groups),u(),p("ngForOf",r.filteredGroups()))},dependencies:[$e,ue,we,xe,Te,Xe,et,Je,fe,ke,vt,nt,ae,pn],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:100%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}"]});let n=i;return n})();function D7(n,i){if(n&1&&(ut(0),f(1),mt()),n&2){let e=_().$implicit;u(),O(" (",e.comments,")")}}function S7(n,i){if(n&1&&(c(0,"mat-option",7),f(1),x(2,D7,2,1,"ng-container",8),d()),n&2){let e=i.$implicit;p("value",e.id),u(),O(" ",e.name,""),u(),p("ngIf",e.comments)}}var kA=(()=>{let i=class i{constructor(t,o,r,a){this.api=t,this.rest=o,this.dialogRef=r,this.done=new Xt,this.transports=[],this.transportsFilter="",this.transportId="",this.servicePool=a.servicePool}static launch(t,o){let r=window.innerWidth<800?"60%":"40%";return t.gui.dialog.open(i,{width:r,position:{top:window.innerWidth<800?"0px":"7rem"},data:{servicePool:o},disableClose:!1}).componentInstance.done}ngOnInit(){return H(this,null,function*(){this.transports=(yield this.rest.transports.summary()).filter(t=>this.servicePool.info.allowed_protocols.includes(t.protocol))})}filteredTransports(){return this.transportsFilter?this.transports.filter(t=>t.name.toLocaleLowerCase().includes(this.transportsFilter.toLocaleLowerCase())):this.transports}save(){return H(this,null,function*(){if(this.transportId===""){this.api.gui.alert(django.gettext("Error"),django.gettext("Please, select a valid transport"));return}yield this.rest.servicesPools.detail(this.servicePool.id,"transports").create({id:this.transportId}),this.done.resolve(!0),this.dialogRef.close()})}cancel(){return H(this,null,function*(){this.done.resolve(!1),this.dialogRef.close()})}};i.\u0275fac=function(o){return new(o||i)(C(B),C(Z),C(Ne),C(Ke))},i.\u0275cmp=E({type:i,selectors:[["uds-service-pools-add-transport"]],standalone:!1,decls:20,vars:4,consts:[["mat-dialog-title",""],[1,"content"],[3,"ngModelChange","ngModel"],[3,"changed","options"],[3,"value",4,"ngFor","ngForOf"],["mat-raised-button","","color","warn",3,"click"],["mat-raised-button","","color","primary",3,"click"],[3,"value"],[4,"ngIf"]],template:function(o,r){o&1&&(c(0,"h4",0)(1,"uds-translate"),f(2,"New transport for"),d(),f(3),d(),c(4,"mat-dialog-content")(5,"div",1)(6,"mat-form-field")(7,"mat-label")(8,"uds-translate"),f(9,"Transport"),d()(),c(10,"mat-select",2),U("ngModelChange",function(s){return W(r.transportId,s)||(r.transportId=s),s}),c(11,"uds-cond-select-search",3),b("changed",function(s){return r.transportsFilter=s}),d(),x(12,S7,3,3,"mat-option",4),d()()()(),c(13,"mat-dialog-actions")(14,"button",5),b("click",function(){return r.cancel()}),c(15,"uds-translate"),f(16,"Cancel"),d()(),c(17,"button",6),b("click",function(){return r.save()}),c(18,"uds-translate"),f(19,"Ok"),d()()()),o&2&&(u(3),O(" ",r.servicePool.name,""),u(7),z("ngModel",r.transportId),u(),p("options",r.transports),u(),p("ngForOf",r.filteredTransports()))},dependencies:[$e,ue,we,xe,Te,Xe,et,Je,fe,ke,vt,nt,ae,pn],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:100%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}"]});let n=i;return n})();var AA=(()=>{let i=class i{constructor(t,o,r,a){this.api=t,this.rest=o,this.dialogRef=r,this.done=new Xt,this.reason="",this.servicePool=a.servicePool}static launch(t,o){let r=window.innerWidth<800?"60%":"40%";return t.gui.dialog.open(i,{width:r,position:{top:window.innerWidth<800?"0px":"7rem"},data:{servicePool:o},disableClose:!1}).componentInstance.done}ngOnInit(){}save(){this.rest.servicesPools.detail(this.servicePool.id,"publications").invoke("publish","changelog="+encodeURIComponent(this.reason)).then(()=>{this.dialogRef.close(),this.done.resolve(!0)})}cancel(){this.dialogRef.close(),this.done.resolve(!1)}};i.\u0275fac=function(o){return new(o||i)(C(B),C(Z),C(Ne),C(Ke))},i.\u0275cmp=E({type:i,selectors:[["uds-service-pools-new-publication"]],standalone:!1,decls:18,vars:2,consts:[["mat-dialog-title",""],[1,"content"],["matInput","","type","text",3,"ngModelChange","ngModel"],["mat-raised-button","","color","warn",3,"click"],["mat-raised-button","","color","primary",3,"click"]],template:function(o,r){o&1&&(c(0,"h4",0)(1,"uds-translate"),f(2,"New publication for"),d(),f(3),d(),c(4,"mat-dialog-content")(5,"div",1)(6,"mat-form-field")(7,"mat-label")(8,"uds-translate"),f(9,"Comments"),d()(),c(10,"input",2),U("ngModelChange",function(s){return W(r.reason,s)||(r.reason=s),s}),d()()()(),c(11,"mat-dialog-actions")(12,"button",3),b("click",function(){return r.cancel()}),c(13,"uds-translate"),f(14,"Cancel"),d()(),c(15,"button",4),b("click",function(){return r.save()}),c(16,"uds-translate"),f(17,"Ok"),d()()()),o&2&&(u(3),O(" ",r.servicePool.name,` +`),u(7),z("ngModel",r.reason))},dependencies:[lt,we,xe,Te,Xe,et,Je,fe,ke,pt,ae],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:100%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}"]});let n=i;return n})();var RA=(()=>{let i=class i{constructor(t,o,r,a){this.api=t,this.rest=o,this.dialogRef=r,this.onSave=new T(!0),this.changeLogPubs={},this.servicePool=a.servicePool}static launch(t,o){let r=window.innerWidth<800?"80%":"60%",a=t.gui.dialog.open(i,{width:r,position:{top:window.innerWidth<800?"0px":"7rem"},data:{servicePool:o},disableClose:!1})}ngOnInit(){this.changeLogPubs=this.rest.servicesPools.detail(this.servicePool.id,"changelog")}};i.\u0275fac=function(o){return new(o||i)(C(B),C(Z),C(Ne),C(Ke))},i.\u0275cmp=E({type:i,selectors:[["uds-service-pools-publications-changelog"]],standalone:!1,decls:11,vars:4,consts:[["changeLog",""],["mat-dialog-title",""],["icon","publications",3,"rest","allowExport","tableId"],["mat-raised-button","","color","primary","mat-dialog-close",""]],template:function(o,r){o&1&&(c(0,"h4",1)(1,"uds-translate"),f(2,"Changelog of"),d(),f(3),d(),c(4,"mat-dialog-content"),M(5,"uds-table",2,0),d(),c(7,"mat-dialog-actions")(8,"button",3)(9,"uds-translate"),f(10,"Ok"),d()()()),o&2&&(u(3),O(" ",r.servicePool.name,` +`),u(2),p("rest",r.changeLogPubs)("allowExport",!0)("tableId","servicePools-d-changelog"+r.servicePool.id))},dependencies:[Te,Qt,Xe,et,Je,ae,Ie],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}"]});let n=i;return n})();var E7=["switch"],M7=["*"];function I7(n,i){n&1&&(c(0,"span",10),fn(),c(1,"svg",12),M(2,"path",13),d(),c(3,"svg",14),M(4,"path",15),d()())}var T7=new R("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1,hideIcon:!1,disabledInteractive:!1})}),k7={provide:bi,useExisting:ln(()=>sr),multi:!0},cg=class{source;checked;constructor(i,e){this.source=i,this.checked=e}},sr=(()=>{class n{_elementRef=h(Q);_focusMonitor=h(Pn);_changeDetectorRef=h(Ee);defaults=h(T7);_onChange=e=>{};_onTouched=()=>{};_validatorOnChange=()=>{};_uniqueId;_checked=!1;_createChangeEvent(e){return new cg(this,e)}_labelId;get buttonId(){return`${this.id||this._uniqueId}-button`}_switchElement;focus(){this._switchElement.nativeElement.focus()}_noopAnimations;_focused;name=null;id;labelPosition="after";ariaLabel=null;ariaLabelledby=null;ariaDescribedby;required;color;disabled=!1;disableRipple=!1;tabIndex=0;get checked(){return this._checked}set checked(e){this._checked=e,this._changeDetectorRef.markForCheck()}hideIcon;disabledInteractive;change=new T;toggleChange=new T;get inputId(){return`${this.id||this._uniqueId}-input`}constructor(){h(Mt).load(Dn);let e=h(new jn("tabindex"),{optional:!0}),t=this.defaults,o=h($t,{optional:!0});this.tabIndex=e==null?0:parseInt(e)||0,this.color=t.color||"accent",this._noopAnimations=o==="NoopAnimations",this.id=this._uniqueId=h(ft).getId("mat-mdc-slide-toggle-"),this.hideIcon=t.hideIcon??!1,this.disabledInteractive=t.disabledInteractive??!1,this._labelId=this._uniqueId+"-label"}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{e==="keyboard"||e==="program"?(this._focused=!0,this._changeDetectorRef.markForCheck()):e||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnChanges(e){e.required&&this._validatorOnChange()}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(e){this.checked=!!e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}validate(e){return this.required&&e.value!==!0?{required:!0}:null}registerOnValidatorChange(e){this._validatorOnChange=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck()}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(this._createChangeEvent(this.checked))}_handleClick(){this.disabled||(this.toggleChange.emit(),this.defaults.disableToggleValue||(this.checked=!this.checked,this._onChange(this.checked),this.change.emit(new cg(this,this.checked))))}_getAriaLabelledBy(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["mat-slide-toggle"]],viewQuery:function(t,o){if(t&1&&se(E7,5),t&2){let r;$(r=q())&&(o._switchElement=r.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:13,hostBindings:function(t,o){t&2&&(En("id",o.id),ee("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),Yt(o.color?"mat-"+o.color:""),ne("mat-mdc-slide-toggle-focused",o._focused)("mat-mdc-slide-toggle-checked",o.checked)("_mat-animation-noopable",o._noopAnimations))},inputs:{name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],required:[2,"required","required",G],color:"color",disabled:[2,"disabled","disabled",G],disableRipple:[2,"disableRipple","disableRipple",G],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:on(e)],checked:[2,"checked","checked",G],hideIcon:[2,"hideIcon","hideIcon",G],disabledInteractive:[2,"disabledInteractive","disabledInteractive",G]},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],features:[ye([k7,{provide:lo,useExisting:n,multi:!0}]),ce,Ze],ngContentSelectors:M7,decls:13,vars:27,consts:[["switch",""],["mat-internal-form-field","",3,"labelPosition"],["role","switch","type","button",1,"mdc-switch",3,"click","tabIndex","disabled"],[1,"mdc-switch__track"],[1,"mdc-switch__handle-track"],[1,"mdc-switch__handle"],[1,"mdc-switch__shadow"],[1,"mdc-elevation-overlay"],[1,"mdc-switch__ripple"],["mat-ripple","",1,"mat-mdc-slide-toggle-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-switch__icons"],[1,"mdc-label",3,"click","for"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--on"],["d","M19.69,5.23L8.96,15.96l-4.23-4.23L2.96,13.5l6,6L21.46,7L19.69,5.23z"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--off"],["d","M20 13H4v-2h16v2z"]],template:function(t,o){if(t&1){let r=k();We(),c(0,"div",1)(1,"button",2,0),b("click",function(){return y(r),w(o._handleClick())}),M(3,"span",3),c(4,"span",4)(5,"span",5)(6,"span",6),M(7,"span",7),d(),c(8,"span",8),M(9,"span",9),d(),x(10,I7,5,0,"span",10),d()()(),c(11,"label",11),b("click",function(s){return y(r),w(s.stopPropagation())}),re(12),d()()}if(t&2){let r=be(2);p("labelPosition",o.labelPosition),u(),ne("mdc-switch--selected",o.checked)("mdc-switch--unselected",!o.checked)("mdc-switch--checked",o.checked)("mdc-switch--disabled",o.disabled)("mat-mdc-slide-toggle-disabled-interactive",o.disabledInteractive),p("tabIndex",o.disabled&&!o.disabledInteractive?-1:o.tabIndex)("disabled",o.disabled&&!o.disabledInteractive),ee("id",o.buttonId)("name",o.name)("aria-label",o.ariaLabel)("aria-labelledby",o._getAriaLabelledBy())("aria-describedby",o.ariaDescribedby)("aria-required",o.required||null)("aria-checked",o.checked)("aria-disabled",o.disabled&&o.disabledInteractive?"true":null),u(8),p("matRippleTrigger",r)("matRippleDisabled",o.disableRipple||o.disabled)("matRippleCentered",!0),u(),Ce(o.hideIcon?-1:10),u(),p("for",o.buttonId),ee("id",o._labelId)}},dependencies:[so,xh],styles:['.mdc-switch{align-items:center;background:none;border:none;cursor:pointer;display:inline-flex;flex-shrink:0;margin:0;outline:none;overflow:visible;padding:0;position:relative;width:var(--mdc-switch-track-width, 52px)}.mdc-switch.mdc-switch--disabled{cursor:default;pointer-events:none}.mdc-switch.mat-mdc-slide-toggle-disabled-interactive{pointer-events:auto}.mdc-switch__track{overflow:hidden;position:relative;width:100%;height:var(--mdc-switch-track-height, 32px);border-radius:var(--mdc-switch-track-shape, var(--mat-sys-corner-full))}.mdc-switch--disabled.mdc-switch .mdc-switch__track{opacity:var(--mdc-switch-disabled-track-opacity, 0.12)}.mdc-switch__track::before,.mdc-switch__track::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";height:100%;left:0;position:absolute;width:100%;border-width:var(--mat-switch-track-outline-width, 2px);border-color:var(--mat-switch-track-outline-color, var(--mat-sys-outline))}.mdc-switch--selected .mdc-switch__track::before,.mdc-switch--selected .mdc-switch__track::after{border-width:var(--mat-switch-selected-track-outline-width, 2px);border-color:var(--mat-switch-selected-track-outline-color, transparent)}.mdc-switch--disabled .mdc-switch__track::before,.mdc-switch--disabled .mdc-switch__track::after{border-width:var(--mat-switch-disabled-unselected-track-outline-width, 2px);border-color:var(--mat-switch-disabled-unselected-track-outline-color, var(--mat-sys-on-surface))}@media(forced-colors: active){.mdc-switch__track{border-color:currentColor}}.mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0);background:var(--mdc-switch-unselected-track-color, var(--mat-sys-surface-variant))}.mdc-switch--selected .mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch--selected .mdc-switch__track::before{transform:translateX(-100%)}.mdc-switch--selected .mdc-switch__track::before{opacity:var(--mat-switch-hidden-track-opacity, 0);transition:var(--mat-switch-hidden-track-transition, opacity 75ms)}.mdc-switch--unselected .mdc-switch__track::before{opacity:var(--mat-switch-visible-track-opacity, 1);transition:var(--mat-switch-visible-track-transition, opacity 75ms)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-hover-track-color, var(--mat-sys-surface-variant))}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-focus-track-color, var(--mat-sys-surface-variant))}.mdc-switch:enabled:active .mdc-switch__track::before{background:var(--mdc-switch-unselected-pressed-track-color, var(--mat-sys-surface-variant))}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__track::before,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__track::before,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__track::before,.mdc-switch.mdc-switch--disabled .mdc-switch__track::before{background:var(--mdc-switch-disabled-unselected-track-color, var(--mat-sys-surface-variant))}.mdc-switch__track::after{transform:translateX(-100%);background:var(--mdc-switch-selected-track-color, var(--mat-sys-primary))}[dir=rtl] .mdc-switch__track::after{transform:translateX(100%)}.mdc-switch--selected .mdc-switch__track::after{transform:translateX(0)}.mdc-switch--selected .mdc-switch__track::after{opacity:var(--mat-switch-visible-track-opacity, 1);transition:var(--mat-switch-visible-track-transition, opacity 75ms)}.mdc-switch--unselected .mdc-switch__track::after{opacity:var(--mat-switch-hidden-track-opacity, 0);transition:var(--mat-switch-hidden-track-transition, opacity 75ms)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-hover-track-color, var(--mat-sys-primary))}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-focus-track-color, var(--mat-sys-primary))}.mdc-switch:enabled:active .mdc-switch__track::after{background:var(--mdc-switch-selected-pressed-track-color, var(--mat-sys-primary))}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__track::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__track::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__track::after,.mdc-switch.mdc-switch--disabled .mdc-switch__track::after{background:var(--mdc-switch-disabled-selected-track-color, var(--mat-sys-on-surface))}.mdc-switch__handle-track{height:100%;pointer-events:none;position:absolute;top:0;transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);left:0;right:auto;transform:translateX(0);width:calc(100% - var(--mdc-switch-handle-width))}[dir=rtl] .mdc-switch__handle-track{left:auto;right:0}.mdc-switch--selected .mdc-switch__handle-track{transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__handle-track{transform:translateX(-100%)}.mdc-switch__handle{display:flex;pointer-events:auto;position:absolute;top:50%;transform:translateY(-50%);left:0;right:auto;transition:width 75ms cubic-bezier(0.4, 0, 0.2, 1),height 75ms cubic-bezier(0.4, 0, 0.2, 1),margin 75ms cubic-bezier(0.4, 0, 0.2, 1);width:var(--mdc-switch-handle-width);height:var(--mdc-switch-handle-height);border-radius:var(--mdc-switch-handle-shape, var(--mat-sys-corner-full))}[dir=rtl] .mdc-switch__handle{left:auto;right:0}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle{width:var(--mat-switch-unselected-handle-size, 16px);height:var(--mat-switch-unselected-handle-size, 16px);margin:var(--mat-switch-unselected-handle-horizontal-margin, 0 8px)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-switch-unselected-with-icon-handle-horizontal-margin, 0 4px)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle{width:var(--mat-switch-selected-handle-size, 24px);height:var(--mat-switch-selected-handle-size, 24px);margin:var(--mat-switch-selected-handle-horizontal-margin, 0 24px)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-switch-selected-with-icon-handle-horizontal-margin, 0 24px)}.mat-mdc-slide-toggle .mdc-switch__handle:has(.mdc-switch__icons){width:var(--mat-switch-with-icon-handle-size, 24px);height:var(--mat-switch-with-icon-handle-size, 24px)}.mat-mdc-slide-toggle .mdc-switch:active:not(.mdc-switch--disabled) .mdc-switch__handle{width:var(--mat-switch-pressed-handle-size, 28px);height:var(--mat-switch-pressed-handle-size, 28px)}.mat-mdc-slide-toggle .mdc-switch--selected:active:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-switch-selected-pressed-handle-horizontal-margin, 0 22px)}.mat-mdc-slide-toggle .mdc-switch--unselected:active:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-switch-unselected-pressed-handle-horizontal-margin, 0 2px)}.mdc-switch--disabled.mdc-switch--selected .mdc-switch__handle::after{opacity:var(--mat-switch-disabled-selected-handle-opacity, 1)}.mdc-switch--disabled.mdc-switch--unselected .mdc-switch__handle::after{opacity:var(--mat-switch-disabled-unselected-handle-opacity, 0.38)}.mdc-switch__handle::before,.mdc-switch__handle::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";width:100%;height:100%;left:0;position:absolute;top:0;transition:background-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1),border-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);z-index:-1}@media(forced-colors: active){.mdc-switch__handle::before,.mdc-switch__handle::after{border-color:currentColor}}.mdc-switch--selected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-selected-handle-color, var(--mat-sys-on-primary))}.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-hover-handle-color, var(--mat-sys-primary-container))}.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-focus-handle-color, var(--mat-sys-primary-container))}.mdc-switch--selected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-selected-pressed-handle-color, var(--mat-sys-primary-container))}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:hover:not(:focus):not(:active) .mdc-switch__handle::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:focus:not(:active) .mdc-switch__handle::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:active .mdc-switch__handle::after,.mdc-switch--selected.mdc-switch--disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-selected-handle-color, var(--mat-sys-surface))}.mdc-switch--unselected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-unselected-handle-color, var(--mat-sys-outline))}.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-hover-handle-color, var(--mat-sys-on-surface-variant))}.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-focus-handle-color, var(--mat-sys-on-surface-variant))}.mdc-switch--unselected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-unselected-pressed-handle-color, var(--mat-sys-on-surface-variant))}.mdc-switch--unselected.mdc-switch--disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-unselected-handle-color, var(--mat-sys-on-surface))}.mdc-switch__handle::before{background:var(--mdc-switch-handle-surface-color)}.mdc-switch__shadow{border-radius:inherit;bottom:0;left:0;position:absolute;right:0;top:0}.mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation-shadow)}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__shadow,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__shadow,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__shadow,.mdc-switch.mdc-switch--disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation-shadow)}.mdc-switch__ripple{left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);z-index:-1;width:var(--mdc-switch-state-layer-size, 40px);height:var(--mdc-switch-state-layer-size, 40px)}.mdc-switch__ripple::after{content:"";opacity:0}.mdc-switch--disabled .mdc-switch__ripple::after{display:none}.mat-mdc-slide-toggle-disabled-interactive .mdc-switch__ripple::after{display:block}.mdc-switch:hover .mdc-switch__ripple::after{opacity:.04;transition:75ms opacity cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mdc-switch .mdc-switch__ripple::after{opacity:.12}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:focus .mdc-switch__ripple::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:active .mdc-switch__ripple::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:hover:not(:focus) .mdc-switch__ripple::after,.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background:var(--mdc-switch-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::after{background:var(--mdc-switch-unselected-focus-state-layer-color, var(--mat-sys-on-surface))}.mdc-switch--unselected:enabled:active .mdc-switch__ripple::after{background:var(--mdc-switch-unselected-pressed-state-layer-color, var(--mat-sys-on-surface));opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));transition:opacity 75ms linear}.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background:var(--mdc-switch-selected-hover-state-layer-color, var(--mat-sys-primary))}.mdc-switch--selected:enabled:focus .mdc-switch__ripple::after{background:var(--mdc-switch-selected-focus-state-layer-color, var(--mat-sys-primary))}.mdc-switch--selected:enabled:active .mdc-switch__ripple::after{background:var(--mdc-switch-selected-pressed-state-layer-color, var(--mat-sys-primary));opacity:var(--mdc-switch-selected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));transition:opacity 75ms linear}.mdc-switch__icons{position:relative;height:100%;width:100%;z-index:1}.mdc-switch--disabled.mdc-switch--unselected .mdc-switch__icons{opacity:var(--mdc-switch-disabled-unselected-icon-opacity, 0.38)}.mdc-switch--disabled.mdc-switch--selected .mdc-switch__icons{opacity:var(--mdc-switch-disabled-selected-icon-opacity, 0.38)}.mdc-switch__icon{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0;opacity:0;transition:opacity 30ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-switch--unselected .mdc-switch__icon{width:var(--mdc-switch-unselected-icon-size, 16px);height:var(--mdc-switch-unselected-icon-size, 16px);fill:var(--mdc-switch-unselected-icon-color, var(--mat-sys-surface-variant))}.mdc-switch--unselected.mdc-switch--disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-unselected-icon-color, var(--mat-sys-surface-variant))}.mdc-switch--selected .mdc-switch__icon{width:var(--mdc-switch-selected-icon-size, 16px);height:var(--mdc-switch-selected-icon-size, 16px);fill:var(--mdc-switch-selected-icon-color, var(--mat-sys-on-primary-container))}.mdc-switch--selected.mdc-switch--disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-selected-icon-color, var(--mat-sys-on-surface))}.mdc-switch--selected .mdc-switch__icon--on,.mdc-switch--unselected .mdc-switch__icon--off{opacity:1;transition:opacity 45ms 30ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle{-webkit-user-select:none;user-select:none;display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple,.mat-mdc-slide-toggle .mdc-switch__ripple::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple:not(:empty),.mat-mdc-slide-toggle .mdc-switch__ripple::after:not(:empty){transform:translateZ(0)}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mat-focus-indicator::before{content:""}.mat-mdc-slide-toggle .mat-internal-form-field{color:var(--mat-switch-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-switch-label-text-font, var(--mat-sys-body-medium-font));line-height:var(--mat-switch-label-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-switch-label-text-size, var(--mat-sys-body-medium-size));letter-spacing:var(--mat-switch-label-text-tracking, var(--mat-sys-body-medium-tracking));font-weight:var(--mat-switch-label-text-weight, var(--mat-sys-body-medium-weight))}.mat-mdc-slide-toggle .mat-ripple-element{opacity:.12}.mat-mdc-slide-toggle .mat-focus-indicator::before{border-radius:50%}.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle-track,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__icon,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::after,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::after{transition:none}.mat-mdc-slide-toggle .mdc-switch:enabled+.mdc-label{cursor:pointer}.mat-mdc-slide-toggle .mdc-switch--disabled+label{color:var(--mdc-switch-disabled-label-text-color)}'],encapsulation:2,changeDetection:0})}return n})();var OA=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({imports:[sr,me,me]})}return n})();var A7=()=>["transport","group","bool"];function R7(n,i){n&1&&(ut(0),c(1,"uds-translate"),f(2,"Edit action for"),d(),mt())}function O7(n,i){n&1&&(c(0,"uds-translate"),f(1,"New action for"),d())}function P7(n,i){if(n&1&&(c(0,"mat-option",13),f(1),d()),n&2){let e=i.$implicit;p("value",e.id),u(),O(" ",e.name," ")}}function F7(n,i){if(n&1&&(c(0,"mat-option",13),f(1),d()),n&2){let e=i.$implicit;p("value",e.id),u(),O(" ",e.description," ")}}function N7(n,i){if(n&1&&(c(0,"mat-option",13),f(1),d()),n&2){let e=i.$implicit;p("value",e.id),u(),O(" ",e.name," ")}}function L7(n,i){if(n&1){let e=k();ut(0),c(1,"mat-form-field")(2,"mat-label")(3,"uds-translate"),f(4,"Transport"),d()(),c(5,"mat-select",4),U("ngModelChange",function(o){y(e);let r=_();return W(r.paramValue,o)||(r.paramValue=o),w(o)}),c(6,"uds-cond-select-search",5),b("changed",function(o){y(e);let r=_();return w(r.transportsFilter=o)}),d(),x(7,N7,2,2,"mat-option",6),d()(),mt()}if(n&2){let e=_();u(5),z("ngModel",e.paramValue),u(),p("options",e.transports),u(),p("ngForOf",e.filtered(e.transports,e.transportsFilter))}}function V7(n,i){if(n&1&&(c(0,"mat-option",13),f(1),d()),n&2){let e=i.$implicit;p("value",e.id),u(),O(" ",e.name," ")}}function B7(n,i){if(n&1&&(c(0,"mat-option",13),f(1),d()),n&2){let e=i.$implicit,t=_(2);p("value",t.authenticator+"@"+e.id),u(),O(" ",e.name," ")}}function j7(n,i){if(n&1){let e=k();ut(0),c(1,"mat-form-field")(2,"mat-label")(3,"uds-translate"),f(4,"Authenticator"),d()(),c(5,"mat-select",9),U("ngModelChange",function(o){y(e);let r=_();return W(r.authenticator,o)||(r.authenticator=o),w(o)}),b("valueChange",function(o){y(e);let r=_();return w(r.authenticatorChangedTo(o))}),x(6,V7,2,2,"mat-option",6),d()(),c(7,"mat-form-field")(8,"mat-label")(9,"uds-translate"),f(10,"Group"),d()(),c(11,"mat-select",4),U("ngModelChange",function(o){y(e);let r=_();return W(r.paramValue,o)||(r.paramValue=o),w(o)}),c(12,"uds-cond-select-search",5),b("changed",function(o){y(e);let r=_();return w(r.groupsFilter=o)}),d(),x(13,B7,2,2,"mat-option",6),d()(),mt()}if(n&2){let e=_();u(5),z("ngModel",e.authenticator),u(),p("ngForOf",e.authenticators),u(5),z("ngModel",e.paramValue),u(),p("options",e.groups),u(),p("ngForOf",e.filtered(e.groups,e.groupsFilter))}}function z7(n,i){if(n&1){let e=k();ut(0),c(1,"div",14)(2,"span",15),f(3),d(),f(4,"\xA0 "),c(5,"mat-slide-toggle",4),U("ngModelChange",function(o){y(e);let r=_();return W(r.paramValue,o)||(r.paramValue=o),w(o)}),d()(),mt()}if(n&2){let e=_();u(3),Ge(e.parameter.description),u(2),z("ngModel",e.paramValue)}}function U7(n,i){if(n&1){let e=k();ut(0),c(1,"mat-form-field")(2,"mat-label"),f(3),d(),c(4,"input",16),U("ngModelChange",function(o){y(e);let r=_();return W(r.paramValue,o)||(r.paramValue=o),w(o)}),d()(),mt()}if(n&2){let e=_();u(3),O(" ",e.parameter.description," "),u(),p("type",e.parameter.type),z("ngModel",e.paramValue)}}var Mw=(()=>{let i=class i{constructor(t,o,r,a){this.api=t,this.rest=o,this.dialogRef=r,this.onSave=new T(!0),this.calendars=[],this.actionList=[],this.authenticators=[],this.transports=[],this.groups=[],this.paramsDict={},this.calendarsFilter="",this.groupsFilter="",this.transportsFilter="",this.authenticator="",this.parameter={},this.paramValue="",this.servicePool=a.servicePool,this.scheduledAction={id:void 0,action:"",calendar:"",calendar_id:"",at_start:!0,events_offset:0,params:{}},a.scheduledAction!==void 0&&(this.scheduledAction.id=a.scheduledAction.id)}static launch(t,o,r){let a=window.innerWidth<800?"80%":"60%";return t.gui.dialog.open(i,{width:a,position:{top:window.innerWidth<800?"0px":"7rem"},data:{servicePool:o,scheduledAction:r},disableClose:!1}).componentInstance.onSave}ngOnInit(){this.rest.authenticators.summary().then(t=>this.authenticators=t),this.rest.transports.summary().then(t=>this.transports=t),this.rest.calendars.summary().then(t=>this.calendars=t),this.rest.servicesPools.actionsList(this.servicePool.id).then(t=>{this.actionList=t,this.actionList.forEach(o=>{this.paramsDict[o.id]=o.params[0]}),this.scheduledAction.id!==void 0&&this.rest.servicesPools.detail(this.servicePool.id,"actions").get(this.scheduledAction.id).then(o=>{this.scheduledAction=o,this.actionChangedTo(this.scheduledAction.action)})})}filtered(t,o){return o?t.filter(r=>r.name.toLocaleLowerCase().includes(o.toLocaleLowerCase())):t}actionChangedTo(t){if(this.parameter=this.paramsDict[t],this.parameter!==void 0&&(this.paramValue=this.scheduledAction.params[this.parameter.name],this.paramValue===void 0&&(this.parameter.default!==!1?this.paramValue=this.parameter.default||"":this.paramValue=!1),this.parameter.type==="group")){let o=this.paramValue.split("@");o.length!==2&&(o=["",""]),this.authenticator=o[0],this.authenticatorChangedTo(this.authenticator)}}authenticatorChangedTo(t){return H(this,null,function*(){t&&(this.groups=yield this.rest.authenticators.detail(t,"groups").summary())})}save(){return H(this,null,function*(){this.scheduledAction.params={},this.parameter&&(this.scheduledAction.params[this.parameter.name]=this.paramValue),yield this.rest.servicesPools.detail(this.servicePool.id,"actions").save(this.scheduledAction),this.dialogRef.close(),this.onSave.emit(!0)})}};i.\u0275fac=function(o){return new(o||i)(C(B),C(Z),C(Ne),C(Ke))},i.\u0275cmp=E({type:i,selectors:[["uds-service-pools-scheduled-action"]],standalone:!1,decls:40,vars:15,consts:[["editTitle",""],["mat-dialog-title",""],[4,"ngIf","ngIfElse"],[1,"content"],[3,"ngModelChange","ngModel"],[3,"changed","options"],[3,"value",4,"ngFor","ngForOf"],["matInput","","type","number",3,"ngModelChange","ngModel"],[1,"toggle"],[3,"ngModelChange","valueChange","ngModel"],[4,"ngIf"],["mat-raised-button","","mat-dialog-close","","color","warn"],["mat-raised-button","","color","primary",3,"click"],[3,"value"],[1,"mat-form-field-infix"],[1,"label"],["matInput","",3,"ngModelChange","type","ngModel"]],template:function(o,r){if(o&1){let a=k();c(0,"h4",1),x(1,R7,3,0,"ng-container",2)(2,O7,2,0,"ng-template",null,0,gn),f(4),d(),c(5,"mat-dialog-content")(6,"div",3)(7,"mat-form-field")(8,"mat-label")(9,"uds-translate"),f(10,"Calendar"),d()(),c(11,"mat-select",4),U("ngModelChange",function(l){return y(a),W(r.scheduledAction.calendar_id,l)||(r.scheduledAction.calendar_id=l),w(l)}),c(12,"uds-cond-select-search",5),b("changed",function(l){return y(a),w(r.calendarsFilter=l)}),d(),x(13,P7,2,2,"mat-option",6),d()(),c(14,"mat-form-field")(15,"mat-label")(16,"uds-translate"),f(17,"Events offset (minutes)"),d()(),c(18,"input",7),U("ngModelChange",function(l){return y(a),W(r.scheduledAction.events_offset,l)||(r.scheduledAction.events_offset=l),w(l)}),d()(),c(19,"div",8)(20,"mat-slide-toggle",4),U("ngModelChange",function(l){return y(a),W(r.scheduledAction.at_start,l)||(r.scheduledAction.at_start=l),w(l)}),c(21,"uds-translate"),f(22,"At the beginning of the interval?"),d()()(),c(23,"mat-form-field")(24,"mat-label")(25,"uds-translate"),f(26,"Action"),d()(),c(27,"mat-select",9),U("ngModelChange",function(l){return y(a),W(r.scheduledAction.action,l)||(r.scheduledAction.action=l),w(l)}),b("valueChange",function(l){return y(a),w(r.actionChangedTo(l))}),x(28,F7,2,2,"mat-option",6),d()(),x(29,L7,8,3,"ng-container",10)(30,j7,14,5,"ng-container",10)(31,z7,6,2,"ng-container",10)(32,U7,5,3,"ng-container",10),d()(),c(33,"mat-dialog-actions")(34,"button",11)(35,"uds-translate"),f(36,"Cancel"),d()(),c(37,"button",12),b("click",function(){return y(a),w(r.save())}),c(38,"uds-translate"),f(39,"Ok"),d()()()}if(o&2){let a=be(3);u(),p("ngIf",r.scheduledAction.id!==void 0)("ngIfElse",a),u(3),O(" ",r.servicePool.name,` +`),u(7),z("ngModel",r.scheduledAction.calendar_id),u(),p("options",r.calendars),u(),p("ngForOf",r.filtered(r.calendars,r.calendarsFilter)),u(5),z("ngModel",r.scheduledAction.events_offset),u(2),z("ngModel",r.scheduledAction.at_start),u(7),z("ngModel",r.scheduledAction.action),u(),p("ngForOf",r.actionList),u(),p("ngIf",(r.parameter==null?null:r.parameter.type)==="transport"),u(),p("ngIf",(r.parameter==null?null:r.parameter.type)==="group"),u(),p("ngIf",(r.parameter==null?null:r.parameter.type)==="bool"),u(),p("ngIf",(r.parameter==null?null:r.parameter.type)&&!rl(14,A7).includes(r.parameter.type))}},dependencies:[$e,ue,lt,Gi,we,xe,Te,Qt,Xe,et,Je,fe,ke,pt,vt,nt,sr,ae,pn],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:100%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}"]});let n=i;return n})();var $d=(()=>{let i=class i{constructor(t,o,r,a){this.api=t,this.rest=o,this.dialogRef=r,this.onSave=new T(!0),this.userService=a.userService,this.model=a.model}static launch(t,o,r){let a=window.innerWidth<800?"80%":"60%",s=t.gui.dialog.open(i,{width:a,position:{top:window.innerWidth<800?"0px":"7rem"},data:{userService:o,model:r},disableClose:!1})}ngOnInit(){}};i.\u0275fac=function(o){return new(o||i)(C(B),C(Z),C(Ne),C(Ke))},i.\u0275cmp=E({type:i,selectors:[["uds-service-pools-userservices-log"]],standalone:!1,decls:10,vars:4,consts:[["mat-dialog-title",""],[3,"rest","itemId","tableId"],["mat-raised-button","","color","primary","mat-dialog-close",""]],template:function(o,r){o&1&&(c(0,"h4",0)(1,"uds-translate"),f(2,"Logs of"),d(),f(3),d(),c(4,"mat-dialog-content"),M(5,"uds-logs-table",1),d(),c(6,"mat-dialog-actions")(7,"button",2)(8,"uds-translate"),f(9,"Ok"),d()()()),o&2&&(u(3),O(" ",r.userService.name,` +`),u(2),p("rest",r.model)("itemId",r.userService.id)("tableId","servicePools-d-uslog"+r.userService.id))},dependencies:[Te,Qt,Xe,et,Je,ae,Ri],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}"]});let n=i;return n})();function H7(n,i){if(n&1&&(c(0,"mat-option",8),f(1),d()),n&2){let e=i.$implicit;p("value",e.id),u(),O(" ",e.text," ")}}function W7(n,i){if(n&1&&(c(0,"mat-option",8),f(1),d()),n&2){let e=i.$implicit;p("value",e.id),u(),O(" ",e.name," ")}}function G7(n,i){if(n&1&&(c(0,"mat-option",8),f(1),d()),n&2){let e=i.$implicit;p("value",e.id),u(),O(" ",e.name," ")}}var PA=(()=>{let i=class i{constructor(t,o,r,a){this.api=t,this.rest=o,this.dialogRef=r,this.done=new Xt,this.auths=[],this.assignablesServices=[],this.assignablesServicesFilter="",this.users=[],this.userFilter="",this.serviceId="",this.authId="",this.userId="",this.servicePool=a.servicePool}static launch(t,o){let r=window.innerWidth<800?"60%":"40%";return t.gui.dialog.open(i,{width:r,position:{top:window.innerWidth<800?"0px":"7rem"},data:{servicePool:o},disableClose:!1}).componentInstance.done}ngOnInit(){return H(this,null,function*(){this.authId="",this.userId="";let t=yield this.rest.authenticators.summary(),o=yield this.rest.servicesPools.listAssignables(this.servicePool.id);this.auths=t,this.assignablesServices=o})}changeAuth(t){return H(this,null,function*(){this.userId="",this.authChanged()})}filteredUsers(){if(!this.userFilter)return this.users;let t=new Array;return this.users.forEach(o=>{o.name.toLocaleLowerCase().includes(this.userFilter.toLocaleLowerCase())&&t.push(o)}),t}filteredAssignables(){if(!this.assignablesServicesFilter)return this.assignablesServices;let t=new Array;return this.assignablesServices.forEach(o=>{o.text.toLocaleLowerCase().includes(this.assignablesServicesFilter.toLocaleLowerCase())&&t.push(o)}),t}save(){return H(this,null,function*(){if(this.userId===""||this.authId===""){this.api.gui.alert(django.gettext("Error"),django.gettext("Please, select a valid user"));return}this.rest.servicesPools.createFromAssignable(this.servicePool.id,this.userId,this.serviceId).then(t=>{this.dialogRef.close(),this.done.resolve(!0)})})}cancel(){this.dialogRef.close(),this.done.resolve(!1)}authChanged(){return H(this,null,function*(){this.authId&&(this.users=yield this.rest.authenticators.detail(this.authId,"users").summary())})}};i.\u0275fac=function(o){return new(o||i)(C(B),C(Z),C(Ne),C(Ke))},i.\u0275cmp=E({type:i,selectors:[["uds-assign-service-to-owner"]],standalone:!1,decls:32,vars:8,consts:[["mat-dialog-title",""],[1,"content"],[3,"ngModelChange","ngModel"],[3,"changed","options"],[3,"value",4,"ngFor","ngForOf"],[3,"ngModelChange","selectionChange","ngModel"],["mat-raised-button","","color","warn",3,"click"],["mat-raised-button","","color","primary",3,"click"],[3,"value"]],template:function(o,r){o&1&&(c(0,"h4",0)(1,"uds-translate"),f(2,"Assign service to user manually"),d()(),c(3,"mat-dialog-content")(4,"div",1)(5,"mat-form-field")(6,"mat-label")(7,"uds-translate"),f(8,"Service"),d()(),c(9,"mat-select",2),U("ngModelChange",function(s){return W(r.serviceId,s)||(r.serviceId=s),s}),c(10,"uds-cond-select-search",3),b("changed",function(s){return r.assignablesServicesFilter=s}),d(),x(11,H7,2,2,"mat-option",4),d()(),c(12,"mat-form-field")(13,"mat-label")(14,"uds-translate"),f(15,"Authenticator"),d()(),c(16,"mat-select",5),U("ngModelChange",function(s){return W(r.authId,s)||(r.authId=s),s}),b("selectionChange",function(s){return r.changeAuth(s)}),x(17,W7,2,2,"mat-option",4),d()(),c(18,"mat-form-field")(19,"mat-label")(20,"uds-translate"),f(21,"User"),d()(),c(22,"mat-select",2),U("ngModelChange",function(s){return W(r.userId,s)||(r.userId=s),s}),c(23,"uds-cond-select-search",3),b("changed",function(s){return r.userFilter=s}),d(),x(24,G7,2,2,"mat-option",4),d()()()(),c(25,"mat-dialog-actions")(26,"button",6),b("click",function(){return r.cancel()}),c(27,"uds-translate"),f(28,"Cancel"),d()(),c(29,"button",7),b("click",function(){return r.save()}),c(30,"uds-translate"),f(31,"Ok"),d()()()),o&2&&(u(9),z("ngModel",r.serviceId),u(),p("options",r.assignablesServices),u(),p("ngForOf",r.filteredAssignables()),u(5),z("ngModel",r.authId),u(),p("ngForOf",r.auths),u(5),z("ngModel",r.userId),u(),p("options",r.users),u(),p("ngForOf",r.filteredUsers()))},dependencies:[$e,we,xe,Te,Xe,et,Je,fe,ke,vt,nt,ae,pn],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:100%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}"]});let n=i;return n})();var NA=au(ng());var FA=(()=>{let i=class i{constructor(t){this.rest=t,this.poolUuid="",this.options={},this.chart=null}onResize(t){this.chart&&this.chart.resize()}ngOnInit(){return H(this,null,function*(){let t=yield this.rest.system.stats("complete",this.poolUuid);this.options={tooltip:{trigger:"axis",axisPointer:{type:"cross",label:{backgroundColor:"#6a7985"}}},toolbox:{feature:{dataZoom:{yAxisIndex:"none"},restore:{},saveAsImage:{}}},xAxis:{type:"category",data:t.assigned.map(o=>qn("SHORT_DATETIME_FORMAT",new Date(o.stamp))),boundaryGap:!1},yAxis:{type:"value"},series:[{name:django.gettext("Assigned"),type:"line",stack:"services",smooth:!0,areaStyle:{},data:t.assigned.map(o=>o.value)},{name:django.gettext("Cached"),type:"line",stack:"services",smooth:!0,areaStyle:{},data:t.cached.map(o=>o.value)},{name:django.gettext("In use"),type:"line",smooth:!0,data:t.inuse.map(o=>o.value)}]}})}chartInit(t){this.chart=t}};i.\u0275fac=function(o){return new(o||i)(C(Z))},i.\u0275cmp=E({type:i,selectors:[["uds-service-pools-charts"]],hostBindings:function(o,r){o&1&&b("resize",function(s){return r.onResize(s)},!1,ep)},inputs:{poolUuid:"poolUuid"},standalone:!1,decls:2,vars:1,consts:[[1,"statistics-chart"],["echarts","","theme","dark-digerati",3,"chartInit","options"]],template:function(o,r){o&1&&(c(0,"div",0)(1,"div",1),b("chartInit",function(s){return r.chartInit(s)}),d()()),o&2&&(u(),p("options",r.options))},dependencies:[xf],encapsulation:2});let n=i;return n})();var q7=n=>["/pools","service-pools",n];function Y7(n,i){n&1&&(c(0,"uds-translate"),f(1,"Summary"),d())}function Q7(n,i){if(n&1&&M(0,"uds-information",20),n&2){let e=_(2);p("value",e.servicePool)("gui",e.gui)}}function K7(n,i){n&1&&(c(0,"uds-translate"),f(1,"Assigned services"),d())}function Z7(n,i){n&1&&(c(0,"uds-translate"),f(1,"Cache"),d())}function X7(n,i){if(n&1){let e=k();c(0,"mat-tab"),x(1,Z7,2,0,"ng-template",9),c(2,"div",10)(3,"uds-table",21),b("customButtonAction",function(o){y(e);let r=_(2);return w(r.onCustomCached(o))})("deleteAction",function(o){y(e);let r=_(2);return w(r.onDeleteCache(o))}),d()()()}if(n&2){let e=_(2);u(3),p("rest",e.cache)("multiSelect",!0)("allowExport",!0)("onItem",e.processsCacheElement)("tableId","servicePools-d-cache"+e.servicePool.id)("customButtons",e.customButtonsCachedServices)("pageSize",e.api.config.admin.page_size)}}function J7(n,i){n&1&&(c(0,"uds-translate"),f(1,"Groups"),d())}function e9(n,i){n&1&&(c(0,"uds-translate"),f(1,"Transports"),d())}function t9(n,i){n&1&&(c(0,"uds-translate"),f(1,"Publications"),d())}function n9(n,i){if(n&1){let e=k();c(0,"mat-tab"),x(1,t9,2,0,"ng-template",9),c(2,"div",10)(3,"uds-table",22),b("customButtonAction",function(o){y(e);let r=_(2);return w(r.onCustomPublication(o))})("newAction",function(o){y(e);let r=_(2);return w(r.onNewPublication(o))})("rowSelected",function(o){y(e);let r=_(2);return w(r.onPublicationRowSelect(o))}),d()()()}if(n&2){let e=_(2);u(3),p("rest",e.publications)("multiSelect",!0)("allowExport",!0)("tableId","servicePools-d-publications"+e.servicePool.id)("customButtons",e.customButtonsPublication)("pageSize",e.api.config.admin.page_size)}}function i9(n,i){n&1&&(c(0,"uds-translate"),f(1,"Scheduled actions"),d())}function o9(n,i){n&1&&(c(0,"uds-translate"),f(1,"Access calendars"),d())}function r9(n,i){n&1&&(c(0,"uds-translate"),f(1,"Charts"),d())}function a9(n,i){n&1&&(c(0,"uds-translate"),f(1,"Logs"),d())}function s9(n,i){if(n&1){let e=k();c(0,"div",6)(1,"div",7)(2,"mat-tab-group",8),U("selectedIndexChange",function(o){y(e);let r=_();return W(r.selectedTab,o)||(r.selectedTab=o),w(o)}),c(3,"mat-tab"),x(4,Y7,2,0,"ng-template",9),c(5,"div",10),x(6,Q7,1,2,"uds-information",11),d()(),c(7,"mat-tab"),x(8,K7,2,0,"ng-template",9),c(9,"div",10)(10,"uds-table",12),b("customButtonAction",function(o){y(e);let r=_();return w(r.onCustomAssigned(o))})("deleteAction",function(o){y(e);let r=_();return w(r.onDeleteAssigned(o))}),d()()(),x(11,X7,4,7,"mat-tab",13),c(12,"mat-tab"),x(13,J7,2,0,"ng-template",9),c(14,"div",10)(15,"uds-table",14),b("newAction",function(o){y(e);let r=_();return w(r.onNewGroup(o))})("deleteAction",function(o){y(e);let r=_();return w(r.onDeleteGroup(o))}),d()()(),c(16,"mat-tab"),x(17,e9,2,0,"ng-template",9),c(18,"div",10)(19,"uds-table",15),b("newAction",function(o){y(e);let r=_();return w(r.onNewTransport(o))})("deleteAction",function(o){y(e);let r=_();return w(r.onDeleteTransport(o))}),d()()(),x(20,n9,4,6,"mat-tab",13),c(21,"mat-tab"),x(22,i9,2,0,"ng-template",9),c(23,"div",10)(24,"uds-table",16),b("customButtonAction",function(o){y(e);let r=_();return w(r.onCustomScheduleAction(o))})("newAction",function(o){y(e);let r=_();return w(r.onNewScheduledAction(o))})("editAction",function(o){y(e);let r=_();return w(r.onEditScheduledAction(o))})("deleteAction",function(o){y(e);let r=_();return w(r.onDeleteScheduledAction(o))}),d()()(),c(25,"mat-tab"),x(26,o9,2,0,"ng-template",9),c(27,"div",10)(28,"uds-table",17),b("newAction",function(o){y(e);let r=_();return w(r.onNewAccessCalendar(o))})("editAction",function(o){y(e);let r=_();return w(r.onEditAccessCalendar(o))})("deleteAction",function(o){y(e);let r=_();return w(r.onDeleteAccessCalendar(o))})("loaded",function(o){y(e);let r=_();return w(r.onAccessCalendarLoad(o))}),d()()(),c(29,"mat-tab"),x(30,r9,2,0,"ng-template",9),c(31,"div",10),M(32,"uds-service-pools-charts",18),d()(),c(33,"mat-tab"),x(34,a9,2,0,"ng-template",9),c(35,"div",10),M(36,"uds-logs-table",19),d()()()()()}if(n&2){let e=_();u(2),z("selectedIndex",e.selectedTab),p("@.disabled",!0),u(4),p("ngIf",e.servicePool&&e.gui),u(4),p("rest",e.assignedServices)("multiSelect",!0)("allowExport",!0)("onItem",e.processsAssignedElement)("tableId","servicePools-d-services"+e.servicePool.id)("customButtons",e.customButtonsAssignedServices)("pageSize",e.api.config.admin.page_size),u(),p("ngIf",e.cache),u(4),p("rest",e.groups)("multiSelect",!0)("allowExport",!0)("customButtons",e.customButtonsGroups)("tableId","servicePools-d-groups"+e.servicePool.id)("pageSize",e.api.config.admin.page_size),u(4),p("rest",e.transports)("multiSelect",!0)("allowExport",!0)("customButtons",e.customButtonsTransports)("tableId","servicePools-d-transports"+e.servicePool.id)("pageSize",e.api.config.admin.page_size),u(),p("ngIf",e.publications),u(4),p("rest",e.scheduledActions)("multiSelect",!0)("allowExport",!0)("tableId","servicePools-d-actions"+e.servicePool.id)("customButtons",e.customButtonsScheduledAction)("onItem",e.processsCalendarOrScheduledElement)("pageSize",e.api.config.admin.page_size),u(4),p("rest",e.accessCalendars)("multiSelect",!0)("allowExport",!0)("customButtons",e.customButtonAccessCalendars)("tableId","servicePools-d-access"+e.servicePool.id)("onItem",e.processsCalendarOrScheduledElement)("pageSize",e.api.config.admin.page_size),u(4),p("poolUuid",e.servicePool.id),u(4),p("rest",e.rest.servicesPools)("itemId",e.servicePool.id)("tableId","servicePools-d-log"+e.servicePool.id)("pageSize",e.api.config.admin.page_size)}}var ug='event'+django.gettext("Logs")+"",l9='computer'+django.gettext("VNC")+"",c9='schedule'+django.gettext("Launch now")+"",Iw='perm_identity'+django.gettext("Change owner")+"",d9='perm_identity'+django.gettext("Assign service")+"",u9='cancel'+django.gettext("Cancel")+"",m9='event'+django.gettext("Changelog")+"",mg=(()=>{let i=class i{constructor(t,o,r){this.route=t,this.rest=o,this.api=r,this.customButtonsScheduledAction=[{id:"launch-action",html:c9,type:ct.SINGLE_SELECT},Mn.getGotoButton(tf,"calendarId")],this.customButtonAccessCalendars=[Mn.getGotoButton(tf,"calendarId")],this.customButtonsAssignedServices=[{id:"change-owner",html:Iw,type:ct.SINGLE_SELECT},{id:"log",html:ug,type:ct.SINGLE_SELECT},Mn.getGotoButton(Ud,"owner_info.auth_id","owner_info.user_id")],this.customButtonsCachedServices=[{id:"log",html:ug,type:ct.SINGLE_SELECT}],this.customButtonsPublication=[{id:"cancel-publication",html:u9,type:ct.SINGLE_SELECT},{id:"changelog",html:m9,type:ct.ALWAYS}],this.customButtonsGroups=[Mn.getGotoButton(zy,"auth_id","id")],this.customButtonsTransports=[Mn.getGotoButton(Uy,"id")],this.servicePool=null,this.gui=[],this.assignedServices={},this.cache=null,this.groups={},this.transports={},this.publications=null,this.scheduledActions={},this.accessCalendars={},this.selectedTab=1}static cleanInvalidSelections(t){return t.table.selection.selected.filter(o=>["E","R","M","S","C"].includes(o.state)).forEach(o=>t.table.selection.deselect(o)),t.table.selection.isEmpty()}ngOnInit(){return H(this,null,function*(){let t=this.route.snapshot.paramMap.get("pool");if(!t)return;this.assignedServices=this.rest.servicesPools.detail(t,"services"),this.groups=this.rest.servicesPools.detail(t,"groups"),this.transports=this.rest.servicesPools.detail(t,"transports"),this.scheduledActions=this.rest.servicesPools.detail(t,"actions"),this.accessCalendars=this.rest.servicesPools.detail(t,"access");let o=yield this.rest.servicesPools.get(t),r=(yield this.rest.servicesPools.gui()).filter(a=>{let s=["initial_srvs","cache_l1_srvs","cache_l2_srvs","max_srvs"];return!(o.info.uses_cache===!1&&s.includes(a.name)||o.info.uses_cache_l2===!1&&a.name==="cache_l2_srvs"||o.info.needs_manager===!1&&a.name==="osmanager_id")});this.servicePool=o,this.gui=r,o.info.uses_cache?this.cache=this.rest.servicesPools.detail(t,"cache"):this.cache=null,o.info.needs_publication?this.publications=this.rest.servicesPools.detail(t,"publications"):this.publications=null,this.api.config.admin.vnc_userservices&&this.customButtonsAssignedServices.push({id:"vnc",html:l9,type:ct.ONLY_MENU}),this.servicePool.info.can_list_assignables&&this.customButtonsAssignedServices.push({id:"assign-service",html:d9,type:ct.ALWAYS})})}vnc(t){let o=`[connection] host=`+t.ip+` port=5900 -`,o=new Blob([n],{type:"application/extension-vnc"});setTimeout(()=>{(0,DA.saveAs)(o,t.ip+".vnc",{autoBom:!1})},100)}onCustomAssigned(t){return W(this,null,function*(){let n=t.table.selection.selected[0];if(t.param.id==="change-owner"){if(["E","R","M","S","C"].includes(n.state))return;(yield eg.launch(this.api,n,this.assignedServices))===!0&&t.table.overview()}else t.param.id==="log"?qd.launch(this.api,n,this.assignedServices):t.param.id==="assign-service"?(yield CA.launch(this.api,this.servicePool))===!0&&t.table.overview():t.param.id==="vnc"&&this.vnc(n)})}onCustomCached(t){let n=t.table.selection.selected[0];t.param.id==="log"&&this.cache&&qd.launch(this.api,n,this.cache)}processsAssignedElement(t){t.in_use=this.api.boolAsHumanString(t.in_use),t.origState=t.state,t.state==="U"&&(t.state=t.os_state!==""&&t.os_state!=="U"?"Z":"U")}onDeleteAssigned(t){e.cleanInvalidSelections(t)||this.api.gui.forms.deleteForm(t,django.gettext("Delete assigned service"))}onDeleteCache(t){e.cleanInvalidSelections(t)||this.api.gui.forms.deleteForm(t,django.gettext("Delete cached service"))}processsCacheElement(t){t.origState=t.state,t.state==="U"&&(t.state=t.os_state!==""&&t.os_state!=="U"?"Z":"U")}onNewGroup(t){return W(this,null,function*(){(yield tg.launch(this.api,this.servicePool,this.groups))===!0&&t.table.overview()})}onDeleteGroup(t){return W(this,null,function*(){this.api.gui.forms.deleteForm(t,django.gettext("Delete assigned group"))})}onNewTransport(t){return W(this,null,function*(){(yield vA.launch(this.api,this.servicePool))===!0&&t.table.overview()})}onDeleteTransport(t){return W(this,null,function*(){this.api.gui.forms.deleteForm(t,django.gettext("Delete assigned transport"))})}onNewPublication(t){return W(this,null,function*(){(yield bA.launch(this.api,this.servicePool))===!0&&t.table.overview()})}onPublicationRowSelect(t){t.table.selection.selected.length===1&&(this.customButtonsPublication[0].disabled=!["P","W","L","K"].includes(t.table.selection.selected[0].state))}onCustomPublication(t){t.param.id==="cancel-publication"?this.api.gui.questionDialog(django.gettext("Publication"),django.gettext("Cancel publication?"),!0).then(n=>{n&&this.publications&&this.publications.invoke(t.table.selection.selected[0].id+"/cancel").then(o=>{this.api.gui.snackbar.open(django.gettext("Publication canceled"),django.gettext("dismiss"),{duration:2e3}),t.table.overview()})}):t.param.id==="changelog"&&yA.launch(this.api,this.servicePool)}onNewScheduledAction(t){_w.launch(this.api,this.servicePool).subscribe(n=>t.table.overview())}onEditScheduledAction(t){_w.launch(this.api,this.servicePool,t.table.selection.selected[0]).subscribe(n=>t.table.overview())}onDeleteScheduledAction(t){this.api.gui.forms.deleteForm(t,django.gettext("Delete scheduled action"))}onCustomScheduleAction(t){this.api.gui.questionDialog(django.gettext("Execute scheduled action"),django.gettext("Execute scheduled action right now?")).then(n=>{n&&this.scheduledActions.invoke(t.table.selection.selected[0].id+"/execute").then(()=>{this.api.gui.snackbar.open(django.gettext("Scheduled action executed"),django.gettext("dismiss"),{duration:2e3}),t.table.overview()})})}onNewAccessCalendar(t){Zl.launch(this.api,this.servicePool,this.accessCalendars).subscribe(n=>t.table.overview())}onEditAccessCalendar(t){Zl.launch(this.api,this.servicePool,this.accessCalendars,t.table.selection.selected[0]).subscribe(n=>t.table.overview())}onDeleteAccessCalendar(t){t.table.selection.selected[0].id!==-1?this.api.gui.forms.deleteForm(t,django.gettext("Delete calendar access rule")):this.onEditAccessCalendar(t)}onAccessCalendarLoad(t){this.rest.servicesPools.getFallbackAccess(this.servicePool.id).then(n=>{let o=t.table.dataSource.data.filter(a=>!0);o.push({id:-1,calendar:"-",priority:this.api.safeString('10000000FallBack'),access:n}),t.table.dataSource.data=o})}processsCalendarOrScheduledElement(t){t.name=t.calendar,t.atStart=this.api.boolAsHumanString(t.atStart)}};e.\u0275fac=function(n){return new(n||e)(m(Oe),m(X),m(B))},e.\u0275cmp=E({type:e,selectors:[["uds-service-pools-detail"]],decls:9,vars:6,consts:[[1,"detail"],[1,"mat-elevation-z4","title"],[3,"routerLink"],[1,"material-icons"],[3,"src"],["class","card",4,"ngIf"],[1,"card"],[1,"card-content"],["backgroundColor","primary",3,"selectedIndexChange","selectedIndex"],["mat-tab-label",""],[1,"content"],[3,"value","gui",4,"ngIf"],["icon","pools",3,"customButtonAction","deleteAction","rest","multiSelect","allowExport","onItem","tableId","customButtons","pageSize"],[4,"ngIf"],["icon","groups",3,"newAction","deleteAction","rest","multiSelect","allowExport","customButtons","tableId","pageSize"],["icon","transports",3,"newAction","deleteAction","rest","multiSelect","allowExport","customButtons","tableId","pageSize"],["icon","calendars",3,"customButtonAction","newAction","editAction","deleteAction","rest","multiSelect","allowExport","tableId","customButtons","onItem","pageSize"],["icon","calendars",3,"newAction","editAction","deleteAction","loaded","rest","multiSelect","allowExport","customButtons","tableId","onItem","pageSize"],[3,"poolUuid"],[3,"rest","itemId","tableId","pageSize"],[3,"value","gui"],["icon","cached",3,"customButtonAction","deleteAction","rest","multiSelect","allowExport","onItem","tableId","customButtons","pageSize"],["icon","publications",3,"customButtonAction","newAction","rowSelected","rest","multiSelect","allowExport","tableId","customButtons","pageSize"]],template:function(n,o){n&1&&(c(0,"div",0)(1,"div",1)(2,"a",2)(3,"i",3),g(4,"arrow_back"),d()(),g(5," \xA0"),I(6,"img",4),g(7),d(),x(8,t9,37,43,"div",5),d()),n&2&&(h(2),p("routerLink",Bi(4,z7,o.servicePool?o.servicePool.id:"")),h(4),p("src",o.api.staticURL("admin/img/icons/pools.png"),Ie),h(),F(" \xA0",o.servicePool==null?null:o.servicePool.name," "),h(),p("ngIf",o.servicePool!==null))},dependencies:[me,bi,ei,ti,oi,le,Te,An,po,xA],styles:[".mat-column-state{max-width:10rem;justify-content:center} .mat-column-revision, .mat-column-cache_level, .mat-column-in_use, .mat-column-priority{max-width:7rem;justify-content:center} .mat-column-publish_date, .mat-column-state_date, .mat-column-creation_date{width:14rem} .mat-column-trans_type, .mat-column-access{max-width:9rem} .mat-column-owner{overflow-wrap:break-word;word-wrap:break-word;-ms-word-break:break-all;word-break:break-all;word-break:break-word} .row-state-S>.mat-mdc-cell{color:gray!important} .row-state-C>.mat-mdc-cell{color:gray!important} .row-state-E>.mat-mdc-cell{color:red!important} .row-state-R>.mat-mdc-cell{color:orange!important}"]});let i=e;return i})();var bw=(()=>{let e=class e{constructor(t,n,o){this.api=t,this.route=n,this.rest=o}ngOnInit(){}onNew(t){this.api.gui.forms.typedNewForm(t,django.gettext("New meta pool"))}onEdit(t){this.api.gui.forms.typedEditForm(t,django.gettext("Edit meta pool"))}onDelete(t){this.api.gui.forms.deleteForm(t,django.gettext("Delete meta pool"))}onDetail(t){this.api.navigation.gotoMetapoolDetail(t.param.id)}processElement(t){t.visible=this.api.boolAsHumanString(t.visible),t.name=this.api.safeString(this.api.gui.icon(t.thumb)+t.name),t.pool_group_name=this.api.safeString(this.api.gui.icon(t.pool_group_thumb)+t.pool_group_name)}onLoad(t){t.param===!0&&t.table.selectElement("id",this.route.snapshot.paramMap.get("metapool"))}};e.\u0275fac=function(n){return new(n||e)(m(B),m(Oe),m(X))},e.\u0275cmp=E({type:e,selectors:[["uds-meta-pools"]],decls:2,vars:6,consts:[["icon","metas",3,"detailAction","newAction","editAction","deleteAction","loaded","rest","multiSelect","allowExport","onItem","hasPermissions","pageSize"]],template:function(n,o){n&1&&(c(0,"div")(1,"uds-table",0),b("detailAction",function(s){return o.onDetail(s)})("newAction",function(s){return o.onNew(s)})("editAction",function(s){return o.onEdit(s)})("deleteAction",function(s){return o.onDelete(s)})("loaded",function(s){return o.onLoad(s)}),d()()),n&2&&(h(),p("rest",o.rest.metaPools)("multiSelect",!0)("allowExport",!0)("onItem",o.processElement)("hasPermissions",!0)("pageSize",o.api.config.admin.page_size))},dependencies:[Te],styles:[".mat-column-user_services_count, .mat-column-user_services_in_preparation, .mat-column-visible, .mat-column-pool_group_name{max-width:7rem;justify-content:center}"]});let i=e;return i})();function s9(i,e){i&1&&(c(0,"uds-translate"),g(1,"New member pool"),d())}function l9(i,e){i&1&&(c(0,"uds-translate"),g(1,"Edit member pool"),d())}function c9(i,e){if(i&1){let r=A();c(0,"uds-cond-select-search",11),b("changed",function(n){y(r);let o=_();return w(o.servicePoolsFilter=n)}),d()}}function d9(i,e){if(i&1&&(c(0,"mat-option",12),g(1),d()),i&2){let r=e.$implicit;p("value",r.id),h(),F(" ",r.name," ")}}var yw=(()=>{let e=class e{constructor(t,n,o,a){this.api=t,this.rest=n,this.dialogRef=o,this.done=new Jt,this.servicePools=[],this.servicePoolsFilter="",this.model=a.model,this.memberPool={id:void 0,priority:0,pool_id:"",enabled:!0},a.memberPool&&(this.memberPool.id=a.memberPool.id)}static launch(t,n,o){let a=window.innerWidth<800?"60%":"40%";return t.gui.dialog.open(e,{width:a,position:{top:window.innerWidth<800?"0px":"7rem"},data:{memberPool:o,model:n},disableClose:!1}).componentInstance.done}ngOnInit(){return W(this,null,function*(){this.servicePools=yield this.rest.servicesPools.summary(),this.memberPool.id&&(this.memberPool=yield this.model.get(this.memberPool.id))})}filtered(t,n){return n?t.filter(o=>o.name.toLocaleLowerCase().includes(n.toLocaleLowerCase())):t}save(){return W(this,null,function*(){if(!this.memberPool.pool_id){this.api.gui.alert(django.gettext("Error"),django.gettext("Please, select a valid service pool"));return}yield this.model.save(this.memberPool),this.dialogRef.close(),this.done.resolve(!0)})}cancel(){this.dialogRef.close(),this.done.resolve(!1)}};e.\u0275fac=function(n){return new(n||e)(m(B),m(X),m(Ne),m(Ke))},e.\u0275cmp=E({type:e,selectors:[["uds-meta-pools-service-pools"]],decls:30,vars:8,consts:[["mat-dialog-title",""],[4,"ngIf"],[1,"content"],["matInput","","type","number",3,"ngModelChange","ngModel"],[3,"ngModelChange","ngModel"],[3,"changed",4,"ngIf"],[3,"value",4,"ngFor","ngForOf"],[1,"mat-form-field-infix"],[1,"label-enabled"],["mat-raised-button","","color","warn",3,"click"],["mat-raised-button","","color","primary",3,"click"],[3,"changed"],[3,"value"]],template:function(n,o){n&1&&(c(0,"h4",0),x(1,s9,2,0,"uds-translate",1)(2,l9,2,0,"uds-translate",1),d(),c(3,"mat-dialog-content")(4,"div",2)(5,"mat-form-field")(6,"mat-label")(7,"uds-translate"),g(8,"Priority"),d()(),c(9,"input",3),H("ngModelChange",function(s){return $(o.memberPool.priority,s)||(o.memberPool.priority=s),s}),d()(),c(10,"mat-form-field")(11,"mat-label")(12,"uds-translate"),g(13,"Service pool"),d()(),c(14,"mat-select",4),H("ngModelChange",function(s){return $(o.memberPool.pool_id,s)||(o.memberPool.pool_id=s),s}),x(15,c9,1,0,"uds-cond-select-search",5)(16,d9,2,2,"mat-option",6),d()(),c(17,"div",7)(18,"span",8)(19,"uds-translate"),g(20,"Enabled?"),d()(),c(21,"mat-slide-toggle",4),H("ngModelChange",function(s){return $(o.memberPool.enabled,s)||(o.memberPool.enabled=s),s}),g(22),d()()()(),c(23,"mat-dialog-actions")(24,"button",9),b("click",function(){return o.cancel()}),c(25,"uds-translate"),g(26,"Cancel"),d()(),c(27,"button",10),b("click",function(){return o.save()}),c(28,"uds-translate"),g(29,"Ok"),d()()()),n&2&&(h(),p("ngIf",!(o.memberPool!=null&&o.memberPool.id)),h(),p("ngIf",o.memberPool==null?null:o.memberPool.id),h(7),U("ngModel",o.memberPool.priority),h(5),U("ngModel",o.memberPool.pool_id),h(),p("ngIf",o.servicePools.length>10),h(),p("ngForOf",o.filtered(o.servicePools,o.servicePoolsFilter)),h(5),U("ngModel",o.memberPool.enabled),h(),F(" ",o.api.boolAsHumanString(o.memberPool.enabled)," "))},dependencies:[We,me,lt,$n,xe,Se,ke,Je,tt,et,_e,Ae,ft,bt,nt,cr,le,hi],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:100%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}.label-enabled[_ngcontent-%COMP%]{color:#0009;display:block;font-weight:400;left:0;line-height:18px;overflow:hidden;pointer-events:none;position:absolute;text-align:left;text-overflow:ellipsis;top:.5em;transform:matrix(.75,0,0,.75,0,-21.5);transform-origin:0px 0px;white-space:nowrap}"]});let i=e;return i})();var u9=i=>["/pools","meta-pools",i];function h9(i,e){i&1&&(c(0,"uds-translate"),g(1,"Summary"),d())}function m9(i,e){if(i&1&&I(0,"uds-information",17),i&2){let r=_(2);p("value",r.metaPool)("gui",r.gui)}}function p9(i,e){i&1&&(c(0,"uds-translate"),g(1,"Service pools"),d())}function f9(i,e){i&1&&(c(0,"uds-translate"),g(1,"Assigned services"),d())}function g9(i,e){i&1&&(c(0,"uds-translate"),g(1,"Groups"),d())}function _9(i,e){i&1&&(c(0,"uds-translate"),g(1,"Access calendars"),d())}function v9(i,e){i&1&&(c(0,"uds-translate"),g(1,"Logs"),d())}function b9(i,e){if(i&1){let r=A();c(0,"div",6)(1,"div",7)(2,"mat-tab-group",8),H("selectedIndexChange",function(n){y(r);let o=_();return $(o.selectedTab,n)||(o.selectedTab=n),w(n)}),c(3,"mat-tab"),x(4,h9,2,0,"ng-template",9),c(5,"div",10),x(6,m9,1,2,"uds-information",11),d()(),c(7,"mat-tab"),x(8,p9,2,0,"ng-template",9),c(9,"div",10)(10,"uds-table",12),b("newAction",function(n){y(r);let o=_();return w(o.onNewMemberPool(n))})("editAction",function(n){y(r);let o=_();return w(o.onEditMemberPool(n))})("deleteAction",function(n){y(r);let o=_();return w(o.onDeleteMemberPool(n))}),d()()(),c(11,"mat-tab"),x(12,f9,2,0,"ng-template",9),c(13,"div",10)(14,"uds-table",13),b("customButtonAction",function(n){y(r);let o=_();return w(o.onCustomAssigned(n))})("deleteAction",function(n){y(r);let o=_();return w(o.onDeleteAssigned(n))}),d()()(),c(15,"mat-tab"),x(16,g9,2,0,"ng-template",9),c(17,"div",10)(18,"uds-table",14),b("newAction",function(n){y(r);let o=_();return w(o.onNewGroup(n))})("deleteAction",function(n){y(r);let o=_();return w(o.onDeleteGroup(n))}),d()()(),c(19,"mat-tab"),x(20,_9,2,0,"ng-template",9),c(21,"div",10)(22,"uds-table",15),b("newAction",function(n){y(r);let o=_();return w(o.onNewAccessCalendar(n))})("editAction",function(n){y(r);let o=_();return w(o.onEditAccessCalendar(n))})("deleteAction",function(n){y(r);let o=_();return w(o.onDeleteAccessCalendar(n))})("loaded",function(n){y(r);let o=_();return w(o.onAccessCalendarLoad(n))}),d()()(),c(23,"mat-tab"),x(24,v9,2,0,"ng-template",9),c(25,"div",10),I(26,"uds-logs-table",16),d()()()()()}if(i&2){let r=_();h(2),U("selectedIndex",r.selectedTab),p("@.disabled",!0),h(4),p("ngIf",r.metaPool&&r.gui),h(4),p("rest",r.memberPools)("multiSelect",!0)("allowExport",!0)("onItem",r.processElement)("customButtons",r.customButtons)("tableId","metaPools-d-members"+r.metaPool.id)("pageSize",r.api.config.admin.page_size),h(4),p("rest",r.memberUserServices)("multiSelect",!0)("allowExport",!0)("tableId","metaPools-d-services"+r.metaPool.id)("customButtons",r.customButtonsAssignedServices)("pageSize",r.api.config.admin.page_size),h(4),p("rest",r.groups)("multiSelect",!0)("allowExport",!0)("tableId","metaPools-d-groups"+r.metaPool.id)("pageSize",r.api.config.admin.page_size),h(4),p("rest",r.accessCalendars)("multiSelect",!0)("allowExport",!0)("tableId","metaPools-d-access"+r.metaPool.id)("pageSize",r.api.config.admin.page_size)("onItem",r.processsCalendarItem),h(4),p("rest",r.rest.metaPools)("itemId",r.metaPool.id)("tableId","metaPools-d-log"+r.metaPool.id)("pageSize",r.api.config.admin.page_size)}}var SA=(()=>{let e=class e{constructor(t,n,o){this.route=t,this.rest=n,this.api=o,this.customButtons=[Ii.getGotoButton(Ud,"pool_id")],this.customButtonsAssignedServices=[{id:"change-owner",html:vw,type:ct.SINGLE_SELECT},{id:"log",html:og,type:ct.SINGLE_SELECT},Ii.getGotoButton(Hd,"owner_info.auth_id","owner_info.user_id")],this.metaPool=null,this.gui=null,this.selectedTab=1,this.memberPools={},this.memberUserServices={},this.groups={},this.accessCalendars={}}ngOnInit(){return W(this,null,function*(){let t=this.route.snapshot.paramMap.get("metapool");if(!t)return;let n=yield this.rest.metaPools.get(t),o=yield this.rest.metaPools.gui();this.memberPools=this.rest.metaPools.detail(t,"pools"),this.memberUserServices=this.rest.metaPools.detail(t,"services"),this.groups=this.rest.metaPools.detail(t,"groups"),this.accessCalendars=this.rest.metaPools.detail(t,"access"),this.metaPool=n,this.gui=o})}onNewMemberPool(t){return W(this,null,function*(){(yield yw.launch(this.api,this.memberPools))===!0&&t.table.overview()})}onEditMemberPool(t){return W(this,null,function*(){(yield yw.launch(this.api,this.memberPools,t.table.selection.selected[0]))===!0&&t.table.overview()})}onDeleteMemberPool(t){return W(this,null,function*(){this.api.gui.forms.deleteForm(t,django.gettext("Remove member pool"))})}onCustomAssigned(t){return W(this,null,function*(){let n=t.table.selection.selected[0];if(t.param.id==="change-owner"){if(["E","R","M","S","C"].includes(n.state))return;(yield eg.launch(this.api,n,this.memberUserServices))===!0&&t.table.overview()}else t.param.id==="log"&&qd.launch(this.api,n,this.memberUserServices)})}onDeleteAssigned(t){return W(this,null,function*(){rg.cleanInvalidSelections(t)||this.api.gui.forms.deleteForm(t,django.gettext("Delete assigned service"))})}onNewGroup(t){return W(this,null,function*(){(yield tg.launch(this.api,this.metaPool.id,this.groups))===!0&&t.table.overview()})}onDeleteGroup(t){this.api.gui.forms.deleteForm(t,django.gettext("Delete assigned group"))}onNewAccessCalendar(t){Zl.launch(this.api,this.metaPool,this.accessCalendars).subscribe(n=>t.table.overview())}onEditAccessCalendar(t){Zl.launch(this.api,this.metaPool,this.accessCalendars,t.table.selection.selected[0]).subscribe(n=>t.table.overview())}onDeleteAccessCalendar(t){t.table.selection.selected[0].id!==-1?this.api.gui.forms.deleteForm(t,django.gettext("Delete calendar access rule")):this.onEditAccessCalendar(t)}onAccessCalendarLoad(t){this.rest.metaPools.getFallbackAccess(this.metaPool.id).then(n=>{let o=t.table.dataSource.data.filter(a=>!0);o.push({id:-1,calendar:"-",priority:this.api.safeString('10000000FallBack'),access:n}),t.table.dataSource.data=o})}processElement(t){t.enabled=this.api.boolAsHumanString(t.enabled)}processsCalendarItem(t){t.name=t.calendar,t.atStart=this.api.boolAsHumanString(t.atStart)}};e.\u0275fac=function(n){return new(n||e)(m(Oe),m(X),m(B))},e.\u0275cmp=E({type:e,selectors:[["uds-meta-pools-detail"]],decls:10,vars:8,consts:[[1,"detail"],[1,"mat-elevation-z4","title"],[3,"routerLink"],[1,"material-icons"],[3,"src"],["class","card",4,"ngIf"],[1,"card"],[1,"card-content"],["backgroundColor","primary",3,"selectedIndexChange","selectedIndex"],["mat-tab-label",""],[1,"content"],[3,"value","gui",4,"ngIf"],["icon","pools",3,"newAction","editAction","deleteAction","rest","multiSelect","allowExport","onItem","customButtons","tableId","pageSize"],["icon","pools",3,"customButtonAction","deleteAction","rest","multiSelect","allowExport","tableId","customButtons","pageSize"],["icon","groups",3,"newAction","deleteAction","rest","multiSelect","allowExport","tableId","pageSize"],["icon","calendars",3,"newAction","editAction","deleteAction","loaded","rest","multiSelect","allowExport","tableId","pageSize","onItem"],[3,"rest","itemId","tableId","pageSize"],[3,"value","gui"]],template:function(n,o){n&1&&(c(0,"div",0)(1,"div",1)(2,"a",2)(3,"i",3),g(4,"arrow_back"),d()(),g(5," \xA0"),I(6,"img",4),g(7),d(),x(8,b9,27,31,"div",5),_t(9,"notEmpty"),d()),n&2&&(h(2),p("routerLink",Bi(6,u9,o.metaPool?o.metaPool.id:"")),h(4),p("src",o.api.staticURL("admin/img/icons/metas.png"),Ie),h(),F(" ",o.metaPool==null?null:o.metaPool.name," "),h(),p("ngIf",Dt(9,4,o.metaPool)))},dependencies:[me,bi,ei,ti,oi,le,Te,An,po,yi],styles:[".mat-column-enabled, .mat-column-priority{max-width:8rem;justify-content:center}"]});let i=e;return i})();var ww=(()=>{let e=class e{constructor(t,n,o){this.route=t,this.rest=n,this.api=o}ngOnInit(){}onNew(t){this.api.gui.forms.typedNewForm(t,django.gettext("New pool group"),!1).then(()=>t.table.overview())}onEdit(t){return W(this,null,function*(){this.api.gui.forms.typedEditForm(t,django.gettext("Edit pool group"),!1)})}onDelete(t){this.api.gui.forms.deleteForm(t,django.gettext("Delete pool group"))}onLoad(t){t.param===!0&&t.table.selectElement("id",this.route.snapshot.paramMap.get("poolgroup"))}};e.\u0275fac=function(n){return new(n||e)(m(Oe),m(X),m(B))},e.\u0275cmp=E({type:e,selectors:[["uds-pool-groups"]],decls:1,vars:5,consts:[["icon","spool-group",3,"newAction","editAction","deleteAction","loaded","rest","multiSelect","allowExport","hasPermissions","pageSize"]],template:function(n,o){n&1&&(c(0,"uds-table",0),b("newAction",function(s){return o.onNew(s)})("editAction",function(s){return o.onEdit(s)})("deleteAction",function(s){return o.onDelete(s)})("loaded",function(s){return o.onLoad(s)}),d()),n&2&&p("rest",o.rest.servicesPoolGroups)("multiSelect",!0)("allowExport",!0)("hasPermissions",!1)("pageSize",o.api.config.admin.page_size)},dependencies:[Te],styles:[".mat-column-priority, .mat-column-thumb{max-width:7rem;justify-content:center}"]});let i=e;return i})();var Cw=(()=>{let e=class e{constructor(t,n,o){this.route=t,this.rest=n,this.api=o}ngOnInit(){}onNew(t){this.api.gui.forms.typedNewForm(t,django.gettext("New calendar"))}onEdit(t){this.api.gui.forms.typedEditForm(t,django.gettext("Edit calendar"))}onDelete(t){this.api.gui.forms.deleteForm(t,django.gettext("Delete calendar"))}onDetail(t){this.api.navigation.gotoCalendarDetail(t.param.id)}onLoad(t){t.param===!0&&t.table.selectElement("id",this.route.snapshot.paramMap.get("calendar"))}};e.\u0275fac=function(n){return new(n||e)(m(Oe),m(X),m(B))},e.\u0275cmp=E({type:e,selectors:[["uds-calendars"]],decls:1,vars:5,consts:[["icon","calendars",3,"newAction","editAction","deleteAction","detailAction","loaded","rest","multiSelect","allowExport","hasPermissions","pageSize"]],template:function(n,o){n&1&&(c(0,"uds-table",0),b("newAction",function(s){return o.onNew(s)})("editAction",function(s){return o.onEdit(s)})("deleteAction",function(s){return o.onDelete(s)})("detailAction",function(s){return o.onDetail(s)})("loaded",function(s){return o.onLoad(s)}),d()),n&2&&p("rest",o.rest.calendars)("multiSelect",!0)("allowExport",!0)("hasPermissions",!0)("pageSize",o.api.config.admin.page_size)},dependencies:[Te]});let i=e;return i})();var y9=["mat-calendar-body",""];function w9(i,e){return this._trackRow(e)}var RA=(i,e)=>e.id;function C9(i,e){if(i&1&&(c(0,"tr",0)(1,"td",3),g(2),d()()),i&2){let r=_();h(),ji("padding-top",r._cellPadding)("padding-bottom",r._cellPadding),ie("colspan",r.numCols),h(),F(" ",r.label," ")}}function x9(i,e){if(i&1&&(c(0,"td",3),g(1),d()),i&2){let r=_(2);ji("padding-top",r._cellPadding)("padding-bottom",r._cellPadding),ie("colspan",r._firstRowOffset),h(),F(" ",r._firstRowOffset>=r.labelMinRequiredCells?r.label:""," ")}}function D9(i,e){if(i&1){let r=A();c(0,"td",6)(1,"button",7),b("click",function(n){let o=y(r).$implicit,a=_(2);return w(a._cellClicked(o,n))})("focus",function(n){let o=y(r).$implicit,a=_(2);return w(a._emitActiveDateChange(o,n))}),c(2,"span",8),g(3),d(),I(4,"span",9),d()()}if(i&2){let r=e.$implicit,t=e.$index,n=_().$index,o=_();ji("width",o._cellWidth)("padding-top",o._cellPadding)("padding-bottom",o._cellPadding),ie("data-mat-row",n)("data-mat-col",t),h(),ne("mat-calendar-body-disabled",!r.enabled)("mat-calendar-body-active",o._isActiveCell(n,t))("mat-calendar-body-range-start",o._isRangeStart(r.compareValue))("mat-calendar-body-range-end",o._isRangeEnd(r.compareValue))("mat-calendar-body-in-range",o._isInRange(r.compareValue))("mat-calendar-body-comparison-bridge-start",o._isComparisonBridgeStart(r.compareValue,n,t))("mat-calendar-body-comparison-bridge-end",o._isComparisonBridgeEnd(r.compareValue,n,t))("mat-calendar-body-comparison-start",o._isComparisonStart(r.compareValue))("mat-calendar-body-comparison-end",o._isComparisonEnd(r.compareValue))("mat-calendar-body-in-comparison-range",o._isInComparisonRange(r.compareValue))("mat-calendar-body-preview-start",o._isPreviewStart(r.compareValue))("mat-calendar-body-preview-end",o._isPreviewEnd(r.compareValue))("mat-calendar-body-in-preview",o._isInPreview(r.compareValue)),p("ngClass",r.cssClasses)("tabindex",o._isActiveCell(n,t)?0:-1),ie("aria-label",r.ariaLabel)("aria-disabled",!r.enabled||null)("aria-pressed",o._isSelected(r.compareValue))("aria-current",o.todayValue===r.compareValue?"date":null)("aria-describedby",o._getDescribedby(r.compareValue)),h(),ne("mat-calendar-body-selected",o._isSelected(r.compareValue))("mat-calendar-body-comparison-identical",o._isComparisonIdentical(r.compareValue))("mat-calendar-body-today",o.todayValue===r.compareValue),h(),F(" ",r.displayValue," ")}}function S9(i,e){if(i&1&&(c(0,"tr",1),x(1,x9,2,6,"td",4),Sr(2,D9,5,48,"td",5,RA),d()),i&2){let r=e.$implicit,t=e.$index,n=_();h(),De(t===0&&n._firstRowOffset?1:-1),h(),Er(r)}}function E9(i,e){if(i&1&&(c(0,"th",2)(1,"span",6),g(2),d(),c(3,"span",3),g(4),d()()),i&2){let r=e.$implicit;h(2),$e(r.long),h(2),$e(r.narrow)}}var I9=["*"];function M9(i,e){}function T9(i,e){if(i&1){let r=A();c(0,"mat-month-view",4),H("activeDateChange",function(n){y(r);let o=_();return $(o.activeDate,n)||(o.activeDate=n),w(n)}),b("_userSelection",function(n){y(r);let o=_();return w(o._dateSelected(n))})("dragStarted",function(n){y(r);let o=_();return w(o._dragStarted(n))})("dragEnded",function(n){y(r);let o=_();return w(o._dragEnded(n))}),d()}if(i&2){let r=_();U("activeDate",r.activeDate),p("selected",r.selected)("dateFilter",r.dateFilter)("maxDate",r.maxDate)("minDate",r.minDate)("dateClass",r.dateClass)("comparisonStart",r.comparisonStart)("comparisonEnd",r.comparisonEnd)("startDateAccessibleName",r.startDateAccessibleName)("endDateAccessibleName",r.endDateAccessibleName)("activeDrag",r._activeDrag)}}function k9(i,e){if(i&1){let r=A();c(0,"mat-year-view",5),H("activeDateChange",function(n){y(r);let o=_();return $(o.activeDate,n)||(o.activeDate=n),w(n)}),b("monthSelected",function(n){y(r);let o=_();return w(o._monthSelectedInYearView(n))})("selectedChange",function(n){y(r);let o=_();return w(o._goToDateInView(n,"month"))}),d()}if(i&2){let r=_();U("activeDate",r.activeDate),p("selected",r.selected)("dateFilter",r.dateFilter)("maxDate",r.maxDate)("minDate",r.minDate)("dateClass",r.dateClass)}}function A9(i,e){if(i&1){let r=A();c(0,"mat-multi-year-view",6),H("activeDateChange",function(n){y(r);let o=_();return $(o.activeDate,n)||(o.activeDate=n),w(n)}),b("yearSelected",function(n){y(r);let o=_();return w(o._yearSelectedInMultiYearView(n))})("selectedChange",function(n){y(r);let o=_();return w(o._goToDateInView(n,"year"))}),d()}if(i&2){let r=_();U("activeDate",r.activeDate),p("selected",r.selected)("dateFilter",r.dateFilter)("maxDate",r.maxDate)("minDate",r.minDate)("dateClass",r.dateClass)}}function O9(i,e){}var R9=["button"],P9=[[["","matDatepickerToggleIcon",""]]],F9=["[matDatepickerToggleIcon]"];function N9(i,e){i&1&&(pi(),c(0,"svg",2),I(1,"path",3),d())}var Zd=(()=>{let e=class e{constructor(){this.changes=new G,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 24 years",this.nextMultiYearLabel="Next 24 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year",this.startDateLabel="Start date",this.endDateLabel="End date"}formatYearRange(t,n){return`${t} \u2013 ${n}`}formatYearRangeLabel(t,n){return`${t} to ${n}`}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),L9=0,Qd=class{constructor(e,r,t,n,o={},a=e,s){this.value=e,this.displayValue=r,this.ariaLabel=t,this.enabled=n,this.cssClasses=o,this.compareValue=a,this.rawValue=s,this.id=L9++}},V9=1,EA=Ui({passive:!1,capture:!0}),Aa=Ui({passive:!0,capture:!0}),ag=Ui({passive:!0}),Jl=(()=>{let e=class e{ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}constructor(t,n){this._elementRef=t,this._ngZone=n,this._platform=k(Ve),this._focusActiveCellAfterViewChecked=!1,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new T,this.previewChange=new T,this.activeDateChange=new T,this.dragStarted=new T,this.dragEnded=new T,this._didDragSinceMouseDown=!1,this._injector=k(Pe),this._trackRow=o=>o,this._enterHandler=o=>{if(this._skipNextFocus&&o.type==="focus"){this._skipNextFocus=!1;return}if(o.target&&this.isRange){let a=this._getCellFromElement(o.target);a&&this._ngZone.run(()=>this.previewChange.emit({value:a.enabled?a:null,event:o}))}},this._touchmoveHandler=o=>{if(!this.isRange)return;let a=IA(o),s=a?this._getCellFromElement(a):null;a!==o.target&&(this._didDragSinceMouseDown=!0),Dw(o.target)&&o.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:s?.enabled?s:null,event:o}))},this._leaveHandler=o=>{this.previewEnd!==null&&this.isRange&&(o.type!=="blur"&&(this._didDragSinceMouseDown=!0),o.target&&this._getCellFromElement(o.target)&&!(o.relatedTarget&&this._getCellFromElement(o.relatedTarget))&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:o})))},this._mousedownHandler=o=>{if(!this.isRange)return;this._didDragSinceMouseDown=!1;let a=o.target&&this._getCellFromElement(o.target);!a||!this._isInRange(a.compareValue)||this._ngZone.run(()=>{this.dragStarted.emit({value:a.rawValue,event:o})})},this._mouseupHandler=o=>{if(!this.isRange)return;let a=Dw(o.target);if(!a){this._ngZone.run(()=>{this.dragEnded.emit({value:null,event:o})});return}a.closest(".mat-calendar-body")===this._elementRef.nativeElement&&this._ngZone.run(()=>{let s=this._getCellFromElement(a);this.dragEnded.emit({value:s?.rawValue??null,event:o})})},this._touchendHandler=o=>{let a=IA(o);a&&this._mouseupHandler({target:a})},this._id=`mat-calendar-body-${V9++}`,this._startDateLabelId=`${this._id}-start-date`,this._endDateLabelId=`${this._id}-end-date`,n.runOutsideAngular(()=>{let o=t.nativeElement;o.addEventListener("touchmove",this._touchmoveHandler,EA),o.addEventListener("mouseenter",this._enterHandler,Aa),o.addEventListener("focus",this._enterHandler,Aa),o.addEventListener("mouseleave",this._leaveHandler,Aa),o.addEventListener("blur",this._leaveHandler,Aa),o.addEventListener("mousedown",this._mousedownHandler,ag),o.addEventListener("touchstart",this._mousedownHandler,ag),this._platform.isBrowser&&(window.addEventListener("mouseup",this._mouseupHandler),window.addEventListener("touchend",this._touchendHandler))})}_cellClicked(t,n){this._didDragSinceMouseDown||t.enabled&&this.selectedValueChange.emit({value:t.value,event:n})}_emitActiveDateChange(t,n){t.enabled&&this.activeDateChange.emit({value:t.value,event:n})}_isSelected(t){return this.startValue===t||this.endValue===t}ngOnChanges(t){let n=t.numCols,{rows:o,numCols:a}=this;(t.rows||n)&&(this._firstRowOffset=o&&o.length&&o[0].length?a-o[0].length:0),(t.cellAspectRatio||n||!this._cellPadding)&&(this._cellPadding=`${50*this.cellAspectRatio/a}%`),(n||!this._cellWidth)&&(this._cellWidth=`${100/a}%`)}ngOnDestroy(){let t=this._elementRef.nativeElement;t.removeEventListener("touchmove",this._touchmoveHandler,EA),t.removeEventListener("mouseenter",this._enterHandler,Aa),t.removeEventListener("focus",this._enterHandler,Aa),t.removeEventListener("mouseleave",this._leaveHandler,Aa),t.removeEventListener("blur",this._leaveHandler,Aa),t.removeEventListener("mousedown",this._mousedownHandler,ag),t.removeEventListener("touchstart",this._mousedownHandler,ag),this._platform.isBrowser&&(window.removeEventListener("mouseup",this._mouseupHandler),window.removeEventListener("touchend",this._touchendHandler))}_isActiveCell(t,n){let o=t*this.numCols+n;return t&&(o-=this._firstRowOffset),o==this.activeCell}_focusActiveCell(t=!0){ai(()=>{setTimeout(()=>{let n=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");n&&(t||(this._skipNextFocus=!0),n.focus())})},{injector:this._injector})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(t){return Sw(t,this.startValue,this.endValue)}_isRangeEnd(t){return Ew(t,this.startValue,this.endValue)}_isInRange(t){return Iw(t,this.startValue,this.endValue,this.isRange)}_isComparisonStart(t){return Sw(t,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(t,n,o){if(!this._isComparisonStart(t)||this._isRangeStart(t)||!this._isInRange(t))return!1;let a=this.rows[n][o-1];if(!a){let s=this.rows[n-1];a=s&&s[s.length-1]}return a&&!this._isRangeEnd(a.compareValue)}_isComparisonBridgeEnd(t,n,o){if(!this._isComparisonEnd(t)||this._isRangeEnd(t)||!this._isInRange(t))return!1;let a=this.rows[n][o+1];if(!a){let s=this.rows[n+1];a=s&&s[0]}return a&&!this._isRangeStart(a.compareValue)}_isComparisonEnd(t){return Ew(t,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(t){return Iw(t,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(t){return this.comparisonStart===this.comparisonEnd&&t===this.comparisonStart}_isPreviewStart(t){return Sw(t,this.previewStart,this.previewEnd)}_isPreviewEnd(t){return Ew(t,this.previewStart,this.previewEnd)}_isInPreview(t){return Iw(t,this.previewStart,this.previewEnd,this.isRange)}_getDescribedby(t){return this.isRange?this.startValue===t&&this.endValue===t?`${this._startDateLabelId} ${this._endDateLabelId}`:this.startValue===t?this._startDateLabelId:this.endValue===t?this._endDateLabelId:null:null}_getCellFromElement(t){let n=Dw(t);if(n){let o=n.getAttribute("data-mat-row"),a=n.getAttribute("data-mat-col");if(o&&a)return this.rows[parseInt(o)][parseInt(a)]}return null}};e.\u0275fac=function(n){return new(n||e)(m(q),m(Z))},e.\u0275cmp=E({type:e,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange",activeDateChange:"activeDateChange",dragStarted:"dragStarted",dragEnded:"dragEnded"},exportAs:["matCalendarBody"],standalone:!0,features:[Qe,re],attrs:y9,decls:7,vars:5,consts:[["aria-hidden","true"],["role","row"],[1,"mat-calendar-body-hidden-label",3,"id"],[1,"mat-calendar-body-label"],[1,"mat-calendar-body-label",3,"paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"click","focus","ngClass","tabindex"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(n,o){n&1&&(x(0,C9,3,6,"tr",0),Sr(1,S9,4,1,"tr",1,w9,!0),c(3,"span",2),g(4),d(),c(5,"span",2),g(6),d()),n&2&&(De(o._firstRowOffset.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:var(--mat-datepicker-calendar-date-disabled-state-text-color)}.mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:var(--mat-datepicker-calendar-date-today-disabled-state-outline-color)}.cdk-high-contrast-active .mat-calendar-body-disabled{opacity:.5}.mat-calendar-body-cell-content{top:5%;left:5%;z-index:1;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px;color:var(--mat-datepicker-calendar-date-text-color, var(--mat-app-on-surface));border-color:var(--mat-datepicker-calendar-date-outline-color)}.mat-calendar-body-cell-content.mat-focus-indicator{position:absolute}.cdk-high-contrast-active .mat-calendar-body-cell-content{border:none}.cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:var(--mat-datepicker-calendar-date-focus-state-background-color)}@media(hover: hover){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:var(--mat-datepicker-calendar-date-hover-state-background-color)}}.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-state-background-color, var(--mat-app-primary));color:var(--mat-datepicker-calendar-date-selected-state-text-color, var(--mat-app-on-primary))}.mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-disabled-state-background-color)}.mat-calendar-body-selected.mat-calendar-body-today{box-shadow:inset 0 0 0 1px var(--mat-datepicker-calendar-date-today-selected-state-outline-color, var(--mat-app-primary))}.mat-calendar-body-in-range::before{background:var(--mat-datepicker-calendar-date-in-range-state-background-color, var(--mat-app-primary-container))}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-app-tertiary-container))}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-app-tertiary-container))}.mat-calendar-body-comparison-bridge-start::before,[dir=rtl] .mat-calendar-body-comparison-bridge-end::before{background:linear-gradient(to right, var(--mat-datepicker-calendar-date-in-range-state-background-color, var(--mat-app-primary-container)) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-app-tertiary-container)) 50%)}.mat-calendar-body-comparison-bridge-end::before,[dir=rtl] .mat-calendar-body-comparison-bridge-start::before{background:linear-gradient(to left, var(--mat-datepicker-calendar-date-in-range-state-background-color, var(--mat-app-primary-container)) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-app-tertiary-container)) 50%)}.mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range.mat-calendar-body-in-range::after{background:var(--mat-datepicker-calendar-date-in-overlap-range-state-background-color, var(--mat-app-secondary-container))}.mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:var(--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color, var(--mat-app-secondary))}.cdk-high-contrast-active .mat-datepicker-popup:not(:empty),.cdk-high-contrast-active .mat-calendar-body-cell:not(.mat-calendar-body-in-range) .mat-calendar-body-selected{outline:solid 1px}.cdk-high-contrast-active .mat-calendar-body-today{outline:dotted 1px}.cdk-high-contrast-active .mat-calendar-body-cell::before,.cdk-high-contrast-active .mat-calendar-body-cell::after,.cdk-high-contrast-active .mat-calendar-body-selected{background:none}.cdk-high-contrast-active .mat-calendar-body-in-range::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-start::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-end::before{border-top:solid 1px;border-bottom:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:0;border-right:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:0;border-left:solid 1px}.cdk-high-contrast-active .mat-calendar-body-in-comparison-range::before{border-top:dashed 1px;border-bottom:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:0;border-right:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:0;border-left:dashed 1px}'],encapsulation:2,changeDetection:0});let i=e;return i})();function xw(i){return i?.nodeName==="TD"}function Dw(i){let e;return xw(i)?e=i:xw(i.parentNode)?e=i.parentNode:xw(i.parentNode?.parentNode)&&(e=i.parentNode.parentNode),e?.getAttribute("data-mat-row")!=null?e:null}function Sw(i,e,r){return r!==null&&e!==r&&i=e&&i===r}function Iw(i,e,r,t){return t&&e!==null&&r!==null&&e!==r&&i>=e&&i<=r}function IA(i){let e=i.changedTouches[0];return document.elementFromPoint(e.clientX,e.clientY)}var fo=class{constructor(e,r){this.start=e,this.end=r}},Kd=(()=>{let e=class e{constructor(t,n){this.selection=t,this._adapter=n,this._selectionChanged=new G,this.selectionChanged=this._selectionChanged,this.selection=t}updateSelection(t,n){let o=this.selection;this.selection=t,this._selectionChanged.next({selection:t,source:n,oldValue:o})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(t){return this._adapter.isDateInstance(t)&&this._adapter.isValid(t)}};e.\u0275fac=function(n){ts()},e.\u0275prov=V({token:e,factory:e.\u0275fac});let i=e;return i})(),j9=(()=>{let e=class e extends Kd{constructor(t){super(null,t)}add(t){super.updateSelection(t,this)}isValid(){return this.selection!=null&&this._isValidDateInstance(this.selection)}isComplete(){return this.selection!=null}clone(){let t=new e(this._adapter);return t.updateSelection(this.selection,this),t}};e.\u0275fac=function(n){return new(n||e)(M(Ri))},e.\u0275prov=V({token:e,factory:e.\u0275fac});let i=e;return i})();function B9(i,e){return i||new j9(e)}var PA={provide:Kd,deps:[[new to,new Do,Kd],Ri],useFactory:B9};var FA=new R("MAT_DATE_RANGE_SELECTION_STRATEGY");var Mw=7,z9=0,MA=(()=>{let e=class e{get activeDate(){return this._activeDate}set activeDate(t){let n=this._activeDate,o=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(o,this.minDate,this.maxDate),this._hasSameMonthAndYear(n,this._activeDate)||this._init()}get selected(){return this._selected}set selected(t){t instanceof fo?this._selected=t:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}constructor(t,n,o,a,s){this._changeDetectorRef=t,this._dateFormats=n,this._dateAdapter=o,this._dir=a,this._rangeStrategy=s,this._rerenderSubscription=ve.EMPTY,this.activeDrag=null,this.selectedChange=new T,this._userSelection=new T,this.dragStarted=new T,this.dragEnded=new T,this.activeDateChange=new T,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Rt(null)).subscribe(()=>this._init())}ngOnChanges(t){let n=t.comparisonStart||t.comparisonEnd;n&&!n.firstChange&&this._setRanges(this.selected),t.activeDrag&&!this.activeDrag&&this._clearPreview()}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(t){let n=t.value,o=this._getDateFromDayOfMonth(n),a,s;this._selected instanceof fo?(a=this._getDateInCurrentMonth(this._selected.start),s=this._getDateInCurrentMonth(this._selected.end)):a=s=this._getDateInCurrentMonth(this._selected),(a!==n||s!==n)&&this.selectedChange.emit(o),this._userSelection.emit({value:o,event:t.event}),this._clearPreview(),this._changeDetectorRef.markForCheck()}_updateActiveDate(t){let n=t.value,o=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(n),this._dateAdapter.compareDate(o,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(t){let n=this._activeDate,o=this._isRtl();switch(t.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,o?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,o?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case 40:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case 36:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case 33:this.activeDate=t.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case 34:this.activeDate=t.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case 13:case 32:this._selectionKeyPressed=!0,this._canSelect(this._activeDate)&&t.preventDefault();return;case 27:this._previewEnd!=null&&!Pt(t)&&(this._clearPreview(),this.activeDrag?this.dragEnded.emit({value:null,event:t}):(this.selectedChange.emit(null),this._userSelection.emit({value:null,event:t})),t.preventDefault(),t.stopPropagation());return;default:return}this._dateAdapter.compareDate(n,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),t.preventDefault()}_handleCalendarBodyKeyup(t){(t.keyCode===32||t.keyCode===13)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:t}),this._selectionKeyPressed=!1)}_init(){this._setRanges(this.selected),this._todayDate=this._getCellCompareValue(this._dateAdapter.today()),this._monthLabel=this._dateFormats.display.monthLabel?this._dateAdapter.format(this.activeDate,this._dateFormats.display.monthLabel):this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();let t=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(Mw+this._dateAdapter.getDayOfWeek(t)-this._dateAdapter.getFirstDayOfWeek())%Mw,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(t){this._matCalendarBody._focusActiveCell(t)}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_previewChanged({event:t,value:n}){if(this._rangeStrategy){let o=n?n.rawValue:null,a=this._rangeStrategy.createPreview(o,this.selected,t);if(this._previewStart=this._getCellCompareValue(a.start),this._previewEnd=this._getCellCompareValue(a.end),this.activeDrag&&o){let s=this._rangeStrategy.createDrag?.(this.activeDrag.value,this.selected,o,t);s&&(this._previewStart=this._getCellCompareValue(s.start),this._previewEnd=this._getCellCompareValue(s.end))}this._changeDetectorRef.detectChanges()}}_dragEnded(t){if(this.activeDrag)if(t.value){let n=this._rangeStrategy?.createDrag?.(this.activeDrag.value,this.selected,t.value,t.event);this.dragEnded.emit({value:n??null,event:t.event})}else this.dragEnded.emit({value:null,event:t.event})}_getDateFromDayOfMonth(t){return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),t)}_initWeekdays(){let t=this._dateAdapter.getFirstDayOfWeek(),n=this._dateAdapter.getDayOfWeekNames("narrow"),a=this._dateAdapter.getDayOfWeekNames("long").map((s,l)=>({long:s,narrow:n[l],id:z9++}));this._weekdays=a.slice(t).concat(a.slice(0,t))}_createWeekCells(){let t=this._dateAdapter.getNumDaysInMonth(this.activeDate),n=this._dateAdapter.getDateNames();this._weeks=[[]];for(let o=0,a=this._firstWeekOffset;o=0)&&(!this.maxDate||this._dateAdapter.compareDate(t,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(t))}_getDateInCurrentMonth(t){return t&&this._hasSameMonthAndYear(t,this.activeDate)?this._dateAdapter.getDate(t):null}_hasSameMonthAndYear(t,n){return!!(t&&n&&this._dateAdapter.getMonth(t)==this._dateAdapter.getMonth(n)&&this._dateAdapter.getYear(t)==this._dateAdapter.getYear(n))}_getCellCompareValue(t){if(t){let n=this._dateAdapter.getYear(t),o=this._dateAdapter.getMonth(t),a=this._dateAdapter.getDate(t);return new Date(n,o,a).getTime()}return null}_isRtl(){return this._dir&&this._dir.value==="rtl"}_setRanges(t){t instanceof fo?(this._rangeStart=this._getCellCompareValue(t.start),this._rangeEnd=this._getCellCompareValue(t.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(t),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}_canSelect(t){return!this.dateFilter||this.dateFilter(t)}_clearPreview(){this._previewStart=this._previewEnd=null}};e.\u0275fac=function(n){return new(n||e)(m(he),m(ba,8),m(Ri,8),m(Nt,8),m(FA,8))},e.\u0275cmp=E({type:e,selectors:[["mat-month-view"]],viewQuery:function(n,o){if(n&1&&ce(Jl,5),n&2){let a;Q(a=K())&&(o._matCalendarBody=a.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName",activeDrag:"activeDrag"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",dragStarted:"dragStarted",dragEnded:"dragEnded",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],standalone:!0,features:[Qe,re],decls:8,vars:14,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col"],["aria-hidden","true"],["colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"selectedValueChange","activeDateChange","previewChange","dragStarted","dragEnded","keyup","keydown","label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","startDateAccessibleName","endDateAccessibleName"],[1,"cdk-visually-hidden"]],template:function(n,o){n&1&&(c(0,"table",0)(1,"thead",1)(2,"tr"),Sr(3,E9,5,2,"th",2,RA),d(),c(5,"tr",3),I(6,"th",4),d()(),c(7,"tbody",5),b("selectedValueChange",function(s){return o._dateSelected(s)})("activeDateChange",function(s){return o._updateActiveDate(s)})("previewChange",function(s){return o._previewChanged(s)})("dragStarted",function(s){return o.dragStarted.emit(s)})("dragEnded",function(s){return o._dragEnded(s)})("keyup",function(s){return o._handleCalendarBodyKeyup(s)})("keydown",function(s){return o._handleCalendarBodyKeydown(s)}),d()()),n&2&&(h(3),Er(o._weekdays),h(4),p("label",o._monthLabel)("rows",o._weeks)("todayValue",o._todayDate)("startValue",o._rangeStart)("endValue",o._rangeEnd)("comparisonStart",o._comparisonRangeStart)("comparisonEnd",o._comparisonRangeEnd)("previewStart",o._previewStart)("previewEnd",o._previewEnd)("isRange",o._isRange)("labelMinRequiredCells",3)("activeCell",o._dateAdapter.getDate(o.activeDate)-1)("startDateAccessibleName",o.startDateAccessibleName)("endDateAccessibleName",o.endDateAccessibleName))},dependencies:[Jl],encapsulation:2,changeDetection:0});let i=e;return i})(),Gn=24,Tw=4,TA=(()=>{let e=class e{get activeDate(){return this._activeDate}set activeDate(t){let n=this._activeDate,o=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(o,this.minDate,this.maxDate),NA(this._dateAdapter,n,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(t){t instanceof fo?this._selected=t:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t)),this._setSelectedYear(t)}get minDate(){return this._minDate}set minDate(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}constructor(t,n,o){this._changeDetectorRef=t,this._dateAdapter=n,this._dir=o,this._rerenderSubscription=ve.EMPTY,this.selectedChange=new T,this.yearSelected=new T,this.activeDateChange=new T,this._dateAdapter,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Rt(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());let n=this._dateAdapter.getYear(this._activeDate)-Yd(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let o=0,a=[];othis._createCellForYear(s))),a=[]);this._changeDetectorRef.markForCheck()}_yearSelected(t){let n=t.value,o=this._dateAdapter.createDate(n,0,1),a=this._getDateFromYear(n);this.yearSelected.emit(o),this.selectedChange.emit(a)}_updateActiveDate(t){let n=t.value,o=this._activeDate;this.activeDate=this._getDateFromYear(n),this._dateAdapter.compareDate(o,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(t){let n=this._activeDate,o=this._isRtl();switch(t.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,o?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,o?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-Tw);break;case 40:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Tw);break;case 36:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-Yd(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Gn-Yd(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?-Gn*10:-Gn);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?Gn*10:Gn);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(n,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked(),t.preventDefault()}_handleCalendarBodyKeyup(t){(t.keyCode===32||t.keyCode===13)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:t}),this._selectionKeyPressed=!1)}_getActiveCell(){return Yd(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getDateFromYear(t){let n=this._dateAdapter.getMonth(this.activeDate),o=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(t,n,1));return this._dateAdapter.createDate(t,n,Math.min(this._dateAdapter.getDate(this.activeDate),o))}_createCellForYear(t){let n=this._dateAdapter.createDate(t,0,1),o=this._dateAdapter.getYearName(n),a=this.dateClass?this.dateClass(n,"multi-year"):void 0;return new Qd(t,o,o,this._shouldEnableYear(t),a)}_shouldEnableYear(t){if(t==null||this.maxDate&&t>this._dateAdapter.getYear(this.maxDate)||this.minDate&&t{let e=class e{get activeDate(){return this._activeDate}set activeDate(t){let n=this._activeDate,o=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(o,this.minDate,this.maxDate),this._dateAdapter.getYear(n)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(t){t instanceof fo?this._selected=t:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t)),this._setSelectedMonth(t)}get minDate(){return this._minDate}set minDate(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}constructor(t,n,o,a){this._changeDetectorRef=t,this._dateFormats=n,this._dateAdapter=o,this._dir=a,this._rerenderSubscription=ve.EMPTY,this.selectedChange=new T,this.monthSelected=new T,this.activeDateChange=new T,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Rt(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(t){let n=t.value,o=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),n,1);this.monthSelected.emit(o);let a=this._getDateFromMonth(n);this.selectedChange.emit(a)}_updateActiveDate(t){let n=t.value,o=this._activeDate;this.activeDate=this._getDateFromMonth(n),this._dateAdapter.compareDate(o,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(t){let n=this._activeDate,o=this._isRtl();switch(t.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,o?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,o?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case 40:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case 36:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?-10:-1);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?10:1);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(n,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),t.preventDefault()}_handleCalendarBodyKeyup(t){(t.keyCode===32||t.keyCode===13)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:t}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let t=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(n=>n.map(o=>this._createCellForMonth(o,t[o]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getMonthInCurrentYear(t){return t&&this._dateAdapter.getYear(t)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(t):null}_getDateFromMonth(t){let n=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,1),o=this._dateAdapter.getNumDaysInMonth(n);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,Math.min(this._dateAdapter.getDate(this.activeDate),o))}_createCellForMonth(t,n){let o=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,1),a=this._dateAdapter.format(o,this._dateFormats.display.monthYearA11yLabel),s=this.dateClass?this.dateClass(o,"year"):void 0;return new Qd(t,n.toLocaleUpperCase(),a,this._shouldEnableMonth(t),s)}_shouldEnableMonth(t){let n=this._dateAdapter.getYear(this.activeDate);if(t==null||this._isYearAndMonthAfterMaxDate(n,t)||this._isYearAndMonthBeforeMinDate(n,t))return!1;if(!this.dateFilter)return!0;let o=this._dateAdapter.createDate(n,t,1);for(let a=o;this._dateAdapter.getMonth(a)==t;a=this._dateAdapter.addCalendarDays(a,1))if(this.dateFilter(a))return!0;return!1}_isYearAndMonthAfterMaxDate(t,n){if(this.maxDate){let o=this._dateAdapter.getYear(this.maxDate),a=this._dateAdapter.getMonth(this.maxDate);return t>o||t===o&&n>a}return!1}_isYearAndMonthBeforeMinDate(t,n){if(this.minDate){let o=this._dateAdapter.getYear(this.minDate),a=this._dateAdapter.getMonth(this.minDate);return t{let e=class e{constructor(t,n,o,a,s){this._intl=t,this.calendar=n,this._dateAdapter=o,this._dateFormats=a,this._id=`mat-calendar-header-${H9++}`,this._periodButtonLabelId=`${this._id}-period-label`,this.calendar.stateChanges.subscribe(()=>s.markForCheck())}get periodButtonText(){return this.calendar.currentView=="month"?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():this.calendar.currentView=="year"?this._dateAdapter.getYearName(this.calendar.activeDate):this._intl.formatYearRange(...this._formatMinAndMaxYearLabels())}get periodButtonDescription(){return this.calendar.currentView=="month"?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():this.calendar.currentView=="year"?this._dateAdapter.getYearName(this.calendar.activeDate):this._intl.formatYearRangeLabel(...this._formatMinAndMaxYearLabels())}get periodButtonLabel(){return this.calendar.currentView=="month"?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}get prevButtonLabel(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]}get nextButtonLabel(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]}currentPeriodClicked(){this.calendar.currentView=this.calendar.currentView=="month"?"multi-year":"month"}previousClicked(){this.calendar.activeDate=this.calendar.currentView=="month"?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,this.calendar.currentView=="year"?-1:-Gn)}nextClicked(){this.calendar.activeDate=this.calendar.currentView=="month"?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,this.calendar.currentView=="year"?1:Gn)}previousEnabled(){return this.calendar.minDate?!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate):!0}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_isSameView(t,n){return this.calendar.currentView=="month"?this._dateAdapter.getYear(t)==this._dateAdapter.getYear(n)&&this._dateAdapter.getMonth(t)==this._dateAdapter.getMonth(n):this.calendar.currentView=="year"?this._dateAdapter.getYear(t)==this._dateAdapter.getYear(n):NA(this._dateAdapter,t,n,this.calendar.minDate,this.calendar.maxDate)}_formatMinAndMaxYearLabels(){let n=this._dateAdapter.getYear(this.calendar.activeDate)-Yd(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),o=n+Gn-1,a=this._dateAdapter.getYearName(this._dateAdapter.createDate(n,0,1)),s=this._dateAdapter.getYearName(this._dateAdapter.createDate(o,0,1));return[a,s]}};e.\u0275fac=function(n){return new(n||e)(m(Zd),m(Xt(()=>kw)),m(Ri,8),m(ba,8),m(he))},e.\u0275cmp=E({type:e,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],standalone:!0,features:[re],ngContentSelectors:I9,decls:17,vars:11,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["aria-live","polite",1,"cdk-visually-hidden",3,"id"],["mat-button","","type","button",1,"mat-calendar-period-button",3,"click"],["aria-hidden","true"],["viewBox","0 0 10 5","focusable","false","aria-hidden","true",1,"mat-calendar-arrow"],["points","0,0 5,5 10,0"],[1,"mat-calendar-spacer"],["mat-icon-button","","type","button",1,"mat-calendar-previous-button",3,"click","disabled"],["viewBox","0 0 24 24","focusable","false","aria-hidden","true"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"click","disabled"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"]],template:function(n,o){n&1&&(He(),c(0,"div",0)(1,"div",1)(2,"span",2),g(3),d(),c(4,"button",3),b("click",function(){return o.currentPeriodClicked()}),c(5,"span",4),g(6),d(),pi(),c(7,"svg",5),I(8,"polygon",6),d()(),yr(),I(9,"div",7),ae(10),c(11,"button",8),b("click",function(){return o.previousClicked()}),pi(),c(12,"svg",9),I(13,"path",10),d()(),yr(),c(14,"button",11),b("click",function(){return o.nextClicked()}),pi(),c(15,"svg",9),I(16,"path",12),d()()()()),n&2&&(h(2),p("id",o._periodButtonLabelId),h(),$e(o.periodButtonDescription),h(),ie("aria-label",o.periodButtonLabel)("aria-describedby",o._periodButtonLabelId),h(2),$e(o.periodButtonText),h(),ne("mat-calendar-invert",o.calendar.currentView!=="month"),h(4),p("disabled",!o.previousEnabled()),ie("aria-label",o.prevButtonLabel),h(3),p("disabled",!o.nextEnabled()),ie("aria-label",o.nextButtonLabel))},dependencies:[ke,Qi],encapsulation:2,changeDetection:0});let i=e;return i})(),kw=(()=>{let e=class e{get startAt(){return this._startAt}set startAt(t){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get selected(){return this._selected}set selected(t){t instanceof fo?this._selected=t:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get minDate(){return this._minDate}set minDate(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get activeDate(){return this._clampedActiveDate}set activeDate(t){this._clampedActiveDate=this._dateAdapter.clampDate(t,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(t){let n=this._currentView!==t?t:null;this._currentView=t,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),n&&this.viewChanged.emit(n)}constructor(t,n,o,a){this._dateAdapter=n,this._dateFormats=o,this._changeDetectorRef=a,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new T,this.yearSelected=new T,this.monthSelected=new T,this.viewChanged=new T(!0),this._userSelection=new T,this._userDragDrop=new T,this._activeDrag=null,this.stateChanges=new G,this._intlChanges=t.changes.subscribe(()=>{a.markForCheck(),this.stateChanges.next()})}ngAfterContentInit(){this._calendarHeaderPortal=new In(this.headerComponent||VA),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(t){let n=t.minDate&&!this._dateAdapter.sameDate(t.minDate.previousValue,t.minDate.currentValue)?t.minDate:void 0,o=t.maxDate&&!this._dateAdapter.sameDate(t.maxDate.previousValue,t.maxDate.currentValue)?t.maxDate:void 0,a=n||o||t.dateFilter;if(a&&!a.firstChange){let s=this._getCurrentViewComponent();s&&(this._moveFocusOnNextTick=!0,this._changeDetectorRef.detectChanges(),s._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(t){let n=t.value;(this.selected instanceof fo||n&&!this._dateAdapter.sameDate(n,this.selected))&&this.selectedChange.emit(n),this._userSelection.emit(t)}_yearSelectedInMultiYearView(t){this.yearSelected.emit(t)}_monthSelectedInYearView(t){this.monthSelected.emit(t)}_goToDateInView(t,n){this.activeDate=t,this.currentView=n}_dragStarted(t){this._activeDrag=t}_dragEnded(t){this._activeDrag&&(t.value&&this._userDragDrop.emit(t),this._activeDrag=null)}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}};e.\u0275fac=function(n){return new(n||e)(m(Zd),m(Ri,8),m(ba,8),m(he))},e.\u0275cmp=E({type:e,selectors:[["mat-calendar"]],viewQuery:function(n,o){if(n&1&&(ce(MA,5),ce(kA,5),ce(TA,5)),n&2){let a;Q(a=K())&&(o.monthView=a.first),Q(a=K())&&(o.yearView=a.first),Q(a=K())&&(o.multiYearView=a.first)}},hostAttrs:[1,"mat-calendar"],inputs:{headerComponent:"headerComponent",startAt:"startAt",startView:"startView",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection",_userDragDrop:"_userDragDrop"},exportAs:["matCalendar"],standalone:!0,features:[Ce([PA]),Qe,re],decls:5,vars:2,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass"],[3,"activeDateChange","_userSelection","dragStarted","dragEnded","activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag"],[3,"activeDateChange","monthSelected","selectedChange","activeDate","selected","dateFilter","maxDate","minDate","dateClass"],[3,"activeDateChange","yearSelected","selectedChange","activeDate","selected","dateFilter","maxDate","minDate","dateClass"]],template:function(n,o){if(n&1&&(x(0,M9,0,0,"ng-template",0),c(1,"div",1),x(2,T9,1,11,"mat-month-view",2)(3,k9,1,6,"mat-year-view",3)(4,A9,1,6,"mat-multi-year-view",3),d()),n&2){let a;p("cdkPortalOutlet",o._calendarHeaderPortal),h(2),De((a=o.currentView)==="month"?2:a==="year"?3:a==="multi-year"?4:-1)}},dependencies:[rn,up,MA,kA,TA],styles:['.mat-calendar{display:block;line-height:normal;font-family:var(--mat-datepicker-calendar-text-font, var(--mat-app-body-medium-font));font-size:var(--mat-datepicker-calendar-text-size, var(--mat-app-body-medium-size))}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;align-items:center;margin:5% calc(4.7142857143% - 16px)}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0;margin:0 8px;font-size:var(--mat-datepicker-calendar-period-button-text-size, var(--mat-app-title-small-size));font-weight:var(--mat-datepicker-calendar-period-button-text-weight, var(--mat-app-title-small-weight));--mdc-text-button-label-text-color:var(--mat-datepicker-calendar-period-button-text-color, var(--mat-app-on-surface-variant))}.mat-calendar-arrow{display:inline-block;width:10px;height:5px;margin:0 0 0 5px;vertical-align:middle;fill:var(--mat-datepicker-calendar-period-button-icon-color, var(--mat-app-on-surface-variant))}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.cdk-high-contrast-active .mat-calendar-arrow{fill:CanvasText}.mat-datepicker-content .mat-calendar-previous-button:not(.mat-mdc-button-disabled),.mat-datepicker-content .mat-calendar-next-button:not(.mat-mdc-button-disabled){color:var(--mat-datepicker-calendar-navigation-button-icon-color, var(--mat-app-on-surface-variant))}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0;color:var(--mat-datepicker-calendar-header-text-color, var(--mat-app-on-surface-variant));font-size:var(--mat-datepicker-calendar-header-text-size, var(--mat-app-title-small-size));font-weight:var(--mat-datepicker-calendar-header-text-weight, var(--mat-app-title-small-weight))}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px;background:var(--mat-datepicker-calendar-header-divider-color)}.mat-calendar-body-cell-content::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}.mat-calendar-body-cell:focus .mat-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0});let i=e;return i})(),AA={transformPanel:ui("transformPanel",[St("void => enter-dropdown",Mt("120ms cubic-bezier(0, 0, 0.2, 1)",wa([Me({opacity:0,transform:"scale(1, 0.8)"}),Me({opacity:1,transform:"scale(1, 1)"})]))),St("void => enter-dialog",Mt("150ms cubic-bezier(0, 0, 0.2, 1)",wa([Me({opacity:0,transform:"scale(0.7)"}),Me({transform:"none",opacity:1})]))),St("* => void",Mt("100ms linear",Me({opacity:0})))]),fadeInCalendar:ui("fadeInCalendar",[Lt("void",Me({opacity:0})),Lt("enter",Me({opacity:1})),St("void => *",Mt("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])},$9=0,jA=new R("mat-datepicker-scroll-strategy",{providedIn:"root",factory:()=>{let i=k(xt);return()=>i.scrollStrategies.reposition()}});function W9(i){return()=>i.scrollStrategies.reposition()}var G9={provide:jA,deps:[xt],useFactory:W9},BA=(()=>{let e=class e{constructor(t,n,o,a,s,l){this._elementRef=t,this._changeDetectorRef=n,this._globalModel=o,this._dateAdapter=a,this._rangeSelectionStrategy=s,this._subscriptions=new ve,this._animationDone=new G,this._isAnimating=!1,this._actionsPortal=null,this._closeButtonText=l.closeCalendarLabel}ngOnInit(){this._animationState=this.datepicker.touchUi?"enter-dialog":"enter-dropdown"}ngAfterViewInit(){this._subscriptions.add(this.datepicker.stateChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})),this._calendar.focusActiveCell()}ngOnDestroy(){this._subscriptions.unsubscribe(),this._animationDone.complete()}_handleUserSelection(t){let n=this._model.selection,o=t.value,a=n instanceof fo;if(a&&this._rangeSelectionStrategy){let s=this._rangeSelectionStrategy.selectionFinished(o,n,t.event);this._model.updateSelection(s,this)}else o&&(a||!this._dateAdapter.sameDate(o,n))&&this._model.add(o);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_handleUserDragDrop(t){this._model.updateSelection(t.value,this)}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}_handleAnimationEvent(t){this._isAnimating=t.phaseName==="start",this._isAnimating||this._animationDone.next()}_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}_assignActions(t,n){this._model=t?this._globalModel.clone():this._globalModel,this._actionsPortal=t,n&&this._changeDetectorRef.detectChanges()}};e.\u0275fac=function(n){return new(n||e)(m(q),m(he),m(Kd),m(Ri),m(FA,8),m(Zd))},e.\u0275cmp=E({type:e,selectors:[["mat-datepicker-content"]],viewQuery:function(n,o){if(n&1&&ce(kw,5),n&2){let a;Q(a=K())&&(o._calendar=a.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:5,hostBindings:function(n,o){n&1&&Fc("@transformPanel.start",function(s){return o._handleAnimationEvent(s)})("@transformPanel.done",function(s){return o._handleAnimationEvent(s)}),n&2&&(Pc("@transformPanel",o._animationState),Yt(o.color?"mat-"+o.color:""),ne("mat-datepicker-content-touch",o.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],standalone:!0,features:[re],decls:5,vars:27,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"yearSelected","monthSelected","viewChanged","_userSelection","_userDragDrop","id","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",3,"focus","blur","click","color"]],template:function(n,o){if(n&1&&(c(0,"div",0)(1,"mat-calendar",1),b("yearSelected",function(s){return o.datepicker._selectYear(s)})("monthSelected",function(s){return o.datepicker._selectMonth(s)})("viewChanged",function(s){return o.datepicker._viewChanged(s)})("_userSelection",function(s){return o._handleUserSelection(s)})("_userDragDrop",function(s){return o._handleUserDragDrop(s)}),d(),x(2,O9,0,0,"ng-template",2),c(3,"button",3),b("focus",function(){return o._closeButtonFocused=!0})("blur",function(){return o._closeButtonFocused=!1})("click",function(){return o.datepicker.close()}),g(4),d()()),n&2){let a;ne("mat-datepicker-content-container-with-custom-header",o.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",o._actionsPortal),ie("aria-modal",!0)("aria-labelledby",(a=o._dialogLabelId)!==null&&a!==void 0?a:void 0),h(),Yt(o.datepicker.panelClass),p("id",o.datepicker.id)("startAt",o.datepicker.startAt)("startView",o.datepicker.startView)("minDate",o.datepicker._getMinDate())("maxDate",o.datepicker._getMaxDate())("dateFilter",o.datepicker._getDateFilter())("headerComponent",o.datepicker.calendarHeaderComponent)("selected",o._getSelected())("dateClass",o.datepicker.dateClass)("comparisonStart",o.comparisonStart)("comparisonEnd",o.comparisonEnd)("@fadeInCalendar","enter")("startDateAccessibleName",o.startDateAccessibleName)("endDateAccessibleName",o.endDateAccessibleName),h(),p("cdkPortalOutlet",o._actionsPortal),h(),ne("cdk-visually-hidden",!o._closeButtonFocused),p("color",o.color||"primary"),h(),$e(o._closeButtonText)}},dependencies:[m1,kw,rn,ke],styles:[".mat-datepicker-content{display:block;border-radius:4px;background-color:var(--mat-datepicker-calendar-container-background-color, var(--mat-app-surface-container-high));color:var(--mat-datepicker-calendar-container-text-color, var(--mat-app-on-surface));box-shadow:var(--mat-datepicker-calendar-container-elevation-shadow);border-radius:var(--mat-datepicker-calendar-container-shape, var(--mat-app-corner-large))}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-content-container-with-custom-header .mat-calendar{height:auto}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.ng-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{display:block;max-height:80vh;box-shadow:var(--mat-datepicker-calendar-container-touch-elevation-shadow);border-radius:var(--mat-datepicker-calendar-container-touch-shape, var(--mat-app-corner-extra-large));position:relative;overflow:visible}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}}"],encapsulation:2,data:{animation:[AA.transformPanel,AA.fadeInCalendar]},changeDetection:0});let i=e;return i})(),OA=(()=>{let e=class e{get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(t){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(t){this._color=t}get disabled(){return this._disabled===void 0&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(t){t!==this._disabled&&(this._disabled=t,this.stateChanges.next(void 0))}get panelClass(){return this._panelClass}set panelClass(t){this._panelClass=HM(t)}get opened(){return this._opened}set opened(t){t?this.open():this.close()}_getMinDate(){return this.datepickerInput&&this.datepickerInput.min}_getMaxDate(){return this.datepickerInput&&this.datepickerInput.max}_getDateFilter(){return this.datepickerInput&&this.datepickerInput.dateFilter}constructor(t,n,o,a,s,l,u){this._overlay=t,this._viewContainerRef=o,this._dateAdapter=s,this._dir=l,this._model=u,this._inputStateChanges=ve.EMPTY,this._document=k(se),this.startView="month",this.touchUi=!1,this.xPosition="start",this.yPosition="below",this.restoreFocus=!0,this.yearSelected=new T,this.monthSelected=new T,this.viewChanged=new T(!0),this.openedStream=new T,this.closedStream=new T,this._opened=!1,this.id=`mat-datepicker-${$9++}`,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new G,this._injector=k(Pe),this._changeDetectorRef=k(he),this._dateAdapter,this._scrollStrategy=a,this._model.selectionChanged.subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnChanges(t){let n=t.xPosition||t.yPosition;if(n&&!n.firstChange&&this._overlayRef){let o=this._overlayRef.getConfig().positionStrategy;o instanceof bd&&(this._setConnectedPositions(o),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(t){this._model.add(t)}_selectYear(t){this.yearSelected.emit(t)}_selectMonth(t){this.monthSelected.emit(t)}_viewChanged(t){this.viewChanged.emit(t)}registerInput(t){return this.datepickerInput,this._inputStateChanges.unsubscribe(),this.datepickerInput=t,this._inputStateChanges=t.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(t){this._actionsPortal,this._actionsPortal=t,this._componentRef?.instance._assignActions(t,!0)}removeActions(t){t===this._actionsPortal&&(this._actionsPortal=null,this._componentRef?.instance._assignActions(null,!0))}open(){this._opened||this.disabled||this._componentRef?.instance._isAnimating||(this.datepickerInput,this._focusedElementBeforeOpen=pa(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened||this._componentRef?.instance._isAnimating)return;let t=this.restoreFocus&&this._focusedElementBeforeOpen&&typeof this._focusedElementBeforeOpen.focus=="function",n=()=>{this._opened&&(this._opened=!1,this.closedStream.emit())};if(this._componentRef){let{instance:o,location:a}=this._componentRef;o._startExitAnimation(),o._animationDone.pipe(Ot(1)).subscribe(()=>{let s=this._document.activeElement;t&&(!s||s===this._document.activeElement||a.nativeElement.contains(s))&&this._focusedElementBeforeOpen.focus(),this._focusedElementBeforeOpen=null,this._destroyOverlay()})}t?setTimeout(n):n()}_applyPendingSelection(){this._componentRef?.instance?._applyPendingSelection()}_forwardContentValues(t){t.datepicker=this,t.color=this.color,t._dialogLabelId=this.datepickerInput.getOverlayLabelId(),t._assignActions(this._actionsPortal,!1)}_openOverlay(){this._destroyOverlay();let t=this.touchUi,n=new In(BA,this._viewContainerRef),o=this._overlayRef=this._overlay.create(new Mn({positionStrategy:t?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[t?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:t?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:`mat-datepicker-${t?"dialog":"popup"}`}));this._getCloseStream(o).subscribe(a=>{a&&a.preventDefault(),this.close()}),o.keydownEvents().subscribe(a=>{let s=a.keyCode;(s===38||s===40||s===37||s===39||s===33||s===34)&&a.preventDefault()}),this._componentRef=o.attach(n),this._forwardContentValues(this._componentRef.instance),t||ai(()=>{o.updatePosition()},{injector:this._injector})}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){let t=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(t)}_setConnectedPositions(t){let n=this.xPosition==="end"?"end":"start",o=n==="start"?"end":"start",a=this.yPosition==="above"?"bottom":"top",s=a==="top"?"bottom":"top";return t.withPositions([{originX:n,originY:s,overlayX:n,overlayY:a},{originX:n,originY:a,overlayX:n,overlayY:s},{originX:o,originY:s,overlayX:o,overlayY:a},{originX:o,originY:a,overlayX:o,overlayY:s}])}_getCloseStream(t){let n=["ctrlKey","shiftKey","metaKey"];return wt(t.backdropClick(),t.detachments(),t.keydownEvents().pipe(Ye(o=>o.keyCode===27&&!Pt(o)||this.datepickerInput&&Pt(o,"altKey")&&o.keyCode===38&&n.every(a=>!Pt(o,a)))))}};e.\u0275fac=function(n){return new(n||e)(m(xt),m(Z),m(Ct),m(jA),m(Ri,8),m(Nt,8),m(Kd))},e.\u0275dir=L({type:e,inputs:{calendarHeaderComponent:"calendarHeaderComponent",startAt:"startAt",startView:"startView",color:"color",touchUi:[2,"touchUi","touchUi",Y],disabled:[2,"disabled","disabled",Y],xPosition:"xPosition",yPosition:"yPosition",restoreFocus:[2,"restoreFocus","restoreFocus",Y],dateClass:"dateClass",panelClass:"panelClass",opened:[2,"opened","opened",Y]},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[ge,Qe]});let i=e;return i})(),sg=(()=>{let e=class e extends OA{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=jt(e)))(o||e)}})(),e.\u0275cmp=E({type:e,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],standalone:!0,features:[Ce([PA,{provide:OA,useExisting:e}]),be,re],decls:0,vars:0,template:function(n,o){},encapsulation:2,changeDetection:0});let i=e;return i})(),Xl=class{constructor(e,r){this.target=e,this.targetElement=r,this.value=this.target.value}},q9=(()=>{let e=class e{get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(t){this._assignValueProgrammatically(t)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(t){let n=t,o=this._elementRef.nativeElement;this._disabled!==n&&(this._disabled=n,this.stateChanges.next(void 0)),n&&this._isInitialized&&o.blur&&o.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(t){this._model=t,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(n=>{if(this._shouldHandleChangeEvent(n)){let o=this._getValueFromModel(n.selection);this._lastValueValid=this._isValidValue(o),this._cvaOnChange(o),this._onTouched(),this._formatValue(o),this.dateInput.emit(new Xl(this,this._elementRef.nativeElement)),this.dateChange.emit(new Xl(this,this._elementRef.nativeElement))}})}constructor(t,n,o){this._elementRef=t,this._dateAdapter=n,this._dateFormats=o,this.dateChange=new T,this.dateInput=new T,this.stateChanges=new G,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=ve.EMPTY,this._localeSubscription=ve.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=a=>{let s=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(a.value));return!s||this._matchesFilter(s)?null:{matDatepickerFilter:!0}},this._minValidator=a=>{let s=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(a.value)),l=this._getMinDate();return!l||!s||this._dateAdapter.compareDate(l,s)<=0?null:{matDatepickerMin:{min:l,actual:s}}},this._maxValidator=a=>{let s=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(a.value)),l=this._getMaxDate();return!l||!s||this._dateAdapter.compareDate(l,s)>=0?null:{matDatepickerMax:{max:l,actual:s}}},this._lastValueValid=!1,this._localeSubscription=n.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(t){Y9(t,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(t){this._validatorOnChange=t}validate(t){return this._validator?this._validator(t):null}writeValue(t){this._assignValueProgrammatically(t)}registerOnChange(t){this._cvaOnChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}_onKeydown(t){let n=["ctrlKey","shiftKey","metaKey"];Pt(t,"altKey")&&t.keyCode===40&&n.every(a=>!Pt(t,a))&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),t.preventDefault())}_onInput(t){let n=this._lastValueValid,o=this._dateAdapter.parse(t,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(o),o=this._dateAdapter.getValidDateOrNull(o);let a=!this._dateAdapter.sameDate(o,this.value);!o||a?this._cvaOnChange(o):(t&&!this.value&&this._cvaOnChange(o),n!==this._lastValueValid&&this._validatorOnChange()),a&&(this._assignValue(o),this.dateInput.emit(new Xl(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new Xl(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(t){this._elementRef.nativeElement.value=t!=null?this._dateAdapter.format(t,this._dateFormats.display.dateInput):""}_assignValue(t){this._model?(this._assignValueToModel(t),this._pendingValue=null):this._pendingValue=t}_isValidValue(t){return!t||this._dateAdapter.isValid(t)}_parentDisabled(){return!1}_assignValueProgrammatically(t){t=this._dateAdapter.deserialize(t),this._lastValueValid=this._isValidValue(t),t=this._dateAdapter.getValidDateOrNull(t),this._assignValue(t),this._formatValue(t)}_matchesFilter(t){let n=this._getDateFilter();return!n||n(t)}};e.\u0275fac=function(n){return new(n||e)(m(q),m(Ri,8),m(ba,8))},e.\u0275dir=L({type:e,inputs:{value:"value",disabled:[2,"disabled","disabled",Y]},outputs:{dateChange:"dateChange",dateInput:"dateInput"},standalone:!0,features:[ge,Qe]});let i=e;return i})();function Y9(i,e){let r=Object.keys(i);for(let t of r){let{previousValue:n,currentValue:o}=i[t];if(e.isDateInstance(n)&&e.isDateInstance(o)){if(!e.sameDate(n,o))return!0}else return!0}return!1}var Q9={provide:vn,useExisting:Xt(()=>ec),multi:!0},K9={provide:co,useExisting:Xt(()=>ec),multi:!0},ec=(()=>{let e=class e extends q9{set matDatepicker(t){t&&(this._datepicker=t,this._ariaOwns.set(t.opened?t.id:null),this._closedSubscription=t.closedStream.subscribe(()=>{this._onTouched(),this._ariaOwns.set(null)}),this._openedSubscription=t.openedStream.subscribe(()=>{this._ariaOwns.set(t.id)}),this._registerModel(t.registerInput(this)))}get min(){return this._min}set min(t){let n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t));this._dateAdapter.sameDate(n,this._min)||(this._min=n,this._validatorOnChange())}get max(){return this._max}set max(t){let n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t));this._dateAdapter.sameDate(n,this._max)||(this._max=n,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(t){let n=this._matchesFilter(this.value);this._dateFilter=t,this._matchesFilter(this.value)!==n&&this._validatorOnChange()}constructor(t,n,o,a){super(t,n,o),this._formField=a,this._closedSubscription=ve.EMPTY,this._openedSubscription=ve.EMPTY,this._ariaOwns=Dr(null),this._validator=sr.compose(super._getValidators())}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():this._elementRef.nativeElement.getAttribute("aria-labelledby")}getThemePalette(){return this._formField?this._formField.color:void 0}getStartValue(){return this.value}ngOnDestroy(){super.ngOnDestroy(),this._closedSubscription.unsubscribe(),this._openedSubscription.unsubscribe()}_openPopup(){this._datepicker&&this._datepicker.open()}_getValueFromModel(t){return t}_assignValueToModel(t){this._model&&this._model.updateSelection(t,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(t){return t.source!==this}};e.\u0275fac=function(n){return new(n||e)(m(q),m(Ri,8),m(ba,8),m(Ro,8))},e.\u0275dir=L({type:e,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(n,o){n&1&&b("input",function(s){return o._onInput(s.target.value)})("change",function(){return o._onChange()})("blur",function(){return o._onBlur()})("keydown",function(s){return o._onKeydown(s)}),n&2&&(Si("disabled",o.disabled),ie("aria-haspopup",o._datepicker?"dialog":null)("aria-owns",o._ariaOwns())("min",o.min?o._dateAdapter.toIso8601(o.min):null)("max",o.max?o._dateAdapter.toIso8601(o.max):null)("data-mat-calendar",o._datepicker?o._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:[0,"matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],standalone:!0,features:[Ce([Q9,K9,{provide:iw,useExisting:e}]),be]});let i=e;return i})(),Z9=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=L({type:e,selectors:[["","matDatepickerToggleIcon",""]],standalone:!0});let i=e;return i})(),Xd=(()=>{let e=class e{get disabled(){return this._disabled===void 0&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(t){this._disabled=t}constructor(t,n,o){this._intl=t,this._changeDetectorRef=n,this._stateChanges=ve.EMPTY;let a=Number(o);this.tabIndex=a||a===0?a:null}ngOnChanges(t){t.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(t){this.datepicker&&!this.disabled&&(this.datepicker.open(),t.stopPropagation())}_watchStateChanges(){let t=this.datepicker?this.datepicker.stateChanges:oe(),n=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:oe(),o=this.datepicker?wt(this.datepicker.openedStream,this.datepicker.closedStream):oe();this._stateChanges.unsubscribe(),this._stateChanges=wt(this._intl.changes,t,n,o).subscribe(()=>this._changeDetectorRef.markForCheck())}};e.\u0275fac=function(n){return new(n||e)(m(Zd),m(he),vi("tabindex"))},e.\u0275cmp=E({type:e,selectors:[["mat-datepicker-toggle"]],contentQueries:function(n,o,a){if(n&1&&Be(a,Z9,5),n&2){let s;Q(s=K())&&(o._customIcon=s.first)}},viewQuery:function(n,o){if(n&1&&ce(R9,5),n&2){let a;Q(a=K())&&(o._button=a.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(n,o){n&1&&b("click",function(s){return o._open(s)}),n&2&&(ie("tabindex",null)("data-mat-calendar",o.datepicker?o.datepicker.id:null),ne("mat-datepicker-toggle-active",o.datepicker&&o.datepicker.opened)("mat-accent",o.datepicker&&o.datepicker.color==="accent")("mat-warn",o.datepicker&&o.datepicker.color==="warn"))},inputs:{datepicker:[0,"for","datepicker"],tabIndex:"tabIndex",ariaLabel:[0,"aria-label","ariaLabel"],disabled:[2,"disabled","disabled",Y],disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],standalone:!0,features:[ge,Qe,re],ngContentSelectors:F9,decls:4,vars:6,consts:[["button",""],["mat-icon-button","","type","button",3,"disabled","disableRipple"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false","aria-hidden","true",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(n,o){n&1&&(He(P9),c(0,"button",1,0),x(2,N9,2,0,":svg:svg",2),ae(3),d()),n&2&&(p("disabled",o.disabled)("disableRipple",o.disableRipple),ie("aria-haspopup",o.datepicker?"dialog":null)("aria-label",o.ariaLabel||o._intl.openCalendarLabel)("tabindex",o.disabled?-1:o.tabIndex),h(2),De(o._customIcon?-1:2))},dependencies:[Qi],styles:[".mat-datepicker-toggle{pointer-events:auto;color:var(--mat-datepicker-toggle-icon-color, var(--mat-app-on-surface-variant))}.mat-datepicker-toggle-active{color:var(--mat-datepicker-toggle-active-state-icon-color, var(--mat-app-on-surface-variant))}.cdk-high-contrast-active .mat-datepicker-toggle-default-icon{color:CanvasText}"],encapsulation:2,changeDetection:0});let i=e;return i})();var zA=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=te({type:e}),e.\u0275inj=ee({providers:[Zd,G9],imports:[Ei,ar,an,Ll,zn,pe,BA,Xd,VA,so]});let i=e;return i})();function X9(i,e){i&1&&(c(0,"uds-translate"),g(1,"Edit rule"),d())}function J9(i,e){i&1&&(c(0,"uds-translate"),g(1,"New rule"),d())}function eq(i,e){if(i&1&&(c(0,"mat-option",21),g(1),d()),i&2){let r=e.$implicit;p("value",r.id),h(),F(" ",r.value," ")}}function tq(i,e){if(i&1&&(c(0,"mat-option",21),g(1),d()),i&2){let r=e.$implicit;p("value",r.id),h(),F(" ",r.value," ")}}function iq(i,e){if(i&1&&(c(0,"mat-option",21),g(1),d()),i&2){let r=e.$implicit;p("value",r.id),h(),F(" ",r.value," ")}}function nq(i,e){if(i&1){let r=A();c(0,"mat-form-field",11)(1,"mat-label")(2,"uds-translate"),g(3,"Week days"),d()(),c(4,"mat-select",22),H("ngModelChange",function(n){y(r);let o=_();return $(o.wDays,n)||(o.wDays=n),w(n)}),x(5,iq,2,2,"mat-option",10),d()()}if(i&2){let r=_();h(4),U("ngModel",r.wDays),h(),p("ngForOf",r.weekDays)}}function oq(i,e){if(i&1){let r=A();c(0,"mat-form-field",11)(1,"mat-label")(2,"uds-translate"),g(3,"Repeat every"),d()(),c(4,"input",8),H("ngModelChange",function(n){y(r);let o=_();return $(o.rule.interval,n)||(o.rule.interval=n),w(n)}),d(),c(5,"div",23),g(6),d()()}if(i&2){let r=_();h(4),U("ngModel",r.rule.interval),h(2),F("\xA0",r.frequency(),"")}}var lg={DAILY:[django.gettext("day"),django.gettext("days"),django.gettext("Daily")],WEEKLY:[django.gettext("week"),django.gettext("weeks"),django.gettext("Weekly")],MONTHLY:[django.gettext("month"),django.gettext("months"),django.gettext("Monthly")],YEARLY:[django.gettext("year"),django.gettext("years"),django.gettext("Yearly")],WEEKDAYS:["","",django.gettext("Weekdays")],NEVER:["","",django.gettext("Never")]},cg={MINUTES:django.gettext("Minutes"),HOURS:django.gettext("Hours"),DAYS:django.gettext("Days"),WEEKS:django.gettext("Weeks")},HA=[django.gettext("Sunday"),django.gettext("Monday"),django.gettext("Tuesday"),django.gettext("Wednesday"),django.gettext("Thursday"),django.gettext("Friday"),django.gettext("Saturday")],$A=(i,e=!1)=>{let r=new Array;for(let t=0;t<7;t++)i&1&&r.push(HA[t].substr(0,e?100:3)),i>>=1;return r.length?r.join(", "):django.gettext("(no days)")},WA=i=>{i.frequency==="WEEKDAYS"?i.interval=$A(i.interval):i.interval=i.interval+" "+lg[i.frequency][django.pluralidx(i.interval)],i.duration=i.duration+" "+cg[i.duration_unit]},Ow=(()=>{let e=class e{constructor(t,n,o,a){this.api=t,this.rest=n,this.dialogRef=o,this.dunits=Object.keys(cg).map(s=>({id:s,value:cg[s]})),this.freqs=Object.keys(lg).map(s=>({id:s,value:lg[s][2]})),this.weekDays=HA.map((s,l)=>({id:1<{if(this.rule=t,this.startDate=new Date(this.rule.start*1e3),this.startTime=this.startDate.toTimeString().split(":").splice(0,2).join(":"),this.endDate=this.rule.end?new Date(this.rule.end*1e3):null,this.rule.frequency==="WEEKDAYS"){let n=[];for(let o=0;o<7;o++){let a=1<this.rule.interval+=n),this.rule.interval===0)?django.gettext("Week days"):null}summary(){let t=django.gettext("Invalid or incomplete rule. Please, fix field $FIELD"),n=hy(django.get_format("SHORT_DATE_FORMAT")),o=this.updateRuleData();if(o===null){t=django.gettext("This rule will be valid every"),this.rule.frequency==="WEEKDAYS"?t+=" "+$A(this.rule.interval,!0)+" "+django.gettext("of any week"):t+=" "+ +this.rule.interval+" "+this.frequency();let a=new Date(this.rule.start*1e3);t+=", "+django.gettext("from")+" "+Ca(n,a),this.rule.end?t+=" "+django.gettext("until")+" "+Ca(n,new Date(this.rule.end*1e3)):t+=" "+django.gettext("onwards"),t+=", "+django.gettext("starting at")+" "+a.toTimeString().split(":").slice(0,2).join(":"),+this.rule.duration>0?t+=" "+django.gettext("and every event will be active for")+" "+this.rule.duration+" "+cg[this.rule.duration_unit]:t+=django.gettext("with no duration")}return t.replace("$FIELD",o)}save(){this.rules.save(this.rule).then(()=>{this.dialogRef.close(),this.onSave.emit(!0)})}};e.\u0275fac=function(n){return new(n||e)(m(B),m(X),m(Ne),m(Ke))},e.\u0275cmp=E({type:e,selectors:[["uds-calendar-rule"]],decls:75,vars:25,consts:[["startDatePicker",""],["endDatePicker",""],["mat-dialog-title",""],[4,"ngIf"],[1,"content"],["matInput","","type","text",3,"ngModelChange","ngModel"],[1,"oneThird"],["matInput","","type","time",3,"ngModelChange","ngModel"],["matInput","","type","number",3,"ngModelChange","ngModel"],[3,"ngModelChange","ngModel"],[3,"value",4,"ngFor","ngForOf"],[1,"oneHalf"],["matInput","",3,"ngModelChange","matDatepicker","ngModel"],["matSuffix","",3,"for"],["matInput","",3,"ngModelChange","matDatepicker","ngModel","placeholder"],[1,"weekdays"],[3,"ngModelChange","valueChange","ngModel"],["class","oneHalf",4,"ngIf"],[1,"info"],["mat-raised-button","","mat-dialog-close","","color","warn"],["mat-raised-button","","color","primary",3,"click","disabled"],[3,"value"],["multiple","",3,"ngModelChange","ngModel"],["matSuffix",""]],template:function(n,o){if(n&1){let a=A();c(0,"h4",2),x(1,X9,2,0,"uds-translate",3),_t(2,"notEmpty"),x(3,J9,2,0,"uds-translate",3),_t(4,"isEmpty"),d(),c(5,"mat-dialog-content")(6,"div",4)(7,"mat-form-field")(8,"mat-label")(9,"uds-translate"),g(10,"Name"),d()(),c(11,"input",5),H("ngModelChange",function(l){return y(a),$(o.rule.name,l)||(o.rule.name=l),w(l)}),d()(),c(12,"mat-form-field")(13,"mat-label")(14,"uds-translate"),g(15,"Comments"),d()(),c(16,"input",5),H("ngModelChange",function(l){return y(a),$(o.rule.comments,l)||(o.rule.comments=l),w(l)}),d()(),c(17,"h3")(18,"uds-translate"),g(19,"Event"),d()(),c(20,"mat-form-field",6)(21,"mat-label")(22,"uds-translate"),g(23,"Start time"),d()(),c(24,"input",7),H("ngModelChange",function(l){return y(a),$(o.startTime,l)||(o.startTime=l),w(l)}),d()(),c(25,"mat-form-field",6)(26,"mat-label")(27,"uds-translate"),g(28,"Duration"),d()(),c(29,"input",8),H("ngModelChange",function(l){return y(a),$(o.rule.duration,l)||(o.rule.duration=l),w(l)}),d()(),c(30,"mat-form-field",6)(31,"mat-label")(32,"uds-translate"),g(33,"Duration units"),d()(),c(34,"mat-select",9),H("ngModelChange",function(l){return y(a),$(o.rule.duration_unit,l)||(o.rule.duration_unit=l),w(l)}),x(35,eq,2,2,"mat-option",10),d()(),c(36,"h3"),g(37," Repetition "),d(),c(38,"mat-form-field",11)(39,"mat-label")(40,"uds-translate"),g(41," Start date "),d()(),c(42,"input",12),H("ngModelChange",function(l){return y(a),$(o.startDate,l)||(o.startDate=l),w(l)}),d(),I(43,"mat-datepicker-toggle",13)(44,"mat-datepicker",null,0),d(),c(46,"mat-form-field",11)(47,"mat-label")(48,"uds-translate"),g(49," Repeat until date "),d()(),c(50,"input",14),H("ngModelChange",function(l){return y(a),$(o.endDate,l)||(o.endDate=l),w(l)}),d(),I(51,"mat-datepicker-toggle",13)(52,"mat-datepicker",null,1),d(),c(54,"div",15)(55,"mat-form-field",11)(56,"mat-label")(57,"uds-translate"),g(58,"Frequency"),d()(),c(59,"mat-select",16),H("ngModelChange",function(l){return y(a),$(o.rule.frequency,l)||(o.rule.frequency=l),w(l)}),b("valueChange",function(){return y(a),w(o.rule.interval=1)}),x(60,tq,2,2,"mat-option",10),d()(),x(61,nq,6,2,"mat-form-field",17)(62,oq,7,2,"mat-form-field",17),d(),c(63,"h3")(64,"uds-translate"),g(65,"Summary"),d()(),c(66,"div",18),g(67),d()()(),c(68,"mat-dialog-actions")(69,"button",19)(70,"uds-translate"),g(71,"Cancel"),d()(),c(72,"button",20),b("click",function(){return y(a),w(o.save())}),c(73,"uds-translate"),g(74,"Ok"),d()()()}if(n&2){let a=we(45),s=we(53);h(),p("ngIf",Dt(2,21,o.rule.id)),h(2),p("ngIf",Dt(4,23,o.rule.id)),h(8),U("ngModel",o.rule.name),h(5),U("ngModel",o.rule.comments),h(8),U("ngModel",o.startTime),h(5),U("ngModel",o.rule.duration),h(5),U("ngModel",o.rule.duration_unit),h(),p("ngForOf",o.dunits),h(7),p("matDatepicker",a),U("ngModel",o.startDate),h(),p("for",a),h(7),p("matDatepicker",s),U("ngModel",o.endDate),p("placeholder",o.FOREVER_STRING),h(),p("for",s),h(8),U("ngModel",o.rule.frequency),h(),p("ngForOf",o.freqs),h(),p("ngIf",o.rule.frequency==="WEEKDAYS"),h(),p("ngIf",o.rule.frequency!=="WEEKDAYS"&&o.rule.frequency!=="NEVER"),h(5),F(" ",o.summary()," "),h(5),p("disabled",o.updateRuleData()!==null||o.rule.name==="")}},dependencies:[We,me,lt,$n,xe,Se,ke,Qt,Je,tt,et,_e,Ae,uo,ft,bt,nt,sg,ec,Xd,le,nA,yi],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:100%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-mdc-form-field[_ngcontent-%COMP%]:not(.oneThird):not(.oneHalf){width:100%}.mat-mdc-form-field.oneThird[_ngcontent-%COMP%]{width:31%;margin-right:2%}.mat-mdc-form-field.oneHalf[_ngcontent-%COMP%]{width:48%;margin-right:2%}h3[_ngcontent-%COMP%]{width:100%;margin-top:.3rem;margin-bottom:1rem}.weekdays[_ngcontent-%COMP%]{width:100%;display:flex;align-items:flex-end}.label-weekdays[_ngcontent-%COMP%]{color:#0009;display:block;font-weight:400;left:0;line-height:18px;overflow:hidden;pointer-events:none;position:absolute;text-align:left;text-overflow:ellipsis;top:.5em;transform:matrix(.75,0,0,.75,0,-21.5);transform-origin:0px 0px;white-space:nowrap}.mat-datepicker-toggle[_ngcontent-%COMP%]{color:#00f}.mat-button-toggle-checked[_ngcontent-%COMP%]{background-color:#23238580;color:#fff}"]});let i=e;return i})();var rq=i=>["/pools","calendars",i];function aq(i,e){i&1&&(c(0,"uds-translate"),g(1,"Rules"),d())}function sq(i,e){if(i&1){let r=A();c(0,"div",6)(1,"div",7)(2,"mat-tab-group",8)(3,"mat-tab"),x(4,aq,2,0,"ng-template",9),c(5,"div",10)(6,"uds-table",11),b("newAction",function(n){y(r);let o=_();return w(o.onNewRule(n))})("editAction",function(n){y(r);let o=_();return w(o.onEditRule(n))})("deleteAction",function(n){y(r);let o=_();return w(o.onDeleteRule(n))}),d()()()()()()}if(i&2){let r=_();h(2),p("@.disabled",!0),h(4),p("rest",r.calendarRules)("multiSelect",!0)("allowExport",!0)("onItem",r.processElement)("tableId","calendars-d-rules"+r.calendar.id)("pageSize",r.api.config.admin.page_size)}}var GA=(()=>{let e=class e{constructor(t,n,o){this.route=t,this.rest=n,this.api=o,this.calendarRules={}}ngOnInit(){let t=this.route.snapshot.paramMap.get("calendar");t&&this.rest.calendars.get(t).then(n=>{this.calendar=n,this.calendarRules=this.rest.calendars.detail(n.id,"rules")})}onNewRule(t){Ow.launch(this.api,this.calendarRules).subscribe(()=>t.table.overview())}onEditRule(t){Ow.launch(this.api,this.calendarRules,t.table.selection.selected[0]).subscribe(()=>t.table.overview())}onDeleteRule(t){this.api.gui.forms.deleteForm(t,django.gettext("Delete calendar rule"))}processElement(t){WA(t)}};e.\u0275fac=function(n){return new(n||e)(m(Oe),m(X),m(B))},e.\u0275cmp=E({type:e,selectors:[["uds-calendars-detail"]],decls:10,vars:8,consts:[[1,"detail"],[1,"mat-elevation-z4","title"],[3,"routerLink"],[1,"material-icons"],[3,"src"],["class","card",4,"ngIf"],[1,"card"],[1,"card-content"],["backgroundColor","primary"],["mat-tab-label",""],[1,"content"],["icon","pools",3,"newAction","editAction","deleteAction","rest","multiSelect","allowExport","onItem","tableId","pageSize"]],template:function(n,o){n&1&&(c(0,"div",0)(1,"div",1)(2,"a",2)(3,"i",3),g(4,"arrow_back"),d()(),g(5," \xA0"),I(6,"img",4),g(7),d(),x(8,sq,7,7,"div",5),_t(9,"notEmpty"),d()),n&2&&(h(2),p("routerLink",Bi(6,rq,o.calendar?o.calendar.id:"")),h(4),p("src",o.api.staticURL("admin/img/icons/calendars.png"),Ie),h(),F(" ",o.calendar==null?null:o.calendar.name," "),h(),p("ngIf",Dt(9,4,o.calendar)))},dependencies:[me,bi,ei,ti,oi,le,Te,yi],styles:[".mat-column-start, .mat-column-end{max-width:9rem} .mat-column-frequency{max-width:9rem} .mat-column-interval, .mat-column-duration{max-width:11rem}"]});let i=e;return i})();var lq='event'+django.gettext("Set time mark")+"",Rw=(()=>{let e=class e{constructor(t,n,o){this.route=t,this.rest=n,this.api=o,this.cButtons=[{id:"timemark",html:lq,type:ct.SINGLE_SELECT}]}get customButtons(){return this.api.user.isAdmin?this.cButtons:[]}ngOnInit(){}onNew(t){this.api.gui.forms.typedNewForm(t,django.gettext("New account"))}onEdit(t){this.api.gui.forms.typedEditForm(t,django.gettext("Edit account"))}onDelete(t){this.api.gui.forms.deleteForm(t,django.gettext("Delete account"))}onTimeMark(t){let n=t.table.selection.selected[0];this.api.gui.questionDialog(django.gettext("Time mark"),django.gettext("Set time mark for $NAME to current date/time?").replace("$NAME",n.name)).then(o=>{o&&this.rest.accounts.timemark(n.id).then(()=>{this.api.gui.snackbar.open(django.gettext("Time mark stablished"),django.gettext("dismiss"),{duration:2e3}),t.table.overview()})})}onDetail(t){this.api.navigation.gotoAccountDetail(t.param.id)}onLoad(t){t.param===!0&&t.table.selectElement("id",this.route.snapshot.paramMap.get("account"))}processElement(t){t.time_mark=t.time_mark===78793200?django.gettext("No time mark"):$i("SHORT_DATE_FORMAT",t.time_mark)}};e.\u0275fac=function(n){return new(n||e)(m(Oe),m(X),m(B))},e.\u0275cmp=E({type:e,selectors:[["uds-accounts"]],decls:1,vars:7,consts:[["icon","accounts",3,"customButtonAction","newAction","editAction","deleteAction","detailAction","loaded","rest","multiSelect","allowExport","hasPermissions","customButtons","pageSize","onItem"]],template:function(n,o){n&1&&(c(0,"uds-table",0),b("customButtonAction",function(s){return o.onTimeMark(s)})("newAction",function(s){return o.onNew(s)})("editAction",function(s){return o.onEdit(s)})("deleteAction",function(s){return o.onDelete(s)})("detailAction",function(s){return o.onDetail(s)})("loaded",function(s){return o.onLoad(s)}),d()),n&2&&p("rest",o.rest.accounts)("multiSelect",!0)("allowExport",!0)("hasPermissions",!0)("customButtons",o.customButtons)("pageSize",o.api.config.admin.page_size)("onItem",o.processElement)},dependencies:[Te]});let i=e;return i})();var cq=i=>["/pools","accounts",i];function dq(i,e){i&1&&(c(0,"uds-translate"),g(1,"Account usage"),d())}function uq(i,e){if(i&1){let r=A();c(0,"div",6)(1,"div",7)(2,"mat-tab-group",8)(3,"mat-tab"),x(4,dq,2,0,"ng-template",9),c(5,"div",10)(6,"uds-table",11),b("deleteAction",function(n){y(r);let o=_();return w(o.onDeleteUsage(n))}),d()()()()()()}if(i&2){let r=_();h(2),p("@.disabled",!0),h(4),p("rest",r.accountUsage)("multiSelect",!0)("allowExport",!0)("onItem",r.processElement)("tableId","account-d-usage"+r.account.id)}}var qA=(()=>{let e=class e{constructor(t,n,o){this.route=t,this.rest=n,this.api=o,this.accountUsage={}}ngOnInit(){let t=this.route.snapshot.paramMap.get("account");t&&this.rest.accounts.get(t).then(n=>{this.account=n,this.accountUsage=this.rest.accounts.detail(n.id,"usage")})}onDeleteUsage(t){this.api.gui.forms.deleteForm(t,django.gettext("Delete account usage"))}processElement(t){t.running=this.api.boolAsHumanString(t.running)}};e.\u0275fac=function(n){return new(n||e)(m(Oe),m(X),m(B))},e.\u0275cmp=E({type:e,selectors:[["uds-accounts-detail"]],decls:10,vars:8,consts:[[1,"detail"],[1,"mat-elevation-z4","title"],[3,"routerLink"],[1,"material-icons"],[3,"src"],["class","card",4,"ngIf"],[1,"card"],[1,"card-content"],["backgroundColor","primary"],["mat-tab-label",""],[1,"content"],["icon","accounts",3,"deleteAction","rest","multiSelect","allowExport","onItem","tableId"]],template:function(n,o){n&1&&(c(0,"div",0)(1,"div",1)(2,"a",2)(3,"i",3),g(4,"arrow_back"),d()(),g(5," \xA0"),I(6,"img",4),g(7),d(),x(8,uq,7,6,"div",5),_t(9,"notEmpty"),d()),n&2&&(h(2),p("routerLink",Bi(6,cq,o.account?o.account.id:"")),h(4),p("src",o.api.staticURL("admin/img/icons/accounts.png"),Ie),h(),F(" ",o.account==null?null:o.account.name," "),h(),p("ngIf",Dt(9,4,o.account)))},dependencies:[me,bi,ei,ti,oi,le,Te,yi]});let i=e;return i})();function hq(i,e){i&1&&(c(0,"uds-translate"),g(1,"New image for"),d())}function mq(i,e){i&1&&(c(0,"uds-translate"),g(1,"Edit for"),d())}var Pw=(()=>{let e=class e{constructor(t,n,o,a){this.api=t,this.rest=n,this.dialogRef=o,this.onSave=new T(!0),this.preview="",this.image={id:void 0,data:"",name:""},a.image&&(this.image.id=a.image.id)}static launch(t,n=null){let o=window.innerWidth<800?"60%":"40%";return t.gui.dialog.open(e,{width:o,position:{top:window.innerWidth<800?"0px":"7rem"},data:{image:n},disableClose:!0}).componentInstance.onSave}onFileChanged(t){let n=t.target;if(!n.files||n.files.length===0)return;let o=n.files[0];if(o.size>256*1024){this.api.gui.alert(django.gettext("Error"),django.gettext("Image is too big (max. upload size is 256Kb)"));return}if(!["image/jpeg","image/png","image/gif"].includes(o.type)){this.api.gui.alert(django.gettext("Error"),django.gettext("Invalid image type (only supports JPEG, PNG and GIF"));return}let a=new FileReader;a.onload=s=>{let l=a.result;this.preview=l,this.image.data=l.substr(l.indexOf("base64,")+7),this.image.name||(this.image.name=o.name)},a.readAsDataURL(o)}ngOnInit(){this.image.id&&this.rest.gallery.get(this.image.id).then(t=>{switch(this.image=t,this.image.data.substr(2)){case"iV":this.preview="data:image/png;base64,"+this.image.data;break;case"/9":this.preview="data:image/jpeg;base64,"+this.image.data;break;default:this.preview="data:image/gif;base64,"+this.image.data}})}background(){let t=this.api.config.image_size[0],n=this.api.config.image_size[1],o={"width.px":t,"height.px":n,"background-size":t+"px "+n+"px","background-image":"none"};return this.preview&&(o["background-image"]="url("+this.preview+")"),o}save(){if(!this.image.name||!this.image.data){this.api.gui.alert(django.gettext("Error"),django.gettext("Please, provide a name and a image"));return}this.rest.gallery.save(this.image).then(()=>{this.api.gui.snackbar.open(django.gettext("Successfully saved"),django.gettext("dismiss"),{duration:2e3}),this.dialogRef.close(),this.onSave.emit(!0)})}};e.\u0275fac=function(n){return new(n||e)(m(B),m(X),m(Ne),m(Ke))},e.\u0275cmp=E({type:e,selectors:[["uds-gallery-image"]],decls:32,vars:7,consts:[["fileInput",""],["mat-dialog-title",""],[4,"ngIf"],[1,"content"],["matInput","","type","text",3,"ngModelChange","ngModel"],["type","file",2,"display","none",3,"change"],["matInput","","type","text",3,"click","hidden"],[1,"preview",3,"click"],[1,"image-preview",3,"ngStyle"],[1,"help"],["mat-raised-button","","mat-dialog-close","","color","warn"],["mat-raised-button","","color","primary",3,"click"]],template:function(n,o){if(n&1){let a=A();c(0,"h4",1),x(1,hq,2,0,"uds-translate",2)(2,mq,2,0,"uds-translate",2),d(),c(3,"mat-dialog-content")(4,"div",3)(5,"mat-form-field")(6,"mat-label")(7,"uds-translate"),g(8,"Image name"),d()(),c(9,"input",4),H("ngModelChange",function(l){return y(a),$(o.image.name,l)||(o.image.name=l),w(l)}),d()(),c(10,"input",5,0),b("change",function(l){return y(a),w(o.onFileChanged(l))}),d(),c(12,"mat-form-field")(13,"mat-label")(14,"uds-translate"),g(15,"Image (click to change)"),d()(),c(16,"input",6),b("click",function(){y(a);let l=we(11);return w(l.click())}),d(),c(17,"div",7),b("click",function(){y(a);let l=we(11);return w(l.click())}),I(18,"div",8),d()(),c(19,"div",9)(20,"uds-translate"),g(21,' For optimal results, use "squared" images. '),d(),c(22,"uds-translate"),g(23," The image will be resized on upload to "),d(),g(24),d()()(),c(25,"mat-dialog-actions")(26,"button",10)(27,"uds-translate"),g(28,"Cancel"),d()(),c(29,"button",11),b("click",function(){return y(a),w(o.save())}),c(30,"uds-translate"),g(31,"Ok"),d()()()}n&2&&(h(),p("ngIf",!o.image.id),h(),p("ngIf",o.image.id),h(7),U("ngModel",o.image.name),h(7),p("hidden",!0),h(2),p("ngStyle",o.background()),h(6),Ir(" ",o.api.config.image_size[0],"x",o.api.config.image_size[1]," "))},dependencies:[me,SI,lt,xe,Se,ke,Qt,Je,tt,et,_e,Ae,ft,le],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:100%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}.preview[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;width:100%}.image-preview[_ngcontent-%COMP%]{background-color:#0000004d}"]});let i=e;return i})();var Fw=(()=>{let e=class e{constructor(t,n,o){this.route=t,this.rest=n,this.api=o}ngOnInit(){}onNew(t){Pw.launch(this.api).subscribe(()=>t.table.overview())}onEdit(t){Pw.launch(this.api,t.table.selection.selected[0]).subscribe(()=>t.table.overview())}onDelete(t){this.api.gui.forms.deleteForm(t,django.gettext("Delete image"))}onLoad(t){t.param===!0&&t.table.selectElement("id",this.route.snapshot.paramMap.get("image"))}};e.\u0275fac=function(n){return new(n||e)(m(Oe),m(X),m(B))},e.\u0275cmp=E({type:e,selectors:[["uds-gallery"]],decls:1,vars:5,consts:[["icon","gallery",3,"newAction","editAction","deleteAction","loaded","rest","multiSelect","allowExport","hasPermissions","pageSize"]],template:function(n,o){n&1&&(c(0,"uds-table",0),b("newAction",function(s){return o.onNew(s)})("editAction",function(s){return o.onEdit(s)})("deleteAction",function(s){return o.onDelete(s)})("loaded",function(s){return o.onLoad(s)}),d()),n&2&&p("rest",o.rest.gallery)("multiSelect",!0)("allowExport",!0)("hasPermissions",!1)("pageSize",o.api.config.admin.page_size)},dependencies:[Te],styles:[".mat-column-thumb{max-width:7rem;justify-content:center} .mat-column-name{max-width:32rem}"]});let i=e;return i})();var YA=su(Qf());var pq='assessment'+django.gettext("Generate report")+"",QA=(()=>{let e=class e{constructor(t,n){this.rest=t,this.api=n,this.customButtons=[{id:"genreport",html:pq,type:ct.SINGLE_SELECT}]}ngOnInit(){}generateReport(t){return W(this,null,function*(){let n=new Jt;this.api.gui.forms.typedForm(t,django.gettext("Generate report"),!1,[],void 0,t.table.selection.selected[0].id,{save:n});let o=yield n;this.api.gui.snackbar.open(django.gettext("Generating report..."));let a=yield this.rest.reports.save(o,t.table.selection.selected[0].id),s=a.encoded?window.atob(a.data):a.data,l=s.length,u=new Uint8Array(l);for(let v=0;v{(0,YA.saveAs)(f,a.filename,{autoBom:!1})})})}};e.\u0275fac=function(n){return new(n||e)(m(X),m(B))},e.\u0275cmp=E({type:e,selectors:[["uds-reports"]],decls:1,vars:6,consts:[["icon","reports",3,"customButtonAction","rest","multiSelect","allowExport","hasPermissions","customButtons","pageSize"]],template:function(n,o){n&1&&(c(0,"uds-table",0),b("customButtonAction",function(s){return o.generateReport(s)}),d()),n&2&&p("rest",o.rest.reports)("multiSelect",!1)("allowExport",!1)("hasPermissions",!1)("customButtons",o.customButtons)("pageSize",o.api.config.admin.page_size)},dependencies:[Te],styles:[".mat-column-group{max-width:16rem} .mat-column-name{max-width:32rem}"]});let i=e;return i})();var KA=(()=>{let e=class e{constructor(t,n){this.api=t,this.rest=n}ngOnInit(){}onNew(t){this.api.gui.forms.typedNewForm(t,django.gettext("New Notifier"),!1)}onEdit(t){this.api.gui.forms.typedEditForm(t,django.gettext("Edit Notifier"),!1)}onDelete(t){this.api.gui.forms.deleteForm(t,django.gettext("Delete actor token - USE WITH EXTREME CAUTION!!!"))}};e.\u0275fac=function(n){return new(n||e)(m(B),m(X))},e.\u0275cmp=E({type:e,selectors:[["uds-notifiers"]],decls:2,vars:4,consts:[["icon","accounts",3,"newAction","editAction","deleteAction","rest","multiSelect","allowExport","pageSize"]],template:function(n,o){n&1&&(c(0,"div")(1,"uds-table",0),b("newAction",function(s){return o.onNew(s)})("editAction",function(s){return o.onEdit(s)})("deleteAction",function(s){return o.onDelete(s)}),d()()),n&2&&(h(),p("rest",o.rest.notifiers)("multiSelect",!0)("allowExport",!0)("pageSize",o.api.config.admin.page_size))},dependencies:[Te]});let i=e;return i})();function fq(i,e){if(i&1&&g(0),i&2){let r=_().$implicit;F(" ",r," ")}}function gq(i,e){if(i&1){let r=A();c(0,"div")(1,"mat-form-field")(2,"mat-label"),g(3),d(),c(4,"input",18),H("ngModelChange",function(n){y(r);let o=_(2).$implicit,a=_().$implicit,s=_(2);return $(s.config[a][o].value,n)||(s.config[a][o].value=n),w(n)}),d()()()}if(i&2){let r=_(2).$implicit,t=_().$implicit,n=_(2);h(3),$e(r),h(),p("type",n.config[t][r].crypt?"password":"text"),U("ngModel",n.config[t][r].value),p("matTooltip",n.config[t][r].help)}}function _q(i,e){if(i&1){let r=A();c(0,"div")(1,"mat-form-field")(2,"mat-label"),g(3),d(),c(4,"textarea",19),H("ngModelChange",function(n){y(r);let o=_(2).$implicit,a=_().$implicit,s=_(2);return $(s.config[a][o].value,n)||(s.config[a][o].value=n),w(n)}),d()()()}if(i&2){let r=_(2).$implicit,t=_().$implicit,n=_(2);h(3),$e(r),h(),U("ngModel",n.config[t][r].value),p("matTooltip",n.config[t][r].help)}}function vq(i,e){if(i&1){let r=A();c(0,"div")(1,"mat-form-field")(2,"mat-label"),g(3),d(),c(4,"input",20),H("ngModelChange",function(n){y(r);let o=_(2).$implicit,a=_().$implicit,s=_(2);return $(s.config[a][o].value,n)||(s.config[a][o].value=n),w(n)}),d()()()}if(i&2){let r=_(2).$implicit,t=_().$implicit,n=_(2);h(3),$e(r),h(),U("ngModel",n.config[t][r].value),p("matTooltip",n.config[t][r].help)}}function bq(i,e){if(i&1){let r=A();c(0,"div")(1,"div",21)(2,"mat-slide-toggle",22),H("ngModelChange",function(n){y(r);let o=_(2).$implicit,a=_().$implicit,s=_(2);return $(s.config[a][o].value,n)||(s.config[a][o].value=n),w(n)}),g(3),d()()()}if(i&2){let r=_(2).$implicit,t=_().$implicit,n=_(2);h(2),U("ngModel",n.config[t][r].value),p("matTooltip",n.config[t][r].help),h(),F(" ",r," ")}}function yq(i,e){if(i&1&&(c(0,"mat-option",24),g(1),d()),i&2){let r=e.$implicit;p("value",r),h(),F(" ",r," ")}}function wq(i,e){if(i&1){let r=A();c(0,"div")(1,"mat-form-field")(2,"mat-label"),g(3),d(),c(4,"mat-select",22),H("ngModelChange",function(n){y(r);let o=_(2).$implicit,a=_().$implicit,s=_(2);return $(s.config[a][o].value,n)||(s.config[a][o].value=n),w(n)}),x(5,yq,2,2,"mat-option",23),d()()()}if(i&2){let r=_(2).$implicit,t=_().$implicit,n=_(2);h(3),F(" ",r," "),h(),U("ngModel",n.config[t][r].value),p("matTooltip",n.config[t][r].help),h(),p("ngForOf",n.config[t][r].params)}}function Cq(i,e){if(i&1){let r=A();c(0,"div")(1,"mat-form-field")(2,"mat-label"),g(3),d(),c(4,"input",25),H("ngModelChange",function(n){y(r);let o=_(2).$implicit,a=_().$implicit,s=_(2);return $(s.config[a][o].value,n)||(s.config[a][o].value=n),w(n)}),d()()()}if(i&2){let r=_(2).$implicit,t=_().$implicit,n=_(2);h(3),$e(r),h(),U("ngModel",n.config[t][r].value),p("matTooltip",n.config[t][r].help)}}function xq(i,e){i&1&&Ci(0)}function Dq(i,e){if(i&1){let r=A();c(0,"div")(1,"mat-form-field")(2,"mat-label"),g(3),d(),c(4,"input",26),H("ngModelChange",function(n){y(r);let o=_(2).$implicit,a=_().$implicit,s=_(2);return $(s.config[a][o].value,n)||(s.config[a][o].value=n),w(n)}),d()()()}if(i&2){let r=_(2).$implicit,t=_().$implicit,n=_(2);h(3),$e(r),h(),U("ngModel",n.config[t][r].value),p("matTooltip",n.config[t][r].help)}}function Sq(i,e){if(i&1){let r=A();c(0,"div")(1,"mat-form-field")(2,"mat-label"),g(3),d(),c(4,"input",27),H("ngModelChange",function(n){y(r);let o=_(2).$implicit,a=_().$implicit,s=_(2);return $(s.config[a][o].value,n)||(s.config[a][o].value=n),w(n)}),d()()()}if(i&2){let r=_(2).$implicit,t=_().$implicit,n=_(2);h(3),$e(r),h(),U("ngModel",n.config[t][r].value),p("matTooltip",n.config[t][r].help)}}function Eq(i,e){if(i&1&&(mt(0,15),x(1,gq,5,4,"div",16)(2,_q,5,3,"div",16)(3,vq,5,3,"div",16)(4,bq,4,3,"div",16)(5,wq,6,4,"div",16)(6,Cq,5,3,"div",16)(7,xq,1,0,"ng-container",16)(8,Dq,5,3,"div",16)(9,Sq,5,3,"div",17),pt()),i&2){let r=_().$implicit,t=_().$implicit,n=_(2);p("ngSwitch",n.config[t][r].type),h(),p("ngSwitchCase",0),h(),p("ngSwitchCase",1),h(),p("ngSwitchCase",2),h(),p("ngSwitchCase",3),h(),p("ngSwitchCase",4),h(),p("ngSwitchCase",5),h(),p("ngSwitchCase",6),h(),p("ngSwitchCase",7)}}function Iq(i,e){if(i&1&&(c(0,"div",13),x(1,Eq,10,9,"ng-container",14),d()),i&2){let r=e.$implicit,t=_().$implicit,n=_(2);h(),p("ngIf",n.config[t][r])}}function Mq(i,e){if(i&1&&(c(0,"mat-tab"),x(1,fq,1,1,"ng-template",10),c(2,"div",11),x(3,Iq,2,1,"div",12),d()()),i&2){let r=e.$implicit,t=_(2);h(3),p("ngForOf",t.configElements(r))}}function Tq(i,e){if(i&1){let r=A();c(0,"div",4)(1,"div",5)(2,"mat-tab-group",6),x(3,Mq,4,1,"mat-tab",7),d(),c(4,"div",8)(5,"button",9),b("click",function(){y(r);let n=_();return w(n.save())}),c(6,"uds-translate"),g(7,"Save"),d()()()()()}if(i&2){let r=_();h(2),p("@.disabled",!0),h(),p("ngForOf",r.sections())}}var ZA=["UDS","Security"],XA=["UDS ID"],JA=(()=>{let e=class e{constructor(t,n){this.rest=t,this.api=n}ngOnInit(){this.rest.configuration.overview().then(t=>{this.config=t;for(let n in this.config)if(this.config.hasOwnProperty(n)){for(let o in this.config[n])if(this.config[n].hasOwnProperty(o)){let a=this.config[n][o];a.type===7?a.value='\u20ACfa{}#42123~#||23|\xDF\xF0\u0111\xE6"':a.type===3&&(a.value=!!["1",1,!0].includes(a.value)),a.original_value=a.value}}})}sections(){let t=[];for(let n in this.config)this.config.hasOwnProperty(n)&&!ZA.includes(n)&&t.push(n);return t=t.sort((n,o)=>n.localeCompare(o)),t.unshift.apply(t,ZA),t}configElements(t){let n=[],o=this.config[t];if(o)for(let a in o)o.hasOwnProperty(a)&&!(t==="UDS"&&XA.includes(a))&&n.push(a);return n=n.sort((a,s)=>a.localeCompare(s)),t==="UDS"&&n.unshift.apply(n,XA),n}save(){let t={};for(let n in this.config)if(this.config.hasOwnProperty(n)){for(let o in this.config[n])if(this.config[n].hasOwnProperty(o)){let a=this.config[n][o];if(a.original_value!==a.value){a.original_value=a.value,t[n]||(t[n]={});let s=a.value;a.type===3&&(s=["1",1,!0].includes(a.value)?"1":"0"),t[n][o]={value:s}}}}this.rest.configuration.save(t).then(()=>{this.api.gui.snackbar.open(django.gettext("Configuration saved"),django.gettext("dismiss"),{duration:2e3})})}};e.\u0275fac=function(n){return new(n||e)(m(X),m(B))},e.\u0275cmp=E({type:e,selectors:[["uds-configuration"]],decls:8,vars:4,consts:[[1,"detail"],[1,"mat-elevation-z4","title"],[3,"src"],["class","card",4,"ngIf"],[1,"card"],[1,"card-content"],["backgroundColor","primary"],[4,"ngFor","ngForOf"],[1,"config-footer"],["mat-raised-button","","color","primary",3,"click"],["mat-tab-label",""],[1,"content"],["class","field",4,"ngFor","ngForOf"],[1,"field"],[3,"ngSwitch",4,"ngIf"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],["matInput","",3,"ngModelChange","type","ngModel","matTooltip"],["matInput","",3,"ngModelChange","ngModel","matTooltip"],["matInput","","type","number",3,"ngModelChange","ngModel","matTooltip"],[1,"toggle"],[3,"ngModelChange","ngModel","matTooltip"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["matInput","","type","text","readonly","readonly",3,"ngModelChange","ngModel","matTooltip"],["matInput","","type","password",3,"ngModelChange","ngModel","matTooltip"],["matInput","","type","text",3,"ngModelChange","ngModel","matTooltip"]],template:function(n,o){n&1&&(c(0,"div",0)(1,"div",1),I(2,"img",2),g(3,"\xA0"),c(4,"uds-translate"),g(5,"UDS Configuration"),d()(),x(6,Tq,8,2,"div",3),_t(7,"notEmpty"),d()),n&2&&(h(2),p("src",o.api.staticURL("admin/img/icons/configuration.png"),Ie),h(4),p("ngIf",Dt(7,2,o.config)))},dependencies:[We,me,ul,bm,DI,lt,$n,xe,Se,ke,lr,_e,Ae,ft,bt,nt,ei,ti,oi,cr,le,yi],styles:[".content[_ngcontent-%COMP%]{margin-top:2rem}.field[_ngcontent-%COMP%]{display:flex;justify-content:center;width:100%}.field[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:50%}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}input[readonly][_ngcontent-%COMP%]{background-color:#e0e0e0}.slider-label[_ngcontent-%COMP%]{color:#0009;display:block;font-weight:400;left:0;line-height:18px;overflow:hidden;pointer-events:none;position:absolute;text-align:left;text-overflow:ellipsis;top:.5em;transform:matrix(.75,0,0,.75,0,-21.5);transform-origin:0px 0px;white-space:nowrap}.config-footer[_ngcontent-%COMP%]{display:flex;justify-content:center;width:100%;margin-top:2rem;margin-bottom:2rem}"]});let i=e;return i})();var eO=(()=>{let e=class e{constructor(t,n,o){this.api=t,this.route=n,this.rest=o}ngOnInit(){}onDelete(t){return W(this,null,function*(){yield this.api.gui.forms.deleteForm(t,django.gettext("Delete actor token - USE WITH EXTREME CAUTION!!!"))})}};e.\u0275fac=function(n){return new(n||e)(m(B),m(Oe),m(X))},e.\u0275cmp=E({type:e,selectors:[["uds-actor-tokens"]],decls:2,vars:4,consts:[["icon","accounts",3,"deleteAction","rest","multiSelect","allowExport","pageSize"]],template:function(n,o){n&1&&(c(0,"div")(1,"uds-table",0),b("deleteAction",function(s){return o.onDelete(s)}),d()()),n&2&&(h(),p("rest",o.rest.actorToken)("multiSelect",!0)("allowExport",!0)("pageSize",o.api.config.admin.page_size))},dependencies:[Te]});let i=e;return i})();var tO=(()=>{let e=class e{constructor(t,n,o){this.api=t,this.route=n,this.rest=o}ngOnInit(){}onDelete(t){this.api.gui.forms.deleteForm(t,django.gettext("Delete servers token - USE WITH EXTREME CAUTION!!!"))}};e.\u0275fac=function(n){return new(n||e)(m(B),m(Oe),m(X))},e.\u0275cmp=E({type:e,selectors:[["uds-servers-tokens"]],decls:2,vars:4,consts:[["icon","proxy",3,"deleteAction","rest","multiSelect","allowExport","pageSize"]],template:function(n,o){n&1&&(c(0,"div")(1,"uds-table",0),b("deleteAction",function(s){return o.onDelete(s)}),d()()),n&2&&(h(),p("rest",o.rest.serversTokens)("multiSelect",!0)("allowExport",!0)("pageSize",o.api.config.admin.page_size))},dependencies:[Te]});let i=e;return i})();var kq=[{path:"",canActivate:[HT],children:[{path:"",redirectTo:"summary",pathMatch:"full"},{path:"summary",component:qT},{path:"services/providers",component:nw},{path:"services/providers/:provider/detail",component:ow},{path:"services/providers/:provider",component:nw},{path:"services/providers/:provider/detail/:service",component:ow},{path:"services/servers",component:rw},{path:"services/servers/:server/detail",component:cA},{path:"services/servers/:server",component:rw},{path:"authenticators",component:aw},{path:"authenticators/:authenticator/detail",component:Jf},{path:"authenticators/:authenticator",component:aw},{path:"authenticators/:authenticator/detail/groups/:group",component:Jf},{path:"authenticators/:authenticator/detail/users/:user",component:Jf},{path:"mfas",component:sw},{path:"mfas/:mfa",component:sw},{path:"osmanagers",component:hw},{path:"osmanagers/:osmanager",component:hw},{path:"connectivity/transports",component:mw},{path:"connectivity/transports/:transport",component:mw},{path:"connectivity/networks",component:pw},{path:"connectivity/networks/:network",component:pw},{path:"connectivity/tunnels",component:fw},{path:"connectivity/tunnels/:tunnel",component:fw},{path:"connectivity/tunnels/:tunnel/detail",component:_A},{path:"pools/service-pools",component:gw},{path:"pools/service-pools/:pool",component:gw},{path:"pools/service-pools/:pool/detail",component:rg},{path:"pools/meta-pools",component:bw},{path:"pools/meta-pools/:metapool",component:bw},{path:"pools/meta-pools/:metapool/detail",component:SA},{path:"pools/pool-groups",component:ww},{path:"pools/pool-groups/:poolgroup",component:ww},{path:"pools/calendars",component:Cw},{path:"pools/calendars/:calendar",component:Cw},{path:"pools/calendars/:calendar/detail",component:GA},{path:"pools/accounts",component:Rw},{path:"pools/accounts/:account",component:Rw},{path:"pools/accounts/:account/detail",component:qA},{path:"tools/gallery",component:Fw},{path:"tools/gallery/:image",component:Fw},{path:"tools/reports",component:QA},{path:"tools/notifiers",component:KA},{path:"tools/tokens/actor",component:eO},{path:"tools/tokens/server",component:tO},{path:"tools/configuration",component:JA}]}],iO=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=te({type:e}),e.\u0275inj=ee({imports:[F0.forRoot(kq,{}),F0]});let i=e;return i})();function nO(i){return new J(3e3,!1)}function Aq(){return new J(3100,!1)}function Oq(){return new J(3101,!1)}function Rq(i){return new J(3001,!1)}function Pq(i){return new J(3003,!1)}function Fq(i){return new J(3004,!1)}function Nq(i,e){return new J(3005,!1)}function Lq(){return new J(3006,!1)}function Vq(){return new J(3007,!1)}function jq(i,e){return new J(3008,!1)}function Bq(i){return new J(3002,!1)}function zq(i,e,r,t,n){return new J(3010,!1)}function Uq(){return new J(3011,!1)}function Hq(){return new J(3012,!1)}function $q(){return new J(3200,!1)}function Wq(){return new J(3202,!1)}function Gq(){return new J(3013,!1)}function qq(i){return new J(3014,!1)}function Yq(i){return new J(3015,!1)}function Qq(i){return new J(3016,!1)}function Kq(i,e){return new J(3404,!1)}function Zq(i){return new J(3502,!1)}function Xq(i){return new J(3503,!1)}function Jq(){return new J(3300,!1)}function eY(i){return new J(3504,!1)}function tY(i){return new J(3301,!1)}function iY(i,e){return new J(3302,!1)}function nY(i){return new J(3303,!1)}function oY(i,e){return new J(3400,!1)}function rY(i){return new J(3401,!1)}function aY(i){return new J(3402,!1)}function sY(i,e){return new J(3505,!1)}function Oa(i){switch(i.length){case 0:return new ya;case 1:return i[0];default:return new Ad(i)}}function _O(i,e,r=new Map,t=new Map){let n=[],o=[],a=-1,s=null;if(e.forEach(l=>{let u=l.get("offset"),f=u==a,v=f&&s||new Map;l.forEach((C,D)=>{let S=D,P=C;if(D!=="offset")switch(S=i.normalizePropertyName(S,n),P){case yp:P=r.get(D);break;case or:P=t.get(D);break;default:P=i.normalizeStyleValue(D,S,P,n);break}v.set(S,P)}),f||o.push(v),s=v,a=u}),n.length)throw Zq(n);return o}function oC(i,e,r,t){switch(e){case"start":i.onStart(()=>t(r&&Nw(r,"start",i)));break;case"done":i.onDone(()=>t(r&&Nw(r,"done",i)));break;case"destroy":i.onDestroy(()=>t(r&&Nw(r,"destroy",i)));break}}function Nw(i,e,r){let t=r.totalTime,n=!!r.disabled,o=rC(i.element,i.triggerName,i.fromState,i.toState,e||i.phaseName,t??i.totalTime,n),a=i._data;return a!=null&&(o._data=a),o}function rC(i,e,r,t,n="",o=0,a){return{element:i,triggerName:e,fromState:r,toState:t,phaseName:n,totalTime:o,disabled:!!a}}function Yn(i,e,r){let t=i.get(e);return t||i.set(e,t=r),t}function oO(i){let e=i.indexOf(":"),r=i.substring(1,e),t=i.slice(e+1);return[r,t]}var lY=typeof document>"u"?null:document.documentElement;function aC(i){let e=i.parentNode||i.host||null;return e===lY?null:e}function cY(i){return i.substring(1,6)=="ebkit"}var xs=null,rO=!1;function dY(i){xs||(xs=uY()||{},rO=xs.style?"WebkitAppearance"in xs.style:!1);let e=!0;return xs.style&&!cY(i)&&(e=i in xs.style,!e&&rO&&(e="Webkit"+i.charAt(0).toUpperCase()+i.slice(1)in xs.style)),e}function uY(){return typeof document<"u"?document.body:null}function vO(i,e){for(;e;){if(e===i)return!0;e=aC(e)}return!1}function bO(i,e,r){if(r)return Array.from(i.querySelectorAll(e));let t=i.querySelector(e);return t?[t]:[]}var sC=(()=>{let e=class e{validateStyleProperty(t){return dY(t)}containsElement(t,n){return vO(t,n)}getParentElement(t){return aC(t)}query(t,n,o){return bO(t,n,o)}computeStyle(t,n,o){return o||""}animate(t,n,o,a,s,l=[],u){return new ya(o,a)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=V({token:e,factory:e.\u0275fac});let i=e;return i})(),uC=class uC{};uC.NOOP=new sC;var Es=uC,Is=class{};var hY=1e3,yO="{{",mY="}}",wO="ng-enter",Uw="ng-leave",dg="ng-trigger",fg=".ng-trigger",aO="ng-animating",Hw=".ng-animating";function Ur(i){if(typeof i=="number")return i;let e=i.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:$w(parseFloat(e[1]),e[2])}function $w(i,e){switch(e){case"s":return i*hY;default:return i}}function gg(i,e,r){return i.hasOwnProperty("duration")?i:pY(i,e,r)}function pY(i,e,r){let t=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,n,o=0,a="";if(typeof i=="string"){let s=i.match(t);if(s===null)return e.push(nO(i)),{duration:0,delay:0,easing:""};n=$w(parseFloat(s[1]),s[2]);let l=s[3];l!=null&&(o=$w(parseFloat(l),s[4]));let u=s[5];u&&(a=u)}else n=i;if(!r){let s=!1,l=e.length;n<0&&(e.push(Aq()),s=!0),o<0&&(e.push(Oq()),s=!0),s&&e.splice(l,0,nO(i))}return{duration:n,delay:o,easing:a}}function fY(i){return i.length?i[0]instanceof Map?i:i.map(e=>new Map(Object.entries(e))):[]}function dr(i,e,r){e.forEach((t,n)=>{let o=lC(n);r&&!r.has(n)&&r.set(n,i.style[o]),i.style[o]=t})}function Ss(i,e){e.forEach((r,t)=>{let n=lC(t);i.style[n]=""})}function Jd(i){return Array.isArray(i)?i.length==1?i[0]:M1(i):i}function gY(i,e,r){let t=e.params||{},n=CO(i);n.length&&n.forEach(o=>{t.hasOwnProperty(o)||r.push(Rq(o))})}var Ww=new RegExp(`${yO}\\s*(.+?)\\s*${mY}`,"g");function CO(i){let e=[];if(typeof i=="string"){let r;for(;r=Ww.exec(i);)e.push(r[1]);Ww.lastIndex=0}return e}function tu(i,e,r){let t=`${i}`,n=t.replace(Ww,(o,a)=>{let s=e[a];return s==null&&(r.push(Pq(a)),s=""),s.toString()});return n==t?i:n}var _Y=/-+([a-z0-9])/g;function lC(i){return i.replace(_Y,(...e)=>e[1].toUpperCase())}function vY(i,e){return i===0||e===0}function bY(i,e,r){if(r.size&&e.length){let t=e[0],n=[];if(r.forEach((o,a)=>{t.has(a)||n.push(a),t.set(a,o)}),n.length)for(let o=1;oa.set(s,cC(i,s)))}}return e}function qn(i,e,r){switch(e.type){case ot.Trigger:return i.visitTrigger(e,r);case ot.State:return i.visitState(e,r);case ot.Transition:return i.visitTransition(e,r);case ot.Sequence:return i.visitSequence(e,r);case ot.Group:return i.visitGroup(e,r);case ot.Animate:return i.visitAnimate(e,r);case ot.Keyframes:return i.visitKeyframes(e,r);case ot.Style:return i.visitStyle(e,r);case ot.Reference:return i.visitReference(e,r);case ot.AnimateChild:return i.visitAnimateChild(e,r);case ot.AnimateRef:return i.visitAnimateRef(e,r);case ot.Query:return i.visitQuery(e,r);case ot.Stagger:return i.visitStagger(e,r);default:throw Fq(e.type)}}function cC(i,e){return window.getComputedStyle(i)[e]}var yY=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"]),_g=class extends Is{normalizePropertyName(e,r){return lC(e)}normalizeStyleValue(e,r,t,n){let o="",a=t.toString().trim();if(yY.has(r)&&t!==0&&t!=="0")if(typeof t=="number")o="px";else{let s=t.match(/^[+-]?[\d\.]+([a-z]*)$/);s&&s[1].length==0&&n.push(Nq(e,t))}return a+o}};var vg="*";function wY(i,e){let r=[];return typeof i=="string"?i.split(/\s*,\s*/).forEach(t=>CY(t,r,e)):r.push(i),r}function CY(i,e,r){if(i[0]==":"){let l=xY(i,r);if(typeof l=="function"){e.push(l);return}i=l}let t=i.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(t==null||t.length<4)return r.push(Yq(i)),e;let n=t[1],o=t[2],a=t[3];e.push(sO(n,a));let s=n==vg&&a==vg;o[0]=="<"&&!s&&e.push(sO(a,n))}function xY(i,e){switch(i){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 ug=new Set(["true","1"]),hg=new Set(["false","0"]);function sO(i,e){let r=ug.has(i)||hg.has(i),t=ug.has(e)||hg.has(e);return(n,o)=>{let a=i==vg||i==n,s=e==vg||e==o;return!a&&r&&typeof n=="boolean"&&(a=n?ug.has(i):hg.has(i)),!s&&t&&typeof o=="boolean"&&(s=o?ug.has(e):hg.has(e)),a&&s}}var xO=":self",DY=new RegExp(`s*${xO}s*,?`,"g");function DO(i,e,r,t){return new Gw(i).build(e,r,t)}var lO="",Gw=class{constructor(e){this._driver=e}build(e,r,t){let n=new qw(r);return this._resetContextStyleTimingState(n),qn(this,Jd(e),n)}_resetContextStyleTimingState(e){e.currentQuerySelector=lO,e.collectedStyles=new Map,e.collectedStyles.set(lO,new Map),e.currentTime=0}visitTrigger(e,r){let t=r.queryCount=0,n=r.depCount=0,o=[],a=[];return e.name.charAt(0)=="@"&&r.errors.push(Lq()),e.definitions.forEach(s=>{if(this._resetContextStyleTimingState(r),s.type==ot.State){let l=s,u=l.name;u.toString().split(/\s*,\s*/).forEach(f=>{l.name=f,o.push(this.visitState(l,r))}),l.name=u}else if(s.type==ot.Transition){let l=this.visitTransition(s,r);t+=l.queryCount,n+=l.depCount,a.push(l)}else r.errors.push(Vq())}),{type:ot.Trigger,name:e.name,states:o,transitions:a,queryCount:t,depCount:n,options:null}}visitState(e,r){let t=this.visitStyle(e.styles,r),n=e.options&&e.options.params||null;if(t.containsDynamicStyles){let o=new Set,a=n||{};t.styles.forEach(s=>{s instanceof Map&&s.forEach(l=>{CO(l).forEach(u=>{a.hasOwnProperty(u)||o.add(u)})})}),o.size&&r.errors.push(jq(e.name,[...o.values()]))}return{type:ot.State,name:e.name,style:t,options:n?{params:n}:null}}visitTransition(e,r){r.queryCount=0,r.depCount=0;let t=qn(this,Jd(e.animation),r),n=wY(e.expr,r.errors);return{type:ot.Transition,matchers:n,animation:t,queryCount:r.queryCount,depCount:r.depCount,options:Ds(e.options)}}visitSequence(e,r){return{type:ot.Sequence,steps:e.steps.map(t=>qn(this,t,r)),options:Ds(e.options)}}visitGroup(e,r){let t=r.currentTime,n=0,o=e.steps.map(a=>{r.currentTime=t;let s=qn(this,a,r);return n=Math.max(n,r.currentTime),s});return r.currentTime=n,{type:ot.Group,steps:o,options:Ds(e.options)}}visitAnimate(e,r){let t=MY(e.timings,r.errors);r.currentAnimateTimings=t;let n,o=e.styles?e.styles:Me({});if(o.type==ot.Keyframes)n=this.visitKeyframes(o,r);else{let a=e.styles,s=!1;if(!a){s=!0;let u={};t.easing&&(u.easing=t.easing),a=Me(u)}r.currentTime+=t.duration+t.delay;let l=this.visitStyle(a,r);l.isEmptyStep=s,n=l}return r.currentAnimateTimings=null,{type:ot.Animate,timings:t,style:n,options:null}}visitStyle(e,r){let t=this._makeStyleAst(e,r);return this._validateStyleAst(t,r),t}_makeStyleAst(e,r){let t=[],n=Array.isArray(e.styles)?e.styles:[e.styles];for(let s of n)typeof s=="string"?s===or?t.push(s):r.errors.push(Bq(s)):t.push(new Map(Object.entries(s)));let o=!1,a=null;return t.forEach(s=>{if(s instanceof Map&&(s.has("easing")&&(a=s.get("easing"),s.delete("easing")),!o)){for(let l of s.values())if(l.toString().indexOf(yO)>=0){o=!0;break}}}),{type:ot.Style,styles:t,easing:a,offset:e.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(e,r){let t=r.currentAnimateTimings,n=r.currentTime,o=r.currentTime;t&&o>0&&(o-=t.duration+t.delay),e.styles.forEach(a=>{typeof a!="string"&&a.forEach((s,l)=>{let u=r.collectedStyles.get(r.currentQuerySelector),f=u.get(l),v=!0;f&&(o!=n&&o>=f.startTime&&n<=f.endTime&&(r.errors.push(zq(l,f.startTime,f.endTime,o,n)),v=!1),o=f.startTime),v&&u.set(l,{startTime:o,endTime:n}),r.options&&gY(s,r.options,r.errors)})})}visitKeyframes(e,r){let t={type:ot.Keyframes,styles:[],options:null};if(!r.currentAnimateTimings)return r.errors.push(Uq()),t;let n=1,o=0,a=[],s=!1,l=!1,u=0,f=e.steps.map(O=>{let de=this._makeStyleAst(O,r),ht=de.offset!=null?de.offset:IY(de.styles),it=0;return ht!=null&&(o++,it=de.offset=ht),l=l||it<0||it>1,s=s||it0&&o{let ht=C>0?de==D?1:C*de:a[de],it=ht*z;r.currentTime=S+P.delay+it,P.duration=it,this._validateStyleAst(O,r),O.offset=ht,t.styles.push(O)}),t}visitReference(e,r){return{type:ot.Reference,animation:qn(this,Jd(e.animation),r),options:Ds(e.options)}}visitAnimateChild(e,r){return r.depCount++,{type:ot.AnimateChild,options:Ds(e.options)}}visitAnimateRef(e,r){return{type:ot.AnimateRef,animation:this.visitReference(e.animation,r),options:Ds(e.options)}}visitQuery(e,r){let t=r.currentQuerySelector,n=e.options||{};r.queryCount++,r.currentQuery=e;let[o,a]=SY(e.selector);r.currentQuerySelector=t.length?t+" "+o:o,Yn(r.collectedStyles,r.currentQuerySelector,new Map);let s=qn(this,Jd(e.animation),r);return r.currentQuery=null,r.currentQuerySelector=t,{type:ot.Query,selector:o,limit:n.limit||0,optional:!!n.optional,includeSelf:a,animation:s,originalSelector:e.selector,options:Ds(e.options)}}visitStagger(e,r){r.currentQuery||r.errors.push(Gq());let t=e.timings==="full"?{duration:0,delay:0,easing:"full"}:gg(e.timings,r.errors,!0);return{type:ot.Stagger,animation:qn(this,Jd(e.animation),r),timings:t,options:null}}};function SY(i){let e=!!i.split(/\s*,\s*/).find(r=>r==xO);return e&&(i=i.replace(DY,"")),i=i.replace(/@\*/g,fg).replace(/@\w+/g,r=>fg+"-"+r.slice(1)).replace(/:animating/g,Hw),[i,e]}function EY(i){return i?j({},i):null}var qw=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 IY(i){if(typeof i=="string")return null;let e=null;if(Array.isArray(i))i.forEach(r=>{if(r instanceof Map&&r.has("offset")){let t=r;e=parseFloat(t.get("offset")),t.delete("offset")}});else if(i instanceof Map&&i.has("offset")){let r=i;e=parseFloat(r.get("offset")),r.delete("offset")}return e}function MY(i,e){if(i.hasOwnProperty("duration"))return i;if(typeof i=="number"){let o=gg(i,e).duration;return Lw(o,0,"")}let r=i;if(r.split(/\s+/).some(o=>o.charAt(0)=="{"&&o.charAt(1)=="{")){let o=Lw(0,0,"");return o.dynamic=!0,o.strValue=r,o}let n=gg(r,e);return Lw(n.duration,n.delay,n.easing)}function Ds(i){return i?(i=j({},i),i.params&&(i.params=EY(i.params))):i={},i}function Lw(i,e,r){return{duration:i,delay:e,easing:r}}function dC(i,e,r,t,n,o,a=null,s=!1){return{type:1,element:i,keyframes:e,preStyleProps:r,postStyleProps:t,duration:n,delay:o,totalTime:n+o,easing:a,subTimeline:s}}var iu=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()}},TY=1,kY=":enter",AY=new RegExp(kY,"g"),OY=":leave",RY=new RegExp(OY,"g");function SO(i,e,r,t,n,o=new Map,a=new Map,s,l,u=[]){return new Yw().buildKeyframes(i,e,r,t,n,o,a,s,l,u)}var Yw=class{buildKeyframes(e,r,t,n,o,a,s,l,u,f=[]){u=u||new iu;let v=new Qw(e,r,u,n,o,f,[]);v.options=l;let C=l.delay?Ur(l.delay):0;v.currentTimeline.delayNextStep(C),v.currentTimeline.setStyles([a],null,v.errors,l),qn(this,t,v);let D=v.timelines.filter(S=>S.containsAnimation());if(D.length&&s.size){let S;for(let P=D.length-1;P>=0;P--){let z=D[P];if(z.element===r){S=z;break}}S&&!S.allowOnlyTimelineStyles()&&S.setStyles([s],null,v.errors,l)}return D.length?D.map(S=>S.buildKeyframes()):[dC(r,[],[],[],0,C,"",!1)]}visitTrigger(e,r){}visitState(e,r){}visitTransition(e,r){}visitAnimateChild(e,r){let t=r.subInstructions.get(r.element);if(t){let n=r.createSubContext(e.options),o=r.currentTimeline.currentTime,a=this._visitSubInstructions(t,n,n.options);o!=a&&r.transformIntoNewTimeline(a)}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){for(let n of e){let o=n?.delay;if(o){let a=typeof o=="number"?o:Ur(tu(o,n?.params??{},r.errors));t.delayNextStep(a)}}}_visitSubInstructions(e,r,t){let o=r.currentTimeline.currentTime,a=t.duration!=null?Ur(t.duration):null,s=t.delay!=null?Ur(t.delay):null;return a!==0&&e.forEach(l=>{let u=r.appendInstructionToTimeline(l,a,s);o=Math.max(o,u.duration+u.delay)}),o}visitReference(e,r){r.updateOptions(e.options,!0),qn(this,e.animation,r),r.previousNode=e}visitSequence(e,r){let t=r.subContextCount,n=r,o=e.options;if(o&&(o.params||o.delay)&&(n=r.createSubContext(o),n.transformIntoNewTimeline(),o.delay!=null)){n.previousNode.type==ot.Style&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=bg);let a=Ur(o.delay);n.delayNextStep(a)}e.steps.length&&(e.steps.forEach(a=>qn(this,a,n)),n.currentTimeline.applyStylesToKeyframe(),n.subContextCount>t&&n.transformIntoNewTimeline()),r.previousNode=e}visitGroup(e,r){let t=[],n=r.currentTimeline.currentTime,o=e.options&&e.options.delay?Ur(e.options.delay):0;e.steps.forEach(a=>{let s=r.createSubContext(e.options);o&&s.delayNextStep(o),qn(this,a,s),n=Math.max(n,s.currentTimeline.currentTime),t.push(s.currentTimeline)}),t.forEach(a=>r.currentTimeline.mergeTimelineCollectedStyles(a)),r.transformIntoNewTimeline(n),r.previousNode=e}_visitTiming(e,r){if(e.dynamic){let t=e.strValue,n=r.params?tu(t,r.params,r.errors):t;return gg(n,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),n=r.currentTimeline;t.delay&&(r.incrementTime(t.delay),n.snapshotCurrentStyles());let o=e.style;o.type==ot.Keyframes?this.visitKeyframes(o,r):(r.incrementTime(t.duration),this.visitStyle(o,r),n.applyStylesToKeyframe()),r.currentAnimateTimings=null,r.previousNode=e}visitStyle(e,r){let t=r.currentTimeline,n=r.currentAnimateTimings;!n&&t.hasCurrentStyleProperties()&&t.forwardFrame();let o=n&&n.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,n=r.currentTimeline.duration,o=t.duration,s=r.createSubContext().currentTimeline;s.easing=t.easing,e.styles.forEach(l=>{let u=l.offset||0;s.forwardTime(u*o),s.setStyles(l.styles,l.easing,r.errors,r.options),s.applyStylesToKeyframe()}),r.currentTimeline.mergeTimelineCollectedStyles(s),r.transformIntoNewTimeline(n+o),r.previousNode=e}visitQuery(e,r){let t=r.currentTimeline.currentTime,n=e.options||{},o=n.delay?Ur(n.delay):0;o&&(r.previousNode.type===ot.Style||t==0&&r.currentTimeline.hasCurrentStyleProperties())&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=bg);let a=t,s=r.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!n.optional,r.errors);r.currentQueryTotal=s.length;let l=null;s.forEach((u,f)=>{r.currentQueryIndex=f;let v=r.createSubContext(e.options,u);o&&v.delayNextStep(o),u===r.element&&(l=v.currentTimeline),qn(this,e.animation,v),v.currentTimeline.applyStylesToKeyframe();let C=v.currentTimeline.currentTime;a=Math.max(a,C)}),r.currentQueryIndex=0,r.currentQueryTotal=0,r.transformIntoNewTimeline(a),l&&(r.currentTimeline.mergeTimelineCollectedStyles(l),r.currentTimeline.snapshotCurrentStyles()),r.previousNode=e}visitStagger(e,r){let t=r.parentContext,n=r.currentTimeline,o=e.timings,a=Math.abs(o.duration),s=a*(r.currentQueryTotal-1),l=a*r.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=s-l;break;case"full":l=t.currentStaggerTime;break}let f=r.currentTimeline;l&&f.delayNextStep(l);let v=f.currentTime;qn(this,e.animation,r),r.previousNode=e,t.currentStaggerTime=n.currentTime-v+(n.startTime-t.currentTimeline.startTime)}},bg={},Qw=class i{constructor(e,r,t,n,o,a,s,l){this._driver=e,this.element=r,this.subInstructions=t,this._enterClassName=n,this._leaveClassName=o,this.errors=a,this.timelines=s,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=bg,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new yg(this._driver,r,0),s.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,r){if(!e)return;let t=e,n=this.options;t.duration!=null&&(n.duration=Ur(t.duration)),t.delay!=null&&(n.delay=Ur(t.delay));let o=t.params;if(o){let a=n.params;a||(a=this.options.params={}),Object.keys(o).forEach(s=>{(!r||!a.hasOwnProperty(s))&&(a[s]=tu(o[s],a,this.errors))})}}_copyOptions(){let e={};if(this.options){let r=this.options.params;if(r){let t=e.params={};Object.keys(r).forEach(n=>{t[n]=r[n]})}}return e}createSubContext(e=null,r,t){let n=r||this.element,o=new i(this._driver,n,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(n,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=bg,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,r,t){let n={duration:r??e.duration,delay:this.currentTimeline.currentTime+(t??0)+e.delay,easing:""},o=new Kw(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,n,e.stretchStartingKeyframe);return this.timelines.push(o),n}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,r,t,n,o,a){let s=[];if(n&&s.push(this.element),e.length>0){e=e.replace(AY,"."+this._enterClassName),e=e.replace(RY,"."+this._leaveClassName);let l=t!=1,u=this._driver.query(this.element,e,l);t!==0&&(u=t<0?u.slice(u.length+t,u.length):u.slice(0,t)),s.push(...u)}return!o&&s.length==0&&a.push(qq(r)),s}},yg=class i{constructor(e,r,t,n){this._driver=e,this.element=r,this.startTime=t,this._elementTimelineStylesLookup=n,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 i(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+=TY,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||or),this._currentKeyframe.set(r,or);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,r,t,n){r&&this._previousKeyframe.set("easing",r);let o=n&&n.params||{},a=PY(e,this._globalTimelineStyles);for(let[s,l]of a){let u=tu(l,o,t);this._pendingStyles.set(s,u),this._localTimelineStyles.has(s)||this._backFill.set(s,this._globalTimelineStyles.get(s)??or),this._updateStyle(s,u)}}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 n=this._styleSummary.get(t);(!n||r.time>n.time)&&this._updateStyle(t,r.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,r=new Set,t=this._keyframes.size===1&&this.duration===0,n=[];this._keyframes.forEach((s,l)=>{let u=new Map([...this._backFill,...s]);u.forEach((f,v)=>{f===yp?e.add(v):f===or&&r.add(v)}),t||u.set("offset",l/this.duration),n.push(u)});let o=[...e.values()],a=[...r.values()];if(t){let s=n[0],l=new Map(s);s.set("offset",0),l.set("offset",1),n=[s,l]}return dC(this.element,n,o,a,this.duration,this.startTime,this.easing,!1)}},Kw=class extends yg{constructor(e,r,t,n,o,a,s=!1){super(e,r,a.delay),this.keyframes=t,this.preStyleProps=n,this.postStyleProps=o,this._stretchStartingKeyframe=s,this.timings={duration:a.duration,delay:a.delay,easing:a.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:r,duration:t,easing:n}=this.timings;if(this._stretchStartingKeyframe&&r){let o=[],a=t+r,s=r/a,l=new Map(e[0]);l.set("offset",0),o.push(l);let u=new Map(e[0]);u.set("offset",cO(s)),o.push(u);let f=e.length-1;for(let v=1;v<=f;v++){let C=new Map(e[v]),D=C.get("offset"),S=r+D*t;C.set("offset",cO(S/a)),o.push(C)}t=a,r=0,n="",e=o}return dC(this.element,e,this.preStyleProps,this.postStyleProps,t,r,n,!0)}};function cO(i,e=3){let r=Math.pow(10,e-1);return Math.round(i*r)/r}function PY(i,e){let r=new Map,t;return i.forEach(n=>{if(n==="*"){t??=e.keys();for(let o of t)r.set(o,or)}else for(let[o,a]of n)r.set(o,a)}),r}function dO(i,e,r,t,n,o,a,s,l,u,f,v,C){return{type:0,element:i,triggerName:e,isRemovalTransition:n,fromState:r,fromStyles:o,toState:t,toStyles:a,timelines:s,queriedElements:l,preStyleProps:u,postStyleProps:f,totalTime:v,errors:C}}var Vw={},wg=class{constructor(e,r,t){this._triggerName=e,this.ast=r,this._stateStyles=t}match(e,r,t,n){return FY(this.ast.matchers,e,r,t,n)}buildStyles(e,r,t){let n=this._stateStyles.get("*");return e!==void 0&&(n=this._stateStyles.get(e?.toString())||n),n?n.buildStyles(r,t):new Map}build(e,r,t,n,o,a,s,l,u,f){let v=[],C=this.ast.options&&this.ast.options.params||Vw,D=s&&s.params||Vw,S=this.buildStyles(t,D,v),P=l&&l.params||Vw,z=this.buildStyles(n,P,v),O=new Set,de=new Map,ht=new Map,it=n==="void",Ti={params:EO(P,C),delay:this.ast.options?.delay},Ft=f?[]:SO(e,r,this.ast.animation,o,a,S,z,Ti,u,v),Wt=0;return Ft.forEach(wi=>{Wt=Math.max(wi.duration+wi.delay,Wt)}),v.length?dO(r,this._triggerName,t,n,it,S,z,[],[],de,ht,Wt,v):(Ft.forEach(wi=>{let ur=wi.element,Ms=Yn(de,ur,new Set);wi.preStyleProps.forEach(Ra=>Ms.add(Ra));let bC=Yn(ht,ur,new Set);wi.postStyleProps.forEach(Ra=>bC.add(Ra)),ur!==r&&O.add(ur)}),dO(r,this._triggerName,t,n,it,S,z,Ft,[...O.values()],de,ht,Wt))}};function FY(i,e,r,t,n){return i.some(o=>o(e,r,t,n))}function EO(i,e){let r=j({},e);return Object.entries(i).forEach(([t,n])=>{n!=null&&(r[t]=n)}),r}var Zw=class{constructor(e,r,t){this.styles=e,this.defaultParams=r,this.normalizer=t}buildStyles(e,r){let t=new Map,n=EO(e,this.defaultParams);return this.styles.styles.forEach(o=>{typeof o!="string"&&o.forEach((a,s)=>{a&&(a=tu(a,n,r));let l=this.normalizer.normalizePropertyName(s,r);a=this.normalizer.normalizeStyleValue(s,l,a,r),t.set(s,a)})}),t}};function NY(i,e,r){return new Xw(i,e,r)}var Xw=class{constructor(e,r,t){this.name=e,this.ast=r,this._normalizer=t,this.transitionFactories=[],this.states=new Map,r.states.forEach(n=>{let o=n.options&&n.options.params||{};this.states.set(n.name,new Zw(n.style,o,t))}),uO(this.states,"true","1"),uO(this.states,"false","0"),r.transitions.forEach(n=>{this.transitionFactories.push(new wg(e,n,this.states))}),this.fallbackTransition=LY(e,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,r,t,n){return this.transitionFactories.find(a=>a.match(e,r,t,n))||null}matchStyles(e,r,t){return this.fallbackTransition.buildStyles(e,r,t)}};function LY(i,e,r){let t=[(a,s)=>!0],n={type:ot.Sequence,steps:[],options:null},o={type:ot.Transition,animation:n,matchers:t,options:null,queryCount:0,depCount:0};return new wg(i,o,e)}function uO(i,e,r){i.has(e)?i.has(r)||i.set(r,i.get(e)):i.has(r)&&i.set(e,i.get(r))}var VY=new iu,Jw=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=[],n=[],o=DO(this._driver,r,t,n);if(t.length)throw Xq(t);n.length&&void 0,this._animations.set(e,o)}_buildPlayer(e,r,t){let n=e.element,o=_O(this._normalizer,e.keyframes,r,t);return this._driver.animate(n,o,e.duration,e.delay,e.easing,[],!0)}create(e,r,t={}){let n=[],o=this._animations.get(e),a,s=new Map;if(o?(a=SO(this._driver,r,o,wO,Uw,new Map,new Map,t,VY,n),a.forEach(f=>{let v=Yn(s,f.element,new Map);f.postStyleProps.forEach(C=>v.set(C,null))})):(n.push(Jq()),a=[]),n.length)throw eY(n);s.forEach((f,v)=>{f.forEach((C,D)=>{f.set(D,this._driver.computeStyle(v,D,or))})});let l=a.map(f=>{let v=s.get(f.element);return this._buildPlayer(f,new Map,v)}),u=Oa(l);return this._playersById.set(e,u),u.onDestroy(()=>this.destroy(e)),this.players.push(u),u}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 tY(e);return r}listen(e,r,t,n){let o=rC(r,"","","");return oC(this._getPlayer(e),t,o,n),()=>{}}command(e,r,t,n){if(t=="register"){this.register(e,n[0]);return}if(t=="create"){let a=n[0]||{};this.create(e,r,a);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(n[0]));break;case"destroy":this.destroy(e);break}}},hO="ng-animate-queued",jY=".ng-animate-queued",jw="ng-animate-disabled",BY=".ng-animate-disabled",zY="ng-star-inserted",UY=".ng-star-inserted",HY=[],IO={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},$Y={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},No="__ng_removed",nu=class{get params(){return this.options.params}constructor(e,r=""){this.namespaceId=r;let t=e&&e.hasOwnProperty("value"),n=t?e.value:e;if(this.value=GY(n),t){let o=e,{value:a}=o,s=Tg(o,["value"]);this.options=s}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(n=>{t[n]==null&&(t[n]=r[n])})}}},eu="void",Bw=new nu(eu),eC=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,go(r,this._hostClassName)}listen(e,r,t,n){if(!this._triggers.has(r))throw iY(t,r);if(t==null||t.length==0)throw nY(r);if(!qY(t))throw oY(t,r);let o=Yn(this._elementListeners,e,[]),a={name:r,phase:t,callback:n};o.push(a);let s=Yn(this._engine.statesByElement,e,new Map);return s.has(r)||(go(e,dg),go(e,dg+"-"+r),s.set(r,Bw)),()=>{this._engine.afterFlush(()=>{let l=o.indexOf(a);l>=0&&o.splice(l,1),this._triggers.has(r)||s.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 rY(e);return r}trigger(e,r,t,n=!0){let o=this._getTrigger(r),a=new ou(this.id,r,e),s=this._engine.statesByElement.get(e);s||(go(e,dg),go(e,dg+"-"+r),this._engine.statesByElement.set(e,s=new Map));let l=s.get(r),u=new nu(t,this.id);if(!(t&&t.hasOwnProperty("value"))&&l&&u.absorbOptions(l.options),s.set(r,u),l||(l=Bw),!(u.value===eu)&&l.value===u.value){if(!KY(l.params,u.params)){let P=[],z=o.matchStyles(l.value,l.params,P),O=o.matchStyles(u.value,u.params,P);P.length?this._engine.reportError(P):this._engine.afterFlush(()=>{Ss(e,z),dr(e,O)})}return}let C=Yn(this._engine.playersByElement,e,[]);C.forEach(P=>{P.namespaceId==this.id&&P.triggerName==r&&P.queued&&P.destroy()});let D=o.matchTransition(l.value,u.value,e,u.params),S=!1;if(!D){if(!n)return;D=o.fallbackTransition,S=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:r,transition:D,fromState:l,toState:u,player:a,isFallbackTransition:S}),S||(go(e,hO),a.onStart(()=>{tc(e,hO)})),a.onDone(()=>{let P=this.players.indexOf(a);P>=0&&this.players.splice(P,1);let z=this._engine.playersByElement.get(e);if(z){let O=z.indexOf(a);O>=0&&z.splice(O,1)}}),this.players.push(a),C.push(a),a}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(n=>n.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,fg,!0);t.forEach(n=>{if(n[No])return;let o=this._engine.fetchNamespacesByElement(n);o.size?o.forEach(a=>a.triggerLeaveAnimation(n,r,!1,!0)):this.clearElementCache(n)}),this._engine.afterFlushAnimationsDone(()=>t.forEach(n=>this.clearElementCache(n)))}triggerLeaveAnimation(e,r,t,n){let o=this._engine.statesByElement.get(e),a=new Map;if(o){let s=[];if(o.forEach((l,u)=>{if(a.set(u,l.value),this._triggers.has(u)){let f=this.trigger(e,u,eu,n);f&&s.push(f)}}),s.length)return this._engine.markElementAsRemoved(this.id,e,!0,r,a),t&&Oa(s).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 n=new Set;r.forEach(o=>{let a=o.name;if(n.has(a))return;n.add(a);let l=this._triggers.get(a).fallbackTransition,u=t.get(a)||Bw,f=new nu(eu),v=new ou(this.id,a,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:a,transition:l,fromState:u,toState:f,player:v,isFallbackTransition:!0})})}}removeNode(e,r){let t=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,r),this.triggerLeaveAnimation(e,r,!0))return;let n=!1;if(t.totalAnimations){let o=t.players.length?t.playersByQueriedElement.get(e):[];if(o&&o.length)n=!0;else{let a=e;for(;a=a.parentNode;)if(t.statesByElement.get(a)){n=!0;break}}}if(this.prepareLeaveAnimationListeners(e),n)t.markElementAsRemoved(this.id,e,!1,r);else{let o=e[No];(!o||o===IO)&&(t.afterFlush(()=>this.clearElementCache(e)),t.destroyInnerAnimations(e),t._onRemovalComplete(e,r))}}insertNode(e,r){go(e,this._hostClassName)}drainQueuedTransitions(e){let r=[];return this._queue.forEach(t=>{let n=t.player;if(n.destroyed)return;let o=t.element,a=this._elementListeners.get(o);a&&a.forEach(s=>{if(s.name==t.triggerName){let l=rC(o,t.triggerName,t.fromState.value,t.toState.value);l._data=e,oC(t.player,s.phase,l,s.callback)}}),n.markedForDestroy?this._engine.afterFlush(()=>{n.destroy()}):r.push(t)}),this._queue=[],r.sort((t,n)=>{let o=t.transition.ast.depCount,a=n.transition.ast.depCount;return o==0||a==0?o-a:this._engine.driver.containsElement(t.element,n.element)?1:-1})}destroy(e){this.players.forEach(r=>r.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},tC=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=(n,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 eC(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,n=this.namespacesByHostElement;if(t.length-1>=0){let a=!1,s=this.driver.getParentElement(r);for(;s;){let l=n.get(s);if(l){let u=t.indexOf(l);t.splice(u+1,0,e),a=!0;break}s=this.driver.getParentElement(s)}a||t.unshift(e)}else t.push(e);return n.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 n=this._namespaceLookup[e];n&&n.register(r,t)&&this.totalAnimations++}destroy(e,r){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let t=this._fetchNamespace(e);this.namespacesByHostElement.delete(t.hostElement);let n=this._namespaceList.indexOf(t);n>=0&&this._namespaceList.splice(n,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 n of t.values())if(n.namespaceId){let o=this._fetchNamespace(n.namespaceId);o&&r.add(o)}}return r}trigger(e,r,t,n){if(mg(r)){let o=this._fetchNamespace(e);if(o)return o.trigger(r,t,n),!0}return!1}insertNode(e,r,t,n){if(!mg(r))return;let o=r[No];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;let a=this.collectedLeaveElements.indexOf(r);a>=0&&this.collectedLeaveElements.splice(a,1)}if(e){let a=this._fetchNamespace(e);a&&a.insertNode(r,t)}n&&this.collectEnterElement(r)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,r){r?this.disabledNodes.has(e)||(this.disabledNodes.add(e),go(e,jw)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),tc(e,jw))}removeNode(e,r,t){if(mg(r)){let n=e?this._fetchNamespace(e):null;n?n.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,n,o){this.collectedLeaveElements.push(r),r[No]={namespaceId:e,setForRemoval:n,hasAnimation:t,removedBeforeQueried:!1,previousTriggersValues:o}}listen(e,r,t,n,o){return mg(r)?this._fetchNamespace(e).listen(r,t,n,o):()=>{}}_buildInstruction(e,r,t,n,o){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,t,n,e.fromState.options,e.toState.options,r,o)}destroyInnerAnimations(e){let r=this.driver.query(e,fg,!0);r.forEach(t=>this.destroyActiveAnimationsForElement(t)),this.playersByQueriedElement.size!=0&&(r=this.driver.query(e,Hw,!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 Oa(this.players).onDone(()=>e());e()})}processLeaveNode(e){let r=e[No];if(r&&r.setForRemoval){if(e[No]=IO,r.namespaceId){this.destroyInnerAnimations(e);let t=this._fetchNamespace(r.namespaceId);t&&t.clearElementCache(e)}this._onRemovalComplete(e,r.setForRemoval)}e.classList?.contains(jw)&&this.markElementAsDisabled(e,!1),this.driver.query(e,BY,!0).forEach(t=>{this.markElementAsDisabled(t,!1)})}flush(e=-1){let r=[];if(this.newHostElements.size&&(this.newHostElements.forEach((t,n)=>this._balanceNamespaceList(t,n)),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?Oa(r).onDone(()=>{t.forEach(n=>n())}):t.forEach(n=>n())}}reportError(e){throw aY(e)}_flushAnimations(e,r){let t=new iu,n=[],o=new Map,a=[],s=new Map,l=new Map,u=new Map,f=new Set;this.disabledNodes.forEach(ye=>{f.add(ye);let Fe=this.driver.query(ye,jY,!0);for(let qe=0;qe{let qe=wO+P++;S.set(Fe,qe),ye.forEach(At=>go(At,qe))});let z=[],O=new Set,de=new Set;for(let ye=0;yeO.add(At)):de.add(Fe))}let ht=new Map,it=fO(C,Array.from(O));it.forEach((ye,Fe)=>{let qe=Uw+P++;ht.set(Fe,qe),ye.forEach(At=>go(At,qe))}),e.push(()=>{D.forEach((ye,Fe)=>{let qe=S.get(Fe);ye.forEach(At=>tc(At,qe))}),it.forEach((ye,Fe)=>{let qe=ht.get(Fe);ye.forEach(At=>tc(At,qe))}),z.forEach(ye=>{this.processLeaveNode(ye)})});let Ti=[],Ft=[];for(let ye=this._namespaceList.length-1;ye>=0;ye--)this._namespaceList[ye].drainQueuedTransitions(r).forEach(qe=>{let At=qe.player,Ni=qe.element;if(Ti.push(At),this.collectedEnterElements.length){let Xi=Ni[No];if(Xi&&Xi.setForMove){if(Xi.previousTriggersValues&&Xi.previousTriggersValues.has(qe.triggerName)){let Pa=Xi.previousTriggersValues.get(qe.triggerName),Qn=this.statesByElement.get(qe.element);if(Qn&&Qn.has(qe.triggerName)){let au=Qn.get(qe.triggerName);au.value=Pa,Qn.set(qe.triggerName,au)}}At.destroy();return}}let Lo=!v||!this.driver.containsElement(v,Ni),On=ht.get(Ni),Hr=S.get(Ni),mi=this._buildInstruction(qe,t,Hr,On,Lo);if(mi.errors&&mi.errors.length){Ft.push(mi);return}if(Lo){At.onStart(()=>Ss(Ni,mi.fromStyles)),At.onDestroy(()=>dr(Ni,mi.toStyles)),n.push(At);return}if(qe.isFallbackTransition){At.onStart(()=>Ss(Ni,mi.fromStyles)),At.onDestroy(()=>dr(Ni,mi.toStyles)),n.push(At);return}let CC=[];mi.timelines.forEach(Xi=>{Xi.stretchStartingKeyframe=!0,this.disabledNodes.has(Xi.element)||CC.push(Xi)}),mi.timelines=CC,t.append(Ni,mi.timelines);let _R={instruction:mi,player:At,element:Ni};a.push(_R),mi.queriedElements.forEach(Xi=>Yn(s,Xi,[]).push(At)),mi.preStyleProps.forEach((Xi,Pa)=>{if(Xi.size){let Qn=l.get(Pa);Qn||l.set(Pa,Qn=new Set),Xi.forEach((au,Mg)=>Qn.add(Mg))}}),mi.postStyleProps.forEach((Xi,Pa)=>{let Qn=u.get(Pa);Qn||u.set(Pa,Qn=new Set),Xi.forEach((au,Mg)=>Qn.add(Mg))})});if(Ft.length){let ye=[];Ft.forEach(Fe=>{ye.push(sY(Fe.triggerName,Fe.errors))}),Ti.forEach(Fe=>Fe.destroy()),this.reportError(ye)}let Wt=new Map,wi=new Map;a.forEach(ye=>{let Fe=ye.element;t.has(Fe)&&(wi.set(Fe,Fe),this._beforeAnimationBuild(ye.player.namespaceId,ye.instruction,Wt))}),n.forEach(ye=>{let Fe=ye.element;this._getPreviousPlayers(Fe,!1,ye.namespaceId,ye.triggerName,null).forEach(At=>{Yn(Wt,Fe,[]).push(At),At.destroy()})});let ur=z.filter(ye=>gO(ye,l,u)),Ms=new Map;pO(Ms,this.driver,de,u,or).forEach(ye=>{gO(ye,l,u)&&ur.push(ye)});let Ra=new Map;D.forEach((ye,Fe)=>{pO(Ra,this.driver,new Set(ye),l,yp)}),ur.forEach(ye=>{let Fe=Ms.get(ye),qe=Ra.get(ye);Ms.set(ye,new Map([...Fe?.entries()??[],...qe?.entries()??[]]))});let Ig=[],yC=[],wC={};a.forEach(ye=>{let{element:Fe,player:qe,instruction:At}=ye;if(t.has(Fe)){if(f.has(Fe)){qe.onDestroy(()=>dr(Fe,At.toStyles)),qe.disabled=!0,qe.overrideTotalTime(At.totalTime),n.push(qe);return}let Ni=wC;if(wi.size>1){let On=Fe,Hr=[];for(;On=On.parentNode;){let mi=wi.get(On);if(mi){Ni=mi;break}Hr.push(On)}Hr.forEach(mi=>wi.set(mi,Ni))}let Lo=this._buildAnimation(qe.namespaceId,At,Wt,o,Ra,Ms);if(qe.setRealPlayer(Lo),Ni===wC)Ig.push(qe);else{let On=this.playersByElement.get(Ni);On&&On.length&&(qe.parentPlayer=Oa(On)),n.push(qe)}}else Ss(Fe,At.fromStyles),qe.onDestroy(()=>dr(Fe,At.toStyles)),yC.push(qe),f.has(Fe)&&n.push(qe)}),yC.forEach(ye=>{let Fe=o.get(ye.element);if(Fe&&Fe.length){let qe=Oa(Fe);ye.setRealPlayer(qe)}}),n.forEach(ye=>{ye.parentPlayer?ye.syncPlayerEvents(ye.parentPlayer):ye.destroy()});for(let ye=0;ye!Lo.destroyed);Ni.length?YY(this,Fe,Ni):this.processLeaveNode(Fe)}return z.length=0,Ig.forEach(ye=>{this.players.push(ye),ye.onDone(()=>{ye.destroy();let Fe=this.players.indexOf(ye);this.players.splice(Fe,1)}),ye.play()}),Ig}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,r,t,n,o){let a=[];if(r){let s=this.playersByQueriedElement.get(e);s&&(a=s)}else{let s=this.playersByElement.get(e);if(s){let l=!o||o==eu;s.forEach(u=>{u.queued||!l&&u.triggerName!=n||a.push(u)})}}return(t||n)&&(a=a.filter(s=>!(t&&t!=s.namespaceId||n&&n!=s.triggerName))),a}_beforeAnimationBuild(e,r,t){let n=r.triggerName,o=r.element,a=r.isRemovalTransition?void 0:e,s=r.isRemovalTransition?void 0:n;for(let l of r.timelines){let u=l.element,f=u!==o,v=Yn(t,u,[]);this._getPreviousPlayers(u,f,a,s,r.toState).forEach(D=>{let S=D.getRealPlayer();S.beforeDestroy&&S.beforeDestroy(),D.destroy(),v.push(D)})}Ss(o,r.fromStyles)}_buildAnimation(e,r,t,n,o,a){let s=r.triggerName,l=r.element,u=[],f=new Set,v=new Set,C=r.timelines.map(S=>{let P=S.element;f.add(P);let z=P[No];if(z&&z.removedBeforeQueried)return new ya(S.duration,S.delay);let O=P!==l,de=QY((t.get(P)||HY).map(Wt=>Wt.getRealPlayer())).filter(Wt=>{let wi=Wt;return wi.element?wi.element===P:!1}),ht=o.get(P),it=a.get(P),Ti=_O(this._normalizer,S.keyframes,ht,it),Ft=this._buildPlayer(S,Ti,de);if(S.subTimeline&&n&&v.add(P),O){let Wt=new ou(e,s,P);Wt.setRealPlayer(Ft),u.push(Wt)}return Ft});u.forEach(S=>{Yn(this.playersByQueriedElement,S.element,[]).push(S),S.onDone(()=>WY(this.playersByQueriedElement,S.element,S))}),f.forEach(S=>go(S,aO));let D=Oa(C);return D.onDestroy(()=>{f.forEach(S=>tc(S,aO)),dr(l,r.toStyles)}),v.forEach(S=>{Yn(n,S,[]).push(D)}),D}_buildPlayer(e,r,t){return r.length>0?this.driver.animate(e.element,r,e.duration,e.delay,e.easing,t):new ya(e.duration,e.delay)}},ou=class{constructor(e,r,t){this.namespaceId=e,this.triggerName=r,this.element=t,this._player=new ya,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(n=>oC(e,t,void 0,n))}),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){Yn(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 WY(i,e,r){let t=i.get(e);if(t){if(t.length){let n=t.indexOf(r);t.splice(n,1)}t.length==0&&i.delete(e)}return t}function GY(i){return i??null}function mg(i){return i&&i.nodeType===1}function qY(i){return i=="start"||i=="done"}function mO(i,e){let r=i.style.display;return i.style.display=e??"none",r}function pO(i,e,r,t,n){let o=[];r.forEach(l=>o.push(mO(l)));let a=[];t.forEach((l,u)=>{let f=new Map;l.forEach(v=>{let C=e.computeStyle(u,v,n);f.set(v,C),(!C||C.length==0)&&(u[No]=$Y,a.push(u))}),i.set(u,f)});let s=0;return r.forEach(l=>mO(l,o[s++])),a}function fO(i,e){let r=new Map;if(i.forEach(s=>r.set(s,[])),e.length==0)return r;let t=1,n=new Set(e),o=new Map;function a(s){if(!s)return t;let l=o.get(s);if(l)return l;let u=s.parentNode;return r.has(u)?l=u:n.has(u)?l=t:l=a(u),o.set(s,l),l}return e.forEach(s=>{let l=a(s);l!==t&&r.get(l).push(s)}),r}function go(i,e){i.classList?.add(e)}function tc(i,e){i.classList?.remove(e)}function YY(i,e,r){Oa(r).onDone(()=>i.processLeaveNode(e))}function QY(i){let e=[];return MO(i,e),e}function MO(i,e){for(let r=0;rn.add(o)):e.set(i,t),r.delete(i),!0}var nc=class{constructor(e,r,t){this._driver=r,this._normalizer=t,this._triggerCache={},this.onRemovalComplete=(n,o)=>{},this._transitionEngine=new tC(e.body,r,t),this._timelineEngine=new Jw(e.body,r,t),this._transitionEngine.onRemovalComplete=(n,o)=>this.onRemovalComplete(n,o)}registerTrigger(e,r,t,n,o){let a=e+"-"+n,s=this._triggerCache[a];if(!s){let l=[],u=[],f=DO(this._driver,o,l,u);if(l.length)throw Kq(n,l);u.length&&void 0,s=NY(n,f,this._normalizer),this._triggerCache[a]=s}this._transitionEngine.registerTrigger(r,n,s)}register(e,r){this._transitionEngine.register(e,r)}destroy(e,r){this._transitionEngine.destroy(e,r)}onInsert(e,r,t,n){this._transitionEngine.insertNode(e,r,t,n)}onRemove(e,r,t){this._transitionEngine.removeNode(e,r,t)}disableAnimations(e,r){this._transitionEngine.markElementAsDisabled(e,r)}process(e,r,t,n){if(t.charAt(0)=="@"){let[o,a]=oO(t),s=n;this._timelineEngine.command(o,r,a,s)}else this._transitionEngine.trigger(e,r,t,n)}listen(e,r,t,n,o){if(t.charAt(0)=="@"){let[a,s]=oO(t);return this._timelineEngine.listen(a,r,s,o)}return this._transitionEngine.listen(e,r,t,n,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 ZY(i,e){let r=null,t=null;return Array.isArray(e)&&e.length?(r=zw(e[0]),e.length>1&&(t=zw(e[e.length-1]))):e instanceof Map&&(r=zw(e)),r||t?new iC(i,r,t):null}var ic=class ic{constructor(e,r,t){this._element=e,this._startStyles=r,this._endStyles=t,this._state=0;let n=ic.initialStylesByElement.get(e);n||ic.initialStylesByElement.set(e,n=new Map),this._initialStyles=n}start(){this._state<1&&(this._startStyles&&dr(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(dr(this._element,this._initialStyles),this._endStyles&&(dr(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(ic.initialStylesByElement.delete(this._element),this._startStyles&&(Ss(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Ss(this._element,this._endStyles),this._endStyles=null),dr(this._element,this._initialStyles),this._state=3)}};ic.initialStylesByElement=new WeakMap;var iC=ic;function zw(i){let e=null;return i.forEach((r,t)=>{XY(t)&&(e=e||new Map,e.set(t,r))}),e}function XY(i){return i==="display"||i==="position"}var Cg=class{constructor(e,r,t,n){this.element=e,this.keyframes=r,this.options=t,this._specialStyles=n,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(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((t,n)=>{n!=="offset"&&e.set(n,this._finished?t:cC(this.element,n))}),this.currentSnapshot=e}triggerCallback(e){let r=e==="start"?this._onStartFns:this._onDoneFns;r.forEach(t=>t()),r.length=0}},xg=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,r){return vO(e,r)}getParentElement(e){return aC(e)}query(e,r,t){return bO(e,r,t)}computeStyle(e,r,t){return cC(e,r)}animate(e,r,t,n,o,a=[]){let s=n==0?"both":"forwards",l={duration:t,delay:n,fill:s};o&&(l.easing=o);let u=new Map,f=a.filter(D=>D instanceof Cg);vY(t,n)&&f.forEach(D=>{D.currentSnapshot.forEach((S,P)=>u.set(P,S))});let v=fY(r).map(D=>new Map(D));v=bY(e,v,u);let C=ZY(e,v);return new Cg(e,v,l,C)}};var pg="@",TO="@.disabled",Dg=class{constructor(e,r,t,n){this.namespaceId=e,this.delegate=r,this.engine=t,this._onDestroy=n,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(e){this.delegate.destroyNode?.(e)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(e,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,n=!0){this.delegate.insertBefore(e,r,t),this.engine.onInsert(this.namespaceId,r,e,n)}removeChild(e,r,t){this.parentNode(r)&&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,n){this.delegate.setAttribute(e,r,t,n)}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,n){this.delegate.setStyle(e,r,t,n)}removeStyle(e,r,t){this.delegate.removeStyle(e,r,t)}setProperty(e,r,t){r.charAt(0)==pg&&r==TO?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)}},nC=class extends Dg{constructor(e,r,t,n,o){super(r,t,n,o),this.factory=e,this.namespaceId=r}setProperty(e,r,t){r.charAt(0)==pg?r.charAt(1)=="."&&r==TO?(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)==pg){let n=JY(e),o=r.slice(1),a="";return o.charAt(0)!=pg&&([o,a]=eQ(o)),this.engine.listen(this.namespaceId,n,o,a,s=>{let l=s._data||-1;this.factory.scheduleListenerCallback(l,t,s)})}return this.delegate.listen(e,r,t)}};function JY(i){switch(i){case"body":return document.body;case"document":return document;case"window":return window;default:return i}}function eQ(i){let e=i.indexOf("."),r=i.substring(0,e),t=i.slice(e+1);return[r,t]}var Sg=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=(n,o)=>{o?.removeChild(null,n)}}createRenderer(e,r){let t="",n=this.delegate.createRenderer(e,r);if(!e||!r?.data?.animation){let u=this._rendererCache,f=u.get(n);if(!f){let v=()=>u.delete(n);f=new Dg(t,n,this.engine,v),u.set(n,f)}return f}let o=r.id,a=r.id+"-"+this._currentId;this._currentId++,this.engine.register(a,e);let s=u=>{Array.isArray(u)?u.forEach(s):this.engine.registerTrigger(o,a,e,u.name,u)};return r.data.animation.forEach(s),new nC(this,a,n,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 n=this._animationCallbacksBuffer;n.length==0&&queueMicrotask(()=>{this._zone.run(()=>{n.forEach(o=>{let[a,s]=o;a(s)}),this._animationCallbacksBuffer=[]})}),n.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 iQ=(()=>{let e=class e extends nc{constructor(t,n,o){super(t,n,o)}ngOnDestroy(){this.flush()}};e.\u0275fac=function(n){return new(n||e)(M(se),M(Es),M(Is))},e.\u0275prov=V({token:e,factory:e.\u0275fac});let i=e;return i})();function nQ(){return new _g}function oQ(i,e,r){return new Sg(i,e,r)}var AO=[{provide:Is,useFactory:nQ},{provide:nc,useClass:iQ},{provide:na,useFactory:oQ,deps:[Im,nc,Z]}],kO=[{provide:Es,useFactory:()=>new xg},{provide:kt,useValue:"BrowserAnimations"},...AO],rQ=[{provide:Es,useClass:sC},{provide:kt,useValue:"NoopAnimations"},...AO],OO=(()=>{let e=class e{static withConfig(t){return{ngModule:e,providers:t.disableAnimations?rQ:kO}}};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=te({type:e}),e.\u0275inj=ee({providers:kO,imports:[Tm]});let i=e;return i})();var aQ=["button"],sQ=["*"];function lQ(i,e){if(i&1&&I(0,"mat-pseudo-checkbox",3),i&2){let r=_();p("disabled",r.disabled)}}function cQ(i,e){if(i&1&&I(0,"mat-pseudo-checkbox",3),i&2){let r=_();p("disabled",r.disabled)}}var dQ=new R("MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS",{providedIn:"root",factory:uQ});function uQ(){return{hideSingleSelectionIndicator:!1,hideMultipleSelectionIndicator:!1,disabledInteractive:!1}}var hQ=new R("MatButtonToggleGroup");var mQ=0,hC=class{constructor(e,r){this.source=e,this.value=r}};var pQ=(()=>{let e=class e{get buttonId(){return`${this.id}-button`}get tabIndex(){return this._tabIndex}set tabIndex(t){this._tabIndex=t,this._markForCheck()}get appearance(){return this.buttonToggleGroup?this.buttonToggleGroup.appearance:this._appearance}set appearance(t){this._appearance=t}get checked(){return this.buttonToggleGroup?this.buttonToggleGroup._isSelected(this):this._checked}set checked(t){t!==this._checked&&(this._checked=t,this.buttonToggleGroup&&this.buttonToggleGroup._syncButtonToggle(this,this._checked),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled||this.buttonToggleGroup&&this.buttonToggleGroup.disabled}set disabled(t){this._disabled=t}get disabledInteractive(){return this._disabledInteractive||this.buttonToggleGroup!==null&&this.buttonToggleGroup.disabledInteractive}set disabledInteractive(t){this._disabledInteractive=t}constructor(t,n,o,a,s,l){this._changeDetectorRef=n,this._elementRef=o,this._focusMonitor=a,this._checked=!1,this.ariaLabelledby=null,this._disabled=!1,this.change=new T;let u=Number(s);this.tabIndex=u||u===0?u:null,this.buttonToggleGroup=t,this.appearance=l&&l.appearance?l.appearance:"standard",this.disabledInteractive=l?.disabledInteractive??!1}ngOnInit(){let t=this.buttonToggleGroup;this.id=this.id||`mat-button-toggle-${mQ++}`,t&&(t._isPrechecked(this)?this.checked=!0:t._isSelected(this)!==this._checked&&t._syncButtonToggle(this,this._checked))}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){let t=this.buttonToggleGroup;this._focusMonitor.stopMonitoring(this._elementRef),t&&t._isSelected(this)&&t._syncButtonToggle(this,!1,!1,!0)}focus(t){this._buttonElement.nativeElement.focus(t)}_onButtonClick(){if(this.disabled)return;let t=this.isSingleSelector()?!0:!this._checked;if(t!==this._checked&&(this._checked=t,this.buttonToggleGroup&&(this.buttonToggleGroup._syncButtonToggle(this,this._checked,!0),this.buttonToggleGroup._onTouched())),this.isSingleSelector()){let n=this.buttonToggleGroup._buttonToggles.find(o=>o.tabIndex===0);n&&(n.tabIndex=-1),this.tabIndex=0}this.change.emit(new hC(this,this.value))}_markForCheck(){this._changeDetectorRef.markForCheck()}_getButtonName(){return this.isSingleSelector()?this.buttonToggleGroup.name:this.name||null}isSingleSelector(){return this.buttonToggleGroup&&!this.buttonToggleGroup.multiple}};e.\u0275fac=function(n){return new(n||e)(m(hQ,8),m(he),m(q),m(Di),vi("tabindex"),m(dQ,8))},e.\u0275cmp=E({type:e,selectors:[["mat-button-toggle"]],viewQuery:function(n,o){if(n&1&&ce(aQ,5),n&2){let a;Q(a=K())&&(o._buttonElement=a.first)}},hostAttrs:["role","presentation",1,"mat-button-toggle"],hostVars:14,hostBindings:function(n,o){n&1&&b("focus",function(){return o.focus()}),n&2&&(ie("aria-label",null)("aria-labelledby",null)("id",o.id)("name",null),ne("mat-button-toggle-standalone",!o.buttonToggleGroup)("mat-button-toggle-checked",o.checked)("mat-button-toggle-disabled",o.disabled)("mat-button-toggle-disabled-interactive",o.disabledInteractive)("mat-button-toggle-appearance-standard",o.appearance==="standard"))},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],id:"id",name:"name",value:"value",tabIndex:"tabIndex",disableRipple:[2,"disableRipple","disableRipple",Y],appearance:"appearance",checked:[2,"checked","checked",Y],disabled:[2,"disabled","disabled",Y],disabledInteractive:[2,"disabledInteractive","disabledInteractive",Y]},outputs:{change:"change"},exportAs:["matButtonToggle"],standalone:!0,features:[ge,re],ngContentSelectors:sQ,decls:8,vars:14,consts:[["button",""],["type","button",1,"mat-button-toggle-button","mat-focus-indicator",3,"click","id","disabled"],[1,"mat-button-toggle-label-content"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"mat-button-toggle-focus-overlay"],["matRipple","",1,"mat-button-toggle-ripple",3,"matRippleTrigger","matRippleDisabled"]],template:function(n,o){if(n&1){let a=A();He(),c(0,"button",1,0),b("click",function(){return y(a),w(o._onButtonClick())}),c(2,"span",2),x(3,lQ,1,1,"mat-pseudo-checkbox",3)(4,cQ,1,1,"mat-pseudo-checkbox",3),ae(5),d()(),I(6,"span",4)(7,"span",5)}if(n&2){let a=we(1);p("id",o.buttonId)("disabled",o.disabled&&!o.disabledInteractive||null),ie("role",o.isSingleSelector()?"radio":"button")("tabindex",o.disabled&&!o.disabledInteractive?-1:o.tabIndex)("aria-pressed",o.isSingleSelector()?null:o.checked)("aria-checked",o.isSingleSelector()?o.checked:null)("name",o._getButtonName())("aria-label",o.ariaLabel)("aria-labelledby",o.ariaLabelledby)("aria-disabled",o.disabled&&o.disabledInteractive?"true":null),h(3),De(o.buttonToggleGroup&&o.checked&&!o.buttonToggleGroup.multiple&&!o.buttonToggleGroup.hideSingleSelectionIndicator?3:-1),h(),De(o.buttonToggleGroup&&o.checked&&o.buttonToggleGroup.multiple&&!o.buttonToggleGroup.hideMultipleSelectionIndicator?4:-1),h(3),p("matRippleTrigger",a)("matRippleDisabled",o.disableRipple||o.disabled)}},dependencies:[Tn,dy],styles:[".mat-button-toggle-standalone,.mat-button-toggle-group{position:relative;display:inline-flex;flex-direction:row;white-space:nowrap;overflow:hidden;-webkit-tap-highlight-color:rgba(0,0,0,0);transform:translateZ(0);border-radius:var(--mat-legacy-button-toggle-shape)}.mat-button-toggle-standalone:not([class*=mat-elevation-z]),.mat-button-toggle-group: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)}.cdk-high-contrast-active .mat-button-toggle-standalone,.cdk-high-contrast-active .mat-button-toggle-group{outline:solid 1px}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{border-radius:var(--mat-standard-button-toggle-shape, var(--mat-app-corner-full));border:solid 1px var(--mat-standard-button-toggle-divider-color, var(--mat-app-outline))}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard .mat-pseudo-checkbox,.mat-button-toggle-group-appearance-standard .mat-pseudo-checkbox{--mat-minimal-pseudo-checkbox-selected-checkmark-color: var(--mat-standard-button-toggle-selected-state-text-color, var(--mat-app-on-secondary-container))}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard:not([class*=mat-elevation-z]),.mat-button-toggle-group-appearance-standard:not([class*=mat-elevation-z]){box-shadow:none}.cdk-high-contrast-active .mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.cdk-high-contrast-active .mat-button-toggle-group-appearance-standard{outline:0}.mat-button-toggle-vertical{flex-direction:column}.mat-button-toggle-vertical .mat-button-toggle-label-content{display:block}.mat-button-toggle{white-space:nowrap;position:relative;color:var(--mat-legacy-button-toggle-text-color);font-family:var(--mat-legacy-button-toggle-label-text-font);font-size:var(--mat-legacy-button-toggle-label-text-size);line-height:var(--mat-legacy-button-toggle-label-text-line-height);font-weight:var(--mat-legacy-button-toggle-label-text-weight);letter-spacing:var(--mat-legacy-button-toggle-label-text-tracking);--mat-minimal-pseudo-checkbox-selected-checkmark-color: var(--mat-legacy-button-toggle-selected-state-text-color)}.mat-button-toggle.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:var(--mat-legacy-button-toggle-focus-state-layer-opacity)}.mat-button-toggle .mat-icon svg{vertical-align:top}.mat-button-toggle .mat-pseudo-checkbox{margin-right:12px}[dir=rtl] .mat-button-toggle .mat-pseudo-checkbox{margin-right:0;margin-left:12px}.mat-button-toggle-checked{color:var(--mat-legacy-button-toggle-selected-state-text-color);background-color:var(--mat-legacy-button-toggle-selected-state-background-color)}.mat-button-toggle-disabled{pointer-events:none;color:var(--mat-legacy-button-toggle-disabled-state-text-color);background-color:var(--mat-legacy-button-toggle-disabled-state-background-color);--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: var(--mat-legacy-button-toggle-disabled-state-text-color)}.mat-button-toggle-disabled.mat-button-toggle-checked{background-color:var(--mat-legacy-button-toggle-disabled-selected-state-background-color)}.mat-button-toggle-disabled-interactive{pointer-events:auto}.mat-button-toggle-appearance-standard{color:var(--mat-standard-button-toggle-text-color, var(--mat-app-on-surface));background-color:var(--mat-standard-button-toggle-background-color);font-family:var(--mat-standard-button-toggle-label-text-font, var(--mat-app-label-large-font));font-size:var(--mat-standard-button-toggle-label-text-size, var(--mat-app-label-large-size));line-height:var(--mat-standard-button-toggle-label-text-line-height, var(--mat-app-label-large-line-height));font-weight:var(--mat-standard-button-toggle-label-text-weight, var(--mat-app-label-large-weight));letter-spacing:var(--mat-standard-button-toggle-label-text-tracking, var(--mat-app-label-large-tracking))}.mat-button-toggle-group-appearance-standard .mat-button-toggle-appearance-standard+.mat-button-toggle-appearance-standard{border-left:solid 1px var(--mat-standard-button-toggle-divider-color, var(--mat-app-outline))}[dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle-appearance-standard+.mat-button-toggle-appearance-standard{border-left:none;border-right:solid 1px var(--mat-standard-button-toggle-divider-color, var(--mat-app-outline))}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle-appearance-standard+.mat-button-toggle-appearance-standard{border-left:none;border-right:none;border-top:solid 1px var(--mat-standard-button-toggle-divider-color, var(--mat-app-outline))}.mat-button-toggle-appearance-standard.mat-button-toggle-checked{color:var(--mat-standard-button-toggle-selected-state-text-color, var(--mat-app-on-secondary-container));background-color:var(--mat-standard-button-toggle-selected-state-background-color, var(--mat-app-secondary-container))}.mat-button-toggle-appearance-standard.mat-button-toggle-disabled{color:var(--mat-standard-button-toggle-disabled-state-text-color);background-color:var(--mat-standard-button-toggle-disabled-state-background-color)}.mat-button-toggle-appearance-standard.mat-button-toggle-disabled .mat-pseudo-checkbox{--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: var(--mat-standard-button-toggle-disabled-selected-state-text-color)}.mat-button-toggle-appearance-standard.mat-button-toggle-disabled.mat-button-toggle-checked{color:var(--mat-standard-button-toggle-disabled-selected-state-text-color);background-color:var(--mat-standard-button-toggle-disabled-selected-state-background-color)}.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:var(--mat-standard-button-toggle-state-layer-color, var(--mat-app-on-surface))}.mat-button-toggle-appearance-standard:hover .mat-button-toggle-focus-overlay{opacity:var(--mat-standard-button-toggle-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-button-toggle-appearance-standard.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:var(--mat-standard-button-toggle-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}@media(hover: none){.mat-button-toggle-appearance-standard:hover .mat-button-toggle-focus-overlay{display:none}}.mat-button-toggle-label-content{-webkit-user-select:none;user-select:none;display:inline-block;padding:0 16px;line-height:var(--mat-legacy-button-toggle-height);position:relative}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{padding:0 12px;line-height:var(--mat-standard-button-toggle-height)}.mat-button-toggle-label-content>*{vertical-align:middle}.mat-button-toggle-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;pointer-events:none;opacity:0;background-color:var(--mat-legacy-button-toggle-state-layer-color)}.cdk-high-contrast-active .mat-button-toggle-checked .mat-button-toggle-focus-overlay{border-bottom:solid 500px;opacity:.5;height:0}.cdk-high-contrast-active .mat-button-toggle-checked:hover .mat-button-toggle-focus-overlay{opacity:.6}.cdk-high-contrast-active .mat-button-toggle-checked.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{border-bottom:solid 500px}.mat-button-toggle .mat-button-toggle-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-button-toggle-button{border:0;background:none;color:inherit;padding:0;margin:0;font:inherit;outline:none;width:100%;cursor:pointer}.mat-button-toggle-disabled .mat-button-toggle-button{cursor:default}.mat-button-toggle-button::-moz-focus-inner{border:0}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard{--mat-focus-indicator-border-radius:var(--mat-standard-button-toggle-shape, var(--mat-app-corner-full))}.mat-button-toggle-group-appearance-standard .mat-button-toggle:last-of-type .mat-button-toggle-button::before{border-top-right-radius:var(--mat-standard-button-toggle-shape, var(--mat-app-corner-full));border-bottom-right-radius:var(--mat-standard-button-toggle-shape, var(--mat-app-corner-full))}.mat-button-toggle-group-appearance-standard .mat-button-toggle:first-of-type .mat-button-toggle-button::before{border-top-left-radius:var(--mat-standard-button-toggle-shape, var(--mat-app-corner-full));border-bottom-left-radius:var(--mat-standard-button-toggle-shape, var(--mat-app-corner-full))}"],encapsulation:2,changeDetection:0});let i=e;return i})(),RO=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=te({type:e}),e.\u0275inj=ee({imports:[pe,Lr,pQ,pe]});let i=e;return i})();var gQ=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],_Q=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function vQ(i,e){i&1&&(c(0,"span",3),ae(1,1),d())}function bQ(i,e){i&1&&(c(0,"span",6),ae(1,2),d())}var yQ='.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{flex-basis:100%;overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit;overflow-x:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-outline-width);border-radius:var(--mdc-chip-container-shape-radius);box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1;border-style:solid}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-outline-color, var(--mat-app-outline))}.mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus::before{border-color:var(--mdc-chip-focus-outline-color, var(--mat-app-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-disabled-outline-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-flat-selected-outline-width)}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color, var(--mat-app-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color, var(--mat-app-on-surface))}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip__text-label{-webkit-user-select:none;user-select:none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font, var(--mat-app-label-large-font));line-height:var(--mdc-chip-label-text-line-height, var(--mat-app-label-large-line-height));font-size:var(--mdc-chip-label-text-size, var(--mat-app-label-large-size));font-weight:var(--mdc-chip-label-text-weight, var(--mat-app-label-large-weight));letter-spacing:var(--mdc-chip-label-text-tracking, var(--mat-app-label-large-tracking))}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color, var(--mat-app-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-selected-label-text-color, var(--mat-app-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label,.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{width:var(--mdc-chip-with-avatar-avatar-size);height:var(--mdc-chip-with-avatar-avatar-size);font-size:var(--mdc-chip-with-avatar-avatar-size)}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%;height:20px;width:20px}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, var(--mat-app-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color, var(--mat-app-on-surface))}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.cdk-high-contrast-active .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove{opacity:calc(var(--mat-chip-trailing-action-opacity)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity))}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus{opacity:calc(var(--mat-chip-trailing-action-focus-opacity)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity))}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius);height:var(--mdc-chip-container-height)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-selected-container-color, var(--mat-app-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-flat-disabled-selected-container-color)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius);width:var(--mdc-chip-with-icon-icon-size);height:var(--mdc-chip-with-icon-icon-size);font-size:var(--mdc-chip-with-icon-icon-size)}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color, var(--mat-app-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color, var(--mat-app-on-surface))}.mat-mdc-chip-highlighted{--mdc-chip-with-icon-icon-color:var(--mdc-chip-with-icon-selected-icon-color, var(--mat-app-on-secondary-container));--mdc-chip-elevated-container-color:var(--mdc-chip-elevated-selected-container-color, var(--mat-app-secondary-container));--mdc-chip-label-text-color:var(--mdc-chip-selected-label-text-color, var(--mat-app-on-secondary-container));--mdc-chip-outline-width:var(--mdc-chip-flat-selected-outline-width)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color, var(--mat-app-on-secondary-container))}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-hover-state-layer-color, var(--mat-app-on-surface-variant));opacity:var(--mdc-chip-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-chip-focus-overlay .mat-mdc-chip-selected:hover,.mat-mdc-chip-highlighted:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-hover-state-layer-color, var(--mat-app-on-secondary-container));opacity:var(--mdc-chip-selected-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color, var(--mat-app-on-surface-variant));opacity:var(--mdc-chip-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color, var(--mat-app-on-secondary-container));opacity:var(--mdc-chip-selected-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mdc-evolution-chip--disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar{opacity:var(--mdc-chip-with-avatar-disabled-avatar-opacity)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{opacity:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity)}.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{opacity:var(--mdc-chip-with-icon-disabled-icon-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:var(--mat-chip-disabled-container-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-trailing-icon-color, var(--mat-app-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-disabled-trailing-icon-color, var(--mat-app-on-surface))}.mat-mdc-chip-remove{opacity:var(--mat-chip-trailing-action-opacity)}.mat-mdc-chip-remove:focus{opacity:var(--mat-chip-trailing-action-focus-opacity)}.mat-mdc-chip-remove::after{background-color:var(--mat-chip-trailing-action-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-chip-remove:hover::after{opacity:var(--mat-chip-trailing-action-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-chip-remove:focus::after{opacity:var(--mat-chip-trailing-action-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-chip-selected .mat-mdc-chip-remove::after,.mat-mdc-chip-highlighted .mat-mdc-chip-remove::after{background-color:var(--mat-chip-selected-trailing-action-state-layer-color, var(--mat-app-on-secondary-container))}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px)*-1);left:8px;right:8px}.mat-mdc-chip-remove::after{content:"";display:block;opacity:0;position:absolute;top:-3px;bottom:-3px;left:5px;right:5px;border-radius:50%;box-sizing:border-box;padding:12px;margin:-12px;background-clip:content-box}.mat-mdc-chip-remove .mat-icon{width:18px;height:18px;font-size:18px;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}',wQ=[[["mat-chip-avatar"],["","matChipAvatar",""]],[["","matChipEditInput",""]],"*",[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],CQ=["mat-chip-avatar, [matChipAvatar]","[matChipEditInput]","*","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function xQ(i,e){i&1&&I(0,"span",0)}function DQ(i,e){i&1&&(c(0,"span",2),ae(1),d())}function SQ(i,e){i&1&&ae(0,1)}function EQ(i,e){i&1&&I(0,"span",7)}function IQ(i,e){if(i&1&&x(0,SQ,1,0)(1,EQ,1,0,"span",7),i&2){let r=_();De(r.contentEditInput?0:1)}}function MQ(i,e){i&1&&ae(0,2)}function TQ(i,e){i&1&&(c(0,"span",5),ae(1,3),d())}var NO=["*"],kQ=".mat-mdc-chip-set{display:flex}.mat-mdc-chip-set:focus{outline:none}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%;margin-left:-8px;margin-right:0}.mat-mdc-chip-set .mdc-evolution-chip{margin:4px 0 4px 8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip-set__chips{margin-left:0;margin-right:-8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip{margin-left:0;margin-right:8px}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}",LO=new R("mat-chips-default-options",{providedIn:"root",factory:()=>({separatorKeyCodes:[13]})}),PO=new R("MatChipAvatar"),FO=new R("MatChipTrailingIcon"),pC=new R("MatChipRemove"),_C=new R("MatChip"),Eg=(()=>{let e=class e{get disabled(){return this._disabled||this._parentChip.disabled}set disabled(t){this._disabled=t}_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}constructor(t,n){this._elementRef=t,this._parentChip=n,this.isInteractive=!0,this._isPrimary=!0,this._disabled=!1,this.tabIndex=-1,this._allowFocusWhenDisabled=!1,t.nativeElement.nodeName==="BUTTON"&&t.nativeElement.setAttribute("type","button")}focus(){this._elementRef.nativeElement.focus()}_handleClick(t){!this.disabled&&this.isInteractive&&this._isPrimary&&(t.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(t){(t.keyCode===13||t.keyCode===32)&&!this.disabled&&this.isInteractive&&this._isPrimary&&!this._parentChip._isEditing&&(t.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}};e.\u0275fac=function(n){return new(n||e)(m(q),m(_C))},e.\u0275dir=L({type:e,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(n,o){n&1&&b("click",function(s){return o._handleClick(s)})("keydown",function(s){return o._handleKeydown(s)}),n&2&&(ie("tabindex",o._getTabindex())("disabled",o._getDisabledAttribute())("aria-disabled",o.disabled),ne("mdc-evolution-chip__action--primary",o._isPrimary)("mdc-evolution-chip__action--presentational",!o.isInteractive)("mdc-evolution-chip__action--trailing",!o._isPrimary))},inputs:{isInteractive:"isInteractive",disabled:[2,"disabled","disabled",Y],tabIndex:[2,"tabIndex","tabIndex",t=>t==null?-1:ni(t)],_allowFocusWhenDisabled:"_allowFocusWhenDisabled"},standalone:!0,features:[ge]});let i=e;return i})();var VO=(()=>{let e=class e extends Eg{constructor(){super(...arguments),this._isPrimary=!1}_handleClick(t){this.disabled||(t.stopPropagation(),t.preventDefault(),this._parentChip.remove())}_handleKeydown(t){(t.keyCode===13||t.keyCode===32)&&!this.disabled&&(t.stopPropagation(),t.preventDefault(),this._parentChip.remove())}};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=jt(e)))(o||e)}})(),e.\u0275dir=L({type:e,selectors:[["","matChipRemove",""]],hostAttrs:["role","button",1,"mat-mdc-chip-remove","mat-mdc-chip-trailing-icon","mat-mdc-focus-indicator","mdc-evolution-chip__icon","mdc-evolution-chip__icon--trailing"],hostVars:1,hostBindings:function(n,o){n&2&&ie("aria-hidden",null)},standalone:!0,features:[Ce([{provide:pC,useExisting:e}]),be]});let i=e;return i})(),AQ=0,fC=(()=>{let e=class e{_hasFocus(){return this._hasFocusInternal}get value(){return this._value!==void 0?this._value:this._textElement.textContent.trim()}set value(t){this._value=t}get disabled(){return this._disabled||this._chipListDisabled}set disabled(t){this._disabled=t}get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(t){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,t)}constructor(t,n,o,a,s,l,u){this._changeDetectorRef=t,this._elementRef=n,this._ngZone=o,this._focusMonitor=a,this._globalRippleOptions=u,this._onFocus=new G,this._onBlur=new G,this.role=null,this._hasFocusInternal=!1,this.id=`mat-mdc-chip-${AQ++}`,this.ariaLabel=null,this.ariaDescription=null,this._ariaDescriptionId=`${this.id}-aria-description`,this._chipListDisabled=!1,this.removable=!0,this.highlighted=!1,this.disableRipple=!1,this._disabled=!1,this.removed=new T,this.destroyed=new T,this.basicChipAttrName="mat-basic-chip",this._rippleLoader=k(gp),this._injector=k(Pe),this._document=s,this._animationsDisabled=l==="NoopAnimations",this._monitorFocus(),this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-chip-ripple",disabled:this._isRippleDisabled()})}ngOnInit(){let t=this._elementRef.nativeElement;this._isBasicChip=t.hasAttribute(this.basicChipAttrName)||t.tagName.toLowerCase()===this.basicChipAttrName}ngAfterViewInit(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label"),this._pendingFocus&&(this._pendingFocus=!1,this.focus())}ngAfterContentInit(){this._actionChanges=wt(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allRemoveIcons.changes).subscribe(()=>this._changeDetectorRef.markForCheck())}ngDoCheck(){this._rippleLoader.setDisabled(this._elementRef.nativeElement,this._isRippleDisabled())}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement),this._actionChanges?.unsubscribe(),this.destroyed.emit({chip:this}),this.destroyed.complete()}remove(){this.removable&&this.removed.emit({chip:this})}_isRippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!!this._globalRippleOptions?.disabled}_hasTrailingIcon(){return!!(this.trailingIcon||this.removeIcon)}_handleKeydown(t){(t.keyCode===8&&!t.repeat||t.keyCode===46)&&(t.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(t){return this._getActions().find(n=>{let o=n._elementRef.nativeElement;return o===t||o.contains(t)})}_getActions(){let t=[];return this.primaryAction&&t.push(this.primaryAction),this.removeIcon&&t.push(this.removeIcon),this.trailingIcon&&t.push(this.trailingIcon),t}_handlePrimaryActionInteraction(){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{let n=t!==null;n!==this._hasFocusInternal&&(this._hasFocusInternal=n,n?this._onFocus.next({chip:this}):ai(()=>this._ngZone.run(()=>this._onBlur.next({chip:this})),{injector:this._injector}))})}};e.\u0275fac=function(n){return new(n||e)(m(he),m(q),m(Z),m(Di),m(se),m(kt,8),m(Vl,8))},e.\u0275cmp=E({type:e,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(n,o,a){if(n&1&&(Be(a,PO,5),Be(a,FO,5),Be(a,pC,5),Be(a,PO,5),Be(a,FO,5),Be(a,pC,5)),n&2){let s;Q(s=K())&&(o.leadingIcon=s.first),Q(s=K())&&(o.trailingIcon=s.first),Q(s=K())&&(o.removeIcon=s.first),Q(s=K())&&(o._allLeadingIcons=s),Q(s=K())&&(o._allTrailingIcons=s),Q(s=K())&&(o._allRemoveIcons=s)}},viewQuery:function(n,o){if(n&1&&ce(Eg,5),n&2){let a;Q(a=K())&&(o.primaryAction=a.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:31,hostBindings:function(n,o){n&1&&b("keydown",function(s){return o._handleKeydown(s)}),n&2&&(Si("id",o.id),ie("role",o.role)("aria-label",o.ariaLabel),Yt("mat-"+(o.color||"primary")),ne("mdc-evolution-chip",!o._isBasicChip)("mdc-evolution-chip--disabled",o.disabled)("mdc-evolution-chip--with-trailing-action",o._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",o.leadingIcon)("mdc-evolution-chip--with-primary-icon",o.leadingIcon)("mdc-evolution-chip--with-avatar",o.leadingIcon)("mat-mdc-chip-with-avatar",o.leadingIcon)("mat-mdc-chip-highlighted",o.highlighted)("mat-mdc-chip-disabled",o.disabled)("mat-mdc-basic-chip",o._isBasicChip)("mat-mdc-standard-chip",!o._isBasicChip)("mat-mdc-chip-with-trailing-icon",o._hasTrailingIcon())("_mat-animation-noopable",o._animationsDisabled))},inputs:{role:"role",id:"id",ariaLabel:[0,"aria-label","ariaLabel"],ariaDescription:[0,"aria-description","ariaDescription"],value:"value",color:"color",removable:[2,"removable","removable",Y],highlighted:[2,"highlighted","highlighted",Y],disableRipple:[2,"disableRipple","disableRipple",Y],disabled:[2,"disabled","disabled",Y]},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],standalone:!0,features:[Ce([{provide:_C,useExisting:e}]),ge,re],ngContentSelectors:_Q,decls:8,vars:3,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"isInteractive"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(n,o){n&1&&(He(gQ),I(0,"span",0),c(1,"span",1)(2,"span",2),x(3,vQ,2,0,"span",3),c(4,"span",4),ae(5),I(6,"span",5),d()()(),x(7,bQ,2,0,"span",6)),n&2&&(h(2),p("isInteractive",!1),h(),De(o.leadingIcon?3:-1),h(4),De(o._hasTrailingIcon()?7:-1))},dependencies:[Eg],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{flex-basis:100%;overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit;overflow-x:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-outline-width);border-radius:var(--mdc-chip-container-shape-radius);box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1;border-style:solid}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-outline-color, var(--mat-app-outline))}.mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus::before{border-color:var(--mdc-chip-focus-outline-color, var(--mat-app-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-disabled-outline-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-flat-selected-outline-width)}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color, var(--mat-app-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color, var(--mat-app-on-surface))}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip__text-label{-webkit-user-select:none;user-select:none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font, var(--mat-app-label-large-font));line-height:var(--mdc-chip-label-text-line-height, var(--mat-app-label-large-line-height));font-size:var(--mdc-chip-label-text-size, var(--mat-app-label-large-size));font-weight:var(--mdc-chip-label-text-weight, var(--mat-app-label-large-weight));letter-spacing:var(--mdc-chip-label-text-tracking, var(--mat-app-label-large-tracking))}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color, var(--mat-app-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-selected-label-text-color, var(--mat-app-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label,.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{width:var(--mdc-chip-with-avatar-avatar-size);height:var(--mdc-chip-with-avatar-avatar-size);font-size:var(--mdc-chip-with-avatar-avatar-size)}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%;height:20px;width:20px}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, var(--mat-app-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color, var(--mat-app-on-surface))}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.cdk-high-contrast-active .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove{opacity:calc(var(--mat-chip-trailing-action-opacity)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity))}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus{opacity:calc(var(--mat-chip-trailing-action-focus-opacity)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity))}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius);height:var(--mdc-chip-container-height)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-selected-container-color, var(--mat-app-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-flat-disabled-selected-container-color)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius);width:var(--mdc-chip-with-icon-icon-size);height:var(--mdc-chip-with-icon-icon-size);font-size:var(--mdc-chip-with-icon-icon-size)}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color, var(--mat-app-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color, var(--mat-app-on-surface))}.mat-mdc-chip-highlighted{--mdc-chip-with-icon-icon-color:var(--mdc-chip-with-icon-selected-icon-color, var(--mat-app-on-secondary-container));--mdc-chip-elevated-container-color:var(--mdc-chip-elevated-selected-container-color, var(--mat-app-secondary-container));--mdc-chip-label-text-color:var(--mdc-chip-selected-label-text-color, var(--mat-app-on-secondary-container));--mdc-chip-outline-width:var(--mdc-chip-flat-selected-outline-width)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color, var(--mat-app-on-secondary-container))}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-hover-state-layer-color, var(--mat-app-on-surface-variant));opacity:var(--mdc-chip-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-chip-focus-overlay .mat-mdc-chip-selected:hover,.mat-mdc-chip-highlighted:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-hover-state-layer-color, var(--mat-app-on-secondary-container));opacity:var(--mdc-chip-selected-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color, var(--mat-app-on-surface-variant));opacity:var(--mdc-chip-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color, var(--mat-app-on-secondary-container));opacity:var(--mdc-chip-selected-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mdc-evolution-chip--disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar{opacity:var(--mdc-chip-with-avatar-disabled-avatar-opacity)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{opacity:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity)}.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{opacity:var(--mdc-chip-with-icon-disabled-icon-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:var(--mat-chip-disabled-container-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-trailing-icon-color, var(--mat-app-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-disabled-trailing-icon-color, var(--mat-app-on-surface))}.mat-mdc-chip-remove{opacity:var(--mat-chip-trailing-action-opacity)}.mat-mdc-chip-remove:focus{opacity:var(--mat-chip-trailing-action-focus-opacity)}.mat-mdc-chip-remove::after{background-color:var(--mat-chip-trailing-action-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-chip-remove:hover::after{opacity:var(--mat-chip-trailing-action-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-chip-remove:focus::after{opacity:var(--mat-chip-trailing-action-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-chip-selected .mat-mdc-chip-remove::after,.mat-mdc-chip-highlighted .mat-mdc-chip-remove::after{background-color:var(--mat-chip-selected-trailing-action-state-layer-color, var(--mat-app-on-secondary-container))}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px)*-1);left:8px;right:8px}.mat-mdc-chip-remove::after{content:"";display:block;opacity:0;position:absolute;top:-3px;bottom:-3px;left:5px;right:5px;border-radius:50%;box-sizing:border-box;padding:12px;margin:-12px;background-clip:content-box}.mat-mdc-chip-remove .mat-icon{width:18px;height:18px;font-size:18px;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0});let i=e;return i})();var mC=(()=>{let e=class e{constructor(t,n){this._elementRef=t,this._document=n}initialize(t){this.getNativeElement().focus(),this.setValue(t)}getNativeElement(){return this._elementRef.nativeElement}setValue(t){this.getNativeElement().textContent=t,this._moveCursorToEndOfInput()}getValue(){return this.getNativeElement().textContent||""}_moveCursorToEndOfInput(){let t=this._document.createRange();t.selectNodeContents(this.getNativeElement()),t.collapse(!1);let n=window.getSelection();n.removeAllRanges(),n.addRange(t)}};e.\u0275fac=function(n){return new(n||e)(m(q),m(se))},e.\u0275dir=L({type:e,selectors:[["span","matChipEditInput",""]],hostAttrs:["role","textbox","tabindex","-1","contenteditable","true",1,"mat-chip-edit-input"],standalone:!0});let i=e;return i})(),vC=(()=>{let e=class e extends fC{constructor(t,n,o,a,s,l,u,f){super(t,n,o,a,s,l,u),this.basicChipAttrName="mat-basic-chip-row",this._editStartPending=!1,this.editable=!1,this.edited=new T,this._isEditing=!1,this.role="row",this._onBlur.pipe(fe(this.destroyed)).subscribe(()=>{this._isEditing&&!this._editStartPending&&this._onEditFinish()})}_hasTrailingIcon(){return!this._isEditing&&super._hasTrailingIcon()}_handleFocus(){!this._isEditing&&!this.disabled&&this.focus()}_handleKeydown(t){t.keyCode===13&&!this.disabled?this._isEditing?(t.preventDefault(),this._onEditFinish()):this.editable&&this._startEditing(t):this._isEditing?t.stopPropagation():super._handleKeydown(t)}_handleDoubleclick(t){!this.disabled&&this.editable&&this._startEditing(t)}_startEditing(t){if(!this.primaryAction||this.removeIcon&&this._getSourceAction(t.target)===this.removeIcon)return;let n=this.value;this._isEditing=this._editStartPending=!0,ai(()=>{this._getEditInput().initialize(n),this._editStartPending=!1},{injector:this._injector})}_onEditFinish(){this._isEditing=this._editStartPending=!1,this.edited.emit({chip:this,value:this._getEditInput().getValue()}),(this._document.activeElement===this._getEditInput().getNativeElement()||this._document.activeElement===this._document.body)&&this.primaryAction.focus()}_isRippleDisabled(){return super._isRippleDisabled()||this._isEditing}_getEditInput(){return this.contentEditInput||this.defaultEditInput}};e.\u0275fac=function(n){return new(n||e)(m(he),m(q),m(Z),m(Di),m(se),m(kt,8),m(Vl,8),vi("tabindex"))},e.\u0275cmp=E({type:e,selectors:[["mat-chip-row"],["","mat-chip-row",""],["mat-basic-chip-row"],["","mat-basic-chip-row",""]],contentQueries:function(n,o,a){if(n&1&&Be(a,mC,5),n&2){let s;Q(s=K())&&(o.contentEditInput=s.first)}},viewQuery:function(n,o){if(n&1&&ce(mC,5),n&2){let a;Q(a=K())&&(o.defaultEditInput=a.first)}},hostAttrs:[1,"mat-mdc-chip","mat-mdc-chip-row","mdc-evolution-chip"],hostVars:27,hostBindings:function(n,o){n&1&&b("focus",function(s){return o._handleFocus(s)})("dblclick",function(s){return o._handleDoubleclick(s)}),n&2&&(Si("id",o.id),ie("tabindex",o.disabled?null:-1)("aria-label",null)("aria-description",null)("role",o.role),ne("mat-mdc-chip-with-avatar",o.leadingIcon)("mat-mdc-chip-disabled",o.disabled)("mat-mdc-chip-editing",o._isEditing)("mat-mdc-chip-editable",o.editable)("mdc-evolution-chip--disabled",o.disabled)("mdc-evolution-chip--with-trailing-action",o._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",o.leadingIcon)("mdc-evolution-chip--with-primary-icon",o.leadingIcon)("mdc-evolution-chip--with-avatar",o.leadingIcon)("mat-mdc-chip-highlighted",o.highlighted)("mat-mdc-chip-with-trailing-icon",o._hasTrailingIcon()))},inputs:{editable:"editable"},outputs:{edited:"edited"},standalone:!0,features:[Ce([{provide:fC,useExisting:e},{provide:_C,useExisting:e}]),be,re],ngContentSelectors:CQ,decls:10,vars:9,consts:[[1,"mat-mdc-chip-focus-overlay"],["role","gridcell","matChipAction","",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary",3,"disabled"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],["aria-hidden","true",1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],["role","gridcell",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"],[1,"cdk-visually-hidden",3,"id"],["matChipEditInput",""]],template:function(n,o){n&1&&(He(wQ),x(0,xQ,1,0,"span",0),c(1,"span",1),x(2,DQ,2,0,"span",2),c(3,"span",3),x(4,IQ,2,1)(5,MQ,1,0),I(6,"span",4),d()(),x(7,TQ,2,0,"span",5),c(8,"span",6),g(9),d()),n&2&&(De(o._isEditing?-1:0),h(),p("disabled",o.disabled),ie("aria-label",o.ariaLabel)("aria-describedby",o._ariaDescriptionId),h(),De(o.leadingIcon?2:-1),h(2),De(o._isEditing?4:5),h(3),De(o._hasTrailingIcon()?7:-1),h(),p("id",o._ariaDescriptionId),h(),$e(o.ariaDescription))},dependencies:[Eg,mC],styles:[yQ],encapsulation:2,changeDetection:0});let i=e;return i})(),OQ=(()=>{let e=class e{get chipFocusChanges(){return this._getChipStream(t=>t._onFocus)}get chipDestroyedChanges(){return this._getChipStream(t=>t.destroyed)}get chipRemovedChanges(){return this._getChipStream(t=>t.removed)}get disabled(){return this._disabled}set disabled(t){this._disabled=t,this._syncChipsState()}get empty(){return!this._chips||this._chips.length===0}get role(){return this._explicitRole?this._explicitRole:this.empty?null:this._defaultRole}set role(t){this._explicitRole=t}get focused(){return this._hasFocusedChip()}constructor(t,n,o){this._elementRef=t,this._changeDetectorRef=n,this._dir=o,this._lastDestroyedFocusedChipIndex=null,this._destroyed=new G,this._defaultRole="presentation",this._disabled=!1,this.tabIndex=0,this._explicitRole=null,this._chipActions=new eo}ngAfterViewInit(){this._setUpFocusManagement(),this._trackChipSetChanges(),this._trackDestroyedFocusedChip()}ngOnDestroy(){this._keyManager?.destroy(),this._chipActions.destroy(),this._destroyed.next(),this._destroyed.complete()}_hasFocusedChip(){return this._chips&&this._chips.some(t=>t._hasFocus())}_syncChipsState(){this._chips?.forEach(t=>{t._chipListDisabled=this._disabled,t._changeDetectorRef.markForCheck()})}focus(){}_handleKeydown(t){this._originatesFromChip(t)&&this._keyManager.onKeydown(t)}_isValidIndex(t){return t>=0&&tthis._elementRef.nativeElement.tabIndex=t))}_getChipStream(t){return this._chips.changes.pipe(Rt(null),Tt(()=>wt(...this._chips.map(t))))}_originatesFromChip(t){let n=t.target;for(;n&&n!==this._elementRef.nativeElement;){if(n.classList.contains("mat-mdc-chip"))return!0;n=n.parentElement}return!1}_setUpFocusManagement(){this._chips.changes.pipe(Rt(this._chips)).subscribe(t=>{let n=[];t.forEach(o=>o._getActions().forEach(a=>n.push(a))),this._chipActions.reset(n),this._chipActions.notifyOnChanges()}),this._keyManager=new _a(this._chipActions).withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr").withHomeAndEnd().skipPredicate(t=>this._skipPredicate(t)),this.chipFocusChanges.pipe(fe(this._destroyed)).subscribe(({chip:t})=>{let n=t._getSourceAction(document.activeElement);n&&this._keyManager.updateActiveItem(n)}),this._dir?.change.pipe(fe(this._destroyed)).subscribe(t=>this._keyManager.withHorizontalOrientation(t))}_skipPredicate(t){return!t.isInteractive||t.disabled}_trackChipSetChanges(){this._chips.changes.pipe(Rt(null),fe(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>this._syncChipsState()),this._redirectDestroyedChipFocus()})}_trackDestroyedFocusedChip(){this.chipDestroyedChanges.pipe(fe(this._destroyed)).subscribe(t=>{let o=this._chips.toArray().indexOf(t.chip);this._isValidIndex(o)&&t.chip._hasFocus()&&(this._lastDestroyedFocusedChipIndex=o)})}_redirectDestroyedChipFocus(){if(this._lastDestroyedFocusedChipIndex!=null){if(this._chips.length){let t=Math.min(this._lastDestroyedFocusedChipIndex,this._chips.length-1),n=this._chips.toArray()[t];n.disabled?this._chips.length===1?this.focus():this._keyManager.setPreviousItemActive():n.focus()}else this.focus();this._lastDestroyedFocusedChipIndex=null}}};e.\u0275fac=function(n){return new(n||e)(m(q),m(he),m(Nt,8))},e.\u0275cmp=E({type:e,selectors:[["mat-chip-set"]],contentQueries:function(n,o,a){if(n&1&&Be(a,fC,5),n&2){let s;Q(s=K())&&(o._chips=s)}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(n,o){n&1&&b("keydown",function(s){return o._handleKeydown(s)}),n&2&&ie("role",o.role)},inputs:{disabled:[2,"disabled","disabled",Y],role:"role",tabIndex:[2,"tabIndex","tabIndex",t=>t==null?0:ni(t)]},standalone:!0,features:[ge,re],ngContentSelectors:NO,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(n,o){n&1&&(He(),c(0,"div",0),ae(1),d())},styles:[".mat-mdc-chip-set{display:flex}.mat-mdc-chip-set:focus{outline:none}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%;margin-left:-8px;margin-right:0}.mat-mdc-chip-set .mdc-evolution-chip{margin:4px 0 4px 8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip-set__chips{margin-left:0;margin-right:-8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip{margin-left:0;margin-right:8px}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0});let i=e;return i})();var gC=class{constructor(e,r){this.source=e,this.value=r}},jO=(()=>{let e=class e extends OQ{get disabled(){return this.ngControl?!!this.ngControl.disabled:this._disabled}set disabled(t){this._disabled=t,this._syncChipsState()}get id(){return this._chipInput.id}get empty(){return(!this._chipInput||this._chipInput.empty)&&(!this._chips||this._chips.length===0)}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(t){this._placeholder=t,this.stateChanges.next()}get focused(){return this._chipInput.focused||this._hasFocusedChip()}get required(){return this._required??this.ngControl?.control?.hasValidator(sr.required)??!1}set required(t){this._required=t,this.stateChanges.next()}get shouldLabelFloat(){return!this.empty||this.focused}get value(){return this._value}set value(t){this._value=t}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(t){this._errorStateTracker.matcher=t}get chipBlurChanges(){return this._getChipStream(t=>t._onBlur)}get errorState(){return this._errorStateTracker.errorState}set errorState(t){this._errorStateTracker.errorState=t}constructor(t,n,o,a,s,l,u){super(t,n,o),this.ngControl=u,this.controlType="mat-chip-grid",this._defaultRole="grid",this._ariaDescribedbyIds=[],this._onTouched=()=>{},this._onChange=()=>{},this._value=[],this.change=new T,this.valueChange=new T,this._chips=void 0,this.stateChanges=new G,this.ngControl&&(this.ngControl.valueAccessor=this),this._errorStateTracker=new Fr(l,u,s,a,this.stateChanges)}ngAfterContentInit(){this.chipBlurChanges.pipe(fe(this._destroyed)).subscribe(()=>{this._blur(),this.stateChanges.next()}),wt(this.chipFocusChanges,this._chips.changes).pipe(fe(this._destroyed)).subscribe(()=>this.stateChanges.next())}ngAfterViewInit(){super.ngAfterViewInit(),this._chipInput}ngDoCheck(){this.ngControl&&this.updateErrorState()}ngOnDestroy(){super.ngOnDestroy(),this.stateChanges.complete()}registerInput(t){this._chipInput=t,this._chipInput.setDescribedByIds(this._ariaDescribedbyIds)}onContainerClick(t){!this.disabled&&!this._originatesFromChip(t)&&this.focus()}focus(){if(!(this.disabled||this._chipInput.focused)){if(!this._chips.length||this._chips.first.disabled)Promise.resolve().then(()=>this._chipInput.focus());else{let t=this._keyManager.activeItem;t?t.focus():this._keyManager.setFirstItemActive()}this.stateChanges.next()}}setDescribedByIds(t){this._ariaDescribedbyIds=t,this._chipInput?.setDescribedByIds(t)}writeValue(t){this._value=t}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t,this.stateChanges.next()}updateErrorState(){this._errorStateTracker.updateErrorState()}_blur(){this.disabled||setTimeout(()=>{this.focused||(this._propagateChanges(),this._markAsTouched())})}_allowFocusEscape(){this._chipInput.focused||super._allowFocusEscape()}_handleKeydown(t){let n=t.keyCode,o=this._keyManager.activeItem;if(n===9)this._chipInput.focused&&Pt(t,"shiftKey")&&this._chips.length&&!this._chips.last.disabled?(t.preventDefault(),o?this._keyManager.setActiveItem(o):this._focusLastChip()):super._allowFocusEscape();else if(!this._chipInput.focused)if((n===38||n===40)&&o){let a=this._chipActions.filter(u=>u._isPrimary===o._isPrimary&&!this._skipPredicate(u)),s=a.indexOf(o),l=t.keyCode===38?-1:1;t.preventDefault(),s>-1&&this._isValidIndex(s+l)&&this._keyManager.setActiveItem(a[s+l])}else super._handleKeydown(t);this.stateChanges.next()}_focusLastChip(){this._chips.length&&this._chips.last.focus()}_propagateChanges(){let t=this._chips.length?this._chips.toArray().map(n=>n.value):[];this._value=t,this.change.emit(new gC(this,t)),this.valueChange.emit(t),this._onChange(t),this._changeDetectorRef.markForCheck()}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}};e.\u0275fac=function(n){return new(n||e)(m(q),m(he),m(Nt,8),m(Oo,8),m(gs,8),m(Nr),m(kn,10))},e.\u0275cmp=E({type:e,selectors:[["mat-chip-grid"]],contentQueries:function(n,o,a){if(n&1&&Be(a,vC,5),n&2){let s;Q(s=K())&&(o._chips=s)}},hostAttrs:[1,"mat-mdc-chip-set","mat-mdc-chip-grid","mdc-evolution-chip-set"],hostVars:10,hostBindings:function(n,o){n&1&&b("focus",function(){return o.focus()})("blur",function(){return o._blur()}),n&2&&(ie("role",o.role)("tabindex",o.disabled||o._chips&&o._chips.length===0?-1:o.tabIndex)("aria-disabled",o.disabled.toString())("aria-invalid",o.errorState),ne("mat-mdc-chip-list-disabled",o.disabled)("mat-mdc-chip-list-invalid",o.errorState)("mat-mdc-chip-list-required",o.required))},inputs:{disabled:[2,"disabled","disabled",Y],placeholder:"placeholder",required:[2,"required","required",Y],value:"value",errorStateMatcher:"errorStateMatcher"},outputs:{change:"change",valueChange:"valueChange"},standalone:!0,features:[Ce([{provide:Ia,useExisting:e}]),ge,be,re],ngContentSelectors:NO,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(n,o){n&1&&(He(),c(0,"div",0),ae(1),d())},styles:[kQ],encapsulation:2,changeDetection:0});let i=e;return i})(),RQ=0,BO=(()=>{let e=class e{get chipGrid(){return this._chipGrid}set chipGrid(t){t&&(this._chipGrid=t,this._chipGrid.registerInput(this))}get disabled(){return this._disabled||this._chipGrid&&this._chipGrid.disabled}set disabled(t){this._disabled=t}get empty(){return!this.inputElement.value}constructor(t,n,o){this._elementRef=t,this.focused=!1,this.addOnBlur=!1,this.chipEnd=new T,this.placeholder="",this.id=`mat-mdc-chip-list-input-${RQ++}`,this._disabled=!1,this.inputElement=this._elementRef.nativeElement,this.separatorKeyCodes=n.separatorKeyCodes,o&&this.inputElement.classList.add("mat-mdc-form-field-input-control")}ngOnChanges(){this._chipGrid.stateChanges.next()}ngOnDestroy(){this.chipEnd.complete()}_keydown(t){this.empty&&t.keyCode===8?(t.repeat||this._chipGrid._focusLastChip(),t.preventDefault()):this._emitChipEnd(t)}_blur(){this.addOnBlur&&this._emitChipEnd(),this.focused=!1,this._chipGrid.focused||this._chipGrid._blur(),this._chipGrid.stateChanges.next()}_focus(){this.focused=!0,this._chipGrid.stateChanges.next()}_emitChipEnd(t){(!t||this._isSeparatorKey(t)&&!t.repeat)&&(this.chipEnd.emit({input:this.inputElement,value:this.inputElement.value,chipInput:this}),t?.preventDefault())}_onInput(){this._chipGrid.stateChanges.next()}focus(){this.inputElement.focus()}clear(){this.inputElement.value=""}setDescribedByIds(t){let n=this._elementRef.nativeElement;t.length?n.setAttribute("aria-describedby",t.join(" ")):n.removeAttribute("aria-describedby")}_isSeparatorKey(t){return!Pt(t)&&new Set(this.separatorKeyCodes).has(t.keyCode)}};e.\u0275fac=function(n){return new(n||e)(m(q),m(LO),m(Ro,8))},e.\u0275dir=L({type:e,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-mdc-chip-input","mat-mdc-input-element","mdc-text-field__input","mat-input-element"],hostVars:6,hostBindings:function(n,o){n&1&&b("keydown",function(s){return o._keydown(s)})("blur",function(){return o._blur()})("focus",function(){return o._focus()})("input",function(){return o._onInput()}),n&2&&(Si("id",o.id),ie("disabled",o.disabled||null)("placeholder",o.placeholder||null)("aria-invalid",o._chipGrid&&o._chipGrid.ngControl?o._chipGrid.ngControl.invalid:null)("aria-required",o._chipGrid&&o._chipGrid.required||null)("required",o._chipGrid&&o._chipGrid.required||null))},inputs:{chipGrid:[0,"matChipInputFor","chipGrid"],addOnBlur:[2,"matChipInputAddOnBlur","addOnBlur",Y],separatorKeyCodes:[0,"matChipInputSeparatorKeyCodes","separatorKeyCodes"],placeholder:"placeholder",id:"id",disabled:[2,"disabled","disabled",Y]},outputs:{chipEnd:"matChipInputTokenEnd"},exportAs:["matChipInput","matChipInputFor"],standalone:!0,features:[ge,Qe]});let i=e;return i})();var zO=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=te({type:e}),e.\u0275inj=ee({providers:[Nr,{provide:LO,useValue:{separatorKeyCodes:[13]}}],imports:[pe,Lr,pe]});let i=e;return i})();var UO=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=te({type:e}),e.\u0275inj=ee({});let i=e;return i})();var HO=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=te({type:e}),e.\u0275inj=ee({imports:[pe,UO,zn]});let i=e;return i})();var FQ=["*",[["mat-toolbar-row"]]],NQ=["*","mat-toolbar-row"],LQ=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=L({type:e,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"],standalone:!0});let i=e;return i})(),$O=(()=>{let e=class e{constructor(t,n,o){this._elementRef=t,this._platform=n,this._document=o}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){this._toolbarRows.length}};e.\u0275fac=function(n){return new(n||e)(m(q),m(Ve),m(se))},e.\u0275cmp=E({type:e,selectors:[["mat-toolbar"]],contentQueries:function(n,o,a){if(n&1&&Be(a,LQ,5),n&2){let s;Q(s=K())&&(o._toolbarRows=s)}},hostAttrs:[1,"mat-toolbar"],hostVars:6,hostBindings:function(n,o){n&2&&(Yt(o.color?"mat-"+o.color:""),ne("mat-toolbar-multiple-rows",o._toolbarRows.length>0)("mat-toolbar-single-row",o._toolbarRows.length===0))},inputs:{color:"color"},exportAs:["matToolbar"],standalone:!0,features:[re],ngContentSelectors:NQ,decls:2,vars:0,template:function(n,o){n&1&&(He(FQ),ae(0),ae(1,1))},styles:[".mat-toolbar{background:var(--mat-toolbar-container-background-color, var(--mat-app-surface));color:var(--mat-toolbar-container-text-color, var(--mat-app-on-surface))}.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, var(--mat-app-title-large-font));font-size:var(--mat-toolbar-title-text-size, var(--mat-app-title-large-size));line-height:var(--mat-toolbar-title-text-line-height, var(--mat-app-title-large-line-height));font-weight:var(--mat-toolbar-title-text-weight, var(--mat-app-title-large-weight));letter-spacing:var(--mat-toolbar-title-text-tracking, var(--mat-app-title-large-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, var(--mat-app-on-surface));--mdc-outlined-button-label-text-color:var(--mat-toolbar-container-text-color, var(--mat-app-on-surface))}.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 i=e;return i})();var WO=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=te({type:e}),e.\u0275inj=ee({imports:[pe,pe]});let i=e;return i})();var GO=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=te({type:e}),e.\u0275inj=ee({providers:[{provide:Vy,useValue:{floatLabel:"always",appearance:"outline"}},{provide:mp,useValue:udsData.language}],imports:[Ei,MT,Up,WO,ar,Zk,Wl,HO,N1,vs,iA,bf,zA,E1,xk,uk,pk,Gf,Uf,FT,zO,RO,wA,hA,BT,Yf,Gk,Vk]});let i=e;return i})();function jQ(i,e){if(i&1){let r=A();c(0,"button",7),b("click",function(){let n=y(r).$implicit,o=_();return w(o.changeLang(n))}),g(1),d()}if(i&2){let r=e.$implicit;h(),$e(r.name)}}function BQ(i,e){if(i&1&&(c(0,"button",12)(1,"i",8),g(2,"face"),d(),g(3),d()),i&2){let r=_(),t=we(7);p("matMenuTriggerFor",t),h(3),$e(r.api.user.user)}}function zQ(i,e){if(i&1&&(c(0,"button",18),g(1),c(2,"i",8),g(3,"arrow_drop_down"),d()()),i&2){let r=_(),t=we(7);p("matMenuTriggerFor",t),h(),F("",r.api.user.user," ")}}var qO=(()=>{let e=class e{constructor(t){this.api=t,this.lang={id:"",name:""},this.isNavbarCollapsed=!0;let n=t.config.language;this.langs=[];for(let o of t.config.available_languages)o.id===n?this.lang=o:this.langs.push(o)}ngOnInit(){}changeLang(t){this.lang=t;let n=document.getElementById("id_language");return n&&n.setAttribute("value",t.id),document.getElementById("form_language").submit(),!1}user(){this.api.gotoUser()}logout(){this.api.logout()}};e.\u0275fac=function(n){return new(n||e)(m(B))},e.\u0275cmp=E({type:e,selectors:[["uds-navbar"]],decls:39,vars:13,consts:[["appMenu","matMenu"],["userMenu","matMenu"],["shrink","matMenu"],["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"],[1,"material-icons"],[1,"material-icons","highlight"],["x-position","before"],["mat-menu-item","",3,"matMenuTriggerFor",4,"ngIf"],["mat-menu-item","",3,"matMenuTriggerFor"],["color","primary",1,"uds-nav"],["mat-button","","routerLink","/"],["alt","Universal Desktop Services",1,"udsicon",3,"src"],[1,"fill-remaining-space"],[1,"expanded"],["mat-button","",3,"matMenuTriggerFor"],["mat-button","",3,"matMenuTriggerFor",4,"ngIf"],[1,"shrinked"],["mat-icon-button","",3,"matMenuTriggerFor"]],template:function(n,o){if(n&1){let a=A();c(0,"form",3),I(1,"input",4)(2,"input",5),d(),c(3,"mat-menu",null,0),x(5,jQ,2,1,"button",6),d(),c(6,"mat-menu",null,1)(8,"button",7),b("click",function(){return y(a),w(o.user())}),c(9,"i",8),g(10,"home"),d(),c(11,"uds-translate"),g(12,"User mode"),d()(),c(13,"button",7),b("click",function(){return y(a),w(o.logout())}),c(14,"i",9),g(15,"exit_to_app"),d(),c(16,"uds-translate"),g(17,"Logout"),d()()(),c(18,"mat-menu",10,2),x(20,BQ,4,2,"button",11),c(21,"button",12)(22,"i",8),g(23,"language"),d(),g(24),d()(),c(25,"mat-toolbar",13)(26,"button",14),I(27,"img",15),d(),I(28,"span",16),c(29,"div",17)(30,"button",18),g(31),c(32,"i",8),g(33,"arrow_drop_down"),d()(),x(34,zQ,4,2,"button",19),d(),c(35,"div",20)(36,"button",21)(37,"i",8),g(38,"menu"),d()()()()}if(n&2){let a=we(4),s=we(19);sa("action",o.api.config.urls.change_language,Ie),h(),sa("name",o.api.csrfField),sa("value",o.api.csrfToken),h(),sa("value",o.lang.id),h(3),p("ngForOf",o.langs),h(15),p("ngIf",o.api.user.isLogged),h(),p("matMenuTriggerFor",a),h(3),$e(o.lang.name),h(3),p("src",o.api.staticURL("admin/img/udsicon.png"),Ie),h(3),p("matMenuTriggerFor",a),h(),F("",o.lang.name," "),h(3),p("ngIf",o.api.user.isLogged),h(2),p("matMenuTriggerFor",s)}},dependencies:[We,me,bi,zp,Lp,Oo,$O,ke,Qi,ka,ys,Xf,le],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;inset:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_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{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border:var(--mat-focus-indicator-border-width, 3px) var(--mat-focus-indicator-border-style, solid) var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator[_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{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-mdc-focus-indicator-display, none);border:var(--mat-mdc-focus-indicator-border-width, 3px) var(--mat-mdc-focus-indicator-border-style, solid) var(--mat-mdc-focus-indicator-border-color, transparent);border-radius:var(--mat-mdc-focus-indicator-border-radius, 4px)}.mat-mdc-focus-indicator[_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, var(--mat-app-background, transparent));color:var(--mat-app-text-color, var(--mat-app-on-background, inherit))}.mat-elevation-z0[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z0[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-0, none)}.mat-elevation-z1[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z1[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-1, none)}.mat-elevation-z2[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z2[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-2, none)}.mat-elevation-z3[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z3[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-3, none)}.mat-elevation-z4[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z4[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-4, none)}.mat-elevation-z5[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z5[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-5, none)}.mat-elevation-z6[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z6[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-6, none)}.mat-elevation-z7[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z7[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-7, none)}.mat-elevation-z8[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z8[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-8, none)}.mat-elevation-z9[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z9[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-9, none)}.mat-elevation-z10[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z10[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-10, none)}.mat-elevation-z11[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z11[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-11, none)}.mat-elevation-z12[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z12[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-12, none)}.mat-elevation-z13[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z13[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-13, none)}.mat-elevation-z14[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z14[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-14, none)}.mat-elevation-z15[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z15[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-15, none)}.mat-elevation-z16[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z16[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-16, none)}.mat-elevation-z17[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z17[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-17, none)}.mat-elevation-z18[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z18[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-18, none)}.mat-elevation-z19[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z19[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-19, none)}.mat-elevation-z20[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z20[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-20, none)}.mat-elevation-z21[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z21[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-21, none)}.mat-elevation-z22[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z22[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-22, none)}.mat-elevation-z23[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z23[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-23, none)}.mat-elevation-z24[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z24[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-24, none)}.uds-nav[_ngcontent-%COMP%]{position:fixed;top:0;z-index:1000}.fill-remaining-space[_ngcontent-%COMP%]{flex:1 1 auto}.material-icons[_ngcontent-%COMP%]{margin-right:.3rem}.udsicon[_ngcontent-%COMP%]{width:2rem}.mat-mdc-button[_ngcontent-%COMP%]{font-weight:300}.uds-nav[_ngcontent-%COMP%] .expanded[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{color:#000}@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}} .dark-theme .uds-nav .expanded button{color:#fff!important}']});let i=e;return i})();var YO=(()=>{let e=class e{constructor(){}ngOnInit(){}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=E({type:e,selectors:[["uds-footer"]],decls:4,vars:0,consts:[["href","https://www.udsenterprise.com"]],template:function(n,o){n&1&&(c(0,"div"),g(1,"\xA9 2012-2023 "),c(2,"a",0),g(3,"Virtual Cable S.L.U."),d()())},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;inset:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_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{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border:var(--mat-focus-indicator-border-width, 3px) var(--mat-focus-indicator-border-style, solid) var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator[_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{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-mdc-focus-indicator-display, none);border:var(--mat-mdc-focus-indicator-border-width, 3px) var(--mat-mdc-focus-indicator-border-style, solid) var(--mat-mdc-focus-indicator-border-color, transparent);border-radius:var(--mat-mdc-focus-indicator-border-radius, 4px)}.mat-mdc-focus-indicator[_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, var(--mat-app-background, transparent));color:var(--mat-app-text-color, var(--mat-app-on-background, inherit))}.mat-elevation-z0[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z0[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-0, none)}.mat-elevation-z1[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z1[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-1, none)}.mat-elevation-z2[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z2[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-2, none)}.mat-elevation-z3[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z3[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-3, none)}.mat-elevation-z4[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z4[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-4, none)}.mat-elevation-z5[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z5[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-5, none)}.mat-elevation-z6[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z6[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-6, none)}.mat-elevation-z7[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z7[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-7, none)}.mat-elevation-z8[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z8[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-8, none)}.mat-elevation-z9[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z9[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-9, none)}.mat-elevation-z10[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z10[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-10, none)}.mat-elevation-z11[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z11[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-11, none)}.mat-elevation-z12[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z12[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-12, none)}.mat-elevation-z13[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z13[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-13, none)}.mat-elevation-z14[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z14[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-14, none)}.mat-elevation-z15[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z15[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-15, none)}.mat-elevation-z16[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z16[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-16, none)}.mat-elevation-z17[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z17[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-17, none)}.mat-elevation-z18[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z18[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-18, none)}.mat-elevation-z19[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z19[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-19, none)}.mat-elevation-z20[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z20[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-20, none)}.mat-elevation-z21[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z21[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-21, none)}.mat-elevation-z22[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z22[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-22, none)}.mat-elevation-z23[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z23[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-23, none)}.mat-elevation-z24[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z24[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-24, none)}a[_ngcontent-%COMP%]{text-decoration:none}div[_ngcontent-%COMP%], a[_ngcontent-%COMP%]{color:#000} .dark-theme div, .dark-theme a{color:#fff}']});let i=e;return i})();function $Q(i,e){if(i&1&&(c(0,"a",27),I(1,"img",2),c(2,"uds-translate"),g(3,"Groups"),d()()),i&2){let r=_();h(),p("src",r.icon("groups"),Ie)}}function WQ(i,e){if(i&1){let r=A();c(0,"a",3),b("click",function(){y(r);let n=_();return w(n.toggleConfig())}),I(1,"img",2),c(2,"span")(3,"uds-translate"),g(4,"Tools"),d(),c(5,"i",4),g(6,"arrow_drop_down"),d()()()}if(i&2){let r=_();h(),p("src",r.icon("tools"),Ie)}}var QO=(()=>{let e=class e{constructor(t,n){this.api=t,this.rest=n,this.connectivityShown=!1,this.poolsShown=!1,this.configShown=!1,this.tokensShown=!1,this.authsShown=!1,this.servicesShown=!1}ngOnInit(){}icon(t){return this.api.staticURL("admin/img/icons/"+t+".png")}toggle(t){let n=new Map([["connectivity",o=>this.connectivityShown=o?!this.connectivityShown:!1],["pools",o=>this.poolsShown=o?!this.poolsShown:!1],["config",o=>this.configShown=o?!this.configShown:!1],["tokens",o=>this.tokensShown=o?!this.tokensShown:!1],["auths",o=>this.authsShown=o?!this.authsShown:!1],["services",o=>this.servicesShown=o?!this.servicesShown:!1]]);for(let o of n)o[1](o[0]===t)}toggleConnectivity(){this.toggle("connectivity")}togglePools(){this.toggle("pools")}toggleConfig(){this.toggle("config")}toggleTokens(){this.toggle("tokens")}toggleAuths(){this.toggle("auths")}toggleServices(){this.toggle("services")}flushCache(){this.rest.system.flushCache().then(()=>{this.api.gui.snackbar.open(django.gettext("Cache flushed"),django.gettext("dismiss"),{duration:2e3})})}};e.\u0275fac=function(n){return new(n||e)(m(B),m(X))},e.\u0275cmp=E({type:e,selectors:[["uds-sidebar"]],decls:124,vars:33,consts:[[1,"sidebar","mat-toolbar","mat-primary"],["mat-button","","routerLink","/summary",1,"sidebar-link"],[1,"icon",3,"src"],["mat-button","",1,"sidebar-link",3,"click"],[1,"material-icons"],[1,"submenu",3,"hidden"],["mat-button","","routerLink","/services/providers",1,"sidebar-link"],["mat-button","","routerLink","/services/servers",1,"sidebar-link"],["mat-button","","routerLink","/authenticators",1,"sidebar-link"],["mat-button","","routerLink","/mfas",1,"sidebar-link"],["mat-button","","routerLink","/osmanagers",1,"sidebar-link"],["mat-button","","routerLink","/connectivity/transports",1,"sidebar-link"],["mat-button","","routerLink","/connectivity/networks",1,"sidebar-link"],["mat-button","","routerLink","/connectivity/tunnels",1,"sidebar-link"],["mat-button","","routerLink","/pools/service-pools",1,"sidebar-link"],["mat-button","","routerLink","/pools/meta-pools",1,"sidebar-link"],["mat-button","","routerLink","/pools/pool-groups","class","sidebar-link",4,"ngIf"],["mat-button","","routerLink","/pools/calendars",1,"sidebar-link"],["mat-button","","routerLink","/pools/accounts",1,"sidebar-link"],["mat-button","","class","sidebar-link",3,"click",4,"ngIf"],["mat-button","","routerLink","/tools/gallery",1,"sidebar-link"],["mat-button","","routerLink","/tools/reports",1,"sidebar-link"],["mat-button","","routerLink","/tools/notifiers",1,"sidebar-link"],[1,"submenu2",3,"hidden"],["mat-button","","routerLink","/tools/tokens/actor",1,"sidebar-link"],["mat-button","","routerLink","/tools/tokens/server",1,"sidebar-link"],["mat-button","","routerLink","/tools/configuration",1,"sidebar-link"],["mat-button","","routerLink","/pools/pool-groups",1,"sidebar-link"]],template:function(n,o){n&1&&(c(0,"div",0)(1,"a",1),I(2,"img",2),c(3,"uds-translate"),g(4,"Summary"),d()(),c(5,"a",3),b("click",function(){return o.toggleServices()}),I(6,"img",2),c(7,"span")(8,"uds-translate"),g(9,"Services"),d(),c(10,"i",4),g(11,"arrow_drop_down"),d()()(),c(12,"div",5)(13,"a",6),I(14,"img",2),c(15,"uds-translate"),g(16,"Providers"),d()(),c(17,"a",7),I(18,"img",2),c(19,"uds-translate"),g(20,"Servers"),d()()(),c(21,"a",3),b("click",function(){return o.toggleAuths()}),I(22,"img",2),c(23,"span")(24,"uds-translate"),g(25,"Authentication"),d(),c(26,"i",4),g(27,"arrow_drop_down"),d()()(),c(28,"div",5)(29,"a",8),I(30,"img",2),c(31,"uds-translate"),g(32,"Authenticators"),d()(),c(33,"a",9),I(34,"img",2),c(35,"uds-translate"),g(36,"Multi Factor"),d()()(),c(37,"a",10),I(38,"img",2),c(39,"uds-translate"),g(40,"Os Managers"),d()(),c(41,"a",3),b("click",function(){return o.toggleConnectivity()}),I(42,"img",2),c(43,"span")(44,"uds-translate"),g(45,"Connectivity"),d(),c(46,"i",4),g(47,"arrow_drop_down"),d()()(),c(48,"div",5)(49,"a",11),I(50,"img",2),c(51,"uds-translate"),g(52,"Transports"),d()(),c(53,"a",12),I(54,"img",2),c(55,"uds-translate"),g(56,"Networks"),d()(),c(57,"a",13),I(58,"img",2),c(59,"uds-translate"),g(60,"Tunnels"),d()()(),c(61,"a",3),b("click",function(){return o.togglePools()}),I(62,"img",2),c(63,"span")(64,"uds-translate"),g(65,"Pools"),d(),c(66,"i",4),g(67,"arrow_drop_down"),d()()(),c(68,"div",5)(69,"a",14),I(70,"img",2),c(71,"uds-translate"),g(72,"Service pools"),d()(),c(73,"a",15),I(74,"img",2),c(75,"uds-translate"),g(76,"Meta pools"),d()(),x(77,$Q,4,1,"a",16),c(78,"a",17),I(79,"img",2),c(80,"uds-translate"),g(81,"Calendars"),d()(),c(82,"a",18),I(83,"img",2),c(84,"uds-translate"),g(85,"Accounting"),d()()(),x(86,WQ,7,1,"a",19),c(87,"div",5)(88,"a",20),I(89,"img",2),c(90,"uds-translate"),g(91,"Gallery"),d()(),c(92,"a",21),I(93,"img",2),c(94,"uds-translate"),g(95,"Reports"),d()(),c(96,"a",22),I(97,"img",2),c(98,"uds-translate"),g(99,"Notifiers"),d()(),c(100,"a",3),b("click",function(){return o.tokensShown=!o.tokensShown}),I(101,"img",2),c(102,"span")(103,"uds-translate"),g(104,"Tokens"),d(),c(105,"i",4),g(106,"arrow_drop_down"),d()()(),c(107,"div",23)(108,"a",24),I(109,"img",2),c(110,"uds-translate"),g(111,"Actor"),d()(),c(112,"a",25),I(113,"img",2),c(114,"uds-translate"),g(115,"Servers"),d()()(),c(116,"a",26),I(117,"img",2),c(118,"uds-translate"),g(119,"Configuration"),d()(),c(120,"a",3),b("click",function(){return o.flushCache()}),I(121,"img",2),c(122,"uds-translate"),g(123,"Flush Cache"),d()()()()),n&2&&(h(2),p("src",o.icon("dashboard-monitor"),Ie),h(4),p("src",o.icon("providers"),Ie),h(6),p("hidden",!o.servicesShown),h(2),p("src",o.icon("providers"),Ie),h(4),p("src",o.icon("servers"),Ie),h(4),p("src",o.icon("authentication"),Ie),h(6),p("hidden",!o.authsShown),h(2),p("src",o.icon("authenticators"),Ie),h(4),p("src",o.icon("mfas"),Ie),h(4),p("src",o.icon("osmanagers"),Ie),h(4),p("src",o.icon("connectivity"),Ie),h(6),p("hidden",!o.connectivityShown),h(2),p("src",o.icon("transports"),Ie),h(4),p("src",o.icon("networks"),Ie),h(4),p("src",o.icon("tunnels"),Ie),h(4),p("src",o.icon("poolsmenu"),Ie),h(6),p("hidden",!o.poolsShown),h(2),p("src",o.icon("pools"),Ie),h(4),p("src",o.icon("metas"),Ie),h(3),p("ngIf",o.api.user.isAdmin),h(2),p("src",o.icon("calendars"),Ie),h(4),p("src",o.icon("accounts"),Ie),h(3),p("ngIf",o.api.user.isAdmin),h(),p("hidden",!o.configShown),h(2),p("src",o.icon("gallery"),Ie),h(4),p("src",o.icon("reports"),Ie),h(4),p("src",o.icon("notifiers"),Ie),h(4),p("src",o.icon("tokens"),Ie),h(6),p("hidden",!o.tokensShown),h(2),p("src",o.icon("actors"),Ie),h(4),p("src",o.icon("servers"),Ie),h(4),p("src",o.icon("configuration"),Ie),h(4),p("src",o.icon("flush-cache"),Ie))},dependencies:[me,bi,xa,le],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;inset:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_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{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border:var(--mat-focus-indicator-border-width, 3px) var(--mat-focus-indicator-border-style, solid) var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator[_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{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-mdc-focus-indicator-display, none);border:var(--mat-mdc-focus-indicator-border-width, 3px) var(--mat-mdc-focus-indicator-border-style, solid) var(--mat-mdc-focus-indicator-border-color, transparent);border-radius:var(--mat-mdc-focus-indicator-border-radius, 4px)}.mat-mdc-focus-indicator[_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, var(--mat-app-background, transparent));color:var(--mat-app-text-color, var(--mat-app-on-background, inherit))}.mat-elevation-z0[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z0[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-0, none)}.mat-elevation-z1[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z1[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-1, none)}.mat-elevation-z2[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z2[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-2, none)}.mat-elevation-z3[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z3[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-3, none)}.mat-elevation-z4[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z4[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-4, none)}.mat-elevation-z5[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z5[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-5, none)}.mat-elevation-z6[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z6[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-6, none)}.mat-elevation-z7[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z7[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-7, none)}.mat-elevation-z8[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z8[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-8, none)}.mat-elevation-z9[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z9[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-9, none)}.mat-elevation-z10[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z10[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-10, none)}.mat-elevation-z11[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z11[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-11, none)}.mat-elevation-z12[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z12[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-12, none)}.mat-elevation-z13[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z13[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-13, none)}.mat-elevation-z14[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z14[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-14, none)}.mat-elevation-z15[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z15[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-15, none)}.mat-elevation-z16[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z16[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-16, none)}.mat-elevation-z17[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z17[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-17, none)}.mat-elevation-z18[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z18[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-18, none)}.mat-elevation-z19[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z19[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-19, none)}.mat-elevation-z20[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z20[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-20, none)}.mat-elevation-z21[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z21[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-21, none)}.mat-elevation-z22[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z22[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-22, none)}.mat-elevation-z23[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z23[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-23, none)}.mat-elevation-z24[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z24[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-24, none)}.sidebar[_ngcontent-%COMP%]{position:fixed;top:4rem;padding-top:12px;bottom:0;display:flex;flex-direction:column;overflow-y:auto;width:3.7rem;-moz-transition:all .5s cubic-bezier(.86,0,.07,1);transition:all .3s cubic-bezier(.86,0,.07,1);box-shadow:0 16px 38px -12px #fafafa8f,0 4px 25px #fafafa1f,0 8px 10px -5px #fafafa33;overflow-x:hidden;z-index:25}.sidebar-link[_ngcontent-%COMP%]{display:flex;width:15rem;color:transparent;-moz-transition:color .5s cubic-bezier(.86,0,.07,1);transition:color .3s cubic-bezier(.86,0,.07,1);font-weight:300;font-size:1rem;justify-content:left;justify-items:center;padding-left:1rem;text-decoration:none}.sidebar[_ngcontent-%COMP%]:hover{width:15rem;-moz-transition:all .5s cubic-bezier(.86,0,.07,1);transition:all .3s cubic-bezier(.86,0,.07,1)}.sidebar[_ngcontent-%COMP%]:hover .sidebar-link[_ngcontent-%COMP%]{color:#000}.submenu[_ngcontent-%COMP%] > .mat-mdc-button[_ngcontent-%COMP%]{padding-left:1.5rem}.submenu2[_ngcontent-%COMP%] > .mat-mdc-button[_ngcontent-%COMP%]{padding-left:1.8rem}.icon[_ngcontent-%COMP%]{width:24px;margin:0 1em -.5rem 0} .dark-theme .sidebar{box-shadow:0 16px 38px -12px #3030308f,0 4px 25px #3030301f,0 8px 10px -5px #30303033} .dark-theme .sidebar:hover .sidebar-link{color:#fff!important}']});let i=e;return i})();function qQ(i,e){if(i&1&&I(0,"div",1),i&2){let r=_();p("innerHTML",r.messages,qt)}}var KO=(()=>{let e=class e{constructor(t){this.api=t,this.messages="",this.visible=!1}ngOnInit(){let t=n=>n.replace(/ /gm," ").replace(/([A-Z]+[A-Z]+)/gm,"$1").replace(/([0-9]+)/gm,"$1");if(this.api.notices.length>0){let n='
';this.messages='
'+n+this.api.notices.map(t).join("
"+n)+"
",this.api.gui.alert("",this.messages,0,"80%").then(()=>{this.visible=!0})}}};e.\u0275fac=function(n){return new(n||e)(m(B))},e.\u0275cmp=E({type:e,selectors:[["uds-notices"]],decls:1,vars:1,consts:[["class","notice",3,"innerHTML",4,"ngIf"],[1,"notice",3,"innerHTML"]],template:function(n,o){n&1&&x(0,qQ,1,1,"div",0),n&2&&p("ngIf",o.visible)},dependencies:[me],styles:[".notice[_ngcontent-%COMP%]{display:block} .warn-notice-container{background:#4682b4;border-radius:3px;box-shadow:#00000024 0 4px 20px,#465d9c66 0 7px 10px -5px;box-sizing:border-box;color:#fff;margin:1rem 2rem 0rem;padding:15px;word-wrap:break-word;display:flex;flex-direction:column} .warn-notice{display:block;width:100%;text-align:center;font-size:1.1em;margin-bottom:.5rem}"]});let i=e;return i})();var ZO=(()=>{let e=class e{constructor(t){this.api=t,this.title="UDS Admin"}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)}};e.\u0275fac=function(n){return new(n||e)(m(B))},e.\u0275cmp=E({type:e,selectors:[["uds-root"]],hostBindings:function(n,o){n&1&&b("keydown",function(s){return o.handleKeyboardEvent(s)},!1,VS)},decls:8,vars:0,consts:[[1,"page"],[1,"content"],[1,"footer"]],template:function(n,o){n&1&&(I(0,"uds-navbar")(1,"uds-sidebar"),c(2,"div",0)(3,"div",1),I(4,"uds-notices")(5,"router-outlet"),d(),c(6,"div",2),I(7,"uds-footer"),d()())},dependencies:[T0,qO,YO,QO,KO],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:calc(100% - 64px);margin:4rem auto auto 56px;padding-left:8px;overflow-x:hidden}"]});let i=e;return i})();var XO=(()=>{let e=class e extends Ma{constructor(){super(),this.itemsPerPageLabel=django.gettext("Items per page")}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=V({token:e,factory:e.\u0275fac});let i=e;return i})();var JO=(()=>{let e=class e{constructor(){this.field={},this.changed=new T}ngOnInit(){this.field.value=this.field.value||this.field.gui.default||""}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=E({type:e,selectors:[["uds-field-text"]],inputs:{field:"field"},outputs:{changed:"changed"},decls:4,vars:7,consts:[["matInput","","type","text",3,"ngModelChange","change","ngModel","placeholder","required","disabled","maxlength","autocomplete"]],template:function(n,o){n&1&&(c(0,"mat-form-field")(1,"mat-label"),g(2),d(),c(3,"input",0),H("ngModelChange",function(s){return $(o.field.value,s)||(o.field.value=s),s}),b("change",function(){return o.changed.emit(o)}),d()()),n&2&&(h(2),F(" ",o.field.gui.label," "),h(),U("ngModel",o.field.value),p("placeholder",o.field.gui.tooltip)("required",o.field.gui.required===!0)("disabled",o.field.gui.readonly===!0)("maxlength",o.field.gui.length||128)("autocomplete","new-"+o.field.name))},dependencies:[lt,xe,Fi,_s,Se,_e,Ae,ft],styles:[".cdk-text-field-autofilled[_ngcontent-%COMP%]{background-color:red}"]});let i=e;return i})();function QQ(i,e){if(i&1&&(c(0,"mat-option",3),g(1),d()),i&2){let r=e.$implicit;p("value",r),h(),F(" ",r," ")}}var eR=(()=>{let e=class e{constructor(){this.field={},this.changed=new T,this.values=[]}ngOnInit(){let t=this.field.gui.choices||[];this.field.value=this.field.value||this.field.gui.default||"",this.values=t.map(n=>n.text)}_filter(){let t=this.field.value.toLowerCase();return this.values.filter(n=>n.toLowerCase().includes(t))}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=E({type:e,selectors:[["uds-field-autocomplete"]],inputs:{field:"field"},outputs:{changed:"changed"},decls:7,vars:9,consts:[["auto","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],["matInput","","type","text",3,"ngModelChange","change","ngModel","placeholder","required","disabled","maxlength","matAutocomplete","autocomplete"],[3,"value"]],template:function(n,o){if(n&1){let a=A();c(0,"mat-form-field")(1,"mat-label"),g(2),d(),c(3,"mat-autocomplete",null,0),x(5,QQ,2,2,"mat-option",1),d(),c(6,"input",2),H("ngModelChange",function(l){return y(a),$(o.field.value,l)||(o.field.value=l),w(l)}),b("change",function(){return y(a),w(o.changed.emit(o))}),d()()}if(n&2){let a=we(4);h(2),F(" ",o.field.gui.label," "),h(3),p("ngForOf",o._filter()),h(),U("ngModel",o.field.value),p("placeholder",o.field.gui.tooltip)("required",o.field.gui.required===!0)("disabled",o.field.gui.readonly===!0)("maxlength",o.field.gui.length||128)("matAutocomplete",a)("autocomplete","new-"+o.field.name)}},dependencies:[We,lt,xe,Fi,_s,Se,_e,Ae,ft,nt,Kl,Cs],styles:[".cdk-text-field-autofilled[_ngcontent-%COMP%]{background-color:red}"]});let i=e;return i})();var tR=(()=>{let e=class e{constructor(){this.field={},this.changed=new T}ngOnInit(){!this.field.value&&this.field.value!==0&&(this.field.value=this.field.gui.default||0)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=E({type:e,selectors:[["uds-field-numeric"]],inputs:{field:"field"},outputs:{changed:"changed"},decls:4,vars:5,consts:[["floatLabel","always"],["matInput","","type","number",3,"ngModelChange","change","ngModel","placeholder","required","disabled"]],template:function(n,o){n&1&&(c(0,"mat-form-field",0)(1,"mat-label"),g(2),d(),c(3,"input",1),H("ngModelChange",function(s){return $(o.field.value,s)||(o.field.value=s),s}),b("change",function(){return o.changed.emit(o)}),d()()),n&2&&(h(2),F(" ",o.field.gui.label," "),h(),U("ngModel",o.field.value),p("placeholder",o.field.gui.tooltip)("required",o.field.gui.required===!0)("disabled",o.field.gui.readonly===!0))},dependencies:[lt,$n,xe,Fi,Se,_e,Ae,ft]});let i=e;return i})();var iR=(()=>{let e=class e{constructor(){this.field={},this.changed=new T,this.passwordType="password"}ngOnInit(){this.field.value=this.field.value||this.field.gui.default||""}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=E({type:e,selectors:[["uds-field-password"]],inputs:{field:"field"},outputs:{changed:"changed"},decls:7,vars:7,consts:[["floatLabel","always"],["matInput","","autocomplete","new-password",3,"ngModelChange","change","ngModel","placeholder","required","disabled","type"],["matSuffix","","mat-icon-button","",3,"click"],[1,"material-icons"]],template:function(n,o){n&1&&(c(0,"mat-form-field",0)(1,"mat-label"),g(2),d(),c(3,"input",1),H("ngModelChange",function(s){return $(o.field.value,s)||(o.field.value=s),s}),b("change",function(){return o.changed.emit(o)}),d(),c(4,"button",2),b("click",function(){return o.passwordType=o.passwordType==="text"?"password":"text"}),c(5,"i",3),g(6),d()()()),n&2&&(h(2),F(" ",o.field.gui.label," "),h(),U("ngModel",o.field.value),p("placeholder",o.field.gui.tooltip)("required",o.field.gui.required===!0)("disabled",o.field.gui.readonly===!0)("type",o.passwordType),h(3),$e(o.passwordType==="text"?"visibility_off":"visibility"))},dependencies:[lt,xe,Fi,Se,Qi,_e,Ae,uo,ft],styles:[".cdk-text-field-autofilled[_ngcontent-%COMP%]{background-color:red}"]});let i=e;return i})();var nR=(()=>{let e=class e{constructor(){this.field={}}ngOnInit(){(this.field.value===""||this.field.value===void 0)&&(this.field.value=this.field.gui.default||"")}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=E({type:e,selectors:[["uds-field-hidden"]],inputs:{field:"field"},decls:0,vars:0,template:function(n,o){}});let i=e;return i})();var oR=(()=>{let e=class e{constructor(){this.field={}}ngOnInit(){this.field.value=this.field.value||this.field.gui.default||""}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=E({type:e,selectors:[["uds-field-textbox"]],inputs:{field:"field",value:"value"},decls:4,vars:7,consts:[["floatLabel","auto"],["matInput","",3,"ngModelChange","ngModel","placeholder","required","readonly","rows","maxlength"]],template:function(n,o){n&1&&(c(0,"mat-form-field",0)(1,"mat-label"),g(2),d(),c(3,"textarea",1),H("ngModelChange",function(s){return $(o.field.value,s)||(o.field.value=s),s}),d()()),n&2&&(h(2),F(" ",o.field.gui.label," "),h(),U("ngModel",o.field.value),p("placeholder",o.field.gui.tooltip)("required",!!o.field.gui.required)("readonly",o.field.gui.readonly===!0)("rows",o.field.gui.lines||3)("maxlength",o.field.gui.length||255))},dependencies:[lt,xe,Fi,_s,Se,_e,Ae,ft]});let i=e;return i})();function KQ(i,e){if(i&1&&(c(0,"mat-option",3),g(1),d()),i&2){let r=e.$implicit;p("value",r.id),h(),F(" ",r.text," ")}}var rR=(()=>{let e=class e{constructor(){this.field={},this.changed=new T,this.placeholderLabel=django.gettext("Search"),this.noEntriesFoundLabel=django.gettext("No entries found"),this.filter=""}setValue(){let t=this.field.gui.choices||[];this.field.value=this.field.value||this.field.gui.default||"",t.length>0&&!t.find(n=>n.id===this.field.value)&&(this.field.value=""),this.field.value===""&&t.length>0&&(this.field.value=t[0].id)}ngOnInit(){this.setValue()}filteredValues(){let t=this.field.gui.choices||[];if(this.setValue(),!this.filter)return t;let n=this.filter.toLocaleLowerCase();return t.filter(o=>o.text.toLocaleLowerCase().includes(n))}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=E({type:e,selectors:[["uds-field-choice"]],inputs:{field:"field"},outputs:{changed:"changed"},decls:6,vars:9,consts:[[3,"ngModelChange","valueChange","ngModel","placeholder","required","disabled"],[3,"changed","options","placeholderLabel","noEntriesFoundLabel"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(n,o){n&1&&(c(0,"mat-form-field")(1,"mat-label"),g(2),d(),c(3,"mat-select",0),H("ngModelChange",function(s){return $(o.field.value,s)||(o.field.value=s),s}),b("valueChange",function(){return o.changed.emit(o)}),c(4,"uds-cond-select-search",1),b("changed",function(s){return o.filter=s}),d(),x(5,KQ,2,2,"mat-option",2),d()()),n&2&&(h(2),F(" ",o.field.gui.label," "),h(),U("ngModel",o.field.value),p("placeholder",o.field.gui.tooltip)("required",o.field.gui.required===!0)("disabled",o.field.gui.readonly===!0),h(),p("options",o.field.gui.choices)("placeholderLabel",o.placeholderLabel)("noEntriesFoundLabel",o.noEntriesFoundLabel),h(),p("ngForOf",o.filteredValues()))},dependencies:[We,xe,Fi,Se,_e,Ae,bt,nt,hi]});let i=e;return i})();function ZQ(i,e){if(i&1&&(c(0,"mat-option",3),g(1),d()),i&2){let r=e.$implicit;p("value",r.id),h(),F(" ",r.text," ")}}var aR=(()=>{let e=class e{constructor(){this.field={},this.changed=new T,this.filter="",this.placeholderLabel=django.gettext("Search"),this.noEntriesFoundLabel=django.gettext("No entries found")}ngOnInit(){this.field.value=this.field.value||this.field.gui.default||new Array}filteredValues(){let t=this.field.gui.choices||[];if(!this.filter||t.length===0)return t;let n=this.filter.toLocaleLowerCase();return t.filter(o=>o.text.toLocaleLowerCase().includes(n))}selectTriggerString(){let t=this.field.value||[],n="";t.length===0&&(n=this.field.gui.tooltip||django.gettext("Select"));for(let o of t)n!==""&&(n+=", "),n+=this.field.gui.choices?.find(a=>a.id===o)?.text||o;return n}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=E({type:e,selectors:[["uds-field-multichoice"]],inputs:{field:"field"},outputs:{changed:"changed"},decls:8,vars:8,consts:[["multiple","",3,"ngModelChange","valueChange","ngModel","placeholder","required","disabled"],[3,"changed","options"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(n,o){n&1&&(c(0,"mat-form-field")(1,"mat-label"),g(2),d(),c(3,"mat-select",0),H("ngModelChange",function(s){return $(o.field.value,s)||(o.field.value=s),s}),b("valueChange",function(){return o.changed.emit(o)}),c(4,"mat-select-trigger"),g(5),d(),c(6,"uds-cond-select-search",1),b("changed",function(s){return o.filter=s}),d(),x(7,ZQ,2,2,"mat-option",2),d()()),n&2&&(h(2),F(" ",o.field.gui.label," "),h(),U("ngModel",o.field.value),p("placeholder",o.selectTriggerString())("required",o.field.gui.required===!0)("disabled",o.field.gui.readonly===!0),h(2),F(" ",o.selectTriggerString()," "),h(),p("options",o.field.gui.choices),h(),p("ngForOf",o.filteredValues()))},dependencies:[We,xe,Fi,Se,_e,Ae,bt,vf,nt,hi]});let i=e;return i})();function XQ(i,e){if(i&1){let r=A();c(0,"div",12)(1,"div",13),g(2),d(),c(3,"div",14),g(4," \xA0"),c(5,"a",15),b("click",function(){let n=y(r).index,o=_();return w(o.removeElement(n))}),c(6,"i",16),g(7,"close"),d()()()()}if(i&2){let r=e.$implicit;h(2),F(" ",r," ")}}var sR=(()=>{let e=class e{constructor(t,n,o,a){this.api=t,this.rest=n,this.dialogRef=o,this.data=a,this.values=[],this.input="",this.done=new Jt,this.data.values.forEach(s=>this.values.push(s))}static launch(t,n,o){let a=window.innerWidth<800?"50%":"30%";return t.gui.dialog.open(e,{width:a,data:{title:n,values:o},disableClose:!0}).componentInstance.done}addElements(){this.input.split(",").forEach(t=>{this.values.push(t)}),this.input=""}checkKey(t){t.code==="Enter"&&this.addElements()}removeAll(){this.values.length=0}removeElement(t){this.values.splice(t,1)}save(){this.data.values.length=0,this.values.forEach(t=>this.data.values.push(t)),this.dialogRef.close(),this.done.resolve(this.data.values)}cancel(){this.dialogRef.close(),this.done.resolve(null)}ngOnInit(){}};e.\u0275fac=function(n){return new(n||e)(m(B),m(X),m(Ne),m(Ke))},e.\u0275cmp=E({type:e,selectors:[["uds-editlist-editor"]],decls:23,vars:3,consts:[["mat-dialog-title",""],[1,"content"],[1,"list"],["class","elem",4,"ngFor","ngForOf"],[1,"buttons"],["mat-raised-button","","color","warn",3,"click"],[1,"input"],[1,"example-full-width"],["type","text","matInput","",3,"keyup","ngModelChange","ngModel"],["matSuffix","","mat-icon-button","",3,"click"],["matSuffix","",1,"material-icons"],["mat-raised-button","","color","primary",3,"click"],[1,"elem"],[1,"val"],[1,"remove"],[3,"click"],[1,"material-icons"]],template:function(n,o){n&1&&(c(0,"h4",0),g(1),d(),c(2,"mat-dialog-content")(3,"div",1)(4,"div",2),x(5,XQ,8,1,"div",3),d(),c(6,"div",4)(7,"button",5),b("click",function(){return o.removeAll()}),c(8,"uds-translate"),g(9,"Remove all"),d()()(),c(10,"div",6)(11,"mat-form-field",7)(12,"input",8),b("keyup",function(s){return o.checkKey(s)}),H("ngModelChange",function(s){return $(o.input,s)||(o.input=s),s}),d(),c(13,"button",9),b("click",function(){return o.addElements()}),c(14,"i",10),g(15,"add"),d()()()()()(),c(16,"mat-dialog-actions")(17,"button",5),b("click",function(){return o.cancel()}),c(18,"uds-translate"),g(19,"Cancel"),d()(),c(20,"button",11),b("click",function(){return o.save()}),c(21,"uds-translate"),g(22,"Ok"),d()()()),n&2&&(h(),F(" ",o.data.title,` -`),h(4),p("ngForOf",o.values),h(7),U("ngModel",o.input))},dependencies:[We,lt,xe,Se,ke,Qi,Je,tt,et,_e,uo,ft,le],styles:[".content[_ngcontent-%COMP%]{width:100%;display:flex;flex-direction:column;justify-content:space-between;justify-self:center}.list[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin:1rem;height:16rem;overflow-y:auto;border-color:#333;border-radius:1px;box-shadow:#00000024 0 1px 4px;padding:.5rem}.buttons[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;margin-right:1rem;margin-bottom:1rem}.input[_ngcontent-%COMP%]{margin:0 1rem}.elem[_ngcontent-%COMP%]{font-family:Courier New,Courier,monospace;font-size:1.2rem;display:flex;justify-content:space-between;white-space:nowrap;flex-wrap:nowrap;margin-right:.4rem}.elem[_ngcontent-%COMP%]:hover{background-color:#333;color:#fff;cursor:default}.val[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-right:.2rem}.material-icons[_ngcontent-%COMP%]{font-size:1em;padding-bottom:1px}.material-icons[_ngcontent-%COMP%]:hover{cursor:pointer;color:red}.mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}"]});let i=e;return i})();var lR=(()=>{let e=class e{constructor(t){this.api=t,this.field={},this.changed=new T}ngOnInit(){}valueEmpty(){return this.field.value===void 0||this.field.value===null||this.field.value.length===0}launch(){return W(this,null,function*(){this.valueEmpty()&&(this.field.value=[]);let t=yield sR.launch(this.api,this.field.gui.label,this.field.value||this.field.gui.default||[]);this.changed.emit({field:this.field})})}getValue(){if(this.valueEmpty())return"";let t=this.field.value.filter((n,o,a)=>o<5).join(", ");return this.field.value.length>5&&(t+=django.gettext(", (%i more items)").replace("%i",""+(this.field.value.length-5))),t}};e.\u0275fac=function(n){return new(n||e)(m(B))},e.\u0275cmp=E({type:e,selectors:[["uds-field-editlist"]],inputs:{field:"field"},outputs:{changed:"changed"},decls:4,vars:5,consts:[["floatLabel","always",3,"click"],["matInput","","type","text",1,"editlist",3,"readonly","value","placeholder","disabled"]],template:function(n,o){n&1&&(c(0,"mat-form-field",0),b("click",function(){return o.launch()}),c(1,"mat-label"),g(2),d(),I(3,"input",1),d()),n&2&&(h(2),F(" ",o.field.gui.label," "),h(),p("readonly",!0)("value",o.getValue())("placeholder",o.field.gui.tooltip)("disabled",o.field.gui.readonly===!0))},dependencies:[_e,Ae,ft],styles:[".editlist[_ngcontent-%COMP%]{cursor:pointer}"]});let i=e;return i})();var cR=(()=>{let e=class e{constructor(){this.field={},this.changed=new T}ngOnInit(){$1(this.field.value)?this.field.value=Cp(this.field.gui.default):this.field.value=Cp(this.field.value)}getValue(){return Cp(this.field.value)?django.gettext("Yes"):django.gettext("No")}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=E({type:e,selectors:[["uds-field-checkbox"]],inputs:{field:"field"},outputs:{changed:"changed"},decls:3,vars:4,consts:[[1,"toggle"],[3,"ngModelChange","change","ngModel","required","disabled"]],template:function(n,o){n&1&&(c(0,"div",0)(1,"mat-slide-toggle",1),H("ngModelChange",function(s){return $(o.field.value,s)||(o.field.value=s),s}),b("change",function(){return o.changed.emit(o)}),g(2),d()()),n&2&&(h(),U("ngModel",o.field.value),p("required",o.field.gui.required===!0)("disabled",o.field.gui.readonly===!0),h(),F(" ",o.field.gui.label," "))},dependencies:[xe,Fi,Se,cr]});let i=e;return i})();function JQ(i,e){if(i&1&&I(0,"div",5),i&2){let r=_().$implicit,t=_();p("innerHTML",t.asIcon(r),qt)}}function eK(i,e){if(i&1&&(c(0,"div"),x(1,JQ,1,1,"div",4),d()),i&2){let r=e.$implicit,t=_();h(),p("ngIf",r.id===t.field.value)}}function tK(i,e){if(i&1&&(c(0,"mat-option",6),I(1,"div",5),d()),i&2){let r=e.$implicit,t=_();p("value",r.id),h(),p("innerHTML",t.asIcon(r),qt)}}var dR=(()=>{let e=class e{constructor(t){this.api=t,this.field={},this.changed=new T,this.filter=""}ngOnInit(){this.field.value=this.field.value||this.field.gui.default||"";let t=this.field.gui.choices||[];this.field.value===""&&t.length>0&&(this.field.value=t[0].id)}asIcon(t){return this.api.safeString(this.api.gui.icon(t.img)+t.text)}filteredValues(){let t=this.field.gui.choices||[];if(!this.filter)return t;let n=this.filter.toLocaleLowerCase();return t.filter(o=>o.text.toLocaleLowerCase().includes(n))}};e.\u0275fac=function(n){return new(n||e)(m(B))},e.\u0275cmp=E({type:e,selectors:[["uds-field-imgchoice"]],inputs:{field:"field"},outputs:{changed:"changed"},decls:8,vars:8,consts:[[3,"valueChange","ngModelChange","placeholder","ngModel","required","disabled"],[4,"ngFor","ngForOf"],[3,"changed","options"],[3,"value",4,"ngFor","ngForOf"],[3,"innerHTML",4,"ngIf"],[3,"innerHTML"],[3,"value"]],template:function(n,o){n&1&&(c(0,"mat-form-field")(1,"mat-label"),g(2),d(),c(3,"mat-select",0),b("valueChange",function(){return o.changed.emit(o)}),H("ngModelChange",function(s){return $(o.field.value,s)||(o.field.value=s),s}),c(4,"mat-select-trigger"),x(5,eK,2,1,"div",1),d(),c(6,"uds-cond-select-search",2),b("changed",function(s){return o.filter=s}),d(),x(7,tK,2,2,"mat-option",3),d()()),n&2&&(h(2),F(" ",o.field.gui.label," "),h(),p("placeholder",o.field.gui.tooltip),U("ngModel",o.field.value),p("required",o.field.gui.required===!0)("disabled",o.field.gui.readonly===!0),h(2),p("ngForOf",o.field.gui.choices),h(),p("options",o.field.gui.choices),h(),p("ngForOf",o.filteredValues()))},dependencies:[We,me,xe,Fi,Se,_e,Ae,bt,vf,nt,hi]});let i=e;return i})();var uR=(()=>{let e=class e{constructor(){this.field={},this.changed=new T,this.value=new Date}get date(){return this.value}set date(t){this.value!==t&&(this.value=t,this.field.value=Ca("%Y-%m-%d",this.value))}ngOnInit(){this.field.value=this.field.value||this.field.gui.default||"",this.field.value==="2000-01-01"?this.field.value=Ca("%Y-01-01"):this.field.value==="2000-01-01"&&(this.field.value=Ca("%Y-12-31"));let t=this.field.value.split("-");t.length===3&&(this.value=new Date(+t[0],+t[1]-1,+t[2]))}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=E({type:e,selectors:[["uds-field-date"]],inputs:{field:"field"},outputs:{changed:"changed"},decls:7,vars:6,consts:[["endDatePicker",""],[1,"oneHalf"],["matInput","",3,"ngModelChange","matDatepicker","ngModel","placeholder","disabled"],["matSuffix","",3,"for"]],template:function(n,o){if(n&1){let a=A();c(0,"mat-form-field",1)(1,"mat-label"),g(2),d(),c(3,"input",2),H("ngModelChange",function(l){return y(a),$(o.date,l)||(o.date=l),w(l)}),d(),I(4,"mat-datepicker-toggle",3)(5,"mat-datepicker",null,0),d()}if(n&2){let a=we(6);h(2),F(" ",o.field.gui.label," "),h(),p("matDatepicker",a),U("ngModel",o.date),p("placeholder",o.field.gui.tooltip)("disabled",o.field.gui.readonly===!0),h(),p("for",a)}},dependencies:[lt,xe,Se,_e,Ae,uo,ft,sg,ec,Xd]});let i=e;return i})();function iK(i,e){if(i&1){let r=A();c(0,"mat-chip-row",5),b("removed",function(){let n=y(r).$implicit,o=_();return w(o.remove(n))}),g(1),c(2,"i",6),g(3,"cancel"),d()()}if(i&2){let r=e.$implicit,t=_();p("removable",t.field.gui.readonly!==!0),h(),F(" ",r," ")}}var hR=(()=>{let e=class e{constructor(){this.field={},this.changed=new T,this.separatorKeysCodes=[13,188]}ngOnInit(){this.field.value=this.field.value||new Array,this.field.value.forEach((t,n,o)=>{t.trim()===""&&o.splice(n,1)})}add(t){let n=t.input,o=t.value;(o||"").trim()&&this.field.value&&this.field.value.push(o.trim()),n&&(n.value="")}remove(t){if(!this.field.value){console.warn("Trying to remove tag from field with no values: "+this.field.name);return}let n=this.field.value.indexOf(t);n>=0&&this.field.value.splice(n,1)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=E({type:e,selectors:[["uds-field-tags"]],inputs:{field:"field"},outputs:{changed:"changed"},decls:7,vars:7,consts:[["chipList",""],["floatLabel","always"],[3,"change","disabled"],[3,"removable","removed",4,"ngFor","ngForOf"],[3,"matChipInputTokenEnd","placeholder","matChipInputFor","matChipInputSeparatorKeyCodes","matChipInputAddOnBlur"],[3,"removed","removable"],["matChipRemove","",1,"material-icons"]],template:function(n,o){if(n&1){let a=A();c(0,"mat-form-field",1)(1,"mat-label"),g(2),d(),c(3,"mat-chip-grid",2,0),b("change",function(){return y(a),w(o.changed.emit(o))}),x(5,iK,4,2,"mat-chip-row",3),c(6,"input",4),b("matChipInputTokenEnd",function(l){return y(a),w(o.add(l))}),d()()()}if(n&2){let a=we(4);h(2),F(" ",o.field.gui.label," "),h(),p("disabled",o.field.gui.readonly===!0),h(2),p("ngForOf",o.field.value),h(),p("placeholder",o.field.gui.tooltip)("matChipInputFor",a)("matChipInputSeparatorKeyCodes",o.separatorKeysCodes)("matChipInputAddOnBlur",!0)}},dependencies:[We,_e,Ae,jO,BO,VO,vC],styles:["*.mat-chip-trailing-icon[_ngcontent-%COMP%]{position:relative;top:-4px;left:-4px}mat-form-field[_ngcontent-%COMP%]{width:99.5%}"]});let i=e;return i})();var lEe=su(fR());var gR=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=te({type:e,bootstrap:[ZO]}),e.\u0275inj=ee({providers:[B,X,{provide:Ma,useClass:XO},UI(HI())],imports:[Tm,iO,OO,GO,WT.forRoot({echarts:()=>import("./chunk-IRQMDTYH.js")})]});let i=e;return i})();JE($p,function(){return[ul,bm,lr,JO,tR,iR,nR,oR,rR,aR,lR,cR,dR,uR,hR,eR]},[]);qp.production&&void 0;ZI().bootstrapModule(gR).catch(i=>console.log(i)); +`,r=new Blob([o],{type:"application/extension-vnc"});setTimeout(()=>{(0,NA.saveAs)(r,t.ip+".vnc",{autoBom:!1})},100)}onCustomAssigned(t){return H(this,null,function*(){let o=t.table.selection.selected[0];if(t.param.id==="change-owner"){if(["E","R","M","S","C"].includes(o.state))return;(yield sg.launch(this.api,o,this.assignedServices))===!0&&t.table.overview()}else t.param.id==="log"?$d.launch(this.api,o,this.assignedServices):t.param.id==="assign-service"?(yield PA.launch(this.api,this.servicePool))===!0&&t.table.overview():t.param.id==="vnc"&&this.vnc(o)})}onCustomCached(t){let o=t.table.selection.selected[0];t.param.id==="log"&&this.cache&&$d.launch(this.api,o,this.cache)}processsAssignedElement(t){t.in_use=this.api.boolAsHumanString(t.in_use),t.origState=t.state,t.state==="U"&&(t.state=t.os_state!==""&&t.os_state!=="U"?"Z":"U")}onDeleteAssigned(t){i.cleanInvalidSelections(t)||this.api.gui.forms.deleteForm(t,django.gettext("Delete assigned service"))}onDeleteCache(t){i.cleanInvalidSelections(t)||this.api.gui.forms.deleteForm(t,django.gettext("Delete cached service"))}processsCacheElement(t){t.origState=t.state,t.state==="U"&&(t.state=t.os_state!==""&&t.os_state!=="U"?"Z":"U")}onNewGroup(t){return H(this,null,function*(){(yield lg.launch(this.api,this.servicePool,this.groups))===!0&&t.table.overview()})}onDeleteGroup(t){return H(this,null,function*(){this.api.gui.forms.deleteForm(t,django.gettext("Delete assigned group"))})}onNewTransport(t){return H(this,null,function*(){(yield kA.launch(this.api,this.servicePool))===!0&&t.table.overview()})}onDeleteTransport(t){return H(this,null,function*(){this.api.gui.forms.deleteForm(t,django.gettext("Delete assigned transport"))})}onNewPublication(t){return H(this,null,function*(){(yield AA.launch(this.api,this.servicePool))===!0&&t.table.overview()})}onPublicationRowSelect(t){t.table.selection.selected.length===1&&(this.customButtonsPublication[0].disabled=!["P","W","L","K"].includes(t.table.selection.selected[0].state))}onCustomPublication(t){t.param.id==="cancel-publication"?this.api.gui.questionDialog(django.gettext("Publication"),django.gettext("Cancel publication?"),!0).then(o=>{o&&this.publications&&this.publications.invoke(t.table.selection.selected[0].id+"/cancel").then(r=>{this.api.gui.snackbar.open(django.gettext("Publication canceled"),django.gettext("dismiss"),{duration:2e3}),t.table.overview()})}):t.param.id==="changelog"&&RA.launch(this.api,this.servicePool)}onNewScheduledAction(t){Mw.launch(this.api,this.servicePool).subscribe(o=>t.table.overview())}onEditScheduledAction(t){Mw.launch(this.api,this.servicePool,t.table.selection.selected[0]).subscribe(o=>t.table.overview())}onDeleteScheduledAction(t){this.api.gui.forms.deleteForm(t,django.gettext("Delete scheduled action"))}onCustomScheduleAction(t){this.api.gui.questionDialog(django.gettext("Execute scheduled action"),django.gettext("Execute scheduled action right now?")).then(o=>{o&&this.scheduledActions.invoke(t.table.selection.selected[0].id+"/execute").then(()=>{this.api.gui.snackbar.open(django.gettext("Scheduled action executed"),django.gettext("dismiss"),{duration:2e3}),t.table.overview()})})}onNewAccessCalendar(t){Ql.launch(this.api,this.servicePool,this.accessCalendars).subscribe(o=>t.table.overview())}onEditAccessCalendar(t){Ql.launch(this.api,this.servicePool,this.accessCalendars,t.table.selection.selected[0]).subscribe(o=>t.table.overview())}onDeleteAccessCalendar(t){t.table.selection.selected[0].id!==-1?this.api.gui.forms.deleteForm(t,django.gettext("Delete calendar access rule")):this.onEditAccessCalendar(t)}onAccessCalendarLoad(t){this.rest.servicesPools.getFallbackAccess(this.servicePool.id).then(o=>{let r=t.table.dataSource.data.filter(a=>!0);r.push({id:-1,calendar:"-",priority:this.api.safeString('10000000FallBack'),access:o}),t.table.dataSource.data=r})}processsCalendarOrScheduledElement(t){t.name=t.calendar,t.atStart=this.api.boolAsHumanString(t.atStart)}};i.\u0275fac=function(o){return new(o||i)(C(Re),C(Z),C(B))},i.\u0275cmp=E({type:i,selectors:[["uds-service-pools-detail"]],standalone:!1,decls:9,vars:6,consts:[[1,"detail"],[1,"mat-elevation-z4","title"],[3,"routerLink"],[1,"material-icons"],[3,"src"],["class","card",4,"ngIf"],[1,"card"],[1,"card-content"],["backgroundColor","primary",3,"selectedIndexChange","selectedIndex"],["mat-tab-label",""],[1,"content"],[3,"value","gui",4,"ngIf"],["icon","pools",3,"customButtonAction","deleteAction","rest","multiSelect","allowExport","onItem","tableId","customButtons","pageSize"],[4,"ngIf"],["icon","groups",3,"newAction","deleteAction","rest","multiSelect","allowExport","customButtons","tableId","pageSize"],["icon","transports",3,"newAction","deleteAction","rest","multiSelect","allowExport","customButtons","tableId","pageSize"],["icon","calendars",3,"customButtonAction","newAction","editAction","deleteAction","rest","multiSelect","allowExport","tableId","customButtons","onItem","pageSize"],["icon","calendars",3,"newAction","editAction","deleteAction","loaded","rest","multiSelect","allowExport","customButtons","tableId","onItem","pageSize"],[3,"poolUuid"],[3,"rest","itemId","tableId","pageSize"],[3,"value","gui"],["icon","cached",3,"customButtonAction","deleteAction","rest","multiSelect","allowExport","onItem","tableId","customButtons","pageSize"],["icon","publications",3,"customButtonAction","newAction","rowSelected","rest","multiSelect","allowExport","tableId","customButtons","pageSize"]],template:function(o,r){o&1&&(c(0,"div",0)(1,"div",1)(2,"a",2)(3,"i",3),f(4,"arrow_back"),d()(),f(5," \xA0"),M(6,"img",4),f(7),d(),x(8,s9,37,43,"div",5),d()),o&2&&(u(2),p("routerLink",Un(4,q7,r.servicePool?r.servicePool.id:"")),u(4),p("src",r.api.staticURL("admin/img/icons/pools.png"),Se),u(),O(" \xA0",r.servicePool==null?null:r.servicePool.name," "),u(),p("ngIf",r.servicePool!==null))},dependencies:[ue,bn,Jt,en,rn,ae,Ie,Ri,ho,FA],styles:[".mat-column-state{max-width:10rem;justify-content:center} .mat-column-revision, .mat-column-cache_level, .mat-column-in_use, .mat-column-priority{max-width:7rem;justify-content:center} .mat-column-publish_date, .mat-column-state_date, .mat-column-creation_date{width:14rem} .mat-column-trans_type, .mat-column-access{max-width:9rem} .mat-column-owner{overflow-wrap:break-word;word-wrap:break-word;-ms-word-break:break-all;word-break:break-all;word-break:break-word} .row-state-S>.mat-mdc-cell{color:gray!important} .row-state-C>.mat-mdc-cell{color:gray!important} .row-state-E>.mat-mdc-cell{color:red!important} .row-state-R>.mat-mdc-cell{color:orange!important}"]});let n=i;return n})();var Tw=(()=>{let i=class i{constructor(t,o,r){this.api=t,this.route=o,this.rest=r}ngOnInit(){}onNew(t){this.api.gui.forms.typedNewForm(t,django.gettext("New meta pool"))}onEdit(t){this.api.gui.forms.typedEditForm(t,django.gettext("Edit meta pool"))}onDelete(t){this.api.gui.forms.deleteForm(t,django.gettext("Delete meta pool"))}onDetail(t){this.api.navigation.gotoMetapoolDetail(t.param.id)}processElement(t){t.visible=this.api.boolAsHumanString(t.visible),t.name=this.api.safeString(this.api.gui.icon(t.thumb)+t.name),t.pool_group_name=this.api.safeString(this.api.gui.icon(t.pool_group_thumb)+t.pool_group_name)}onLoad(t){t.param===!0&&t.table.selectElement("id",this.route.snapshot.paramMap.get("metapool"))}};i.\u0275fac=function(o){return new(o||i)(C(B),C(Re),C(Z))},i.\u0275cmp=E({type:i,selectors:[["uds-meta-pools"]],standalone:!1,decls:2,vars:6,consts:[["icon","metas",3,"detailAction","newAction","editAction","deleteAction","loaded","rest","multiSelect","allowExport","onItem","hasPermissions","pageSize"]],template:function(o,r){o&1&&(c(0,"div")(1,"uds-table",0),b("detailAction",function(s){return r.onDetail(s)})("newAction",function(s){return r.onNew(s)})("editAction",function(s){return r.onEdit(s)})("deleteAction",function(s){return r.onDelete(s)})("loaded",function(s){return r.onLoad(s)}),d()()),o&2&&(u(),p("rest",r.rest.metaPools)("multiSelect",!0)("allowExport",!0)("onItem",r.processElement)("hasPermissions",!0)("pageSize",r.api.config.admin.page_size))},dependencies:[Ie],styles:[".mat-column-user_services_count, .mat-column-user_services_in_preparation, .mat-column-visible, .mat-column-pool_group_name{max-width:7rem;justify-content:center}"]});let n=i;return n})();function p9(n,i){n&1&&(c(0,"uds-translate"),f(1,"New member pool"),d())}function h9(n,i){n&1&&(c(0,"uds-translate"),f(1,"Edit member pool"),d())}function f9(n,i){if(n&1){let e=k();c(0,"uds-cond-select-search",11),b("changed",function(o){y(e);let r=_();return w(r.servicePoolsFilter=o)}),d()}}function g9(n,i){if(n&1&&(c(0,"mat-option",12),f(1),d()),n&2){let e=i.$implicit;p("value",e.id),u(),O(" ",e.name," ")}}var kw=(()=>{let i=class i{constructor(t,o,r,a){this.api=t,this.rest=o,this.dialogRef=r,this.done=new Xt,this.servicePools=[],this.servicePoolsFilter="",this.model=a.model,this.memberPool={id:void 0,priority:0,pool_id:"",enabled:!0},a.memberPool&&(this.memberPool.id=a.memberPool.id)}static launch(t,o,r){let a=window.innerWidth<800?"60%":"40%";return t.gui.dialog.open(i,{width:a,position:{top:window.innerWidth<800?"0px":"7rem"},data:{memberPool:r,model:o},disableClose:!1}).componentInstance.done}ngOnInit(){return H(this,null,function*(){this.servicePools=yield this.rest.servicesPools.summary(),this.memberPool.id&&(this.memberPool=yield this.model.get(this.memberPool.id))})}filtered(t,o){return o?t.filter(r=>r.name.toLocaleLowerCase().includes(o.toLocaleLowerCase())):t}save(){return H(this,null,function*(){if(!this.memberPool.pool_id){this.api.gui.alert(django.gettext("Error"),django.gettext("Please, select a valid service pool"));return}yield this.model.save(this.memberPool),this.dialogRef.close(),this.done.resolve(!0)})}cancel(){this.dialogRef.close(),this.done.resolve(!1)}};i.\u0275fac=function(o){return new(o||i)(C(B),C(Z),C(Ne),C(Ke))},i.\u0275cmp=E({type:i,selectors:[["uds-meta-pools-service-pools"]],standalone:!1,decls:30,vars:8,consts:[["mat-dialog-title",""],[4,"ngIf"],[1,"content"],["matInput","","type","number",3,"ngModelChange","ngModel"],[3,"ngModelChange","ngModel"],[3,"changed",4,"ngIf"],[3,"value",4,"ngFor","ngForOf"],[1,"mat-form-field-infix"],[1,"label-enabled"],["mat-raised-button","","color","warn",3,"click"],["mat-raised-button","","color","primary",3,"click"],[3,"changed"],[3,"value"]],template:function(o,r){o&1&&(c(0,"h4",0),x(1,p9,2,0,"uds-translate",1)(2,h9,2,0,"uds-translate",1),d(),c(3,"mat-dialog-content")(4,"div",2)(5,"mat-form-field")(6,"mat-label")(7,"uds-translate"),f(8,"Priority"),d()(),c(9,"input",3),U("ngModelChange",function(s){return W(r.memberPool.priority,s)||(r.memberPool.priority=s),s}),d()(),c(10,"mat-form-field")(11,"mat-label")(12,"uds-translate"),f(13,"Service pool"),d()(),c(14,"mat-select",4),U("ngModelChange",function(s){return W(r.memberPool.pool_id,s)||(r.memberPool.pool_id=s),s}),x(15,f9,1,0,"uds-cond-select-search",5)(16,g9,2,2,"mat-option",6),d()(),c(17,"div",7)(18,"span",8)(19,"uds-translate"),f(20,"Enabled?"),d()(),c(21,"mat-slide-toggle",4),U("ngModelChange",function(s){return W(r.memberPool.enabled,s)||(r.memberPool.enabled=s),s}),f(22),d()()()(),c(23,"mat-dialog-actions")(24,"button",9),b("click",function(){return r.cancel()}),c(25,"uds-translate"),f(26,"Cancel"),d()(),c(27,"button",10),b("click",function(){return r.save()}),c(28,"uds-translate"),f(29,"Ok"),d()()()),o&2&&(u(),p("ngIf",!(r.memberPool!=null&&r.memberPool.id)),u(),p("ngIf",r.memberPool==null?null:r.memberPool.id),u(7),z("ngModel",r.memberPool.priority),u(5),z("ngModel",r.memberPool.pool_id),u(),p("ngIf",r.servicePools.length>10),u(),p("ngForOf",r.filtered(r.servicePools,r.servicePoolsFilter)),u(5),z("ngModel",r.memberPool.enabled),u(),O(" ",r.api.boolAsHumanString(r.memberPool.enabled)," "))},dependencies:[$e,ue,lt,Gi,we,xe,Te,Xe,et,Je,fe,ke,pt,vt,nt,sr,ae,pn],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:100%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}.label-enabled[_ngcontent-%COMP%]{color:#0009;display:block;font-weight:400;left:0;line-height:18px;overflow:hidden;pointer-events:none;position:absolute;text-align:left;text-overflow:ellipsis;top:.5em;transform:matrix(.75,0,0,.75,0,-21.5);transform-origin:0px 0px;white-space:nowrap}"]});let n=i;return n})();var _9=n=>["/pools","meta-pools",n];function v9(n,i){n&1&&(c(0,"uds-translate"),f(1,"Summary"),d())}function b9(n,i){if(n&1&&M(0,"uds-information",17),n&2){let e=_(2);p("value",e.metaPool)("gui",e.gui)}}function y9(n,i){n&1&&(c(0,"uds-translate"),f(1,"Service pools"),d())}function w9(n,i){n&1&&(c(0,"uds-translate"),f(1,"Assigned services"),d())}function C9(n,i){n&1&&(c(0,"uds-translate"),f(1,"Groups"),d())}function x9(n,i){n&1&&(c(0,"uds-translate"),f(1,"Access calendars"),d())}function D9(n,i){n&1&&(c(0,"uds-translate"),f(1,"Logs"),d())}function S9(n,i){if(n&1){let e=k();c(0,"div",6)(1,"div",7)(2,"mat-tab-group",8),U("selectedIndexChange",function(o){y(e);let r=_();return W(r.selectedTab,o)||(r.selectedTab=o),w(o)}),c(3,"mat-tab"),x(4,v9,2,0,"ng-template",9),c(5,"div",10),x(6,b9,1,2,"uds-information",11),d()(),c(7,"mat-tab"),x(8,y9,2,0,"ng-template",9),c(9,"div",10)(10,"uds-table",12),b("newAction",function(o){y(e);let r=_();return w(r.onNewMemberPool(o))})("editAction",function(o){y(e);let r=_();return w(r.onEditMemberPool(o))})("deleteAction",function(o){y(e);let r=_();return w(r.onDeleteMemberPool(o))}),d()()(),c(11,"mat-tab"),x(12,w9,2,0,"ng-template",9),c(13,"div",10)(14,"uds-table",13),b("customButtonAction",function(o){y(e);let r=_();return w(r.onCustomAssigned(o))})("deleteAction",function(o){y(e);let r=_();return w(r.onDeleteAssigned(o))}),d()()(),c(15,"mat-tab"),x(16,C9,2,0,"ng-template",9),c(17,"div",10)(18,"uds-table",14),b("newAction",function(o){y(e);let r=_();return w(r.onNewGroup(o))})("deleteAction",function(o){y(e);let r=_();return w(r.onDeleteGroup(o))}),d()()(),c(19,"mat-tab"),x(20,x9,2,0,"ng-template",9),c(21,"div",10)(22,"uds-table",15),b("newAction",function(o){y(e);let r=_();return w(r.onNewAccessCalendar(o))})("editAction",function(o){y(e);let r=_();return w(r.onEditAccessCalendar(o))})("deleteAction",function(o){y(e);let r=_();return w(r.onDeleteAccessCalendar(o))})("loaded",function(o){y(e);let r=_();return w(r.onAccessCalendarLoad(o))}),d()()(),c(23,"mat-tab"),x(24,D9,2,0,"ng-template",9),c(25,"div",10),M(26,"uds-logs-table",16),d()()()()()}if(n&2){let e=_();u(2),z("selectedIndex",e.selectedTab),p("@.disabled",!0),u(4),p("ngIf",e.metaPool&&e.gui),u(4),p("rest",e.memberPools)("multiSelect",!0)("allowExport",!0)("onItem",e.processElement)("customButtons",e.customButtons)("tableId","metaPools-d-members"+e.metaPool.id)("pageSize",e.api.config.admin.page_size),u(4),p("rest",e.memberUserServices)("multiSelect",!0)("allowExport",!0)("tableId","metaPools-d-services"+e.metaPool.id)("customButtons",e.customButtonsAssignedServices)("pageSize",e.api.config.admin.page_size),u(4),p("rest",e.groups)("multiSelect",!0)("allowExport",!0)("tableId","metaPools-d-groups"+e.metaPool.id)("pageSize",e.api.config.admin.page_size),u(4),p("rest",e.accessCalendars)("multiSelect",!0)("allowExport",!0)("tableId","metaPools-d-access"+e.metaPool.id)("pageSize",e.api.config.admin.page_size)("onItem",e.processsCalendarItem),u(4),p("rest",e.rest.metaPools)("itemId",e.metaPool.id)("tableId","metaPools-d-log"+e.metaPool.id)("pageSize",e.api.config.admin.page_size)}}var LA=(()=>{let i=class i{constructor(t,o,r){this.route=t,this.rest=o,this.api=r,this.customButtons=[Mn.getGotoButton(zd,"pool_id")],this.customButtonsAssignedServices=[{id:"change-owner",html:Iw,type:ct.SINGLE_SELECT},{id:"log",html:ug,type:ct.SINGLE_SELECT},Mn.getGotoButton(Ud,"owner_info.auth_id","owner_info.user_id")],this.metaPool=null,this.gui=null,this.selectedTab=1,this.memberPools={},this.memberUserServices={},this.groups={},this.accessCalendars={}}ngOnInit(){return H(this,null,function*(){let t=this.route.snapshot.paramMap.get("metapool");if(!t)return;let o=yield this.rest.metaPools.get(t),r=yield this.rest.metaPools.gui();this.memberPools=this.rest.metaPools.detail(t,"pools"),this.memberUserServices=this.rest.metaPools.detail(t,"services"),this.groups=this.rest.metaPools.detail(t,"groups"),this.accessCalendars=this.rest.metaPools.detail(t,"access"),this.metaPool=o,this.gui=r})}onNewMemberPool(t){return H(this,null,function*(){(yield kw.launch(this.api,this.memberPools))===!0&&t.table.overview()})}onEditMemberPool(t){return H(this,null,function*(){(yield kw.launch(this.api,this.memberPools,t.table.selection.selected[0]))===!0&&t.table.overview()})}onDeleteMemberPool(t){return H(this,null,function*(){this.api.gui.forms.deleteForm(t,django.gettext("Remove member pool"))})}onCustomAssigned(t){return H(this,null,function*(){let o=t.table.selection.selected[0];if(t.param.id==="change-owner"){if(["E","R","M","S","C"].includes(o.state))return;(yield sg.launch(this.api,o,this.memberUserServices))===!0&&t.table.overview()}else t.param.id==="log"&&$d.launch(this.api,o,this.memberUserServices)})}onDeleteAssigned(t){return H(this,null,function*(){mg.cleanInvalidSelections(t)||this.api.gui.forms.deleteForm(t,django.gettext("Delete assigned service"))})}onNewGroup(t){return H(this,null,function*(){(yield lg.launch(this.api,this.metaPool.id,this.groups))===!0&&t.table.overview()})}onDeleteGroup(t){this.api.gui.forms.deleteForm(t,django.gettext("Delete assigned group"))}onNewAccessCalendar(t){Ql.launch(this.api,this.metaPool,this.accessCalendars).subscribe(o=>t.table.overview())}onEditAccessCalendar(t){Ql.launch(this.api,this.metaPool,this.accessCalendars,t.table.selection.selected[0]).subscribe(o=>t.table.overview())}onDeleteAccessCalendar(t){t.table.selection.selected[0].id!==-1?this.api.gui.forms.deleteForm(t,django.gettext("Delete calendar access rule")):this.onEditAccessCalendar(t)}onAccessCalendarLoad(t){this.rest.metaPools.getFallbackAccess(this.metaPool.id).then(o=>{let r=t.table.dataSource.data.filter(a=>!0);r.push({id:-1,calendar:"-",priority:this.api.safeString('10000000FallBack'),access:o}),t.table.dataSource.data=r})}processElement(t){t.enabled=this.api.boolAsHumanString(t.enabled)}processsCalendarItem(t){t.name=t.calendar,t.atStart=this.api.boolAsHumanString(t.atStart)}};i.\u0275fac=function(o){return new(o||i)(C(Re),C(Z),C(B))},i.\u0275cmp=E({type:i,selectors:[["uds-meta-pools-detail"]],standalone:!1,decls:10,vars:8,consts:[[1,"detail"],[1,"mat-elevation-z4","title"],[3,"routerLink"],[1,"material-icons"],[3,"src"],["class","card",4,"ngIf"],[1,"card"],[1,"card-content"],["backgroundColor","primary",3,"selectedIndexChange","selectedIndex"],["mat-tab-label",""],[1,"content"],[3,"value","gui",4,"ngIf"],["icon","pools",3,"newAction","editAction","deleteAction","rest","multiSelect","allowExport","onItem","customButtons","tableId","pageSize"],["icon","pools",3,"customButtonAction","deleteAction","rest","multiSelect","allowExport","tableId","customButtons","pageSize"],["icon","groups",3,"newAction","deleteAction","rest","multiSelect","allowExport","tableId","pageSize"],["icon","calendars",3,"newAction","editAction","deleteAction","loaded","rest","multiSelect","allowExport","tableId","pageSize","onItem"],[3,"rest","itemId","tableId","pageSize"],[3,"value","gui"]],template:function(o,r){o&1&&(c(0,"div",0)(1,"div",1)(2,"a",2)(3,"i",3),f(4,"arrow_back"),d()(),f(5," \xA0"),M(6,"img",4),f(7),d(),x(8,S9,27,31,"div",5),gt(9,"notEmpty"),d()),o&2&&(u(2),p("routerLink",Un(6,_9,r.metaPool?r.metaPool.id:"")),u(4),p("src",r.api.staticURL("admin/img/icons/metas.png"),Se),u(),O(" ",r.metaPool==null?null:r.metaPool.name," "),u(),p("ngIf",Ct(9,4,r.metaPool)))},dependencies:[ue,bn,Jt,en,rn,ae,Ie,Ri,ho,yn],styles:[".mat-column-enabled, .mat-column-priority{max-width:8rem;justify-content:center}"]});let n=i;return n})();var Aw=(()=>{let i=class i{constructor(t,o,r){this.route=t,this.rest=o,this.api=r}ngOnInit(){}onNew(t){this.api.gui.forms.typedNewForm(t,django.gettext("New pool group"),!1).then(()=>t.table.overview())}onEdit(t){return H(this,null,function*(){this.api.gui.forms.typedEditForm(t,django.gettext("Edit pool group"),!1)})}onDelete(t){this.api.gui.forms.deleteForm(t,django.gettext("Delete pool group"))}onLoad(t){t.param===!0&&t.table.selectElement("id",this.route.snapshot.paramMap.get("poolgroup"))}};i.\u0275fac=function(o){return new(o||i)(C(Re),C(Z),C(B))},i.\u0275cmp=E({type:i,selectors:[["uds-pool-groups"]],standalone:!1,decls:1,vars:5,consts:[["icon","spool-group",3,"newAction","editAction","deleteAction","loaded","rest","multiSelect","allowExport","hasPermissions","pageSize"]],template:function(o,r){o&1&&(c(0,"uds-table",0),b("newAction",function(s){return r.onNew(s)})("editAction",function(s){return r.onEdit(s)})("deleteAction",function(s){return r.onDelete(s)})("loaded",function(s){return r.onLoad(s)}),d()),o&2&&p("rest",r.rest.servicesPoolGroups)("multiSelect",!0)("allowExport",!0)("hasPermissions",!1)("pageSize",r.api.config.admin.page_size)},dependencies:[Ie],styles:[".mat-column-priority, .mat-column-thumb{max-width:7rem;justify-content:center}"]});let n=i;return n})();var Rw=(()=>{let i=class i{constructor(t,o,r){this.route=t,this.rest=o,this.api=r}ngOnInit(){}onNew(t){this.api.gui.forms.typedNewForm(t,django.gettext("New calendar"))}onEdit(t){this.api.gui.forms.typedEditForm(t,django.gettext("Edit calendar"))}onDelete(t){this.api.gui.forms.deleteForm(t,django.gettext("Delete calendar"))}onDetail(t){this.api.navigation.gotoCalendarDetail(t.param.id)}onLoad(t){t.param===!0&&t.table.selectElement("id",this.route.snapshot.paramMap.get("calendar"))}};i.\u0275fac=function(o){return new(o||i)(C(Re),C(Z),C(B))},i.\u0275cmp=E({type:i,selectors:[["uds-calendars"]],standalone:!1,decls:1,vars:5,consts:[["icon","calendars",3,"newAction","editAction","deleteAction","detailAction","loaded","rest","multiSelect","allowExport","hasPermissions","pageSize"]],template:function(o,r){o&1&&(c(0,"uds-table",0),b("newAction",function(s){return r.onNew(s)})("editAction",function(s){return r.onEdit(s)})("deleteAction",function(s){return r.onDelete(s)})("detailAction",function(s){return r.onDetail(s)})("loaded",function(s){return r.onLoad(s)}),d()),o&2&&p("rest",r.rest.calendars)("multiSelect",!0)("allowExport",!0)("hasPermissions",!0)("pageSize",r.api.config.admin.page_size)},dependencies:[Ie],encapsulation:2});let n=i;return n})();var E9=["mat-calendar-body",""];function M9(n,i){return this._trackRow(i)}var GA=(n,i)=>i.id;function I9(n,i){if(n&1&&(c(0,"tr",0)(1,"td",3),f(2),d()()),n&2){let e=_();u(),zn("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),ee("colspan",e.numCols),u(),O(" ",e.label," ")}}function T9(n,i){if(n&1&&(c(0,"td",3),f(1),d()),n&2){let e=_(2);zn("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),ee("colspan",e._firstRowOffset),u(),O(" ",e._firstRowOffset>=e.labelMinRequiredCells?e.label:""," ")}}function k9(n,i){if(n&1){let e=k();c(0,"td",6)(1,"button",7),b("click",function(o){let r=y(e).$implicit,a=_(2);return w(a._cellClicked(r,o))})("focus",function(o){let r=y(e).$implicit,a=_(2);return w(a._emitActiveDateChange(r,o))}),c(2,"span",8),f(3),d(),M(4,"span",9),d()()}if(n&2){let e=i.$implicit,t=i.$index,o=_().$index,r=_();zn("width",r._cellWidth)("padding-top",r._cellPadding)("padding-bottom",r._cellPadding),ee("data-mat-row",o)("data-mat-col",t),u(),ne("mat-calendar-body-disabled",!e.enabled)("mat-calendar-body-active",r._isActiveCell(o,t))("mat-calendar-body-range-start",r._isRangeStart(e.compareValue))("mat-calendar-body-range-end",r._isRangeEnd(e.compareValue))("mat-calendar-body-in-range",r._isInRange(e.compareValue))("mat-calendar-body-comparison-bridge-start",r._isComparisonBridgeStart(e.compareValue,o,t))("mat-calendar-body-comparison-bridge-end",r._isComparisonBridgeEnd(e.compareValue,o,t))("mat-calendar-body-comparison-start",r._isComparisonStart(e.compareValue))("mat-calendar-body-comparison-end",r._isComparisonEnd(e.compareValue))("mat-calendar-body-in-comparison-range",r._isInComparisonRange(e.compareValue))("mat-calendar-body-preview-start",r._isPreviewStart(e.compareValue))("mat-calendar-body-preview-end",r._isPreviewEnd(e.compareValue))("mat-calendar-body-in-preview",r._isInPreview(e.compareValue)),p("ngClass",e.cssClasses)("tabindex",r._isActiveCell(o,t)?0:-1),ee("aria-label",e.ariaLabel)("aria-disabled",!e.enabled||null)("aria-pressed",r._isSelected(e.compareValue))("aria-current",r.todayValue===e.compareValue?"date":null)("aria-describedby",r._getDescribedby(e.compareValue)),u(),ne("mat-calendar-body-selected",r._isSelected(e.compareValue))("mat-calendar-body-comparison-identical",r._isComparisonIdentical(e.compareValue))("mat-calendar-body-today",r.todayValue===e.compareValue),u(),O(" ",e.displayValue," ")}}function A9(n,i){if(n&1&&(c(0,"tr",1),x(1,T9,2,6,"td",4),Dr(2,k9,5,48,"td",5,GA),d()),n&2){let e=i.$implicit,t=i.$index,o=_();u(),Ce(t===0&&o._firstRowOffset?1:-1),u(),Sr(e)}}function R9(n,i){if(n&1&&(c(0,"th",2)(1,"span",6),f(2),d(),c(3,"span",3),f(4),d()()),n&2){let e=i.$implicit;u(2),Ge(e.long),u(2),Ge(e.narrow)}}var O9=["*"];function P9(n,i){}function F9(n,i){if(n&1){let e=k();c(0,"mat-month-view",4),U("activeDateChange",function(o){y(e);let r=_();return W(r.activeDate,o)||(r.activeDate=o),w(o)}),b("_userSelection",function(o){y(e);let r=_();return w(r._dateSelected(o))})("dragStarted",function(o){y(e);let r=_();return w(r._dragStarted(o))})("dragEnded",function(o){y(e);let r=_();return w(r._dragEnded(o))}),d()}if(n&2){let e=_();z("activeDate",e.activeDate),p("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)("comparisonStart",e.comparisonStart)("comparisonEnd",e.comparisonEnd)("startDateAccessibleName",e.startDateAccessibleName)("endDateAccessibleName",e.endDateAccessibleName)("activeDrag",e._activeDrag)}}function N9(n,i){if(n&1){let e=k();c(0,"mat-year-view",5),U("activeDateChange",function(o){y(e);let r=_();return W(r.activeDate,o)||(r.activeDate=o),w(o)}),b("monthSelected",function(o){y(e);let r=_();return w(r._monthSelectedInYearView(o))})("selectedChange",function(o){y(e);let r=_();return w(r._goToDateInView(o,"month"))}),d()}if(n&2){let e=_();z("activeDate",e.activeDate),p("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function L9(n,i){if(n&1){let e=k();c(0,"mat-multi-year-view",6),U("activeDateChange",function(o){y(e);let r=_();return W(r.activeDate,o)||(r.activeDate=o),w(o)}),b("yearSelected",function(o){y(e);let r=_();return w(r._yearSelectedInMultiYearView(o))})("selectedChange",function(o){y(e);let r=_();return w(r._goToDateInView(o,"year"))}),d()}if(n&2){let e=_();z("activeDate",e.activeDate),p("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function V9(n,i){}var B9=["button"],j9=[[["","matDatepickerToggleIcon",""]]],z9=["[matDatepickerToggleIcon]"];function U9(n,i){n&1&&(fn(),c(0,"svg",2),M(1,"path",3),d())}var Kd=(()=>{class n{changes=new j;calendarLabel="Calendar";openCalendarLabel="Open calendar";closeCalendarLabel="Close calendar";prevMonthLabel="Previous month";nextMonthLabel="Next month";prevYearLabel="Previous year";nextYearLabel="Next year";prevMultiYearLabel="Previous 24 years";nextMultiYearLabel="Next 24 years";switchToMonthViewLabel="Choose date";switchToMultiYearViewLabel="Choose month and year";startDateLabel="Start date";endDateLabel="End date";formatYearRange(e,t){return`${e} \u2013 ${t}`}formatYearRangeLabel(e,t){return`${e} to ${t}`}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),H9=0,Yd=class{value;displayValue;ariaLabel;enabled;cssClasses;compareValue;rawValue;id=H9++;constructor(i,e,t,o,r={},a=i,s){this.value=i,this.displayValue=e,this.ariaLabel=t,this.enabled=o,this.cssClasses=r,this.compareValue=a,this.rawValue=s}},VA=Wn({passive:!1,capture:!0}),ka=Wn({passive:!0,capture:!0}),pg=Wn({passive:!0}),Zl=(()=>{class n{_elementRef=h(Q);_ngZone=h(te);_platform=h(rt);_skipNextFocus;_focusActiveCellAfterViewChecked=!1;label;rows;todayValue;startValue;endValue;labelMinRequiredCells;numCols=7;activeCell=0;ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}isRange=!1;cellAspectRatio=1;comparisonStart;comparisonEnd;previewStart=null;previewEnd=null;startDateAccessibleName;endDateAccessibleName;selectedValueChange=new T;previewChange=new T;activeDateChange=new T;dragStarted=new T;dragEnded=new T;_firstRowOffset;_cellPadding;_cellWidth;_startDateLabelId;_endDateLabelId;_didDragSinceMouseDown=!1;_injector=h(Ae);_trackRow=e=>e;constructor(){let e=h(ft);this._startDateLabelId=e.getId("mat-calendar-body-start-"),this._endDateLabelId=e.getId("mat-calendar-body-start-"),h(Mt).load(Dn),this._ngZone.runOutsideAngular(()=>{let t=this._elementRef.nativeElement;t.addEventListener("touchmove",this._touchmoveHandler,VA),t.addEventListener("mouseenter",this._enterHandler,ka),t.addEventListener("focus",this._enterHandler,ka),t.addEventListener("mouseleave",this._leaveHandler,ka),t.addEventListener("blur",this._leaveHandler,ka),t.addEventListener("mousedown",this._mousedownHandler,pg),t.addEventListener("touchstart",this._mousedownHandler,pg),this._platform.isBrowser&&(window.addEventListener("mouseup",this._mouseupHandler),window.addEventListener("touchend",this._touchendHandler))})}_cellClicked(e,t){this._didDragSinceMouseDown||e.enabled&&this.selectedValueChange.emit({value:e.value,event:t})}_emitActiveDateChange(e,t){e.enabled&&this.activeDateChange.emit({value:e.value,event:t})}_isSelected(e){return this.startValue===e||this.endValue===e}ngOnChanges(e){let t=e.numCols,{rows:o,numCols:r}=this;(e.rows||t)&&(this._firstRowOffset=o&&o.length&&o[0].length?r-o[0].length:0),(e.cellAspectRatio||t||!this._cellPadding)&&(this._cellPadding=`${50*this.cellAspectRatio/r}%`),(t||!this._cellWidth)&&(this._cellWidth=`${100/r}%`)}ngOnDestroy(){let e=this._elementRef.nativeElement;e.removeEventListener("touchmove",this._touchmoveHandler,VA),e.removeEventListener("mouseenter",this._enterHandler,ka),e.removeEventListener("focus",this._enterHandler,ka),e.removeEventListener("mouseleave",this._leaveHandler,ka),e.removeEventListener("blur",this._leaveHandler,ka),e.removeEventListener("mousedown",this._mousedownHandler,pg),e.removeEventListener("touchstart",this._mousedownHandler,pg),this._platform.isBrowser&&(window.removeEventListener("mouseup",this._mouseupHandler),window.removeEventListener("touchend",this._touchendHandler))}_isActiveCell(e,t){let o=e*this.numCols+t;return e&&(o-=this._firstRowOffset),o==this.activeCell}_focusActiveCell(e=!0){nn(()=>{setTimeout(()=>{let t=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");t&&(e||(this._skipNextFocus=!0),t.focus())})},{injector:this._injector})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(e){return Fw(e,this.startValue,this.endValue)}_isRangeEnd(e){return Nw(e,this.startValue,this.endValue)}_isInRange(e){return Lw(e,this.startValue,this.endValue,this.isRange)}_isComparisonStart(e){return Fw(e,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(e,t,o){if(!this._isComparisonStart(e)||this._isRangeStart(e)||!this._isInRange(e))return!1;let r=this.rows[t][o-1];if(!r){let a=this.rows[t-1];r=a&&a[a.length-1]}return r&&!this._isRangeEnd(r.compareValue)}_isComparisonBridgeEnd(e,t,o){if(!this._isComparisonEnd(e)||this._isRangeEnd(e)||!this._isInRange(e))return!1;let r=this.rows[t][o+1];if(!r){let a=this.rows[t+1];r=a&&a[0]}return r&&!this._isRangeStart(r.compareValue)}_isComparisonEnd(e){return Nw(e,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(e){return Lw(e,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(e){return this.comparisonStart===this.comparisonEnd&&e===this.comparisonStart}_isPreviewStart(e){return Fw(e,this.previewStart,this.previewEnd)}_isPreviewEnd(e){return Nw(e,this.previewStart,this.previewEnd)}_isInPreview(e){return Lw(e,this.previewStart,this.previewEnd,this.isRange)}_getDescribedby(e){return this.isRange?this.startValue===e&&this.endValue===e?`${this._startDateLabelId} ${this._endDateLabelId}`:this.startValue===e?this._startDateLabelId:this.endValue===e?this._endDateLabelId:null:null}_enterHandler=e=>{if(this._skipNextFocus&&e.type==="focus"){this._skipNextFocus=!1;return}if(e.target&&this.isRange){let t=this._getCellFromElement(e.target);t&&this._ngZone.run(()=>this.previewChange.emit({value:t.enabled?t:null,event:e}))}};_touchmoveHandler=e=>{if(!this.isRange)return;let t=BA(e),o=t?this._getCellFromElement(t):null;t!==e.target&&(this._didDragSinceMouseDown=!0),Pw(e.target)&&e.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:o?.enabled?o:null,event:e}))};_leaveHandler=e=>{this.previewEnd!==null&&this.isRange&&(e.type!=="blur"&&(this._didDragSinceMouseDown=!0),e.target&&this._getCellFromElement(e.target)&&!(e.relatedTarget&&this._getCellFromElement(e.relatedTarget))&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:e})))};_mousedownHandler=e=>{if(!this.isRange)return;this._didDragSinceMouseDown=!1;let t=e.target&&this._getCellFromElement(e.target);!t||!this._isInRange(t.compareValue)||this._ngZone.run(()=>{this.dragStarted.emit({value:t.rawValue,event:e})})};_mouseupHandler=e=>{if(!this.isRange)return;let t=Pw(e.target);if(!t){this._ngZone.run(()=>{this.dragEnded.emit({value:null,event:e})});return}t.closest(".mat-calendar-body")===this._elementRef.nativeElement&&this._ngZone.run(()=>{let o=this._getCellFromElement(t);this.dragEnded.emit({value:o?.rawValue??null,event:e})})};_touchendHandler=e=>{let t=BA(e);t&&this._mouseupHandler({target:t})};_getCellFromElement(e){let t=Pw(e);if(t){let o=t.getAttribute("data-mat-row"),r=t.getAttribute("data-mat-col");if(o&&r)return this.rows[parseInt(o)][parseInt(r)]}return null}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange",activeDateChange:"activeDateChange",dragStarted:"dragStarted",dragEnded:"dragEnded"},exportAs:["matCalendarBody"],features:[Ze],attrs:E9,decls:7,vars:5,consts:[["aria-hidden","true"],["role","row"],[1,"mat-calendar-body-hidden-label",3,"id"],[1,"mat-calendar-body-label"],[1,"mat-calendar-body-label",3,"paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"click","focus","ngClass","tabindex"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(t,o){t&1&&(x(0,I9,3,6,"tr",0),Dr(1,A9,4,1,"tr",1,M9,!0),c(3,"span",2),f(4),d(),c(5,"span",2),f(6),d()),t&2&&(Ce(o._firstRowOffset.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:var(--mat-datepicker-calendar-date-disabled-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:var(--mat-datepicker-calendar-date-today-disabled-state-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mat-calendar-body-disabled{opacity:.5}}.mat-calendar-body-cell-content{top:5%;left:5%;z-index:1;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px;color:var(--mat-datepicker-calendar-date-text-color, var(--mat-sys-on-surface));border-color:var(--mat-datepicker-calendar-date-outline-color, transparent)}.mat-calendar-body-cell-content.mat-focus-indicator{position:absolute}@media(forced-colors: active){.mat-calendar-body-cell-content{border:none}}.cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:var(--mat-datepicker-calendar-date-focus-state-background-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent))}@media(hover: hover){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:var(--mat-datepicker-calendar-date-hover-state-background-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}}.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-state-background-color, var(--mat-sys-primary));color:var(--mat-datepicker-calendar-date-selected-state-text-color, var(--mat-sys-on-primary))}.mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-disabled-state-background-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-calendar-body-selected.mat-calendar-body-today{box-shadow:inset 0 0 0 1px var(--mat-datepicker-calendar-date-today-selected-state-outline-color, var(--mat-sys-primary))}.mat-calendar-body-in-range::before{background:var(--mat-datepicker-calendar-date-in-range-state-background-color, var(--mat-sys-primary-container))}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-sys-tertiary-container))}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-sys-tertiary-container))}.mat-calendar-body-comparison-bridge-start::before,[dir=rtl] .mat-calendar-body-comparison-bridge-end::before{background:linear-gradient(to right, var(--mat-datepicker-calendar-date-in-range-state-background-color, var(--mat-sys-primary-container)) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-sys-tertiary-container)) 50%)}.mat-calendar-body-comparison-bridge-end::before,[dir=rtl] .mat-calendar-body-comparison-bridge-start::before{background:linear-gradient(to left, var(--mat-datepicker-calendar-date-in-range-state-background-color, var(--mat-sys-primary-container)) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-sys-tertiary-container)) 50%)}.mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range.mat-calendar-body-in-range::after{background:var(--mat-datepicker-calendar-date-in-overlap-range-state-background-color, var(--mat-sys-secondary-container))}.mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:var(--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color, var(--mat-sys-secondary))}@media(forced-colors: active){.mat-datepicker-popup:not(:empty),.mat-calendar-body-cell:not(.mat-calendar-body-in-range) .mat-calendar-body-selected{outline:solid 1px}.mat-calendar-body-today{outline:dotted 1px}.mat-calendar-body-cell::before,.mat-calendar-body-cell::after,.mat-calendar-body-selected{background:none}.mat-calendar-body-in-range::before,.mat-calendar-body-comparison-bridge-start::before,.mat-calendar-body-comparison-bridge-end::before{border-top:solid 1px;border-bottom:solid 1px}.mat-calendar-body-range-start::before{border-left:solid 1px}[dir=rtl] .mat-calendar-body-range-start::before{border-left:0;border-right:solid 1px}.mat-calendar-body-range-end::before{border-right:solid 1px}[dir=rtl] .mat-calendar-body-range-end::before{border-right:0;border-left:solid 1px}.mat-calendar-body-in-comparison-range::before{border-top:dashed 1px;border-bottom:dashed 1px}.mat-calendar-body-comparison-start::before{border-left:dashed 1px}[dir=rtl] .mat-calendar-body-comparison-start::before{border-left:0;border-right:dashed 1px}.mat-calendar-body-comparison-end::before{border-right:dashed 1px}[dir=rtl] .mat-calendar-body-comparison-end::before{border-right:0;border-left:dashed 1px}}'],encapsulation:2,changeDetection:0})}return n})();function Ow(n){return n?.nodeName==="TD"}function Pw(n){let i;return Ow(n)?i=n:Ow(n.parentNode)?i=n.parentNode:Ow(n.parentNode?.parentNode)&&(i=n.parentNode.parentNode),i?.getAttribute("data-mat-row")!=null?i:null}function Fw(n,i,e){return e!==null&&i!==e&&n=i&&n===e}function Lw(n,i,e,t){return t&&i!==null&&e!==null&&i!==e&&n>=i&&n<=e}function BA(n){let i=n.changedTouches[0];return document.elementFromPoint(i.clientX,i.clientY)}var fo=class{start;end;_disableStructuralEquivalency;constructor(i,e){this.start=i,this.end=e}},Qd=(()=>{class n{selection;_adapter;_selectionChanged=new j;selectionChanged=this._selectionChanged;constructor(e,t){this.selection=e,this._adapter=t,this.selection=e}updateSelection(e,t){let o=this.selection;this.selection=e,this._selectionChanged.next({selection:e,source:t,oldValue:o})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(e){return this._adapter.isDateInstance(e)&&this._adapter.isValid(e)}static \u0275fac=function(t){op()};static \u0275prov=P({token:n,factory:n.\u0275fac})}return n})(),W9=(()=>{class n extends Qd{constructor(e){super(null,e)}add(e){super.updateSelection(e,this)}isValid(){return this.selection!=null&&this._isValidDateInstance(this.selection)}isComplete(){return this.selection!=null}clone(){let e=new n(this._adapter);return e.updateSelection(this.selection,this),e}static \u0275fac=function(t){return new(t||n)(oe($n))};static \u0275prov=P({token:n,factory:n.\u0275fac})}return n})();function G9(n,i){return n||new W9(i)}var $A={provide:Qd,deps:[[new Bi,new So,Qd],$n],useFactory:G9};var qA=new R("MAT_DATE_RANGE_SELECTION_STRATEGY");var Vw=7,$9=0,jA=(()=>{class n{_changeDetectorRef=h(Ee);_dateFormats=h(ms,{optional:!0});_dateAdapter=h($n,{optional:!0});_dir=h(jt,{optional:!0});_rangeStrategy=h(qA,{optional:!0});_rerenderSubscription=ge.EMPTY;_selectionKeyPressed;get activeDate(){return this._activeDate}set activeDate(e){let t=this._activeDate,o=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(o,this.minDate,this.maxDate),this._hasSameMonthAndYear(t,this._activeDate)||this._init()}_activeDate;get selected(){return this._selected}set selected(e){e instanceof fo?this._selected=e:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setRanges(this._selected)}_selected;get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_minDate;get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_maxDate;dateFilter;dateClass;comparisonStart;comparisonEnd;startDateAccessibleName;endDateAccessibleName;activeDrag=null;selectedChange=new T;_userSelection=new T;dragStarted=new T;dragEnded=new T;activeDateChange=new T;_matCalendarBody;_monthLabel;_weeks;_firstWeekOffset;_rangeStart;_rangeEnd;_comparisonRangeStart;_comparisonRangeEnd;_previewStart;_previewEnd;_isRange;_todayDate;_weekdays;constructor(){h(Mt).load(Ao),this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Et(null)).subscribe(()=>this._init())}ngOnChanges(e){let t=e.comparisonStart||e.comparisonEnd;t&&!t.firstChange&&this._setRanges(this.selected),e.activeDrag&&!this.activeDrag&&this._clearPreview()}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(e){let t=e.value,o=this._getDateFromDayOfMonth(t),r,a;this._selected instanceof fo?(r=this._getDateInCurrentMonth(this._selected.start),a=this._getDateInCurrentMonth(this._selected.end)):r=a=this._getDateInCurrentMonth(this._selected),(r!==t||a!==t)&&this.selectedChange.emit(o),this._userSelection.emit({value:o,event:e.event}),this._clearPreview(),this._changeDetectorRef.markForCheck()}_updateActiveDate(e){let t=e.value,o=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(t),this._dateAdapter.compareDate(o,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(e){let t=this._activeDate,o=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,o?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,o?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case 40:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case 36:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case 33:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case 34:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case 13:case 32:this._selectionKeyPressed=!0,this._canSelect(this._activeDate)&&e.preventDefault();return;case 27:this._previewEnd!=null&&!Ot(e)&&(this._clearPreview(),this.activeDrag?this.dragEnded.emit({value:null,event:e}):(this.selectedChange.emit(null),this._userSelection.emit({value:null,event:e})),e.preventDefault(),e.stopPropagation());return;default:return}this._dateAdapter.compareDate(t,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),e.preventDefault()}_handleCalendarBodyKeyup(e){(e.keyCode===32||e.keyCode===13)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:e}),this._selectionKeyPressed=!1)}_init(){this._setRanges(this.selected),this._todayDate=this._getCellCompareValue(this._dateAdapter.today()),this._monthLabel=this._dateFormats.display.monthLabel?this._dateAdapter.format(this.activeDate,this._dateFormats.display.monthLabel):this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();let e=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(Vw+this._dateAdapter.getDayOfWeek(e)-this._dateAdapter.getFirstDayOfWeek())%Vw,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(e){this._matCalendarBody._focusActiveCell(e)}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_previewChanged({event:e,value:t}){if(this._rangeStrategy){let o=t?t.rawValue:null,r=this._rangeStrategy.createPreview(o,this.selected,e);if(this._previewStart=this._getCellCompareValue(r.start),this._previewEnd=this._getCellCompareValue(r.end),this.activeDrag&&o){let a=this._rangeStrategy.createDrag?.(this.activeDrag.value,this.selected,o,e);a&&(this._previewStart=this._getCellCompareValue(a.start),this._previewEnd=this._getCellCompareValue(a.end))}this._changeDetectorRef.detectChanges()}}_dragEnded(e){if(this.activeDrag)if(e.value){let t=this._rangeStrategy?.createDrag?.(this.activeDrag.value,this.selected,e.value,e.event);this.dragEnded.emit({value:t??null,event:e.event})}else this.dragEnded.emit({value:null,event:e.event})}_getDateFromDayOfMonth(e){return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),e)}_initWeekdays(){let e=this._dateAdapter.getFirstDayOfWeek(),t=this._dateAdapter.getDayOfWeekNames("narrow"),r=this._dateAdapter.getDayOfWeekNames("long").map((a,s)=>({long:a,narrow:t[s],id:$9++}));this._weekdays=r.slice(e).concat(r.slice(0,e))}_createWeekCells(){let e=this._dateAdapter.getNumDaysInMonth(this.activeDate),t=this._dateAdapter.getDateNames();this._weeks=[[]];for(let o=0,r=this._firstWeekOffset;o=0)&&(!this.maxDate||this._dateAdapter.compareDate(e,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(e))}_getDateInCurrentMonth(e){return e&&this._hasSameMonthAndYear(e,this.activeDate)?this._dateAdapter.getDate(e):null}_hasSameMonthAndYear(e,t){return!!(e&&t&&this._dateAdapter.getMonth(e)==this._dateAdapter.getMonth(t)&&this._dateAdapter.getYear(e)==this._dateAdapter.getYear(t))}_getCellCompareValue(e){if(e){let t=this._dateAdapter.getYear(e),o=this._dateAdapter.getMonth(e),r=this._dateAdapter.getDate(e);return new Date(t,o,r).getTime()}return null}_isRtl(){return this._dir&&this._dir.value==="rtl"}_setRanges(e){e instanceof fo?(this._rangeStart=this._getCellCompareValue(e.start),this._rangeEnd=this._getCellCompareValue(e.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(e),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}_canSelect(e){return!this.dateFilter||this.dateFilter(e)}_clearPreview(){this._previewStart=this._previewEnd=null}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["mat-month-view"]],viewQuery:function(t,o){if(t&1&&se(Zl,5),t&2){let r;$(r=q())&&(o._matCalendarBody=r.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName",activeDrag:"activeDrag"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",dragStarted:"dragStarted",dragEnded:"dragEnded",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[Ze],decls:8,vars:14,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col"],["aria-hidden","true"],["colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"selectedValueChange","activeDateChange","previewChange","dragStarted","dragEnded","keyup","keydown","label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","startDateAccessibleName","endDateAccessibleName"],[1,"cdk-visually-hidden"]],template:function(t,o){t&1&&(c(0,"table",0)(1,"thead",1)(2,"tr"),Dr(3,R9,5,2,"th",2,GA),d(),c(5,"tr",3),M(6,"th",4),d()(),c(7,"tbody",5),b("selectedValueChange",function(a){return o._dateSelected(a)})("activeDateChange",function(a){return o._updateActiveDate(a)})("previewChange",function(a){return o._previewChanged(a)})("dragStarted",function(a){return o.dragStarted.emit(a)})("dragEnded",function(a){return o._dragEnded(a)})("keyup",function(a){return o._handleCalendarBodyKeyup(a)})("keydown",function(a){return o._handleCalendarBodyKeydown(a)}),d()()),t&2&&(u(3),Sr(o._weekdays),u(4),p("label",o._monthLabel)("rows",o._weeks)("todayValue",o._todayDate)("startValue",o._rangeStart)("endValue",o._rangeEnd)("comparisonStart",o._comparisonRangeStart)("comparisonEnd",o._comparisonRangeEnd)("previewStart",o._previewStart)("previewEnd",o._previewEnd)("isRange",o._isRange)("labelMinRequiredCells",3)("activeCell",o._dateAdapter.getDate(o.activeDate)-1)("startDateAccessibleName",o.startDateAccessibleName)("endDateAccessibleName",o.endDateAccessibleName))},dependencies:[Zl],encapsulation:2,changeDetection:0})}return n})(),qi=24,Bw=4,zA=(()=>{class n{_changeDetectorRef=h(Ee);_dateAdapter=h($n,{optional:!0});_dir=h(jt,{optional:!0});_rerenderSubscription=ge.EMPTY;_selectionKeyPressed;get activeDate(){return this._activeDate}set activeDate(e){let t=this._activeDate,o=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(o,this.minDate,this.maxDate),YA(this._dateAdapter,t,this._activeDate,this.minDate,this.maxDate)||this._init()}_activeDate;get selected(){return this._selected}set selected(e){e instanceof fo?this._selected=e:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setSelectedYear(e)}_selected;get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_minDate;get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_maxDate;dateFilter;dateClass;selectedChange=new T;yearSelected=new T;activeDateChange=new T;_matCalendarBody;_years;_todayYear;_selectedYear;constructor(){this._dateAdapter,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Et(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());let t=this._dateAdapter.getYear(this._activeDate)-qd(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let o=0,r=[];othis._createCellForYear(a))),r=[]);this._changeDetectorRef.markForCheck()}_yearSelected(e){let t=e.value,o=this._dateAdapter.createDate(t,0,1),r=this._getDateFromYear(t);this.yearSelected.emit(o),this.selectedChange.emit(r)}_updateActiveDate(e){let t=e.value,o=this._activeDate;this.activeDate=this._getDateFromYear(t),this._dateAdapter.compareDate(o,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(e){let t=this._activeDate,o=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,o?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,o?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-Bw);break;case 40:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Bw);break;case 36:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-qd(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,qi-qd(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-qi*10:-qi);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?qi*10:qi);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(t,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked(),e.preventDefault()}_handleCalendarBodyKeyup(e){(e.keyCode===32||e.keyCode===13)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:e}),this._selectionKeyPressed=!1)}_getActiveCell(){return qd(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getDateFromYear(e){let t=this._dateAdapter.getMonth(this.activeDate),o=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(e,t,1));return this._dateAdapter.createDate(e,t,Math.min(this._dateAdapter.getDate(this.activeDate),o))}_createCellForYear(e){let t=this._dateAdapter.createDate(e,0,1),o=this._dateAdapter.getYearName(t),r=this.dateClass?this.dateClass(t,"multi-year"):void 0;return new Yd(e,o,o,this._shouldEnableYear(e),r)}_shouldEnableYear(e){if(e==null||this.maxDate&&e>this._dateAdapter.getYear(this.maxDate)||this.minDate&&e{class n{_changeDetectorRef=h(Ee);_dateFormats=h(ms,{optional:!0});_dateAdapter=h($n,{optional:!0});_dir=h(jt,{optional:!0});_rerenderSubscription=ge.EMPTY;_selectionKeyPressed;get activeDate(){return this._activeDate}set activeDate(e){let t=this._activeDate,o=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(o,this.minDate,this.maxDate),this._dateAdapter.getYear(t)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}_activeDate;get selected(){return this._selected}set selected(e){e instanceof fo?this._selected=e:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setSelectedMonth(e)}_selected;get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_minDate;get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_maxDate;dateFilter;dateClass;selectedChange=new T;monthSelected=new T;activeDateChange=new T;_matCalendarBody;_months;_yearLabel;_todayMonth;_selectedMonth;constructor(){this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Et(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(e){let t=e.value,o=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,1);this.monthSelected.emit(o);let r=this._getDateFromMonth(t);this.selectedChange.emit(r)}_updateActiveDate(e){let t=e.value,o=this._activeDate;this.activeDate=this._getDateFromMonth(t),this._dateAdapter.compareDate(o,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(e){let t=this._activeDate,o=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,o?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,o?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case 40:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case 36:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-10:-1);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?10:1);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(t,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),e.preventDefault()}_handleCalendarBodyKeyup(e){(e.keyCode===32||e.keyCode===13)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:e}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let e=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(t=>t.map(o=>this._createCellForMonth(o,e[o]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getMonthInCurrentYear(e){return e&&this._dateAdapter.getYear(e)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(e):null}_getDateFromMonth(e){let t=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1),o=this._dateAdapter.getNumDaysInMonth(t);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,Math.min(this._dateAdapter.getDate(this.activeDate),o))}_createCellForMonth(e,t){let o=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1),r=this._dateAdapter.format(o,this._dateFormats.display.monthYearA11yLabel),a=this.dateClass?this.dateClass(o,"year"):void 0;return new Yd(e,t.toLocaleUpperCase(),r,this._shouldEnableMonth(e),a)}_shouldEnableMonth(e){let t=this._dateAdapter.getYear(this.activeDate);if(e==null||this._isYearAndMonthAfterMaxDate(t,e)||this._isYearAndMonthBeforeMinDate(t,e))return!1;if(!this.dateFilter)return!0;let o=this._dateAdapter.createDate(t,e,1);for(let r=o;this._dateAdapter.getMonth(r)==e;r=this._dateAdapter.addCalendarDays(r,1))if(this.dateFilter(r))return!0;return!1}_isYearAndMonthAfterMaxDate(e,t){if(this.maxDate){let o=this._dateAdapter.getYear(this.maxDate),r=this._dateAdapter.getMonth(this.maxDate);return e>o||e===o&&t>r}return!1}_isYearAndMonthBeforeMinDate(e,t){if(this.minDate){let o=this._dateAdapter.getYear(this.minDate),r=this._dateAdapter.getMonth(this.minDate);return e{class n{_intl=h(Kd);calendar=h(jw);_dateAdapter=h($n,{optional:!0});_dateFormats=h(ms,{optional:!0});constructor(){h(Mt).load(Ao);let e=h(Ee);this.calendar.stateChanges.subscribe(()=>e.markForCheck())}get periodButtonText(){return this.calendar.currentView=="month"?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():this.calendar.currentView=="year"?this._dateAdapter.getYearName(this.calendar.activeDate):this._intl.formatYearRange(...this._formatMinAndMaxYearLabels())}get periodButtonDescription(){return this.calendar.currentView=="month"?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():this.calendar.currentView=="year"?this._dateAdapter.getYearName(this.calendar.activeDate):this._intl.formatYearRangeLabel(...this._formatMinAndMaxYearLabels())}get periodButtonLabel(){return this.calendar.currentView=="month"?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}get prevButtonLabel(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]}get nextButtonLabel(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]}currentPeriodClicked(){this.calendar.currentView=this.calendar.currentView=="month"?"multi-year":"month"}previousClicked(){this.calendar.activeDate=this.calendar.currentView=="month"?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,this.calendar.currentView=="year"?-1:-qi)}nextClicked(){this.calendar.activeDate=this.calendar.currentView=="month"?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,this.calendar.currentView=="year"?1:qi)}previousEnabled(){return this.calendar.minDate?!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate):!0}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_isSameView(e,t){return this.calendar.currentView=="month"?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(t)&&this._dateAdapter.getMonth(e)==this._dateAdapter.getMonth(t):this.calendar.currentView=="year"?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(t):YA(this._dateAdapter,e,t,this.calendar.minDate,this.calendar.maxDate)}_formatMinAndMaxYearLabels(){let t=this._dateAdapter.getYear(this.calendar.activeDate)-qd(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),o=t+qi-1,r=this._dateAdapter.getYearName(this._dateAdapter.createDate(t,0,1)),a=this._dateAdapter.getYearName(this._dateAdapter.createDate(o,0,1));return[r,a]}_periodButtonLabelId=h(ft).getId("mat-calendar-period-label-");static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:O9,decls:17,vars:11,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["aria-live","polite",1,"cdk-visually-hidden",3,"id"],["mat-button","","type","button",1,"mat-calendar-period-button",3,"click"],["aria-hidden","true"],["viewBox","0 0 10 5","focusable","false","aria-hidden","true",1,"mat-calendar-arrow"],["points","0,0 5,5 10,0"],[1,"mat-calendar-spacer"],["mat-icon-button","","type","button",1,"mat-calendar-previous-button",3,"click","disabled"],["viewBox","0 0 24 24","focusable","false","aria-hidden","true"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"click","disabled"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"]],template:function(t,o){t&1&&(We(),c(0,"div",0)(1,"div",1)(2,"span",2),f(3),d(),c(4,"button",3),b("click",function(){return o.currentPeriodClicked()}),c(5,"span",4),f(6),d(),fn(),c(7,"svg",5),M(8,"polygon",6),d()(),yr(),M(9,"div",7),re(10),c(11,"button",8),b("click",function(){return o.previousClicked()}),fn(),c(12,"svg",9),M(13,"path",10),d()(),yr(),c(14,"button",11),b("click",function(){return o.nextClicked()}),fn(),c(15,"svg",9),M(16,"path",12),d()()()()),t&2&&(u(2),p("id",o._periodButtonLabelId),u(),Ge(o.periodButtonDescription),u(),ee("aria-label",o.periodButtonLabel)("aria-describedby",o._periodButtonLabelId),u(2),Ge(o.periodButtonText),u(),ne("mat-calendar-invert",o.calendar.currentView!=="month"),u(4),p("disabled",!o.previousEnabled()),ee("aria-label",o.prevButtonLabel),u(3),p("disabled",!o.nextEnabled()),ee("aria-label",o.nextButtonLabel))},dependencies:[Te,Zn],encapsulation:2,changeDetection:0})}return n})(),jw=(()=>{class n{_dateAdapter=h($n,{optional:!0});_dateFormats=h(ms,{optional:!0});_changeDetectorRef=h(Ee);headerComponent;_calendarHeaderPortal;_intlChanges;_moveFocusOnNextTick=!1;get startAt(){return this._startAt}set startAt(e){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_startAt;startView="month";get selected(){return this._selected}set selected(e){e instanceof fo?this._selected=e:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_selected;get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_minDate;get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_maxDate;dateFilter;dateClass;comparisonStart;comparisonEnd;startDateAccessibleName;endDateAccessibleName;selectedChange=new T;yearSelected=new T;monthSelected=new T;viewChanged=new T(!0);_userSelection=new T;_userDragDrop=new T;monthView;yearView;multiYearView;get activeDate(){return this._clampedActiveDate}set activeDate(e){this._clampedActiveDate=this._dateAdapter.clampDate(e,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}_clampedActiveDate;get currentView(){return this._currentView}set currentView(e){let t=this._currentView!==e?e:null;this._currentView=e,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),t&&this.viewChanged.emit(t)}_currentView;_activeDrag=null;stateChanges=new j;constructor(){this._intlChanges=h(Kd).changes.subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}ngAfterContentInit(){this._calendarHeaderPortal=new Ti(this.headerComponent||KA),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(e){let t=e.minDate&&!this._dateAdapter.sameDate(e.minDate.previousValue,e.minDate.currentValue)?e.minDate:void 0,o=e.maxDate&&!this._dateAdapter.sameDate(e.maxDate.previousValue,e.maxDate.currentValue)?e.maxDate:void 0,r=t||o||e.dateFilter;if(r&&!r.firstChange){let a=this._getCurrentViewComponent();a&&(this._moveFocusOnNextTick=!0,this._changeDetectorRef.detectChanges(),a._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(e){let t=e.value;(this.selected instanceof fo||t&&!this._dateAdapter.sameDate(t,this.selected))&&this.selectedChange.emit(t),this._userSelection.emit(e)}_yearSelectedInMultiYearView(e){this.yearSelected.emit(e)}_monthSelectedInYearView(e){this.monthSelected.emit(e)}_goToDateInView(e,t){this.activeDate=e,this.currentView=t}_dragStarted(e){this._activeDrag=e}_dragEnded(e){this._activeDrag&&(e.value&&this._userDragDrop.emit(e),this._activeDrag=null)}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["mat-calendar"]],viewQuery:function(t,o){if(t&1&&(se(jA,5),se(UA,5),se(zA,5)),t&2){let r;$(r=q())&&(o.monthView=r.first),$(r=q())&&(o.yearView=r.first),$(r=q())&&(o.multiYearView=r.first)}},hostAttrs:[1,"mat-calendar"],inputs:{headerComponent:"headerComponent",startAt:"startAt",startView:"startView",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection",_userDragDrop:"_userDragDrop"},exportAs:["matCalendar"],features:[ye([$A]),Ze],decls:5,vars:2,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass"],[3,"activeDateChange","_userSelection","dragStarted","dragEnded","activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag"],[3,"activeDateChange","monthSelected","selectedChange","activeDate","selected","dateFilter","maxDate","minDate","dateClass"],[3,"activeDateChange","yearSelected","selectedChange","activeDate","selected","dateFilter","maxDate","minDate","dateClass"]],template:function(t,o){if(t&1&&(x(0,P9,0,0,"ng-template",0),c(1,"div",1),x(2,F9,1,11,"mat-month-view",2)(3,N9,1,6,"mat-year-view",3)(4,L9,1,6,"mat-multi-year-view",3),d()),t&2){let r;p("cdkPortalOutlet",o._calendarHeaderPortal),u(2),Ce((r=o.currentView)==="month"?2:r==="year"?3:r==="multi-year"?4:-1)}},dependencies:[si,ph,jA,UA,zA],styles:['.mat-calendar{display:block;line-height:normal;font-family:var(--mat-datepicker-calendar-text-font, var(--mat-sys-body-medium-font));font-size:var(--mat-datepicker-calendar-text-size, var(--mat-sys-body-medium-size))}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;align-items:center;margin:5% calc(4.7142857143% - 16px)}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0;margin:0 8px;font-size:var(--mat-datepicker-calendar-period-button-text-size, var(--mat-sys-title-small-size));font-weight:var(--mat-datepicker-calendar-period-button-text-weight, var(--mat-sys-title-small-weight));--mdc-text-button-label-text-color:var(--mat-datepicker-calendar-period-button-text-color, var(--mat-sys-on-surface-variant))}.mat-calendar-arrow{display:inline-block;width:10px;height:5px;margin:0 0 0 5px;vertical-align:middle;fill:var(--mat-datepicker-calendar-period-button-icon-color, var(--mat-sys-on-surface-variant))}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}@media(forced-colors: active){.mat-calendar-arrow{fill:CanvasText}}.mat-datepicker-content .mat-calendar-previous-button:not(.mat-mdc-button-disabled),.mat-datepicker-content .mat-calendar-next-button:not(.mat-mdc-button-disabled){color:var(--mat-datepicker-calendar-navigation-button-icon-color, var(--mat-sys-on-surface-variant))}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0;color:var(--mat-datepicker-calendar-header-text-color, var(--mat-sys-on-surface-variant));font-size:var(--mat-datepicker-calendar-header-text-size, var(--mat-sys-title-small-size));font-weight:var(--mat-datepicker-calendar-header-text-weight, var(--mat-sys-title-small-weight))}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px;background:var(--mat-datepicker-calendar-header-divider-color, transparent)}.mat-calendar-body-cell-content::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}.mat-calendar-body-cell:focus .mat-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return n})(),HA={transformPanel:mn("transformPanel",[xt("void => enter-dropdown",It("120ms cubic-bezier(0, 0, 0.2, 1)",wa([Me({opacity:0,transform:"scale(1, 0.8)"}),Me({opacity:1,transform:"scale(1, 1)"})]))),xt("void => enter-dialog",It("150ms cubic-bezier(0, 0, 0.2, 1)",wa([Me({opacity:0,transform:"scale(0.7)"}),Me({transform:"none",opacity:1})]))),xt("* => void",It("100ms linear",Me({opacity:0})))]),fadeInCalendar:mn("fadeInCalendar",[Ft("void",Me({opacity:0})),Ft("enter",Me({opacity:1})),xt("void => *",It("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])},ZA=new R("mat-datepicker-scroll-strategy",{providedIn:"root",factory:()=>{let n=h(Lt);return()=>n.scrollStrategies.reposition()}});function Y9(n){return()=>n.scrollStrategies.reposition()}var Q9={provide:ZA,deps:[Lt],useFactory:Y9},XA=(()=>{class n{_elementRef=h(Q);_changeDetectorRef=h(Ee);_globalModel=h(Qd);_dateAdapter=h($n);_rangeSelectionStrategy=h(qA,{optional:!0});_subscriptions=new ge;_model;_calendar;color;datepicker;comparisonStart;comparisonEnd;startDateAccessibleName;endDateAccessibleName;_isAbove;_animationState;_animationDone=new j;_isAnimating=!1;_closeButtonText;_closeButtonFocused;_actionsPortal=null;_dialogLabelId;constructor(){h(Mt).load(Ao);let e=h(Kd);this._closeButtonText=e.closeCalendarLabel}ngOnInit(){this._animationState=this.datepicker.touchUi?"enter-dialog":"enter-dropdown"}ngAfterViewInit(){this._subscriptions.add(this.datepicker.stateChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})),this._calendar.focusActiveCell()}ngOnDestroy(){this._subscriptions.unsubscribe(),this._animationDone.complete()}_handleUserSelection(e){let t=this._model.selection,o=e.value,r=t instanceof fo;if(r&&this._rangeSelectionStrategy){let a=this._rangeSelectionStrategy.selectionFinished(o,t,e.event);this._model.updateSelection(a,this)}else o&&(r||!this._dateAdapter.sameDate(o,t))&&this._model.add(o);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_handleUserDragDrop(e){this._model.updateSelection(e.value,this)}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}_handleAnimationEvent(e){this._isAnimating=e.phaseName==="start",this._isAnimating||this._animationDone.next()}_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}_assignActions(e,t){this._model=e?this._globalModel.clone():this._globalModel,this._actionsPortal=e,t&&this._changeDetectorRef.detectChanges()}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["mat-datepicker-content"]],viewQuery:function(t,o){if(t&1&&se(jw,5),t&2){let r;$(r=q())&&(o._calendar=r.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:5,hostBindings:function(t,o){t&1&&Vc("@transformPanel.start",function(a){return o._handleAnimationEvent(a)})("@transformPanel.done",function(a){return o._handleAnimationEvent(a)}),t&2&&(Lc("@transformPanel",o._animationState),Yt(o.color?"mat-"+o.color:""),ne("mat-datepicker-content-touch",o.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],decls:5,vars:27,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"yearSelected","monthSelected","viewChanged","_userSelection","_userDragDrop","id","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",3,"focus","blur","click","color"]],template:function(t,o){if(t&1&&(c(0,"div",0)(1,"mat-calendar",1),b("yearSelected",function(a){return o.datepicker._selectYear(a)})("monthSelected",function(a){return o.datepicker._selectMonth(a)})("viewChanged",function(a){return o.datepicker._viewChanged(a)})("_userSelection",function(a){return o._handleUserSelection(a)})("_userDragDrop",function(a){return o._handleUserDragDrop(a)}),d(),x(2,V9,0,0,"ng-template",2),c(3,"button",3),b("focus",function(){return o._closeButtonFocused=!0})("blur",function(){return o._closeButtonFocused=!1})("click",function(){return o.datepicker.close()}),f(4),d()()),t&2){let r;ne("mat-datepicker-content-container-with-custom-header",o.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",o._actionsPortal),ee("aria-modal",!0)("aria-labelledby",(r=o._dialogLabelId)!==null&&r!==void 0?r:void 0),u(),Yt(o.datepicker.panelClass),p("id",o.datepicker.id)("startAt",o.datepicker.startAt)("startView",o.datepicker.startView)("minDate",o.datepicker._getMinDate())("maxDate",o.datepicker._getMaxDate())("dateFilter",o.datepicker._getDateFilter())("headerComponent",o.datepicker.calendarHeaderComponent)("selected",o._getSelected())("dateClass",o.datepicker.dateClass)("comparisonStart",o.comparisonStart)("comparisonEnd",o.comparisonEnd)("@fadeInCalendar","enter")("startDateAccessibleName",o.startDateAccessibleName)("endDateAccessibleName",o.endDateAccessibleName),u(),p("cdkPortalOutlet",o._actionsPortal),u(),ne("cdk-visually-hidden",!o._closeButtonFocused),p("color",o.color||"primary"),u(),Ge(o._closeButtonText)}},dependencies:[v1,jw,si,Te],styles:[".mat-datepicker-content{display:block;border-radius:4px;background-color:var(--mat-datepicker-calendar-container-background-color, var(--mat-sys-surface-container-high));color:var(--mat-datepicker-calendar-container-text-color, var(--mat-sys-on-surface));box-shadow:var(--mat-datepicker-calendar-container-elevation-shadow, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12));border-radius:var(--mat-datepicker-calendar-container-shape, var(--mat-sys-corner-large))}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-content-container-with-custom-header .mat-calendar{height:auto}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.ng-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{display:block;max-height:80vh;box-shadow:var(--mat-datepicker-calendar-container-touch-elevation-shadow, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12));border-radius:var(--mat-datepicker-calendar-container-touch-shape, var(--mat-sys-corner-extra-large));position:relative;overflow:visible}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}}"],encapsulation:2,data:{animation:[HA.transformPanel,HA.fadeInCalendar]},changeDetection:0})}return n})(),WA=(()=>{class n{_overlay=h(Lt);_viewContainerRef=h(kt);_dateAdapter=h($n,{optional:!0});_dir=h(jt,{optional:!0});_model=h(Qd);_scrollStrategy=h(ZA);_inputStateChanges=ge.EMPTY;_document=h(de);calendarHeaderComponent;get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(e){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}_startAt;startView="month";get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(e){this._color=e}_color;touchUi=!1;get disabled(){return this._disabled===void 0&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(e){e!==this._disabled&&(this._disabled=e,this.stateChanges.next(void 0))}_disabled;xPosition="start";yPosition="below";restoreFocus=!0;yearSelected=new T;monthSelected=new T;viewChanged=new T(!0);dateClass;openedStream=new T;closedStream=new T;get panelClass(){return this._panelClass}set panelClass(e){this._panelClass=t1(e)}_panelClass;get opened(){return this._opened}set opened(e){e?this.open():this.close()}_opened=!1;id=h(ft).getId("mat-datepicker-");_getMinDate(){return this.datepickerInput&&this.datepickerInput.min}_getMaxDate(){return this.datepickerInput&&this.datepickerInput.max}_getDateFilter(){return this.datepickerInput&&this.datepickerInput.dateFilter}_overlayRef;_componentRef;_focusedElementBeforeOpen=null;_backdropHarnessClass=`${this.id}-backdrop`;_actionsPortal;datepickerInput;stateChanges=new j;_injector=h(Ae);_changeDetectorRef=h(Ee);constructor(){this._dateAdapter,this._model.selectionChanged.subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnChanges(e){let t=e.xPosition||e.yPosition;if(t&&!t.firstChange&&this._overlayRef){let o=this._overlayRef.getConfig().positionStrategy;o instanceof Dd&&(this._setConnectedPositions(o),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(e){this._model.add(e)}_selectYear(e){this.yearSelected.emit(e)}_selectMonth(e){this.monthSelected.emit(e)}_viewChanged(e){this.viewChanged.emit(e)}registerInput(e){return this.datepickerInput,this._inputStateChanges.unsubscribe(),this.datepickerInput=e,this._inputStateChanges=e.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(e){this._actionsPortal,this._actionsPortal=e,this._componentRef?.instance._assignActions(e,!0)}removeActions(e){e===this._actionsPortal&&(this._actionsPortal=null,this._componentRef?.instance._assignActions(null,!0))}open(){this._opened||this.disabled||this._componentRef?.instance._isAnimating||(this.datepickerInput,this._focusedElementBeforeOpen=pa(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened||this._componentRef?.instance._isAnimating)return;let e=this.restoreFocus&&this._focusedElementBeforeOpen&&typeof this._focusedElementBeforeOpen.focus=="function",t=()=>{this._opened&&(this._opened=!1,this.closedStream.emit())};if(this._componentRef){let{instance:o,location:r}=this._componentRef;o._startExitAnimation(),o._animationDone.pipe(Rt(1)).subscribe(()=>{let a=this._document.activeElement;e&&(!a||a===this._document.activeElement||r.nativeElement.contains(a))&&this._focusedElementBeforeOpen.focus(),this._focusedElementBeforeOpen=null,this._destroyOverlay()})}e?setTimeout(t):t()}_applyPendingSelection(){this._componentRef?.instance?._applyPendingSelection()}_forwardContentValues(e){e.datepicker=this,e.color=this.color,e._dialogLabelId=this.datepickerInput.getOverlayLabelId(),e._assignActions(this._actionsPortal,!1)}_openOverlay(){this._destroyOverlay();let e=this.touchUi,t=new Ti(XA,this._viewContainerRef),o=this._overlayRef=this._overlay.create(new ki({positionStrategy:e?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[e?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir||"ltr",scrollStrategy:e?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:`mat-datepicker-${e?"dialog":"popup"}`}));this._getCloseStream(o).subscribe(r=>{r&&r.preventDefault(),this.close()}),o.keydownEvents().subscribe(r=>{let a=r.keyCode;(a===38||a===40||a===37||a===39||a===33||a===34)&&r.preventDefault()}),this._componentRef=o.attach(t),this._forwardContentValues(this._componentRef.instance),e||nn(()=>{o.updatePosition()},{injector:this._injector})}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){let e=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(e)}_setConnectedPositions(e){let t=this.xPosition==="end"?"end":"start",o=t==="start"?"end":"start",r=this.yPosition==="above"?"bottom":"top",a=r==="top"?"bottom":"top";return e.withPositions([{originX:t,originY:a,overlayX:t,overlayY:r},{originX:t,originY:r,overlayX:t,overlayY:a},{originX:o,originY:a,overlayX:o,overlayY:r},{originX:o,originY:r,overlayX:o,overlayY:a}])}_getCloseStream(e){let t=["ctrlKey","shiftKey","metaKey"];return yt(e.backdropClick(),e.detachments(),e.keydownEvents().pipe(je(o=>o.keyCode===27&&!Ot(o)||this.datepickerInput&&Ot(o,"altKey")&&o.keyCode===38&&t.every(r=>!Ot(o,r)))))}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,inputs:{calendarHeaderComponent:"calendarHeaderComponent",startAt:"startAt",startView:"startView",color:"color",touchUi:[2,"touchUi","touchUi",G],disabled:[2,"disabled","disabled",G],xPosition:"xPosition",yPosition:"yPosition",restoreFocus:[2,"restoreFocus","restoreFocus",G],dateClass:"dateClass",panelClass:"panelClass",opened:[2,"opened","opened",G]},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[ce,Ze]})}return n})(),hg=(()=>{class n extends WA{static \u0275fac=(()=>{let e;return function(o){return(e||(e=at(n)))(o||n)}})();static \u0275cmp=E({type:n,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[ye([$A,{provide:WA,useExisting:n}]),_e],decls:0,vars:0,template:function(t,o){},encapsulation:2,changeDetection:0})}return n})(),Kl=class{target;targetElement;value;constructor(i,e){this.target=i,this.targetElement=e,this.value=this.target.value}},K9=(()=>{class n{_elementRef=h(Q);_dateAdapter=h($n,{optional:!0});_dateFormats=h(ms,{optional:!0});_isInitialized;get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(e){this._assignValueProgrammatically(e)}_model;get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(e){let t=e,o=this._elementRef.nativeElement;this._disabled!==t&&(this._disabled=t,this.stateChanges.next(void 0)),t&&this._isInitialized&&o.blur&&o.blur()}_disabled;dateChange=new T;dateInput=new T;stateChanges=new j;_onTouched=()=>{};_validatorOnChange=()=>{};_cvaOnChange=()=>{};_valueChangesSubscription=ge.EMPTY;_localeSubscription=ge.EMPTY;_pendingValue;_parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}};_filterValidator=e=>{let t=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e.value));return!t||this._matchesFilter(t)?null:{matDatepickerFilter:!0}};_minValidator=e=>{let t=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e.value)),o=this._getMinDate();return!o||!t||this._dateAdapter.compareDate(o,t)<=0?null:{matDatepickerMin:{min:o,actual:t}}};_maxValidator=e=>{let t=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e.value)),o=this._getMaxDate();return!o||!t||this._dateAdapter.compareDate(o,t)>=0?null:{matDatepickerMax:{max:o,actual:t}}};_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(e){this._model=e,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(t=>{if(this._shouldHandleChangeEvent(t)){let o=this._getValueFromModel(t.selection);this._lastValueValid=this._isValidValue(o),this._cvaOnChange(o),this._onTouched(),this._formatValue(o),this.dateInput.emit(new Kl(this,this._elementRef.nativeElement)),this.dateChange.emit(new Kl(this,this._elementRef.nativeElement))}})}_lastValueValid=!1;constructor(){this._localeSubscription=this._dateAdapter.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(e){Z9(e,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(e){this._validatorOnChange=e}validate(e){return this._validator?this._validator(e):null}writeValue(e){this._assignValueProgrammatically(e)}registerOnChange(e){this._cvaOnChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_onKeydown(e){let t=["ctrlKey","shiftKey","metaKey"];Ot(e,"altKey")&&e.keyCode===40&&t.every(r=>!Ot(e,r))&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),e.preventDefault())}_onInput(e){let t=this._lastValueValid,o=this._dateAdapter.parse(e,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(o),o=this._dateAdapter.getValidDateOrNull(o);let r=!this._dateAdapter.sameDate(o,this.value);!o||r?this._cvaOnChange(o):(e&&!this.value&&this._cvaOnChange(o),t!==this._lastValueValid&&this._validatorOnChange()),r&&(this._assignValue(o),this.dateInput.emit(new Kl(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new Kl(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(e){this._elementRef.nativeElement.value=e!=null?this._dateAdapter.format(e,this._dateFormats.display.dateInput):""}_assignValue(e){this._model?(this._assignValueToModel(e),this._pendingValue=null):this._pendingValue=e}_isValidValue(e){return!e||this._dateAdapter.isValid(e)}_parentDisabled(){return!1}_assignValueProgrammatically(e){e=this._dateAdapter.deserialize(e),this._lastValueValid=this._isValidValue(e),e=this._dateAdapter.getValidDateOrNull(e),this._assignValue(e),this._formatValue(e)}_matchesFilter(e){let t=this._getDateFilter();return!t||t(e)}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,inputs:{value:"value",disabled:[2,"disabled","disabled",G]},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[ce,Ze]})}return n})();function Z9(n,i){let e=Object.keys(n);for(let t of e){let{previousValue:o,currentValue:r}=n[t];if(i.isDateInstance(o)&&i.isDateInstance(r)){if(!i.sameDate(o,r))return!0}else return!0}return!1}var X9={provide:bi,useExisting:ln(()=>Xl),multi:!0},J9={provide:lo,useExisting:ln(()=>Xl),multi:!0},Xl=(()=>{class n extends K9{_formField=h(Ro,{optional:!0});_closedSubscription=ge.EMPTY;_openedSubscription=ge.EMPTY;set matDatepicker(e){e&&(this._datepicker=e,this._ariaOwns.set(e.opened?e.id:null),this._closedSubscription=e.closedStream.subscribe(()=>{this._onTouched(),this._ariaOwns.set(null)}),this._openedSubscription=e.openedStream.subscribe(()=>{this._ariaOwns.set(e.id)}),this._registerModel(e.registerInput(this)))}_datepicker;_ariaOwns=Mo(null);get min(){return this._min}set min(e){let t=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(t,this._min)||(this._min=t,this._validatorOnChange())}_min;get max(){return this._max}set max(e){let t=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(t,this._max)||(this._max=t,this._validatorOnChange())}_max;get dateFilter(){return this._dateFilter}set dateFilter(e){let t=this._matchesFilter(this.value);this._dateFilter=e,this._matchesFilter(this.value)!==t&&this._validatorOnChange()}_dateFilter;_validator;constructor(){super(),this._validator=rr.compose(super._getValidators())}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():this._elementRef.nativeElement.getAttribute("aria-labelledby")}getThemePalette(){return this._formField?this._formField.color:void 0}getStartValue(){return this.value}ngOnDestroy(){super.ngOnDestroy(),this._closedSubscription.unsubscribe(),this._openedSubscription.unsubscribe()}_openPopup(){this._datepicker&&this._datepicker.open()}_getValueFromModel(e){return e}_assignValueToModel(e){this._model&&this._model.updateSelection(e,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(e){return e.source!==this}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(t,o){t&1&&b("input",function(a){return o._onInput(a.target.value)})("change",function(){return o._onChange()})("blur",function(){return o._onBlur()})("keydown",function(a){return o._onKeydown(a)}),t&2&&(En("disabled",o.disabled),ee("aria-haspopup",o._datepicker?"dialog":null)("aria-owns",o._ariaOwns())("min",o.min?o._dateAdapter.toIso8601(o.min):null)("max",o.max?o._dateAdapter.toIso8601(o.max):null)("data-mat-calendar",o._datepicker?o._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:[0,"matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[ye([X9,J9,{provide:mw,useExisting:n}]),_e]})}return n})(),eq=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["","matDatepickerToggleIcon",""]]})}return n})(),Zd=(()=>{class n{_intl=h(Kd);_changeDetectorRef=h(Ee);_stateChanges=ge.EMPTY;datepicker;tabIndex;ariaLabel;get disabled(){return this._disabled===void 0&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(e){this._disabled=e}_disabled;disableRipple;_customIcon;_button;constructor(){let e=h(new jn("tabindex"),{optional:!0}),t=Number(e);this.tabIndex=t||t===0?t:null}ngOnChanges(e){e.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(e){this.datepicker&&!this.disabled&&(this.datepicker.open(),e.stopPropagation())}_watchStateChanges(){let e=this.datepicker?this.datepicker.stateChanges:ie(),t=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:ie(),o=this.datepicker?yt(this.datepicker.openedStream,this.datepicker.closedStream):ie();this._stateChanges.unsubscribe(),this._stateChanges=yt(this._intl.changes,e,t,o).subscribe(()=>this._changeDetectorRef.markForCheck())}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["mat-datepicker-toggle"]],contentQueries:function(t,o,r){if(t&1&&He(r,eq,5),t&2){let a;$(a=q())&&(o._customIcon=a.first)}},viewQuery:function(t,o){if(t&1&&se(B9,5),t&2){let r;$(r=q())&&(o._button=r.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(t,o){t&1&&b("click",function(a){return o._open(a)}),t&2&&(ee("tabindex",null)("data-mat-calendar",o.datepicker?o.datepicker.id:null),ne("mat-datepicker-toggle-active",o.datepicker&&o.datepicker.opened)("mat-accent",o.datepicker&&o.datepicker.color==="accent")("mat-warn",o.datepicker&&o.datepicker.color==="warn"))},inputs:{datepicker:[0,"for","datepicker"],tabIndex:"tabIndex",ariaLabel:[0,"aria-label","ariaLabel"],disabled:[2,"disabled","disabled",G],disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[ce,Ze],ngContentSelectors:z9,decls:4,vars:6,consts:[["button",""],["mat-icon-button","","type","button",3,"disabled","disableRipple"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false","aria-hidden","true",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(t,o){t&1&&(We(j9),c(0,"button",1,0),x(2,U9,2,0,":svg:svg",2),re(3),d()),t&2&&(p("disabled",o.disabled)("disableRipple",o.disableRipple),ee("aria-haspopup",o.datepicker?"dialog":null)("aria-label",o.ariaLabel||o._intl.openCalendarLabel)("tabindex",o.disabled?-1:o.tabIndex),u(2),Ce(o._customIcon?-1:2))},dependencies:[Zn],styles:[".mat-datepicker-toggle{pointer-events:auto;color:var(--mat-datepicker-toggle-icon-color, var(--mat-sys-on-surface-variant))}.mat-datepicker-toggle-active{color:var(--mat-datepicker-toggle-active-state-icon-color, var(--mat-sys-on-surface-variant))}@media(forced-colors: active){.mat-datepicker-toggle-default-icon{color:CanvasText}}"],encapsulation:2,changeDetection:0})}return n})();var JA=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({providers:[Kd,Q9],imports:[or,ci,Pl,Ui,me,XA,Zd,KA,ro]})}return n})();function tq(n,i){n&1&&(c(0,"uds-translate"),f(1,"Edit rule"),d())}function nq(n,i){n&1&&(c(0,"uds-translate"),f(1,"New rule"),d())}function iq(n,i){if(n&1&&(c(0,"mat-option",21),f(1),d()),n&2){let e=i.$implicit;p("value",e.id),u(),O(" ",e.value," ")}}function oq(n,i){if(n&1&&(c(0,"mat-option",21),f(1),d()),n&2){let e=i.$implicit;p("value",e.id),u(),O(" ",e.value," ")}}function rq(n,i){if(n&1&&(c(0,"mat-option",21),f(1),d()),n&2){let e=i.$implicit;p("value",e.id),u(),O(" ",e.value," ")}}function aq(n,i){if(n&1){let e=k();c(0,"mat-form-field",11)(1,"mat-label")(2,"uds-translate"),f(3,"Week days"),d()(),c(4,"mat-select",22),U("ngModelChange",function(o){y(e);let r=_();return W(r.wDays,o)||(r.wDays=o),w(o)}),x(5,rq,2,2,"mat-option",10),d()()}if(n&2){let e=_();u(4),z("ngModel",e.wDays),u(),p("ngForOf",e.weekDays)}}function sq(n,i){if(n&1){let e=k();c(0,"mat-form-field",11)(1,"mat-label")(2,"uds-translate"),f(3,"Repeat every"),d()(),c(4,"input",8),U("ngModelChange",function(o){y(e);let r=_();return W(r.rule.interval,o)||(r.rule.interval=o),w(o)}),d(),c(5,"div",23),f(6),d()()}if(n&2){let e=_();u(4),z("ngModel",e.rule.interval),u(2),O("\xA0",e.frequency(),"")}}var fg={DAILY:[django.gettext("day"),django.gettext("days"),django.gettext("Daily")],WEEKLY:[django.gettext("week"),django.gettext("weeks"),django.gettext("Weekly")],MONTHLY:[django.gettext("month"),django.gettext("months"),django.gettext("Monthly")],YEARLY:[django.gettext("year"),django.gettext("years"),django.gettext("Yearly")],WEEKDAYS:["","",django.gettext("Weekdays")],NEVER:["","",django.gettext("Never")]},gg={MINUTES:django.gettext("Minutes"),HOURS:django.gettext("Hours"),DAYS:django.gettext("Days"),WEEKS:django.gettext("Weeks")},tR=[django.gettext("Sunday"),django.gettext("Monday"),django.gettext("Tuesday"),django.gettext("Wednesday"),django.gettext("Thursday"),django.gettext("Friday"),django.gettext("Saturday")],nR=(n,i=!1)=>{let e=new Array;for(let t=0;t<7;t++)n&1&&e.push(tR[t].substr(0,i?100:3)),n>>=1;return e.length?e.join(", "):django.gettext("(no days)")},iR=n=>{n.frequency==="WEEKDAYS"?n.interval=nR(n.interval):n.interval=n.interval+" "+fg[n.frequency][django.pluralidx(n.interval)],n.duration=n.duration+" "+gg[n.duration_unit]},Uw=(()=>{let i=class i{constructor(t,o,r,a){this.api=t,this.rest=o,this.dialogRef=r,this.dunits=Object.keys(gg).map(s=>({id:s,value:gg[s]})),this.freqs=Object.keys(fg).map(s=>({id:s,value:fg[s][2]})),this.weekDays=tR.map((s,l)=>({id:1<{if(this.rule=t,this.startDate=new Date(this.rule.start*1e3),this.startTime=this.startDate.toTimeString().split(":").splice(0,2).join(":"),this.endDate=this.rule.end?new Date(this.rule.end*1e3):null,this.rule.frequency==="WEEKDAYS"){let o=[];for(let r=0;r<7;r++){let a=1<this.rule.interval+=o),this.rule.interval===0)?django.gettext("Week days"):null}summary(){let t=django.gettext("Invalid or incomplete rule. Please, fix field $FIELD"),o=Cy(django.get_format("SHORT_DATE_FORMAT")),r=this.updateRuleData();if(r===null){t=django.gettext("This rule will be valid every"),this.rule.frequency==="WEEKDAYS"?t+=" "+nR(this.rule.interval,!0)+" "+django.gettext("of any week"):t+=" "+ +this.rule.interval+" "+this.frequency();let a=new Date(this.rule.start*1e3);t+=", "+django.gettext("from")+" "+Ca(o,a),this.rule.end?t+=" "+django.gettext("until")+" "+Ca(o,new Date(this.rule.end*1e3)):t+=" "+django.gettext("onwards"),t+=", "+django.gettext("starting at")+" "+a.toTimeString().split(":").slice(0,2).join(":"),+this.rule.duration>0?t+=" "+django.gettext("and every event will be active for")+" "+this.rule.duration+" "+gg[this.rule.duration_unit]:t+=django.gettext("with no duration")}return t.replace("$FIELD",r)}save(){this.rules.save(this.rule).then(()=>{this.dialogRef.close(),this.onSave.emit(!0)})}};i.\u0275fac=function(o){return new(o||i)(C(B),C(Z),C(Ne),C(Ke))},i.\u0275cmp=E({type:i,selectors:[["uds-calendar-rule"]],standalone:!1,decls:75,vars:25,consts:[["startDatePicker",""],["endDatePicker",""],["mat-dialog-title",""],[4,"ngIf"],[1,"content"],["matInput","","type","text",3,"ngModelChange","ngModel"],[1,"oneThird"],["matInput","","type","time",3,"ngModelChange","ngModel"],["matInput","","type","number",3,"ngModelChange","ngModel"],[3,"ngModelChange","ngModel"],[3,"value",4,"ngFor","ngForOf"],[1,"oneHalf"],["matInput","",3,"ngModelChange","matDatepicker","ngModel"],["matSuffix","",3,"for"],["matInput","",3,"ngModelChange","matDatepicker","ngModel","placeholder"],[1,"weekdays"],[3,"ngModelChange","valueChange","ngModel"],["class","oneHalf",4,"ngIf"],[1,"info"],["mat-raised-button","","mat-dialog-close","","color","warn"],["mat-raised-button","","color","primary",3,"click","disabled"],[3,"value"],["multiple","",3,"ngModelChange","ngModel"],["matSuffix",""]],template:function(o,r){if(o&1){let a=k();c(0,"h4",2),x(1,tq,2,0,"uds-translate",3),gt(2,"notEmpty"),x(3,nq,2,0,"uds-translate",3),gt(4,"isEmpty"),d(),c(5,"mat-dialog-content")(6,"div",4)(7,"mat-form-field")(8,"mat-label")(9,"uds-translate"),f(10,"Name"),d()(),c(11,"input",5),U("ngModelChange",function(l){return y(a),W(r.rule.name,l)||(r.rule.name=l),w(l)}),d()(),c(12,"mat-form-field")(13,"mat-label")(14,"uds-translate"),f(15,"Comments"),d()(),c(16,"input",5),U("ngModelChange",function(l){return y(a),W(r.rule.comments,l)||(r.rule.comments=l),w(l)}),d()(),c(17,"h3")(18,"uds-translate"),f(19,"Event"),d()(),c(20,"mat-form-field",6)(21,"mat-label")(22,"uds-translate"),f(23,"Start time"),d()(),c(24,"input",7),U("ngModelChange",function(l){return y(a),W(r.startTime,l)||(r.startTime=l),w(l)}),d()(),c(25,"mat-form-field",6)(26,"mat-label")(27,"uds-translate"),f(28,"Duration"),d()(),c(29,"input",8),U("ngModelChange",function(l){return y(a),W(r.rule.duration,l)||(r.rule.duration=l),w(l)}),d()(),c(30,"mat-form-field",6)(31,"mat-label")(32,"uds-translate"),f(33,"Duration units"),d()(),c(34,"mat-select",9),U("ngModelChange",function(l){return y(a),W(r.rule.duration_unit,l)||(r.rule.duration_unit=l),w(l)}),x(35,iq,2,2,"mat-option",10),d()(),c(36,"h3"),f(37," Repetition "),d(),c(38,"mat-form-field",11)(39,"mat-label")(40,"uds-translate"),f(41," Start date "),d()(),c(42,"input",12),U("ngModelChange",function(l){return y(a),W(r.startDate,l)||(r.startDate=l),w(l)}),d(),M(43,"mat-datepicker-toggle",13)(44,"mat-datepicker",null,0),d(),c(46,"mat-form-field",11)(47,"mat-label")(48,"uds-translate"),f(49," Repeat until date "),d()(),c(50,"input",14),U("ngModelChange",function(l){return y(a),W(r.endDate,l)||(r.endDate=l),w(l)}),d(),M(51,"mat-datepicker-toggle",13)(52,"mat-datepicker",null,1),d(),c(54,"div",15)(55,"mat-form-field",11)(56,"mat-label")(57,"uds-translate"),f(58,"Frequency"),d()(),c(59,"mat-select",16),U("ngModelChange",function(l){return y(a),W(r.rule.frequency,l)||(r.rule.frequency=l),w(l)}),b("valueChange",function(){return y(a),w(r.rule.interval=1)}),x(60,oq,2,2,"mat-option",10),d()(),x(61,aq,6,2,"mat-form-field",17)(62,sq,7,2,"mat-form-field",17),d(),c(63,"h3")(64,"uds-translate"),f(65,"Summary"),d()(),c(66,"div",18),f(67),d()()(),c(68,"mat-dialog-actions")(69,"button",19)(70,"uds-translate"),f(71,"Cancel"),d()(),c(72,"button",20),b("click",function(){return y(a),w(r.save())}),c(73,"uds-translate"),f(74,"Ok"),d()()()}if(o&2){let a=be(45),s=be(53);u(),p("ngIf",Ct(2,21,r.rule.id)),u(2),p("ngIf",Ct(4,23,r.rule.id)),u(8),z("ngModel",r.rule.name),u(5),z("ngModel",r.rule.comments),u(8),z("ngModel",r.startTime),u(5),z("ngModel",r.rule.duration),u(5),z("ngModel",r.rule.duration_unit),u(),p("ngForOf",r.dunits),u(7),p("matDatepicker",a),z("ngModel",r.startDate),u(),p("for",a),u(7),p("matDatepicker",s),z("ngModel",r.endDate),p("placeholder",r.FOREVER_STRING),u(),p("for",s),u(8),z("ngModel",r.rule.frequency),u(),p("ngForOf",r.freqs),u(),p("ngIf",r.rule.frequency==="WEEKDAYS"),u(),p("ngIf",r.rule.frequency!=="WEEKDAYS"&&r.rule.frequency!=="NEVER"),u(5),O(" ",r.summary()," "),u(5),p("disabled",r.updateRuleData()!==null||r.rule.name==="")}},dependencies:[$e,ue,lt,Gi,we,xe,Te,Qt,Xe,et,Je,fe,ke,uo,pt,vt,nt,hg,Xl,Zd,ae,fA,yn],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:100%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-mdc-form-field[_ngcontent-%COMP%]:not(.oneThird):not(.oneHalf){width:100%}.mat-mdc-form-field.oneThird[_ngcontent-%COMP%]{width:31%;margin-right:2%}.mat-mdc-form-field.oneHalf[_ngcontent-%COMP%]{width:48%;margin-right:2%}h3[_ngcontent-%COMP%]{width:100%;margin-top:.3rem;margin-bottom:1rem}.weekdays[_ngcontent-%COMP%]{width:100%;display:flex;align-items:flex-end}.label-weekdays[_ngcontent-%COMP%]{color:#0009;display:block;font-weight:400;left:0;line-height:18px;overflow:hidden;pointer-events:none;position:absolute;text-align:left;text-overflow:ellipsis;top:.5em;transform:matrix(.75,0,0,.75,0,-21.5);transform-origin:0px 0px;white-space:nowrap}.mat-datepicker-toggle[_ngcontent-%COMP%]{color:#00f}.mat-button-toggle-checked[_ngcontent-%COMP%]{background-color:#23238580;color:#fff}"]});let n=i;return n})();var lq=n=>["/pools","calendars",n];function cq(n,i){n&1&&(c(0,"uds-translate"),f(1,"Rules"),d())}function dq(n,i){if(n&1){let e=k();c(0,"div",6)(1,"div",7)(2,"mat-tab-group",8)(3,"mat-tab"),x(4,cq,2,0,"ng-template",9),c(5,"div",10)(6,"uds-table",11),b("newAction",function(o){y(e);let r=_();return w(r.onNewRule(o))})("editAction",function(o){y(e);let r=_();return w(r.onEditRule(o))})("deleteAction",function(o){y(e);let r=_();return w(r.onDeleteRule(o))}),d()()()()()()}if(n&2){let e=_();u(2),p("@.disabled",!0),u(4),p("rest",e.calendarRules)("multiSelect",!0)("allowExport",!0)("onItem",e.processElement)("tableId","calendars-d-rules"+e.calendar.id)("pageSize",e.api.config.admin.page_size)}}var oR=(()=>{let i=class i{constructor(t,o,r){this.route=t,this.rest=o,this.api=r,this.calendarRules={}}ngOnInit(){let t=this.route.snapshot.paramMap.get("calendar");t&&this.rest.calendars.get(t).then(o=>{this.calendar=o,this.calendarRules=this.rest.calendars.detail(o.id,"rules")})}onNewRule(t){Uw.launch(this.api,this.calendarRules).subscribe(()=>t.table.overview())}onEditRule(t){Uw.launch(this.api,this.calendarRules,t.table.selection.selected[0]).subscribe(()=>t.table.overview())}onDeleteRule(t){this.api.gui.forms.deleteForm(t,django.gettext("Delete calendar rule"))}processElement(t){iR(t)}};i.\u0275fac=function(o){return new(o||i)(C(Re),C(Z),C(B))},i.\u0275cmp=E({type:i,selectors:[["uds-calendars-detail"]],standalone:!1,decls:10,vars:8,consts:[[1,"detail"],[1,"mat-elevation-z4","title"],[3,"routerLink"],[1,"material-icons"],[3,"src"],["class","card",4,"ngIf"],[1,"card"],[1,"card-content"],["backgroundColor","primary"],["mat-tab-label",""],[1,"content"],["icon","pools",3,"newAction","editAction","deleteAction","rest","multiSelect","allowExport","onItem","tableId","pageSize"]],template:function(o,r){o&1&&(c(0,"div",0)(1,"div",1)(2,"a",2)(3,"i",3),f(4,"arrow_back"),d()(),f(5," \xA0"),M(6,"img",4),f(7),d(),x(8,dq,7,7,"div",5),gt(9,"notEmpty"),d()),o&2&&(u(2),p("routerLink",Un(6,lq,r.calendar?r.calendar.id:"")),u(4),p("src",r.api.staticURL("admin/img/icons/calendars.png"),Se),u(),O(" ",r.calendar==null?null:r.calendar.name," "),u(),p("ngIf",Ct(9,4,r.calendar)))},dependencies:[ue,bn,Jt,en,rn,ae,Ie,yn],styles:[".mat-column-start, .mat-column-end{max-width:9rem} .mat-column-frequency{max-width:9rem} .mat-column-interval, .mat-column-duration{max-width:11rem}"]});let n=i;return n})();var uq='event'+django.gettext("Set time mark")+"",Hw=(()=>{let i=class i{constructor(t,o,r){this.route=t,this.rest=o,this.api=r,this.cButtons=[{id:"timemark",html:uq,type:ct.SINGLE_SELECT}]}get customButtons(){return this.api.user.isAdmin?this.cButtons:[]}ngOnInit(){}onNew(t){this.api.gui.forms.typedNewForm(t,django.gettext("New account"))}onEdit(t){this.api.gui.forms.typedEditForm(t,django.gettext("Edit account"))}onDelete(t){this.api.gui.forms.deleteForm(t,django.gettext("Delete account"))}onTimeMark(t){let o=t.table.selection.selected[0];this.api.gui.questionDialog(django.gettext("Time mark"),django.gettext("Set time mark for $NAME to current date/time?").replace("$NAME",o.name)).then(r=>{r&&this.rest.accounts.timemark(o.id).then(()=>{this.api.gui.snackbar.open(django.gettext("Time mark stablished"),django.gettext("dismiss"),{duration:2e3}),t.table.overview()})})}onDetail(t){this.api.navigation.gotoAccountDetail(t.param.id)}onLoad(t){t.param===!0&&t.table.selectElement("id",this.route.snapshot.paramMap.get("account"))}processElement(t){t.time_mark=t.time_mark===78793200?django.gettext("No time mark"):qn("SHORT_DATE_FORMAT",t.time_mark)}};i.\u0275fac=function(o){return new(o||i)(C(Re),C(Z),C(B))},i.\u0275cmp=E({type:i,selectors:[["uds-accounts"]],standalone:!1,decls:1,vars:7,consts:[["icon","accounts",3,"customButtonAction","newAction","editAction","deleteAction","detailAction","loaded","rest","multiSelect","allowExport","hasPermissions","customButtons","pageSize","onItem"]],template:function(o,r){o&1&&(c(0,"uds-table",0),b("customButtonAction",function(s){return r.onTimeMark(s)})("newAction",function(s){return r.onNew(s)})("editAction",function(s){return r.onEdit(s)})("deleteAction",function(s){return r.onDelete(s)})("detailAction",function(s){return r.onDetail(s)})("loaded",function(s){return r.onLoad(s)}),d()),o&2&&p("rest",r.rest.accounts)("multiSelect",!0)("allowExport",!0)("hasPermissions",!0)("customButtons",r.customButtons)("pageSize",r.api.config.admin.page_size)("onItem",r.processElement)},dependencies:[Ie],encapsulation:2});let n=i;return n})();var mq=n=>["/pools","accounts",n];function pq(n,i){n&1&&(c(0,"uds-translate"),f(1,"Account usage"),d())}function hq(n,i){if(n&1){let e=k();c(0,"div",6)(1,"div",7)(2,"mat-tab-group",8)(3,"mat-tab"),x(4,pq,2,0,"ng-template",9),c(5,"div",10)(6,"uds-table",11),b("deleteAction",function(o){y(e);let r=_();return w(r.onDeleteUsage(o))}),d()()()()()()}if(n&2){let e=_();u(2),p("@.disabled",!0),u(4),p("rest",e.accountUsage)("multiSelect",!0)("allowExport",!0)("onItem",e.processElement)("tableId","account-d-usage"+e.account.id)}}var rR=(()=>{let i=class i{constructor(t,o,r){this.route=t,this.rest=o,this.api=r,this.accountUsage={}}ngOnInit(){let t=this.route.snapshot.paramMap.get("account");t&&this.rest.accounts.get(t).then(o=>{this.account=o,this.accountUsage=this.rest.accounts.detail(o.id,"usage")})}onDeleteUsage(t){this.api.gui.forms.deleteForm(t,django.gettext("Delete account usage"))}processElement(t){t.running=this.api.boolAsHumanString(t.running)}};i.\u0275fac=function(o){return new(o||i)(C(Re),C(Z),C(B))},i.\u0275cmp=E({type:i,selectors:[["uds-accounts-detail"]],standalone:!1,decls:10,vars:8,consts:[[1,"detail"],[1,"mat-elevation-z4","title"],[3,"routerLink"],[1,"material-icons"],[3,"src"],["class","card",4,"ngIf"],[1,"card"],[1,"card-content"],["backgroundColor","primary"],["mat-tab-label",""],[1,"content"],["icon","accounts",3,"deleteAction","rest","multiSelect","allowExport","onItem","tableId"]],template:function(o,r){o&1&&(c(0,"div",0)(1,"div",1)(2,"a",2)(3,"i",3),f(4,"arrow_back"),d()(),f(5," \xA0"),M(6,"img",4),f(7),d(),x(8,hq,7,6,"div",5),gt(9,"notEmpty"),d()),o&2&&(u(2),p("routerLink",Un(6,mq,r.account?r.account.id:"")),u(4),p("src",r.api.staticURL("admin/img/icons/accounts.png"),Se),u(),O(" ",r.account==null?null:r.account.name," "),u(),p("ngIf",Ct(9,4,r.account)))},dependencies:[ue,bn,Jt,en,rn,ae,Ie,yn],encapsulation:2});let n=i;return n})();function fq(n,i){n&1&&(c(0,"uds-translate"),f(1,"New image for"),d())}function gq(n,i){n&1&&(c(0,"uds-translate"),f(1,"Edit for"),d())}var Ww=(()=>{let i=class i{constructor(t,o,r,a){this.api=t,this.rest=o,this.dialogRef=r,this.onSave=new T(!0),this.preview="",this.image={id:void 0,data:"",name:""},a.image&&(this.image.id=a.image.id)}static launch(t,o=null){let r=window.innerWidth<800?"60%":"40%";return t.gui.dialog.open(i,{width:r,position:{top:window.innerWidth<800?"0px":"7rem"},data:{image:o},disableClose:!0}).componentInstance.onSave}onFileChanged(t){let o=t.target;if(!o.files||o.files.length===0)return;let r=o.files[0];if(r.size>256*1024){this.api.gui.alert(django.gettext("Error"),django.gettext("Image is too big (max. upload size is 256Kb)"));return}if(!["image/jpeg","image/png","image/gif"].includes(r.type)){this.api.gui.alert(django.gettext("Error"),django.gettext("Invalid image type (only supports JPEG, PNG and GIF"));return}let a=new FileReader;a.onload=s=>{let l=a.result;this.preview=l,this.image.data=l.substr(l.indexOf("base64,")+7),this.image.name||(this.image.name=r.name)},a.readAsDataURL(r)}ngOnInit(){this.image.id&&this.rest.gallery.get(this.image.id).then(t=>{switch(this.image=t,this.image.data.substr(2)){case"iV":this.preview="data:image/png;base64,"+this.image.data;break;case"/9":this.preview="data:image/jpeg;base64,"+this.image.data;break;default:this.preview="data:image/gif;base64,"+this.image.data}})}background(){let t=this.api.config.image_size[0],o=this.api.config.image_size[1],r={"width.px":t,"height.px":o,"background-size":t+"px "+o+"px","background-image":"none"};return this.preview&&(r["background-image"]="url("+this.preview+")"),r}save(){if(!this.image.name||!this.image.data){this.api.gui.alert(django.gettext("Error"),django.gettext("Please, provide a name and a image"));return}this.rest.gallery.save(this.image).then(()=>{this.api.gui.snackbar.open(django.gettext("Successfully saved"),django.gettext("dismiss"),{duration:2e3}),this.dialogRef.close(),this.onSave.emit(!0)})}};i.\u0275fac=function(o){return new(o||i)(C(B),C(Z),C(Ne),C(Ke))},i.\u0275cmp=E({type:i,selectors:[["uds-gallery-image"]],standalone:!1,decls:32,vars:7,consts:[["fileInput",""],["mat-dialog-title",""],[4,"ngIf"],[1,"content"],["matInput","","type","text",3,"ngModelChange","ngModel"],["type","file",2,"display","none",3,"change"],["matInput","","type","text",3,"click","hidden"],[1,"preview",3,"click"],[1,"image-preview",3,"ngStyle"],[1,"help"],["mat-raised-button","","mat-dialog-close","","color","warn"],["mat-raised-button","","color","primary",3,"click"]],template:function(o,r){if(o&1){let a=k();c(0,"h4",1),x(1,fq,2,0,"uds-translate",2)(2,gq,2,0,"uds-translate",2),d(),c(3,"mat-dialog-content")(4,"div",3)(5,"mat-form-field")(6,"mat-label")(7,"uds-translate"),f(8,"Image name"),d()(),c(9,"input",4),U("ngModelChange",function(l){return y(a),W(r.image.name,l)||(r.image.name=l),w(l)}),d()(),c(10,"input",5,0),b("change",function(l){return y(a),w(r.onFileChanged(l))}),d(),c(12,"mat-form-field")(13,"mat-label")(14,"uds-translate"),f(15,"Image (click to change)"),d()(),c(16,"input",6),b("click",function(){y(a);let l=be(11);return w(l.click())}),d(),c(17,"div",7),b("click",function(){y(a);let l=be(11);return w(l.click())}),M(18,"div",8),d()(),c(19,"div",9)(20,"uds-translate"),f(21,' For optimal results, use "squared" images. '),d(),c(22,"uds-translate"),f(23," The image will be resized on upload to "),d(),f(24),d()()(),c(25,"mat-dialog-actions")(26,"button",10)(27,"uds-translate"),f(28,"Cancel"),d()(),c(29,"button",11),b("click",function(){return y(a),w(r.save())}),c(30,"uds-translate"),f(31,"Ok"),d()()()}o&2&&(u(),p("ngIf",!r.image.id),u(),p("ngIf",r.image.id),u(7),z("ngModel",r.image.name),u(7),p("hidden",!0),u(2),p("ngStyle",r.background()),u(6),Er(" ",r.api.config.image_size[0],"x",r.api.config.image_size[1]," "))},dependencies:[ue,PM,lt,we,xe,Te,Qt,Xe,et,Je,fe,ke,pt,ae],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}.content[_ngcontent-%COMP%]{width:100%;margin-top:.5rem;display:flex;flex-wrap:wrap}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}.preview[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;width:100%}.image-preview[_ngcontent-%COMP%]{background-color:#0000004d}"]});let n=i;return n})();var Gw=(()=>{let i=class i{constructor(t,o,r){this.route=t,this.rest=o,this.api=r}ngOnInit(){}onNew(t){Ww.launch(this.api).subscribe(()=>t.table.overview())}onEdit(t){Ww.launch(this.api,t.table.selection.selected[0]).subscribe(()=>t.table.overview())}onDelete(t){this.api.gui.forms.deleteForm(t,django.gettext("Delete image"))}onLoad(t){t.param===!0&&t.table.selectElement("id",this.route.snapshot.paramMap.get("image"))}};i.\u0275fac=function(o){return new(o||i)(C(Re),C(Z),C(B))},i.\u0275cmp=E({type:i,selectors:[["uds-gallery"]],standalone:!1,decls:1,vars:5,consts:[["icon","gallery",3,"newAction","editAction","deleteAction","loaded","rest","multiSelect","allowExport","hasPermissions","pageSize"]],template:function(o,r){o&1&&(c(0,"uds-table",0),b("newAction",function(s){return r.onNew(s)})("editAction",function(s){return r.onEdit(s)})("deleteAction",function(s){return r.onDelete(s)})("loaded",function(s){return r.onLoad(s)}),d()),o&2&&p("rest",r.rest.gallery)("multiSelect",!0)("allowExport",!0)("hasPermissions",!1)("pageSize",r.api.config.admin.page_size)},dependencies:[Ie],styles:[".mat-column-thumb{max-width:7rem;justify-content:center} .mat-column-name{max-width:32rem}"]});let n=i;return n})();var aR=au(ng());var _q='assessment'+django.gettext("Generate report")+"",sR=(()=>{let i=class i{constructor(t,o){this.rest=t,this.api=o,this.customButtons=[{id:"genreport",html:_q,type:ct.SINGLE_SELECT}]}ngOnInit(){}generateReport(t){return H(this,null,function*(){let o=new Xt;this.api.gui.forms.typedForm(t,django.gettext("Generate report"),!1,[],void 0,t.table.selection.selected[0].id,{save:o});let r=yield o;this.api.gui.snackbar.open(django.gettext("Generating report..."));let a=yield this.rest.reports.save(r,t.table.selection.selected[0].id),s=a.encoded?window.atob(a.data):a.data,l=s.length,m=new Uint8Array(l);for(let v=0;v{(0,aR.saveAs)(g,a.filename,{autoBom:!1})})})}};i.\u0275fac=function(o){return new(o||i)(C(Z),C(B))},i.\u0275cmp=E({type:i,selectors:[["uds-reports"]],standalone:!1,decls:1,vars:6,consts:[["icon","reports",3,"customButtonAction","rest","multiSelect","allowExport","hasPermissions","customButtons","pageSize"]],template:function(o,r){o&1&&(c(0,"uds-table",0),b("customButtonAction",function(s){return r.generateReport(s)}),d()),o&2&&p("rest",r.rest.reports)("multiSelect",!1)("allowExport",!1)("hasPermissions",!1)("customButtons",r.customButtons)("pageSize",r.api.config.admin.page_size)},dependencies:[Ie],styles:[".mat-column-group{max-width:16rem} .mat-column-name{max-width:32rem}"]});let n=i;return n})();var lR=(()=>{let i=class i{constructor(t,o){this.api=t,this.rest=o}ngOnInit(){}onNew(t){this.api.gui.forms.typedNewForm(t,django.gettext("New Notifier"),!1)}onEdit(t){this.api.gui.forms.typedEditForm(t,django.gettext("Edit Notifier"),!1)}onDelete(t){this.api.gui.forms.deleteForm(t,django.gettext("Delete actor token - USE WITH EXTREME CAUTION!!!"))}};i.\u0275fac=function(o){return new(o||i)(C(B),C(Z))},i.\u0275cmp=E({type:i,selectors:[["uds-notifiers"]],standalone:!1,decls:2,vars:4,consts:[["icon","accounts",3,"newAction","editAction","deleteAction","rest","multiSelect","allowExport","pageSize"]],template:function(o,r){o&1&&(c(0,"div")(1,"uds-table",0),b("newAction",function(s){return r.onNew(s)})("editAction",function(s){return r.onEdit(s)})("deleteAction",function(s){return r.onDelete(s)}),d()()),o&2&&(u(),p("rest",r.rest.notifiers)("multiSelect",!0)("allowExport",!0)("pageSize",r.api.config.admin.page_size))},dependencies:[Ie],encapsulation:2});let n=i;return n})();function vq(n,i){if(n&1&&f(0),n&2){let e=_().$implicit;O(" ",e," ")}}function bq(n,i){if(n&1){let e=k();c(0,"div")(1,"mat-form-field")(2,"mat-label"),f(3),d(),c(4,"input",18),U("ngModelChange",function(o){y(e);let r=_(2).$implicit,a=_().$implicit,s=_(2);return W(s.config[a][r].value,o)||(s.config[a][r].value=o),w(o)}),d()()()}if(n&2){let e=_(2).$implicit,t=_().$implicit,o=_(2);u(3),Ge(e),u(),p("type",o.config[t][e].crypt?"password":"text"),z("ngModel",o.config[t][e].value),p("matTooltip",o.config[t][e].help)}}function yq(n,i){if(n&1){let e=k();c(0,"div")(1,"mat-form-field")(2,"mat-label"),f(3),d(),c(4,"textarea",19),U("ngModelChange",function(o){y(e);let r=_(2).$implicit,a=_().$implicit,s=_(2);return W(s.config[a][r].value,o)||(s.config[a][r].value=o),w(o)}),d()()()}if(n&2){let e=_(2).$implicit,t=_().$implicit,o=_(2);u(3),Ge(e),u(),z("ngModel",o.config[t][e].value),p("matTooltip",o.config[t][e].help)}}function wq(n,i){if(n&1){let e=k();c(0,"div")(1,"mat-form-field")(2,"mat-label"),f(3),d(),c(4,"input",20),U("ngModelChange",function(o){y(e);let r=_(2).$implicit,a=_().$implicit,s=_(2);return W(s.config[a][r].value,o)||(s.config[a][r].value=o),w(o)}),d()()()}if(n&2){let e=_(2).$implicit,t=_().$implicit,o=_(2);u(3),Ge(e),u(),z("ngModel",o.config[t][e].value),p("matTooltip",o.config[t][e].help)}}function Cq(n,i){if(n&1){let e=k();c(0,"div")(1,"div",21)(2,"mat-slide-toggle",22),U("ngModelChange",function(o){y(e);let r=_(2).$implicit,a=_().$implicit,s=_(2);return W(s.config[a][r].value,o)||(s.config[a][r].value=o),w(o)}),f(3),d()()()}if(n&2){let e=_(2).$implicit,t=_().$implicit,o=_(2);u(2),z("ngModel",o.config[t][e].value),p("matTooltip",o.config[t][e].help),u(),O(" ",e," ")}}function xq(n,i){if(n&1&&(c(0,"mat-option",24),f(1),d()),n&2){let e=i.$implicit;p("value",e),u(),O(" ",e," ")}}function Dq(n,i){if(n&1){let e=k();c(0,"div")(1,"mat-form-field")(2,"mat-label"),f(3),d(),c(4,"mat-select",22),U("ngModelChange",function(o){y(e);let r=_(2).$implicit,a=_().$implicit,s=_(2);return W(s.config[a][r].value,o)||(s.config[a][r].value=o),w(o)}),x(5,xq,2,2,"mat-option",23),d()()()}if(n&2){let e=_(2).$implicit,t=_().$implicit,o=_(2);u(3),O(" ",e," "),u(),z("ngModel",o.config[t][e].value),p("matTooltip",o.config[t][e].help),u(),p("ngForOf",o.config[t][e].params)}}function Sq(n,i){if(n&1){let e=k();c(0,"div")(1,"mat-form-field")(2,"mat-label"),f(3),d(),c(4,"input",25),U("ngModelChange",function(o){y(e);let r=_(2).$implicit,a=_().$implicit,s=_(2);return W(s.config[a][r].value,o)||(s.config[a][r].value=o),w(o)}),d()()()}if(n&2){let e=_(2).$implicit,t=_().$implicit,o=_(2);u(3),Ge(e),u(),z("ngModel",o.config[t][e].value),p("matTooltip",o.config[t][e].help)}}function Eq(n,i){n&1&&Cn(0)}function Mq(n,i){if(n&1){let e=k();c(0,"div")(1,"mat-form-field")(2,"mat-label"),f(3),d(),c(4,"input",26),U("ngModelChange",function(o){y(e);let r=_(2).$implicit,a=_().$implicit,s=_(2);return W(s.config[a][r].value,o)||(s.config[a][r].value=o),w(o)}),d()()()}if(n&2){let e=_(2).$implicit,t=_().$implicit,o=_(2);u(3),Ge(e),u(),z("ngModel",o.config[t][e].value),p("matTooltip",o.config[t][e].help)}}function Iq(n,i){if(n&1){let e=k();c(0,"div")(1,"mat-form-field")(2,"mat-label"),f(3),d(),c(4,"input",27),U("ngModelChange",function(o){y(e);let r=_(2).$implicit,a=_().$implicit,s=_(2);return W(s.config[a][r].value,o)||(s.config[a][r].value=o),w(o)}),d()()()}if(n&2){let e=_(2).$implicit,t=_().$implicit,o=_(2);u(3),Ge(e),u(),z("ngModel",o.config[t][e].value),p("matTooltip",o.config[t][e].help)}}function Tq(n,i){if(n&1&&(ut(0,15),x(1,bq,5,4,"div",16)(2,yq,5,3,"div",16)(3,wq,5,3,"div",16)(4,Cq,4,3,"div",16)(5,Dq,6,4,"div",16)(6,Sq,5,3,"div",16)(7,Eq,1,0,"ng-container",16)(8,Mq,5,3,"div",16)(9,Iq,5,3,"div",17),mt()),n&2){let e=_().$implicit,t=_().$implicit,o=_(2);p("ngSwitch",o.config[t][e].type),u(),p("ngSwitchCase",0),u(),p("ngSwitchCase",1),u(),p("ngSwitchCase",2),u(),p("ngSwitchCase",3),u(),p("ngSwitchCase",4),u(),p("ngSwitchCase",5),u(),p("ngSwitchCase",6),u(),p("ngSwitchCase",7)}}function kq(n,i){if(n&1&&(c(0,"div",13),x(1,Tq,10,9,"ng-container",14),d()),n&2){let e=i.$implicit,t=_().$implicit,o=_(2);u(),p("ngIf",o.config[t][e])}}function Aq(n,i){if(n&1&&(c(0,"mat-tab"),x(1,vq,1,1,"ng-template",10),c(2,"div",11),x(3,kq,2,1,"div",12),d()()),n&2){let e=i.$implicit,t=_(2);u(3),p("ngForOf",t.configElements(e))}}function Rq(n,i){if(n&1){let e=k();c(0,"div",4)(1,"div",5)(2,"mat-tab-group",6),x(3,Aq,4,1,"mat-tab",7),d(),c(4,"div",8)(5,"button",9),b("click",function(){y(e);let o=_();return w(o.save())}),c(6,"uds-translate"),f(7,"Save"),d()()()()()}if(n&2){let e=_();u(2),p("@.disabled",!0),u(),p("ngForOf",e.sections())}}var cR=["UDS","Security"],dR=["UDS ID"],uR=(()=>{let i=class i{constructor(t,o){this.rest=t,this.api=o}ngOnInit(){this.rest.configuration.overview().then(t=>{this.config=t;for(let o in this.config)if(this.config.hasOwnProperty(o)){for(let r in this.config[o])if(this.config[o].hasOwnProperty(r)){let a=this.config[o][r];a.type===7?a.value='\u20ACfa{}#42123~#||23|\xDF\xF0\u0111\xE6"':a.type===3&&(a.value=!!["1",1,!0].includes(a.value)),a.original_value=a.value}}})}sections(){let t=[];for(let o in this.config)this.config.hasOwnProperty(o)&&!cR.includes(o)&&t.push(o);return t=t.sort((o,r)=>o.localeCompare(r)),t.unshift.apply(t,cR),t}configElements(t){let o=[],r=this.config[t];if(r)for(let a in r)r.hasOwnProperty(a)&&!(t==="UDS"&&dR.includes(a))&&o.push(a);return o=o.sort((a,s)=>a.localeCompare(s)),t==="UDS"&&o.unshift.apply(o,dR),o}save(){let t={};for(let o in this.config)if(this.config.hasOwnProperty(o)){for(let r in this.config[o])if(this.config[o].hasOwnProperty(r)){let a=this.config[o][r];if(a.original_value!==a.value){a.original_value=a.value,t[o]||(t[o]={});let s=a.value;a.type===3&&(s=["1",1,!0].includes(a.value)?"1":"0"),t[o][r]={value:s}}}}this.rest.configuration.save(t).then(()=>{this.api.gui.snackbar.open(django.gettext("Configuration saved"),django.gettext("dismiss"),{duration:2e3})})}};i.\u0275fac=function(o){return new(o||i)(C(Z),C(B))},i.\u0275cmp=E({type:i,selectors:[["uds-configuration"]],standalone:!1,decls:8,vars:4,consts:[[1,"detail"],[1,"mat-elevation-z4","title"],[3,"src"],["class","card",4,"ngIf"],[1,"card"],[1,"card-content"],["backgroundColor","primary"],[4,"ngFor","ngForOf"],[1,"config-footer"],["mat-raised-button","","color","primary",3,"click"],["mat-tab-label",""],[1,"content"],["class","field",4,"ngFor","ngForOf"],[1,"field"],[3,"ngSwitch",4,"ngIf"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],["matInput","",3,"ngModelChange","type","ngModel","matTooltip"],["matInput","",3,"ngModelChange","ngModel","matTooltip"],["matInput","","type","number",3,"ngModelChange","ngModel","matTooltip"],[1,"toggle"],[3,"ngModelChange","ngModel","matTooltip"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["matInput","","type","text","readonly","readonly",3,"ngModelChange","ngModel","matTooltip"],["matInput","","type","password",3,"ngModelChange","ngModel","matTooltip"],["matInput","","type","text",3,"ngModelChange","ngModel","matTooltip"]],template:function(o,r){o&1&&(c(0,"div",0)(1,"div",1),M(2,"img",2),f(3,"\xA0"),c(4,"uds-translate"),f(5,"UDS Configuration"),d()(),x(6,Rq,8,2,"div",3),gt(7,"notEmpty"),d()),o&2&&(u(2),p("src",r.api.staticURL("admin/img/icons/configuration.png"),Se),u(4),p("ngIf",Ct(7,2,r.config)))},dependencies:[$e,ue,ll,wp,OM,lt,Gi,we,xe,Te,ar,fe,ke,pt,vt,nt,Jt,en,rn,sr,ae,yn],styles:[".content[_ngcontent-%COMP%]{margin-top:2rem}.field[_ngcontent-%COMP%]{display:flex;justify-content:center;width:100%}.field[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:50%}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}input[readonly][_ngcontent-%COMP%]{background-color:#e0e0e0}.slider-label[_ngcontent-%COMP%]{color:#0009;display:block;font-weight:400;left:0;line-height:18px;overflow:hidden;pointer-events:none;position:absolute;text-align:left;text-overflow:ellipsis;top:.5em;transform:matrix(.75,0,0,.75,0,-21.5);transform-origin:0px 0px;white-space:nowrap}.config-footer[_ngcontent-%COMP%]{display:flex;justify-content:center;width:100%;margin-top:2rem;margin-bottom:2rem}"]});let n=i;return n})();var mR=(()=>{let i=class i{constructor(t,o,r){this.api=t,this.route=o,this.rest=r}ngOnInit(){}onDelete(t){return H(this,null,function*(){yield this.api.gui.forms.deleteForm(t,django.gettext("Delete actor token - USE WITH EXTREME CAUTION!!!"))})}};i.\u0275fac=function(o){return new(o||i)(C(B),C(Re),C(Z))},i.\u0275cmp=E({type:i,selectors:[["uds-actor-tokens"]],standalone:!1,decls:2,vars:4,consts:[["icon","accounts",3,"deleteAction","rest","multiSelect","allowExport","pageSize"]],template:function(o,r){o&1&&(c(0,"div")(1,"uds-table",0),b("deleteAction",function(s){return r.onDelete(s)}),d()()),o&2&&(u(),p("rest",r.rest.actorToken)("multiSelect",!0)("allowExport",!0)("pageSize",r.api.config.admin.page_size))},dependencies:[Ie],encapsulation:2});let n=i;return n})();var pR=(()=>{let i=class i{constructor(t,o,r){this.api=t,this.route=o,this.rest=r}ngOnInit(){}onDelete(t){this.api.gui.forms.deleteForm(t,django.gettext("Delete servers token - USE WITH EXTREME CAUTION!!!"))}};i.\u0275fac=function(o){return new(o||i)(C(B),C(Re),C(Z))},i.\u0275cmp=E({type:i,selectors:[["uds-servers-tokens"]],standalone:!1,decls:2,vars:4,consts:[["icon","proxy",3,"deleteAction","rest","multiSelect","allowExport","pageSize"]],template:function(o,r){o&1&&(c(0,"div")(1,"uds-table",0),b("deleteAction",function(s){return r.onDelete(s)}),d()()),o&2&&(u(),p("rest",r.rest.serversTokens)("multiSelect",!0)("allowExport",!0)("pageSize",r.api.config.admin.page_size))},dependencies:[Ie],encapsulation:2});let n=i;return n})();var Oq=[{path:"",canActivate:[ik],children:[{path:"",redirectTo:"summary",pathMatch:"full"},{path:"summary",component:sk},{path:"services/providers",component:pw},{path:"services/providers/:provider/detail",component:hw},{path:"services/providers/:provider",component:pw},{path:"services/providers/:provider/detail/:service",component:hw},{path:"services/servers",component:fw},{path:"services/servers/:server/detail",component:wA},{path:"services/servers/:server",component:fw},{path:"authenticators",component:gw},{path:"authenticators/:authenticator/detail",component:ag},{path:"authenticators/:authenticator",component:gw},{path:"authenticators/:authenticator/detail/groups/:group",component:ag},{path:"authenticators/:authenticator/detail/users/:user",component:ag},{path:"mfas",component:_w},{path:"mfas/:mfa",component:_w},{path:"osmanagers",component:Cw},{path:"osmanagers/:osmanager",component:Cw},{path:"connectivity/transports",component:xw},{path:"connectivity/transports/:transport",component:xw},{path:"connectivity/networks",component:Dw},{path:"connectivity/networks/:network",component:Dw},{path:"connectivity/tunnels",component:Sw},{path:"connectivity/tunnels/:tunnel",component:Sw},{path:"connectivity/tunnels/:tunnel/detail",component:TA},{path:"pools/service-pools",component:Ew},{path:"pools/service-pools/:pool",component:Ew},{path:"pools/service-pools/:pool/detail",component:mg},{path:"pools/meta-pools",component:Tw},{path:"pools/meta-pools/:metapool",component:Tw},{path:"pools/meta-pools/:metapool/detail",component:LA},{path:"pools/pool-groups",component:Aw},{path:"pools/pool-groups/:poolgroup",component:Aw},{path:"pools/calendars",component:Rw},{path:"pools/calendars/:calendar",component:Rw},{path:"pools/calendars/:calendar/detail",component:oR},{path:"pools/accounts",component:Hw},{path:"pools/accounts/:account",component:Hw},{path:"pools/accounts/:account/detail",component:rR},{path:"tools/gallery",component:Gw},{path:"tools/gallery/:image",component:Gw},{path:"tools/reports",component:sR},{path:"tools/notifiers",component:lR},{path:"tools/tokens/actor",component:mR},{path:"tools/tokens/server",component:pR},{path:"tools/configuration",component:uR}]}],hR=(()=>{let i=class i{};i.\u0275fac=function(o){return new(o||i)},i.\u0275mod=J({type:i}),i.\u0275inj=X({imports:[z0.forRoot(Oq,{}),z0]});let n=i;return n})();function fR(n){return new K(3e3,!1)}function Pq(){return new K(3100,!1)}function Fq(){return new K(3101,!1)}function Nq(n){return new K(3001,!1)}function Lq(n){return new K(3003,!1)}function Vq(n){return new K(3004,!1)}function Bq(n,i){return new K(3005,!1)}function jq(){return new K(3006,!1)}function zq(){return new K(3007,!1)}function Uq(n,i){return new K(3008,!1)}function Hq(n){return new K(3002,!1)}function Wq(n,i,e,t,o){return new K(3010,!1)}function Gq(){return new K(3011,!1)}function $q(){return new K(3012,!1)}function qq(){return new K(3200,!1)}function Yq(){return new K(3202,!1)}function Qq(){return new K(3013,!1)}function Kq(n){return new K(3014,!1)}function Zq(n){return new K(3015,!1)}function Xq(n){return new K(3016,!1)}function Jq(n,i){return new K(3404,!1)}function eY(n){return new K(3502,!1)}function tY(n){return new K(3503,!1)}function nY(){return new K(3300,!1)}function iY(n){return new K(3504,!1)}function oY(n){return new K(3301,!1)}function rY(n,i){return new K(3302,!1)}function aY(n){return new K(3303,!1)}function sY(n,i){return new K(3400,!1)}function lY(n){return new K(3401,!1)}function cY(n){return new K(3402,!1)}function dY(n,i){return new K(3505,!1)}function Aa(n){switch(n.length){case 0:return new ya;case 1:return n[0];default:return new Ad(n)}}function TR(n,i,e=new Map,t=new Map){let o=[],r=[],a=-1,s=null;if(i.forEach(l=>{let m=l.get("offset"),g=m==a,v=g&&s||new Map;l.forEach((D,S)=>{let I=S,A=D;if(S!=="offset")switch(I=n.normalizePropertyName(I,o),A){case Eh:A=e.get(S);break;case nr:A=t.get(S);break;default:A=n.normalizeStyleValue(S,I,A,o);break}v.set(I,A)}),g||r.push(v),s=v,a=m}),o.length)throw eY(o);return r}function pC(n,i,e,t){switch(i){case"start":n.onStart(()=>t(e&&$w(e,"start",n)));break;case"done":n.onDone(()=>t(e&&$w(e,"done",n)));break;case"destroy":n.onDestroy(()=>t(e&&$w(e,"destroy",n)));break}}function $w(n,i,e){let t=e.totalTime,o=!!e.disabled,r=hC(n.element,n.triggerName,n.fromState,n.toState,i||n.phaseName,t??n.totalTime,o),a=n._data;return a!=null&&(r._data=a),r}function hC(n,i,e,t,o="",r=0,a){return{element:n,triggerName:i,fromState:e,toState:t,phaseName:o,totalTime:r,disabled:!!a}}function Qi(n,i,e){let t=n.get(i);return t||n.set(i,t=e),t}function gR(n){let i=n.indexOf(":"),e=n.substring(1,i),t=n.slice(i+1);return[e,t]}var uY=typeof document>"u"?null:document.documentElement;function fC(n){let i=n.parentNode||n.host||null;return i===uY?null:i}function mY(n){return n.substring(1,6)=="ebkit"}var ys=null,_R=!1;function pY(n){ys||(ys=hY()||{},_R=ys.style?"WebkitAppearance"in ys.style:!1);let i=!0;return ys.style&&!mY(n)&&(i=n in ys.style,!i&&_R&&(i="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in ys.style)),i}function hY(){return typeof document<"u"?document.body:null}function kR(n,i){for(;i;){if(i===n)return!0;i=fC(i)}return!1}function AR(n,i,e){if(e)return Array.from(n.querySelectorAll(i));let t=n.querySelector(i);return t?[t]:[]}var gC=(()=>{class n{validateStyleProperty(e){return pY(e)}containsElement(e,t){return kR(e,t)}getParentElement(e){return fC(e)}query(e,t,o){return AR(e,t,o)}computeStyle(e,t,o){return o||""}animate(e,t,o,r,a,s=[],l){return new ya(o,r)}static \u0275fac=function(t){return new(t||n)};static \u0275prov=P({token:n,factory:n.\u0275fac})}return n})(),xs=class{static NOOP=new gC},Ds=class{};var fY=1e3,RR="{{",gY="}}",OR="ng-enter",Xw="ng-leave",_g="ng-trigger",Cg=".ng-trigger",vR="ng-animating",Jw=".ng-animating";function zr(n){if(typeof n=="number")return n;let i=n.match(/^(-?[\.\d]+)(m?s)/);return!i||i.length<2?0:eC(parseFloat(i[1]),i[2])}function eC(n,i){switch(i){case"s":return n*fY;default:return n}}function xg(n,i,e){return n.hasOwnProperty("duration")?n:_Y(n,i,e)}function _Y(n,i,e){let t=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,o,r=0,a="";if(typeof n=="string"){let s=n.match(t);if(s===null)return i.push(fR(n)),{duration:0,delay:0,easing:""};o=eC(parseFloat(s[1]),s[2]);let l=s[3];l!=null&&(r=eC(parseFloat(l),s[4]));let m=s[5];m&&(a=m)}else o=n;if(!e){let s=!1,l=i.length;o<0&&(i.push(Pq()),s=!0),r<0&&(i.push(Fq()),s=!0),s&&i.splice(l,0,fR(n))}return{duration:o,delay:r,easing:a}}function vY(n){return n.length?n[0]instanceof Map?n:n.map(i=>new Map(Object.entries(i))):[]}function lr(n,i,e){i.forEach((t,o)=>{let r=_C(o);e&&!e.has(o)&&e.set(o,n.style[r]),n.style[r]=t})}function Cs(n,i){i.forEach((e,t)=>{let o=_C(t);n.style[o]=""})}function Xd(n){return Array.isArray(n)?n.length==1?n[0]:U1(n):n}function bY(n,i,e){let t=i.params||{},o=PR(n);o.length&&o.forEach(r=>{t.hasOwnProperty(r)||e.push(Nq(r))})}var tC=new RegExp(`${RR}\\s*(.+?)\\s*${gY}`,"g");function PR(n){let i=[];if(typeof n=="string"){let e;for(;e=tC.exec(n);)i.push(e[1]);tC.lastIndex=0}return i}function eu(n,i,e){let t=`${n}`,o=t.replace(tC,(r,a)=>{let s=i[a];return s==null&&(e.push(Lq(a)),s=""),s.toString()});return o==t?n:o}var yY=/-+([a-z0-9])/g;function _C(n){return n.replace(yY,(...i)=>i[1].toUpperCase())}function wY(n,i){return n===0||i===0}function CY(n,i,e){if(e.size&&i.length){let t=i[0],o=[];if(e.forEach((r,a)=>{t.has(a)||o.push(a),t.set(a,r)}),o.length)for(let r=1;ra.set(s,vC(n,s)))}}return i}function Yi(n,i,e){switch(i.type){case it.Trigger:return n.visitTrigger(i,e);case it.State:return n.visitState(i,e);case it.Transition:return n.visitTransition(i,e);case it.Sequence:return n.visitSequence(i,e);case it.Group:return n.visitGroup(i,e);case it.Animate:return n.visitAnimate(i,e);case it.Keyframes:return n.visitKeyframes(i,e);case it.Style:return n.visitStyle(i,e);case it.Reference:return n.visitReference(i,e);case it.AnimateChild:return n.visitAnimateChild(i,e);case it.AnimateRef:return n.visitAnimateRef(i,e);case it.Query:return n.visitQuery(i,e);case it.Stagger:return n.visitStagger(i,e);default:throw Vq(i.type)}}function vC(n,i){return window.getComputedStyle(n)[i]}var xY=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"]),Dg=class extends Ds{normalizePropertyName(i,e){return _C(i)}normalizeStyleValue(i,e,t,o){let r="",a=t.toString().trim();if(xY.has(e)&&t!==0&&t!=="0")if(typeof t=="number")r="px";else{let s=t.match(/^[+-]?[\d\.]+([a-z]*)$/);s&&s[1].length==0&&o.push(Bq(i,t))}return a+r}};var Sg="*";function DY(n,i){let e=[];return typeof n=="string"?n.split(/\s*,\s*/).forEach(t=>SY(t,e,i)):e.push(n),e}function SY(n,i,e){if(n[0]==":"){let l=EY(n,e);if(typeof l=="function"){i.push(l);return}n=l}let t=n.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(t==null||t.length<4)return e.push(Zq(n)),i;let o=t[1],r=t[2],a=t[3];i.push(bR(o,a));let s=o==Sg&&a==Sg;r[0]=="<"&&!s&&i.push(bR(a,o))}function EY(n,i){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,t)=>parseFloat(t)>parseFloat(e);case":decrement":return(e,t)=>parseFloat(t) *"}}var vg=new Set(["true","1"]),bg=new Set(["false","0"]);function bR(n,i){let e=vg.has(n)||bg.has(n),t=vg.has(i)||bg.has(i);return(o,r)=>{let a=n==Sg||n==o,s=i==Sg||i==r;return!a&&e&&typeof o=="boolean"&&(a=o?vg.has(n):bg.has(n)),!s&&t&&typeof r=="boolean"&&(s=r?vg.has(i):bg.has(i)),a&&s}}var FR=":self",MY=new RegExp(`s*${FR}s*,?`,"g");function NR(n,i,e,t){return new nC(n).build(i,e,t)}var yR="",nC=class{_driver;constructor(i){this._driver=i}build(i,e,t){let o=new iC(e);return this._resetContextStyleTimingState(o),Yi(this,Xd(i),o)}_resetContextStyleTimingState(i){i.currentQuerySelector=yR,i.collectedStyles=new Map,i.collectedStyles.set(yR,new Map),i.currentTime=0}visitTrigger(i,e){let t=e.queryCount=0,o=e.depCount=0,r=[],a=[];return i.name.charAt(0)=="@"&&e.errors.push(jq()),i.definitions.forEach(s=>{if(this._resetContextStyleTimingState(e),s.type==it.State){let l=s,m=l.name;m.toString().split(/\s*,\s*/).forEach(g=>{l.name=g,r.push(this.visitState(l,e))}),l.name=m}else if(s.type==it.Transition){let l=this.visitTransition(s,e);t+=l.queryCount,o+=l.depCount,a.push(l)}else e.errors.push(zq())}),{type:it.Trigger,name:i.name,states:r,transitions:a,queryCount:t,depCount:o,options:null}}visitState(i,e){let t=this.visitStyle(i.styles,e),o=i.options&&i.options.params||null;if(t.containsDynamicStyles){let r=new Set,a=o||{};t.styles.forEach(s=>{s instanceof Map&&s.forEach(l=>{PR(l).forEach(m=>{a.hasOwnProperty(m)||r.add(m)})})}),r.size&&e.errors.push(Uq(i.name,[...r.values()]))}return{type:it.State,name:i.name,style:t,options:o?{params:o}:null}}visitTransition(i,e){e.queryCount=0,e.depCount=0;let t=Yi(this,Xd(i.animation),e),o=DY(i.expr,e.errors);return{type:it.Transition,matchers:o,animation:t,queryCount:e.queryCount,depCount:e.depCount,options:ws(i.options)}}visitSequence(i,e){return{type:it.Sequence,steps:i.steps.map(t=>Yi(this,t,e)),options:ws(i.options)}}visitGroup(i,e){let t=e.currentTime,o=0,r=i.steps.map(a=>{e.currentTime=t;let s=Yi(this,a,e);return o=Math.max(o,e.currentTime),s});return e.currentTime=o,{type:it.Group,steps:r,options:ws(i.options)}}visitAnimate(i,e){let t=AY(i.timings,e.errors);e.currentAnimateTimings=t;let o,r=i.styles?i.styles:Me({});if(r.type==it.Keyframes)o=this.visitKeyframes(r,e);else{let a=i.styles,s=!1;if(!a){s=!0;let m={};t.easing&&(m.easing=t.easing),a=Me(m)}e.currentTime+=t.duration+t.delay;let l=this.visitStyle(a,e);l.isEmptyStep=s,o=l}return e.currentAnimateTimings=null,{type:it.Animate,timings:t,style:o,options:null}}visitStyle(i,e){let t=this._makeStyleAst(i,e);return this._validateStyleAst(t,e),t}_makeStyleAst(i,e){let t=[],o=Array.isArray(i.styles)?i.styles:[i.styles];for(let s of o)typeof s=="string"?s===nr?t.push(s):e.errors.push(Hq(s)):t.push(new Map(Object.entries(s)));let r=!1,a=null;return t.forEach(s=>{if(s instanceof Map&&(s.has("easing")&&(a=s.get("easing"),s.delete("easing")),!r)){for(let l of s.values())if(l.toString().indexOf(RR)>=0){r=!0;break}}}),{type:it.Style,styles:t,easing:a,offset:i.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(i,e){let t=e.currentAnimateTimings,o=e.currentTime,r=e.currentTime;t&&r>0&&(r-=t.duration+t.delay),i.styles.forEach(a=>{typeof a!="string"&&a.forEach((s,l)=>{let m=e.collectedStyles.get(e.currentQuerySelector),g=m.get(l),v=!0;g&&(r!=o&&r>=g.startTime&&o<=g.endTime&&(e.errors.push(Wq(l,g.startTime,g.endTime,r,o)),v=!1),r=g.startTime),v&&m.set(l,{startTime:r,endTime:o}),e.options&&bY(s,e.options,e.errors)})})}visitKeyframes(i,e){let t={type:it.Keyframes,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(Gq()),t;let o=1,r=0,a=[],s=!1,l=!1,m=0,g=i.steps.map(V=>{let he=this._makeStyleAst(V,e),Ve=he.offset!=null?he.offset:kY(he.styles),Dt=0;return Ve!=null&&(r++,Dt=he.offset=Ve),l=l||Dt<0||Dt>1,s=s||Dt0&&r{let Ve=D>0?he==S?1:D*he:a[he],Dt=Ve*Y;e.currentTime=I+A.delay+Dt,A.duration=Dt,this._validateStyleAst(V,e),V.offset=Ve,t.styles.push(V)}),t}visitReference(i,e){return{type:it.Reference,animation:Yi(this,Xd(i.animation),e),options:ws(i.options)}}visitAnimateChild(i,e){return e.depCount++,{type:it.AnimateChild,options:ws(i.options)}}visitAnimateRef(i,e){return{type:it.AnimateRef,animation:this.visitReference(i.animation,e),options:ws(i.options)}}visitQuery(i,e){let t=e.currentQuerySelector,o=i.options||{};e.queryCount++,e.currentQuery=i;let[r,a]=IY(i.selector);e.currentQuerySelector=t.length?t+" "+r:r,Qi(e.collectedStyles,e.currentQuerySelector,new Map);let s=Yi(this,Xd(i.animation),e);return e.currentQuery=null,e.currentQuerySelector=t,{type:it.Query,selector:r,limit:o.limit||0,optional:!!o.optional,includeSelf:a,animation:s,originalSelector:i.selector,options:ws(i.options)}}visitStagger(i,e){e.currentQuery||e.errors.push(Qq());let t=i.timings==="full"?{duration:0,delay:0,easing:"full"}:xg(i.timings,e.errors,!0);return{type:it.Stagger,animation:Yi(this,Xd(i.animation),e),timings:t,options:null}}};function IY(n){let i=!!n.split(/\s*,\s*/).find(e=>e==FR);return i&&(n=n.replace(MY,"")),n=n.replace(/@\*/g,Cg).replace(/@\w+/g,e=>Cg+"-"+e.slice(1)).replace(/:animating/g,Jw),[n,i]}function TY(n){return n?L({},n):null}var iC=class{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(i){this.errors=i}};function kY(n){if(typeof n=="string")return null;let i=null;if(Array.isArray(n))n.forEach(e=>{if(e instanceof Map&&e.has("offset")){let t=e;i=parseFloat(t.get("offset")),t.delete("offset")}});else if(n instanceof Map&&n.has("offset")){let e=n;i=parseFloat(e.get("offset")),e.delete("offset")}return i}function AY(n,i){if(n.hasOwnProperty("duration"))return n;if(typeof n=="number"){let r=xg(n,i).duration;return qw(r,0,"")}let e=n;if(e.split(/\s+/).some(r=>r.charAt(0)=="{"&&r.charAt(1)=="{")){let r=qw(0,0,"");return r.dynamic=!0,r.strValue=e,r}let o=xg(e,i);return qw(o.duration,o.delay,o.easing)}function ws(n){return n?(n=L({},n),n.params&&(n.params=TY(n.params))):n={},n}function qw(n,i,e){return{duration:n,delay:i,easing:e}}function bC(n,i,e,t,o,r,a=null,s=!1){return{type:1,element:n,keyframes:i,preStyleProps:e,postStyleProps:t,duration:o,delay:r,totalTime:o+r,easing:a,subTimeline:s}}var tu=class{_map=new Map;get(i){return this._map.get(i)||[]}append(i,e){let t=this._map.get(i);t||this._map.set(i,t=[]),t.push(...e)}has(i){return this._map.has(i)}clear(){this._map.clear()}},RY=1,OY=":enter",PY=new RegExp(OY,"g"),FY=":leave",NY=new RegExp(FY,"g");function LR(n,i,e,t,o,r=new Map,a=new Map,s,l,m=[]){return new oC().buildKeyframes(n,i,e,t,o,r,a,s,l,m)}var oC=class{buildKeyframes(i,e,t,o,r,a,s,l,m,g=[]){m=m||new tu;let v=new rC(i,e,m,o,r,g,[]);v.options=l;let D=l.delay?zr(l.delay):0;v.currentTimeline.delayNextStep(D),v.currentTimeline.setStyles([a],null,v.errors,l),Yi(this,t,v);let S=v.timelines.filter(I=>I.containsAnimation());if(S.length&&s.size){let I;for(let A=S.length-1;A>=0;A--){let Y=S[A];if(Y.element===e){I=Y;break}}I&&!I.allowOnlyTimelineStyles()&&I.setStyles([s],null,v.errors,l)}return S.length?S.map(I=>I.buildKeyframes()):[bC(e,[],[],[],0,D,"",!1)]}visitTrigger(i,e){}visitState(i,e){}visitTransition(i,e){}visitAnimateChild(i,e){let t=e.subInstructions.get(e.element);if(t){let o=e.createSubContext(i.options),r=e.currentTimeline.currentTime,a=this._visitSubInstructions(t,o,o.options);r!=a&&e.transformIntoNewTimeline(a)}e.previousNode=i}visitAnimateRef(i,e){let t=e.createSubContext(i.options);t.transformIntoNewTimeline(),this._applyAnimationRefDelays([i.options,i.animation.options],e,t),this.visitReference(i.animation,t),e.transformIntoNewTimeline(t.currentTimeline.currentTime),e.previousNode=i}_applyAnimationRefDelays(i,e,t){for(let o of i){let r=o?.delay;if(r){let a=typeof r=="number"?r:zr(eu(r,o?.params??{},e.errors));t.delayNextStep(a)}}}_visitSubInstructions(i,e,t){let r=e.currentTimeline.currentTime,a=t.duration!=null?zr(t.duration):null,s=t.delay!=null?zr(t.delay):null;return a!==0&&i.forEach(l=>{let m=e.appendInstructionToTimeline(l,a,s);r=Math.max(r,m.duration+m.delay)}),r}visitReference(i,e){e.updateOptions(i.options,!0),Yi(this,i.animation,e),e.previousNode=i}visitSequence(i,e){let t=e.subContextCount,o=e,r=i.options;if(r&&(r.params||r.delay)&&(o=e.createSubContext(r),o.transformIntoNewTimeline(),r.delay!=null)){o.previousNode.type==it.Style&&(o.currentTimeline.snapshotCurrentStyles(),o.previousNode=Eg);let a=zr(r.delay);o.delayNextStep(a)}i.steps.length&&(i.steps.forEach(a=>Yi(this,a,o)),o.currentTimeline.applyStylesToKeyframe(),o.subContextCount>t&&o.transformIntoNewTimeline()),e.previousNode=i}visitGroup(i,e){let t=[],o=e.currentTimeline.currentTime,r=i.options&&i.options.delay?zr(i.options.delay):0;i.steps.forEach(a=>{let s=e.createSubContext(i.options);r&&s.delayNextStep(r),Yi(this,a,s),o=Math.max(o,s.currentTimeline.currentTime),t.push(s.currentTimeline)}),t.forEach(a=>e.currentTimeline.mergeTimelineCollectedStyles(a)),e.transformIntoNewTimeline(o),e.previousNode=i}_visitTiming(i,e){if(i.dynamic){let t=i.strValue,o=e.params?eu(t,e.params,e.errors):t;return xg(o,e.errors)}else return{duration:i.duration,delay:i.delay,easing:i.easing}}visitAnimate(i,e){let t=e.currentAnimateTimings=this._visitTiming(i.timings,e),o=e.currentTimeline;t.delay&&(e.incrementTime(t.delay),o.snapshotCurrentStyles());let r=i.style;r.type==it.Keyframes?this.visitKeyframes(r,e):(e.incrementTime(t.duration),this.visitStyle(r,e),o.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=i}visitStyle(i,e){let t=e.currentTimeline,o=e.currentAnimateTimings;!o&&t.hasCurrentStyleProperties()&&t.forwardFrame();let r=o&&o.easing||i.easing;i.isEmptyStep?t.applyEmptyStep(r):t.setStyles(i.styles,r,e.errors,e.options),e.previousNode=i}visitKeyframes(i,e){let t=e.currentAnimateTimings,o=e.currentTimeline.duration,r=t.duration,s=e.createSubContext().currentTimeline;s.easing=t.easing,i.styles.forEach(l=>{let m=l.offset||0;s.forwardTime(m*r),s.setStyles(l.styles,l.easing,e.errors,e.options),s.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(s),e.transformIntoNewTimeline(o+r),e.previousNode=i}visitQuery(i,e){let t=e.currentTimeline.currentTime,o=i.options||{},r=o.delay?zr(o.delay):0;r&&(e.previousNode.type===it.Style||t==0&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=Eg);let a=t,s=e.invokeQuery(i.selector,i.originalSelector,i.limit,i.includeSelf,!!o.optional,e.errors);e.currentQueryTotal=s.length;let l=null;s.forEach((m,g)=>{e.currentQueryIndex=g;let v=e.createSubContext(i.options,m);r&&v.delayNextStep(r),m===e.element&&(l=v.currentTimeline),Yi(this,i.animation,v),v.currentTimeline.applyStylesToKeyframe();let D=v.currentTimeline.currentTime;a=Math.max(a,D)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(a),l&&(e.currentTimeline.mergeTimelineCollectedStyles(l),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=i}visitStagger(i,e){let t=e.parentContext,o=e.currentTimeline,r=i.timings,a=Math.abs(r.duration),s=a*(e.currentQueryTotal-1),l=a*e.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":l=s-l;break;case"full":l=t.currentStaggerTime;break}let g=e.currentTimeline;l&&g.delayNextStep(l);let v=g.currentTime;Yi(this,i.animation,e),e.previousNode=i,t.currentStaggerTime=o.currentTime-v+(o.startTime-t.currentTimeline.startTime)}},Eg={},rC=class n{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=Eg;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(i,e,t,o,r,a,s,l){this._driver=i,this.element=e,this.subInstructions=t,this._enterClassName=o,this._leaveClassName=r,this.errors=a,this.timelines=s,this.currentTimeline=l||new Mg(this._driver,e,0),s.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(i,e){if(!i)return;let t=i,o=this.options;t.duration!=null&&(o.duration=zr(t.duration)),t.delay!=null&&(o.delay=zr(t.delay));let r=t.params;if(r){let a=o.params;a||(a=this.options.params={}),Object.keys(r).forEach(s=>{(!e||!a.hasOwnProperty(s))&&(a[s]=eu(r[s],a,this.errors))})}}_copyOptions(){let i={};if(this.options){let e=this.options.params;if(e){let t=i.params={};Object.keys(e).forEach(o=>{t[o]=e[o]})}}return i}createSubContext(i=null,e,t){let o=e||this.element,r=new n(this._driver,o,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(o,t||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(i),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(i){return this.previousNode=Eg,this.currentTimeline=this.currentTimeline.fork(this.element,i),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(i,e,t){let o={duration:e??i.duration,delay:this.currentTimeline.currentTime+(t??0)+i.delay,easing:""},r=new aC(this._driver,i.element,i.keyframes,i.preStyleProps,i.postStyleProps,o,i.stretchStartingKeyframe);return this.timelines.push(r),o}incrementTime(i){this.currentTimeline.forwardTime(this.currentTimeline.duration+i)}delayNextStep(i){i>0&&this.currentTimeline.delayNextStep(i)}invokeQuery(i,e,t,o,r,a){let s=[];if(o&&s.push(this.element),i.length>0){i=i.replace(PY,"."+this._enterClassName),i=i.replace(NY,"."+this._leaveClassName);let l=t!=1,m=this._driver.query(this.element,i,l);t!==0&&(m=t<0?m.slice(m.length+t,m.length):m.slice(0,t)),s.push(...m)}return!r&&s.length==0&&a.push(Kq(e)),s}},Mg=class n{_driver;element;startTime;_elementTimelineStylesLookup;duration=0;easing=null;_previousKeyframe=new Map;_currentKeyframe=new Map;_keyframes=new Map;_styleSummary=new Map;_localTimelineStyles=new Map;_globalTimelineStyles;_pendingStyles=new Map;_backFill=new Map;_currentEmptyStepKeyframe=null;constructor(i,e,t,o){this._driver=i,this.element=e,this.startTime=t,this._elementTimelineStylesLookup=o,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(i){let e=this._keyframes.size===1&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+i),e&&this.snapshotCurrentStyles()):this.startTime+=i}fork(i,e){return this.applyStylesToKeyframe(),new n(this._driver,i,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=RY,this._loadKeyframe()}forwardTime(i){this.applyStylesToKeyframe(),this.duration=i,this._loadKeyframe()}_updateStyle(i,e){this._localTimelineStyles.set(i,e),this._globalTimelineStyles.set(i,e),this._styleSummary.set(i,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(i){i&&this._previousKeyframe.set("easing",i);for(let[e,t]of this._globalTimelineStyles)this._backFill.set(e,t||nr),this._currentKeyframe.set(e,nr);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(i,e,t,o){e&&this._previousKeyframe.set("easing",e);let r=o&&o.params||{},a=LY(i,this._globalTimelineStyles);for(let[s,l]of a){let m=eu(l,r,t);this._pendingStyles.set(s,m),this._localTimelineStyles.has(s)||this._backFill.set(s,this._globalTimelineStyles.get(s)??nr),this._updateStyle(s,m)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((i,e)=>{this._currentKeyframe.set(e,i)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((i,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,i)}))}snapshotCurrentStyles(){for(let[i,e]of this._localTimelineStyles)this._pendingStyles.set(i,e),this._updateStyle(i,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let i=[];for(let e in this._currentKeyframe)i.push(e);return i}mergeTimelineCollectedStyles(i){i._styleSummary.forEach((e,t)=>{let o=this._styleSummary.get(t);(!o||e.time>o.time)&&this._updateStyle(t,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();let i=new Set,e=new Set,t=this._keyframes.size===1&&this.duration===0,o=[];this._keyframes.forEach((s,l)=>{let m=new Map([...this._backFill,...s]);m.forEach((g,v)=>{g===Eh?i.add(v):g===nr&&e.add(v)}),t||m.set("offset",l/this.duration),o.push(m)});let r=[...i.values()],a=[...e.values()];if(t){let s=o[0],l=new Map(s);s.set("offset",0),l.set("offset",1),o=[s,l]}return bC(this.element,o,r,a,this.duration,this.startTime,this.easing,!1)}},aC=class extends Mg{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(i,e,t,o,r,a,s=!1){super(i,e,a.delay),this.keyframes=t,this.preStyleProps=o,this.postStyleProps=r,this._stretchStartingKeyframe=s,this.timings={duration:a.duration,delay:a.delay,easing:a.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let i=this.keyframes,{delay:e,duration:t,easing:o}=this.timings;if(this._stretchStartingKeyframe&&e){let r=[],a=t+e,s=e/a,l=new Map(i[0]);l.set("offset",0),r.push(l);let m=new Map(i[0]);m.set("offset",wR(s)),r.push(m);let g=i.length-1;for(let v=1;v<=g;v++){let D=new Map(i[v]),S=D.get("offset"),I=e+S*t;D.set("offset",wR(I/a)),r.push(D)}t=a,e=0,o="",i=r}return bC(this.element,i,this.preStyleProps,this.postStyleProps,t,e,o,!0)}};function wR(n,i=3){let e=Math.pow(10,i-1);return Math.round(n*e)/e}function LY(n,i){let e=new Map,t;return n.forEach(o=>{if(o==="*"){t??=i.keys();for(let r of t)e.set(r,nr)}else for(let[r,a]of o)e.set(r,a)}),e}function CR(n,i,e,t,o,r,a,s,l,m,g,v,D){return{type:0,element:n,triggerName:i,isRemovalTransition:o,fromState:e,fromStyles:r,toState:t,toStyles:a,timelines:s,queriedElements:l,preStyleProps:m,postStyleProps:g,totalTime:v,errors:D}}var Yw={},Ig=class{_triggerName;ast;_stateStyles;constructor(i,e,t){this._triggerName=i,this.ast=e,this._stateStyles=t}match(i,e,t,o){return VY(this.ast.matchers,i,e,t,o)}buildStyles(i,e,t){let o=this._stateStyles.get("*");return i!==void 0&&(o=this._stateStyles.get(i?.toString())||o),o?o.buildStyles(e,t):new Map}build(i,e,t,o,r,a,s,l,m,g){let v=[],D=this.ast.options&&this.ast.options.params||Yw,S=s&&s.params||Yw,I=this.buildStyles(t,S,v),A=l&&l.params||Yw,Y=this.buildStyles(o,A,v),V=new Set,he=new Map,Ve=new Map,Dt=o==="void",wn={params:VR(A,D),delay:this.ast.options?.delay},Vt=g?[]:LR(i,e,this.ast.animation,r,a,I,Y,wn,m,v),an=0;return Vt.forEach(Ln=>{an=Math.max(Ln.duration+Ln.delay,an)}),v.length?CR(e,this._triggerName,t,o,Dt,I,Y,[],[],he,Ve,an,v):(Vt.forEach(Ln=>{let cr=Ln.element,Ss=Qi(he,cr,new Set);Ln.preStyleProps.forEach(Ra=>Ss.add(Ra));let MC=Qi(Ve,cr,new Set);Ln.postStyleProps.forEach(Ra=>MC.add(Ra)),cr!==e&&V.add(cr)}),CR(e,this._triggerName,t,o,Dt,I,Y,Vt,[...V.values()],he,Ve,an))}};function VY(n,i,e,t,o){return n.some(r=>r(i,e,t,o))}function VR(n,i){let e=L({},i);return Object.entries(n).forEach(([t,o])=>{o!=null&&(e[t]=o)}),e}var sC=class{styles;defaultParams;normalizer;constructor(i,e,t){this.styles=i,this.defaultParams=e,this.normalizer=t}buildStyles(i,e){let t=new Map,o=VR(i,this.defaultParams);return this.styles.styles.forEach(r=>{typeof r!="string"&&r.forEach((a,s)=>{a&&(a=eu(a,o,e));let l=this.normalizer.normalizePropertyName(s,e);a=this.normalizer.normalizeStyleValue(s,l,a,e),t.set(s,a)})}),t}};function BY(n,i,e){return new lC(n,i,e)}var lC=class{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(i,e,t){this.name=i,this.ast=e,this._normalizer=t,e.states.forEach(o=>{let r=o.options&&o.options.params||{};this.states.set(o.name,new sC(o.style,r,t))}),xR(this.states,"true","1"),xR(this.states,"false","0"),e.transitions.forEach(o=>{this.transitionFactories.push(new Ig(i,o,this.states))}),this.fallbackTransition=jY(i,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(i,e,t,o){return this.transitionFactories.find(a=>a.match(i,e,t,o))||null}matchStyles(i,e,t){return this.fallbackTransition.buildStyles(i,e,t)}};function jY(n,i,e){let t=[(a,s)=>!0],o={type:it.Sequence,steps:[],options:null},r={type:it.Transition,animation:o,matchers:t,options:null,queryCount:0,depCount:0};return new Ig(n,r,i)}function xR(n,i,e){n.has(i)?n.has(e)||n.set(e,n.get(i)):n.has(e)&&n.set(i,n.get(e))}var zY=new tu,cC=class{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(i,e,t){this.bodyNode=i,this._driver=e,this._normalizer=t}register(i,e){let t=[],o=[],r=NR(this._driver,e,t,o);if(t.length)throw tY(t);o.length&&void 0,this._animations.set(i,r)}_buildPlayer(i,e,t){let o=i.element,r=TR(this._normalizer,i.keyframes,e,t);return this._driver.animate(o,r,i.duration,i.delay,i.easing,[],!0)}create(i,e,t={}){let o=[],r=this._animations.get(i),a,s=new Map;if(r?(a=LR(this._driver,e,r,OR,Xw,new Map,new Map,t,zY,o),a.forEach(g=>{let v=Qi(s,g.element,new Map);g.postStyleProps.forEach(D=>v.set(D,null))})):(o.push(nY()),a=[]),o.length)throw iY(o);s.forEach((g,v)=>{g.forEach((D,S)=>{g.set(S,this._driver.computeStyle(v,S,nr))})});let l=a.map(g=>{let v=s.get(g.element);return this._buildPlayer(g,new Map,v)}),m=Aa(l);return this._playersById.set(i,m),m.onDestroy(()=>this.destroy(i)),this.players.push(m),m}destroy(i){let e=this._getPlayer(i);e.destroy(),this._playersById.delete(i);let t=this.players.indexOf(e);t>=0&&this.players.splice(t,1)}_getPlayer(i){let e=this._playersById.get(i);if(!e)throw oY(i);return e}listen(i,e,t,o){let r=hC(e,"","","");return pC(this._getPlayer(i),t,r,o),()=>{}}command(i,e,t,o){if(t=="register"){this.register(i,o[0]);return}if(t=="create"){let a=o[0]||{};this.create(i,e,a);return}let r=this._getPlayer(i);switch(t){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(o[0]));break;case"destroy":this.destroy(i);break}}},DR="ng-animate-queued",UY=".ng-animate-queued",Qw="ng-animate-disabled",HY=".ng-animate-disabled",WY="ng-star-inserted",GY=".ng-star-inserted",$Y=[],BR={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},qY={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Fo="__ng_removed",nu=class{namespaceId;value;options;get params(){return this.options.params}constructor(i,e=""){this.namespaceId=e;let t=i&&i.hasOwnProperty("value"),o=t?i.value:i;if(this.value=QY(o),t){let r=i,{value:a}=r,s=Ng(r,["value"]);this.options=s}else this.options={};this.options.params||(this.options.params={})}absorbOptions(i){let e=i.params;if(e){let t=this.options.params;Object.keys(e).forEach(o=>{t[o]==null&&(t[o]=e[o])})}}},Jd="void",Kw=new nu(Jd),dC=class{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(i,e,t){this.id=i,this.hostElement=e,this._engine=t,this._hostClassName="ng-tns-"+i,go(e,this._hostClassName)}listen(i,e,t,o){if(!this._triggers.has(e))throw rY(t,e);if(t==null||t.length==0)throw aY(e);if(!KY(t))throw sY(t,e);let r=Qi(this._elementListeners,i,[]),a={name:e,phase:t,callback:o};r.push(a);let s=Qi(this._engine.statesByElement,i,new Map);return s.has(e)||(go(i,_g),go(i,_g+"-"+e),s.set(e,Kw)),()=>{this._engine.afterFlush(()=>{let l=r.indexOf(a);l>=0&&r.splice(l,1),this._triggers.has(e)||s.delete(e)})}}register(i,e){return this._triggers.has(i)?!1:(this._triggers.set(i,e),!0)}_getTrigger(i){let e=this._triggers.get(i);if(!e)throw lY(i);return e}trigger(i,e,t,o=!0){let r=this._getTrigger(e),a=new iu(this.id,e,i),s=this._engine.statesByElement.get(i);s||(go(i,_g),go(i,_g+"-"+e),this._engine.statesByElement.set(i,s=new Map));let l=s.get(e),m=new nu(t,this.id);if(!(t&&t.hasOwnProperty("value"))&&l&&m.absorbOptions(l.options),s.set(e,m),l||(l=Kw),!(m.value===Jd)&&l.value===m.value){if(!JY(l.params,m.params)){let A=[],Y=r.matchStyles(l.value,l.params,A),V=r.matchStyles(m.value,m.params,A);A.length?this._engine.reportError(A):this._engine.afterFlush(()=>{Cs(i,Y),lr(i,V)})}return}let D=Qi(this._engine.playersByElement,i,[]);D.forEach(A=>{A.namespaceId==this.id&&A.triggerName==e&&A.queued&&A.destroy()});let S=r.matchTransition(l.value,m.value,i,m.params),I=!1;if(!S){if(!o)return;S=r.fallbackTransition,I=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:i,triggerName:e,transition:S,fromState:l,toState:m,player:a,isFallbackTransition:I}),I||(go(i,DR),a.onStart(()=>{Jl(i,DR)})),a.onDone(()=>{let A=this.players.indexOf(a);A>=0&&this.players.splice(A,1);let Y=this._engine.playersByElement.get(i);if(Y){let V=Y.indexOf(a);V>=0&&Y.splice(V,1)}}),this.players.push(a),D.push(a),a}deregister(i){this._triggers.delete(i),this._engine.statesByElement.forEach(e=>e.delete(i)),this._elementListeners.forEach((e,t)=>{this._elementListeners.set(t,e.filter(o=>o.name!=i))})}clearElementCache(i){this._engine.statesByElement.delete(i),this._elementListeners.delete(i);let e=this._engine.playersByElement.get(i);e&&(e.forEach(t=>t.destroy()),this._engine.playersByElement.delete(i))}_signalRemovalForInnerTriggers(i,e){let t=this._engine.driver.query(i,Cg,!0);t.forEach(o=>{if(o[Fo])return;let r=this._engine.fetchNamespacesByElement(o);r.size?r.forEach(a=>a.triggerLeaveAnimation(o,e,!1,!0)):this.clearElementCache(o)}),this._engine.afterFlushAnimationsDone(()=>t.forEach(o=>this.clearElementCache(o)))}triggerLeaveAnimation(i,e,t,o){let r=this._engine.statesByElement.get(i),a=new Map;if(r){let s=[];if(r.forEach((l,m)=>{if(a.set(m,l.value),this._triggers.has(m)){let g=this.trigger(i,m,Jd,o);g&&s.push(g)}}),s.length)return this._engine.markElementAsRemoved(this.id,i,!0,e,a),t&&Aa(s).onDone(()=>this._engine.processLeaveNode(i)),!0}return!1}prepareLeaveAnimationListeners(i){let e=this._elementListeners.get(i),t=this._engine.statesByElement.get(i);if(e&&t){let o=new Set;e.forEach(r=>{let a=r.name;if(o.has(a))return;o.add(a);let l=this._triggers.get(a).fallbackTransition,m=t.get(a)||Kw,g=new nu(Jd),v=new iu(this.id,a,i);this._engine.totalQueuedPlayers++,this._queue.push({element:i,triggerName:a,transition:l,fromState:m,toState:g,player:v,isFallbackTransition:!0})})}}removeNode(i,e){let t=this._engine;if(i.childElementCount&&this._signalRemovalForInnerTriggers(i,e),this.triggerLeaveAnimation(i,e,!0))return;let o=!1;if(t.totalAnimations){let r=t.players.length?t.playersByQueriedElement.get(i):[];if(r&&r.length)o=!0;else{let a=i;for(;a=a.parentNode;)if(t.statesByElement.get(a)){o=!0;break}}}if(this.prepareLeaveAnimationListeners(i),o)t.markElementAsRemoved(this.id,i,!1,e);else{let r=i[Fo];(!r||r===BR)&&(t.afterFlush(()=>this.clearElementCache(i)),t.destroyInnerAnimations(i),t._onRemovalComplete(i,e))}}insertNode(i,e){go(i,this._hostClassName)}drainQueuedTransitions(i){let e=[];return this._queue.forEach(t=>{let o=t.player;if(o.destroyed)return;let r=t.element,a=this._elementListeners.get(r);a&&a.forEach(s=>{if(s.name==t.triggerName){let l=hC(r,t.triggerName,t.fromState.value,t.toState.value);l._data=i,pC(t.player,s.phase,l,s.callback)}}),o.markedForDestroy?this._engine.afterFlush(()=>{o.destroy()}):e.push(t)}),this._queue=[],e.sort((t,o)=>{let r=t.transition.ast.depCount,a=o.transition.ast.depCount;return r==0||a==0?r-a:this._engine.driver.containsElement(t.element,o.element)?1:-1})}destroy(i){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,i)}},uC=class{bodyNode;driver;_normalizer;players=[];newHostElements=new Map;playersByElement=new Map;playersByQueriedElement=new Map;statesByElement=new Map;disabledNodes=new Set;totalAnimations=0;totalQueuedPlayers=0;_namespaceLookup={};_namespaceList=[];_flushFns=[];_whenQuietFns=[];namespacesByHostElement=new Map;collectedEnterElements=[];collectedLeaveElements=[];onRemovalComplete=(i,e)=>{};_onRemovalComplete(i,e){this.onRemovalComplete(i,e)}constructor(i,e,t){this.bodyNode=i,this.driver=e,this._normalizer=t}get queuedPlayers(){let i=[];return this._namespaceList.forEach(e=>{e.players.forEach(t=>{t.queued&&i.push(t)})}),i}createNamespace(i,e){let t=new dC(i,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(t,e):(this.newHostElements.set(e,t),this.collectEnterElement(e)),this._namespaceLookup[i]=t}_balanceNamespaceList(i,e){let t=this._namespaceList,o=this.namespacesByHostElement;if(t.length-1>=0){let a=!1,s=this.driver.getParentElement(e);for(;s;){let l=o.get(s);if(l){let m=t.indexOf(l);t.splice(m+1,0,i),a=!0;break}s=this.driver.getParentElement(s)}a||t.unshift(i)}else t.push(i);return o.set(e,i),i}register(i,e){let t=this._namespaceLookup[i];return t||(t=this.createNamespace(i,e)),t}registerTrigger(i,e,t){let o=this._namespaceLookup[i];o&&o.register(e,t)&&this.totalAnimations++}destroy(i,e){i&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let t=this._fetchNamespace(i);this.namespacesByHostElement.delete(t.hostElement);let o=this._namespaceList.indexOf(t);o>=0&&this._namespaceList.splice(o,1),t.destroy(e),delete this._namespaceLookup[i]}))}_fetchNamespace(i){return this._namespaceLookup[i]}fetchNamespacesByElement(i){let e=new Set,t=this.statesByElement.get(i);if(t){for(let o of t.values())if(o.namespaceId){let r=this._fetchNamespace(o.namespaceId);r&&e.add(r)}}return e}trigger(i,e,t,o){if(yg(e)){let r=this._fetchNamespace(i);if(r)return r.trigger(e,t,o),!0}return!1}insertNode(i,e,t,o){if(!yg(e))return;let r=e[Fo];if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;let a=this.collectedLeaveElements.indexOf(e);a>=0&&this.collectedLeaveElements.splice(a,1)}if(i){let a=this._fetchNamespace(i);a&&a.insertNode(e,t)}o&&this.collectEnterElement(e)}collectEnterElement(i){this.collectedEnterElements.push(i)}markElementAsDisabled(i,e){e?this.disabledNodes.has(i)||(this.disabledNodes.add(i),go(i,Qw)):this.disabledNodes.has(i)&&(this.disabledNodes.delete(i),Jl(i,Qw))}removeNode(i,e,t){if(yg(e)){let o=i?this._fetchNamespace(i):null;o?o.removeNode(e,t):this.markElementAsRemoved(i,e,!1,t);let r=this.namespacesByHostElement.get(e);r&&r.id!==i&&r.removeNode(e,t)}else this._onRemovalComplete(e,t)}markElementAsRemoved(i,e,t,o,r){this.collectedLeaveElements.push(e),e[Fo]={namespaceId:i,setForRemoval:o,hasAnimation:t,removedBeforeQueried:!1,previousTriggersValues:r}}listen(i,e,t,o,r){return yg(e)?this._fetchNamespace(i).listen(e,t,o,r):()=>{}}_buildInstruction(i,e,t,o,r){return i.transition.build(this.driver,i.element,i.fromState.value,i.toState.value,t,o,i.fromState.options,i.toState.options,e,r)}destroyInnerAnimations(i){let e=this.driver.query(i,Cg,!0);e.forEach(t=>this.destroyActiveAnimationsForElement(t)),this.playersByQueriedElement.size!=0&&(e=this.driver.query(i,Jw,!0),e.forEach(t=>this.finishActiveQueriedAnimationOnElement(t)))}destroyActiveAnimationsForElement(i){let e=this.playersByElement.get(i);e&&e.forEach(t=>{t.queued?t.markedForDestroy=!0:t.destroy()})}finishActiveQueriedAnimationOnElement(i){let e=this.playersByQueriedElement.get(i);e&&e.forEach(t=>t.finish())}whenRenderingDone(){return new Promise(i=>{if(this.players.length)return Aa(this.players).onDone(()=>i());i()})}processLeaveNode(i){let e=i[Fo];if(e&&e.setForRemoval){if(i[Fo]=BR,e.namespaceId){this.destroyInnerAnimations(i);let t=this._fetchNamespace(e.namespaceId);t&&t.clearElementCache(i)}this._onRemovalComplete(i,e.setForRemoval)}i.classList?.contains(Qw)&&this.markElementAsDisabled(i,!1),this.driver.query(i,HY,!0).forEach(t=>{this.markElementAsDisabled(t,!1)})}flush(i=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((t,o)=>this._balanceNamespaceList(t,o)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let t=0;tt()),this._flushFns=[],this._whenQuietFns.length){let t=this._whenQuietFns;this._whenQuietFns=[],e.length?Aa(e).onDone(()=>{t.forEach(o=>o())}):t.forEach(o=>o())}}reportError(i){throw cY(i)}_flushAnimations(i,e){let t=new tu,o=[],r=new Map,a=[],s=new Map,l=new Map,m=new Map,g=new Set;this.disabledNodes.forEach(ve=>{g.add(ve);let Pe=this.driver.query(ve,UY,!0);for(let Ye=0;Ye{let Ye=OR+A++;I.set(Pe,Ye),ve.forEach(At=>go(At,Ye))});let Y=[],V=new Set,he=new Set;for(let ve=0;veV.add(At)):he.add(Pe))}let Ve=new Map,Dt=MR(D,Array.from(V));Dt.forEach((ve,Pe)=>{let Ye=Xw+A++;Ve.set(Pe,Ye),ve.forEach(At=>go(At,Ye))}),i.push(()=>{S.forEach((ve,Pe)=>{let Ye=I.get(Pe);ve.forEach(At=>Jl(At,Ye))}),Dt.forEach((ve,Pe)=>{let Ye=Ve.get(Pe);ve.forEach(At=>Jl(At,Ye))}),Y.forEach(ve=>{this.processLeaveNode(ve)})});let wn=[],Vt=[];for(let ve=this._namespaceList.length-1;ve>=0;ve--)this._namespaceList[ve].drainQueuedTransitions(e).forEach(Ye=>{let At=Ye.player,Vn=Ye.element;if(wn.push(At),this.collectedEnterElements.length){let ei=Vn[Fo];if(ei&&ei.setForMove){if(ei.previousTriggersValues&&ei.previousTriggersValues.has(Ye.triggerName)){let Oa=ei.previousTriggersValues.get(Ye.triggerName),Ki=this.statesByElement.get(Ye.element);if(Ki&&Ki.has(Ye.triggerName)){let ru=Ki.get(Ye.triggerName);ru.value=Oa,Ki.set(Ye.triggerName,ru)}}At.destroy();return}}let No=!v||!this.driver.containsElement(v,Vn),Oi=Ve.get(Vn),Ur=I.get(Vn),hn=this._buildInstruction(Ye,t,Ur,Oi,No);if(hn.errors&&hn.errors.length){Vt.push(hn);return}if(No){At.onStart(()=>Cs(Vn,hn.fromStyles)),At.onDestroy(()=>lr(Vn,hn.toStyles)),o.push(At);return}if(Ye.isFallbackTransition){At.onStart(()=>Cs(Vn,hn.fromStyles)),At.onDestroy(()=>lr(Vn,hn.toStyles)),o.push(At);return}let kC=[];hn.timelines.forEach(ei=>{ei.stretchStartingKeyframe=!0,this.disabledNodes.has(ei.element)||kC.push(ei)}),hn.timelines=kC,t.append(Vn,hn.timelines);let TO={instruction:hn,player:At,element:Vn};a.push(TO),hn.queriedElements.forEach(ei=>Qi(s,ei,[]).push(At)),hn.preStyleProps.forEach((ei,Oa)=>{if(ei.size){let Ki=l.get(Oa);Ki||l.set(Oa,Ki=new Set),ei.forEach((ru,Fg)=>Ki.add(Fg))}}),hn.postStyleProps.forEach((ei,Oa)=>{let Ki=m.get(Oa);Ki||m.set(Oa,Ki=new Set),ei.forEach((ru,Fg)=>Ki.add(Fg))})});if(Vt.length){let ve=[];Vt.forEach(Pe=>{ve.push(dY(Pe.triggerName,Pe.errors))}),wn.forEach(Pe=>Pe.destroy()),this.reportError(ve)}let an=new Map,Ln=new Map;a.forEach(ve=>{let Pe=ve.element;t.has(Pe)&&(Ln.set(Pe,Pe),this._beforeAnimationBuild(ve.player.namespaceId,ve.instruction,an))}),o.forEach(ve=>{let Pe=ve.element;this._getPreviousPlayers(Pe,!1,ve.namespaceId,ve.triggerName,null).forEach(At=>{Qi(an,Pe,[]).push(At),At.destroy()})});let cr=Y.filter(ve=>IR(ve,l,m)),Ss=new Map;ER(Ss,this.driver,he,m,nr).forEach(ve=>{IR(ve,l,m)&&cr.push(ve)});let Ra=new Map;S.forEach((ve,Pe)=>{ER(Ra,this.driver,new Set(ve),l,Eh)}),cr.forEach(ve=>{let Pe=Ss.get(ve),Ye=Ra.get(ve);Ss.set(ve,new Map([...Pe?.entries()??[],...Ye?.entries()??[]]))});let Pg=[],IC=[],TC={};a.forEach(ve=>{let{element:Pe,player:Ye,instruction:At}=ve;if(t.has(Pe)){if(g.has(Pe)){Ye.onDestroy(()=>lr(Pe,At.toStyles)),Ye.disabled=!0,Ye.overrideTotalTime(At.totalTime),o.push(Ye);return}let Vn=TC;if(Ln.size>1){let Oi=Pe,Ur=[];for(;Oi=Oi.parentNode;){let hn=Ln.get(Oi);if(hn){Vn=hn;break}Ur.push(Oi)}Ur.forEach(hn=>Ln.set(hn,Vn))}let No=this._buildAnimation(Ye.namespaceId,At,an,r,Ra,Ss);if(Ye.setRealPlayer(No),Vn===TC)Pg.push(Ye);else{let Oi=this.playersByElement.get(Vn);Oi&&Oi.length&&(Ye.parentPlayer=Aa(Oi)),o.push(Ye)}}else Cs(Pe,At.fromStyles),Ye.onDestroy(()=>lr(Pe,At.toStyles)),IC.push(Ye),g.has(Pe)&&o.push(Ye)}),IC.forEach(ve=>{let Pe=r.get(ve.element);if(Pe&&Pe.length){let Ye=Aa(Pe);ve.setRealPlayer(Ye)}}),o.forEach(ve=>{ve.parentPlayer?ve.syncPlayerEvents(ve.parentPlayer):ve.destroy()});for(let ve=0;ve!No.destroyed);Vn.length?ZY(this,Pe,Vn):this.processLeaveNode(Pe)}return Y.length=0,Pg.forEach(ve=>{this.players.push(ve),ve.onDone(()=>{ve.destroy();let Pe=this.players.indexOf(ve);this.players.splice(Pe,1)}),ve.play()}),Pg}afterFlush(i){this._flushFns.push(i)}afterFlushAnimationsDone(i){this._whenQuietFns.push(i)}_getPreviousPlayers(i,e,t,o,r){let a=[];if(e){let s=this.playersByQueriedElement.get(i);s&&(a=s)}else{let s=this.playersByElement.get(i);if(s){let l=!r||r==Jd;s.forEach(m=>{m.queued||!l&&m.triggerName!=o||a.push(m)})}}return(t||o)&&(a=a.filter(s=>!(t&&t!=s.namespaceId||o&&o!=s.triggerName))),a}_beforeAnimationBuild(i,e,t){let o=e.triggerName,r=e.element,a=e.isRemovalTransition?void 0:i,s=e.isRemovalTransition?void 0:o;for(let l of e.timelines){let m=l.element,g=m!==r,v=Qi(t,m,[]);this._getPreviousPlayers(m,g,a,s,e.toState).forEach(S=>{let I=S.getRealPlayer();I.beforeDestroy&&I.beforeDestroy(),S.destroy(),v.push(S)})}Cs(r,e.fromStyles)}_buildAnimation(i,e,t,o,r,a){let s=e.triggerName,l=e.element,m=[],g=new Set,v=new Set,D=e.timelines.map(I=>{let A=I.element;g.add(A);let Y=A[Fo];if(Y&&Y.removedBeforeQueried)return new ya(I.duration,I.delay);let V=A!==l,he=XY((t.get(A)||$Y).map(an=>an.getRealPlayer())).filter(an=>{let Ln=an;return Ln.element?Ln.element===A:!1}),Ve=r.get(A),Dt=a.get(A),wn=TR(this._normalizer,I.keyframes,Ve,Dt),Vt=this._buildPlayer(I,wn,he);if(I.subTimeline&&o&&v.add(A),V){let an=new iu(i,s,A);an.setRealPlayer(Vt),m.push(an)}return Vt});m.forEach(I=>{Qi(this.playersByQueriedElement,I.element,[]).push(I),I.onDone(()=>YY(this.playersByQueriedElement,I.element,I))}),g.forEach(I=>go(I,vR));let S=Aa(D);return S.onDestroy(()=>{g.forEach(I=>Jl(I,vR)),lr(l,e.toStyles)}),v.forEach(I=>{Qi(o,I,[]).push(S)}),S}_buildPlayer(i,e,t){return e.length>0?this.driver.animate(i.element,e,i.duration,i.delay,i.easing,t):new ya(i.duration,i.delay)}},iu=class{namespaceId;triggerName;element;_player=new ya;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(i,e,t){this.namespaceId=i,this.triggerName=e,this.element=t}setRealPlayer(i){this._containsRealPlayer||(this._player=i,this._queuedCallbacks.forEach((e,t)=>{e.forEach(o=>pC(i,t,void 0,o))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(i.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(i){this.totalTime=i}syncPlayerEvents(i){let e=this._player;e.triggerCallback&&i.onStart(()=>e.triggerCallback("start")),i.onDone(()=>this.finish()),i.onDestroy(()=>this.destroy())}_queueEvent(i,e){Qi(this._queuedCallbacks,i,[]).push(e)}onDone(i){this.queued&&this._queueEvent("done",i),this._player.onDone(i)}onStart(i){this.queued&&this._queueEvent("start",i),this._player.onStart(i)}onDestroy(i){this.queued&&this._queueEvent("destroy",i),this._player.onDestroy(i)}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(i){this.queued||this._player.setPosition(i)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(i){let e=this._player;e.triggerCallback&&e.triggerCallback(i)}};function YY(n,i,e){let t=n.get(i);if(t){if(t.length){let o=t.indexOf(e);t.splice(o,1)}t.length==0&&n.delete(i)}return t}function QY(n){return n??null}function yg(n){return n&&n.nodeType===1}function KY(n){return n=="start"||n=="done"}function SR(n,i){let e=n.style.display;return n.style.display=i??"none",e}function ER(n,i,e,t,o){let r=[];e.forEach(l=>r.push(SR(l)));let a=[];t.forEach((l,m)=>{let g=new Map;l.forEach(v=>{let D=i.computeStyle(m,v,o);g.set(v,D),(!D||D.length==0)&&(m[Fo]=qY,a.push(m))}),n.set(m,g)});let s=0;return e.forEach(l=>SR(l,r[s++])),a}function MR(n,i){let e=new Map;if(n.forEach(s=>e.set(s,[])),i.length==0)return e;let t=1,o=new Set(i),r=new Map;function a(s){if(!s)return t;let l=r.get(s);if(l)return l;let m=s.parentNode;return e.has(m)?l=m:o.has(m)?l=t:l=a(m),r.set(s,l),l}return i.forEach(s=>{let l=a(s);l!==t&&e.get(l).push(s)}),e}function go(n,i){n.classList?.add(i)}function Jl(n,i){n.classList?.remove(i)}function ZY(n,i,e){Aa(e).onDone(()=>n.processLeaveNode(i))}function XY(n){let i=[];return jR(n,i),i}function jR(n,i){for(let e=0;eo.add(r)):i.set(n,t),e.delete(n),!0}var ec=class{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(i,e)=>{};constructor(i,e,t){this._driver=e,this._normalizer=t,this._transitionEngine=new uC(i.body,e,t),this._timelineEngine=new cC(i.body,e,t),this._transitionEngine.onRemovalComplete=(o,r)=>this.onRemovalComplete(o,r)}registerTrigger(i,e,t,o,r){let a=i+"-"+o,s=this._triggerCache[a];if(!s){let l=[],m=[],g=NR(this._driver,r,l,m);if(l.length)throw Jq(o,l);m.length&&void 0,s=BY(o,g,this._normalizer),this._triggerCache[a]=s}this._transitionEngine.registerTrigger(e,o,s)}register(i,e){this._transitionEngine.register(i,e)}destroy(i,e){this._transitionEngine.destroy(i,e)}onInsert(i,e,t,o){this._transitionEngine.insertNode(i,e,t,o)}onRemove(i,e,t){this._transitionEngine.removeNode(i,e,t)}disableAnimations(i,e){this._transitionEngine.markElementAsDisabled(i,e)}process(i,e,t,o){if(t.charAt(0)=="@"){let[r,a]=gR(t),s=o;this._timelineEngine.command(r,e,a,s)}else this._transitionEngine.trigger(i,e,t,o)}listen(i,e,t,o,r){if(t.charAt(0)=="@"){let[a,s]=gR(t);return this._timelineEngine.listen(a,e,s,r)}return this._transitionEngine.listen(i,e,t,o,r)}flush(i=-1){this._transitionEngine.flush(i)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(i){this._transitionEngine.afterFlushAnimationsDone(i)}};function eQ(n,i){let e=null,t=null;return Array.isArray(i)&&i.length?(e=Zw(i[0]),i.length>1&&(t=Zw(i[i.length-1]))):i instanceof Map&&(e=Zw(i)),e||t?new tQ(n,e,t):null}var tQ=(()=>{class n{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(e,t,o){this._element=e,this._startStyles=t,this._endStyles=o;let r=n.initialStylesByElement.get(e);r||n.initialStylesByElement.set(e,r=new Map),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&lr(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(lr(this._element,this._initialStyles),this._endStyles&&(lr(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(n.initialStylesByElement.delete(this._element),this._startStyles&&(Cs(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Cs(this._element,this._endStyles),this._endStyles=null),lr(this._element,this._initialStyles),this._state=3)}}return n})();function Zw(n){let i=null;return n.forEach((e,t)=>{nQ(t)&&(i=i||new Map,i.set(t,e))}),i}function nQ(n){return n==="display"||n==="position"}var Tg=class{element;keyframes;options;_specialStyles;_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_duration;_delay;_initialized=!1;_finished=!1;_started=!1;_destroyed=!1;_finalKeyframe;_originalOnDoneFns=[];_originalOnStartFns=[];domPlayer;time=0;parentPlayer=null;currentSnapshot=new Map;constructor(i,e,t,o){this.element=i,this.keyframes=e,this.options=t,this._specialStyles=o,this._duration=t.duration,this._delay=t.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(i=>i()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let i=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,i,this.options),this._finalKeyframe=i.length?i[i.length-1]:new Map;let e=()=>this._onFinish();this.domPlayer.addEventListener("finish",e),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",e)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(i){let e=[];return i.forEach(t=>{e.push(Object.fromEntries(t))}),e}_triggerWebAnimation(i,e,t){return i.animate(this._convertKeyframesToObject(e),t)}onStart(i){this._originalOnStartFns.push(i),this._onStartFns.push(i)}onDone(i){this._originalOnDoneFns.push(i),this._onDoneFns.push(i)}onDestroy(i){this._onDestroyFns.push(i)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(i=>i()),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(i=>i()),this._onDestroyFns=[])}setPosition(i){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=i*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let i=new Map;this.hasStarted()&&this._finalKeyframe.forEach((t,o)=>{o!=="offset"&&i.set(o,this._finished?t:vC(this.element,o))}),this.currentSnapshot=i}triggerCallback(i){let e=i==="start"?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}},kg=class{validateStyleProperty(i){return!0}validateAnimatableStyleProperty(i){return!0}containsElement(i,e){return kR(i,e)}getParentElement(i){return fC(i)}query(i,e,t){return AR(i,e,t)}computeStyle(i,e,t){return vC(i,e)}animate(i,e,t,o,r,a=[]){let s=o==0?"both":"forwards",l={duration:t,delay:o,fill:s};r&&(l.easing=r);let m=new Map,g=a.filter(S=>S instanceof Tg);wY(t,o)&&g.forEach(S=>{S.currentSnapshot.forEach((I,A)=>m.set(A,I))});let v=vY(e).map(S=>new Map(S));v=CY(i,v,m);let D=eQ(i,v);return new Tg(i,v,l,D)}};var wg="@",zR="@.disabled",Ag=class{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(i,e,t,o){this.namespaceId=i,this.delegate=e,this.engine=t,this._onDestroy=o}get data(){return this.delegate.data}destroyNode(i){this.delegate.destroyNode?.(i)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(i,e){return this.delegate.createElement(i,e)}createComment(i){return this.delegate.createComment(i)}createText(i){return this.delegate.createText(i)}appendChild(i,e){this.delegate.appendChild(i,e),this.engine.onInsert(this.namespaceId,e,i,!1)}insertBefore(i,e,t,o=!0){this.delegate.insertBefore(i,e,t),this.engine.onInsert(this.namespaceId,e,i,o)}removeChild(i,e,t){this.parentNode(e)&&this.engine.onRemove(this.namespaceId,e,this.delegate)}selectRootElement(i,e){return this.delegate.selectRootElement(i,e)}parentNode(i){return this.delegate.parentNode(i)}nextSibling(i){return this.delegate.nextSibling(i)}setAttribute(i,e,t,o){this.delegate.setAttribute(i,e,t,o)}removeAttribute(i,e,t){this.delegate.removeAttribute(i,e,t)}addClass(i,e){this.delegate.addClass(i,e)}removeClass(i,e){this.delegate.removeClass(i,e)}setStyle(i,e,t,o){this.delegate.setStyle(i,e,t,o)}removeStyle(i,e,t){this.delegate.removeStyle(i,e,t)}setProperty(i,e,t){e.charAt(0)==wg&&e==zR?this.disableAnimations(i,!!t):this.delegate.setProperty(i,e,t)}setValue(i,e){this.delegate.setValue(i,e)}listen(i,e,t){return this.delegate.listen(i,e,t)}disableAnimations(i,e){this.engine.disableAnimations(i,e)}},mC=class extends Ag{factory;constructor(i,e,t,o,r){super(e,t,o,r),this.factory=i,this.namespaceId=e}setProperty(i,e,t){e.charAt(0)==wg?e.charAt(1)=="."&&e==zR?(t=t===void 0?!0:!!t,this.disableAnimations(i,t)):this.engine.process(this.namespaceId,i,e.slice(1),t):this.delegate.setProperty(i,e,t)}listen(i,e,t){if(e.charAt(0)==wg){let o=iQ(i),r=e.slice(1),a="";return r.charAt(0)!=wg&&([r,a]=oQ(r)),this.engine.listen(this.namespaceId,o,r,a,s=>{let l=s._data||-1;this.factory.scheduleListenerCallback(l,t,s)})}return this.delegate.listen(i,e,t)}};function iQ(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}function oQ(n){let i=n.indexOf("."),e=n.substring(0,i),t=n.slice(i+1);return[e,t]}var Rg=class{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(i,e,t){this.delegate=i,this.engine=e,this._zone=t,e.onRemovalComplete=(o,r)=>{r?.removeChild(null,o)}}createRenderer(i,e){let t="",o=this.delegate.createRenderer(i,e);if(!i||!e?.data?.animation){let m=this._rendererCache,g=m.get(o);if(!g){let v=()=>m.delete(o);g=new Ag(t,o,this.engine,v),m.set(o,g)}return g}let r=e.id,a=e.id+"-"+this._currentId;this._currentId++,this.engine.register(a,i);let s=m=>{Array.isArray(m)?m.forEach(s):this.engine.registerTrigger(r,a,i,m.name,m)};return e.data.animation.forEach(s),new mC(this,a,o,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(i,e,t){if(i>=0&&ie(t));return}let o=this._animationCallbacksBuffer;o.length==0&&queueMicrotask(()=>{this._zone.run(()=>{o.forEach(r=>{let[a,s]=r;a(s)}),this._animationCallbacksBuffer=[]})}),o.push([e,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 aQ=(()=>{class n extends ec{constructor(e,t,o){super(e,t,o)}ngOnDestroy(){this.flush()}static \u0275fac=function(t){return new(t||n)(oe(de),oe(xs),oe(Ds))};static \u0275prov=P({token:n,factory:n.\u0275fac})}return n})();function sQ(){return new Dg}function lQ(n,i,e){return new Rg(n,i,e)}var HR=[{provide:Ds,useFactory:sQ},{provide:ec,useClass:aQ},{provide:ta,useFactory:lQ,deps:[Tp,ec,te]}],UR=[{provide:xs,useFactory:()=>new kg},{provide:$t,useValue:"BrowserAnimations"},...HR],cQ=[{provide:xs,useClass:gC},{provide:$t,useValue:"NoopAnimations"},...HR],WR=(()=>{class n{static withConfig(e){return{ngModule:n,providers:e.disableAnimations?cQ:UR}}static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({providers:UR,imports:[Ap]})}return n})();var dQ=["button"],uQ=["*"];function mQ(n,i){if(n&1&&M(0,"mat-pseudo-checkbox",3),n&2){let e=_();p("disabled",e.disabled)}}function pQ(n,i){if(n&1&&M(0,"mat-pseudo-checkbox",3),n&2){let e=_();p("disabled",e.disabled)}}var hQ=new R("MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS",{providedIn:"root",factory:fQ});function fQ(){return{hideSingleSelectionIndicator:!1,hideMultipleSelectionIndicator:!1,disabledInteractive:!1}}var gQ=new R("MatButtonToggleGroup");var yC=class{source;value;constructor(i,e){this.source=i,this.value=e}};var _Q=(()=>{class n{_changeDetectorRef=h(Ee);_elementRef=h(Q);_focusMonitor=h(Pn);_idGenerator=h(ft);_checked=!1;ariaLabel;ariaLabelledby=null;_buttonElement;buttonToggleGroup;get buttonId(){return`${this.id}-button`}id;name;value;get tabIndex(){return this._tabIndex}set tabIndex(e){this._tabIndex=e,this._markForCheck()}_tabIndex;disableRipple;get appearance(){return this.buttonToggleGroup?this.buttonToggleGroup.appearance:this._appearance}set appearance(e){this._appearance=e}_appearance;get checked(){return this.buttonToggleGroup?this.buttonToggleGroup._isSelected(this):this._checked}set checked(e){e!==this._checked&&(this._checked=e,this.buttonToggleGroup&&this.buttonToggleGroup._syncButtonToggle(this,this._checked),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled||this.buttonToggleGroup&&this.buttonToggleGroup.disabled}set disabled(e){this._disabled=e}_disabled=!1;get disabledInteractive(){return this._disabledInteractive||this.buttonToggleGroup!==null&&this.buttonToggleGroup.disabledInteractive}set disabledInteractive(e){this._disabledInteractive=e}_disabledInteractive;change=new T;constructor(){h(Mt).load(Dn);let e=h(gQ,{optional:!0}),t=h(new jn("tabindex"),{optional:!0}),o=h(hQ,{optional:!0}),r=Number(t);this.tabIndex=r||r===0?r:null,this.buttonToggleGroup=e,this.appearance=o&&o.appearance?o.appearance:"standard",this.disabledInteractive=o?.disabledInteractive??!1}ngOnInit(){let e=this.buttonToggleGroup;this.id=this.id||this._idGenerator.getId("mat-button-toggle-"),e&&(e._isPrechecked(this)?this.checked=!0:e._isSelected(this)!==this._checked&&e._syncButtonToggle(this,this._checked))}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){let e=this.buttonToggleGroup;this._focusMonitor.stopMonitoring(this._elementRef),e&&e._isSelected(this)&&e._syncButtonToggle(this,!1,!1,!0)}focus(e){this._buttonElement.nativeElement.focus(e)}_onButtonClick(){if(this.disabled)return;let e=this.isSingleSelector()?!0:!this._checked;if(e!==this._checked&&(this._checked=e,this.buttonToggleGroup&&(this.buttonToggleGroup._syncButtonToggle(this,this._checked,!0),this.buttonToggleGroup._onTouched())),this.isSingleSelector()){let t=this.buttonToggleGroup._buttonToggles.find(o=>o.tabIndex===0);t&&(t.tabIndex=-1),this.tabIndex=0}this.change.emit(new yC(this,this.value))}_markForCheck(){this._changeDetectorRef.markForCheck()}_getButtonName(){return this.isSingleSelector()?this.buttonToggleGroup.name:this.name||null}isSingleSelector(){return this.buttonToggleGroup&&!this.buttonToggleGroup.multiple}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["mat-button-toggle"]],viewQuery:function(t,o){if(t&1&&se(dQ,5),t&2){let r;$(r=q())&&(o._buttonElement=r.first)}},hostAttrs:["role","presentation",1,"mat-button-toggle"],hostVars:14,hostBindings:function(t,o){t&1&&b("focus",function(){return o.focus()}),t&2&&(ee("aria-label",null)("aria-labelledby",null)("id",o.id)("name",null),ne("mat-button-toggle-standalone",!o.buttonToggleGroup)("mat-button-toggle-checked",o.checked)("mat-button-toggle-disabled",o.disabled)("mat-button-toggle-disabled-interactive",o.disabledInteractive)("mat-button-toggle-appearance-standard",o.appearance==="standard"))},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],id:"id",name:"name",value:"value",tabIndex:"tabIndex",disableRipple:[2,"disableRipple","disableRipple",G],appearance:"appearance",checked:[2,"checked","checked",G],disabled:[2,"disabled","disabled",G],disabledInteractive:[2,"disabledInteractive","disabledInteractive",G]},outputs:{change:"change"},exportAs:["matButtonToggle"],features:[ce],ngContentSelectors:uQ,decls:8,vars:14,consts:[["button",""],["type","button",1,"mat-button-toggle-button","mat-focus-indicator",3,"click","id","disabled"],[1,"mat-button-toggle-label-content"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"mat-button-toggle-focus-overlay"],["matRipple","",1,"mat-button-toggle-ripple",3,"matRippleTrigger","matRippleDisabled"]],template:function(t,o){if(t&1){let r=k();We(),c(0,"button",1,0),b("click",function(){return y(r),w(o._onButtonClick())}),c(2,"span",2),x(3,mQ,1,1,"mat-pseudo-checkbox",3)(4,pQ,1,1,"mat-pseudo-checkbox",3),re(5),d()(),M(6,"span",4)(7,"span",5)}if(t&2){let r=be(1);p("id",o.buttonId)("disabled",o.disabled&&!o.disabledInteractive||null),ee("role",o.isSingleSelector()?"radio":"button")("tabindex",o.disabled&&!o.disabledInteractive?-1:o.tabIndex)("aria-pressed",o.isSingleSelector()?null:o.checked)("aria-checked",o.isSingleSelector()?o.checked:null)("name",o._getButtonName())("aria-label",o.ariaLabel)("aria-labelledby",o.ariaLabelledby)("aria-disabled",o.disabled&&o.disabledInteractive?"true":null),u(3),Ce(o.buttonToggleGroup&&o.checked&&!o.buttonToggleGroup.multiple&&!o.buttonToggleGroup.hideSingleSelectionIndicator?3:-1),u(),Ce(o.buttonToggleGroup&&o.checked&&o.buttonToggleGroup.multiple&&!o.buttonToggleGroup.hideMultipleSelectionIndicator?4:-1),u(3),p("matRippleTrigger",r)("matRippleDisabled",o.disableRipple||o.disabled)}},dependencies:[so,yy],styles:[".mat-button-toggle-standalone,.mat-button-toggle-group{position:relative;display:inline-flex;flex-direction:row;white-space:nowrap;overflow:hidden;-webkit-tap-highlight-color:rgba(0,0,0,0);transform:translateZ(0);border-radius:var(--mat-legacy-button-toggle-shape)}.mat-button-toggle-standalone:not([class*=mat-elevation-z]),.mat-button-toggle-group: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)}@media(forced-colors: active){.mat-button-toggle-standalone,.mat-button-toggle-group{outline:solid 1px}}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{border-radius:var(--mat-standard-button-toggle-shape, var(--mat-sys-corner-full));border:solid 1px var(--mat-standard-button-toggle-divider-color, var(--mat-sys-outline))}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard .mat-pseudo-checkbox,.mat-button-toggle-group-appearance-standard .mat-pseudo-checkbox{--mat-minimal-pseudo-checkbox-selected-checkmark-color: var(--mat-standard-button-toggle-selected-state-text-color, var(--mat-sys-on-secondary-container))}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard:not([class*=mat-elevation-z]),.mat-button-toggle-group-appearance-standard:not([class*=mat-elevation-z]){box-shadow:none}@media(forced-colors: active){.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{outline:0}}.mat-button-toggle-vertical{flex-direction:column}.mat-button-toggle-vertical .mat-button-toggle-label-content{display:block}.mat-button-toggle{white-space:nowrap;position:relative;color:var(--mat-legacy-button-toggle-text-color);font-family:var(--mat-legacy-button-toggle-label-text-font);font-size:var(--mat-legacy-button-toggle-label-text-size);line-height:var(--mat-legacy-button-toggle-label-text-line-height);font-weight:var(--mat-legacy-button-toggle-label-text-weight);letter-spacing:var(--mat-legacy-button-toggle-label-text-tracking);--mat-minimal-pseudo-checkbox-selected-checkmark-color: var(--mat-legacy-button-toggle-selected-state-text-color)}.mat-button-toggle.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:var(--mat-legacy-button-toggle-focus-state-layer-opacity)}.mat-button-toggle .mat-icon svg{vertical-align:top}.mat-button-toggle .mat-pseudo-checkbox{margin-right:12px}[dir=rtl] .mat-button-toggle .mat-pseudo-checkbox{margin-right:0;margin-left:12px}.mat-button-toggle-checked{color:var(--mat-legacy-button-toggle-selected-state-text-color);background-color:var(--mat-legacy-button-toggle-selected-state-background-color)}.mat-button-toggle-disabled{pointer-events:none;color:var(--mat-legacy-button-toggle-disabled-state-text-color);background-color:var(--mat-legacy-button-toggle-disabled-state-background-color);--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: var(--mat-legacy-button-toggle-disabled-state-text-color)}.mat-button-toggle-disabled.mat-button-toggle-checked{background-color:var(--mat-legacy-button-toggle-disabled-selected-state-background-color)}.mat-button-toggle-disabled-interactive{pointer-events:auto}.mat-button-toggle-appearance-standard{color:var(--mat-standard-button-toggle-text-color, var(--mat-sys-on-surface));background-color:var(--mat-standard-button-toggle-background-color, transparent);font-family:var(--mat-standard-button-toggle-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-standard-button-toggle-label-text-size, var(--mat-sys-label-large-size));line-height:var(--mat-standard-button-toggle-label-text-line-height, var(--mat-sys-label-large-line-height));font-weight:var(--mat-standard-button-toggle-label-text-weight, var(--mat-sys-label-large-weight));letter-spacing:var(--mat-standard-button-toggle-label-text-tracking, var(--mat-sys-label-large-tracking))}.mat-button-toggle-group-appearance-standard .mat-button-toggle-appearance-standard+.mat-button-toggle-appearance-standard{border-left:solid 1px var(--mat-standard-button-toggle-divider-color, var(--mat-sys-outline))}[dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle-appearance-standard+.mat-button-toggle-appearance-standard{border-left:none;border-right:solid 1px var(--mat-standard-button-toggle-divider-color, var(--mat-sys-outline))}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle-appearance-standard+.mat-button-toggle-appearance-standard{border-left:none;border-right:none;border-top:solid 1px var(--mat-standard-button-toggle-divider-color, var(--mat-sys-outline))}.mat-button-toggle-appearance-standard.mat-button-toggle-checked{color:var(--mat-standard-button-toggle-selected-state-text-color, var(--mat-sys-on-secondary-container));background-color:var(--mat-standard-button-toggle-selected-state-background-color, var(--mat-sys-secondary-container))}.mat-button-toggle-appearance-standard.mat-button-toggle-disabled{color:var(--mat-standard-button-toggle-disabled-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-standard-button-toggle-disabled-state-background-color, transparent)}.mat-button-toggle-appearance-standard.mat-button-toggle-disabled .mat-pseudo-checkbox{--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: var(--mat-standard-button-toggle-disabled-selected-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-button-toggle-appearance-standard.mat-button-toggle-disabled.mat-button-toggle-checked{color:var(--mat-standard-button-toggle-disabled-selected-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-standard-button-toggle-disabled-selected-state-background-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:var(--mat-standard-button-toggle-state-layer-color, var(--mat-sys-on-surface))}.mat-button-toggle-appearance-standard:hover .mat-button-toggle-focus-overlay{opacity:var(--mat-standard-button-toggle-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-button-toggle-appearance-standard.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:var(--mat-standard-button-toggle-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}@media(hover: none){.mat-button-toggle-appearance-standard:hover .mat-button-toggle-focus-overlay{display:none}}.mat-button-toggle-label-content{-webkit-user-select:none;user-select:none;display:inline-block;padding:0 16px;line-height:var(--mat-legacy-button-toggle-height);position:relative}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{padding:0 12px;line-height:var(--mat-standard-button-toggle-height, 40px)}.mat-button-toggle-label-content>*{vertical-align:middle}.mat-button-toggle-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;pointer-events:none;opacity:0;background-color:var(--mat-legacy-button-toggle-state-layer-color)}@media(forced-colors: active){.mat-button-toggle-checked .mat-button-toggle-focus-overlay{border-bottom:solid 500px;opacity:.5;height:0}.mat-button-toggle-checked:hover .mat-button-toggle-focus-overlay{opacity:.6}.mat-button-toggle-checked.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{border-bottom:solid 500px}}.mat-button-toggle .mat-button-toggle-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-button-toggle-button{border:0;background:none;color:inherit;padding:0;margin:0;font:inherit;outline:none;width:100%;cursor:pointer}.mat-button-toggle-disabled .mat-button-toggle-button{cursor:default}.mat-button-toggle-button::-moz-focus-inner{border:0}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard{--mat-focus-indicator-border-radius:var(--mat-standard-button-toggle-shape, var(--mat-sys-corner-full))}.mat-button-toggle-group-appearance-standard .mat-button-toggle:last-of-type .mat-button-toggle-button::before{border-top-right-radius:var(--mat-standard-button-toggle-shape, var(--mat-sys-corner-full));border-bottom-right-radius:var(--mat-standard-button-toggle-shape, var(--mat-sys-corner-full))}.mat-button-toggle-group-appearance-standard .mat-button-toggle:first-of-type .mat-button-toggle-button::before{border-top-left-radius:var(--mat-standard-button-toggle-shape, var(--mat-sys-corner-full));border-bottom-left-radius:var(--mat-standard-button-toggle-shape, var(--mat-sys-corner-full))}"],encapsulation:2,changeDetection:0})}return n})(),GR=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({imports:[me,Pr,_Q,me]})}return n})();var bQ=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],yQ=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function wQ(n,i){n&1&&(c(0,"span",3),re(1,1),d())}function CQ(n,i){n&1&&(c(0,"span",6),re(1,2),d())}var xQ='.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{flex-basis:100%;overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit;overflow-x:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-outline-width, 1px);border-radius:var(--mdc-chip-container-shape-radius, 8px);box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1;border-style:solid}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-outline-color, var(--mat-sys-outline))}.mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus::before{border-color:var(--mdc-chip-focus-outline-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip__text-label{-webkit-user-select:none;user-select:none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mdc-chip-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mdc-chip-label-text-size, var(--mat-sys-label-large-size));font-weight:var(--mdc-chip-label-text-weight, var(--mat-sys-label-large-weight));letter-spacing:var(--mdc-chip-label-text-tracking, var(--mat-sys-label-large-tracking))}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-selected-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label,.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{width:var(--mdc-chip-with-avatar-avatar-size, 24px);height:var(--mdc-chip-with-avatar-avatar-size, 24px);font-size:var(--mdc-chip-with-avatar-avatar-size, 24px)}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%;height:20px;width:20px}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@media(forced-colors: active){.mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove{opacity:calc(var(--mat-chip-trailing-action-opacity, 1)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus{opacity:calc(var(--mat-chip-trailing-action-focus-opacity, 1)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius, 8px);height:var(--mdc-chip-container-height, 32px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-selected-container-color, var(--mat-sys-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-flat-disabled-selected-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}@media(forced-colors: active){.mat-mdc-standard-chip{outline:solid 1px}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius, 24px);width:var(--mdc-chip-with-icon-icon-size, 18px);height:var(--mdc-chip-with-icon-icon-size, 18px);font-size:var(--mdc-chip-with-icon-icon-size, 18px)}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-highlighted{--mdc-chip-with-icon-icon-color:var(--mdc-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container));--mdc-chip-elevated-container-color:var(--mdc-chip-elevated-selected-container-color, var(--mat-sys-secondary-container));--mdc-chip-label-text-color:var(--mdc-chip-selected-label-text-color, var(--mat-sys-on-secondary-container));--mdc-chip-outline-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-hover-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mdc-chip-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip-focus-overlay .mat-mdc-chip-selected:hover,.mat-mdc-chip-highlighted:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-hover-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mdc-chip-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mdc-chip-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mdc-chip-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-evolution-chip--disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar{opacity:var(--mdc-chip-with-avatar-disabled-avatar-opacity, 0.38)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{opacity:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38)}.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{opacity:var(--mdc-chip-with-icon-disabled-icon-opacity, 0.38)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:var(--mat-chip-disabled-container-opacity, 1)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-trailing-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-remove{opacity:var(--mat-chip-trailing-action-opacity, 1)}.mat-mdc-chip-remove:focus{opacity:var(--mat-chip-trailing-action-focus-opacity, 1)}.mat-mdc-chip-remove::after{background-color:var(--mat-chip-trailing-action-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-remove:hover::after{opacity:var(--mat-chip-trailing-action-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip-remove:focus::after{opacity:var(--mat-chip-trailing-action-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-chip-selected .mat-mdc-chip-remove::after,.mat-mdc-chip-highlighted .mat-mdc-chip-remove::after{background-color:var(--mat-chip-selected-trailing-action-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-chip-remove::before{margin:calc(var(--mat-focus-indicator-border-width, 3px)*-1);left:8px;right:8px}.mat-mdc-chip-remove::after{content:"";display:block;opacity:0;position:absolute;top:-3px;bottom:-3px;left:5px;right:5px;border-radius:50%;box-sizing:border-box;padding:12px;margin:-12px;background-clip:content-box}.mat-mdc-chip-remove .mat-icon{width:18px;height:18px;font-size:18px;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}@media(forced-colors: active){.mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}}.mat-mdc-chip-action:focus .mat-focus-indicator::before{content:""}',DQ=[[["mat-chip-avatar"],["","matChipAvatar",""]],[["","matChipEditInput",""]],"*",[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],SQ=["mat-chip-avatar, [matChipAvatar]","[matChipEditInput]","*","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function EQ(n,i){n&1&&M(0,"span",0)}function MQ(n,i){n&1&&(c(0,"span",2),re(1),d())}function IQ(n,i){n&1&&re(0,1)}function TQ(n,i){n&1&&M(0,"span",7)}function kQ(n,i){if(n&1&&x(0,IQ,1,0)(1,TQ,1,0,"span",7),n&2){let e=_();Ce(e.contentEditInput?0:1)}}function AQ(n,i){n&1&&re(0,2)}function RQ(n,i){n&1&&(c(0,"span",5),re(1,3),d())}var YR=["*"],OQ=".mat-mdc-chip-set{display:flex}.mat-mdc-chip-set:focus{outline:none}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%;margin-left:-8px;margin-right:0}.mat-mdc-chip-set .mdc-evolution-chip{margin:4px 0 4px 8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip-set__chips{margin-left:0;margin-right:-8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip{margin-left:0;margin-right:8px}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}",QR=new R("mat-chips-default-options",{providedIn:"root",factory:()=>({separatorKeyCodes:[13]})}),$R=new R("MatChipAvatar"),qR=new R("MatChipTrailingIcon"),CC=new R("MatChipRemove"),SC=new R("MatChip"),Og=(()=>{class n{_elementRef=h(Q);_parentChip=h(SC);isInteractive=!0;_isPrimary=!0;get disabled(){return this._disabled||this._parentChip?.disabled||!1}set disabled(e){this._disabled=e}_disabled=!1;tabIndex=-1;_allowFocusWhenDisabled=!1;_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}constructor(){h(Mt).load(Dn),this._elementRef.nativeElement.nodeName==="BUTTON"&&this._elementRef.nativeElement.setAttribute("type","button")}focus(){this._elementRef.nativeElement.focus()}_handleClick(e){!this.disabled&&this.isInteractive&&this._isPrimary&&(e.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(e){(e.keyCode===13||e.keyCode===32)&&!this.disabled&&this.isInteractive&&this._isPrimary&&!this._parentChip._isEditing&&(e.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(t,o){t&1&&b("click",function(a){return o._handleClick(a)})("keydown",function(a){return o._handleKeydown(a)}),t&2&&(ee("tabindex",o._getTabindex())("disabled",o._getDisabledAttribute())("aria-disabled",o.disabled),ne("mdc-evolution-chip__action--primary",o._isPrimary)("mdc-evolution-chip__action--presentational",!o.isInteractive)("mdc-evolution-chip__action--trailing",!o._isPrimary))},inputs:{isInteractive:"isInteractive",disabled:[2,"disabled","disabled",G],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?-1:on(e)],_allowFocusWhenDisabled:"_allowFocusWhenDisabled"},features:[ce]})}return n})();var KR=(()=>{class n extends Og{_isPrimary=!1;_handleClick(e){this.disabled||(e.stopPropagation(),e.preventDefault(),this._parentChip.remove())}_handleKeydown(e){(e.keyCode===13||e.keyCode===32)&&!this.disabled&&(e.stopPropagation(),e.preventDefault(),this._parentChip.remove())}static \u0275fac=(()=>{let e;return function(o){return(e||(e=at(n)))(o||n)}})();static \u0275dir=N({type:n,selectors:[["","matChipRemove",""]],hostAttrs:["role","button",1,"mat-mdc-chip-remove","mat-mdc-chip-trailing-icon","mat-focus-indicator","mdc-evolution-chip__icon","mdc-evolution-chip__icon--trailing"],hostVars:1,hostBindings:function(t,o){t&2&&ee("aria-hidden",null)},features:[ye([{provide:CC,useExisting:n}]),_e]})}return n})(),xC=(()=>{class n{_changeDetectorRef=h(Ee);_elementRef=h(Q);_ngZone=h(te);_focusMonitor=h(Pn);_globalRippleOptions=h(Id,{optional:!0});_document=h(de);_onFocus=new j;_onBlur=new j;_isBasicChip;role=null;_hasFocusInternal=!1;_pendingFocus;_actionChanges;_animationsDisabled;_allLeadingIcons;_allTrailingIcons;_allRemoveIcons;_hasFocus(){return this._hasFocusInternal}id=h(ft).getId("mat-mdc-chip-");ariaLabel=null;ariaDescription=null;_ariaDescriptionId=`${this.id}-aria-description`;_chipListDisabled=!1;_textElement;get value(){return this._value!==void 0?this._value:this._textElement.textContent.trim()}set value(e){this._value=e}_value;color;removable=!0;highlighted=!1;disableRipple=!1;get disabled(){return this._disabled||this._chipListDisabled}set disabled(e){this._disabled=e}_disabled=!1;removed=new T;destroyed=new T;basicChipAttrName="mat-basic-chip";leadingIcon;trailingIcon;removeIcon;primaryAction;_rippleLoader=h(Ch);_injector=h(Ae);constructor(){h(Mt).load(Dn),h(Mt).load(Ao);let e=h($t,{optional:!0});this._animationsDisabled=e==="NoopAnimations",this._monitorFocus(),this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-chip-ripple",disabled:this._isRippleDisabled()})}ngOnInit(){let e=this._elementRef.nativeElement;this._isBasicChip=e.hasAttribute(this.basicChipAttrName)||e.tagName.toLowerCase()===this.basicChipAttrName}ngAfterViewInit(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label"),this._pendingFocus&&(this._pendingFocus=!1,this.focus())}ngAfterContentInit(){this._actionChanges=yt(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allRemoveIcons.changes).subscribe(()=>this._changeDetectorRef.markForCheck())}ngDoCheck(){this._rippleLoader.setDisabled(this._elementRef.nativeElement,this._isRippleDisabled())}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement),this._actionChanges?.unsubscribe(),this.destroyed.emit({chip:this}),this.destroyed.complete()}remove(){this.removable&&this.removed.emit({chip:this})}_isRippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!!this._globalRippleOptions?.disabled}_hasTrailingIcon(){return!!(this.trailingIcon||this.removeIcon)}_handleKeydown(e){(e.keyCode===8&&!e.repeat||e.keyCode===46)&&(e.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(e){return this._getActions().find(t=>{let o=t._elementRef.nativeElement;return o===e||o.contains(e)})}_getActions(){let e=[];return this.primaryAction&&e.push(this.primaryAction),this.removeIcon&&e.push(this.removeIcon),this.trailingIcon&&e.push(this.trailingIcon),e}_handlePrimaryActionInteraction(){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{let t=e!==null;t!==this._hasFocusInternal&&(this._hasFocusInternal=t,t?this._onFocus.next({chip:this}):nn(()=>this._ngZone.run(()=>this._onBlur.next({chip:this})),{injector:this._injector}))})}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(t,o,r){if(t&1&&(He(r,$R,5),He(r,qR,5),He(r,CC,5),He(r,$R,5),He(r,qR,5),He(r,CC,5)),t&2){let a;$(a=q())&&(o.leadingIcon=a.first),$(a=q())&&(o.trailingIcon=a.first),$(a=q())&&(o.removeIcon=a.first),$(a=q())&&(o._allLeadingIcons=a),$(a=q())&&(o._allTrailingIcons=a),$(a=q())&&(o._allRemoveIcons=a)}},viewQuery:function(t,o){if(t&1&&se(Og,5),t&2){let r;$(r=q())&&(o.primaryAction=r.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:31,hostBindings:function(t,o){t&1&&b("keydown",function(a){return o._handleKeydown(a)}),t&2&&(En("id",o.id),ee("role",o.role)("aria-label",o.ariaLabel),Yt("mat-"+(o.color||"primary")),ne("mdc-evolution-chip",!o._isBasicChip)("mdc-evolution-chip--disabled",o.disabled)("mdc-evolution-chip--with-trailing-action",o._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",o.leadingIcon)("mdc-evolution-chip--with-primary-icon",o.leadingIcon)("mdc-evolution-chip--with-avatar",o.leadingIcon)("mat-mdc-chip-with-avatar",o.leadingIcon)("mat-mdc-chip-highlighted",o.highlighted)("mat-mdc-chip-disabled",o.disabled)("mat-mdc-basic-chip",o._isBasicChip)("mat-mdc-standard-chip",!o._isBasicChip)("mat-mdc-chip-with-trailing-icon",o._hasTrailingIcon())("_mat-animation-noopable",o._animationsDisabled))},inputs:{role:"role",id:"id",ariaLabel:[0,"aria-label","ariaLabel"],ariaDescription:[0,"aria-description","ariaDescription"],value:"value",color:"color",removable:[2,"removable","removable",G],highlighted:[2,"highlighted","highlighted",G],disableRipple:[2,"disableRipple","disableRipple",G],disabled:[2,"disabled","disabled",G]},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],features:[ye([{provide:SC,useExisting:n}]),ce],ngContentSelectors:yQ,decls:8,vars:3,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"isInteractive"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-focus-indicator"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(t,o){t&1&&(We(bQ),M(0,"span",0),c(1,"span",1)(2,"span",2),x(3,wQ,2,0,"span",3),c(4,"span",4),re(5),M(6,"span",5),d()()(),x(7,CQ,2,0,"span",6)),t&2&&(u(2),p("isInteractive",!1),u(),Ce(o.leadingIcon?3:-1),u(4),Ce(o._hasTrailingIcon()?7:-1))},dependencies:[Og],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{flex-basis:100%;overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit;overflow-x:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-outline-width, 1px);border-radius:var(--mdc-chip-container-shape-radius, 8px);box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1;border-style:solid}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-outline-color, var(--mat-sys-outline))}.mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus::before{border-color:var(--mdc-chip-focus-outline-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip__text-label{-webkit-user-select:none;user-select:none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mdc-chip-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mdc-chip-label-text-size, var(--mat-sys-label-large-size));font-weight:var(--mdc-chip-label-text-weight, var(--mat-sys-label-large-weight));letter-spacing:var(--mdc-chip-label-text-tracking, var(--mat-sys-label-large-tracking))}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-selected-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label,.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{width:var(--mdc-chip-with-avatar-avatar-size, 24px);height:var(--mdc-chip-with-avatar-avatar-size, 24px);font-size:var(--mdc-chip-with-avatar-avatar-size, 24px)}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%;height:20px;width:20px}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@media(forced-colors: active){.mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove{opacity:calc(var(--mat-chip-trailing-action-opacity, 1)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus{opacity:calc(var(--mat-chip-trailing-action-focus-opacity, 1)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius, 8px);height:var(--mdc-chip-container-height, 32px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-selected-container-color, var(--mat-sys-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-flat-disabled-selected-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}@media(forced-colors: active){.mat-mdc-standard-chip{outline:solid 1px}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius, 24px);width:var(--mdc-chip-with-icon-icon-size, 18px);height:var(--mdc-chip-with-icon-icon-size, 18px);font-size:var(--mdc-chip-with-icon-icon-size, 18px)}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-highlighted{--mdc-chip-with-icon-icon-color:var(--mdc-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container));--mdc-chip-elevated-container-color:var(--mdc-chip-elevated-selected-container-color, var(--mat-sys-secondary-container));--mdc-chip-label-text-color:var(--mdc-chip-selected-label-text-color, var(--mat-sys-on-secondary-container));--mdc-chip-outline-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-hover-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mdc-chip-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip-focus-overlay .mat-mdc-chip-selected:hover,.mat-mdc-chip-highlighted:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-hover-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mdc-chip-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mdc-chip-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mdc-chip-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-evolution-chip--disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar{opacity:var(--mdc-chip-with-avatar-disabled-avatar-opacity, 0.38)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{opacity:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38)}.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{opacity:var(--mdc-chip-with-icon-disabled-icon-opacity, 0.38)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:var(--mat-chip-disabled-container-opacity, 1)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-trailing-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-remove{opacity:var(--mat-chip-trailing-action-opacity, 1)}.mat-mdc-chip-remove:focus{opacity:var(--mat-chip-trailing-action-focus-opacity, 1)}.mat-mdc-chip-remove::after{background-color:var(--mat-chip-trailing-action-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-remove:hover::after{opacity:var(--mat-chip-trailing-action-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip-remove:focus::after{opacity:var(--mat-chip-trailing-action-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-chip-selected .mat-mdc-chip-remove::after,.mat-mdc-chip-highlighted .mat-mdc-chip-remove::after{background-color:var(--mat-chip-selected-trailing-action-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-chip-remove::before{margin:calc(var(--mat-focus-indicator-border-width, 3px)*-1);left:8px;right:8px}.mat-mdc-chip-remove::after{content:"";display:block;opacity:0;position:absolute;top:-3px;bottom:-3px;left:5px;right:5px;border-radius:50%;box-sizing:border-box;padding:12px;margin:-12px;background-clip:content-box}.mat-mdc-chip-remove .mat-icon{width:18px;height:18px;font-size:18px;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}@media(forced-colors: active){.mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}}.mat-mdc-chip-action:focus .mat-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return n})();var wC=(()=>{class n{_elementRef=h(Q);_document=h(de);constructor(){}initialize(e){this.getNativeElement().focus(),this.setValue(e)}getNativeElement(){return this._elementRef.nativeElement}setValue(e){this.getNativeElement().textContent=e,this._moveCursorToEndOfInput()}getValue(){return this.getNativeElement().textContent||""}_moveCursorToEndOfInput(){let e=this._document.createRange();e.selectNodeContents(this.getNativeElement()),e.collapse(!1);let t=window.getSelection();t.removeAllRanges(),t.addRange(e)}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["span","matChipEditInput",""]],hostAttrs:["role","textbox","tabindex","-1","contenteditable","true",1,"mat-chip-edit-input"]})}return n})(),EC=(()=>{class n extends xC{basicChipAttrName="mat-basic-chip-row";_editStartPending=!1;editable=!1;edited=new T;defaultEditInput;contentEditInput;_isEditing=!1;constructor(){super(),this.role="row",this._onBlur.pipe(pe(this.destroyed)).subscribe(()=>{this._isEditing&&!this._editStartPending&&this._onEditFinish()})}_hasTrailingIcon(){return!this._isEditing&&super._hasTrailingIcon()}_handleFocus(){!this._isEditing&&!this.disabled&&this.focus()}_handleKeydown(e){e.keyCode===13&&!this.disabled?this._isEditing?(e.preventDefault(),this._onEditFinish()):this.editable&&this._startEditing(e):this._isEditing?e.stopPropagation():super._handleKeydown(e)}_handleDoubleclick(e){!this.disabled&&this.editable&&this._startEditing(e)}_startEditing(e){if(!this.primaryAction||this.removeIcon&&this._getSourceAction(e.target)===this.removeIcon)return;let t=this.value;this._isEditing=this._editStartPending=!0,nn(()=>{this._getEditInput().initialize(t),this._editStartPending=!1},{injector:this._injector})}_onEditFinish(){this._isEditing=this._editStartPending=!1,this.edited.emit({chip:this,value:this._getEditInput().getValue()}),(this._document.activeElement===this._getEditInput().getNativeElement()||this._document.activeElement===this._document.body)&&this.primaryAction.focus()}_isRippleDisabled(){return super._isRippleDisabled()||this._isEditing}_getEditInput(){return this.contentEditInput||this.defaultEditInput}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["mat-chip-row"],["","mat-chip-row",""],["mat-basic-chip-row"],["","mat-basic-chip-row",""]],contentQueries:function(t,o,r){if(t&1&&He(r,wC,5),t&2){let a;$(a=q())&&(o.contentEditInput=a.first)}},viewQuery:function(t,o){if(t&1&&se(wC,5),t&2){let r;$(r=q())&&(o.defaultEditInput=r.first)}},hostAttrs:[1,"mat-mdc-chip","mat-mdc-chip-row","mdc-evolution-chip"],hostVars:27,hostBindings:function(t,o){t&1&&b("focus",function(a){return o._handleFocus(a)})("dblclick",function(a){return o._handleDoubleclick(a)}),t&2&&(En("id",o.id),ee("tabindex",o.disabled?null:-1)("aria-label",null)("aria-description",null)("role",o.role),ne("mat-mdc-chip-with-avatar",o.leadingIcon)("mat-mdc-chip-disabled",o.disabled)("mat-mdc-chip-editing",o._isEditing)("mat-mdc-chip-editable",o.editable)("mdc-evolution-chip--disabled",o.disabled)("mdc-evolution-chip--with-trailing-action",o._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",o.leadingIcon)("mdc-evolution-chip--with-primary-icon",o.leadingIcon)("mdc-evolution-chip--with-avatar",o.leadingIcon)("mat-mdc-chip-highlighted",o.highlighted)("mat-mdc-chip-with-trailing-icon",o._hasTrailingIcon()))},inputs:{editable:"editable"},outputs:{edited:"edited"},features:[ye([{provide:xC,useExisting:n},{provide:SC,useExisting:n}]),_e],ngContentSelectors:SQ,decls:10,vars:9,consts:[[1,"mat-mdc-chip-focus-overlay"],["role","gridcell","matChipAction","",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary",3,"disabled"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],["aria-hidden","true",1,"mat-mdc-chip-primary-focus-indicator","mat-focus-indicator"],["role","gridcell",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"],[1,"cdk-visually-hidden",3,"id"],["matChipEditInput",""]],template:function(t,o){t&1&&(We(DQ),x(0,EQ,1,0,"span",0),c(1,"span",1),x(2,MQ,2,0,"span",2),c(3,"span",3),x(4,kQ,2,1)(5,AQ,1,0),M(6,"span",4),d()(),x(7,RQ,2,0,"span",5),c(8,"span",6),f(9),d()),t&2&&(Ce(o._isEditing?-1:0),u(),p("disabled",o.disabled),ee("aria-label",o.ariaLabel)("aria-describedby",o._ariaDescriptionId),u(),Ce(o.leadingIcon?2:-1),u(2),Ce(o._isEditing?4:5),u(3),Ce(o._hasTrailingIcon()?7:-1),u(),p("id",o._ariaDescriptionId),u(),Ge(o.ariaDescription))},dependencies:[Og,wC],styles:[xQ],encapsulation:2,changeDetection:0})}return n})(),PQ=(()=>{class n{_elementRef=h(Q);_changeDetectorRef=h(Ee);_dir=h(jt,{optional:!0});_lastDestroyedFocusedChipIndex=null;_keyManager;_destroyed=new j;_defaultRole="presentation";get chipFocusChanges(){return this._getChipStream(e=>e._onFocus)}get chipDestroyedChanges(){return this._getChipStream(e=>e.destroyed)}get chipRemovedChanges(){return this._getChipStream(e=>e.removed)}get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._syncChipsState()}_disabled=!1;get empty(){return!this._chips||this._chips.length===0}get role(){return this._explicitRole?this._explicitRole:this.empty?null:this._defaultRole}tabIndex=0;set role(e){this._explicitRole=e}_explicitRole=null;get focused(){return this._hasFocusedChip()}_chips;_chipActions=new Ji;constructor(){}ngAfterViewInit(){this._setUpFocusManagement(),this._trackChipSetChanges(),this._trackDestroyedFocusedChip()}ngOnDestroy(){this._keyManager?.destroy(),this._chipActions.destroy(),this._destroyed.next(),this._destroyed.complete()}_hasFocusedChip(){return this._chips&&this._chips.some(e=>e._hasFocus())}_syncChipsState(){this._chips?.forEach(e=>{e._chipListDisabled=this._disabled,e._changeDetectorRef.markForCheck()})}focus(){}_handleKeydown(e){this._originatesFromChip(e)&&this._keyManager.onKeydown(e)}_isValidIndex(e){return e>=0&&ethis._elementRef.nativeElement.tabIndex=e))}_getChipStream(e){return this._chips.changes.pipe(Et(null),Tt(()=>yt(...this._chips.map(e))))}_originatesFromChip(e){let t=e.target;for(;t&&t!==this._elementRef.nativeElement;){if(t.classList.contains("mat-mdc-chip"))return!0;t=t.parentElement}return!1}_setUpFocusManagement(){this._chips.changes.pipe(Et(this._chips)).subscribe(e=>{let t=[];e.forEach(o=>o._getActions().forEach(r=>t.push(r))),this._chipActions.reset(t),this._chipActions.notifyOnChanges()}),this._keyManager=new ga(this._chipActions).withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr").withHomeAndEnd().skipPredicate(e=>this._skipPredicate(e)),this.chipFocusChanges.pipe(pe(this._destroyed)).subscribe(({chip:e})=>{let t=e._getSourceAction(document.activeElement);t&&this._keyManager.updateActiveItem(t)}),this._dir?.change.pipe(pe(this._destroyed)).subscribe(e=>this._keyManager.withHorizontalOrientation(e))}_skipPredicate(e){return!e.isInteractive||e.disabled}_trackChipSetChanges(){this._chips.changes.pipe(Et(null),pe(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>this._syncChipsState()),this._redirectDestroyedChipFocus()})}_trackDestroyedFocusedChip(){this.chipDestroyedChanges.pipe(pe(this._destroyed)).subscribe(e=>{let o=this._chips.toArray().indexOf(e.chip);this._isValidIndex(o)&&e.chip._hasFocus()&&(this._lastDestroyedFocusedChipIndex=o)})}_redirectDestroyedChipFocus(){if(this._lastDestroyedFocusedChipIndex!=null){if(this._chips.length){let e=Math.min(this._lastDestroyedFocusedChipIndex,this._chips.length-1),t=this._chips.toArray()[e];t.disabled?this._chips.length===1?this.focus():this._keyManager.setPreviousItemActive():t.focus()}else this.focus();this._lastDestroyedFocusedChipIndex=null}}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["mat-chip-set"]],contentQueries:function(t,o,r){if(t&1&&He(r,xC,5),t&2){let a;$(a=q())&&(o._chips=a)}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(t,o){t&1&&b("keydown",function(a){return o._handleKeydown(a)}),t&2&&ee("role",o.role)},inputs:{disabled:[2,"disabled","disabled",G],role:"role",tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:on(e)]},features:[ce],ngContentSelectors:YR,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(t,o){t&1&&(We(),c(0,"div",0),re(1),d())},styles:[".mat-mdc-chip-set{display:flex}.mat-mdc-chip-set:focus{outline:none}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%;margin-left:-8px;margin-right:0}.mat-mdc-chip-set .mdc-evolution-chip{margin:4px 0 4px 8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip-set__chips{margin-left:0;margin-right:-8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip{margin-left:0;margin-right:8px}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0})}return n})();var DC=class{source;value;constructor(i,e){this.source=i,this.value=e}},ZR=(()=>{class n extends PQ{ngControl=h(Ai,{optional:!0,self:!0});controlType="mat-chip-grid";_chipInput;_defaultRole="grid";_errorStateTracker;_ariaDescribedbyIds=[];_onTouched=()=>{};_onChange=()=>{};get disabled(){return this.ngControl?!!this.ngControl.disabled:this._disabled}set disabled(e){this._disabled=e,this._syncChipsState()}get id(){return this._chipInput.id}get empty(){return(!this._chipInput||this._chipInput.empty)&&(!this._chips||this._chips.length===0)}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}_placeholder;get focused(){return this._chipInput.focused||this._hasFocusedChip()}get required(){return this._required??this.ngControl?.control?.hasValidator(rr.required)??!1}set required(e){this._required=e,this.stateChanges.next()}_required;get shouldLabelFloat(){return!this.empty||this.focused}get value(){return this._value}set value(e){this._value=e}_value=[];get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}get chipBlurChanges(){return this._getChipStream(e=>e._onBlur)}change=new T;valueChange=new T;_chips=void 0;stateChanges=new j;get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}constructor(){super();let e=h(co,{optional:!0}),t=h(Ea,{optional:!0}),o=h(ba);this.ngControl&&(this.ngControl.valueAccessor=this),this._errorStateTracker=new Or(o,this.ngControl,t,e,this.stateChanges)}ngAfterContentInit(){this.chipBlurChanges.pipe(pe(this._destroyed)).subscribe(()=>{this._blur(),this.stateChanges.next()}),yt(this.chipFocusChanges,this._chips.changes).pipe(pe(this._destroyed)).subscribe(()=>this.stateChanges.next())}ngAfterViewInit(){super.ngAfterViewInit(),this._chipInput}ngDoCheck(){this.ngControl&&this.updateErrorState()}ngOnDestroy(){super.ngOnDestroy(),this.stateChanges.complete()}registerInput(e){this._chipInput=e,this._chipInput.setDescribedByIds(this._ariaDescribedbyIds)}onContainerClick(e){!this.disabled&&!this._originatesFromChip(e)&&this.focus()}focus(){if(!(this.disabled||this._chipInput.focused)){if(!this._chips.length||this._chips.first.disabled)Promise.resolve().then(()=>this._chipInput.focus());else{let e=this._keyManager.activeItem;e?e.focus():this._keyManager.setFirstItemActive()}this.stateChanges.next()}}setDescribedByIds(e){this._ariaDescribedbyIds=e,this._chipInput?.setDescribedByIds(e)}writeValue(e){this._value=e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this.stateChanges.next()}updateErrorState(){this._errorStateTracker.updateErrorState()}_blur(){this.disabled||setTimeout(()=>{this.focused||(this._propagateChanges(),this._markAsTouched())})}_allowFocusEscape(){this._chipInput.focused||super._allowFocusEscape()}_handleKeydown(e){let t=e.keyCode,o=this._keyManager.activeItem;if(t===9)this._chipInput.focused&&Ot(e,"shiftKey")&&this._chips.length&&!this._chips.last.disabled?(e.preventDefault(),o?this._keyManager.setActiveItem(o):this._focusLastChip()):super._allowFocusEscape();else if(!this._chipInput.focused)if((t===38||t===40)&&o){let r=this._chipActions.filter(l=>l._isPrimary===o._isPrimary&&!this._skipPredicate(l)),a=r.indexOf(o),s=e.keyCode===38?-1:1;e.preventDefault(),a>-1&&this._isValidIndex(a+s)&&this._keyManager.setActiveItem(r[a+s])}else super._handleKeydown(e);this.stateChanges.next()}_focusLastChip(){this._chips.length&&this._chips.last.focus()}_propagateChanges(){let e=this._chips.length?this._chips.toArray().map(t=>t.value):[];this._value=e,this.change.emit(new DC(this,e)),this.valueChange.emit(e),this._onChange(e),this._changeDetectorRef.markForCheck()}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["mat-chip-grid"]],contentQueries:function(t,o,r){if(t&1&&He(r,EC,5),t&2){let a;$(a=q())&&(o._chips=a)}},hostAttrs:[1,"mat-mdc-chip-set","mat-mdc-chip-grid","mdc-evolution-chip-set"],hostVars:10,hostBindings:function(t,o){t&1&&b("focus",function(){return o.focus()})("blur",function(){return o._blur()}),t&2&&(ee("role",o.role)("tabindex",o.disabled||o._chips&&o._chips.length===0?-1:o.tabIndex)("aria-disabled",o.disabled.toString())("aria-invalid",o.errorState),ne("mat-mdc-chip-list-disabled",o.disabled)("mat-mdc-chip-list-invalid",o.errorState)("mat-mdc-chip-list-required",o.required))},inputs:{disabled:[2,"disabled","disabled",G],placeholder:"placeholder",required:[2,"required","required",G],value:"value",errorStateMatcher:"errorStateMatcher"},outputs:{change:"change",valueChange:"valueChange"},features:[ye([{provide:Ma,useExisting:n}]),ce,_e],ngContentSelectors:YR,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(t,o){t&1&&(We(),c(0,"div",0),re(1),d())},styles:[OQ],encapsulation:2,changeDetection:0})}return n})(),XR=(()=>{class n{_elementRef=h(Q);focused=!1;get chipGrid(){return this._chipGrid}set chipGrid(e){e&&(this._chipGrid=e,this._chipGrid.registerInput(this))}_chipGrid;addOnBlur=!1;separatorKeyCodes;chipEnd=new T;placeholder="";id=h(ft).getId("mat-mdc-chip-list-input-");get disabled(){return this._disabled||this._chipGrid&&this._chipGrid.disabled}set disabled(e){this._disabled=e}_disabled=!1;get empty(){return!this.inputElement.value}inputElement;constructor(){let e=h(QR),t=h(Ro,{optional:!0});this.inputElement=this._elementRef.nativeElement,this.separatorKeyCodes=e.separatorKeyCodes,t&&this.inputElement.classList.add("mat-mdc-form-field-input-control")}ngOnChanges(){this._chipGrid.stateChanges.next()}ngOnDestroy(){this.chipEnd.complete()}_keydown(e){this.empty&&e.keyCode===8?(e.repeat||this._chipGrid._focusLastChip(),e.preventDefault()):this._emitChipEnd(e)}_blur(){this.addOnBlur&&this._emitChipEnd(),this.focused=!1,this._chipGrid.focused||this._chipGrid._blur(),this._chipGrid.stateChanges.next()}_focus(){this.focused=!0,this._chipGrid.stateChanges.next()}_emitChipEnd(e){(!e||this._isSeparatorKey(e)&&!e.repeat)&&(this.chipEnd.emit({input:this.inputElement,value:this.inputElement.value,chipInput:this}),e?.preventDefault())}_onInput(){this._chipGrid.stateChanges.next()}focus(){this.inputElement.focus()}clear(){this.inputElement.value=""}setDescribedByIds(e){let t=this._elementRef.nativeElement;e.length?t.setAttribute("aria-describedby",e.join(" ")):t.removeAttribute("aria-describedby")}_isSeparatorKey(e){return!Ot(e)&&new Set(this.separatorKeyCodes).has(e.keyCode)}static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-mdc-chip-input","mat-mdc-input-element","mdc-text-field__input","mat-input-element"],hostVars:6,hostBindings:function(t,o){t&1&&b("keydown",function(a){return o._keydown(a)})("blur",function(){return o._blur()})("focus",function(){return o._focus()})("input",function(){return o._onInput()}),t&2&&(En("id",o.id),ee("disabled",o.disabled||null)("placeholder",o.placeholder||null)("aria-invalid",o._chipGrid&&o._chipGrid.ngControl?o._chipGrid.ngControl.invalid:null)("aria-required",o._chipGrid&&o._chipGrid.required||null)("required",o._chipGrid&&o._chipGrid.required||null))},inputs:{chipGrid:[0,"matChipInputFor","chipGrid"],addOnBlur:[2,"matChipInputAddOnBlur","addOnBlur",G],separatorKeyCodes:[0,"matChipInputSeparatorKeyCodes","separatorKeyCodes"],placeholder:"placeholder",id:"id",disabled:[2,"disabled","disabled",G]},outputs:{chipEnd:"matChipInputTokenEnd"},exportAs:["matChipInput","matChipInputFor"],features:[ce,Ze]})}return n})();var JR=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({providers:[ba,{provide:QR,useValue:{separatorKeyCodes:[13]}}],imports:[me,Pr,me]})}return n})();var eO=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({})}return n})();var tO=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({imports:[me,eO,Ui]})}return n})();var NQ=["*",[["mat-toolbar-row"]]],LQ=["*","mat-toolbar-row"],VQ=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275dir=N({type:n,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]})}return n})(),nO=(()=>{class n{_elementRef=h(Q);_platform=h(rt);_document=h(de);color;_toolbarRows;constructor(){}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){this._toolbarRows.length}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["mat-toolbar"]],contentQueries:function(t,o,r){if(t&1&&He(r,VQ,5),t&2){let a;$(a=q())&&(o._toolbarRows=a)}},hostAttrs:[1,"mat-toolbar"],hostVars:6,hostBindings:function(t,o){t&2&&(Yt(o.color?"mat-"+o.color:""),ne("mat-toolbar-multiple-rows",o._toolbarRows.length>0)("mat-toolbar-single-row",o._toolbarRows.length===0))},inputs:{color:"color"},exportAs:["matToolbar"],ngContentSelectors:LQ,decls:2,vars:0,template:function(t,o){t&1&&(We(NQ),re(0),re(1,1))},styles:[".mat-toolbar{background:var(--mat-toolbar-container-background-color, var(--mat-sys-surface));color:var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface))}.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, var(--mat-sys-title-large-font));font-size:var(--mat-toolbar-title-text-size, var(--mat-sys-title-large-size));line-height:var(--mat-toolbar-title-text-line-height, var(--mat-sys-title-large-line-height));font-weight:var(--mat-toolbar-title-text-weight, var(--mat-sys-title-large-weight));letter-spacing:var(--mat-toolbar-title-text-tracking, var(--mat-sys-title-large-tracking));margin:0}@media(forced-colors: 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, var(--mat-sys-on-surface));--mdc-outlined-button-label-text-color:var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface))}.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, 64px)}@media(max-width: 599px){.mat-toolbar-row,.mat-toolbar-single-row{height:var(--mat-toolbar-mobile-height, 56px)}}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%;min-height:var(--mat-toolbar-standard-height, 64px)}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:var(--mat-toolbar-mobile-height, 56px)}}"],encapsulation:2,changeDetection:0})}return n})();var iO=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=J({type:n});static \u0275inj=X({imports:[me,me]})}return n})();var oO=(()=>{let i=class i{};i.\u0275fac=function(o){return new(o||i)},i.\u0275mod=J({type:i}),i.\u0275inj=X({providers:[{provide:Yy,useValue:{floatLabel:"always",appearance:"outline"}},{provide:_h,useValue:udsData.language}],imports:[cl,UT,Qh,iO,or,cA,Hl,tO,K1,fs,hA,Ef,JA,j1,Fk,xk,Ek,Jf,Qf,QT,JR,GR,OA,DA,ek,tg,oA,Kk]});let n=i;return n})();function jQ(n,i){if(n&1){let e=k();c(0,"button",7),b("click",function(){let o=y(e).$implicit,r=_();return w(r.changeLang(o))}),f(1),d()}if(n&2){let e=i.$implicit;u(),Ge(e.name)}}function zQ(n,i){if(n&1&&(c(0,"button",12)(1,"i",8),f(2,"face"),d(),f(3),d()),n&2){let e=_(),t=be(7);p("matMenuTriggerFor",t),u(3),Ge(e.api.user.user)}}function UQ(n,i){if(n&1&&(c(0,"button",18),f(1),c(2,"i",8),f(3,"arrow_drop_down"),d()()),n&2){let e=_(),t=be(7);p("matMenuTriggerFor",t),u(),O("",e.api.user.user," ")}}var rO=(()=>{let i=class i{constructor(t){this.api=t,this.lang={id:"",name:""},this.isNavbarCollapsed=!0;let o=t.config.language;this.langs=[];for(let r of t.config.available_languages)r.id===o?this.lang=r:this.langs.push(r)}ngOnInit(){}changeLang(t){this.lang=t;let o=document.getElementById("id_language");return o&&o.setAttribute("value",t.id),document.getElementById("form_language").submit(),!1}user(){this.api.gotoUser()}logout(){this.api.logout()}};i.\u0275fac=function(o){return new(o||i)(C(B))},i.\u0275cmp=E({type:i,selectors:[["uds-navbar"]],standalone:!1,decls:39,vars:13,consts:[["appMenu","matMenu"],["userMenu","matMenu"],["shrink","matMenu"],["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"],[1,"material-icons"],[1,"material-icons","highlight"],["x-position","before"],["mat-menu-item","",3,"matMenuTriggerFor",4,"ngIf"],["mat-menu-item","",3,"matMenuTriggerFor"],["color","primary",1,"uds-nav"],["mat-button","","routerLink","/"],["alt","Universal Desktop Services",1,"udsicon",3,"src"],[1,"fill-remaining-space"],[1,"expanded"],["mat-button","",3,"matMenuTriggerFor"],["mat-button","",3,"matMenuTriggerFor",4,"ngIf"],[1,"shrinked"],["mat-icon-button","",3,"matMenuTriggerFor"]],template:function(o,r){if(o&1){let a=k();c(0,"form",3),M(1,"input",4)(2,"input",5),d(),c(3,"mat-menu",null,0),x(5,jQ,2,1,"button",6),d(),c(6,"mat-menu",null,1)(8,"button",7),b("click",function(){return y(a),w(r.user())}),c(9,"i",8),f(10,"home"),d(),c(11,"uds-translate"),f(12,"User mode"),d()(),c(13,"button",7),b("click",function(){return y(a),w(r.logout())}),c(14,"i",9),f(15,"exit_to_app"),d(),c(16,"uds-translate"),f(17,"Logout"),d()()(),c(18,"mat-menu",10,2),x(20,zQ,4,2,"button",11),c(21,"button",12)(22,"i",8),f(23,"language"),d(),f(24),d()(),c(25,"mat-toolbar",13)(26,"button",14),M(27,"img",15),d(),M(28,"span",16),c(29,"div",17)(30,"button",18),f(31),c(32,"i",8),f(33,"arrow_drop_down"),d()(),x(34,UQ,4,2,"button",19),d(),c(35,"div",20)(36,"button",21)(37,"i",8),f(38,"menu"),d()()()()}if(o&2){let a=be(4),s=be(19);aa("action",r.api.config.urls.change_language,Se),u(),aa("name",r.api.csrfField),aa("value",r.api.csrfToken),u(),aa("value",r.lang.id),u(3),p("ngForOf",r.langs),u(15),p("ngIf",r.api.user.isLogged),u(),p("matMenuTriggerFor",a),u(3),Ge(r.lang.name),u(3),p("src",r.api.staticURL("admin/img/udsicon.png"),Se),u(3),p("matMenuTriggerFor",a),u(),O("",r.lang.name," "),u(3),p("ngIf",r.api.user.isLogged),u(2),p("matMenuTriggerFor",s)}},dependencies:[$e,ue,bn,Yh,Wh,co,nO,Te,Zn,jr,_s,rg,ae],styles:[".mat-elevation-z0[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z0[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-0, none)}.mat-elevation-z1[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z1[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-1, none)}.mat-elevation-z2[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z2[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-2, none)}.mat-elevation-z3[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z3[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-3, none)}.mat-elevation-z4[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z4[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-4, none)}.mat-elevation-z5[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z5[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-5, none)}.mat-elevation-z6[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z6[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-6, none)}.mat-elevation-z7[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z7[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-7, none)}.mat-elevation-z8[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z8[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-8, none)}.mat-elevation-z9[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z9[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-9, none)}.mat-elevation-z10[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z10[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-10, none)}.mat-elevation-z11[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z11[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-11, none)}.mat-elevation-z12[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z12[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-12, none)}.mat-elevation-z13[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z13[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-13, none)}.mat-elevation-z14[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z14[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-14, none)}.mat-elevation-z15[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z15[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-15, none)}.mat-elevation-z16[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z16[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-16, none)}.mat-elevation-z17[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z17[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-17, none)}.mat-elevation-z18[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z18[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-18, none)}.mat-elevation-z19[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z19[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-19, none)}.mat-elevation-z20[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z20[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-20, none)}.mat-elevation-z21[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z21[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-21, none)}.mat-elevation-z22[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z22[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-22, none)}.mat-elevation-z23[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z23[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-23, none)}.mat-elevation-z24[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z24[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-24, none)}html[_ngcontent-%COMP%]{--mat-sys-on-surface: initial}.mat-app-background[_ngcontent-%COMP%]{background-color:var(--mat-app-background-color, var(--mat-sys-background, transparent));color:var(--mat-app-text-color, var(--mat-sys-on-background, inherit))}.uds-nav[_ngcontent-%COMP%]{position:fixed;top:0;z-index:1000}.fill-remaining-space[_ngcontent-%COMP%]{flex:1 1 auto}.material-icons[_ngcontent-%COMP%]{margin-right:.3rem}.udsicon[_ngcontent-%COMP%]{width:2rem}.mat-mdc-button[_ngcontent-%COMP%]{font-weight:300}.uds-nav[_ngcontent-%COMP%] .expanded[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{color:#000}@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}} .dark-theme .uds-nav .expanded button{color:#fff!important}"]});let n=i;return n})();var aO=(()=>{let i=class i{constructor(){}ngOnInit(){}};i.\u0275fac=function(o){return new(o||i)},i.\u0275cmp=E({type:i,selectors:[["uds-footer"]],standalone:!1,decls:4,vars:0,consts:[["href","https://www.udsenterprise.com"]],template:function(o,r){o&1&&(c(0,"div"),f(1,"\xA9 2012-2023 "),c(2,"a",0),f(3,"Virtual Cable S.L.U."),d()())},styles:[".mat-elevation-z0[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z0[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-0, none)}.mat-elevation-z1[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z1[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-1, none)}.mat-elevation-z2[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z2[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-2, none)}.mat-elevation-z3[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z3[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-3, none)}.mat-elevation-z4[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z4[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-4, none)}.mat-elevation-z5[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z5[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-5, none)}.mat-elevation-z6[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z6[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-6, none)}.mat-elevation-z7[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z7[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-7, none)}.mat-elevation-z8[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z8[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-8, none)}.mat-elevation-z9[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z9[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-9, none)}.mat-elevation-z10[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z10[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-10, none)}.mat-elevation-z11[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z11[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-11, none)}.mat-elevation-z12[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z12[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-12, none)}.mat-elevation-z13[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z13[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-13, none)}.mat-elevation-z14[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z14[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-14, none)}.mat-elevation-z15[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z15[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-15, none)}.mat-elevation-z16[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z16[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-16, none)}.mat-elevation-z17[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z17[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-17, none)}.mat-elevation-z18[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z18[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-18, none)}.mat-elevation-z19[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z19[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-19, none)}.mat-elevation-z20[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z20[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-20, none)}.mat-elevation-z21[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z21[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-21, none)}.mat-elevation-z22[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z22[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-22, none)}.mat-elevation-z23[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z23[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-23, none)}.mat-elevation-z24[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z24[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-24, none)}html[_ngcontent-%COMP%]{--mat-sys-on-surface: initial}.mat-app-background[_ngcontent-%COMP%]{background-color:var(--mat-app-background-color, var(--mat-sys-background, transparent));color:var(--mat-app-text-color, var(--mat-sys-on-background, inherit))}a[_ngcontent-%COMP%]{text-decoration:none}div[_ngcontent-%COMP%], a[_ngcontent-%COMP%]{color:#000} .dark-theme div, .dark-theme a{color:#fff}"]});let n=i;return n})();function GQ(n,i){if(n&1&&(c(0,"a",27),M(1,"img",2),c(2,"uds-translate"),f(3,"Groups"),d()()),n&2){let e=_();u(),p("src",e.icon("groups"),Se)}}function $Q(n,i){if(n&1){let e=k();c(0,"a",3),b("click",function(){y(e);let o=_();return w(o.toggleConfig())}),M(1,"img",2),c(2,"span")(3,"uds-translate"),f(4,"Tools"),d(),c(5,"i",4),f(6,"arrow_drop_down"),d()()()}if(n&2){let e=_();u(),p("src",e.icon("tools"),Se)}}var sO=(()=>{let i=class i{constructor(t,o){this.api=t,this.rest=o,this.connectivityShown=!1,this.poolsShown=!1,this.configShown=!1,this.tokensShown=!1,this.authsShown=!1,this.servicesShown=!1}ngOnInit(){}icon(t){return this.api.staticURL("admin/img/icons/"+t+".png")}toggle(t){let o=new Map([["connectivity",r=>this.connectivityShown=r?!this.connectivityShown:!1],["pools",r=>this.poolsShown=r?!this.poolsShown:!1],["config",r=>this.configShown=r?!this.configShown:!1],["tokens",r=>this.tokensShown=r?!this.tokensShown:!1],["auths",r=>this.authsShown=r?!this.authsShown:!1],["services",r=>this.servicesShown=r?!this.servicesShown:!1]]);for(let r of o)r[1](r[0]===t)}toggleConnectivity(){this.toggle("connectivity")}togglePools(){this.toggle("pools")}toggleConfig(){this.toggle("config")}toggleTokens(){this.toggle("tokens")}toggleAuths(){this.toggle("auths")}toggleServices(){this.toggle("services")}flushCache(){this.rest.system.flushCache().then(()=>{this.api.gui.snackbar.open(django.gettext("Cache flushed"),django.gettext("dismiss"),{duration:2e3})})}};i.\u0275fac=function(o){return new(o||i)(C(B),C(Z))},i.\u0275cmp=E({type:i,selectors:[["uds-sidebar"]],standalone:!1,decls:124,vars:33,consts:[[1,"sidebar","mat-toolbar","mat-primary"],["mat-button","","routerLink","/summary",1,"sidebar-link"],[1,"icon",3,"src"],["mat-button","",1,"sidebar-link",3,"click"],[1,"material-icons"],[1,"submenu",3,"hidden"],["mat-button","","routerLink","/services/providers",1,"sidebar-link"],["mat-button","","routerLink","/services/servers",1,"sidebar-link"],["mat-button","","routerLink","/authenticators",1,"sidebar-link"],["mat-button","","routerLink","/mfas",1,"sidebar-link"],["mat-button","","routerLink","/osmanagers",1,"sidebar-link"],["mat-button","","routerLink","/connectivity/transports",1,"sidebar-link"],["mat-button","","routerLink","/connectivity/networks",1,"sidebar-link"],["mat-button","","routerLink","/connectivity/tunnels",1,"sidebar-link"],["mat-button","","routerLink","/pools/service-pools",1,"sidebar-link"],["mat-button","","routerLink","/pools/meta-pools",1,"sidebar-link"],["mat-button","","routerLink","/pools/pool-groups","class","sidebar-link",4,"ngIf"],["mat-button","","routerLink","/pools/calendars",1,"sidebar-link"],["mat-button","","routerLink","/pools/accounts",1,"sidebar-link"],["mat-button","","class","sidebar-link",3,"click",4,"ngIf"],["mat-button","","routerLink","/tools/gallery",1,"sidebar-link"],["mat-button","","routerLink","/tools/reports",1,"sidebar-link"],["mat-button","","routerLink","/tools/notifiers",1,"sidebar-link"],[1,"submenu2",3,"hidden"],["mat-button","","routerLink","/tools/tokens/actor",1,"sidebar-link"],["mat-button","","routerLink","/tools/tokens/server",1,"sidebar-link"],["mat-button","","routerLink","/tools/configuration",1,"sidebar-link"],["mat-button","","routerLink","/pools/pool-groups",1,"sidebar-link"]],template:function(o,r){o&1&&(c(0,"div",0)(1,"a",1),M(2,"img",2),c(3,"uds-translate"),f(4,"Summary"),d()(),c(5,"a",3),b("click",function(){return r.toggleServices()}),M(6,"img",2),c(7,"span")(8,"uds-translate"),f(9,"Services"),d(),c(10,"i",4),f(11,"arrow_drop_down"),d()()(),c(12,"div",5)(13,"a",6),M(14,"img",2),c(15,"uds-translate"),f(16,"Providers"),d()(),c(17,"a",7),M(18,"img",2),c(19,"uds-translate"),f(20,"Servers"),d()()(),c(21,"a",3),b("click",function(){return r.toggleAuths()}),M(22,"img",2),c(23,"span")(24,"uds-translate"),f(25,"Authentication"),d(),c(26,"i",4),f(27,"arrow_drop_down"),d()()(),c(28,"div",5)(29,"a",8),M(30,"img",2),c(31,"uds-translate"),f(32,"Authenticators"),d()(),c(33,"a",9),M(34,"img",2),c(35,"uds-translate"),f(36,"Multi Factor"),d()()(),c(37,"a",10),M(38,"img",2),c(39,"uds-translate"),f(40,"Os Managers"),d()(),c(41,"a",3),b("click",function(){return r.toggleConnectivity()}),M(42,"img",2),c(43,"span")(44,"uds-translate"),f(45,"Connectivity"),d(),c(46,"i",4),f(47,"arrow_drop_down"),d()()(),c(48,"div",5)(49,"a",11),M(50,"img",2),c(51,"uds-translate"),f(52,"Transports"),d()(),c(53,"a",12),M(54,"img",2),c(55,"uds-translate"),f(56,"Networks"),d()(),c(57,"a",13),M(58,"img",2),c(59,"uds-translate"),f(60,"Tunnels"),d()()(),c(61,"a",3),b("click",function(){return r.togglePools()}),M(62,"img",2),c(63,"span")(64,"uds-translate"),f(65,"Pools"),d(),c(66,"i",4),f(67,"arrow_drop_down"),d()()(),c(68,"div",5)(69,"a",14),M(70,"img",2),c(71,"uds-translate"),f(72,"Service pools"),d()(),c(73,"a",15),M(74,"img",2),c(75,"uds-translate"),f(76,"Meta pools"),d()(),x(77,GQ,4,1,"a",16),c(78,"a",17),M(79,"img",2),c(80,"uds-translate"),f(81,"Calendars"),d()(),c(82,"a",18),M(83,"img",2),c(84,"uds-translate"),f(85,"Accounting"),d()()(),x(86,$Q,7,1,"a",19),c(87,"div",5)(88,"a",20),M(89,"img",2),c(90,"uds-translate"),f(91,"Gallery"),d()(),c(92,"a",21),M(93,"img",2),c(94,"uds-translate"),f(95,"Reports"),d()(),c(96,"a",22),M(97,"img",2),c(98,"uds-translate"),f(99,"Notifiers"),d()(),c(100,"a",3),b("click",function(){return r.tokensShown=!r.tokensShown}),M(101,"img",2),c(102,"span")(103,"uds-translate"),f(104,"Tokens"),d(),c(105,"i",4),f(106,"arrow_drop_down"),d()()(),c(107,"div",23)(108,"a",24),M(109,"img",2),c(110,"uds-translate"),f(111,"Actor"),d()(),c(112,"a",25),M(113,"img",2),c(114,"uds-translate"),f(115,"Servers"),d()()(),c(116,"a",26),M(117,"img",2),c(118,"uds-translate"),f(119,"Configuration"),d()(),c(120,"a",3),b("click",function(){return r.flushCache()}),M(121,"img",2),c(122,"uds-translate"),f(123,"Flush Cache"),d()()()()),o&2&&(u(2),p("src",r.icon("dashboard-monitor"),Se),u(4),p("src",r.icon("providers"),Se),u(6),p("hidden",!r.servicesShown),u(2),p("src",r.icon("providers"),Se),u(4),p("src",r.icon("servers"),Se),u(4),p("src",r.icon("authentication"),Se),u(6),p("hidden",!r.authsShown),u(2),p("src",r.icon("authenticators"),Se),u(4),p("src",r.icon("mfas"),Se),u(4),p("src",r.icon("osmanagers"),Se),u(4),p("src",r.icon("connectivity"),Se),u(6),p("hidden",!r.connectivityShown),u(2),p("src",r.icon("transports"),Se),u(4),p("src",r.icon("networks"),Se),u(4),p("src",r.icon("tunnels"),Se),u(4),p("src",r.icon("poolsmenu"),Se),u(6),p("hidden",!r.poolsShown),u(2),p("src",r.icon("pools"),Se),u(4),p("src",r.icon("metas"),Se),u(3),p("ngIf",r.api.user.isAdmin),u(2),p("src",r.icon("calendars"),Se),u(4),p("src",r.icon("accounts"),Se),u(3),p("ngIf",r.api.user.isAdmin),u(),p("hidden",!r.configShown),u(2),p("src",r.icon("gallery"),Se),u(4),p("src",r.icon("reports"),Se),u(4),p("src",r.icon("notifiers"),Se),u(4),p("src",r.icon("tokens"),Se),u(6),p("hidden",!r.tokensShown),u(2),p("src",r.icon("actors"),Se),u(4),p("src",r.icon("servers"),Se),u(4),p("src",r.icon("configuration"),Se),u(4),p("src",r.icon("flush-cache"),Se))},dependencies:[ue,bn,xa,ae],styles:[".mat-elevation-z0[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z0[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-0, none)}.mat-elevation-z1[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z1[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-1, none)}.mat-elevation-z2[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z2[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-2, none)}.mat-elevation-z3[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z3[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-3, none)}.mat-elevation-z4[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z4[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-4, none)}.mat-elevation-z5[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z5[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-5, none)}.mat-elevation-z6[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z6[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-6, none)}.mat-elevation-z7[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z7[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-7, none)}.mat-elevation-z8[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z8[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-8, none)}.mat-elevation-z9[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z9[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-9, none)}.mat-elevation-z10[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z10[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-10, none)}.mat-elevation-z11[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z11[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-11, none)}.mat-elevation-z12[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z12[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-12, none)}.mat-elevation-z13[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z13[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-13, none)}.mat-elevation-z14[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z14[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-14, none)}.mat-elevation-z15[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z15[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-15, none)}.mat-elevation-z16[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z16[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-16, none)}.mat-elevation-z17[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z17[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-17, none)}.mat-elevation-z18[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z18[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-18, none)}.mat-elevation-z19[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z19[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-19, none)}.mat-elevation-z20[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z20[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-20, none)}.mat-elevation-z21[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z21[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-21, none)}.mat-elevation-z22[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z22[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-22, none)}.mat-elevation-z23[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z23[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-23, none)}.mat-elevation-z24[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z24[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-24, none)}html[_ngcontent-%COMP%]{--mat-sys-on-surface: initial}.mat-app-background[_ngcontent-%COMP%]{background-color:var(--mat-app-background-color, var(--mat-sys-background, transparent));color:var(--mat-app-text-color, var(--mat-sys-on-background, inherit))}.sidebar[_ngcontent-%COMP%]{position:fixed;top:4rem;padding-top:12px;bottom:0;display:flex;flex-direction:column;overflow-y:auto;width:3.7rem;-moz-transition:all .5s cubic-bezier(.86,0,.07,1);transition:all .3s cubic-bezier(.86,0,.07,1);box-shadow:0 16px 38px -12px #fafafa8f,0 4px 25px #fafafa1f,0 8px 10px -5px #fafafa33;overflow-x:hidden;z-index:25}.sidebar-link[_ngcontent-%COMP%]{display:flex;width:15rem;color:transparent;-moz-transition:color .5s cubic-bezier(.86,0,.07,1);transition:color .3s cubic-bezier(.86,0,.07,1);font-weight:300;font-size:1rem;justify-content:left;justify-items:center;padding-left:1rem;text-decoration:none}.sidebar[_ngcontent-%COMP%]:hover{width:15rem;-moz-transition:all .5s cubic-bezier(.86,0,.07,1);transition:all .3s cubic-bezier(.86,0,.07,1)}.sidebar[_ngcontent-%COMP%]:hover .sidebar-link[_ngcontent-%COMP%]{color:#000}.submenu[_ngcontent-%COMP%] > .mat-mdc-button[_ngcontent-%COMP%]{padding-left:1.5rem}.submenu2[_ngcontent-%COMP%] > .mat-mdc-button[_ngcontent-%COMP%]{padding-left:1.8rem}.icon[_ngcontent-%COMP%]{width:24px;margin:0 1em -.5rem 0} .dark-theme .sidebar{box-shadow:0 16px 38px -12px #3030308f,0 4px 25px #3030301f,0 8px 10px -5px #30303033} .dark-theme .sidebar:hover .sidebar-link{color:#fff!important}"]});let n=i;return n})();function YQ(n,i){if(n&1&&M(0,"div",1),n&2){let e=_();p("innerHTML",e.messages,qt)}}var lO=(()=>{let i=class i{constructor(t){this.api=t,this.messages="",this.visible=!1}ngOnInit(){let t=o=>o.replace(/ /gm," ").replace(/([A-Z]+[A-Z]+)/gm,"$1").replace(/([0-9]+)/gm,"$1");if(this.api.notices.length>0){let o='
';this.messages='
'+o+this.api.notices.map(t).join("
"+o)+"
",this.api.gui.alert("",this.messages,0,"80%").then(()=>{this.visible=!0})}}};i.\u0275fac=function(o){return new(o||i)(C(B))},i.\u0275cmp=E({type:i,selectors:[["uds-notices"]],standalone:!1,decls:1,vars:1,consts:[["class","notice",3,"innerHTML",4,"ngIf"],[1,"notice",3,"innerHTML"]],template:function(o,r){o&1&&x(0,YQ,1,1,"div",0),o&2&&p("ngIf",r.visible)},dependencies:[ue],styles:[".notice[_ngcontent-%COMP%]{display:block} .warn-notice-container{background:#4682b4;border-radius:3px;box-shadow:#00000024 0 4px 20px,#465d9c66 0 7px 10px -5px;box-sizing:border-box;color:#fff;margin:1rem 2rem 0rem;padding:15px;word-wrap:break-word;display:flex;flex-direction:column} .warn-notice{display:block;width:100%;text-align:center;font-size:1.1em;margin-bottom:.5rem}"]});let n=i;return n})();var cO=(()=>{let i=class i{constructor(t){this.api=t,this.title="UDS Admin"}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)}};i.\u0275fac=function(o){return new(o||i)(C(B))},i.\u0275cmp=E({type:i,selectors:[["uds-root"]],hostBindings:function(o,r){o&1&&b("keydown",function(s){return r.handleKeyboardEvent(s)},!1,WS)},standalone:!1,decls:8,vars:0,consts:[[1,"page"],[1,"content"],[1,"footer"]],template:function(o,r){o&1&&(M(0,"uds-navbar")(1,"uds-sidebar"),c(2,"div",0)(3,"div",1),M(4,"uds-notices")(5,"router-outlet"),d(),c(6,"div",2),M(7,"uds-footer"),d()())},dependencies:[F0,rO,aO,sO,lO],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:calc(100% - 64px);margin:4rem auto auto 56px;padding-left:8px;overflow-x:hidden}"]});let n=i;return n})();var dO=(()=>{let i=class i extends Ia{constructor(){super(),this.itemsPerPageLabel=django.gettext("Items per page")}};i.\u0275fac=function(o){return new(o||i)},i.\u0275prov=P({token:i,factory:i.\u0275fac});let n=i;return n})();var uO=(()=>{let i=class i{constructor(){this.field={},this.changed=new T}ngOnInit(){this.field.value=this.field.value||this.field.gui.default||""}};i.\u0275fac=function(o){return new(o||i)},i.\u0275cmp=E({type:i,selectors:[["uds-field-text"]],inputs:{field:"field"},outputs:{changed:"changed"},standalone:!1,decls:4,vars:7,consts:[["matInput","","type","text",3,"ngModelChange","change","ngModel","placeholder","required","disabled","maxlength","autocomplete"]],template:function(o,r){o&1&&(c(0,"mat-form-field")(1,"mat-label"),f(2),d(),c(3,"input",0),U("ngModelChange",function(s){return W(r.field.value,s)||(r.field.value=s),s}),b("change",function(){return r.changed.emit(r)}),d()()),o&2&&(u(2),O(" ",r.field.gui.label," "),u(),z("ngModel",r.field.value),p("placeholder",r.field.gui.tooltip)("required",r.field.gui.required===!0)("disabled",r.field.gui.readonly===!0)("maxlength",r.field.gui.length||128)("autocomplete","new-"+r.field.name))},dependencies:[lt,we,Nn,hs,xe,fe,ke,pt],styles:[".cdk-text-field-autofilled[_ngcontent-%COMP%]{background-color:red}"]});let n=i;return n})();function KQ(n,i){if(n&1&&(c(0,"mat-option",3),f(1),d()),n&2){let e=i.$implicit;p("value",e),u(),O(" ",e," ")}}var mO=(()=>{let i=class i{constructor(){this.field={},this.changed=new T,this.values=[]}ngOnInit(){let t=this.field.gui.choices||[];this.field.value=this.field.value||this.field.gui.default||"",this.values=t.map(o=>o.text)}_filter(){let t=this.field.value.toLowerCase();return this.values.filter(o=>o.toLowerCase().includes(t))}};i.\u0275fac=function(o){return new(o||i)},i.\u0275cmp=E({type:i,selectors:[["uds-field-autocomplete"]],inputs:{field:"field"},outputs:{changed:"changed"},standalone:!1,decls:7,vars:9,consts:[["auto","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],["matInput","","type","text",3,"ngModelChange","change","ngModel","placeholder","required","disabled","maxlength","matAutocomplete","autocomplete"],[3,"value"]],template:function(o,r){if(o&1){let a=k();c(0,"mat-form-field")(1,"mat-label"),f(2),d(),c(3,"mat-autocomplete",null,0),x(5,KQ,2,2,"mat-option",1),d(),c(6,"input",2),U("ngModelChange",function(l){return y(a),W(r.field.value,l)||(r.field.value=l),w(l)}),b("change",function(){return y(a),w(r.changed.emit(r))}),d()()}if(o&2){let a=be(4);u(2),O(" ",r.field.gui.label," "),u(3),p("ngForOf",r._filter()),u(),z("ngModel",r.field.value),p("placeholder",r.field.gui.tooltip)("required",r.field.gui.required===!0)("disabled",r.field.gui.readonly===!0)("maxlength",r.field.gui.length||128)("matAutocomplete",a)("autocomplete","new-"+r.field.name)}},dependencies:[$e,lt,we,Nn,hs,xe,fe,ke,pt,nt,Yl,bs],styles:[".cdk-text-field-autofilled[_ngcontent-%COMP%]{background-color:red}"]});let n=i;return n})();var pO=(()=>{let i=class i{constructor(){this.field={},this.changed=new T}ngOnInit(){!this.field.value&&this.field.value!==0&&(this.field.value=this.field.gui.default||0)}};i.\u0275fac=function(o){return new(o||i)},i.\u0275cmp=E({type:i,selectors:[["uds-field-numeric"]],inputs:{field:"field"},outputs:{changed:"changed"},standalone:!1,decls:4,vars:5,consts:[["floatLabel","always"],["matInput","","type","number",3,"ngModelChange","change","ngModel","placeholder","required","disabled"]],template:function(o,r){o&1&&(c(0,"mat-form-field",0)(1,"mat-label"),f(2),d(),c(3,"input",1),U("ngModelChange",function(s){return W(r.field.value,s)||(r.field.value=s),s}),b("change",function(){return r.changed.emit(r)}),d()()),o&2&&(u(2),O(" ",r.field.gui.label," "),u(),z("ngModel",r.field.value),p("placeholder",r.field.gui.tooltip)("required",r.field.gui.required===!0)("disabled",r.field.gui.readonly===!0))},dependencies:[lt,Gi,we,Nn,xe,fe,ke,pt],encapsulation:2});let n=i;return n})();var hO=(()=>{let i=class i{constructor(){this.field={},this.changed=new T,this.passwordType="password"}ngOnInit(){this.field.value=this.field.value||this.field.gui.default||""}};i.\u0275fac=function(o){return new(o||i)},i.\u0275cmp=E({type:i,selectors:[["uds-field-password"]],inputs:{field:"field"},outputs:{changed:"changed"},standalone:!1,decls:7,vars:7,consts:[["floatLabel","always"],["matInput","","autocomplete","new-password",3,"ngModelChange","change","ngModel","placeholder","required","disabled","type"],["matSuffix","","mat-icon-button","",3,"click"],[1,"material-icons"]],template:function(o,r){o&1&&(c(0,"mat-form-field",0)(1,"mat-label"),f(2),d(),c(3,"input",1),U("ngModelChange",function(s){return W(r.field.value,s)||(r.field.value=s),s}),b("change",function(){return r.changed.emit(r)}),d(),c(4,"button",2),b("click",function(){return r.passwordType=r.passwordType==="text"?"password":"text"}),c(5,"i",3),f(6),d()()()),o&2&&(u(2),O(" ",r.field.gui.label," "),u(),z("ngModel",r.field.value),p("placeholder",r.field.gui.tooltip)("required",r.field.gui.required===!0)("disabled",r.field.gui.readonly===!0)("type",r.passwordType),u(3),Ge(r.passwordType==="text"?"visibility_off":"visibility"))},dependencies:[lt,we,Nn,xe,Zn,fe,ke,uo,pt],styles:[".cdk-text-field-autofilled[_ngcontent-%COMP%]{background-color:red}"]});let n=i;return n})();var fO=(()=>{let i=class i{constructor(){this.field={}}ngOnInit(){(this.field.value===""||this.field.value===void 0)&&(this.field.value=this.field.gui.default||"")}};i.\u0275fac=function(o){return new(o||i)},i.\u0275cmp=E({type:i,selectors:[["uds-field-hidden"]],inputs:{field:"field"},standalone:!1,decls:0,vars:0,template:function(o,r){},encapsulation:2});let n=i;return n})();var gO=(()=>{let i=class i{constructor(){this.field={}}ngOnInit(){this.field.value=this.field.value||this.field.gui.default||""}};i.\u0275fac=function(o){return new(o||i)},i.\u0275cmp=E({type:i,selectors:[["uds-field-textbox"]],inputs:{field:"field",value:"value"},standalone:!1,decls:4,vars:7,consts:[["floatLabel","auto"],["matInput","",3,"ngModelChange","ngModel","placeholder","required","readonly","rows","maxlength"]],template:function(o,r){o&1&&(c(0,"mat-form-field",0)(1,"mat-label"),f(2),d(),c(3,"textarea",1),U("ngModelChange",function(s){return W(r.field.value,s)||(r.field.value=s),s}),d()()),o&2&&(u(2),O(" ",r.field.gui.label," "),u(),z("ngModel",r.field.value),p("placeholder",r.field.gui.tooltip)("required",!!r.field.gui.required)("readonly",r.field.gui.readonly===!0)("rows",r.field.gui.lines||3)("maxlength",r.field.gui.length||255))},dependencies:[lt,we,Nn,hs,xe,fe,ke,pt],encapsulation:2});let n=i;return n})();function ZQ(n,i){if(n&1&&(c(0,"mat-option",3),f(1),d()),n&2){let e=i.$implicit;p("value",e.id),u(),O(" ",e.text," ")}}var _O=(()=>{let i=class i{constructor(){this.field={},this.changed=new T,this.placeholderLabel=django.gettext("Search"),this.noEntriesFoundLabel=django.gettext("No entries found"),this.filter=""}setValue(){let t=this.field.gui.choices||[];this.field.value=this.field.value||this.field.gui.default||"",t.length>0&&!t.find(o=>o.id===this.field.value)&&(this.field.value=""),this.field.value===""&&t.length>0&&(this.field.value=t[0].id)}ngOnInit(){this.setValue()}filteredValues(){let t=this.field.gui.choices||[];if(this.setValue(),!this.filter)return t;let o=this.filter.toLocaleLowerCase();return t.filter(r=>r.text.toLocaleLowerCase().includes(o))}};i.\u0275fac=function(o){return new(o||i)},i.\u0275cmp=E({type:i,selectors:[["uds-field-choice"]],inputs:{field:"field"},outputs:{changed:"changed"},standalone:!1,decls:6,vars:9,consts:[[3,"ngModelChange","valueChange","ngModel","placeholder","required","disabled"],[3,"changed","options","placeholderLabel","noEntriesFoundLabel"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(o,r){o&1&&(c(0,"mat-form-field")(1,"mat-label"),f(2),d(),c(3,"mat-select",0),U("ngModelChange",function(s){return W(r.field.value,s)||(r.field.value=s),s}),b("valueChange",function(){return r.changed.emit(r)}),c(4,"uds-cond-select-search",1),b("changed",function(s){return r.filter=s}),d(),x(5,ZQ,2,2,"mat-option",2),d()()),o&2&&(u(2),O(" ",r.field.gui.label," "),u(),z("ngModel",r.field.value),p("placeholder",r.field.gui.tooltip)("required",r.field.gui.required===!0)("disabled",r.field.gui.readonly===!0),u(),p("options",r.field.gui.choices)("placeholderLabel",r.placeholderLabel)("noEntriesFoundLabel",r.noEntriesFoundLabel),u(),p("ngForOf",r.filteredValues()))},dependencies:[$e,we,Nn,xe,fe,ke,vt,nt,pn],encapsulation:2});let n=i;return n})();function XQ(n,i){if(n&1&&(c(0,"mat-option",3),f(1),d()),n&2){let e=i.$implicit;p("value",e.id),u(),O(" ",e.text," ")}}var vO=(()=>{let i=class i{constructor(){this.field={},this.changed=new T,this.filter="",this.placeholderLabel=django.gettext("Search"),this.noEntriesFoundLabel=django.gettext("No entries found")}ngOnInit(){this.field.value=this.field.value||this.field.gui.default||new Array}filteredValues(){let t=this.field.gui.choices||[];if(!this.filter||t.length===0)return t;let o=this.filter.toLocaleLowerCase();return t.filter(r=>r.text.toLocaleLowerCase().includes(o))}selectTriggerString(){let t=this.field.value||[],o="";t.length===0&&(o=this.field.gui.tooltip||django.gettext("Select"));for(let r of t)o!==""&&(o+=", "),o+=this.field.gui.choices?.find(a=>a.id===r)?.text||r;return o}};i.\u0275fac=function(o){return new(o||i)},i.\u0275cmp=E({type:i,selectors:[["uds-field-multichoice"]],inputs:{field:"field"},outputs:{changed:"changed"},standalone:!1,decls:8,vars:8,consts:[["multiple","",3,"ngModelChange","valueChange","ngModel","placeholder","required","disabled"],[3,"changed","options"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(o,r){o&1&&(c(0,"mat-form-field")(1,"mat-label"),f(2),d(),c(3,"mat-select",0),U("ngModelChange",function(s){return W(r.field.value,s)||(r.field.value=s),s}),b("valueChange",function(){return r.changed.emit(r)}),c(4,"mat-select-trigger"),f(5),d(),c(6,"uds-cond-select-search",1),b("changed",function(s){return r.filter=s}),d(),x(7,XQ,2,2,"mat-option",2),d()()),o&2&&(u(2),O(" ",r.field.gui.label," "),u(),z("ngModel",r.field.value),p("placeholder",r.selectTriggerString())("required",r.field.gui.required===!0)("disabled",r.field.gui.readonly===!0),u(2),O(" ",r.selectTriggerString()," "),u(),p("options",r.field.gui.choices),u(),p("ngForOf",r.filteredValues()))},dependencies:[$e,we,Nn,xe,fe,ke,vt,Sf,nt,pn],encapsulation:2});let n=i;return n})();function JQ(n,i){if(n&1){let e=k();c(0,"div",12)(1,"div",13),f(2),d(),c(3,"div",14),f(4," \xA0"),c(5,"a",15),b("click",function(){let o=y(e).index,r=_();return w(r.removeElement(o))}),c(6,"i",16),f(7,"close"),d()()()()}if(n&2){let e=i.$implicit;u(2),O(" ",e," ")}}var bO=(()=>{let i=class i{constructor(t,o,r,a){this.api=t,this.rest=o,this.dialogRef=r,this.data=a,this.values=[],this.input="",this.done=new Xt,this.data.values.forEach(s=>this.values.push(s))}static launch(t,o,r){let a=window.innerWidth<800?"50%":"30%";return t.gui.dialog.open(i,{width:a,data:{title:o,values:r},disableClose:!0}).componentInstance.done}addElements(){this.input.split(",").forEach(t=>{this.values.push(t)}),this.input=""}checkKey(t){t.code==="Enter"&&this.addElements()}removeAll(){this.values.length=0}removeElement(t){this.values.splice(t,1)}save(){this.data.values.length=0,this.values.forEach(t=>this.data.values.push(t)),this.dialogRef.close(),this.done.resolve(this.data.values)}cancel(){this.dialogRef.close(),this.done.resolve(null)}ngOnInit(){}};i.\u0275fac=function(o){return new(o||i)(C(B),C(Z),C(Ne),C(Ke))},i.\u0275cmp=E({type:i,selectors:[["uds-editlist-editor"]],standalone:!1,decls:23,vars:3,consts:[["mat-dialog-title",""],[1,"content"],[1,"list"],["class","elem",4,"ngFor","ngForOf"],[1,"buttons"],["mat-raised-button","","color","warn",3,"click"],[1,"input"],[1,"example-full-width"],["type","text","matInput","",3,"keyup","ngModelChange","ngModel"],["matSuffix","","mat-icon-button","",3,"click"],["matSuffix","",1,"material-icons"],["mat-raised-button","","color","primary",3,"click"],[1,"elem"],[1,"val"],[1,"remove"],[3,"click"],[1,"material-icons"]],template:function(o,r){o&1&&(c(0,"h4",0),f(1),d(),c(2,"mat-dialog-content")(3,"div",1)(4,"div",2),x(5,JQ,8,1,"div",3),d(),c(6,"div",4)(7,"button",5),b("click",function(){return r.removeAll()}),c(8,"uds-translate"),f(9,"Remove all"),d()()(),c(10,"div",6)(11,"mat-form-field",7)(12,"input",8),b("keyup",function(s){return r.checkKey(s)}),U("ngModelChange",function(s){return W(r.input,s)||(r.input=s),s}),d(),c(13,"button",9),b("click",function(){return r.addElements()}),c(14,"i",10),f(15,"add"),d()()()()()(),c(16,"mat-dialog-actions")(17,"button",5),b("click",function(){return r.cancel()}),c(18,"uds-translate"),f(19,"Cancel"),d()(),c(20,"button",11),b("click",function(){return r.save()}),c(21,"uds-translate"),f(22,"Ok"),d()()()),o&2&&(u(),O(" ",r.data.title,` +`),u(4),p("ngForOf",r.values),u(7),z("ngModel",r.input))},dependencies:[$e,lt,we,xe,Te,Zn,Xe,et,Je,fe,uo,pt,ae],styles:[".content[_ngcontent-%COMP%]{width:100%;display:flex;flex-direction:column;justify-content:space-between;justify-self:center}.list[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin:1rem;height:16rem;overflow-y:auto;border-color:#333;border-radius:1px;box-shadow:#00000024 0 1px 4px;padding:.5rem}.buttons[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;margin-right:1rem;margin-bottom:1rem}.input[_ngcontent-%COMP%]{margin:0 1rem}.elem[_ngcontent-%COMP%]{font-family:Courier New,Courier,monospace;font-size:1.2rem;display:flex;justify-content:space-between;white-space:nowrap;flex-wrap:nowrap;margin-right:.4rem}.elem[_ngcontent-%COMP%]:hover{background-color:#333;color:#fff;cursor:default}.val[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-right:.2rem}.material-icons[_ngcontent-%COMP%]{font-size:1em;padding-bottom:1px}.material-icons[_ngcontent-%COMP%]:hover{cursor:pointer;color:red}.mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}"]});let n=i;return n})();var yO=(()=>{let i=class i{constructor(t){this.api=t,this.field={},this.changed=new T}ngOnInit(){}valueEmpty(){return this.field.value===void 0||this.field.value===null||this.field.value.length===0}launch(){return H(this,null,function*(){this.valueEmpty()&&(this.field.value=[]);let t=yield bO.launch(this.api,this.field.gui.label,this.field.value||this.field.gui.default||[]);this.changed.emit({field:this.field})})}getValue(){if(this.valueEmpty())return"";let t=this.field.value.filter((o,r,a)=>r<5).join(", ");return this.field.value.length>5&&(t+=django.gettext(", (%i more items)").replace("%i",""+(this.field.value.length-5))),t}};i.\u0275fac=function(o){return new(o||i)(C(B))},i.\u0275cmp=E({type:i,selectors:[["uds-field-editlist"]],inputs:{field:"field"},outputs:{changed:"changed"},standalone:!1,decls:4,vars:5,consts:[["floatLabel","always",3,"click"],["matInput","","type","text",1,"editlist",3,"readonly","value","placeholder","disabled"]],template:function(o,r){o&1&&(c(0,"mat-form-field",0),b("click",function(){return r.launch()}),c(1,"mat-label"),f(2),d(),M(3,"input",1),d()),o&2&&(u(2),O(" ",r.field.gui.label," "),u(),p("readonly",!0)("value",r.getValue())("placeholder",r.field.gui.tooltip)("disabled",r.field.gui.readonly===!0))},dependencies:[fe,ke,pt],styles:[".editlist[_ngcontent-%COMP%]{cursor:pointer}"]});let n=i;return n})();var wO=(()=>{let i=class i{constructor(){this.field={},this.changed=new T}ngOnInit(){oT(this.field.value)?this.field.value=Th(this.field.gui.default):this.field.value=Th(this.field.value)}getValue(){return Th(this.field.value)?django.gettext("Yes"):django.gettext("No")}};i.\u0275fac=function(o){return new(o||i)},i.\u0275cmp=E({type:i,selectors:[["uds-field-checkbox"]],inputs:{field:"field"},outputs:{changed:"changed"},standalone:!1,decls:3,vars:4,consts:[[1,"toggle"],[3,"ngModelChange","change","ngModel","required","disabled"]],template:function(o,r){o&1&&(c(0,"div",0)(1,"mat-slide-toggle",1),U("ngModelChange",function(s){return W(r.field.value,s)||(r.field.value=s),s}),b("change",function(){return r.changed.emit(r)}),f(2),d()()),o&2&&(u(),z("ngModel",r.field.value),p("required",r.field.gui.required===!0)("disabled",r.field.gui.readonly===!0),u(),O(" ",r.field.gui.label," "))},dependencies:[we,Nn,xe,sr],encapsulation:2});let n=i;return n})();function eK(n,i){if(n&1&&M(0,"div",5),n&2){let e=_().$implicit,t=_();p("innerHTML",t.asIcon(e),qt)}}function tK(n,i){if(n&1&&(c(0,"div"),x(1,eK,1,1,"div",4),d()),n&2){let e=i.$implicit,t=_();u(),p("ngIf",e.id===t.field.value)}}function nK(n,i){if(n&1&&(c(0,"mat-option",6),M(1,"div",5),d()),n&2){let e=i.$implicit,t=_();p("value",e.id),u(),p("innerHTML",t.asIcon(e),qt)}}var CO=(()=>{let i=class i{constructor(t){this.api=t,this.field={},this.changed=new T,this.filter=""}ngOnInit(){this.field.value=this.field.value||this.field.gui.default||"";let t=this.field.gui.choices||[];this.field.value===""&&t.length>0&&(this.field.value=t[0].id)}asIcon(t){return this.api.safeString(this.api.gui.icon(t.img)+t.text)}filteredValues(){let t=this.field.gui.choices||[];if(!this.filter)return t;let o=this.filter.toLocaleLowerCase();return t.filter(r=>r.text.toLocaleLowerCase().includes(o))}};i.\u0275fac=function(o){return new(o||i)(C(B))},i.\u0275cmp=E({type:i,selectors:[["uds-field-imgchoice"]],inputs:{field:"field"},outputs:{changed:"changed"},standalone:!1,decls:8,vars:8,consts:[[3,"valueChange","ngModelChange","placeholder","ngModel","required","disabled"],[4,"ngFor","ngForOf"],[3,"changed","options"],[3,"value",4,"ngFor","ngForOf"],[3,"innerHTML",4,"ngIf"],[3,"innerHTML"],[3,"value"]],template:function(o,r){o&1&&(c(0,"mat-form-field")(1,"mat-label"),f(2),d(),c(3,"mat-select",0),b("valueChange",function(){return r.changed.emit(r)}),U("ngModelChange",function(s){return W(r.field.value,s)||(r.field.value=s),s}),c(4,"mat-select-trigger"),x(5,tK,2,1,"div",1),d(),c(6,"uds-cond-select-search",2),b("changed",function(s){return r.filter=s}),d(),x(7,nK,2,2,"mat-option",3),d()()),o&2&&(u(2),O(" ",r.field.gui.label," "),u(),p("placeholder",r.field.gui.tooltip),z("ngModel",r.field.value),p("required",r.field.gui.required===!0)("disabled",r.field.gui.readonly===!0),u(2),p("ngForOf",r.field.gui.choices),u(),p("options",r.field.gui.choices),u(),p("ngForOf",r.filteredValues()))},dependencies:[$e,ue,we,Nn,xe,fe,ke,vt,Sf,nt,pn],encapsulation:2});let n=i;return n})();var xO=(()=>{let i=class i{constructor(){this.field={},this.changed=new T,this.value=new Date}get date(){return this.value}set date(t){this.value!==t&&(this.value=t,this.field.value=Ca("%Y-%m-%d",this.value))}ngOnInit(){this.field.value=this.field.value||this.field.gui.default||"",this.field.value==="2000-01-01"?this.field.value=Ca("%Y-01-01"):this.field.value==="2000-01-01"&&(this.field.value=Ca("%Y-12-31"));let t=this.field.value.split("-");t.length===3&&(this.value=new Date(+t[0],+t[1]-1,+t[2]))}};i.\u0275fac=function(o){return new(o||i)},i.\u0275cmp=E({type:i,selectors:[["uds-field-date"]],inputs:{field:"field"},outputs:{changed:"changed"},standalone:!1,decls:7,vars:6,consts:[["endDatePicker",""],[1,"oneHalf"],["matInput","",3,"ngModelChange","matDatepicker","ngModel","placeholder","disabled"],["matSuffix","",3,"for"]],template:function(o,r){if(o&1){let a=k();c(0,"mat-form-field",1)(1,"mat-label"),f(2),d(),c(3,"input",2),U("ngModelChange",function(l){return y(a),W(r.date,l)||(r.date=l),w(l)}),d(),M(4,"mat-datepicker-toggle",3)(5,"mat-datepicker",null,0),d()}if(o&2){let a=be(6);u(2),O(" ",r.field.gui.label," "),u(),p("matDatepicker",a),z("ngModel",r.date),p("placeholder",r.field.gui.tooltip)("disabled",r.field.gui.readonly===!0),u(),p("for",a)}},dependencies:[lt,we,xe,fe,ke,uo,pt,hg,Xl,Zd],encapsulation:2});let n=i;return n})();function iK(n,i){if(n&1){let e=k();c(0,"mat-chip-row",5),b("removed",function(){let o=y(e).$implicit,r=_();return w(r.remove(o))}),f(1),c(2,"i",6),f(3,"cancel"),d()()}if(n&2){let e=i.$implicit,t=_();p("removable",t.field.gui.readonly!==!0),u(),O(" ",e," ")}}var DO=(()=>{let i=class i{constructor(){this.field={},this.changed=new T,this.separatorKeysCodes=[13,188]}ngOnInit(){this.field.value=this.field.value||new Array,this.field.value.forEach((t,o,r)=>{t.trim()===""&&r.splice(o,1)})}add(t){let o=t.input,r=t.value;(r||"").trim()&&this.field.value&&this.field.value.push(r.trim()),o&&(o.value="")}remove(t){if(!this.field.value){console.warn("Trying to remove tag from field with no values: "+this.field.name);return}let o=this.field.value.indexOf(t);o>=0&&this.field.value.splice(o,1)}};i.\u0275fac=function(o){return new(o||i)},i.\u0275cmp=E({type:i,selectors:[["uds-field-tags"]],inputs:{field:"field"},outputs:{changed:"changed"},standalone:!1,decls:7,vars:7,consts:[["chipList",""],["floatLabel","always"],[3,"change","disabled"],[3,"removable","removed",4,"ngFor","ngForOf"],[3,"matChipInputTokenEnd","placeholder","matChipInputFor","matChipInputSeparatorKeyCodes","matChipInputAddOnBlur"],[3,"removed","removable"],["matChipRemove","",1,"material-icons"]],template:function(o,r){if(o&1){let a=k();c(0,"mat-form-field",1)(1,"mat-label"),f(2),d(),c(3,"mat-chip-grid",2,0),b("change",function(){return y(a),w(r.changed.emit(r))}),x(5,iK,4,2,"mat-chip-row",3),c(6,"input",4),b("matChipInputTokenEnd",function(l){return y(a),w(r.add(l))}),d()()()}if(o&2){let a=be(4);u(2),O(" ",r.field.gui.label," "),u(),p("disabled",r.field.gui.readonly===!0),u(2),p("ngForOf",r.field.value),u(),p("placeholder",r.field.gui.tooltip)("matChipInputFor",a)("matChipInputSeparatorKeyCodes",r.separatorKeysCodes)("matChipInputAddOnBlur",!0)}},dependencies:[$e,fe,ke,ZR,XR,KR,EC],styles:["*.mat-chip-trailing-icon[_ngcontent-%COMP%]{position:relative;top:-4px;left:-4px}mat-form-field[_ngcontent-%COMP%]{width:99.5%}"]});let n=i;return n})();var FEe=au(MO());var IO=(()=>{let i=class i{};i.\u0275fac=function(o){return new(o||i)},i.\u0275mod=J({type:i,bootstrap:[cO]}),i.\u0275inj=X({providers:[B,Z,{provide:Ia,useClass:dO},ZM(XM())],imports:[Ap,hR,WR,oO,rk.forRoot({echarts:()=>import("./chunk-IRQMDTYH.js")})]});let n=i;return n})();lM(Zh,function(){return[ll,wp,ar,uO,pO,hO,fO,gO,_O,vO,yO,wO,CO,xO,DO,mO]},[]);ef.production&&void 0;lI().bootstrapModule(IO).catch(n=>console.log(n)); diff --git a/server/src/uds/static/admin/styles.css b/server/src/uds/static/admin/styles.css index 5de041743..51afddd3f 100644 --- a/server/src/uds/static/admin/styles.css +++ b/server/src/uds/static/admin/styles.css @@ -1 +1 @@ -.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);transform:scale3d(0,0,0);background-color:var(--mat-ripple-color, rgba(0, 0, 0, .1))}.cdk-high-contrast-active .mat-ripple-element,.cdk-drag-preview .mat-ripple-element,.cdk-drag-placeholder .mat-ripple-element{display:none}.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;inset:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}.cdk-high-contrast-active .cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}.cdk-overlay-dark-backdrop{background:#00000052}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0!important;box-sizing:content-box!important;height:0!important}@keyframes cdk-text-field-autofill-start{}@keyframes cdk-text-field-autofill-end{}.cdk-text-field-autofill-monitored:-webkit-autofill{animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){animation:cdk-text-field-autofill-end 0s 1ms}.mat-focus-indicator{position:relative}.mat-focus-indicator:before{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border:var(--mat-focus-indicator-border-width, 3px) var(--mat-focus-indicator-border-style, solid) var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus:before{content:""}.cdk-high-contrast-active{--mat-focus-indicator-display: block}.mat-mdc-focus-indicator{position:relative}.mat-mdc-focus-indicator:before{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-mdc-focus-indicator-display, none);border:var(--mat-mdc-focus-indicator-border-width, 3px) var(--mat-mdc-focus-indicator-border-style, solid) var(--mat-mdc-focus-indicator-border-color, transparent);border-radius:var(--mat-mdc-focus-indicator-border-radius, 4px)}.mat-mdc-focus-indicator:focus:before{content:""}.cdk-high-contrast-active{--mat-mdc-focus-indicator-display: block}.mat-app-background{background-color:var(--mat-app-background-color, var(--mat-app-background, transparent));color:var(--mat-app-text-color, var(--mat-app-on-background, inherit))}.mat-elevation-z0,.mat-mdc-elevation-specific.mat-elevation-z0{box-shadow:var(--mat-app-elevation-shadow-level-0, none)}.mat-elevation-z1,.mat-mdc-elevation-specific.mat-elevation-z1{box-shadow:var(--mat-app-elevation-shadow-level-1, none)}.mat-elevation-z2,.mat-mdc-elevation-specific.mat-elevation-z2{box-shadow:var(--mat-app-elevation-shadow-level-2, none)}.mat-elevation-z3,.mat-mdc-elevation-specific.mat-elevation-z3{box-shadow:var(--mat-app-elevation-shadow-level-3, none)}.mat-elevation-z4,.mat-mdc-elevation-specific.mat-elevation-z4{box-shadow:var(--mat-app-elevation-shadow-level-4, none)}.mat-elevation-z5,.mat-mdc-elevation-specific.mat-elevation-z5{box-shadow:var(--mat-app-elevation-shadow-level-5, none)}.mat-elevation-z6,.mat-mdc-elevation-specific.mat-elevation-z6{box-shadow:var(--mat-app-elevation-shadow-level-6, none)}.mat-elevation-z7,.mat-mdc-elevation-specific.mat-elevation-z7{box-shadow:var(--mat-app-elevation-shadow-level-7, none)}.mat-elevation-z8,.mat-mdc-elevation-specific.mat-elevation-z8{box-shadow:var(--mat-app-elevation-shadow-level-8, none)}.mat-elevation-z9,.mat-mdc-elevation-specific.mat-elevation-z9{box-shadow:var(--mat-app-elevation-shadow-level-9, none)}.mat-elevation-z10,.mat-mdc-elevation-specific.mat-elevation-z10{box-shadow:var(--mat-app-elevation-shadow-level-10, none)}.mat-elevation-z11,.mat-mdc-elevation-specific.mat-elevation-z11{box-shadow:var(--mat-app-elevation-shadow-level-11, none)}.mat-elevation-z12,.mat-mdc-elevation-specific.mat-elevation-z12{box-shadow:var(--mat-app-elevation-shadow-level-12, none)}.mat-elevation-z13,.mat-mdc-elevation-specific.mat-elevation-z13{box-shadow:var(--mat-app-elevation-shadow-level-13, none)}.mat-elevation-z14,.mat-mdc-elevation-specific.mat-elevation-z14{box-shadow:var(--mat-app-elevation-shadow-level-14, none)}.mat-elevation-z15,.mat-mdc-elevation-specific.mat-elevation-z15{box-shadow:var(--mat-app-elevation-shadow-level-15, none)}.mat-elevation-z16,.mat-mdc-elevation-specific.mat-elevation-z16{box-shadow:var(--mat-app-elevation-shadow-level-16, none)}.mat-elevation-z17,.mat-mdc-elevation-specific.mat-elevation-z17{box-shadow:var(--mat-app-elevation-shadow-level-17, none)}.mat-elevation-z18,.mat-mdc-elevation-specific.mat-elevation-z18{box-shadow:var(--mat-app-elevation-shadow-level-18, none)}.mat-elevation-z19,.mat-mdc-elevation-specific.mat-elevation-z19{box-shadow:var(--mat-app-elevation-shadow-level-19, none)}.mat-elevation-z20,.mat-mdc-elevation-specific.mat-elevation-z20{box-shadow:var(--mat-app-elevation-shadow-level-20, none)}.mat-elevation-z21,.mat-mdc-elevation-specific.mat-elevation-z21{box-shadow:var(--mat-app-elevation-shadow-level-21, none)}.mat-elevation-z22,.mat-mdc-elevation-specific.mat-elevation-z22{box-shadow:var(--mat-app-elevation-shadow-level-22, none)}.mat-elevation-z23,.mat-mdc-elevation-specific.mat-elevation-z23{box-shadow:var(--mat-app-elevation-shadow-level-23, none)}.mat-elevation-z24,.mat-mdc-elevation-specific.mat-elevation-z24{box-shadow:var(--mat-app-elevation-shadow-level-24, none)}.mat-theme-loaded-marker{display:none}html{--mat-ripple-color: rgba(0, 0, 0, .1)}html{--mat-option-selected-state-label-text-color: #3f51b5;--mat-option-label-text-color: rgba(0, 0, 0, .87);--mat-option-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-option-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-option-selected-state-layer-color: rgba(0, 0, 0, .04)}.mat-accent{--mat-option-selected-state-label-text-color: #ff4081;--mat-option-label-text-color: rgba(0, 0, 0, .87);--mat-option-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-option-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-option-selected-state-layer-color: rgba(0, 0, 0, .04)}.mat-warn{--mat-option-selected-state-label-text-color: #f44336;--mat-option-label-text-color: rgba(0, 0, 0, .87);--mat-option-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-option-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-option-selected-state-layer-color: rgba(0, 0, 0, .04)}html{--mat-optgroup-label-text-color: rgba(0, 0, 0, .87)}.mat-primary{--mat-full-pseudo-checkbox-selected-icon-color: #3f51b5;--mat-full-pseudo-checkbox-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: #b0b0b0;--mat-full-pseudo-checkbox-disabled-selected-icon-color: #b0b0b0;--mat-minimal-pseudo-checkbox-selected-checkmark-color: #3f51b5;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: #b0b0b0}html,.mat-accent{--mat-full-pseudo-checkbox-selected-icon-color: #ff4081;--mat-full-pseudo-checkbox-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: #b0b0b0;--mat-full-pseudo-checkbox-disabled-selected-icon-color: #b0b0b0;--mat-minimal-pseudo-checkbox-selected-checkmark-color: #ff4081;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: #b0b0b0}.mat-warn{--mat-full-pseudo-checkbox-selected-icon-color: #f44336;--mat-full-pseudo-checkbox-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: #b0b0b0;--mat-full-pseudo-checkbox-disabled-selected-icon-color: #b0b0b0;--mat-minimal-pseudo-checkbox-selected-checkmark-color: #f44336;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: #b0b0b0}html{--mat-app-background-color: #fafafa;--mat-app-text-color: rgba(0, 0, 0, .87);--mat-app-elevation-shadow-level-0: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-1: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-2: 0px 3px 1px -2px rgba(0, 0, 0, .2), 0px 2px 2px 0px rgba(0, 0, 0, .14), 0px 1px 5px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-3: 0px 3px 3px -2px rgba(0, 0, 0, .2), 0px 3px 4px 0px rgba(0, 0, 0, .14), 0px 1px 8px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-4: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-5: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 5px 8px 0px rgba(0, 0, 0, .14), 0px 1px 14px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-6: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-7: 0px 4px 5px -2px rgba(0, 0, 0, .2), 0px 7px 10px 1px rgba(0, 0, 0, .14), 0px 2px 16px 1px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-8: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-9: 0px 5px 6px -3px rgba(0, 0, 0, .2), 0px 9px 12px 1px rgba(0, 0, 0, .14), 0px 3px 16px 2px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-10: 0px 6px 6px -3px rgba(0, 0, 0, .2), 0px 10px 14px 1px rgba(0, 0, 0, .14), 0px 4px 18px 3px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-11: 0px 6px 7px -4px rgba(0, 0, 0, .2), 0px 11px 15px 1px rgba(0, 0, 0, .14), 0px 4px 20px 3px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-12: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-13: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 13px 19px 2px rgba(0, 0, 0, .14), 0px 5px 24px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-14: 0px 7px 9px -4px rgba(0, 0, 0, .2), 0px 14px 21px 2px rgba(0, 0, 0, .14), 0px 5px 26px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-15: 0px 8px 9px -5px rgba(0, 0, 0, .2), 0px 15px 22px 2px rgba(0, 0, 0, .14), 0px 6px 28px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-16: 0px 8px 10px -5px rgba(0, 0, 0, .2), 0px 16px 24px 2px rgba(0, 0, 0, .14), 0px 6px 30px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-17: 0px 8px 11px -5px rgba(0, 0, 0, .2), 0px 17px 26px 2px rgba(0, 0, 0, .14), 0px 6px 32px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-18: 0px 9px 11px -5px rgba(0, 0, 0, .2), 0px 18px 28px 2px rgba(0, 0, 0, .14), 0px 7px 34px 6px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-19: 0px 9px 12px -6px rgba(0, 0, 0, .2), 0px 19px 29px 2px rgba(0, 0, 0, .14), 0px 7px 36px 6px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-20: 0px 10px 13px -6px rgba(0, 0, 0, .2), 0px 20px 31px 3px rgba(0, 0, 0, .14), 0px 8px 38px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-21: 0px 10px 13px -6px rgba(0, 0, 0, .2), 0px 21px 33px 3px rgba(0, 0, 0, .14), 0px 8px 40px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-22: 0px 10px 14px -6px rgba(0, 0, 0, .2), 0px 22px 35px 3px rgba(0, 0, 0, .14), 0px 8px 42px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-23: 0px 11px 14px -7px rgba(0, 0, 0, .2), 0px 23px 36px 3px rgba(0, 0, 0, .14), 0px 9px 44px 8px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-24: 0px 11px 15px -7px rgba(0, 0, 0, .2), 0px 24px 38px 3px rgba(0, 0, 0, .14), 0px 9px 46px 8px rgba(0, 0, 0, .12)}html{--mat-option-label-text-font: Roboto, sans-serif;--mat-option-label-text-line-height: 24px;--mat-option-label-text-size: 16px;--mat-option-label-text-tracking: .03125em;--mat-option-label-text-weight: 400}html{--mat-optgroup-label-text-font: Roboto, sans-serif;--mat-optgroup-label-text-line-height: 24px;--mat-optgroup-label-text-size: 16px;--mat-optgroup-label-text-tracking: .03125em;--mat-optgroup-label-text-weight: 400}html{--mdc-elevated-card-container-shape: 4px;--mdc-outlined-card-container-shape: 4px;--mdc-outlined-card-outline-width: 1px}html{--mdc-elevated-card-container-color: white;--mdc-elevated-card-container-elevation: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-outlined-card-container-color: white;--mdc-outlined-card-outline-color: rgba(0, 0, 0, .12);--mdc-outlined-card-container-elevation: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-card-subtitle-text-color: rgba(0, 0, 0, .54)}html{--mat-card-title-text-font: Roboto, sans-serif;--mat-card-title-text-line-height: 32px;--mat-card-title-text-size: 20px;--mat-card-title-text-tracking: .0125em;--mat-card-title-text-weight: 500;--mat-card-subtitle-text-font: Roboto, sans-serif;--mat-card-subtitle-text-line-height: 22px;--mat-card-subtitle-text-size: 14px;--mat-card-subtitle-text-tracking: .0071428571em;--mat-card-subtitle-text-weight: 500}html{--mdc-linear-progress-active-indicator-height: 4px;--mdc-linear-progress-track-height: 4px;--mdc-linear-progress-track-shape: 0}.mat-mdc-progress-bar{--mdc-linear-progress-active-indicator-color: #3f51b5;--mdc-linear-progress-track-color: rgba(63, 81, 181, .25)}.mat-mdc-progress-bar.mat-accent{--mdc-linear-progress-active-indicator-color: #ff4081;--mdc-linear-progress-track-color: rgba(255, 64, 129, .25)}.mat-mdc-progress-bar.mat-warn{--mdc-linear-progress-active-indicator-color: #f44336;--mdc-linear-progress-track-color: rgba(244, 67, 54, .25)}html{--mdc-plain-tooltip-container-shape: 4px;--mdc-plain-tooltip-supporting-text-line-height: 16px}html{--mdc-plain-tooltip-container-color: #616161;--mdc-plain-tooltip-supporting-text-color: #fff}html{--mdc-plain-tooltip-supporting-text-font: Roboto, sans-serif;--mdc-plain-tooltip-supporting-text-size: 12px;--mdc-plain-tooltip-supporting-text-weight: 400;--mdc-plain-tooltip-supporting-text-tracking: .0333333333em}html{--mdc-filled-text-field-active-indicator-height: 1px;--mdc-filled-text-field-focus-active-indicator-height: 2px;--mdc-filled-text-field-container-shape: 4px;--mdc-outlined-text-field-outline-width: 1px;--mdc-outlined-text-field-focus-outline-width: 2px;--mdc-outlined-text-field-container-shape: 4px}html{--mdc-filled-text-field-caret-color: #3f51b5;--mdc-filled-text-field-focus-active-indicator-color: #3f51b5;--mdc-filled-text-field-focus-label-text-color: rgba(63, 81, 181, .87);--mdc-filled-text-field-container-color: whitesmoke;--mdc-filled-text-field-disabled-container-color: #fafafa;--mdc-filled-text-field-label-text-color: rgba(0, 0, 0, .6);--mdc-filled-text-field-hover-label-text-color: rgba(0, 0, 0, .6);--mdc-filled-text-field-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-filled-text-field-input-text-color: rgba(0, 0, 0, .87);--mdc-filled-text-field-disabled-input-text-color: rgba(0, 0, 0, .38);--mdc-filled-text-field-input-text-placeholder-color: rgba(0, 0, 0, .6);--mdc-filled-text-field-error-hover-label-text-color: #f44336;--mdc-filled-text-field-error-focus-label-text-color: #f44336;--mdc-filled-text-field-error-label-text-color: #f44336;--mdc-filled-text-field-error-caret-color: #f44336;--mdc-filled-text-field-active-indicator-color: rgba(0, 0, 0, .42);--mdc-filled-text-field-disabled-active-indicator-color: rgba(0, 0, 0, .06);--mdc-filled-text-field-hover-active-indicator-color: rgba(0, 0, 0, .87);--mdc-filled-text-field-error-active-indicator-color: #f44336;--mdc-filled-text-field-error-focus-active-indicator-color: #f44336;--mdc-filled-text-field-error-hover-active-indicator-color: #f44336;--mdc-outlined-text-field-caret-color: #3f51b5;--mdc-outlined-text-field-focus-outline-color: #3f51b5;--mdc-outlined-text-field-focus-label-text-color: rgba(63, 81, 181, .87);--mdc-outlined-text-field-label-text-color: rgba(0, 0, 0, .6);--mdc-outlined-text-field-hover-label-text-color: rgba(0, 0, 0, .6);--mdc-outlined-text-field-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-outlined-text-field-input-text-color: rgba(0, 0, 0, .87);--mdc-outlined-text-field-disabled-input-text-color: rgba(0, 0, 0, .38);--mdc-outlined-text-field-input-text-placeholder-color: rgba(0, 0, 0, .6);--mdc-outlined-text-field-error-caret-color: #f44336;--mdc-outlined-text-field-error-focus-label-text-color: #f44336;--mdc-outlined-text-field-error-label-text-color: #f44336;--mdc-outlined-text-field-error-hover-label-text-color: #f44336;--mdc-outlined-text-field-outline-color: rgba(0, 0, 0, .38);--mdc-outlined-text-field-disabled-outline-color: rgba(0, 0, 0, .06);--mdc-outlined-text-field-hover-outline-color: rgba(0, 0, 0, .87);--mdc-outlined-text-field-error-focus-outline-color: #f44336;--mdc-outlined-text-field-error-hover-outline-color: #f44336;--mdc-outlined-text-field-error-outline-color: #f44336;--mat-form-field-focus-select-arrow-color: rgba(63, 81, 181, .87);--mat-form-field-disabled-input-text-placeholder-color: rgba(0, 0, 0, .38);--mat-form-field-state-layer-color: rgba(0, 0, 0, .87);--mat-form-field-error-text-color: #f44336;--mat-form-field-select-option-text-color: inherit;--mat-form-field-select-disabled-option-text-color: GrayText;--mat-form-field-leading-icon-color: unset;--mat-form-field-disabled-leading-icon-color: unset;--mat-form-field-trailing-icon-color: unset;--mat-form-field-disabled-trailing-icon-color: unset;--mat-form-field-error-focus-trailing-icon-color: unset;--mat-form-field-error-hover-trailing-icon-color: unset;--mat-form-field-error-trailing-icon-color: unset;--mat-form-field-enabled-select-arrow-color: rgba(0, 0, 0, .54);--mat-form-field-disabled-select-arrow-color: rgba(0, 0, 0, .38);--mat-form-field-hover-state-layer-opacity: .04;--mat-form-field-focus-state-layer-opacity: .08}.mat-mdc-form-field.mat-accent{--mdc-filled-text-field-caret-color: #ff4081;--mdc-filled-text-field-focus-active-indicator-color: #ff4081;--mdc-filled-text-field-focus-label-text-color: rgba(255, 64, 129, .87);--mdc-outlined-text-field-caret-color: #ff4081;--mdc-outlined-text-field-focus-outline-color: #ff4081;--mdc-outlined-text-field-focus-label-text-color: rgba(255, 64, 129, .87);--mat-form-field-focus-select-arrow-color: rgba(255, 64, 129, .87)}.mat-mdc-form-field.mat-warn{--mdc-filled-text-field-caret-color: #f44336;--mdc-filled-text-field-focus-active-indicator-color: #f44336;--mdc-filled-text-field-focus-label-text-color: rgba(244, 67, 54, .87);--mdc-outlined-text-field-caret-color: #f44336;--mdc-outlined-text-field-focus-outline-color: #f44336;--mdc-outlined-text-field-focus-label-text-color: rgba(244, 67, 54, .87);--mat-form-field-focus-select-arrow-color: rgba(244, 67, 54, .87)}html{--mat-form-field-container-height: 56px;--mat-form-field-filled-label-display: block;--mat-form-field-container-vertical-padding: 16px;--mat-form-field-filled-with-label-container-padding-top: 24px;--mat-form-field-filled-with-label-container-padding-bottom: 8px}html{--mdc-filled-text-field-label-text-font: Roboto, sans-serif;--mdc-filled-text-field-label-text-size: 16px;--mdc-filled-text-field-label-text-tracking: .03125em;--mdc-filled-text-field-label-text-weight: 400;--mdc-outlined-text-field-label-text-font: Roboto, sans-serif;--mdc-outlined-text-field-label-text-size: 16px;--mdc-outlined-text-field-label-text-tracking: .03125em;--mdc-outlined-text-field-label-text-weight: 400;--mat-form-field-container-text-font: Roboto, sans-serif;--mat-form-field-container-text-line-height: 24px;--mat-form-field-container-text-size: 16px;--mat-form-field-container-text-tracking: .03125em;--mat-form-field-container-text-weight: 400;--mat-form-field-outlined-label-text-populated-size: 16px;--mat-form-field-subscript-text-font: Roboto, sans-serif;--mat-form-field-subscript-text-line-height: 20px;--mat-form-field-subscript-text-size: 12px;--mat-form-field-subscript-text-tracking: .0333333333em;--mat-form-field-subscript-text-weight: 400}html{--mat-select-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12)}html{--mat-select-panel-background-color: white;--mat-select-enabled-trigger-text-color: rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color: rgba(0, 0, 0, .38);--mat-select-placeholder-text-color: rgba(0, 0, 0, .6);--mat-select-enabled-arrow-color: rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color: rgba(0, 0, 0, .38);--mat-select-focused-arrow-color: rgba(63, 81, 181, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87)}html .mat-mdc-form-field.mat-accent{--mat-select-panel-background-color: white;--mat-select-enabled-trigger-text-color: rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color: rgba(0, 0, 0, .38);--mat-select-placeholder-text-color: rgba(0, 0, 0, .6);--mat-select-enabled-arrow-color: rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color: rgba(0, 0, 0, .38);--mat-select-focused-arrow-color: rgba(255, 64, 129, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87)}html .mat-mdc-form-field.mat-warn{--mat-select-panel-background-color: white;--mat-select-enabled-trigger-text-color: rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color: rgba(0, 0, 0, .38);--mat-select-placeholder-text-color: rgba(0, 0, 0, .6);--mat-select-enabled-arrow-color: rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color: rgba(0, 0, 0, .38);--mat-select-focused-arrow-color: rgba(244, 67, 54, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87)}html{--mat-select-arrow-transform: translateY(-8px)}html{--mat-select-trigger-text-font: Roboto, sans-serif;--mat-select-trigger-text-line-height: 24px;--mat-select-trigger-text-size: 16px;--mat-select-trigger-text-tracking: .03125em;--mat-select-trigger-text-weight: 400}html{--mat-autocomplete-container-shape: 4px;--mat-autocomplete-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12)}html{--mat-autocomplete-background-color: white}html{--mdc-dialog-container-shape: 4px;--mat-dialog-container-elevation-shadow: 0px 11px 15px -7px rgba(0, 0, 0, .2), 0px 24px 38px 3px rgba(0, 0, 0, .14), 0px 9px 46px 8px rgba(0, 0, 0, .12);--mat-dialog-container-max-width: 80vw;--mat-dialog-container-small-max-width: 80vw;--mat-dialog-container-min-width: 0;--mat-dialog-actions-alignment: start;--mat-dialog-actions-padding: 8px;--mat-dialog-content-padding: 20px 24px;--mat-dialog-with-actions-content-padding: 20px 24px;--mat-dialog-headline-padding: 0 24px 9px}html{--mdc-dialog-container-color: white;--mdc-dialog-subhead-color: rgba(0, 0, 0, .87);--mdc-dialog-supporting-text-color: rgba(0, 0, 0, .6)}html{--mdc-dialog-subhead-font: Roboto, sans-serif;--mdc-dialog-subhead-line-height: 32px;--mdc-dialog-subhead-size: 20px;--mdc-dialog-subhead-weight: 500;--mdc-dialog-subhead-tracking: .0125em;--mdc-dialog-supporting-text-font: Roboto, sans-serif;--mdc-dialog-supporting-text-line-height: 24px;--mdc-dialog-supporting-text-size: 16px;--mdc-dialog-supporting-text-weight: 400;--mdc-dialog-supporting-text-tracking: .03125em}.mat-mdc-standard-chip{--mdc-chip-container-shape-radius: 16px;--mdc-chip-with-avatar-avatar-shape-radius: 14px;--mdc-chip-with-avatar-avatar-size: 28px;--mdc-chip-with-icon-icon-size: 18px;--mdc-chip-outline-width: 0;--mdc-chip-outline-color: transparent;--mdc-chip-disabled-outline-color: transparent;--mdc-chip-focus-outline-color: transparent;--mdc-chip-hover-state-layer-opacity: .04;--mdc-chip-with-avatar-disabled-avatar-opacity: 1;--mdc-chip-flat-selected-outline-width: 0;--mdc-chip-selected-hover-state-layer-opacity: .04;--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity: 1;--mdc-chip-with-icon-disabled-icon-opacity: 1;--mat-chip-disabled-container-opacity: .4;--mat-chip-trailing-action-opacity: .54;--mat-chip-trailing-action-focus-opacity: 1;--mat-chip-trailing-action-state-layer-color: transparent;--mat-chip-selected-trailing-action-state-layer-color: transparent;--mat-chip-trailing-action-hover-state-layer-opacity: 0;--mat-chip-trailing-action-focus-state-layer-opacity: 0}.mat-mdc-standard-chip{--mdc-chip-disabled-label-text-color: #212121;--mdc-chip-elevated-container-color: #e0e0e0;--mdc-chip-elevated-selected-container-color: #e0e0e0;--mdc-chip-elevated-disabled-container-color: #e0e0e0;--mdc-chip-flat-disabled-selected-container-color: #e0e0e0;--mdc-chip-focus-state-layer-color: black;--mdc-chip-hover-state-layer-color: black;--mdc-chip-selected-hover-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-selected-focus-state-layer-color: black;--mdc-chip-selected-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: #212121;--mdc-chip-selected-label-text-color: #212121;--mdc-chip-with-icon-icon-color: #212121;--mdc-chip-with-icon-disabled-icon-color: #212121;--mdc-chip-with-icon-selected-icon-color: #212121;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: #212121;--mdc-chip-with-trailing-icon-trailing-icon-color: #212121;--mat-chip-selected-disabled-trailing-icon-color: #212121;--mat-chip-selected-trailing-icon-color: #212121}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-primary,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-primary{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #3f51b5;--mdc-chip-elevated-selected-container-color: #3f51b5;--mdc-chip-elevated-disabled-container-color: #3f51b5;--mdc-chip-flat-disabled-selected-container-color: #3f51b5;--mdc-chip-focus-state-layer-color: black;--mdc-chip-hover-state-layer-color: black;--mdc-chip-selected-hover-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-selected-focus-state-layer-color: black;--mdc-chip-selected-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: white;--mdc-chip-selected-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white;--mat-chip-selected-disabled-trailing-icon-color: white;--mat-chip-selected-trailing-icon-color: white}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-accent,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-accent{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #ff4081;--mdc-chip-elevated-selected-container-color: #ff4081;--mdc-chip-elevated-disabled-container-color: #ff4081;--mdc-chip-flat-disabled-selected-container-color: #ff4081;--mdc-chip-focus-state-layer-color: black;--mdc-chip-hover-state-layer-color: black;--mdc-chip-selected-hover-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-selected-focus-state-layer-color: black;--mdc-chip-selected-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: white;--mdc-chip-selected-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white;--mat-chip-selected-disabled-trailing-icon-color: white;--mat-chip-selected-trailing-icon-color: white}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-warn,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-warn{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #f44336;--mdc-chip-elevated-selected-container-color: #f44336;--mdc-chip-elevated-disabled-container-color: #f44336;--mdc-chip-flat-disabled-selected-container-color: #f44336;--mdc-chip-focus-state-layer-color: black;--mdc-chip-hover-state-layer-color: black;--mdc-chip-selected-hover-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-selected-focus-state-layer-color: black;--mdc-chip-selected-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: white;--mdc-chip-selected-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white;--mat-chip-selected-disabled-trailing-icon-color: white;--mat-chip-selected-trailing-icon-color: white}.mat-mdc-chip.mat-mdc-standard-chip{--mdc-chip-container-height: 32px}.mat-mdc-standard-chip{--mdc-chip-label-text-font: Roboto, sans-serif;--mdc-chip-label-text-line-height: 20px;--mdc-chip-label-text-size: 14px;--mdc-chip-label-text-tracking: .0178571429em;--mdc-chip-label-text-weight: 400}html{--mdc-switch-disabled-selected-icon-opacity: .38;--mdc-switch-disabled-track-opacity: .12;--mdc-switch-disabled-unselected-icon-opacity: .38;--mdc-switch-handle-height: 20px;--mdc-switch-handle-shape: 10px;--mdc-switch-handle-width: 20px;--mdc-switch-selected-icon-size: 18px;--mdc-switch-track-height: 14px;--mdc-switch-track-shape: 7px;--mdc-switch-track-width: 36px;--mdc-switch-unselected-icon-size: 18px;--mdc-switch-selected-focus-state-layer-opacity: .12;--mdc-switch-selected-hover-state-layer-opacity: .04;--mdc-switch-selected-pressed-state-layer-opacity: .1;--mdc-switch-unselected-focus-state-layer-opacity: .12;--mdc-switch-unselected-hover-state-layer-opacity: .04;--mdc-switch-unselected-pressed-state-layer-opacity: .1}html .mat-mdc-slide-toggle{--mat-switch-disabled-selected-handle-opacity: .38;--mat-switch-disabled-unselected-handle-opacity: .38;--mat-switch-unselected-handle-size: 20px;--mat-switch-selected-handle-size: 20px;--mat-switch-pressed-handle-size: 20px;--mat-switch-with-icon-handle-size: 20px;--mat-switch-selected-handle-horizontal-margin: 0;--mat-switch-selected-with-icon-handle-horizontal-margin: 0;--mat-switch-selected-pressed-handle-horizontal-margin: 0;--mat-switch-unselected-handle-horizontal-margin: 0;--mat-switch-unselected-with-icon-handle-horizontal-margin: 0;--mat-switch-unselected-pressed-handle-horizontal-margin: 0;--mat-switch-visible-track-opacity: 1;--mat-switch-hidden-track-opacity: 1;--mat-switch-visible-track-transition: transform 75ms 0ms cubic-bezier(0, 0, .2, 1);--mat-switch-hidden-track-transition: transform 75ms 0ms cubic-bezier(.4, 0, .6, 1);--mat-switch-track-outline-width: 1px;--mat-switch-track-outline-color: transparent;--mat-switch-selected-track-outline-width: 1px;--mat-switch-selected-track-outline-color: transparent;--mat-switch-disabled-unselected-track-outline-width: 1px;--mat-switch-disabled-unselected-track-outline-color: transparent}html{--mdc-switch-selected-focus-state-layer-color: #3949ab;--mdc-switch-selected-handle-color: #3949ab;--mdc-switch-selected-hover-state-layer-color: #3949ab;--mdc-switch-selected-pressed-state-layer-color: #3949ab;--mdc-switch-selected-focus-handle-color: #1a237e;--mdc-switch-selected-hover-handle-color: #1a237e;--mdc-switch-selected-pressed-handle-color: #1a237e;--mdc-switch-selected-focus-track-color: #7986cb;--mdc-switch-selected-hover-track-color: #7986cb;--mdc-switch-selected-pressed-track-color: #7986cb;--mdc-switch-selected-track-color: #7986cb;--mdc-switch-disabled-selected-handle-color: #424242;--mdc-switch-disabled-selected-icon-color: #fff;--mdc-switch-disabled-selected-track-color: #424242;--mdc-switch-disabled-unselected-handle-color: #424242;--mdc-switch-disabled-unselected-icon-color: #fff;--mdc-switch-disabled-unselected-track-color: #424242;--mdc-switch-handle-surface-color: #fff;--mdc-switch-selected-icon-color: #fff;--mdc-switch-unselected-focus-handle-color: #212121;--mdc-switch-unselected-focus-state-layer-color: #424242;--mdc-switch-unselected-focus-track-color: #e0e0e0;--mdc-switch-unselected-handle-color: #616161;--mdc-switch-unselected-hover-handle-color: #212121;--mdc-switch-unselected-hover-state-layer-color: #424242;--mdc-switch-unselected-hover-track-color: #e0e0e0;--mdc-switch-unselected-icon-color: #fff;--mdc-switch-unselected-pressed-handle-color: #212121;--mdc-switch-unselected-pressed-state-layer-color: #424242;--mdc-switch-unselected-pressed-track-color: #e0e0e0;--mdc-switch-unselected-track-color: #e0e0e0;--mdc-switch-handle-elevation-shadow: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-switch-disabled-handle-elevation-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mdc-switch-disabled-label-text-color: rgba(0, 0, 0, .38)}html .mat-mdc-slide-toggle{--mat-switch-label-text-color: rgba(0, 0, 0, .87)}html .mat-mdc-slide-toggle.mat-accent{--mdc-switch-selected-focus-state-layer-color: #d81b60;--mdc-switch-selected-handle-color: #d81b60;--mdc-switch-selected-hover-state-layer-color: #d81b60;--mdc-switch-selected-pressed-state-layer-color: #d81b60;--mdc-switch-selected-focus-handle-color: #880e4f;--mdc-switch-selected-hover-handle-color: #880e4f;--mdc-switch-selected-pressed-handle-color: #880e4f;--mdc-switch-selected-focus-track-color: #f06292;--mdc-switch-selected-hover-track-color: #f06292;--mdc-switch-selected-pressed-track-color: #f06292;--mdc-switch-selected-track-color: #f06292}html .mat-mdc-slide-toggle.mat-warn{--mdc-switch-selected-focus-state-layer-color: #e53935;--mdc-switch-selected-handle-color: #e53935;--mdc-switch-selected-hover-state-layer-color: #e53935;--mdc-switch-selected-pressed-state-layer-color: #e53935;--mdc-switch-selected-focus-handle-color: #b71c1c;--mdc-switch-selected-hover-handle-color: #b71c1c;--mdc-switch-selected-pressed-handle-color: #b71c1c;--mdc-switch-selected-focus-track-color: #e57373;--mdc-switch-selected-hover-track-color: #e57373;--mdc-switch-selected-pressed-track-color: #e57373;--mdc-switch-selected-track-color: #e57373}html{--mdc-switch-state-layer-size: 40px}html .mat-mdc-slide-toggle{--mat-switch-label-text-font: Roboto, sans-serif;--mat-switch-label-text-line-height: 20px;--mat-switch-label-text-size: 14px;--mat-switch-label-text-tracking: .0178571429em;--mat-switch-label-text-weight: 400}html{--mdc-radio-disabled-selected-icon-opacity: .38;--mdc-radio-disabled-unselected-icon-opacity: .38;--mdc-radio-state-layer-size: 40px}.mat-mdc-radio-button.mat-primary{--mdc-radio-disabled-selected-icon-color: black;--mdc-radio-disabled-unselected-icon-color: black;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-focus-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #3f51b5;--mdc-radio-selected-hover-icon-color: #3f51b5;--mdc-radio-selected-icon-color: #3f51b5;--mdc-radio-selected-pressed-icon-color: #3f51b5;--mat-radio-ripple-color: black;--mat-radio-checked-ripple-color: #3f51b5;--mat-radio-disabled-label-color: rgba(0, 0, 0, .38);--mat-radio-label-text-color: rgba(0, 0, 0, .87)}.mat-mdc-radio-button.mat-accent{--mdc-radio-disabled-selected-icon-color: black;--mdc-radio-disabled-unselected-icon-color: black;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-focus-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #ff4081;--mdc-radio-selected-hover-icon-color: #ff4081;--mdc-radio-selected-icon-color: #ff4081;--mdc-radio-selected-pressed-icon-color: #ff4081;--mat-radio-ripple-color: black;--mat-radio-checked-ripple-color: #ff4081;--mat-radio-disabled-label-color: rgba(0, 0, 0, .38);--mat-radio-label-text-color: rgba(0, 0, 0, .87)}.mat-mdc-radio-button.mat-warn{--mdc-radio-disabled-selected-icon-color: black;--mdc-radio-disabled-unselected-icon-color: black;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-focus-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #f44336;--mdc-radio-selected-hover-icon-color: #f44336;--mdc-radio-selected-icon-color: #f44336;--mdc-radio-selected-pressed-icon-color: #f44336;--mat-radio-ripple-color: black;--mat-radio-checked-ripple-color: #f44336;--mat-radio-disabled-label-color: rgba(0, 0, 0, .38);--mat-radio-label-text-color: rgba(0, 0, 0, .87)}html{--mdc-radio-state-layer-size: 40px;--mat-radio-touch-target-display: block}html{--mat-radio-label-text-font: Roboto, sans-serif;--mat-radio-label-text-line-height: 20px;--mat-radio-label-text-size: 14px;--mat-radio-label-text-tracking: .0178571429em;--mat-radio-label-text-weight: 400}html{--mdc-slider-active-track-height: 6px;--mdc-slider-active-track-shape: 9999px;--mdc-slider-handle-height: 20px;--mdc-slider-handle-shape: 50%;--mdc-slider-handle-width: 20px;--mdc-slider-inactive-track-height: 4px;--mdc-slider-inactive-track-shape: 9999px;--mdc-slider-with-overlap-handle-outline-width: 1px;--mdc-slider-with-tick-marks-active-container-opacity: .6;--mdc-slider-with-tick-marks-container-shape: 50%;--mdc-slider-with-tick-marks-container-size: 2px;--mdc-slider-with-tick-marks-inactive-container-opacity: .6;--mdc-slider-handle-elevation: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mat-slider-value-indicator-width: auto;--mat-slider-value-indicator-height: 32px;--mat-slider-value-indicator-caret-display: block;--mat-slider-value-indicator-border-radius: 4px;--mat-slider-value-indicator-padding: 0 12px;--mat-slider-value-indicator-text-transform: none;--mat-slider-value-indicator-container-transform: translateX(-50%)}html{--mdc-slider-handle-color: #3f51b5;--mdc-slider-focus-handle-color: #3f51b5;--mdc-slider-hover-handle-color: #3f51b5;--mdc-slider-active-track-color: #3f51b5;--mdc-slider-inactive-track-color: #3f51b5;--mdc-slider-with-tick-marks-inactive-container-color: #3f51b5;--mdc-slider-with-tick-marks-active-container-color: white;--mdc-slider-disabled-active-track-color: #000;--mdc-slider-disabled-handle-color: #000;--mdc-slider-disabled-inactive-track-color: #000;--mdc-slider-label-container-color: #000;--mdc-slider-label-label-text-color: #fff;--mdc-slider-with-overlap-handle-outline-color: #fff;--mdc-slider-with-tick-marks-disabled-container-color: #000;--mat-slider-ripple-color: #3f51b5;--mat-slider-hover-state-layer-color: rgba(63, 81, 181, .05);--mat-slider-focus-state-layer-color: rgba(63, 81, 181, .2);--mat-slider-value-indicator-opacity: .6}html .mat-accent{--mdc-slider-handle-color: #ff4081;--mdc-slider-focus-handle-color: #ff4081;--mdc-slider-hover-handle-color: #ff4081;--mdc-slider-active-track-color: #ff4081;--mdc-slider-inactive-track-color: #ff4081;--mdc-slider-with-tick-marks-inactive-container-color: #ff4081;--mdc-slider-with-tick-marks-active-container-color: white;--mat-slider-ripple-color: #ff4081;--mat-slider-hover-state-layer-color: rgba(255, 64, 129, .05);--mat-slider-focus-state-layer-color: rgba(255, 64, 129, .2)}html .mat-warn{--mdc-slider-handle-color: #f44336;--mdc-slider-focus-handle-color: #f44336;--mdc-slider-hover-handle-color: #f44336;--mdc-slider-active-track-color: #f44336;--mdc-slider-inactive-track-color: #f44336;--mdc-slider-with-tick-marks-inactive-container-color: #f44336;--mdc-slider-with-tick-marks-active-container-color: white;--mat-slider-ripple-color: #f44336;--mat-slider-hover-state-layer-color: rgba(244, 67, 54, .05);--mat-slider-focus-state-layer-color: rgba(244, 67, 54, .2)}html{--mdc-slider-label-label-text-font: Roboto, sans-serif;--mdc-slider-label-label-text-size: 14px;--mdc-slider-label-label-text-line-height: 22px;--mdc-slider-label-label-text-tracking: .0071428571em;--mdc-slider-label-label-text-weight: 500}html{--mat-menu-container-shape: 4px;--mat-menu-divider-bottom-spacing: 0;--mat-menu-divider-top-spacing: 0;--mat-menu-item-spacing: 16px;--mat-menu-item-icon-size: 24px;--mat-menu-item-leading-spacing: 16px;--mat-menu-item-trailing-spacing: 16px;--mat-menu-item-with-icon-leading-spacing: 16px;--mat-menu-item-with-icon-trailing-spacing: 16px;--mat-menu-base-elevation-level: 8}html{--mat-menu-item-label-text-color: rgba(0, 0, 0, .87);--mat-menu-item-icon-color: rgba(0, 0, 0, .87);--mat-menu-item-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-menu-item-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-menu-container-color: white;--mat-menu-divider-color: rgba(0, 0, 0, .12)}html{--mat-menu-item-label-text-font: Roboto, sans-serif;--mat-menu-item-label-text-size: 16px;--mat-menu-item-label-text-tracking: .03125em;--mat-menu-item-label-text-line-height: 24px;--mat-menu-item-label-text-weight: 400}html{--mdc-list-list-item-container-shape: 0;--mdc-list-list-item-leading-avatar-shape: 50%;--mdc-list-list-item-container-color: transparent;--mdc-list-list-item-selected-container-color: transparent;--mdc-list-list-item-leading-avatar-color: transparent;--mdc-list-list-item-leading-icon-size: 24px;--mdc-list-list-item-leading-avatar-size: 40px;--mdc-list-list-item-trailing-icon-size: 24px;--mdc-list-list-item-disabled-state-layer-color: transparent;--mdc-list-list-item-disabled-state-layer-opacity: 0;--mdc-list-list-item-disabled-label-text-opacity: .38;--mdc-list-list-item-disabled-leading-icon-opacity: .38;--mdc-list-list-item-disabled-trailing-icon-opacity: .38;--mat-list-active-indicator-color: transparent;--mat-list-active-indicator-shape: 4px}html{--mdc-list-list-item-label-text-color: rgba(0, 0, 0, .87);--mdc-list-list-item-supporting-text-color: rgba(0, 0, 0, .54);--mdc-list-list-item-leading-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-trailing-supporting-text-color: rgba(0, 0, 0, .38);--mdc-list-list-item-trailing-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-selected-trailing-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-disabled-label-text-color: black;--mdc-list-list-item-disabled-leading-icon-color: black;--mdc-list-list-item-disabled-trailing-icon-color: black;--mdc-list-list-item-hover-label-text-color: rgba(0, 0, 0, .87);--mdc-list-list-item-hover-leading-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-hover-trailing-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-focus-label-text-color: rgba(0, 0, 0, .87);--mdc-list-list-item-hover-state-layer-color: black;--mdc-list-list-item-hover-state-layer-opacity: .04;--mdc-list-list-item-focus-state-layer-color: black;--mdc-list-list-item-focus-state-layer-opacity: .12}.mdc-list-item__start,.mdc-list-item__end{--mdc-radio-disabled-selected-icon-color: black;--mdc-radio-disabled-unselected-icon-color: black;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-focus-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #3f51b5;--mdc-radio-selected-hover-icon-color: #3f51b5;--mdc-radio-selected-icon-color: #3f51b5;--mdc-radio-selected-pressed-icon-color: #3f51b5}.mat-accent .mdc-list-item__start,.mat-accent .mdc-list-item__end{--mdc-radio-disabled-selected-icon-color: black;--mdc-radio-disabled-unselected-icon-color: black;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-focus-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #ff4081;--mdc-radio-selected-hover-icon-color: #ff4081;--mdc-radio-selected-icon-color: #ff4081;--mdc-radio-selected-pressed-icon-color: #ff4081}.mat-warn .mdc-list-item__start,.mat-warn .mdc-list-item__end{--mdc-radio-disabled-selected-icon-color: black;--mdc-radio-disabled-unselected-icon-color: black;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-focus-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #f44336;--mdc-radio-selected-hover-icon-color: #f44336;--mdc-radio-selected-icon-color: #f44336;--mdc-radio-selected-pressed-icon-color: #f44336}.mat-mdc-list-option{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #3f51b5;--mdc-checkbox-selected-hover-icon-color: #3f51b5;--mdc-checkbox-selected-icon-color: #3f51b5;--mdc-checkbox-selected-pressed-icon-color: #3f51b5;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #3f51b5;--mdc-checkbox-selected-hover-state-layer-color: #3f51b5;--mdc-checkbox-selected-pressed-state-layer-color: #3f51b5;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-list-option.mat-accent{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #ff4081;--mdc-checkbox-selected-hover-icon-color: #ff4081;--mdc-checkbox-selected-icon-color: #ff4081;--mdc-checkbox-selected-pressed-icon-color: #ff4081;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #ff4081;--mdc-checkbox-selected-hover-state-layer-color: #ff4081;--mdc-checkbox-selected-pressed-state-layer-color: #ff4081;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-list-option.mat-warn{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #f44336;--mdc-checkbox-selected-hover-icon-color: #f44336;--mdc-checkbox-selected-icon-color: #f44336;--mdc-checkbox-selected-pressed-icon-color: #f44336;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #f44336;--mdc-checkbox-selected-hover-state-layer-color: #f44336;--mdc-checkbox-selected-pressed-state-layer-color: #f44336;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--selected .mdc-list-item__primary-text,.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--selected .mdc-list-item__start,.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--activated .mdc-list-item__primary-text,.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--activated .mdc-list-item__start{color:#3f51b5}.mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__start,.mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__content,.mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__end{opacity:1}html{--mdc-list-list-item-one-line-container-height: 48px;--mdc-list-list-item-two-line-container-height: 64px;--mdc-list-list-item-three-line-container-height: 88px;--mat-list-list-item-leading-icon-start-space: 16px;--mat-list-list-item-leading-icon-end-space: 32px}.mdc-list-item__start,.mdc-list-item__end{--mdc-radio-state-layer-size: 40px}.mat-mdc-list-item.mdc-list-item--with-leading-avatar.mdc-list-item--with-one-line,.mat-mdc-list-item.mdc-list-item--with-leading-checkbox.mdc-list-item--with-one-line,.mat-mdc-list-item.mdc-list-item--with-leading-icon.mdc-list-item--with-one-line{height:56px}.mat-mdc-list-item.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines,.mat-mdc-list-item.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines,.mat-mdc-list-item.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines{height:72px}html{--mdc-list-list-item-label-text-font: Roboto, sans-serif;--mdc-list-list-item-label-text-line-height: 24px;--mdc-list-list-item-label-text-size: 16px;--mdc-list-list-item-label-text-tracking: .03125em;--mdc-list-list-item-label-text-weight: 400;--mdc-list-list-item-supporting-text-font: Roboto, sans-serif;--mdc-list-list-item-supporting-text-line-height: 20px;--mdc-list-list-item-supporting-text-size: 14px;--mdc-list-list-item-supporting-text-tracking: .0178571429em;--mdc-list-list-item-supporting-text-weight: 400;--mdc-list-list-item-trailing-supporting-text-font: Roboto, sans-serif;--mdc-list-list-item-trailing-supporting-text-line-height: 20px;--mdc-list-list-item-trailing-supporting-text-size: 12px;--mdc-list-list-item-trailing-supporting-text-tracking: .0333333333em;--mdc-list-list-item-trailing-supporting-text-weight: 400}.mdc-list-group__subheader{font:400 16px/28px Roboto,sans-serif;letter-spacing:.009375em}html{--mat-paginator-container-text-color: rgba(0, 0, 0, .87);--mat-paginator-container-background-color: white;--mat-paginator-enabled-icon-color: rgba(0, 0, 0, .54);--mat-paginator-disabled-icon-color: rgba(0, 0, 0, .12)}html{--mat-paginator-container-size: 56px;--mat-paginator-form-field-container-height: 40px;--mat-paginator-form-field-container-vertical-padding: 8px;--mat-paginator-touch-target-display: block}html{--mat-paginator-container-text-font: Roboto, sans-serif;--mat-paginator-container-text-line-height: 20px;--mat-paginator-container-text-size: 12px;--mat-paginator-container-text-tracking: .0333333333em;--mat-paginator-container-text-weight: 400;--mat-paginator-select-trigger-text-size: 12px}html{--mdc-secondary-navigation-tab-container-height: 48px;--mdc-tab-indicator-active-indicator-height: 2px;--mdc-tab-indicator-active-indicator-shape: 0;--mat-tab-header-divider-color: transparent;--mat-tab-header-divider-height: 0}.mat-mdc-tab-group,.mat-mdc-tab-nav-bar{--mdc-tab-indicator-active-indicator-color: #3f51b5;--mat-tab-header-disabled-ripple-color: rgba(0, 0, 0, .38);--mat-tab-header-pagination-icon-color: black;--mat-tab-header-inactive-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-label-text-color: #3f51b5;--mat-tab-header-active-ripple-color: #3f51b5;--mat-tab-header-inactive-ripple-color: #3f51b5;--mat-tab-header-inactive-focus-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-focus-label-text-color: #3f51b5;--mat-tab-header-active-hover-label-text-color: #3f51b5;--mat-tab-header-active-focus-indicator-color: #3f51b5;--mat-tab-header-active-hover-indicator-color: #3f51b5}.mat-mdc-tab-group.mat-accent,.mat-mdc-tab-nav-bar.mat-accent{--mdc-tab-indicator-active-indicator-color: #ff4081;--mat-tab-header-disabled-ripple-color: rgba(0, 0, 0, .38);--mat-tab-header-pagination-icon-color: black;--mat-tab-header-inactive-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-label-text-color: #ff4081;--mat-tab-header-active-ripple-color: #ff4081;--mat-tab-header-inactive-ripple-color: #ff4081;--mat-tab-header-inactive-focus-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-focus-label-text-color: #ff4081;--mat-tab-header-active-hover-label-text-color: #ff4081;--mat-tab-header-active-focus-indicator-color: #ff4081;--mat-tab-header-active-hover-indicator-color: #ff4081}.mat-mdc-tab-group.mat-warn,.mat-mdc-tab-nav-bar.mat-warn{--mdc-tab-indicator-active-indicator-color: #f44336;--mat-tab-header-disabled-ripple-color: rgba(0, 0, 0, .38);--mat-tab-header-pagination-icon-color: black;--mat-tab-header-inactive-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-label-text-color: #f44336;--mat-tab-header-active-ripple-color: #f44336;--mat-tab-header-inactive-ripple-color: #f44336;--mat-tab-header-inactive-focus-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-focus-label-text-color: #f44336;--mat-tab-header-active-hover-label-text-color: #f44336;--mat-tab-header-active-focus-indicator-color: #f44336;--mat-tab-header-active-hover-indicator-color: #f44336}.mat-mdc-tab-group.mat-background-primary,.mat-mdc-tab-nav-bar.mat-background-primary{--mat-tab-header-with-background-background-color: #3f51b5;--mat-tab-header-with-background-foreground-color: white}.mat-mdc-tab-group.mat-background-accent,.mat-mdc-tab-nav-bar.mat-background-accent{--mat-tab-header-with-background-background-color: #ff4081;--mat-tab-header-with-background-foreground-color: white}.mat-mdc-tab-group.mat-background-warn,.mat-mdc-tab-nav-bar.mat-background-warn{--mat-tab-header-with-background-background-color: #f44336;--mat-tab-header-with-background-foreground-color: white}.mat-mdc-tab-header{--mdc-secondary-navigation-tab-container-height: 48px}.mat-mdc-tab-header{--mat-tab-header-label-text-font: Roboto, sans-serif;--mat-tab-header-label-text-size: 14px;--mat-tab-header-label-text-tracking: .0892857143em;--mat-tab-header-label-text-line-height: 36px;--mat-tab-header-label-text-weight: 500}html{--mdc-checkbox-disabled-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-state-layer-opacity: .16;--mdc-checkbox-selected-hover-state-layer-opacity: .04;--mdc-checkbox-selected-pressed-state-layer-opacity: .16;--mdc-checkbox-unselected-focus-state-layer-opacity: .16;--mdc-checkbox-unselected-hover-state-layer-opacity: .04;--mdc-checkbox-unselected-pressed-state-layer-opacity: .16}html{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #ff4081;--mdc-checkbox-selected-hover-icon-color: #ff4081;--mdc-checkbox-selected-icon-color: #ff4081;--mdc-checkbox-selected-pressed-icon-color: #ff4081;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #ff4081;--mdc-checkbox-selected-hover-state-layer-color: #ff4081;--mdc-checkbox-selected-pressed-state-layer-color: #ff4081;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black;--mat-checkbox-disabled-label-color: rgba(0, 0, 0, .38);--mat-checkbox-label-text-color: rgba(0, 0, 0, .87)}.mat-mdc-checkbox.mat-primary{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #3f51b5;--mdc-checkbox-selected-hover-icon-color: #3f51b5;--mdc-checkbox-selected-icon-color: #3f51b5;--mdc-checkbox-selected-pressed-icon-color: #3f51b5;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #3f51b5;--mdc-checkbox-selected-hover-state-layer-color: #3f51b5;--mdc-checkbox-selected-pressed-state-layer-color: #3f51b5;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-checkbox.mat-warn{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #f44336;--mdc-checkbox-selected-hover-icon-color: #f44336;--mdc-checkbox-selected-icon-color: #f44336;--mdc-checkbox-selected-pressed-icon-color: #f44336;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #f44336;--mdc-checkbox-selected-hover-state-layer-color: #f44336;--mdc-checkbox-selected-pressed-state-layer-color: #f44336;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}html{--mdc-checkbox-state-layer-size: 40px;--mat-checkbox-touch-target-display: block}html{--mat-checkbox-label-text-font: Roboto, sans-serif;--mat-checkbox-label-text-line-height: 20px;--mat-checkbox-label-text-size: 14px;--mat-checkbox-label-text-tracking: .0178571429em;--mat-checkbox-label-text-weight: 400}html{--mdc-text-button-container-shape: 4px;--mdc-text-button-keep-touch-target: false;--mdc-filled-button-container-shape: 4px;--mdc-filled-button-keep-touch-target: false;--mdc-protected-button-container-shape: 4px;--mdc-protected-button-container-elevation-shadow: 0px 3px 1px -2px rgba(0, 0, 0, .2), 0px 2px 2px 0px rgba(0, 0, 0, .14), 0px 1px 5px 0px rgba(0, 0, 0, .12);--mdc-protected-button-disabled-container-elevation-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mdc-protected-button-focus-container-elevation-shadow: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mdc-protected-button-hover-container-elevation-shadow: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mdc-protected-button-pressed-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-outlined-button-keep-touch-target: false;--mdc-outlined-button-outline-width: 1px;--mdc-outlined-button-container-shape: 4px;--mat-text-button-horizontal-padding: 8px;--mat-text-button-with-icon-horizontal-padding: 8px;--mat-text-button-icon-spacing: 8px;--mat-text-button-icon-offset: 0;--mat-filled-button-horizontal-padding: 16px;--mat-filled-button-icon-spacing: 8px;--mat-filled-button-icon-offset: -4px;--mat-protected-button-horizontal-padding: 16px;--mat-protected-button-icon-spacing: 8px;--mat-protected-button-icon-offset: -4px;--mat-outlined-button-horizontal-padding: 15px;--mat-outlined-button-icon-spacing: 8px;--mat-outlined-button-icon-offset: -4px}html{--mdc-text-button-label-text-color: black;--mdc-text-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mat-text-button-state-layer-color: black;--mat-text-button-disabled-state-layer-color: black;--mat-text-button-ripple-color: rgba(0, 0, 0, .1);--mat-text-button-hover-state-layer-opacity: .04;--mat-text-button-focus-state-layer-opacity: .12;--mat-text-button-pressed-state-layer-opacity: .12;--mdc-filled-button-container-color: white;--mdc-filled-button-label-text-color: black;--mdc-filled-button-disabled-container-color: rgba(0, 0, 0, .12);--mdc-filled-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mat-filled-button-state-layer-color: black;--mat-filled-button-disabled-state-layer-color: black;--mat-filled-button-ripple-color: rgba(0, 0, 0, .1);--mat-filled-button-hover-state-layer-opacity: .04;--mat-filled-button-focus-state-layer-opacity: .12;--mat-filled-button-pressed-state-layer-opacity: .12;--mdc-protected-button-container-color: white;--mdc-protected-button-label-text-color: black;--mdc-protected-button-disabled-container-color: rgba(0, 0, 0, .12);--mdc-protected-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mat-protected-button-state-layer-color: black;--mat-protected-button-disabled-state-layer-color: black;--mat-protected-button-ripple-color: rgba(0, 0, 0, .1);--mat-protected-button-hover-state-layer-opacity: .04;--mat-protected-button-focus-state-layer-opacity: .12;--mat-protected-button-pressed-state-layer-opacity: .12;--mdc-outlined-button-disabled-outline-color: rgba(0, 0, 0, .12);--mdc-outlined-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-outlined-button-label-text-color: black;--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12);--mat-outlined-button-state-layer-color: black;--mat-outlined-button-disabled-state-layer-color: black;--mat-outlined-button-ripple-color: rgba(0, 0, 0, .1);--mat-outlined-button-hover-state-layer-opacity: .04;--mat-outlined-button-focus-state-layer-opacity: .12;--mat-outlined-button-pressed-state-layer-opacity: .12}.mat-mdc-button.mat-primary{--mdc-text-button-label-text-color: #3f51b5;--mat-text-button-state-layer-color: #3f51b5;--mat-text-button-ripple-color: rgba(63, 81, 181, .1)}.mat-mdc-button.mat-accent{--mdc-text-button-label-text-color: #ff4081;--mat-text-button-state-layer-color: #ff4081;--mat-text-button-ripple-color: rgba(255, 64, 129, .1)}.mat-mdc-button.mat-warn{--mdc-text-button-label-text-color: #f44336;--mat-text-button-state-layer-color: #f44336;--mat-text-button-ripple-color: rgba(244, 67, 54, .1)}.mat-mdc-unelevated-button.mat-primary{--mdc-filled-button-container-color: #3f51b5;--mdc-filled-button-label-text-color: white;--mat-filled-button-state-layer-color: white;--mat-filled-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-unelevated-button.mat-accent{--mdc-filled-button-container-color: #ff4081;--mdc-filled-button-label-text-color: white;--mat-filled-button-state-layer-color: white;--mat-filled-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-unelevated-button.mat-warn{--mdc-filled-button-container-color: #f44336;--mdc-filled-button-label-text-color: white;--mat-filled-button-state-layer-color: white;--mat-filled-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-raised-button.mat-primary{--mdc-protected-button-container-color: #3f51b5;--mdc-protected-button-label-text-color: white;--mat-protected-button-state-layer-color: white;--mat-protected-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-raised-button.mat-accent{--mdc-protected-button-container-color: #ff4081;--mdc-protected-button-label-text-color: white;--mat-protected-button-state-layer-color: white;--mat-protected-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-raised-button.mat-warn{--mdc-protected-button-container-color: #f44336;--mdc-protected-button-label-text-color: white;--mat-protected-button-state-layer-color: white;--mat-protected-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-outlined-button.mat-primary{--mdc-outlined-button-label-text-color: #3f51b5;--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12);--mat-outlined-button-state-layer-color: #3f51b5;--mat-outlined-button-ripple-color: rgba(63, 81, 181, .1)}.mat-mdc-outlined-button.mat-accent{--mdc-outlined-button-label-text-color: #ff4081;--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12);--mat-outlined-button-state-layer-color: #ff4081;--mat-outlined-button-ripple-color: rgba(255, 64, 129, .1)}.mat-mdc-outlined-button.mat-warn{--mdc-outlined-button-label-text-color: #f44336;--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12);--mat-outlined-button-state-layer-color: #f44336;--mat-outlined-button-ripple-color: rgba(244, 67, 54, .1)}html{--mdc-text-button-container-height: 36px;--mdc-filled-button-container-height: 36px;--mdc-protected-button-container-height: 36px;--mdc-outlined-button-container-height: 36px;--mat-text-button-touch-target-display: block;--mat-filled-button-touch-target-display: block;--mat-protected-button-touch-target-display: block;--mat-outlined-button-touch-target-display: block}html{--mdc-text-button-label-text-font: Roboto, sans-serif;--mdc-text-button-label-text-size: 14px;--mdc-text-button-label-text-tracking: .0892857143em;--mdc-text-button-label-text-weight: 500;--mdc-text-button-label-text-transform: none;--mdc-filled-button-label-text-font: Roboto, sans-serif;--mdc-filled-button-label-text-size: 14px;--mdc-filled-button-label-text-tracking: .0892857143em;--mdc-filled-button-label-text-weight: 500;--mdc-filled-button-label-text-transform: none;--mdc-protected-button-label-text-font: Roboto, sans-serif;--mdc-protected-button-label-text-size: 14px;--mdc-protected-button-label-text-tracking: .0892857143em;--mdc-protected-button-label-text-weight: 500;--mdc-protected-button-label-text-transform: none;--mdc-outlined-button-label-text-font: Roboto, sans-serif;--mdc-outlined-button-label-text-size: 14px;--mdc-outlined-button-label-text-tracking: .0892857143em;--mdc-outlined-button-label-text-weight: 500;--mdc-outlined-button-label-text-transform: none}html{--mdc-icon-button-icon-size: 24px}html{--mdc-icon-button-icon-color: inherit;--mdc-icon-button-disabled-icon-color: rgba(0, 0, 0, .38);--mat-icon-button-state-layer-color: black;--mat-icon-button-disabled-state-layer-color: black;--mat-icon-button-ripple-color: rgba(0, 0, 0, .1);--mat-icon-button-hover-state-layer-opacity: .04;--mat-icon-button-focus-state-layer-opacity: .12;--mat-icon-button-pressed-state-layer-opacity: .12}html .mat-mdc-icon-button.mat-primary{--mdc-icon-button-icon-color: #3f51b5;--mat-icon-button-state-layer-color: #3f51b5;--mat-icon-button-ripple-color: rgba(63, 81, 181, .1)}html .mat-mdc-icon-button.mat-accent{--mdc-icon-button-icon-color: #ff4081;--mat-icon-button-state-layer-color: #ff4081;--mat-icon-button-ripple-color: rgba(255, 64, 129, .1)}html .mat-mdc-icon-button.mat-warn{--mdc-icon-button-icon-color: #f44336;--mat-icon-button-state-layer-color: #f44336;--mat-icon-button-ripple-color: rgba(244, 67, 54, .1)}html{--mat-icon-button-touch-target-display: block}.mat-mdc-icon-button.mat-mdc-button-base{--mdc-icon-button-state-layer-size: 48px;width:var(--mdc-icon-button-state-layer-size);height:var(--mdc-icon-button-state-layer-size);padding:12px}html{--mdc-fab-container-shape: 50%;--mdc-fab-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-focus-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-pressed-container-elevation-shadow: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mdc-fab-small-container-shape: 50%;--mdc-fab-small-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-small-focus-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-small-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-small-pressed-container-elevation-shadow: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mdc-extended-fab-container-height: 48px;--mdc-extended-fab-container-shape: 24px;--mdc-extended-fab-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-extended-fab-focus-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-extended-fab-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-extended-fab-pressed-container-elevation-shadow: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12)}html{--mdc-fab-container-color: white;--mat-fab-foreground-color: black;--mat-fab-state-layer-color: black;--mat-fab-disabled-state-layer-color: black;--mat-fab-ripple-color: rgba(0, 0, 0, .1);--mat-fab-hover-state-layer-opacity: .04;--mat-fab-focus-state-layer-opacity: .12;--mat-fab-pressed-state-layer-opacity: .12;--mat-fab-disabled-state-container-color: rgba(0, 0, 0, .12);--mat-fab-disabled-state-foreground-color: rgba(0, 0, 0, .38);--mdc-fab-small-container-color: white;--mat-fab-small-foreground-color: black;--mat-fab-small-state-layer-color: black;--mat-fab-small-disabled-state-layer-color: black;--mat-fab-small-ripple-color: rgba(0, 0, 0, .1);--mat-fab-small-hover-state-layer-opacity: .04;--mat-fab-small-focus-state-layer-opacity: .12;--mat-fab-small-pressed-state-layer-opacity: .12;--mat-fab-small-disabled-state-container-color: rgba(0, 0, 0, .12);--mat-fab-small-disabled-state-foreground-color: rgba(0, 0, 0, .38)}html .mat-mdc-fab.mat-primary{--mdc-fab-container-color: #3f51b5;--mat-fab-foreground-color: white;--mat-fab-state-layer-color: white;--mat-fab-ripple-color: rgba(255, 255, 255, .1)}html .mat-mdc-fab.mat-accent{--mdc-fab-container-color: #ff4081;--mat-fab-foreground-color: white;--mat-fab-state-layer-color: white;--mat-fab-ripple-color: rgba(255, 255, 255, .1)}html .mat-mdc-fab.mat-warn{--mdc-fab-container-color: #f44336;--mat-fab-foreground-color: white;--mat-fab-state-layer-color: white;--mat-fab-ripple-color: rgba(255, 255, 255, .1)}html .mat-mdc-mini-fab.mat-primary{--mdc-fab-small-container-color: #3f51b5;--mat-fab-small-foreground-color: white;--mat-fab-small-state-layer-color: white;--mat-fab-small-ripple-color: rgba(255, 255, 255, .1)}html .mat-mdc-mini-fab.mat-accent{--mdc-fab-small-container-color: #ff4081;--mat-fab-small-foreground-color: white;--mat-fab-small-state-layer-color: white;--mat-fab-small-ripple-color: rgba(255, 255, 255, .1)}html .mat-mdc-mini-fab.mat-warn{--mdc-fab-small-container-color: #f44336;--mat-fab-small-foreground-color: white;--mat-fab-small-state-layer-color: white;--mat-fab-small-ripple-color: rgba(255, 255, 255, .1)}html{--mat-fab-touch-target-display: block;--mat-fab-small-touch-target-display: block}html{--mdc-extended-fab-label-text-font: Roboto, sans-serif;--mdc-extended-fab-label-text-size: 14px;--mdc-extended-fab-label-text-tracking: .0892857143em;--mdc-extended-fab-label-text-weight: 500}html{--mdc-snackbar-container-shape: 4px}html{--mdc-snackbar-container-color: #333333;--mdc-snackbar-supporting-text-color: rgba(255, 255, 255, .87);--mat-snack-bar-button-color: #ff4081}html{--mdc-snackbar-supporting-text-font: Roboto, sans-serif;--mdc-snackbar-supporting-text-line-height: 20px;--mdc-snackbar-supporting-text-size: 14px;--mdc-snackbar-supporting-text-weight: 400}html{--mat-table-row-item-outline-width: 1px}html{--mat-table-background-color: white;--mat-table-header-headline-color: rgba(0, 0, 0, .87);--mat-table-row-item-label-text-color: rgba(0, 0, 0, .87);--mat-table-row-item-outline-color: rgba(0, 0, 0, .12)}html{--mat-table-header-container-height: 56px;--mat-table-footer-container-height: 52px;--mat-table-row-item-container-height: 52px}html{--mat-table-header-headline-font: Roboto, sans-serif;--mat-table-header-headline-line-height: 22px;--mat-table-header-headline-size: 14px;--mat-table-header-headline-weight: 500;--mat-table-header-headline-tracking: .0071428571em;--mat-table-row-item-label-text-font: Roboto, sans-serif;--mat-table-row-item-label-text-line-height: 20px;--mat-table-row-item-label-text-size: 14px;--mat-table-row-item-label-text-weight: 400;--mat-table-row-item-label-text-tracking: .0178571429em;--mat-table-footer-supporting-text-font: Roboto, sans-serif;--mat-table-footer-supporting-text-line-height: 20px;--mat-table-footer-supporting-text-size: 14px;--mat-table-footer-supporting-text-weight: 400;--mat-table-footer-supporting-text-tracking: .0178571429em}html{--mdc-circular-progress-active-indicator-width: 4px;--mdc-circular-progress-size: 48px}html{--mdc-circular-progress-active-indicator-color: #3f51b5}html .mat-accent{--mdc-circular-progress-active-indicator-color: #ff4081}html .mat-warn{--mdc-circular-progress-active-indicator-color: #f44336}html{--mat-badge-container-shape: 50%;--mat-badge-container-size: unset;--mat-badge-small-size-container-size: unset;--mat-badge-large-size-container-size: unset;--mat-badge-legacy-container-size: 22px;--mat-badge-legacy-small-size-container-size: 16px;--mat-badge-legacy-large-size-container-size: 28px;--mat-badge-container-offset: -11px 0;--mat-badge-small-size-container-offset: -8px 0;--mat-badge-large-size-container-offset: -14px 0;--mat-badge-container-overlap-offset: -11px;--mat-badge-small-size-container-overlap-offset: -8px;--mat-badge-large-size-container-overlap-offset: -14px;--mat-badge-container-padding: 0;--mat-badge-small-size-container-padding: 0;--mat-badge-large-size-container-padding: 0}html{--mat-badge-background-color: #3f51b5;--mat-badge-text-color: white;--mat-badge-disabled-state-background-color: #b9b9b9;--mat-badge-disabled-state-text-color: rgba(0, 0, 0, .38)}.mat-badge-accent{--mat-badge-background-color: #ff4081;--mat-badge-text-color: white}.mat-badge-warn{--mat-badge-background-color: #f44336;--mat-badge-text-color: white}html{--mat-badge-text-font: Roboto, sans-serif;--mat-badge-line-height: 22px;--mat-badge-text-size: 12px;--mat-badge-text-weight: 600;--mat-badge-small-size-text-size: 9px;--mat-badge-small-size-line-height: 16px;--mat-badge-large-size-text-size: 24px;--mat-badge-large-size-line-height: 28px}html{--mat-bottom-sheet-container-shape: 4px}html{--mat-bottom-sheet-container-text-color: rgba(0, 0, 0, .87);--mat-bottom-sheet-container-background-color: white}html{--mat-bottom-sheet-container-text-font: Roboto, sans-serif;--mat-bottom-sheet-container-text-line-height: 20px;--mat-bottom-sheet-container-text-size: 14px;--mat-bottom-sheet-container-text-tracking: .0178571429em;--mat-bottom-sheet-container-text-weight: 400}html{--mat-legacy-button-toggle-height: 36px;--mat-legacy-button-toggle-shape: 2px;--mat-legacy-button-toggle-focus-state-layer-opacity: 1;--mat-standard-button-toggle-shape: 4px;--mat-standard-button-toggle-hover-state-layer-opacity: .04;--mat-standard-button-toggle-focus-state-layer-opacity: .12}html{--mat-legacy-button-toggle-text-color: rgba(0, 0, 0, .38);--mat-legacy-button-toggle-state-layer-color: rgba(0, 0, 0, .12);--mat-legacy-button-toggle-selected-state-text-color: rgba(0, 0, 0, .54);--mat-legacy-button-toggle-selected-state-background-color: #e0e0e0;--mat-legacy-button-toggle-disabled-state-text-color: rgba(0, 0, 0, .26);--mat-legacy-button-toggle-disabled-state-background-color: #eeeeee;--mat-legacy-button-toggle-disabled-selected-state-background-color: #bdbdbd;--mat-standard-button-toggle-text-color: rgba(0, 0, 0, .87);--mat-standard-button-toggle-background-color: white;--mat-standard-button-toggle-state-layer-color: black;--mat-standard-button-toggle-selected-state-background-color: #e0e0e0;--mat-standard-button-toggle-selected-state-text-color: rgba(0, 0, 0, .87);--mat-standard-button-toggle-disabled-state-text-color: rgba(0, 0, 0, .26);--mat-standard-button-toggle-disabled-state-background-color: white;--mat-standard-button-toggle-disabled-selected-state-text-color: rgba(0, 0, 0, .87);--mat-standard-button-toggle-disabled-selected-state-background-color: #bdbdbd;--mat-standard-button-toggle-divider-color: #e0e0e0}html{--mat-standard-button-toggle-height: 48px}html{--mat-legacy-button-toggle-label-text-font: Roboto, sans-serif;--mat-legacy-button-toggle-label-text-line-height: 24px;--mat-legacy-button-toggle-label-text-size: 16px;--mat-legacy-button-toggle-label-text-tracking: .03125em;--mat-legacy-button-toggle-label-text-weight: 400;--mat-standard-button-toggle-label-text-font: Roboto, sans-serif;--mat-standard-button-toggle-label-text-line-height: 24px;--mat-standard-button-toggle-label-text-size: 16px;--mat-standard-button-toggle-label-text-tracking: .03125em;--mat-standard-button-toggle-label-text-weight: 400}html{--mat-datepicker-calendar-container-shape: 4px;--mat-datepicker-calendar-container-touch-shape: 4px;--mat-datepicker-calendar-container-elevation-shadow: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mat-datepicker-calendar-container-touch-elevation-shadow: 0px 11px 15px -7px rgba(0, 0, 0, .2), 0px 24px 38px 3px rgba(0, 0, 0, .14), 0px 9px 46px 8px rgba(0, 0, 0, .12)}html{--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #3f51b5;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(63, 81, 181, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: rgba(63, 81, 181, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(63, 81, 181, .3);--mat-datepicker-toggle-active-state-icon-color: #3f51b5;--mat-datepicker-calendar-date-in-range-state-background-color: rgba(63, 81, 181, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: #46a35e;--mat-datepicker-toggle-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-body-label-text-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-period-button-text-color: black;--mat-datepicker-calendar-period-button-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-navigation-button-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-header-divider-color: rgba(0, 0, 0, .12);--mat-datepicker-calendar-header-text-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-date-today-outline-color: rgba(0, 0, 0, .38);--mat-datepicker-calendar-date-today-disabled-state-outline-color: rgba(0, 0, 0, .18);--mat-datepicker-calendar-date-text-color: rgba(0, 0, 0, .87);--mat-datepicker-calendar-date-outline-color: transparent;--mat-datepicker-calendar-date-disabled-state-text-color: rgba(0, 0, 0, .38);--mat-datepicker-calendar-date-preview-state-outline-color: rgba(0, 0, 0, .24);--mat-datepicker-range-input-separator-color: rgba(0, 0, 0, .87);--mat-datepicker-range-input-disabled-state-separator-color: rgba(0, 0, 0, .38);--mat-datepicker-range-input-disabled-state-text-color: rgba(0, 0, 0, .38);--mat-datepicker-calendar-container-background-color: white;--mat-datepicker-calendar-container-text-color: rgba(0, 0, 0, .87)}.mat-datepicker-content.mat-accent{--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #ff4081;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(255, 64, 129, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: rgba(255, 64, 129, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(255, 64, 129, .3);--mat-datepicker-calendar-date-in-range-state-background-color: rgba(255, 64, 129, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: #46a35e}.mat-datepicker-content.mat-warn{--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #f44336;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(244, 67, 54, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: rgba(244, 67, 54, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(244, 67, 54, .3);--mat-datepicker-calendar-date-in-range-state-background-color: rgba(244, 67, 54, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: #46a35e}.mat-datepicker-toggle-active.mat-accent{--mat-datepicker-toggle-active-state-icon-color: #ff4081}.mat-datepicker-toggle-active.mat-warn{--mat-datepicker-toggle-active-state-icon-color: #f44336}.mat-calendar-controls{--mat-icon-button-touch-target-display: none}.mat-calendar-controls .mat-mdc-icon-button.mat-mdc-button-base{--mdc-icon-button-state-layer-size: 40px;width:var(--mdc-icon-button-state-layer-size);height:var(--mdc-icon-button-state-layer-size);padding:8px}html{--mat-datepicker-calendar-text-font: Roboto, sans-serif;--mat-datepicker-calendar-text-size: 13px;--mat-datepicker-calendar-body-label-text-size: 14px;--mat-datepicker-calendar-body-label-text-weight: 500;--mat-datepicker-calendar-period-button-text-size: 14px;--mat-datepicker-calendar-period-button-text-weight: 500;--mat-datepicker-calendar-header-text-size: 11px;--mat-datepicker-calendar-header-text-weight: 400}html{--mat-divider-width: 1px}html{--mat-divider-color: rgba(0, 0, 0, .12)}html{--mat-expansion-container-shape: 4px;--mat-expansion-legacy-header-indicator-display: inline-block;--mat-expansion-header-indicator-display: none}html{--mat-expansion-container-background-color: white;--mat-expansion-container-text-color: rgba(0, 0, 0, .87);--mat-expansion-actions-divider-color: rgba(0, 0, 0, .12);--mat-expansion-header-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-expansion-header-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-expansion-header-disabled-state-text-color: rgba(0, 0, 0, .26);--mat-expansion-header-text-color: rgba(0, 0, 0, .87);--mat-expansion-header-description-color: rgba(0, 0, 0, .54);--mat-expansion-header-indicator-color: rgba(0, 0, 0, .54)}html{--mat-expansion-header-collapsed-state-height: 48px;--mat-expansion-header-expanded-state-height: 64px}html{--mat-expansion-header-text-font: Roboto, sans-serif;--mat-expansion-header-text-size: 14px;--mat-expansion-header-text-weight: 500;--mat-expansion-header-text-line-height: inherit;--mat-expansion-header-text-tracking: inherit;--mat-expansion-container-text-font: Roboto, sans-serif;--mat-expansion-container-text-line-height: 20px;--mat-expansion-container-text-size: 14px;--mat-expansion-container-text-tracking: .0178571429em;--mat-expansion-container-text-weight: 400}html{--mat-grid-list-tile-header-primary-text-size: 14px;--mat-grid-list-tile-header-secondary-text-size: 12px;--mat-grid-list-tile-footer-primary-text-size: 14px;--mat-grid-list-tile-footer-secondary-text-size: 12px}html{--mat-icon-color: inherit}.mat-icon.mat-primary{--mat-icon-color: #3f51b5}.mat-icon.mat-accent{--mat-icon-color: #ff4081}.mat-icon.mat-warn{--mat-icon-color: #f44336}html{--mat-sidenav-container-shape: 0;--mat-sidenav-container-elevation-shadow: 0px 8px 10px -5px rgba(0, 0, 0, .2), 0px 16px 24px 2px rgba(0, 0, 0, .14), 0px 6px 30px 5px rgba(0, 0, 0, .12);--mat-sidenav-container-width: auto}html{--mat-sidenav-container-divider-color: rgba(0, 0, 0, .12);--mat-sidenav-container-background-color: white;--mat-sidenav-container-text-color: rgba(0, 0, 0, .87);--mat-sidenav-content-background-color: #fafafa;--mat-sidenav-content-text-color: rgba(0, 0, 0, .87);--mat-sidenav-scrim-color: rgba(0, 0, 0, .6)}html{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #3f51b5;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #3f51b5;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #3f51b5;--mat-stepper-header-edit-state-icon-foreground-color: white;--mat-stepper-container-color: white;--mat-stepper-line-color: rgba(0, 0, 0, .12);--mat-stepper-header-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-stepper-header-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-stepper-header-label-text-color: rgba(0, 0, 0, .54);--mat-stepper-header-optional-label-text-color: rgba(0, 0, 0, .54);--mat-stepper-header-selected-state-label-text-color: rgba(0, 0, 0, .87);--mat-stepper-header-error-state-label-text-color: #f44336;--mat-stepper-header-icon-background-color: rgba(0, 0, 0, .54);--mat-stepper-header-error-state-icon-foreground-color: #f44336;--mat-stepper-header-error-state-icon-background-color: transparent}html .mat-step-header.mat-accent{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #ff4081;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #ff4081;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #ff4081;--mat-stepper-header-edit-state-icon-foreground-color: white}html .mat-step-header.mat-warn{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #f44336;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #f44336;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #f44336;--mat-stepper-header-edit-state-icon-foreground-color: white}html{--mat-stepper-header-height: 72px}html{--mat-stepper-container-text-font: Roboto, sans-serif;--mat-stepper-header-label-text-font: Roboto, sans-serif;--mat-stepper-header-label-text-size: 14px;--mat-stepper-header-label-text-weight: 400;--mat-stepper-header-error-state-label-text-size: 16px;--mat-stepper-header-selected-state-label-text-size: 16px;--mat-stepper-header-selected-state-label-text-weight: 400}html{--mat-sort-arrow-color: #757575}html{--mat-toolbar-container-background-color: whitesmoke;--mat-toolbar-container-text-color: rgba(0, 0, 0, .87)}.mat-toolbar.mat-primary{--mat-toolbar-container-background-color: #3f51b5;--mat-toolbar-container-text-color: white}.mat-toolbar.mat-accent{--mat-toolbar-container-background-color: #ff4081;--mat-toolbar-container-text-color: white}.mat-toolbar.mat-warn{--mat-toolbar-container-background-color: #f44336;--mat-toolbar-container-text-color: white}html{--mat-toolbar-standard-height: 64px;--mat-toolbar-mobile-height: 56px}html{--mat-toolbar-title-text-font: Roboto, sans-serif;--mat-toolbar-title-text-line-height: 32px;--mat-toolbar-title-text-size: 20px;--mat-toolbar-title-text-tracking: .0125em;--mat-toolbar-title-text-weight: 500}html{--mat-tree-container-background-color: white;--mat-tree-node-text-color: rgba(0, 0, 0, .87)}html{--mat-tree-node-min-height: 48px}html{--mat-tree-node-text-font: Roboto, sans-serif;--mat-tree-node-text-size: 14px;--mat-tree-node-text-weight: 400}html,body{margin:0;font-family:Roboto,Helvetica,Arial,sans-serif;font-size:14px;height:100%}body{background-color:#ededed}.app-loading .logo{width:113px;height:120px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAMAAAD04JH5AAABhWlDQ1BJQ0MgcHJvZmlsZQAAKJF9kT1Iw0AYht+malUqCnYQcchQnexiRRxLFYtgobQVWnUwufRHaNKQpLg4Cq4FB38Wqw4uzro6uAqC4A+Is4OToouU+F1SaBHjHcc9vPe9L3ffAUKjwlSzKwaommWkE3Exl18RA6/owxDNHkQlZurJzEIWnuPrHj6+30V4lnfdn2NAKZgM8InEMaYbFvE68cympXPeJw6xsqQQnxNPGnRB4keuyy6/cS45LPDMkJFNzxGHiMVSB8sdzMqGSjxNHFZUjfKFnMsK5y3OaqXGWvfkLwwWtOUM12mNIYFFJJGCCBk1bKACCxHaNVJMpOk87uEfdfwpcsnk2gAjxzyqUCE5fvA/+N1bsxidcpOCcaD7xbY/xoHALtCs2/b3sW03TwD/M3Cltf3VBjD7SXq9rYWPgMFt4OK6rcl7wOUOMPKkS4bkSH5aQrEIvJ/RN+WB4Vugf9XtW+scpw9Alnq1dAMcHAITJcpe83h3b2ff/q1p9e8HsopywPmxfBcAAAGDUExURQAAABkMiRwRhiYRgR4WghwdhyUcgSohcycjeiMkhSkmdSopZy8sYBovjzEzVyUykTE3UyQ3kTM1dTM3ZDU9SDZBQCY/lS9DgD9GLT5DazxKMCNOpEFWG0BWLkVQZSVVoUFXKERYFkJYI0ZZEB1ZqztZQD5ZNUZZGD1ZOjxZRTJZbTtZUzVaXjxaS0dbGTdaZyZboSlapkVeFDBZoEldGyxdmDBdiy9cnCJgrDBekjRehjdeeylfpDNfgVFbXDxjdDllfEFkcUJnakdoYTlpkklqW1RtFzxrh01qVk9sT1VuQ1RuSVZvP1pxN2ByKl5zMGR0EmJ0JGN1HWZ2FUR4gmd3F2l5DWl5GWF9Gk18e259E01/eGJ+T2uBFnGGEWqIFmeFSFaIb1qMZ22KPnKOGXSRL3iTE2OUXnOXF3CaRGqbUHibMn2dEnujGn+mDXmqPISrFoGvGYGwNIazEIO2LIu5HJC8DIy/EJLFG5XHCJbIDZjKEZLMEZvMAJbQGZrTB53VAJ6wE90AAAABdFJOUwBA5thmAAALzklEQVR42tVb/VvbRhJ2gHD56EeSNtyFmGJjJyJAQMLYxjYuAQoJ3wad5JQUSBsfoRcgEOMg7erk/uk3uysZ21qBVoHcc/MreTyvZt6ZeWekRCJfYnXbts6ODg/3Xy8sjEeu2ywTmaZpGKaBLNvGZyeHu7uvwRbAxkdHpbjHJOkq/BKnJjGrTsyu1/+qGydHh/u7m+OjUpQZ+JKkUcm1UWITExMuqHCeqVuLPLKJiGFqlmWeney/Hid+2p+Xa42/CwXbQPSxsU3MsjAmCAgghI2T3YVx9uTxS60RESkwBtMyDAORWNsWpj6bDaNqZUFyfcNPJxLjrZbwhob9U8iJdCkGRHyDZ+TxzAyh6u4o8y4lIAyxWF9vq/2jty8WG4B/kgDzJml09AIIEHRkkkwjX/9WbTcRZY8eHYj1Pvzx3nff3G21R0MjI8PPnzzpGxgYcNjZlpG45Ov+gmd3ABwuRBmAaO+9u3du3brV3d3VbLd7UmmwXC6TyRfGhp89jUXbwkCKhRMEA0HosXmJIWNfipLfiD387u6tDmadzLq6Oju6vu3plycVaslkKpvLF4fGRp4PxoAqTTBGvRAwutw7YwAAkOK99/7W1dHlsZvf98utRoDIucLIc8hI/BwDyUNr+G18YegbAE62pShE/5sunnXfT8l8y2bTheHBAYLdRdBCBNO2A7gnAGqV0agE/js6vf4h/VN8/yQj2XSmMBxrikFTNRiWbZiBDOHD8ejAj92c8IN/2ce/i0LODAEEyZsFhJEZEIBdfZ3o/YEH4DL/DEN6bNCtinMEqI7NoAZ9eOHhHc7z3+yRAxhwpPhswM3DhAPAqFumAIL9Z3d4/lNTQRDIipwfdhG4TfHEQCgwAAvVPvzcfaPVfWfX/f5g/kkaMs/dITbKAFSOkUAIELY//tTeBL7tlwObIhefNADQWiztGwIAoB0bHx7d6GwjoIApypCTBKcUSzvHBhZD8PZBR3MMfBuQDwJIgouAAijv1SwkgMCyar/daUJw+/GULGaFWIIBoCxQVf3wTAgBqp++utXRVAGC/pO5wXgzgC11+8gQAQBK7fTn2y6C2/2iAVDSTimyXqRuaYQGIkQ0bOvwp65OtwTEAYz1NQGIaGVNrVSRUAws+8OjThqDm/fFAWQLg1LTUNTKZUJELFiM71gpdAdtgs2Wf5JonokkCdsHZ0IxAHn49sGNLwTgdgK1XFbV7UNBIlq15TugC64CQETb0tTSthgRoR2czHd3dHT39F8BABKD0o4gEbH94afujhAkbAYQZSMZAGglTbAjImx9eBSqDLPFRhW4skgjtVjeP0MiU8Goo3896rgZAsDQ03YAEVXXVLV88FmwHeB3P3T1iDeikVhzI3JCoGtQjEdnIiEgWXj34PvH4q046gEQIQBU0pPF2kG99vbvPaIAck/YhiCNNu8nmg5EhJ4sRETSkH7LK4KCIDcoxb0AyEwAHkApYDEa1N7n+hWxcfw0wQUA/YiWglgMMD79Pd0vFIFMXyLu4QDtBppGp4JYO0Do0++5ZAhFJHmOFTQEVJ4IFuOnNymBJGSH/ACoOnREVa0cm0I0gG3h469ZJTCE9MiAD4CISolYqlRNsVLAgCAwDxqqmHcvoghgKpwJDUaGIBswBEpx0AXAORWBOAEEuiARTfM/6OMbOVA/SCmFvvgFAMqEiCWQJ1gMgYU/vkknlSAAhgacRsi92IFCJKWwK7YukWqEWsgFYaIyFI/7cJBamXXESlUQgYnRpz9+CYAAADgZiPIPlowGIE8EkwAy8fTPN7lkcpLYlO+Qzo5cQAG6LJY0gqAsTERSDJ/+eHnek6a4MDLPLwEQITwEIuoHhjACZJ2dOr/iLwifMQATvgCqB1uqSkrhSEwns2Ko/9X0U8Th5GQLA+TCIAUgTfi8T0HYPtsrkzSUdk5M0RgYyLaM1h9M0WRMNgThWIwB4FchMshrglpFU8loFl0ZqdWR2f6rjBFTDMBwNO7n3zQg6+AfG8c7KkGg7X8WR4Btw/T+9rkkHna0QNTrHuE6PdrC6nkAyxJ0AyCiaDGahmVjbnIdAM8SvAhY2HC8U6lZd5IQiogm8kcwBYo0wZFjn2nqkVvNtdM/326qtB1snyDxLCDb9EEwKRcHE953irsH0HipH/qC7vT9P3Mvlzd12hErVSxORNxeCi4CJVuggrBtEGjblYOaZZFXRnX06f2vvyiPlRerJAKEiLUQpYB9YpBMj9GtqA0A8K28d1QzLHz68d+knSsAdXadhAA04kEIGsCj8BFk2IGqHcAWrOflveMatPKGsEnP0SSIXw7cnshHwORQ2yAgAGA33Xn7Mi03lgyluOgg2KlaYUrB5CKIUQDtg4CoEE3Vl/qbNE1KBhpQIqoVwXXJSQLmMTE6wRuFVIxq+lK2ecFIZmfXdEpEdU/scuDGgFcL8QmeGuICgD16fpMhEFepvlkgalzyaAFouhwAIB4WaRI0SkRxBBYnBPEJCUaxBwDZyjR9NZ9qVdaKQwNV3amGAACl0I4gLiXIxw1xrhDUV1+0bRdKdmadhUAVvKU2RFo7AraU8JWovj7dvt4o6bkN3emIZyE6IrKQEeSzBbYO6GuzacVzzlikLZnt7WYYIgYDQFioby5mPACU4pLeIGKIGNg4YAhIDrTVIufSML1OEajhBiO3FPwA6JvTCueq5vSjkrYfqhtYZpAsUPmhb86leVetRfpXtbQVbjAGowFphrq6yLm5AQ1WzmkQAkHdCJIEtaxDz1mf4ayXijKzxmig7oYR6hgHCwGpA22ee+hIz244NNgLo4+C5YBczHV9KS+neHcdRxuo5YMQtWibgXJACkHfmOOFQJHzS0wihhLqIHiDV+IK9+iopKZXHSLuVE1RbQD7phEwB9COp33OXbPuUKiID0YcsBK3gAWby5kk/8btqBNyuhClQcBWQC72mrYx63PbyS872mD7SDQJ0A0Dz0RdWynIvCQoIFJZEsgpVfSSaQYbCJSH6qs0lwWKPLvGSoHIZMFjrhEwBJSHHmF0rk5UPdQFCwAEKkSmjHRtOcMvhGRmmSEAGiB0HRGAXlBmQ9EnCUWHBuSFP74OALQSYCZN80NAVlbN3VUEkiAAgK4ouraYkX1oML/JJKLQrhK0DNlYJpWwMc9PQirpdAOiDUwU/DO44ACckbA249ORlYKzsmoCRzxsW8EBqOT3dX294EcDZ1dRtcAtGQUch40kUBosFZN+NNhwJvNhwMmMA24nLQg0bZH//kEBdaK6kzlYCIIJEk8MNl7lfPqRSwM92EsFC6OIIACHiLN+/WjaWVlhLl4eA1QX9e+uitr6bJb7JsxdWdXS7uXnI2QJNIG2JOir/BikUo1dZe+ySkB2GP+No806vx0ocmGFffJw2c4M+3ko/+cxKPi8eWHagCYBXVkH8Exmoo9ecN+MJx2JWLrwgwOELSMSGkCZjmZ95UWaw8SUuymUyv7SIHz8XRpQHvCZCC15lVWC77bmdywVbQc+/UBJv2IqWfdZ2r/w+VsQgEJSvC3ZPeXuVDlf4hnYRkbki61MVwVAkPdSMZVly5Kq73NK0bKNK/Dv9ERQiUtFTiXk3Y7sKUVof4YZuRJzsrC5OuMRacncovNex6MMLBEFclkWtmgM9PXZdiK42kTVto9bNDKyw7cf364M43k+3/qtTErOrDgq/aAJAHQfy4hcpWkMgba59KIVgZJd1j0zifyPDRSJXDECes3X1dW5FpWkyMuNdbVRiZZlRq7coCEwLm4sTjdBUORFXXNWNeeLD0j/NfhvTAbalIpARsVphksuAKZPofquOP0eKgITVucyWfL0QIHp1RYA5D0VilyXaU5P0rWNlbminFSSCqgSrQkANP/rc88gbLGC1DdX5menZ+aWmDxnHLCs60p/MxHYGYlWxNqG655VQd0yrci1m+YsLTog0PRzAHtnwU6BV1OQDhvPTS0f2ghHvpIBGdsglOgr/sjXMyjIFgzlneOv6Z5RQXWqkpbAQS3y1U0lZKCmbVUi/xtzLnZq5P/a/gvm8NIms2W1xQAAAABJRU5ErkJggg==)}i.material-icons{vertical-align:middle!important}i.spaced{margin-right:.5rem}.highlight{color:red}.mat-toolbar.mat-primary{background:#fafafa;color:#000}.mat-toolbar-row,.mat-toolbar-single-row{height:4rem!important}.mat-mdc-row{min-height:2.5rem}.mat-mdc-menu-panel.wide-menu{max-width:none;max-height:none}.mat-form-field-disabled{cursor:not-allowed}input:disabled{cursor:not-allowed}.toggle{display:flex;height:32px}.detail .mdc-tab-indicator--active{background-color:#ffffff1f}.card{background-color:#fafafa;border-color:#000;border-radius:6px;box-shadow:#00000024 0 1px 4px;box-sizing:border-box;color:#000;display:flex;flex-direction:column;margin:2rem 1rem 1rem}.card-header{background-image:linear-gradient(60deg,#4b5266,#465d9c);border-bottom-color:#fff;border-radius:3px;box-shadow:#00000024 0 4px 20px,#465d9c66 0 7px 10px -5px;box-sizing:border-box;color:#fff;font-size:1.2rem;font-weight:300;margin:-1rem 1rem 0rem;padding:15px}.card-header img{width:1.2rem;vertical-align:top;margin-top:2px;margin-right:8px;filter:brightness(0) invert(1)}.card-title>a{color:#000}.card-subtitle{font-size:.9rem;margin-left:1.4rem}.detail>.title{margin:1rem;padding:1rem;background-image:linear-gradient(60deg,#4b5266,#465d9c);border-bottom-color:#fff;border-radius:3px;box-shadow:#00000024 0 4px 20px,#465d9c66 0 7px 10px -5px;box-sizing:border-box;color:#fff;font-size:1.2rem;font-weight:300}.detail>.title img{width:2rem;vertical-align:top;margin-top:-4px;filter:brightness(0) invert(1)}.detail>.title a{color:#ff0}.detail>.title .card{margin-top:0}.mat-mdc-menu-content .mat-mdc-menu-item:hover{background-color:#d4d4d4!important}.mat-mdc-option{min-height:2.5rem!important}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:#d4d4d4}.mat-mdc-dialog-container{--mdc-dialog-supporting-text-font: $font-family;--mdc-dialog-subhead-font: $font-family;--mdc-dialog-title-font: $font-family;--mdc-dialog-button-font: $font-family;--mdc-dialog-supporting-text-size: 1rem;--mdc-dialog-subhead-size: 1.25rem;--mdc-dialog-supporting-text-weight: 400;--mdc-dialog-supporting-text-color: rgba(0, 0, 0, 1)}.mat-mdc-tab-labels{background-image:linear-gradient(60deg,#4b5266,#465d9c)}.mat-mdc-tab-labels .mdc-tab--active{background-color:#303030}.mat-mdc-raised-button.mat-primary:not([disabled]){background-image:linear-gradient(60deg,#4b5266,#465d9c);color:#fff}.mat-select-search-no-entries-found{display:none!important}.dark-theme{--mat-ripple-color: rgba(255, 255, 255, .1);--mat-option-selected-state-label-text-color: #3f51b5;--mat-option-label-text-color: white;--mat-option-hover-state-layer-color: rgba(255, 255, 255, .08);--mat-option-focus-state-layer-color: rgba(255, 255, 255, .08);--mat-option-selected-state-layer-color: rgba(255, 255, 255, .08);--mat-optgroup-label-text-color: white;--mat-full-pseudo-checkbox-selected-icon-color: #ff4081;--mat-full-pseudo-checkbox-selected-checkmark-color: #303030;--mat-full-pseudo-checkbox-unselected-icon-color: rgba(255, 255, 255, .7);--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #303030;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: #686868;--mat-full-pseudo-checkbox-disabled-selected-icon-color: #686868;--mat-minimal-pseudo-checkbox-selected-checkmark-color: #ff4081;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: #686868;--mat-app-background-color: #303030;--mat-app-text-color: white;--mat-app-elevation-shadow-level-0: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-1: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-2: 0px 3px 1px -2px rgba(0, 0, 0, .2), 0px 2px 2px 0px rgba(0, 0, 0, .14), 0px 1px 5px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-3: 0px 3px 3px -2px rgba(0, 0, 0, .2), 0px 3px 4px 0px rgba(0, 0, 0, .14), 0px 1px 8px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-4: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-5: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 5px 8px 0px rgba(0, 0, 0, .14), 0px 1px 14px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-6: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-7: 0px 4px 5px -2px rgba(0, 0, 0, .2), 0px 7px 10px 1px rgba(0, 0, 0, .14), 0px 2px 16px 1px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-8: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-9: 0px 5px 6px -3px rgba(0, 0, 0, .2), 0px 9px 12px 1px rgba(0, 0, 0, .14), 0px 3px 16px 2px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-10: 0px 6px 6px -3px rgba(0, 0, 0, .2), 0px 10px 14px 1px rgba(0, 0, 0, .14), 0px 4px 18px 3px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-11: 0px 6px 7px -4px rgba(0, 0, 0, .2), 0px 11px 15px 1px rgba(0, 0, 0, .14), 0px 4px 20px 3px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-12: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-13: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 13px 19px 2px rgba(0, 0, 0, .14), 0px 5px 24px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-14: 0px 7px 9px -4px rgba(0, 0, 0, .2), 0px 14px 21px 2px rgba(0, 0, 0, .14), 0px 5px 26px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-15: 0px 8px 9px -5px rgba(0, 0, 0, .2), 0px 15px 22px 2px rgba(0, 0, 0, .14), 0px 6px 28px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-16: 0px 8px 10px -5px rgba(0, 0, 0, .2), 0px 16px 24px 2px rgba(0, 0, 0, .14), 0px 6px 30px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-17: 0px 8px 11px -5px rgba(0, 0, 0, .2), 0px 17px 26px 2px rgba(0, 0, 0, .14), 0px 6px 32px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-18: 0px 9px 11px -5px rgba(0, 0, 0, .2), 0px 18px 28px 2px rgba(0, 0, 0, .14), 0px 7px 34px 6px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-19: 0px 9px 12px -6px rgba(0, 0, 0, .2), 0px 19px 29px 2px rgba(0, 0, 0, .14), 0px 7px 36px 6px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-20: 0px 10px 13px -6px rgba(0, 0, 0, .2), 0px 20px 31px 3px rgba(0, 0, 0, .14), 0px 8px 38px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-21: 0px 10px 13px -6px rgba(0, 0, 0, .2), 0px 21px 33px 3px rgba(0, 0, 0, .14), 0px 8px 40px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-22: 0px 10px 14px -6px rgba(0, 0, 0, .2), 0px 22px 35px 3px rgba(0, 0, 0, .14), 0px 8px 42px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-23: 0px 11px 14px -7px rgba(0, 0, 0, .2), 0px 23px 36px 3px rgba(0, 0, 0, .14), 0px 9px 44px 8px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-24: 0px 11px 15px -7px rgba(0, 0, 0, .2), 0px 24px 38px 3px rgba(0, 0, 0, .14), 0px 9px 46px 8px rgba(0, 0, 0, .12);--mdc-elevated-card-container-shape: 4px;--mdc-outlined-card-container-shape: 4px;--mdc-outlined-card-outline-width: 1px;--mdc-elevated-card-container-color: #424242;--mdc-elevated-card-container-elevation: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-outlined-card-container-color: #424242;--mdc-outlined-card-outline-color: rgba(255, 255, 255, .12);--mdc-outlined-card-container-elevation: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-card-subtitle-text-color: rgba(255, 255, 255, .7);--mdc-linear-progress-active-indicator-height: 4px;--mdc-linear-progress-track-height: 4px;--mdc-linear-progress-track-shape: 0;--mdc-plain-tooltip-container-shape: 4px;--mdc-plain-tooltip-supporting-text-line-height: 16px;--mdc-plain-tooltip-container-color: #616161;--mdc-plain-tooltip-supporting-text-color: #fff;--mdc-filled-text-field-active-indicator-height: 1px;--mdc-filled-text-field-focus-active-indicator-height: 2px;--mdc-filled-text-field-container-shape: 4px;--mdc-outlined-text-field-outline-width: 1px;--mdc-outlined-text-field-focus-outline-width: 2px;--mdc-outlined-text-field-container-shape: 4px;--mdc-filled-text-field-caret-color: #3f51b5;--mdc-filled-text-field-focus-active-indicator-color: #3f51b5;--mdc-filled-text-field-focus-label-text-color: rgba(63, 81, 181, .87);--mdc-filled-text-field-container-color: #4a4a4a;--mdc-filled-text-field-disabled-container-color: #464646;--mdc-filled-text-field-label-text-color: rgba(255, 255, 255, .6);--mdc-filled-text-field-hover-label-text-color: rgba(255, 255, 255, .6);--mdc-filled-text-field-disabled-label-text-color: rgba(255, 255, 255, .38);--mdc-filled-text-field-input-text-color: rgba(255, 255, 255, .87);--mdc-filled-text-field-disabled-input-text-color: rgba(255, 255, 255, .38);--mdc-filled-text-field-input-text-placeholder-color: rgba(255, 255, 255, .6);--mdc-filled-text-field-error-hover-label-text-color: #f44336;--mdc-filled-text-field-error-focus-label-text-color: #f44336;--mdc-filled-text-field-error-label-text-color: #f44336;--mdc-filled-text-field-error-caret-color: #f44336;--mdc-filled-text-field-active-indicator-color: rgba(255, 255, 255, .42);--mdc-filled-text-field-disabled-active-indicator-color: rgba(255, 255, 255, .06);--mdc-filled-text-field-hover-active-indicator-color: rgba(255, 255, 255, .87);--mdc-filled-text-field-error-active-indicator-color: #f44336;--mdc-filled-text-field-error-focus-active-indicator-color: #f44336;--mdc-filled-text-field-error-hover-active-indicator-color: #f44336;--mdc-outlined-text-field-caret-color: #3f51b5;--mdc-outlined-text-field-focus-outline-color: #3f51b5;--mdc-outlined-text-field-focus-label-text-color: rgba(63, 81, 181, .87);--mdc-outlined-text-field-label-text-color: rgba(255, 255, 255, .6);--mdc-outlined-text-field-hover-label-text-color: rgba(255, 255, 255, .6);--mdc-outlined-text-field-disabled-label-text-color: rgba(255, 255, 255, .38);--mdc-outlined-text-field-input-text-color: rgba(255, 255, 255, .87);--mdc-outlined-text-field-disabled-input-text-color: rgba(255, 255, 255, .38);--mdc-outlined-text-field-input-text-placeholder-color: rgba(255, 255, 255, .6);--mdc-outlined-text-field-error-caret-color: #f44336;--mdc-outlined-text-field-error-focus-label-text-color: #f44336;--mdc-outlined-text-field-error-label-text-color: #f44336;--mdc-outlined-text-field-error-hover-label-text-color: #f44336;--mdc-outlined-text-field-outline-color: rgba(255, 255, 255, .38);--mdc-outlined-text-field-disabled-outline-color: rgba(255, 255, 255, .06);--mdc-outlined-text-field-hover-outline-color: rgba(255, 255, 255, .87);--mdc-outlined-text-field-error-focus-outline-color: #f44336;--mdc-outlined-text-field-error-hover-outline-color: #f44336;--mdc-outlined-text-field-error-outline-color: #f44336;--mat-form-field-focus-select-arrow-color: rgba(63, 81, 181, .87);--mat-form-field-disabled-input-text-placeholder-color: rgba(255, 255, 255, .38);--mat-form-field-state-layer-color: rgba(255, 255, 255, .87);--mat-form-field-error-text-color: #f44336;--mat-form-field-select-option-text-color: rgba(0, 0, 0, .87);--mat-form-field-select-disabled-option-text-color: rgba(0, 0, 0, .38);--mat-form-field-leading-icon-color: unset;--mat-form-field-disabled-leading-icon-color: unset;--mat-form-field-trailing-icon-color: unset;--mat-form-field-disabled-trailing-icon-color: unset;--mat-form-field-error-focus-trailing-icon-color: unset;--mat-form-field-error-hover-trailing-icon-color: unset;--mat-form-field-error-trailing-icon-color: unset;--mat-form-field-enabled-select-arrow-color: rgba(255, 255, 255, .54);--mat-form-field-disabled-select-arrow-color: rgba(255, 255, 255, .38);--mat-form-field-hover-state-layer-opacity: .08;--mat-form-field-focus-state-layer-opacity: .24;--mat-select-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-select-panel-background-color: #424242;--mat-select-enabled-trigger-text-color: rgba(255, 255, 255, .87);--mat-select-disabled-trigger-text-color: rgba(255, 255, 255, .38);--mat-select-placeholder-text-color: rgba(255, 255, 255, .6);--mat-select-enabled-arrow-color: rgba(255, 255, 255, .54);--mat-select-disabled-arrow-color: rgba(255, 255, 255, .38);--mat-select-focused-arrow-color: rgba(63, 81, 181, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87);--mat-autocomplete-container-shape: 4px;--mat-autocomplete-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-autocomplete-background-color: #424242;--mdc-dialog-container-shape: 4px;--mat-dialog-container-elevation-shadow: 0px 11px 15px -7px rgba(0, 0, 0, .2), 0px 24px 38px 3px rgba(0, 0, 0, .14), 0px 9px 46px 8px rgba(0, 0, 0, .12);--mat-dialog-container-max-width: 80vw;--mat-dialog-container-small-max-width: 80vw;--mat-dialog-container-min-width: 0;--mat-dialog-actions-alignment: start;--mat-dialog-actions-padding: 8px;--mat-dialog-content-padding: 20px 24px;--mat-dialog-with-actions-content-padding: 20px 24px;--mat-dialog-headline-padding: 0 24px 9px;--mdc-dialog-container-color: #424242;--mdc-dialog-subhead-color: rgba(255, 255, 255, .87);--mdc-dialog-supporting-text-color: rgba(255, 255, 255, .6);--mdc-switch-disabled-selected-icon-opacity: .38;--mdc-switch-disabled-track-opacity: .12;--mdc-switch-disabled-unselected-icon-opacity: .38;--mdc-switch-handle-height: 20px;--mdc-switch-handle-shape: 10px;--mdc-switch-handle-width: 20px;--mdc-switch-selected-icon-size: 18px;--mdc-switch-track-height: 14px;--mdc-switch-track-shape: 7px;--mdc-switch-track-width: 36px;--mdc-switch-unselected-icon-size: 18px;--mdc-switch-selected-focus-state-layer-opacity: .12;--mdc-switch-selected-hover-state-layer-opacity: .04;--mdc-switch-selected-pressed-state-layer-opacity: .1;--mdc-switch-unselected-focus-state-layer-opacity: .12;--mdc-switch-unselected-hover-state-layer-opacity: .04;--mdc-switch-unselected-pressed-state-layer-opacity: .1;--mdc-switch-selected-focus-state-layer-color: #7986cb;--mdc-switch-selected-handle-color: #7986cb;--mdc-switch-selected-hover-state-layer-color: #7986cb;--mdc-switch-selected-pressed-state-layer-color: #7986cb;--mdc-switch-selected-focus-handle-color: #9fa8da;--mdc-switch-selected-hover-handle-color: #9fa8da;--mdc-switch-selected-pressed-handle-color: #9fa8da;--mdc-switch-selected-focus-track-color: #3949ab;--mdc-switch-selected-hover-track-color: #3949ab;--mdc-switch-selected-pressed-track-color: #3949ab;--mdc-switch-selected-track-color: #3949ab;--mdc-switch-disabled-selected-handle-color: #000;--mdc-switch-disabled-selected-icon-color: #212121;--mdc-switch-disabled-selected-track-color: #f5f5f5;--mdc-switch-disabled-unselected-handle-color: #000;--mdc-switch-disabled-unselected-icon-color: #212121;--mdc-switch-disabled-unselected-track-color: #f5f5f5;--mdc-switch-handle-surface-color: #fff;--mdc-switch-selected-icon-color: #212121;--mdc-switch-unselected-focus-handle-color: #fafafa;--mdc-switch-unselected-focus-state-layer-color: #f5f5f5;--mdc-switch-unselected-focus-track-color: #616161;--mdc-switch-unselected-handle-color: #9e9e9e;--mdc-switch-unselected-hover-handle-color: #fafafa;--mdc-switch-unselected-hover-state-layer-color: #f5f5f5;--mdc-switch-unselected-hover-track-color: #616161;--mdc-switch-unselected-icon-color: #212121;--mdc-switch-unselected-pressed-handle-color: #fafafa;--mdc-switch-unselected-pressed-state-layer-color: #f5f5f5;--mdc-switch-unselected-pressed-track-color: #616161;--mdc-switch-unselected-track-color: #616161;--mdc-switch-handle-elevation-shadow: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-switch-disabled-handle-elevation-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mdc-switch-disabled-label-text-color: rgba(255, 255, 255, .5);--mdc-radio-disabled-selected-icon-opacity: .38;--mdc-radio-disabled-unselected-icon-opacity: .38;--mdc-radio-state-layer-size: 40px;--mdc-slider-active-track-height: 6px;--mdc-slider-active-track-shape: 9999px;--mdc-slider-handle-height: 20px;--mdc-slider-handle-shape: 50%;--mdc-slider-handle-width: 20px;--mdc-slider-inactive-track-height: 4px;--mdc-slider-inactive-track-shape: 9999px;--mdc-slider-with-overlap-handle-outline-width: 1px;--mdc-slider-with-tick-marks-active-container-opacity: .6;--mdc-slider-with-tick-marks-container-shape: 50%;--mdc-slider-with-tick-marks-container-size: 2px;--mdc-slider-with-tick-marks-inactive-container-opacity: .6;--mdc-slider-handle-elevation: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mat-slider-value-indicator-width: auto;--mat-slider-value-indicator-height: 32px;--mat-slider-value-indicator-caret-display: block;--mat-slider-value-indicator-border-radius: 4px;--mat-slider-value-indicator-padding: 0 12px;--mat-slider-value-indicator-text-transform: none;--mat-slider-value-indicator-container-transform: translateX(-50%);--mdc-slider-handle-color: #3f51b5;--mdc-slider-focus-handle-color: #3f51b5;--mdc-slider-hover-handle-color: #3f51b5;--mdc-slider-active-track-color: #3f51b5;--mdc-slider-inactive-track-color: #3f51b5;--mdc-slider-with-tick-marks-inactive-container-color: #3f51b5;--mdc-slider-with-tick-marks-active-container-color: white;--mdc-slider-disabled-active-track-color: #fff;--mdc-slider-disabled-handle-color: #fff;--mdc-slider-disabled-inactive-track-color: #fff;--mdc-slider-label-container-color: #fff;--mdc-slider-label-label-text-color: #000;--mdc-slider-with-overlap-handle-outline-color: #fff;--mdc-slider-with-tick-marks-disabled-container-color: #fff;--mat-slider-ripple-color: #3f51b5;--mat-slider-hover-state-layer-color: rgba(63, 81, 181, .05);--mat-slider-focus-state-layer-color: rgba(63, 81, 181, .2);--mat-slider-value-indicator-opacity: .9;--mat-menu-container-shape: 4px;--mat-menu-divider-bottom-spacing: 0;--mat-menu-divider-top-spacing: 0;--mat-menu-item-spacing: 16px;--mat-menu-item-icon-size: 24px;--mat-menu-item-leading-spacing: 16px;--mat-menu-item-trailing-spacing: 16px;--mat-menu-item-with-icon-leading-spacing: 16px;--mat-menu-item-with-icon-trailing-spacing: 16px;--mat-menu-base-elevation-level: 8;--mat-menu-item-label-text-color: white;--mat-menu-item-icon-color: white;--mat-menu-item-hover-state-layer-color: rgba(255, 255, 255, .08);--mat-menu-item-focus-state-layer-color: rgba(255, 255, 255, .08);--mat-menu-container-color: #424242;--mat-menu-divider-color: rgba(255, 255, 255, .12);--mdc-list-list-item-container-shape: 0;--mdc-list-list-item-leading-avatar-shape: 50%;--mdc-list-list-item-container-color: transparent;--mdc-list-list-item-selected-container-color: transparent;--mdc-list-list-item-leading-avatar-color: transparent;--mdc-list-list-item-leading-icon-size: 24px;--mdc-list-list-item-leading-avatar-size: 40px;--mdc-list-list-item-trailing-icon-size: 24px;--mdc-list-list-item-disabled-state-layer-color: transparent;--mdc-list-list-item-disabled-state-layer-opacity: 0;--mdc-list-list-item-disabled-label-text-opacity: .38;--mdc-list-list-item-disabled-leading-icon-opacity: .38;--mdc-list-list-item-disabled-trailing-icon-opacity: .38;--mat-list-active-indicator-color: transparent;--mat-list-active-indicator-shape: 4px;--mdc-list-list-item-label-text-color: white;--mdc-list-list-item-supporting-text-color: rgba(255, 255, 255, .7);--mdc-list-list-item-leading-icon-color: rgba(255, 255, 255, .5);--mdc-list-list-item-trailing-supporting-text-color: rgba(255, 255, 255, .5);--mdc-list-list-item-trailing-icon-color: rgba(255, 255, 255, .5);--mdc-list-list-item-selected-trailing-icon-color: rgba(255, 255, 255, .5);--mdc-list-list-item-disabled-label-text-color: white;--mdc-list-list-item-disabled-leading-icon-color: white;--mdc-list-list-item-disabled-trailing-icon-color: white;--mdc-list-list-item-hover-label-text-color: white;--mdc-list-list-item-hover-leading-icon-color: rgba(255, 255, 255, .5);--mdc-list-list-item-hover-trailing-icon-color: rgba(255, 255, 255, .5);--mdc-list-list-item-focus-label-text-color: white;--mdc-list-list-item-hover-state-layer-color: white;--mdc-list-list-item-hover-state-layer-opacity: .08;--mdc-list-list-item-focus-state-layer-color: white;--mdc-list-list-item-focus-state-layer-opacity: .24;--mat-paginator-container-text-color: rgba(255, 255, 255, .87);--mat-paginator-container-background-color: #424242;--mat-paginator-enabled-icon-color: rgba(255, 255, 255, .54);--mat-paginator-disabled-icon-color: rgba(255, 255, 255, .12);--mdc-secondary-navigation-tab-container-height: 48px;--mdc-tab-indicator-active-indicator-height: 2px;--mdc-tab-indicator-active-indicator-shape: 0;--mat-tab-header-divider-color: transparent;--mat-tab-header-divider-height: 0;--mdc-checkbox-disabled-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-state-layer-opacity: .16;--mdc-checkbox-selected-hover-state-layer-opacity: .04;--mdc-checkbox-selected-pressed-state-layer-opacity: .16;--mdc-checkbox-unselected-focus-state-layer-opacity: .16;--mdc-checkbox-unselected-hover-state-layer-opacity: .04;--mdc-checkbox-unselected-pressed-state-layer-opacity: .16;--mdc-checkbox-disabled-selected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #ff4081;--mdc-checkbox-selected-hover-icon-color: #ff4081;--mdc-checkbox-selected-icon-color: #ff4081;--mdc-checkbox-selected-pressed-icon-color: #ff4081;--mdc-checkbox-unselected-focus-icon-color: #eeeeee;--mdc-checkbox-unselected-hover-icon-color: #eeeeee;--mdc-checkbox-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-checkbox-selected-focus-state-layer-color: #ff4081;--mdc-checkbox-selected-hover-state-layer-color: #ff4081;--mdc-checkbox-selected-pressed-state-layer-color: #ff4081;--mdc-checkbox-unselected-focus-state-layer-color: white;--mdc-checkbox-unselected-hover-state-layer-color: white;--mdc-checkbox-unselected-pressed-state-layer-color: white;--mat-checkbox-disabled-label-color: rgba(255, 255, 255, .5);--mat-checkbox-label-text-color: white;--mdc-text-button-container-shape: 4px;--mdc-text-button-keep-touch-target: false;--mdc-filled-button-container-shape: 4px;--mdc-filled-button-keep-touch-target: false;--mdc-protected-button-container-shape: 4px;--mdc-protected-button-container-elevation-shadow: 0px 3px 1px -2px rgba(0, 0, 0, .2), 0px 2px 2px 0px rgba(0, 0, 0, .14), 0px 1px 5px 0px rgba(0, 0, 0, .12);--mdc-protected-button-disabled-container-elevation-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mdc-protected-button-focus-container-elevation-shadow: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mdc-protected-button-hover-container-elevation-shadow: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mdc-protected-button-pressed-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-outlined-button-keep-touch-target: false;--mdc-outlined-button-outline-width: 1px;--mdc-outlined-button-container-shape: 4px;--mat-text-button-horizontal-padding: 8px;--mat-text-button-with-icon-horizontal-padding: 8px;--mat-text-button-icon-spacing: 8px;--mat-text-button-icon-offset: 0;--mat-filled-button-horizontal-padding: 16px;--mat-filled-button-icon-spacing: 8px;--mat-filled-button-icon-offset: -4px;--mat-protected-button-horizontal-padding: 16px;--mat-protected-button-icon-spacing: 8px;--mat-protected-button-icon-offset: -4px;--mat-outlined-button-horizontal-padding: 15px;--mat-outlined-button-icon-spacing: 8px;--mat-outlined-button-icon-offset: -4px;--mdc-text-button-label-text-color: white;--mdc-text-button-disabled-label-text-color: rgba(255, 255, 255, .5);--mat-text-button-state-layer-color: white;--mat-text-button-disabled-state-layer-color: white;--mat-text-button-ripple-color: rgba(255, 255, 255, .1);--mat-text-button-hover-state-layer-opacity: .08;--mat-text-button-focus-state-layer-opacity: .24;--mat-text-button-pressed-state-layer-opacity: .24;--mdc-filled-button-container-color: #424242;--mdc-filled-button-label-text-color: white;--mdc-filled-button-disabled-container-color: rgba(255, 255, 255, .12);--mdc-filled-button-disabled-label-text-color: rgba(255, 255, 255, .5);--mat-filled-button-state-layer-color: white;--mat-filled-button-disabled-state-layer-color: white;--mat-filled-button-ripple-color: rgba(255, 255, 255, .1);--mat-filled-button-hover-state-layer-opacity: .08;--mat-filled-button-focus-state-layer-opacity: .24;--mat-filled-button-pressed-state-layer-opacity: .24;--mdc-protected-button-container-color: #424242;--mdc-protected-button-label-text-color: white;--mdc-protected-button-disabled-container-color: rgba(255, 255, 255, .12);--mdc-protected-button-disabled-label-text-color: rgba(255, 255, 255, .5);--mat-protected-button-state-layer-color: white;--mat-protected-button-disabled-state-layer-color: white;--mat-protected-button-ripple-color: rgba(255, 255, 255, .1);--mat-protected-button-hover-state-layer-opacity: .08;--mat-protected-button-focus-state-layer-opacity: .24;--mat-protected-button-pressed-state-layer-opacity: .24;--mdc-outlined-button-disabled-outline-color: rgba(255, 255, 255, .12);--mdc-outlined-button-disabled-label-text-color: rgba(255, 255, 255, .5);--mdc-outlined-button-label-text-color: white;--mdc-outlined-button-outline-color: rgba(255, 255, 255, .12);--mat-outlined-button-state-layer-color: white;--mat-outlined-button-disabled-state-layer-color: white;--mat-outlined-button-ripple-color: rgba(255, 255, 255, .1);--mat-outlined-button-hover-state-layer-opacity: .08;--mat-outlined-button-focus-state-layer-opacity: .24;--mat-outlined-button-pressed-state-layer-opacity: .24;--mdc-icon-button-icon-size: 24px;--mdc-icon-button-icon-color: inherit;--mdc-icon-button-disabled-icon-color: rgba(255, 255, 255, .5);--mat-icon-button-state-layer-color: white;--mat-icon-button-disabled-state-layer-color: white;--mat-icon-button-ripple-color: rgba(255, 255, 255, .1);--mat-icon-button-hover-state-layer-opacity: .08;--mat-icon-button-focus-state-layer-opacity: .24;--mat-icon-button-pressed-state-layer-opacity: .24;--mdc-fab-container-shape: 50%;--mdc-fab-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-focus-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-pressed-container-elevation-shadow: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mdc-fab-small-container-shape: 50%;--mdc-fab-small-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-small-focus-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-small-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-small-pressed-container-elevation-shadow: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mdc-extended-fab-container-height: 48px;--mdc-extended-fab-container-shape: 24px;--mdc-extended-fab-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-extended-fab-focus-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-extended-fab-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-extended-fab-pressed-container-elevation-shadow: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mdc-fab-container-color: #424242;--mat-fab-foreground-color: white;--mat-fab-state-layer-color: white;--mat-fab-disabled-state-layer-color: white;--mat-fab-ripple-color: rgba(255, 255, 255, .1);--mat-fab-hover-state-layer-opacity: .08;--mat-fab-focus-state-layer-opacity: .24;--mat-fab-pressed-state-layer-opacity: .24;--mat-fab-disabled-state-container-color: rgba(255, 255, 255, .12);--mat-fab-disabled-state-foreground-color: rgba(255, 255, 255, .5);--mdc-fab-small-container-color: #424242;--mat-fab-small-foreground-color: white;--mat-fab-small-state-layer-color: white;--mat-fab-small-disabled-state-layer-color: white;--mat-fab-small-ripple-color: rgba(255, 255, 255, .1);--mat-fab-small-hover-state-layer-opacity: .08;--mat-fab-small-focus-state-layer-opacity: .24;--mat-fab-small-pressed-state-layer-opacity: .24;--mat-fab-small-disabled-state-container-color: rgba(255, 255, 255, .12);--mat-fab-small-disabled-state-foreground-color: rgba(255, 255, 255, .5);--mdc-snackbar-container-shape: 4px;--mdc-snackbar-container-color: #d9d9d9;--mdc-snackbar-supporting-text-color: rgba(66, 66, 66, .87);--mat-snack-bar-button-color: rgba(0, 0, 0, .87);--mat-table-row-item-outline-width: 1px;--mat-table-background-color: #424242;--mat-table-header-headline-color: white;--mat-table-row-item-label-text-color: white;--mat-table-row-item-outline-color: rgba(255, 255, 255, .12);--mdc-circular-progress-active-indicator-width: 4px;--mdc-circular-progress-size: 48px;--mdc-circular-progress-active-indicator-color: #3f51b5;--mat-badge-container-shape: 50%;--mat-badge-container-size: unset;--mat-badge-small-size-container-size: unset;--mat-badge-large-size-container-size: unset;--mat-badge-legacy-container-size: 22px;--mat-badge-legacy-small-size-container-size: 16px;--mat-badge-legacy-large-size-container-size: 28px;--mat-badge-container-offset: -11px 0;--mat-badge-small-size-container-offset: -8px 0;--mat-badge-large-size-container-offset: -14px 0;--mat-badge-container-overlap-offset: -11px;--mat-badge-small-size-container-overlap-offset: -8px;--mat-badge-large-size-container-overlap-offset: -14px;--mat-badge-container-padding: 0;--mat-badge-small-size-container-padding: 0;--mat-badge-large-size-container-padding: 0;--mat-badge-background-color: #3f51b5;--mat-badge-text-color: white;--mat-badge-disabled-state-background-color: #6e6e6e;--mat-badge-disabled-state-text-color: rgba(255, 255, 255, .5);--mat-bottom-sheet-container-shape: 4px;--mat-bottom-sheet-container-text-color: white;--mat-bottom-sheet-container-background-color: #424242;--mat-legacy-button-toggle-height: 36px;--mat-legacy-button-toggle-shape: 2px;--mat-legacy-button-toggle-focus-state-layer-opacity: 1;--mat-standard-button-toggle-shape: 4px;--mat-standard-button-toggle-hover-state-layer-opacity: .04;--mat-standard-button-toggle-focus-state-layer-opacity: .12;--mat-legacy-button-toggle-text-color: rgba(255, 255, 255, .5);--mat-legacy-button-toggle-state-layer-color: rgba(255, 255, 255, .12);--mat-legacy-button-toggle-selected-state-text-color: rgba(255, 255, 255, .7);--mat-legacy-button-toggle-selected-state-background-color: #212121;--mat-legacy-button-toggle-disabled-state-text-color: rgba(255, 255, 255, .3);--mat-legacy-button-toggle-disabled-state-background-color: black;--mat-legacy-button-toggle-disabled-selected-state-background-color: #424242;--mat-standard-button-toggle-text-color: white;--mat-standard-button-toggle-background-color: #424242;--mat-standard-button-toggle-state-layer-color: white;--mat-standard-button-toggle-selected-state-background-color: #212121;--mat-standard-button-toggle-selected-state-text-color: white;--mat-standard-button-toggle-disabled-state-text-color: rgba(255, 255, 255, .3);--mat-standard-button-toggle-disabled-state-background-color: #424242;--mat-standard-button-toggle-disabled-selected-state-text-color: white;--mat-standard-button-toggle-disabled-selected-state-background-color: #424242;--mat-standard-button-toggle-divider-color: #595959;--mat-datepicker-calendar-container-shape: 4px;--mat-datepicker-calendar-container-touch-shape: 4px;--mat-datepicker-calendar-container-elevation-shadow: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mat-datepicker-calendar-container-touch-elevation-shadow: 0px 11px 15px -7px rgba(0, 0, 0, .2), 0px 24px 38px 3px rgba(0, 0, 0, .14), 0px 9px 46px 8px rgba(0, 0, 0, .12);--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #3f51b5;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(63, 81, 181, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: rgba(63, 81, 181, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(63, 81, 181, .3);--mat-datepicker-toggle-active-state-icon-color: #3f51b5;--mat-datepicker-calendar-date-in-range-state-background-color: rgba(63, 81, 181, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: #46a35e;--mat-datepicker-toggle-icon-color: white;--mat-datepicker-calendar-body-label-text-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-period-button-text-color: white;--mat-datepicker-calendar-period-button-icon-color: white;--mat-datepicker-calendar-navigation-button-icon-color: white;--mat-datepicker-calendar-header-divider-color: rgba(255, 255, 255, .12);--mat-datepicker-calendar-header-text-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-date-today-outline-color: rgba(255, 255, 255, .5);--mat-datepicker-calendar-date-today-disabled-state-outline-color: rgba(255, 255, 255, .3);--mat-datepicker-calendar-date-text-color: white;--mat-datepicker-calendar-date-outline-color: transparent;--mat-datepicker-calendar-date-disabled-state-text-color: rgba(255, 255, 255, .5);--mat-datepicker-calendar-date-preview-state-outline-color: rgba(255, 255, 255, .24);--mat-datepicker-range-input-separator-color: white;--mat-datepicker-range-input-disabled-state-separator-color: rgba(255, 255, 255, .5);--mat-datepicker-range-input-disabled-state-text-color: rgba(255, 255, 255, .5);--mat-datepicker-calendar-container-background-color: #424242;--mat-datepicker-calendar-container-text-color: white;--mat-divider-width: 1px;--mat-divider-color: rgba(255, 255, 255, .12);--mat-expansion-container-shape: 4px;--mat-expansion-legacy-header-indicator-display: inline-block;--mat-expansion-header-indicator-display: none;--mat-expansion-container-background-color: #424242;--mat-expansion-container-text-color: white;--mat-expansion-actions-divider-color: rgba(255, 255, 255, .12);--mat-expansion-header-hover-state-layer-color: rgba(255, 255, 255, .04);--mat-expansion-header-focus-state-layer-color: rgba(255, 255, 255, .04);--mat-expansion-header-disabled-state-text-color: rgba(255, 255, 255, .3);--mat-expansion-header-text-color: white;--mat-expansion-header-description-color: rgba(255, 255, 255, .7);--mat-expansion-header-indicator-color: rgba(255, 255, 255, .7);--mat-icon-color: inherit;--mat-sidenav-container-shape: 0;--mat-sidenav-container-elevation-shadow: 0px 8px 10px -5px rgba(0, 0, 0, .2), 0px 16px 24px 2px rgba(0, 0, 0, .14), 0px 6px 30px 5px rgba(0, 0, 0, .12);--mat-sidenav-container-width: auto;--mat-sidenav-container-divider-color: rgba(255, 255, 255, .12);--mat-sidenav-container-background-color: #424242;--mat-sidenav-container-text-color: white;--mat-sidenav-content-background-color: #303030;--mat-sidenav-content-text-color: white;--mat-sidenav-scrim-color: rgba(189, 189, 189, .6);--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #3f51b5;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #3f51b5;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #3f51b5;--mat-stepper-header-edit-state-icon-foreground-color: white;--mat-stepper-container-color: #424242;--mat-stepper-line-color: rgba(255, 255, 255, .12);--mat-stepper-header-hover-state-layer-color: rgba(255, 255, 255, .04);--mat-stepper-header-focus-state-layer-color: rgba(255, 255, 255, .04);--mat-stepper-header-label-text-color: rgba(255, 255, 255, .7);--mat-stepper-header-optional-label-text-color: rgba(255, 255, 255, .7);--mat-stepper-header-selected-state-label-text-color: white;--mat-stepper-header-error-state-label-text-color: #f44336;--mat-stepper-header-icon-background-color: rgba(255, 255, 255, .7);--mat-stepper-header-error-state-icon-foreground-color: #f44336;--mat-stepper-header-error-state-icon-background-color: transparent;--mat-sort-arrow-color: #c6c6c6;--mat-toolbar-container-background-color: #212121;--mat-toolbar-container-text-color: white;--mat-tree-container-background-color: #424242;--mat-tree-node-text-color: white}.dark-theme .mat-accent{--mat-option-selected-state-label-text-color: #ff4081;--mat-option-label-text-color: white;--mat-option-hover-state-layer-color: rgba(255, 255, 255, .08);--mat-option-focus-state-layer-color: rgba(255, 255, 255, .08);--mat-option-selected-state-layer-color: rgba(255, 255, 255, .08)}.dark-theme .mat-warn{--mat-option-selected-state-label-text-color: #f44336;--mat-option-label-text-color: white;--mat-option-hover-state-layer-color: rgba(255, 255, 255, .08);--mat-option-focus-state-layer-color: rgba(255, 255, 255, .08);--mat-option-selected-state-layer-color: rgba(255, 255, 255, .08)}.dark-theme .mat-primary{--mat-full-pseudo-checkbox-selected-icon-color: #3f51b5;--mat-full-pseudo-checkbox-selected-checkmark-color: #303030;--mat-full-pseudo-checkbox-unselected-icon-color: rgba(255, 255, 255, .7);--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #303030;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: #686868;--mat-full-pseudo-checkbox-disabled-selected-icon-color: #686868;--mat-minimal-pseudo-checkbox-selected-checkmark-color: #3f51b5;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: #686868}.dark-theme .mat-accent{--mat-full-pseudo-checkbox-selected-icon-color: #ff4081;--mat-full-pseudo-checkbox-selected-checkmark-color: #303030;--mat-full-pseudo-checkbox-unselected-icon-color: rgba(255, 255, 255, .7);--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #303030;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: #686868;--mat-full-pseudo-checkbox-disabled-selected-icon-color: #686868;--mat-minimal-pseudo-checkbox-selected-checkmark-color: #ff4081;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: #686868}.dark-theme .mat-warn{--mat-full-pseudo-checkbox-selected-icon-color: #f44336;--mat-full-pseudo-checkbox-selected-checkmark-color: #303030;--mat-full-pseudo-checkbox-unselected-icon-color: rgba(255, 255, 255, .7);--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #303030;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: #686868;--mat-full-pseudo-checkbox-disabled-selected-icon-color: #686868;--mat-minimal-pseudo-checkbox-selected-checkmark-color: #f44336;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: #686868}.dark-theme .mat-mdc-progress-bar{--mdc-linear-progress-active-indicator-color: #3f51b5;--mdc-linear-progress-track-color: rgba(63, 81, 181, .25)}.dark-theme .mat-mdc-progress-bar.mat-accent{--mdc-linear-progress-active-indicator-color: #ff4081;--mdc-linear-progress-track-color: rgba(255, 64, 129, .25)}.dark-theme .mat-mdc-progress-bar.mat-warn{--mdc-linear-progress-active-indicator-color: #f44336;--mdc-linear-progress-track-color: rgba(244, 67, 54, .25)}.dark-theme .mat-mdc-form-field.mat-accent{--mdc-filled-text-field-caret-color: #ff4081;--mdc-filled-text-field-focus-active-indicator-color: #ff4081;--mdc-filled-text-field-focus-label-text-color: rgba(255, 64, 129, .87);--mdc-outlined-text-field-caret-color: #ff4081;--mdc-outlined-text-field-focus-outline-color: #ff4081;--mdc-outlined-text-field-focus-label-text-color: rgba(255, 64, 129, .87);--mat-form-field-focus-select-arrow-color: rgba(255, 64, 129, .87)}.dark-theme .mat-mdc-form-field.mat-warn{--mdc-filled-text-field-caret-color: #f44336;--mdc-filled-text-field-focus-active-indicator-color: #f44336;--mdc-filled-text-field-focus-label-text-color: rgba(244, 67, 54, .87);--mdc-outlined-text-field-caret-color: #f44336;--mdc-outlined-text-field-focus-outline-color: #f44336;--mdc-outlined-text-field-focus-label-text-color: rgba(244, 67, 54, .87);--mat-form-field-focus-select-arrow-color: rgba(244, 67, 54, .87)}.dark-theme .mat-mdc-form-field.mat-accent{--mat-select-panel-background-color: #424242;--mat-select-enabled-trigger-text-color: rgba(255, 255, 255, .87);--mat-select-disabled-trigger-text-color: rgba(255, 255, 255, .38);--mat-select-placeholder-text-color: rgba(255, 255, 255, .6);--mat-select-enabled-arrow-color: rgba(255, 255, 255, .54);--mat-select-disabled-arrow-color: rgba(255, 255, 255, .38);--mat-select-focused-arrow-color: rgba(255, 64, 129, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87)}.dark-theme .mat-mdc-form-field.mat-warn{--mat-select-panel-background-color: #424242;--mat-select-enabled-trigger-text-color: rgba(255, 255, 255, .87);--mat-select-disabled-trigger-text-color: rgba(255, 255, 255, .38);--mat-select-placeholder-text-color: rgba(255, 255, 255, .6);--mat-select-enabled-arrow-color: rgba(255, 255, 255, .54);--mat-select-disabled-arrow-color: rgba(255, 255, 255, .38);--mat-select-focused-arrow-color: rgba(244, 67, 54, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87)}.dark-theme .mat-mdc-standard-chip{--mdc-chip-container-shape-radius: 16px;--mdc-chip-with-avatar-avatar-shape-radius: 14px;--mdc-chip-with-avatar-avatar-size: 28px;--mdc-chip-with-icon-icon-size: 18px;--mdc-chip-outline-width: 0;--mdc-chip-outline-color: transparent;--mdc-chip-disabled-outline-color: transparent;--mdc-chip-focus-outline-color: transparent;--mdc-chip-hover-state-layer-opacity: .04;--mdc-chip-with-avatar-disabled-avatar-opacity: 1;--mdc-chip-flat-selected-outline-width: 0;--mdc-chip-selected-hover-state-layer-opacity: .04;--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity: 1;--mdc-chip-with-icon-disabled-icon-opacity: 1;--mat-chip-disabled-container-opacity: .4;--mat-chip-trailing-action-opacity: .54;--mat-chip-trailing-action-focus-opacity: 1;--mat-chip-trailing-action-state-layer-color: transparent;--mat-chip-selected-trailing-action-state-layer-color: transparent;--mat-chip-trailing-action-hover-state-layer-opacity: 0;--mat-chip-trailing-action-focus-state-layer-opacity: 0}.dark-theme .mat-mdc-standard-chip{--mdc-chip-disabled-label-text-color: #fafafa;--mdc-chip-elevated-container-color: #595959;--mdc-chip-elevated-selected-container-color: #595959;--mdc-chip-elevated-disabled-container-color: #595959;--mdc-chip-flat-disabled-selected-container-color: #595959;--mdc-chip-focus-state-layer-color: white;--mdc-chip-hover-state-layer-color: white;--mdc-chip-selected-hover-state-layer-color: white;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-selected-focus-state-layer-color: white;--mdc-chip-selected-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: #fafafa;--mdc-chip-selected-label-text-color: #fafafa;--mdc-chip-with-icon-icon-color: #fafafa;--mdc-chip-with-icon-disabled-icon-color: #fafafa;--mdc-chip-with-icon-selected-icon-color: #fafafa;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: #fafafa;--mdc-chip-with-trailing-icon-trailing-icon-color: #fafafa;--mat-chip-selected-disabled-trailing-icon-color: #fafafa;--mat-chip-selected-trailing-icon-color: #fafafa}.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-selected.mat-primary,.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-primary{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #3f51b5;--mdc-chip-elevated-selected-container-color: #3f51b5;--mdc-chip-elevated-disabled-container-color: #3f51b5;--mdc-chip-flat-disabled-selected-container-color: #3f51b5;--mdc-chip-focus-state-layer-color: white;--mdc-chip-hover-state-layer-color: white;--mdc-chip-selected-hover-state-layer-color: white;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-selected-focus-state-layer-color: white;--mdc-chip-selected-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: white;--mdc-chip-selected-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white;--mat-chip-selected-disabled-trailing-icon-color: white;--mat-chip-selected-trailing-icon-color: white}.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-selected.mat-accent,.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-accent{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #ff4081;--mdc-chip-elevated-selected-container-color: #ff4081;--mdc-chip-elevated-disabled-container-color: #ff4081;--mdc-chip-flat-disabled-selected-container-color: #ff4081;--mdc-chip-focus-state-layer-color: white;--mdc-chip-hover-state-layer-color: white;--mdc-chip-selected-hover-state-layer-color: white;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-selected-focus-state-layer-color: white;--mdc-chip-selected-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: white;--mdc-chip-selected-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white;--mat-chip-selected-disabled-trailing-icon-color: white;--mat-chip-selected-trailing-icon-color: white}.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-selected.mat-warn,.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-warn{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #f44336;--mdc-chip-elevated-selected-container-color: #f44336;--mdc-chip-elevated-disabled-container-color: #f44336;--mdc-chip-flat-disabled-selected-container-color: #f44336;--mdc-chip-focus-state-layer-color: white;--mdc-chip-hover-state-layer-color: white;--mdc-chip-selected-hover-state-layer-color: white;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-selected-focus-state-layer-color: white;--mdc-chip-selected-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: white;--mdc-chip-selected-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white;--mat-chip-selected-disabled-trailing-icon-color: white;--mat-chip-selected-trailing-icon-color: white}.dark-theme .mat-mdc-slide-toggle{--mat-switch-disabled-selected-handle-opacity: .38;--mat-switch-disabled-unselected-handle-opacity: .38;--mat-switch-unselected-handle-size: 20px;--mat-switch-selected-handle-size: 20px;--mat-switch-pressed-handle-size: 20px;--mat-switch-with-icon-handle-size: 20px;--mat-switch-selected-handle-horizontal-margin: 0;--mat-switch-selected-with-icon-handle-horizontal-margin: 0;--mat-switch-selected-pressed-handle-horizontal-margin: 0;--mat-switch-unselected-handle-horizontal-margin: 0;--mat-switch-unselected-with-icon-handle-horizontal-margin: 0;--mat-switch-unselected-pressed-handle-horizontal-margin: 0;--mat-switch-visible-track-opacity: 1;--mat-switch-hidden-track-opacity: 1;--mat-switch-visible-track-transition: transform 75ms 0ms cubic-bezier(0, 0, .2, 1);--mat-switch-hidden-track-transition: transform 75ms 0ms cubic-bezier(.4, 0, .6, 1);--mat-switch-track-outline-width: 1px;--mat-switch-track-outline-color: transparent;--mat-switch-selected-track-outline-width: 1px;--mat-switch-selected-track-outline-color: transparent;--mat-switch-disabled-unselected-track-outline-width: 1px;--mat-switch-disabled-unselected-track-outline-color: transparent}.dark-theme .mat-mdc-slide-toggle{--mat-switch-label-text-color: white}.dark-theme .mat-mdc-slide-toggle.mat-accent{--mdc-switch-selected-focus-state-layer-color: #f06292;--mdc-switch-selected-handle-color: #f06292;--mdc-switch-selected-hover-state-layer-color: #f06292;--mdc-switch-selected-pressed-state-layer-color: #f06292;--mdc-switch-selected-focus-handle-color: #f48fb1;--mdc-switch-selected-hover-handle-color: #f48fb1;--mdc-switch-selected-pressed-handle-color: #f48fb1;--mdc-switch-selected-focus-track-color: #d81b60;--mdc-switch-selected-hover-track-color: #d81b60;--mdc-switch-selected-pressed-track-color: #d81b60;--mdc-switch-selected-track-color: #d81b60}.dark-theme .mat-mdc-slide-toggle.mat-warn{--mdc-switch-selected-focus-state-layer-color: #e57373;--mdc-switch-selected-handle-color: #e57373;--mdc-switch-selected-hover-state-layer-color: #e57373;--mdc-switch-selected-pressed-state-layer-color: #e57373;--mdc-switch-selected-focus-handle-color: #ef9a9a;--mdc-switch-selected-hover-handle-color: #ef9a9a;--mdc-switch-selected-pressed-handle-color: #ef9a9a;--mdc-switch-selected-focus-track-color: #e53935;--mdc-switch-selected-hover-track-color: #e53935;--mdc-switch-selected-pressed-track-color: #e53935;--mdc-switch-selected-track-color: #e53935}.dark-theme .mat-mdc-radio-button.mat-primary{--mdc-radio-disabled-selected-icon-color: white;--mdc-radio-disabled-unselected-icon-color: white;--mdc-radio-unselected-hover-icon-color: #eeeeee;--mdc-radio-unselected-focus-icon-color: #eeeeee;--mdc-radio-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-radio-unselected-pressed-icon-color: rgba(255, 255, 255, .54);--mdc-radio-selected-focus-icon-color: #3f51b5;--mdc-radio-selected-hover-icon-color: #3f51b5;--mdc-radio-selected-icon-color: #3f51b5;--mdc-radio-selected-pressed-icon-color: #3f51b5;--mat-radio-ripple-color: white;--mat-radio-checked-ripple-color: #3f51b5;--mat-radio-disabled-label-color: rgba(255, 255, 255, .5);--mat-radio-label-text-color: white}.dark-theme .mat-mdc-radio-button.mat-accent{--mdc-radio-disabled-selected-icon-color: white;--mdc-radio-disabled-unselected-icon-color: white;--mdc-radio-unselected-hover-icon-color: #eeeeee;--mdc-radio-unselected-focus-icon-color: #eeeeee;--mdc-radio-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-radio-unselected-pressed-icon-color: rgba(255, 255, 255, .54);--mdc-radio-selected-focus-icon-color: #ff4081;--mdc-radio-selected-hover-icon-color: #ff4081;--mdc-radio-selected-icon-color: #ff4081;--mdc-radio-selected-pressed-icon-color: #ff4081;--mat-radio-ripple-color: white;--mat-radio-checked-ripple-color: #ff4081;--mat-radio-disabled-label-color: rgba(255, 255, 255, .5);--mat-radio-label-text-color: white}.dark-theme .mat-mdc-radio-button.mat-warn{--mdc-radio-disabled-selected-icon-color: white;--mdc-radio-disabled-unselected-icon-color: white;--mdc-radio-unselected-hover-icon-color: #eeeeee;--mdc-radio-unselected-focus-icon-color: #eeeeee;--mdc-radio-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-radio-unselected-pressed-icon-color: rgba(255, 255, 255, .54);--mdc-radio-selected-focus-icon-color: #f44336;--mdc-radio-selected-hover-icon-color: #f44336;--mdc-radio-selected-icon-color: #f44336;--mdc-radio-selected-pressed-icon-color: #f44336;--mat-radio-ripple-color: white;--mat-radio-checked-ripple-color: #f44336;--mat-radio-disabled-label-color: rgba(255, 255, 255, .5);--mat-radio-label-text-color: white}.dark-theme .mat-accent{--mdc-slider-handle-color: #ff4081;--mdc-slider-focus-handle-color: #ff4081;--mdc-slider-hover-handle-color: #ff4081;--mdc-slider-active-track-color: #ff4081;--mdc-slider-inactive-track-color: #ff4081;--mdc-slider-with-tick-marks-inactive-container-color: #ff4081;--mdc-slider-with-tick-marks-active-container-color: white;--mat-slider-ripple-color: #ff4081;--mat-slider-hover-state-layer-color: rgba(255, 64, 129, .05);--mat-slider-focus-state-layer-color: rgba(255, 64, 129, .2)}.dark-theme .mat-warn{--mdc-slider-handle-color: #f44336;--mdc-slider-focus-handle-color: #f44336;--mdc-slider-hover-handle-color: #f44336;--mdc-slider-active-track-color: #f44336;--mdc-slider-inactive-track-color: #f44336;--mdc-slider-with-tick-marks-inactive-container-color: #f44336;--mdc-slider-with-tick-marks-active-container-color: white;--mat-slider-ripple-color: #f44336;--mat-slider-hover-state-layer-color: rgba(244, 67, 54, .05);--mat-slider-focus-state-layer-color: rgba(244, 67, 54, .2)}.dark-theme .mdc-list-item__start,.dark-theme .mdc-list-item__end{--mdc-radio-disabled-selected-icon-color: white;--mdc-radio-disabled-unselected-icon-color: white;--mdc-radio-unselected-hover-icon-color: #eeeeee;--mdc-radio-unselected-focus-icon-color: #eeeeee;--mdc-radio-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-radio-unselected-pressed-icon-color: rgba(255, 255, 255, .54);--mdc-radio-selected-focus-icon-color: #3f51b5;--mdc-radio-selected-hover-icon-color: #3f51b5;--mdc-radio-selected-icon-color: #3f51b5;--mdc-radio-selected-pressed-icon-color: #3f51b5}.dark-theme .mat-accent .mdc-list-item__start,.dark-theme .mat-accent .mdc-list-item__end{--mdc-radio-disabled-selected-icon-color: white;--mdc-radio-disabled-unselected-icon-color: white;--mdc-radio-unselected-hover-icon-color: #eeeeee;--mdc-radio-unselected-focus-icon-color: #eeeeee;--mdc-radio-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-radio-unselected-pressed-icon-color: rgba(255, 255, 255, .54);--mdc-radio-selected-focus-icon-color: #ff4081;--mdc-radio-selected-hover-icon-color: #ff4081;--mdc-radio-selected-icon-color: #ff4081;--mdc-radio-selected-pressed-icon-color: #ff4081}.dark-theme .mat-warn .mdc-list-item__start,.dark-theme .mat-warn .mdc-list-item__end{--mdc-radio-disabled-selected-icon-color: white;--mdc-radio-disabled-unselected-icon-color: white;--mdc-radio-unselected-hover-icon-color: #eeeeee;--mdc-radio-unselected-focus-icon-color: #eeeeee;--mdc-radio-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-radio-unselected-pressed-icon-color: rgba(255, 255, 255, .54);--mdc-radio-selected-focus-icon-color: #f44336;--mdc-radio-selected-hover-icon-color: #f44336;--mdc-radio-selected-icon-color: #f44336;--mdc-radio-selected-pressed-icon-color: #f44336}.dark-theme .mat-mdc-list-option{--mdc-checkbox-disabled-selected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #3f51b5;--mdc-checkbox-selected-hover-icon-color: #3f51b5;--mdc-checkbox-selected-icon-color: #3f51b5;--mdc-checkbox-selected-pressed-icon-color: #3f51b5;--mdc-checkbox-unselected-focus-icon-color: #eeeeee;--mdc-checkbox-unselected-hover-icon-color: #eeeeee;--mdc-checkbox-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-checkbox-selected-focus-state-layer-color: #3f51b5;--mdc-checkbox-selected-hover-state-layer-color: #3f51b5;--mdc-checkbox-selected-pressed-state-layer-color: #3f51b5;--mdc-checkbox-unselected-focus-state-layer-color: white;--mdc-checkbox-unselected-hover-state-layer-color: white;--mdc-checkbox-unselected-pressed-state-layer-color: white}.dark-theme .mat-mdc-list-option.mat-accent{--mdc-checkbox-disabled-selected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #ff4081;--mdc-checkbox-selected-hover-icon-color: #ff4081;--mdc-checkbox-selected-icon-color: #ff4081;--mdc-checkbox-selected-pressed-icon-color: #ff4081;--mdc-checkbox-unselected-focus-icon-color: #eeeeee;--mdc-checkbox-unselected-hover-icon-color: #eeeeee;--mdc-checkbox-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-checkbox-selected-focus-state-layer-color: #ff4081;--mdc-checkbox-selected-hover-state-layer-color: #ff4081;--mdc-checkbox-selected-pressed-state-layer-color: #ff4081;--mdc-checkbox-unselected-focus-state-layer-color: white;--mdc-checkbox-unselected-hover-state-layer-color: white;--mdc-checkbox-unselected-pressed-state-layer-color: white}.dark-theme .mat-mdc-list-option.mat-warn{--mdc-checkbox-disabled-selected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #f44336;--mdc-checkbox-selected-hover-icon-color: #f44336;--mdc-checkbox-selected-icon-color: #f44336;--mdc-checkbox-selected-pressed-icon-color: #f44336;--mdc-checkbox-unselected-focus-icon-color: #eeeeee;--mdc-checkbox-unselected-hover-icon-color: #eeeeee;--mdc-checkbox-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-checkbox-selected-focus-state-layer-color: #f44336;--mdc-checkbox-selected-hover-state-layer-color: #f44336;--mdc-checkbox-selected-pressed-state-layer-color: #f44336;--mdc-checkbox-unselected-focus-state-layer-color: white;--mdc-checkbox-unselected-hover-state-layer-color: white;--mdc-checkbox-unselected-pressed-state-layer-color: white}.dark-theme .mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--selected .mdc-list-item__primary-text,.dark-theme .mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--selected .mdc-list-item__start,.dark-theme .mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--activated .mdc-list-item__primary-text,.dark-theme .mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--activated .mdc-list-item__start{color:#3f51b5}.dark-theme .mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__start,.dark-theme .mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__content,.dark-theme .mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__end{opacity:1}.dark-theme .mat-mdc-tab-group,.dark-theme .mat-mdc-tab-nav-bar{--mdc-tab-indicator-active-indicator-color: #3f51b5;--mat-tab-header-disabled-ripple-color: rgba(255, 255, 255, .5);--mat-tab-header-pagination-icon-color: white;--mat-tab-header-inactive-label-text-color: rgba(255, 255, 255, .6);--mat-tab-header-active-label-text-color: #3f51b5;--mat-tab-header-active-ripple-color: #3f51b5;--mat-tab-header-inactive-ripple-color: #3f51b5;--mat-tab-header-inactive-focus-label-text-color: rgba(255, 255, 255, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(255, 255, 255, .6);--mat-tab-header-active-focus-label-text-color: #3f51b5;--mat-tab-header-active-hover-label-text-color: #3f51b5;--mat-tab-header-active-focus-indicator-color: #3f51b5;--mat-tab-header-active-hover-indicator-color: #3f51b5}.dark-theme .mat-mdc-tab-group.mat-accent,.dark-theme .mat-mdc-tab-nav-bar.mat-accent{--mdc-tab-indicator-active-indicator-color: #ff4081;--mat-tab-header-disabled-ripple-color: rgba(255, 255, 255, .5);--mat-tab-header-pagination-icon-color: white;--mat-tab-header-inactive-label-text-color: rgba(255, 255, 255, .6);--mat-tab-header-active-label-text-color: #ff4081;--mat-tab-header-active-ripple-color: #ff4081;--mat-tab-header-inactive-ripple-color: #ff4081;--mat-tab-header-inactive-focus-label-text-color: rgba(255, 255, 255, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(255, 255, 255, .6);--mat-tab-header-active-focus-label-text-color: #ff4081;--mat-tab-header-active-hover-label-text-color: #ff4081;--mat-tab-header-active-focus-indicator-color: #ff4081;--mat-tab-header-active-hover-indicator-color: #ff4081}.dark-theme .mat-mdc-tab-group.mat-warn,.dark-theme .mat-mdc-tab-nav-bar.mat-warn{--mdc-tab-indicator-active-indicator-color: #f44336;--mat-tab-header-disabled-ripple-color: rgba(255, 255, 255, .5);--mat-tab-header-pagination-icon-color: white;--mat-tab-header-inactive-label-text-color: rgba(255, 255, 255, .6);--mat-tab-header-active-label-text-color: #f44336;--mat-tab-header-active-ripple-color: #f44336;--mat-tab-header-inactive-ripple-color: #f44336;--mat-tab-header-inactive-focus-label-text-color: rgba(255, 255, 255, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(255, 255, 255, .6);--mat-tab-header-active-focus-label-text-color: #f44336;--mat-tab-header-active-hover-label-text-color: #f44336;--mat-tab-header-active-focus-indicator-color: #f44336;--mat-tab-header-active-hover-indicator-color: #f44336}.dark-theme .mat-mdc-tab-group.mat-background-primary,.dark-theme .mat-mdc-tab-nav-bar.mat-background-primary{--mat-tab-header-with-background-background-color: #3f51b5;--mat-tab-header-with-background-foreground-color: white}.dark-theme .mat-mdc-tab-group.mat-background-accent,.dark-theme .mat-mdc-tab-nav-bar.mat-background-accent{--mat-tab-header-with-background-background-color: #ff4081;--mat-tab-header-with-background-foreground-color: white}.dark-theme .mat-mdc-tab-group.mat-background-warn,.dark-theme .mat-mdc-tab-nav-bar.mat-background-warn{--mat-tab-header-with-background-background-color: #f44336;--mat-tab-header-with-background-foreground-color: white}.dark-theme .mat-mdc-checkbox.mat-primary{--mdc-checkbox-disabled-selected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #3f51b5;--mdc-checkbox-selected-hover-icon-color: #3f51b5;--mdc-checkbox-selected-icon-color: #3f51b5;--mdc-checkbox-selected-pressed-icon-color: #3f51b5;--mdc-checkbox-unselected-focus-icon-color: #eeeeee;--mdc-checkbox-unselected-hover-icon-color: #eeeeee;--mdc-checkbox-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-checkbox-selected-focus-state-layer-color: #3f51b5;--mdc-checkbox-selected-hover-state-layer-color: #3f51b5;--mdc-checkbox-selected-pressed-state-layer-color: #3f51b5;--mdc-checkbox-unselected-focus-state-layer-color: white;--mdc-checkbox-unselected-hover-state-layer-color: white;--mdc-checkbox-unselected-pressed-state-layer-color: white}.dark-theme .mat-mdc-checkbox.mat-warn{--mdc-checkbox-disabled-selected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #f44336;--mdc-checkbox-selected-hover-icon-color: #f44336;--mdc-checkbox-selected-icon-color: #f44336;--mdc-checkbox-selected-pressed-icon-color: #f44336;--mdc-checkbox-unselected-focus-icon-color: #eeeeee;--mdc-checkbox-unselected-hover-icon-color: #eeeeee;--mdc-checkbox-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-checkbox-selected-focus-state-layer-color: #f44336;--mdc-checkbox-selected-hover-state-layer-color: #f44336;--mdc-checkbox-selected-pressed-state-layer-color: #f44336;--mdc-checkbox-unselected-focus-state-layer-color: white;--mdc-checkbox-unselected-hover-state-layer-color: white;--mdc-checkbox-unselected-pressed-state-layer-color: white}.dark-theme .mat-mdc-button.mat-primary{--mdc-text-button-label-text-color: #3f51b5;--mat-text-button-state-layer-color: #3f51b5;--mat-text-button-ripple-color: rgba(63, 81, 181, .1)}.dark-theme .mat-mdc-button.mat-accent{--mdc-text-button-label-text-color: #ff4081;--mat-text-button-state-layer-color: #ff4081;--mat-text-button-ripple-color: rgba(255, 64, 129, .1)}.dark-theme .mat-mdc-button.mat-warn{--mdc-text-button-label-text-color: #f44336;--mat-text-button-state-layer-color: #f44336;--mat-text-button-ripple-color: rgba(244, 67, 54, .1)}.dark-theme .mat-mdc-unelevated-button.mat-primary{--mdc-filled-button-container-color: #3f51b5;--mdc-filled-button-label-text-color: white;--mat-filled-button-state-layer-color: white;--mat-filled-button-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-unelevated-button.mat-accent{--mdc-filled-button-container-color: #ff4081;--mdc-filled-button-label-text-color: white;--mat-filled-button-state-layer-color: white;--mat-filled-button-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-unelevated-button.mat-warn{--mdc-filled-button-container-color: #f44336;--mdc-filled-button-label-text-color: white;--mat-filled-button-state-layer-color: white;--mat-filled-button-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-raised-button.mat-primary{--mdc-protected-button-container-color: #3f51b5;--mdc-protected-button-label-text-color: white;--mat-protected-button-state-layer-color: white;--mat-protected-button-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-raised-button.mat-accent{--mdc-protected-button-container-color: #ff4081;--mdc-protected-button-label-text-color: white;--mat-protected-button-state-layer-color: white;--mat-protected-button-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-raised-button.mat-warn{--mdc-protected-button-container-color: #f44336;--mdc-protected-button-label-text-color: white;--mat-protected-button-state-layer-color: white;--mat-protected-button-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-outlined-button.mat-primary{--mdc-outlined-button-label-text-color: #3f51b5;--mdc-outlined-button-outline-color: rgba(255, 255, 255, .12);--mat-outlined-button-state-layer-color: #3f51b5;--mat-outlined-button-ripple-color: rgba(63, 81, 181, .1)}.dark-theme .mat-mdc-outlined-button.mat-accent{--mdc-outlined-button-label-text-color: #ff4081;--mdc-outlined-button-outline-color: rgba(255, 255, 255, .12);--mat-outlined-button-state-layer-color: #ff4081;--mat-outlined-button-ripple-color: rgba(255, 64, 129, .1)}.dark-theme .mat-mdc-outlined-button.mat-warn{--mdc-outlined-button-label-text-color: #f44336;--mdc-outlined-button-outline-color: rgba(255, 255, 255, .12);--mat-outlined-button-state-layer-color: #f44336;--mat-outlined-button-ripple-color: rgba(244, 67, 54, .1)}.dark-theme .mat-mdc-icon-button.mat-primary{--mdc-icon-button-icon-color: #3f51b5;--mat-icon-button-state-layer-color: #3f51b5;--mat-icon-button-ripple-color: rgba(63, 81, 181, .1)}.dark-theme .mat-mdc-icon-button.mat-accent{--mdc-icon-button-icon-color: #ff4081;--mat-icon-button-state-layer-color: #ff4081;--mat-icon-button-ripple-color: rgba(255, 64, 129, .1)}.dark-theme .mat-mdc-icon-button.mat-warn{--mdc-icon-button-icon-color: #f44336;--mat-icon-button-state-layer-color: #f44336;--mat-icon-button-ripple-color: rgba(244, 67, 54, .1)}.dark-theme .mat-mdc-fab.mat-primary{--mdc-fab-container-color: #3f51b5;--mat-fab-foreground-color: white;--mat-fab-state-layer-color: white;--mat-fab-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-fab.mat-accent{--mdc-fab-container-color: #ff4081;--mat-fab-foreground-color: white;--mat-fab-state-layer-color: white;--mat-fab-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-fab.mat-warn{--mdc-fab-container-color: #f44336;--mat-fab-foreground-color: white;--mat-fab-state-layer-color: white;--mat-fab-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-mini-fab.mat-primary{--mdc-fab-small-container-color: #3f51b5;--mat-fab-small-foreground-color: white;--mat-fab-small-state-layer-color: white;--mat-fab-small-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-mini-fab.mat-accent{--mdc-fab-small-container-color: #ff4081;--mat-fab-small-foreground-color: white;--mat-fab-small-state-layer-color: white;--mat-fab-small-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-mini-fab.mat-warn{--mdc-fab-small-container-color: #f44336;--mat-fab-small-foreground-color: white;--mat-fab-small-state-layer-color: white;--mat-fab-small-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-accent{--mdc-circular-progress-active-indicator-color: #ff4081}.dark-theme .mat-warn{--mdc-circular-progress-active-indicator-color: #f44336}.dark-theme .mat-badge-accent{--mat-badge-background-color: #ff4081;--mat-badge-text-color: white}.dark-theme .mat-badge-warn{--mat-badge-background-color: #f44336;--mat-badge-text-color: white}.dark-theme .mat-datepicker-content.mat-accent{--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #ff4081;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(255, 64, 129, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: rgba(255, 64, 129, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(255, 64, 129, .3);--mat-datepicker-calendar-date-in-range-state-background-color: rgba(255, 64, 129, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: #46a35e}.dark-theme .mat-datepicker-content.mat-warn{--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #f44336;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(244, 67, 54, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: rgba(244, 67, 54, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(244, 67, 54, .3);--mat-datepicker-calendar-date-in-range-state-background-color: rgba(244, 67, 54, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: #46a35e}.dark-theme .mat-datepicker-toggle-active.mat-accent{--mat-datepicker-toggle-active-state-icon-color: #ff4081}.dark-theme .mat-datepicker-toggle-active.mat-warn{--mat-datepicker-toggle-active-state-icon-color: #f44336}.dark-theme .mat-icon.mat-primary{--mat-icon-color: #3f51b5}.dark-theme .mat-icon.mat-accent{--mat-icon-color: #ff4081}.dark-theme .mat-icon.mat-warn{--mat-icon-color: #f44336}.dark-theme .mat-step-header.mat-accent{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #ff4081;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #ff4081;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #ff4081;--mat-stepper-header-edit-state-icon-foreground-color: white}.dark-theme .mat-step-header.mat-warn{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #f44336;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #f44336;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #f44336;--mat-stepper-header-edit-state-icon-foreground-color: white}.dark-theme .mat-toolbar.mat-primary{--mat-toolbar-container-background-color: #3f51b5;--mat-toolbar-container-text-color: white}.dark-theme .mat-toolbar.mat-accent{--mat-toolbar-container-background-color: #ff4081;--mat-toolbar-container-text-color: white}.dark-theme .mat-toolbar.mat-warn{--mat-toolbar-container-background-color: #f44336;--mat-toolbar-container-text-color: white}.dark-theme html,.dark-theme body{background-color:#303030}.dark-theme .mat-toolbar.mat-primary{background:#303030;color:#fff}.dark-theme .card{background-color:#303030;border-color:#666;box-shadow:#ffffff24 0 1px 4px;color:#fff}.dark-theme .card-header{background-image:linear-gradient(60deg,#4b5266,#465d9c);border-bottom-color:#fff;box-shadow:#00000024 0 4px 20px,#465d9c66 0 7px 10px -5px;color:#fff}.dark-theme .card-title>a{color:#fff}.dark-theme .card-subtitle{font-size:.9rem;margin-left:1.4rem}.dark-theme .detail>.title{background-image:linear-gradient(60deg,#4766bc,#465d9c);border-bottom-color:#fff;box-shadow:#00000024 0 4px 20px,#465d9c66 0 7px 10px -5px;color:#fff}.dark-theme .detail>.title a{color:#ff0}.dark-theme .mat-mdc-menu-content .mat-mdc-menu-item:hover{background-color:#565656!important}.dark-theme .mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:#565656}.dark-theme .mat-primary .mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:#fff}.dark-theme uds-sidebar .icon{filter:brightness(0) invert(1)} +.mat-elevation-z0,.mat-mdc-elevation-specific.mat-elevation-z0{box-shadow:var(--mat-app-elevation-shadow-level-0, none)}.mat-elevation-z1,.mat-mdc-elevation-specific.mat-elevation-z1{box-shadow:var(--mat-app-elevation-shadow-level-1, none)}.mat-elevation-z2,.mat-mdc-elevation-specific.mat-elevation-z2{box-shadow:var(--mat-app-elevation-shadow-level-2, none)}.mat-elevation-z3,.mat-mdc-elevation-specific.mat-elevation-z3{box-shadow:var(--mat-app-elevation-shadow-level-3, none)}.mat-elevation-z4,.mat-mdc-elevation-specific.mat-elevation-z4{box-shadow:var(--mat-app-elevation-shadow-level-4, none)}.mat-elevation-z5,.mat-mdc-elevation-specific.mat-elevation-z5{box-shadow:var(--mat-app-elevation-shadow-level-5, none)}.mat-elevation-z6,.mat-mdc-elevation-specific.mat-elevation-z6{box-shadow:var(--mat-app-elevation-shadow-level-6, none)}.mat-elevation-z7,.mat-mdc-elevation-specific.mat-elevation-z7{box-shadow:var(--mat-app-elevation-shadow-level-7, none)}.mat-elevation-z8,.mat-mdc-elevation-specific.mat-elevation-z8{box-shadow:var(--mat-app-elevation-shadow-level-8, none)}.mat-elevation-z9,.mat-mdc-elevation-specific.mat-elevation-z9{box-shadow:var(--mat-app-elevation-shadow-level-9, none)}.mat-elevation-z10,.mat-mdc-elevation-specific.mat-elevation-z10{box-shadow:var(--mat-app-elevation-shadow-level-10, none)}.mat-elevation-z11,.mat-mdc-elevation-specific.mat-elevation-z11{box-shadow:var(--mat-app-elevation-shadow-level-11, none)}.mat-elevation-z12,.mat-mdc-elevation-specific.mat-elevation-z12{box-shadow:var(--mat-app-elevation-shadow-level-12, none)}.mat-elevation-z13,.mat-mdc-elevation-specific.mat-elevation-z13{box-shadow:var(--mat-app-elevation-shadow-level-13, none)}.mat-elevation-z14,.mat-mdc-elevation-specific.mat-elevation-z14{box-shadow:var(--mat-app-elevation-shadow-level-14, none)}.mat-elevation-z15,.mat-mdc-elevation-specific.mat-elevation-z15{box-shadow:var(--mat-app-elevation-shadow-level-15, none)}.mat-elevation-z16,.mat-mdc-elevation-specific.mat-elevation-z16{box-shadow:var(--mat-app-elevation-shadow-level-16, none)}.mat-elevation-z17,.mat-mdc-elevation-specific.mat-elevation-z17{box-shadow:var(--mat-app-elevation-shadow-level-17, none)}.mat-elevation-z18,.mat-mdc-elevation-specific.mat-elevation-z18{box-shadow:var(--mat-app-elevation-shadow-level-18, none)}.mat-elevation-z19,.mat-mdc-elevation-specific.mat-elevation-z19{box-shadow:var(--mat-app-elevation-shadow-level-19, none)}.mat-elevation-z20,.mat-mdc-elevation-specific.mat-elevation-z20{box-shadow:var(--mat-app-elevation-shadow-level-20, none)}.mat-elevation-z21,.mat-mdc-elevation-specific.mat-elevation-z21{box-shadow:var(--mat-app-elevation-shadow-level-21, none)}.mat-elevation-z22,.mat-mdc-elevation-specific.mat-elevation-z22{box-shadow:var(--mat-app-elevation-shadow-level-22, none)}.mat-elevation-z23,.mat-mdc-elevation-specific.mat-elevation-z23{box-shadow:var(--mat-app-elevation-shadow-level-23, none)}.mat-elevation-z24,.mat-mdc-elevation-specific.mat-elevation-z24{box-shadow:var(--mat-app-elevation-shadow-level-24, none)}html{--mat-sys-on-surface: initial}.mat-app-background{background-color:var(--mat-app-background-color, var(--mat-sys-background, transparent));color:var(--mat-app-text-color, var(--mat-sys-on-background, inherit))}html{--mat-ripple-color: rgba(0, 0, 0, .1)}html{--mat-option-selected-state-label-text-color: #3f51b5;--mat-option-label-text-color: rgba(0, 0, 0, .87);--mat-option-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-option-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-option-selected-state-layer-color: rgba(0, 0, 0, .04)}.mat-accent{--mat-option-selected-state-label-text-color: #ff4081;--mat-option-label-text-color: rgba(0, 0, 0, .87);--mat-option-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-option-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-option-selected-state-layer-color: rgba(0, 0, 0, .04)}.mat-warn{--mat-option-selected-state-label-text-color: #f44336;--mat-option-label-text-color: rgba(0, 0, 0, .87);--mat-option-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-option-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-option-selected-state-layer-color: rgba(0, 0, 0, .04)}html{--mat-optgroup-label-text-color: rgba(0, 0, 0, .87)}html{--mat-full-pseudo-checkbox-selected-icon-color: #ff4081;--mat-full-pseudo-checkbox-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: #b0b0b0;--mat-full-pseudo-checkbox-disabled-selected-icon-color: #b0b0b0}html{--mat-minimal-pseudo-checkbox-selected-checkmark-color: #ff4081;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: #b0b0b0}.mat-primary{--mat-full-pseudo-checkbox-selected-icon-color: #3f51b5;--mat-full-pseudo-checkbox-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: #b0b0b0;--mat-full-pseudo-checkbox-disabled-selected-icon-color: #b0b0b0}.mat-primary{--mat-minimal-pseudo-checkbox-selected-checkmark-color: #3f51b5;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: #b0b0b0}.mat-accent{--mat-full-pseudo-checkbox-selected-icon-color: #ff4081;--mat-full-pseudo-checkbox-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: #b0b0b0;--mat-full-pseudo-checkbox-disabled-selected-icon-color: #b0b0b0}.mat-accent{--mat-minimal-pseudo-checkbox-selected-checkmark-color: #ff4081;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: #b0b0b0}.mat-warn{--mat-full-pseudo-checkbox-selected-icon-color: #f44336;--mat-full-pseudo-checkbox-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: #b0b0b0;--mat-full-pseudo-checkbox-disabled-selected-icon-color: #b0b0b0}.mat-warn{--mat-minimal-pseudo-checkbox-selected-checkmark-color: #f44336;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: #b0b0b0}html{--mat-app-background-color: #fafafa;--mat-app-text-color: rgba(0, 0, 0, .87);--mat-app-elevation-shadow-level-0: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-1: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-2: 0px 3px 1px -2px rgba(0, 0, 0, .2), 0px 2px 2px 0px rgba(0, 0, 0, .14), 0px 1px 5px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-3: 0px 3px 3px -2px rgba(0, 0, 0, .2), 0px 3px 4px 0px rgba(0, 0, 0, .14), 0px 1px 8px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-4: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-5: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 5px 8px 0px rgba(0, 0, 0, .14), 0px 1px 14px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-6: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-7: 0px 4px 5px -2px rgba(0, 0, 0, .2), 0px 7px 10px 1px rgba(0, 0, 0, .14), 0px 2px 16px 1px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-8: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-9: 0px 5px 6px -3px rgba(0, 0, 0, .2), 0px 9px 12px 1px rgba(0, 0, 0, .14), 0px 3px 16px 2px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-10: 0px 6px 6px -3px rgba(0, 0, 0, .2), 0px 10px 14px 1px rgba(0, 0, 0, .14), 0px 4px 18px 3px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-11: 0px 6px 7px -4px rgba(0, 0, 0, .2), 0px 11px 15px 1px rgba(0, 0, 0, .14), 0px 4px 20px 3px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-12: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-13: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 13px 19px 2px rgba(0, 0, 0, .14), 0px 5px 24px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-14: 0px 7px 9px -4px rgba(0, 0, 0, .2), 0px 14px 21px 2px rgba(0, 0, 0, .14), 0px 5px 26px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-15: 0px 8px 9px -5px rgba(0, 0, 0, .2), 0px 15px 22px 2px rgba(0, 0, 0, .14), 0px 6px 28px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-16: 0px 8px 10px -5px rgba(0, 0, 0, .2), 0px 16px 24px 2px rgba(0, 0, 0, .14), 0px 6px 30px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-17: 0px 8px 11px -5px rgba(0, 0, 0, .2), 0px 17px 26px 2px rgba(0, 0, 0, .14), 0px 6px 32px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-18: 0px 9px 11px -5px rgba(0, 0, 0, .2), 0px 18px 28px 2px rgba(0, 0, 0, .14), 0px 7px 34px 6px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-19: 0px 9px 12px -6px rgba(0, 0, 0, .2), 0px 19px 29px 2px rgba(0, 0, 0, .14), 0px 7px 36px 6px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-20: 0px 10px 13px -6px rgba(0, 0, 0, .2), 0px 20px 31px 3px rgba(0, 0, 0, .14), 0px 8px 38px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-21: 0px 10px 13px -6px rgba(0, 0, 0, .2), 0px 21px 33px 3px rgba(0, 0, 0, .14), 0px 8px 40px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-22: 0px 10px 14px -6px rgba(0, 0, 0, .2), 0px 22px 35px 3px rgba(0, 0, 0, .14), 0px 8px 42px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-23: 0px 11px 14px -7px rgba(0, 0, 0, .2), 0px 23px 36px 3px rgba(0, 0, 0, .14), 0px 9px 44px 8px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-24: 0px 11px 15px -7px rgba(0, 0, 0, .2), 0px 24px 38px 3px rgba(0, 0, 0, .14), 0px 9px 46px 8px rgba(0, 0, 0, .12)}html{--mat-option-label-text-font: Roboto, sans-serif;--mat-option-label-text-line-height: 24px;--mat-option-label-text-size: 16px;--mat-option-label-text-tracking: .03125em;--mat-option-label-text-weight: 400}html{--mat-optgroup-label-text-font: Roboto, sans-serif;--mat-optgroup-label-text-line-height: 24px;--mat-optgroup-label-text-size: 16px;--mat-optgroup-label-text-tracking: .03125em;--mat-optgroup-label-text-weight: 400}html{--mdc-elevated-card-container-shape: 4px}html{--mdc-outlined-card-container-shape: 4px;--mdc-outlined-card-outline-width: 1px}html{--mdc-elevated-card-container-color: white;--mdc-elevated-card-container-elevation: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12)}html{--mdc-outlined-card-container-color: white;--mdc-outlined-card-outline-color: rgba(0, 0, 0, .12);--mdc-outlined-card-container-elevation: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12)}html{--mat-card-subtitle-text-color: rgba(0, 0, 0, .54)}html{--mat-card-title-text-font: Roboto, sans-serif;--mat-card-title-text-line-height: 32px;--mat-card-title-text-size: 20px;--mat-card-title-text-tracking: .0125em;--mat-card-title-text-weight: 500;--mat-card-subtitle-text-font: Roboto, sans-serif;--mat-card-subtitle-text-line-height: 22px;--mat-card-subtitle-text-size: 14px;--mat-card-subtitle-text-tracking: .0071428571em;--mat-card-subtitle-text-weight: 500}html{--mdc-linear-progress-active-indicator-height: 4px;--mdc-linear-progress-track-height: 4px;--mdc-linear-progress-track-shape: 0}.mat-mdc-progress-bar{--mdc-linear-progress-active-indicator-color: #3f51b5;--mdc-linear-progress-track-color: rgba(63, 81, 181, .25)}.mat-mdc-progress-bar.mat-accent{--mdc-linear-progress-active-indicator-color: #ff4081;--mdc-linear-progress-track-color: rgba(255, 64, 129, .25)}.mat-mdc-progress-bar.mat-warn{--mdc-linear-progress-active-indicator-color: #f44336;--mdc-linear-progress-track-color: rgba(244, 67, 54, .25)}html{--mdc-plain-tooltip-container-shape: 4px;--mdc-plain-tooltip-supporting-text-line-height: 16px}html{--mdc-plain-tooltip-container-color: #616161;--mdc-plain-tooltip-supporting-text-color: #fff}html{--mdc-plain-tooltip-supporting-text-font: Roboto, sans-serif;--mdc-plain-tooltip-supporting-text-size: 12px;--mdc-plain-tooltip-supporting-text-weight: 400;--mdc-plain-tooltip-supporting-text-tracking: .0333333333em}html{--mdc-filled-text-field-active-indicator-height: 1px;--mdc-filled-text-field-focus-active-indicator-height: 2px;--mdc-filled-text-field-container-shape: 4px}html{--mdc-outlined-text-field-outline-width: 1px;--mdc-outlined-text-field-focus-outline-width: 2px;--mdc-outlined-text-field-container-shape: 4px}html{--mdc-filled-text-field-caret-color: #3f51b5;--mdc-filled-text-field-focus-active-indicator-color: #3f51b5;--mdc-filled-text-field-focus-label-text-color: rgba(63, 81, 181, .87);--mdc-filled-text-field-container-color: rgb(244.8, 244.8, 244.8);--mdc-filled-text-field-disabled-container-color: rgb(249.9, 249.9, 249.9);--mdc-filled-text-field-label-text-color: rgba(0, 0, 0, .6);--mdc-filled-text-field-hover-label-text-color: rgba(0, 0, 0, .6);--mdc-filled-text-field-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-filled-text-field-input-text-color: rgba(0, 0, 0, .87);--mdc-filled-text-field-disabled-input-text-color: rgba(0, 0, 0, .38);--mdc-filled-text-field-input-text-placeholder-color: rgba(0, 0, 0, .6);--mdc-filled-text-field-error-hover-label-text-color: #f44336;--mdc-filled-text-field-error-focus-label-text-color: #f44336;--mdc-filled-text-field-error-label-text-color: #f44336;--mdc-filled-text-field-error-caret-color: #f44336;--mdc-filled-text-field-active-indicator-color: rgba(0, 0, 0, .42);--mdc-filled-text-field-disabled-active-indicator-color: rgba(0, 0, 0, .06);--mdc-filled-text-field-hover-active-indicator-color: rgba(0, 0, 0, .87);--mdc-filled-text-field-error-active-indicator-color: #f44336;--mdc-filled-text-field-error-focus-active-indicator-color: #f44336;--mdc-filled-text-field-error-hover-active-indicator-color: #f44336}html{--mdc-outlined-text-field-caret-color: #3f51b5;--mdc-outlined-text-field-focus-outline-color: #3f51b5;--mdc-outlined-text-field-focus-label-text-color: rgba(63, 81, 181, .87);--mdc-outlined-text-field-label-text-color: rgba(0, 0, 0, .6);--mdc-outlined-text-field-hover-label-text-color: rgba(0, 0, 0, .6);--mdc-outlined-text-field-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-outlined-text-field-input-text-color: rgba(0, 0, 0, .87);--mdc-outlined-text-field-disabled-input-text-color: rgba(0, 0, 0, .38);--mdc-outlined-text-field-input-text-placeholder-color: rgba(0, 0, 0, .6);--mdc-outlined-text-field-error-caret-color: #f44336;--mdc-outlined-text-field-error-focus-label-text-color: #f44336;--mdc-outlined-text-field-error-label-text-color: #f44336;--mdc-outlined-text-field-error-hover-label-text-color: #f44336;--mdc-outlined-text-field-outline-color: rgba(0, 0, 0, .38);--mdc-outlined-text-field-disabled-outline-color: rgba(0, 0, 0, .06);--mdc-outlined-text-field-hover-outline-color: rgba(0, 0, 0, .87);--mdc-outlined-text-field-error-focus-outline-color: #f44336;--mdc-outlined-text-field-error-hover-outline-color: #f44336;--mdc-outlined-text-field-error-outline-color: #f44336}html{--mat-form-field-focus-select-arrow-color: rgba(63, 81, 181, .87);--mat-form-field-disabled-input-text-placeholder-color: rgba(0, 0, 0, .38);--mat-form-field-state-layer-color: rgba(0, 0, 0, .87);--mat-form-field-error-text-color: #f44336;--mat-form-field-select-option-text-color: inherit;--mat-form-field-select-disabled-option-text-color: GrayText;--mat-form-field-leading-icon-color: unset;--mat-form-field-disabled-leading-icon-color: unset;--mat-form-field-trailing-icon-color: unset;--mat-form-field-disabled-trailing-icon-color: unset;--mat-form-field-error-focus-trailing-icon-color: unset;--mat-form-field-error-hover-trailing-icon-color: unset;--mat-form-field-error-trailing-icon-color: unset;--mat-form-field-enabled-select-arrow-color: rgba(0, 0, 0, .54);--mat-form-field-disabled-select-arrow-color: rgba(0, 0, 0, .38);--mat-form-field-hover-state-layer-opacity: .04;--mat-form-field-focus-state-layer-opacity: .08}.mat-mdc-form-field.mat-accent{--mdc-filled-text-field-caret-color: #ff4081;--mdc-filled-text-field-focus-active-indicator-color: #ff4081;--mdc-filled-text-field-focus-label-text-color: rgba(255, 64, 129, .87)}.mat-mdc-form-field.mat-accent{--mdc-outlined-text-field-caret-color: #ff4081;--mdc-outlined-text-field-focus-outline-color: #ff4081;--mdc-outlined-text-field-focus-label-text-color: rgba(255, 64, 129, .87)}.mat-mdc-form-field.mat-accent{--mat-form-field-focus-select-arrow-color: rgba(255, 64, 129, .87)}.mat-mdc-form-field.mat-warn{--mdc-filled-text-field-caret-color: #f44336;--mdc-filled-text-field-focus-active-indicator-color: #f44336;--mdc-filled-text-field-focus-label-text-color: rgba(244, 67, 54, .87)}.mat-mdc-form-field.mat-warn{--mdc-outlined-text-field-caret-color: #f44336;--mdc-outlined-text-field-focus-outline-color: #f44336;--mdc-outlined-text-field-focus-label-text-color: rgba(244, 67, 54, .87)}.mat-mdc-form-field.mat-warn{--mat-form-field-focus-select-arrow-color: rgba(244, 67, 54, .87)}html{--mat-form-field-container-height: 56px;--mat-form-field-filled-label-display: block;--mat-form-field-container-vertical-padding: 16px;--mat-form-field-filled-with-label-container-padding-top: 24px;--mat-form-field-filled-with-label-container-padding-bottom: 8px}html{--mdc-filled-text-field-label-text-font: Roboto, sans-serif;--mdc-filled-text-field-label-text-size: 16px;--mdc-filled-text-field-label-text-tracking: .03125em;--mdc-filled-text-field-label-text-weight: 400}html{--mdc-outlined-text-field-label-text-font: Roboto, sans-serif;--mdc-outlined-text-field-label-text-size: 16px;--mdc-outlined-text-field-label-text-tracking: .03125em;--mdc-outlined-text-field-label-text-weight: 400}html{--mat-form-field-container-text-font: Roboto, sans-serif;--mat-form-field-container-text-line-height: 24px;--mat-form-field-container-text-size: 16px;--mat-form-field-container-text-tracking: .03125em;--mat-form-field-container-text-weight: 400;--mat-form-field-outlined-label-text-populated-size: 16px;--mat-form-field-subscript-text-font: Roboto, sans-serif;--mat-form-field-subscript-text-line-height: 20px;--mat-form-field-subscript-text-size: 12px;--mat-form-field-subscript-text-tracking: .0333333333em;--mat-form-field-subscript-text-weight: 400}html{--mat-select-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12)}html{--mat-select-panel-background-color: white;--mat-select-enabled-trigger-text-color: rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color: rgba(0, 0, 0, .38);--mat-select-placeholder-text-color: rgba(0, 0, 0, .6);--mat-select-enabled-arrow-color: rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color: rgba(0, 0, 0, .38);--mat-select-focused-arrow-color: rgba(63, 81, 181, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87)}html .mat-mdc-form-field.mat-accent{--mat-select-panel-background-color: white;--mat-select-enabled-trigger-text-color: rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color: rgba(0, 0, 0, .38);--mat-select-placeholder-text-color: rgba(0, 0, 0, .6);--mat-select-enabled-arrow-color: rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color: rgba(0, 0, 0, .38);--mat-select-focused-arrow-color: rgba(255, 64, 129, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87)}html .mat-mdc-form-field.mat-warn{--mat-select-panel-background-color: white;--mat-select-enabled-trigger-text-color: rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color: rgba(0, 0, 0, .38);--mat-select-placeholder-text-color: rgba(0, 0, 0, .6);--mat-select-enabled-arrow-color: rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color: rgba(0, 0, 0, .38);--mat-select-focused-arrow-color: rgba(244, 67, 54, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87)}html{--mat-select-arrow-transform: translateY(-8px)}html{--mat-select-trigger-text-font: Roboto, sans-serif;--mat-select-trigger-text-line-height: 24px;--mat-select-trigger-text-size: 16px;--mat-select-trigger-text-tracking: .03125em;--mat-select-trigger-text-weight: 400}html{--mat-autocomplete-container-shape: 4px;--mat-autocomplete-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12)}html{--mat-autocomplete-background-color: white}html{--mdc-dialog-container-shape: 4px}html{--mat-dialog-container-elevation-shadow: 0px 11px 15px -7px rgba(0, 0, 0, .2), 0px 24px 38px 3px rgba(0, 0, 0, .14), 0px 9px 46px 8px rgba(0, 0, 0, .12);--mat-dialog-container-max-width: 80vw;--mat-dialog-container-small-max-width: 80vw;--mat-dialog-container-min-width: 0;--mat-dialog-actions-alignment: start;--mat-dialog-actions-padding: 8px;--mat-dialog-content-padding: 20px 24px;--mat-dialog-with-actions-content-padding: 20px 24px;--mat-dialog-headline-padding: 0 24px 9px}html{--mdc-dialog-container-color: white;--mdc-dialog-subhead-color: rgba(0, 0, 0, .87);--mdc-dialog-supporting-text-color: rgba(0, 0, 0, .6)}html{--mdc-dialog-subhead-font: Roboto, sans-serif;--mdc-dialog-subhead-line-height: 32px;--mdc-dialog-subhead-size: 20px;--mdc-dialog-subhead-weight: 500;--mdc-dialog-subhead-tracking: .0125em;--mdc-dialog-supporting-text-font: Roboto, sans-serif;--mdc-dialog-supporting-text-line-height: 24px;--mdc-dialog-supporting-text-size: 16px;--mdc-dialog-supporting-text-weight: 400;--mdc-dialog-supporting-text-tracking: .03125em}.mat-mdc-standard-chip{--mdc-chip-container-shape-radius: 16px;--mdc-chip-with-avatar-avatar-shape-radius: 14px;--mdc-chip-with-avatar-avatar-size: 28px;--mdc-chip-with-icon-icon-size: 18px;--mdc-chip-outline-width: 0;--mdc-chip-outline-color: transparent;--mdc-chip-disabled-outline-color: transparent;--mdc-chip-focus-outline-color: transparent;--mdc-chip-hover-state-layer-opacity: .04;--mdc-chip-with-avatar-disabled-avatar-opacity: 1;--mdc-chip-flat-selected-outline-width: 0;--mdc-chip-selected-hover-state-layer-opacity: .04;--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity: 1;--mdc-chip-with-icon-disabled-icon-opacity: 1}.mat-mdc-standard-chip{--mat-chip-disabled-container-opacity: .4;--mat-chip-trailing-action-opacity: .54;--mat-chip-trailing-action-focus-opacity: 1;--mat-chip-trailing-action-state-layer-color: transparent;--mat-chip-selected-trailing-action-state-layer-color: transparent;--mat-chip-trailing-action-hover-state-layer-opacity: 0;--mat-chip-trailing-action-focus-state-layer-opacity: 0}.mat-mdc-standard-chip{--mdc-chip-disabled-label-text-color: #212121;--mdc-chip-elevated-container-color: rgb(224.4, 224.4, 224.4);--mdc-chip-elevated-selected-container-color: rgb(224.4, 224.4, 224.4);--mdc-chip-elevated-disabled-container-color: rgb(224.4, 224.4, 224.4);--mdc-chip-flat-disabled-selected-container-color: rgb(224.4, 224.4, 224.4);--mdc-chip-focus-state-layer-color: black;--mdc-chip-hover-state-layer-color: black;--mdc-chip-selected-hover-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-selected-focus-state-layer-color: black;--mdc-chip-selected-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: #212121;--mdc-chip-selected-label-text-color: #212121;--mdc-chip-with-icon-icon-color: #212121;--mdc-chip-with-icon-disabled-icon-color: #212121;--mdc-chip-with-icon-selected-icon-color: #212121;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: #212121;--mdc-chip-with-trailing-icon-trailing-icon-color: #212121}.mat-mdc-standard-chip{--mat-chip-selected-disabled-trailing-icon-color: #212121;--mat-chip-selected-trailing-icon-color: #212121}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-primary,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-primary{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #3f51b5;--mdc-chip-elevated-selected-container-color: #3f51b5;--mdc-chip-elevated-disabled-container-color: #3f51b5;--mdc-chip-flat-disabled-selected-container-color: #3f51b5;--mdc-chip-focus-state-layer-color: black;--mdc-chip-hover-state-layer-color: black;--mdc-chip-selected-hover-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-selected-focus-state-layer-color: black;--mdc-chip-selected-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: white;--mdc-chip-selected-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-primary,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-primary{--mat-chip-selected-disabled-trailing-icon-color: white;--mat-chip-selected-trailing-icon-color: white}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-accent,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-accent{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #ff4081;--mdc-chip-elevated-selected-container-color: #ff4081;--mdc-chip-elevated-disabled-container-color: #ff4081;--mdc-chip-flat-disabled-selected-container-color: #ff4081;--mdc-chip-focus-state-layer-color: black;--mdc-chip-hover-state-layer-color: black;--mdc-chip-selected-hover-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-selected-focus-state-layer-color: black;--mdc-chip-selected-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: white;--mdc-chip-selected-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-accent,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-accent{--mat-chip-selected-disabled-trailing-icon-color: white;--mat-chip-selected-trailing-icon-color: white}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-warn,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-warn{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #f44336;--mdc-chip-elevated-selected-container-color: #f44336;--mdc-chip-elevated-disabled-container-color: #f44336;--mdc-chip-flat-disabled-selected-container-color: #f44336;--mdc-chip-focus-state-layer-color: black;--mdc-chip-hover-state-layer-color: black;--mdc-chip-selected-hover-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-selected-focus-state-layer-color: black;--mdc-chip-selected-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: white;--mdc-chip-selected-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-warn,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-warn{--mat-chip-selected-disabled-trailing-icon-color: white;--mat-chip-selected-trailing-icon-color: white}.mat-mdc-chip.mat-mdc-standard-chip{--mdc-chip-container-height: 32px}.mat-mdc-standard-chip{--mdc-chip-label-text-font: Roboto, sans-serif;--mdc-chip-label-text-line-height: 20px;--mdc-chip-label-text-size: 14px;--mdc-chip-label-text-tracking: .0178571429em;--mdc-chip-label-text-weight: 400}html{--mdc-switch-disabled-selected-icon-opacity: .38;--mdc-switch-disabled-track-opacity: .12;--mdc-switch-disabled-unselected-icon-opacity: .38;--mdc-switch-handle-height: 20px;--mdc-switch-handle-shape: 10px;--mdc-switch-handle-width: 20px;--mdc-switch-selected-icon-size: 18px;--mdc-switch-track-height: 14px;--mdc-switch-track-shape: 7px;--mdc-switch-track-width: 36px;--mdc-switch-unselected-icon-size: 18px;--mdc-switch-selected-focus-state-layer-opacity: .12;--mdc-switch-selected-hover-state-layer-opacity: .04;--mdc-switch-selected-pressed-state-layer-opacity: .1;--mdc-switch-unselected-focus-state-layer-opacity: .12;--mdc-switch-unselected-hover-state-layer-opacity: .04;--mdc-switch-unselected-pressed-state-layer-opacity: .1}html .mat-mdc-slide-toggle{--mat-switch-disabled-selected-handle-opacity: .38;--mat-switch-disabled-unselected-handle-opacity: .38;--mat-switch-unselected-handle-size: 20px;--mat-switch-selected-handle-size: 20px;--mat-switch-pressed-handle-size: 20px;--mat-switch-with-icon-handle-size: 20px;--mat-switch-selected-handle-horizontal-margin: 0;--mat-switch-selected-with-icon-handle-horizontal-margin: 0;--mat-switch-selected-pressed-handle-horizontal-margin: 0;--mat-switch-unselected-handle-horizontal-margin: 0;--mat-switch-unselected-with-icon-handle-horizontal-margin: 0;--mat-switch-unselected-pressed-handle-horizontal-margin: 0;--mat-switch-visible-track-opacity: 1;--mat-switch-hidden-track-opacity: 1;--mat-switch-visible-track-transition: transform 75ms 0ms cubic-bezier(0, 0, .2, 1);--mat-switch-hidden-track-transition: transform 75ms 0ms cubic-bezier(.4, 0, .6, 1);--mat-switch-track-outline-width: 1px;--mat-switch-track-outline-color: transparent;--mat-switch-selected-track-outline-width: 1px;--mat-switch-selected-track-outline-color: transparent;--mat-switch-disabled-unselected-track-outline-width: 1px;--mat-switch-disabled-unselected-track-outline-color: transparent}html{--mdc-switch-selected-focus-state-layer-color: #3949ab;--mdc-switch-selected-handle-color: #3949ab;--mdc-switch-selected-hover-state-layer-color: #3949ab;--mdc-switch-selected-pressed-state-layer-color: #3949ab;--mdc-switch-selected-focus-handle-color: #1a237e;--mdc-switch-selected-hover-handle-color: #1a237e;--mdc-switch-selected-pressed-handle-color: #1a237e;--mdc-switch-selected-focus-track-color: #7986cb;--mdc-switch-selected-hover-track-color: #7986cb;--mdc-switch-selected-pressed-track-color: #7986cb;--mdc-switch-selected-track-color: #7986cb;--mdc-switch-disabled-selected-handle-color: #424242;--mdc-switch-disabled-selected-icon-color: #fff;--mdc-switch-disabled-selected-track-color: #424242;--mdc-switch-disabled-unselected-handle-color: #424242;--mdc-switch-disabled-unselected-icon-color: #fff;--mdc-switch-disabled-unselected-track-color: #424242;--mdc-switch-handle-surface-color: #fff;--mdc-switch-selected-icon-color: #fff;--mdc-switch-unselected-focus-handle-color: #212121;--mdc-switch-unselected-focus-state-layer-color: #424242;--mdc-switch-unselected-focus-track-color: #e0e0e0;--mdc-switch-unselected-handle-color: #616161;--mdc-switch-unselected-hover-handle-color: #212121;--mdc-switch-unselected-hover-state-layer-color: #424242;--mdc-switch-unselected-hover-track-color: #e0e0e0;--mdc-switch-unselected-icon-color: #fff;--mdc-switch-unselected-pressed-handle-color: #212121;--mdc-switch-unselected-pressed-state-layer-color: #424242;--mdc-switch-unselected-pressed-track-color: #e0e0e0;--mdc-switch-unselected-track-color: #e0e0e0;--mdc-switch-handle-elevation-shadow: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-switch-disabled-handle-elevation-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12)}html{--mdc-switch-disabled-label-text-color: rgba(0, 0, 0, .38)}html .mat-mdc-slide-toggle{--mat-switch-label-text-color: rgba(0, 0, 0, .87)}html .mat-mdc-slide-toggle.mat-accent{--mdc-switch-selected-focus-state-layer-color: #d81b60;--mdc-switch-selected-handle-color: #d81b60;--mdc-switch-selected-hover-state-layer-color: #d81b60;--mdc-switch-selected-pressed-state-layer-color: #d81b60;--mdc-switch-selected-focus-handle-color: #880e4f;--mdc-switch-selected-hover-handle-color: #880e4f;--mdc-switch-selected-pressed-handle-color: #880e4f;--mdc-switch-selected-focus-track-color: #f06292;--mdc-switch-selected-hover-track-color: #f06292;--mdc-switch-selected-pressed-track-color: #f06292;--mdc-switch-selected-track-color: #f06292}html .mat-mdc-slide-toggle.mat-warn{--mdc-switch-selected-focus-state-layer-color: #e53935;--mdc-switch-selected-handle-color: #e53935;--mdc-switch-selected-hover-state-layer-color: #e53935;--mdc-switch-selected-pressed-state-layer-color: #e53935;--mdc-switch-selected-focus-handle-color: #b71c1c;--mdc-switch-selected-hover-handle-color: #b71c1c;--mdc-switch-selected-pressed-handle-color: #b71c1c;--mdc-switch-selected-focus-track-color: #e57373;--mdc-switch-selected-hover-track-color: #e57373;--mdc-switch-selected-pressed-track-color: #e57373;--mdc-switch-selected-track-color: #e57373}html{--mdc-switch-state-layer-size: 40px}html .mat-mdc-slide-toggle{--mat-switch-label-text-font: Roboto, sans-serif;--mat-switch-label-text-line-height: 20px;--mat-switch-label-text-size: 14px;--mat-switch-label-text-tracking: .0178571429em;--mat-switch-label-text-weight: 400}html{--mdc-radio-disabled-selected-icon-opacity: .38;--mdc-radio-disabled-unselected-icon-opacity: .38;--mdc-radio-state-layer-size: 40px}.mat-mdc-radio-button.mat-primary{--mdc-radio-disabled-selected-icon-color: black;--mdc-radio-disabled-unselected-icon-color: black;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-focus-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #3f51b5;--mdc-radio-selected-hover-icon-color: #3f51b5;--mdc-radio-selected-icon-color: #3f51b5;--mdc-radio-selected-pressed-icon-color: #3f51b5}.mat-mdc-radio-button.mat-primary{--mat-radio-ripple-color: black;--mat-radio-checked-ripple-color: #3f51b5;--mat-radio-disabled-label-color: rgba(0, 0, 0, .38);--mat-radio-label-text-color: rgba(0, 0, 0, .87)}.mat-mdc-radio-button.mat-accent{--mdc-radio-disabled-selected-icon-color: black;--mdc-radio-disabled-unselected-icon-color: black;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-focus-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #ff4081;--mdc-radio-selected-hover-icon-color: #ff4081;--mdc-radio-selected-icon-color: #ff4081;--mdc-radio-selected-pressed-icon-color: #ff4081}.mat-mdc-radio-button.mat-accent{--mat-radio-ripple-color: black;--mat-radio-checked-ripple-color: #ff4081;--mat-radio-disabled-label-color: rgba(0, 0, 0, .38);--mat-radio-label-text-color: rgba(0, 0, 0, .87)}.mat-mdc-radio-button.mat-warn{--mdc-radio-disabled-selected-icon-color: black;--mdc-radio-disabled-unselected-icon-color: black;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-focus-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #f44336;--mdc-radio-selected-hover-icon-color: #f44336;--mdc-radio-selected-icon-color: #f44336;--mdc-radio-selected-pressed-icon-color: #f44336}.mat-mdc-radio-button.mat-warn{--mat-radio-ripple-color: black;--mat-radio-checked-ripple-color: #f44336;--mat-radio-disabled-label-color: rgba(0, 0, 0, .38);--mat-radio-label-text-color: rgba(0, 0, 0, .87)}html{--mdc-radio-state-layer-size: 40px}html{--mat-radio-touch-target-display: block}html{--mat-radio-label-text-font: Roboto, sans-serif;--mat-radio-label-text-line-height: 20px;--mat-radio-label-text-size: 14px;--mat-radio-label-text-tracking: .0178571429em;--mat-radio-label-text-weight: 400}html{--mdc-slider-active-track-height: 6px;--mdc-slider-active-track-shape: 9999px;--mdc-slider-handle-height: 20px;--mdc-slider-handle-shape: 50%;--mdc-slider-handle-width: 20px;--mdc-slider-inactive-track-height: 4px;--mdc-slider-inactive-track-shape: 9999px;--mdc-slider-with-overlap-handle-outline-width: 1px;--mdc-slider-with-tick-marks-active-container-opacity: .6;--mdc-slider-with-tick-marks-container-shape: 50%;--mdc-slider-with-tick-marks-container-size: 2px;--mdc-slider-with-tick-marks-inactive-container-opacity: .6;--mdc-slider-handle-elevation: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12)}html{--mat-slider-value-indicator-width: auto;--mat-slider-value-indicator-height: 32px;--mat-slider-value-indicator-caret-display: block;--mat-slider-value-indicator-border-radius: 4px;--mat-slider-value-indicator-padding: 0 12px;--mat-slider-value-indicator-text-transform: none;--mat-slider-value-indicator-container-transform: translateX(-50%)}html{--mdc-slider-handle-color: #3f51b5;--mdc-slider-focus-handle-color: #3f51b5;--mdc-slider-hover-handle-color: #3f51b5;--mdc-slider-active-track-color: #3f51b5;--mdc-slider-inactive-track-color: #3f51b5;--mdc-slider-with-tick-marks-inactive-container-color: #3f51b5;--mdc-slider-with-tick-marks-active-container-color: white;--mdc-slider-disabled-active-track-color: #000;--mdc-slider-disabled-handle-color: #000;--mdc-slider-disabled-inactive-track-color: #000;--mdc-slider-label-container-color: #000;--mdc-slider-label-label-text-color: #fff;--mdc-slider-with-overlap-handle-outline-color: #fff;--mdc-slider-with-tick-marks-disabled-container-color: #000}html{--mat-slider-ripple-color: #3f51b5;--mat-slider-hover-state-layer-color: rgba(63, 81, 181, .05);--mat-slider-focus-state-layer-color: rgba(63, 81, 181, .2);--mat-slider-value-indicator-opacity: .6}html .mat-accent{--mdc-slider-handle-color: #ff4081;--mdc-slider-focus-handle-color: #ff4081;--mdc-slider-hover-handle-color: #ff4081;--mdc-slider-active-track-color: #ff4081;--mdc-slider-inactive-track-color: #ff4081;--mdc-slider-with-tick-marks-inactive-container-color: #ff4081;--mdc-slider-with-tick-marks-active-container-color: white}html .mat-accent{--mat-slider-ripple-color: #ff4081;--mat-slider-hover-state-layer-color: rgba(255, 64, 129, .05);--mat-slider-focus-state-layer-color: rgba(255, 64, 129, .2)}html .mat-warn{--mdc-slider-handle-color: #f44336;--mdc-slider-focus-handle-color: #f44336;--mdc-slider-hover-handle-color: #f44336;--mdc-slider-active-track-color: #f44336;--mdc-slider-inactive-track-color: #f44336;--mdc-slider-with-tick-marks-inactive-container-color: #f44336;--mdc-slider-with-tick-marks-active-container-color: white}html .mat-warn{--mat-slider-ripple-color: #f44336;--mat-slider-hover-state-layer-color: rgba(244, 67, 54, .05);--mat-slider-focus-state-layer-color: rgba(244, 67, 54, .2)}html{--mdc-slider-label-label-text-font: Roboto, sans-serif;--mdc-slider-label-label-text-size: 14px;--mdc-slider-label-label-text-line-height: 22px;--mdc-slider-label-label-text-tracking: .0071428571em;--mdc-slider-label-label-text-weight: 500}html{--mat-menu-container-shape: 4px;--mat-menu-divider-bottom-spacing: 0;--mat-menu-divider-top-spacing: 0;--mat-menu-item-spacing: 16px;--mat-menu-item-icon-size: 24px;--mat-menu-item-leading-spacing: 16px;--mat-menu-item-trailing-spacing: 16px;--mat-menu-item-with-icon-leading-spacing: 16px;--mat-menu-item-with-icon-trailing-spacing: 16px;--mat-menu-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12)}html{--mat-menu-item-label-text-color: rgba(0, 0, 0, .87);--mat-menu-item-icon-color: rgba(0, 0, 0, .87);--mat-menu-item-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-menu-item-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-menu-container-color: white;--mat-menu-divider-color: rgba(0, 0, 0, .12)}html{--mat-menu-item-label-text-font: Roboto, sans-serif;--mat-menu-item-label-text-size: 16px;--mat-menu-item-label-text-tracking: .03125em;--mat-menu-item-label-text-line-height: 24px;--mat-menu-item-label-text-weight: 400}html{--mdc-list-list-item-container-shape: 0;--mdc-list-list-item-leading-avatar-shape: 50%;--mdc-list-list-item-container-color: transparent;--mdc-list-list-item-selected-container-color: transparent;--mdc-list-list-item-leading-avatar-color: transparent;--mdc-list-list-item-leading-icon-size: 24px;--mdc-list-list-item-leading-avatar-size: 40px;--mdc-list-list-item-trailing-icon-size: 24px;--mdc-list-list-item-disabled-state-layer-color: transparent;--mdc-list-list-item-disabled-state-layer-opacity: 0;--mdc-list-list-item-disabled-label-text-opacity: .38;--mdc-list-list-item-disabled-leading-icon-opacity: .38;--mdc-list-list-item-disabled-trailing-icon-opacity: .38}html{--mat-list-active-indicator-color: transparent;--mat-list-active-indicator-shape: 4px}html{--mdc-list-list-item-label-text-color: rgba(0, 0, 0, .87);--mdc-list-list-item-supporting-text-color: rgba(0, 0, 0, .54);--mdc-list-list-item-leading-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-trailing-supporting-text-color: rgba(0, 0, 0, .38);--mdc-list-list-item-trailing-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-selected-trailing-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-disabled-label-text-color: black;--mdc-list-list-item-disabled-leading-icon-color: black;--mdc-list-list-item-disabled-trailing-icon-color: black;--mdc-list-list-item-hover-label-text-color: rgba(0, 0, 0, .87);--mdc-list-list-item-hover-leading-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-hover-trailing-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-focus-label-text-color: rgba(0, 0, 0, .87);--mdc-list-list-item-hover-state-layer-color: black;--mdc-list-list-item-hover-state-layer-opacity: .04;--mdc-list-list-item-focus-state-layer-color: black;--mdc-list-list-item-focus-state-layer-opacity: .12}.mdc-list-item__start,.mdc-list-item__end{--mdc-radio-disabled-selected-icon-color: black;--mdc-radio-disabled-unselected-icon-color: black;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-focus-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #3f51b5;--mdc-radio-selected-hover-icon-color: #3f51b5;--mdc-radio-selected-icon-color: #3f51b5;--mdc-radio-selected-pressed-icon-color: #3f51b5}.mat-accent .mdc-list-item__start,.mat-accent .mdc-list-item__end{--mdc-radio-disabled-selected-icon-color: black;--mdc-radio-disabled-unselected-icon-color: black;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-focus-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #ff4081;--mdc-radio-selected-hover-icon-color: #ff4081;--mdc-radio-selected-icon-color: #ff4081;--mdc-radio-selected-pressed-icon-color: #ff4081}.mat-warn .mdc-list-item__start,.mat-warn .mdc-list-item__end{--mdc-radio-disabled-selected-icon-color: black;--mdc-radio-disabled-unselected-icon-color: black;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-focus-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #f44336;--mdc-radio-selected-hover-icon-color: #f44336;--mdc-radio-selected-icon-color: #f44336;--mdc-radio-selected-pressed-icon-color: #f44336}.mat-mdc-list-option{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #3f51b5;--mdc-checkbox-selected-hover-icon-color: #3f51b5;--mdc-checkbox-selected-icon-color: #3f51b5;--mdc-checkbox-selected-pressed-icon-color: #3f51b5;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #3f51b5;--mdc-checkbox-selected-hover-state-layer-color: #3f51b5;--mdc-checkbox-selected-pressed-state-layer-color: #3f51b5;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-list-option.mat-accent{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #ff4081;--mdc-checkbox-selected-hover-icon-color: #ff4081;--mdc-checkbox-selected-icon-color: #ff4081;--mdc-checkbox-selected-pressed-icon-color: #ff4081;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #ff4081;--mdc-checkbox-selected-hover-state-layer-color: #ff4081;--mdc-checkbox-selected-pressed-state-layer-color: #ff4081;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-list-option.mat-warn{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #f44336;--mdc-checkbox-selected-hover-icon-color: #f44336;--mdc-checkbox-selected-icon-color: #f44336;--mdc-checkbox-selected-pressed-icon-color: #f44336;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #f44336;--mdc-checkbox-selected-hover-state-layer-color: #f44336;--mdc-checkbox-selected-pressed-state-layer-color: #f44336;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--selected .mdc-list-item__primary-text,.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--selected .mdc-list-item__start,.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--activated .mdc-list-item__primary-text,.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--activated .mdc-list-item__start{color:#3f51b5}.mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__start,.mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__content,.mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__end{opacity:1}html{--mdc-list-list-item-one-line-container-height: 48px;--mdc-list-list-item-two-line-container-height: 64px;--mdc-list-list-item-three-line-container-height: 88px}html{--mat-list-list-item-leading-icon-start-space: 16px;--mat-list-list-item-leading-icon-end-space: 32px}.mdc-list-item__start,.mdc-list-item__end{--mdc-radio-state-layer-size: 40px}.mat-mdc-list-item.mdc-list-item--with-leading-avatar.mdc-list-item--with-one-line,.mat-mdc-list-item.mdc-list-item--with-leading-checkbox.mdc-list-item--with-one-line,.mat-mdc-list-item.mdc-list-item--with-leading-icon.mdc-list-item--with-one-line{height:56px}.mat-mdc-list-item.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines,.mat-mdc-list-item.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines,.mat-mdc-list-item.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines{height:72px}html{--mdc-list-list-item-label-text-font: Roboto, sans-serif;--mdc-list-list-item-label-text-line-height: 24px;--mdc-list-list-item-label-text-size: 16px;--mdc-list-list-item-label-text-tracking: .03125em;--mdc-list-list-item-label-text-weight: 400;--mdc-list-list-item-supporting-text-font: Roboto, sans-serif;--mdc-list-list-item-supporting-text-line-height: 20px;--mdc-list-list-item-supporting-text-size: 14px;--mdc-list-list-item-supporting-text-tracking: .0178571429em;--mdc-list-list-item-supporting-text-weight: 400;--mdc-list-list-item-trailing-supporting-text-font: Roboto, sans-serif;--mdc-list-list-item-trailing-supporting-text-line-height: 20px;--mdc-list-list-item-trailing-supporting-text-size: 12px;--mdc-list-list-item-trailing-supporting-text-tracking: .0333333333em;--mdc-list-list-item-trailing-supporting-text-weight: 400}.mdc-list-group__subheader{font:400 16px/28px Roboto,sans-serif;letter-spacing:.009375em}html{--mat-paginator-container-text-color: rgba(0, 0, 0, .87);--mat-paginator-container-background-color: white;--mat-paginator-enabled-icon-color: rgba(0, 0, 0, .54);--mat-paginator-disabled-icon-color: rgba(0, 0, 0, .12)}html{--mat-paginator-container-size: 56px;--mat-paginator-form-field-container-height: 40px;--mat-paginator-form-field-container-vertical-padding: 8px;--mat-paginator-touch-target-display: block}html{--mat-paginator-container-text-font: Roboto, sans-serif;--mat-paginator-container-text-line-height: 20px;--mat-paginator-container-text-size: 12px;--mat-paginator-container-text-tracking: .0333333333em;--mat-paginator-container-text-weight: 400;--mat-paginator-select-trigger-text-size: 12px}html{--mdc-secondary-navigation-tab-container-height: 48px}html{--mdc-tab-indicator-active-indicator-height: 2px;--mdc-tab-indicator-active-indicator-shape: 0}html{--mat-tab-header-divider-color: transparent;--mat-tab-header-divider-height: 0}.mat-mdc-tab-group,.mat-mdc-tab-nav-bar{--mdc-tab-indicator-active-indicator-color: #3f51b5}.mat-mdc-tab-group,.mat-mdc-tab-nav-bar{--mat-tab-header-disabled-ripple-color: rgba(0, 0, 0, .38);--mat-tab-header-pagination-icon-color: black;--mat-tab-header-inactive-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-label-text-color: #3f51b5;--mat-tab-header-active-ripple-color: #3f51b5;--mat-tab-header-inactive-ripple-color: #3f51b5;--mat-tab-header-inactive-focus-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-focus-label-text-color: #3f51b5;--mat-tab-header-active-hover-label-text-color: #3f51b5;--mat-tab-header-active-focus-indicator-color: #3f51b5;--mat-tab-header-active-hover-indicator-color: #3f51b5}.mat-mdc-tab-group.mat-accent,.mat-mdc-tab-nav-bar.mat-accent{--mdc-tab-indicator-active-indicator-color: #ff4081}.mat-mdc-tab-group.mat-accent,.mat-mdc-tab-nav-bar.mat-accent{--mat-tab-header-disabled-ripple-color: rgba(0, 0, 0, .38);--mat-tab-header-pagination-icon-color: black;--mat-tab-header-inactive-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-label-text-color: #ff4081;--mat-tab-header-active-ripple-color: #ff4081;--mat-tab-header-inactive-ripple-color: #ff4081;--mat-tab-header-inactive-focus-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-focus-label-text-color: #ff4081;--mat-tab-header-active-hover-label-text-color: #ff4081;--mat-tab-header-active-focus-indicator-color: #ff4081;--mat-tab-header-active-hover-indicator-color: #ff4081}.mat-mdc-tab-group.mat-warn,.mat-mdc-tab-nav-bar.mat-warn{--mdc-tab-indicator-active-indicator-color: #f44336}.mat-mdc-tab-group.mat-warn,.mat-mdc-tab-nav-bar.mat-warn{--mat-tab-header-disabled-ripple-color: rgba(0, 0, 0, .38);--mat-tab-header-pagination-icon-color: black;--mat-tab-header-inactive-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-label-text-color: #f44336;--mat-tab-header-active-ripple-color: #f44336;--mat-tab-header-inactive-ripple-color: #f44336;--mat-tab-header-inactive-focus-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-focus-label-text-color: #f44336;--mat-tab-header-active-hover-label-text-color: #f44336;--mat-tab-header-active-focus-indicator-color: #f44336;--mat-tab-header-active-hover-indicator-color: #f44336}.mat-mdc-tab-group.mat-background-primary,.mat-mdc-tab-nav-bar.mat-background-primary{--mat-tab-header-with-background-background-color: #3f51b5;--mat-tab-header-with-background-foreground-color: white}.mat-mdc-tab-group.mat-background-accent,.mat-mdc-tab-nav-bar.mat-background-accent{--mat-tab-header-with-background-background-color: #ff4081;--mat-tab-header-with-background-foreground-color: white}.mat-mdc-tab-group.mat-background-warn,.mat-mdc-tab-nav-bar.mat-background-warn{--mat-tab-header-with-background-background-color: #f44336;--mat-tab-header-with-background-foreground-color: white}.mat-mdc-tab-header{--mdc-secondary-navigation-tab-container-height: 48px}.mat-mdc-tab-header{--mat-tab-header-label-text-font: Roboto, sans-serif;--mat-tab-header-label-text-size: 14px;--mat-tab-header-label-text-tracking: .0892857143em;--mat-tab-header-label-text-line-height: 36px;--mat-tab-header-label-text-weight: 500}html{--mdc-checkbox-disabled-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-state-layer-opacity: .16;--mdc-checkbox-selected-hover-state-layer-opacity: .04;--mdc-checkbox-selected-pressed-state-layer-opacity: .16;--mdc-checkbox-unselected-focus-state-layer-opacity: .16;--mdc-checkbox-unselected-hover-state-layer-opacity: .04;--mdc-checkbox-unselected-pressed-state-layer-opacity: .16}html{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #ff4081;--mdc-checkbox-selected-hover-icon-color: #ff4081;--mdc-checkbox-selected-icon-color: #ff4081;--mdc-checkbox-selected-pressed-icon-color: #ff4081;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #ff4081;--mdc-checkbox-selected-hover-state-layer-color: #ff4081;--mdc-checkbox-selected-pressed-state-layer-color: #ff4081;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}html{--mat-checkbox-disabled-label-color: rgba(0, 0, 0, .38);--mat-checkbox-label-text-color: rgba(0, 0, 0, .87)}.mat-mdc-checkbox.mat-primary{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #3f51b5;--mdc-checkbox-selected-hover-icon-color: #3f51b5;--mdc-checkbox-selected-icon-color: #3f51b5;--mdc-checkbox-selected-pressed-icon-color: #3f51b5;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #3f51b5;--mdc-checkbox-selected-hover-state-layer-color: #3f51b5;--mdc-checkbox-selected-pressed-state-layer-color: #3f51b5;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-checkbox.mat-warn{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #f44336;--mdc-checkbox-selected-hover-icon-color: #f44336;--mdc-checkbox-selected-icon-color: #f44336;--mdc-checkbox-selected-pressed-icon-color: #f44336;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #f44336;--mdc-checkbox-selected-hover-state-layer-color: #f44336;--mdc-checkbox-selected-pressed-state-layer-color: #f44336;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}html{--mdc-checkbox-state-layer-size: 40px}html{--mat-checkbox-touch-target-display: block}html{--mat-checkbox-label-text-font: Roboto, sans-serif;--mat-checkbox-label-text-line-height: 20px;--mat-checkbox-label-text-size: 14px;--mat-checkbox-label-text-tracking: .0178571429em;--mat-checkbox-label-text-weight: 400}html{--mdc-text-button-container-shape: 4px;--mdc-text-button-keep-touch-target: false}html{--mdc-filled-button-container-shape: 4px;--mdc-filled-button-keep-touch-target: false}html{--mdc-protected-button-container-shape: 4px;--mdc-protected-button-container-elevation-shadow: 0px 3px 1px -2px rgba(0, 0, 0, .2), 0px 2px 2px 0px rgba(0, 0, 0, .14), 0px 1px 5px 0px rgba(0, 0, 0, .12);--mdc-protected-button-disabled-container-elevation-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mdc-protected-button-focus-container-elevation-shadow: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mdc-protected-button-hover-container-elevation-shadow: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mdc-protected-button-pressed-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12)}html{--mdc-outlined-button-keep-touch-target: false;--mdc-outlined-button-outline-width: 1px;--mdc-outlined-button-container-shape: 4px}html{--mat-text-button-horizontal-padding: 8px;--mat-text-button-with-icon-horizontal-padding: 8px;--mat-text-button-icon-spacing: 8px;--mat-text-button-icon-offset: 0}html{--mat-filled-button-horizontal-padding: 16px;--mat-filled-button-icon-spacing: 8px;--mat-filled-button-icon-offset: -4px}html{--mat-protected-button-horizontal-padding: 16px;--mat-protected-button-icon-spacing: 8px;--mat-protected-button-icon-offset: -4px}html{--mat-outlined-button-horizontal-padding: 15px;--mat-outlined-button-icon-spacing: 8px;--mat-outlined-button-icon-offset: -4px}html{--mdc-text-button-label-text-color: black;--mdc-text-button-disabled-label-text-color: rgba(0, 0, 0, .38)}html{--mat-text-button-state-layer-color: black;--mat-text-button-disabled-state-layer-color: black;--mat-text-button-ripple-color: rgba(0, 0, 0, .1);--mat-text-button-hover-state-layer-opacity: .04;--mat-text-button-focus-state-layer-opacity: .12;--mat-text-button-pressed-state-layer-opacity: .12}html{--mdc-filled-button-container-color: white;--mdc-filled-button-label-text-color: black;--mdc-filled-button-disabled-container-color: rgba(0, 0, 0, .12);--mdc-filled-button-disabled-label-text-color: rgba(0, 0, 0, .38)}html{--mat-filled-button-state-layer-color: black;--mat-filled-button-disabled-state-layer-color: black;--mat-filled-button-ripple-color: rgba(0, 0, 0, .1);--mat-filled-button-hover-state-layer-opacity: .04;--mat-filled-button-focus-state-layer-opacity: .12;--mat-filled-button-pressed-state-layer-opacity: .12}html{--mdc-protected-button-container-color: white;--mdc-protected-button-label-text-color: black;--mdc-protected-button-disabled-container-color: rgba(0, 0, 0, .12);--mdc-protected-button-disabled-label-text-color: rgba(0, 0, 0, .38)}html{--mat-protected-button-state-layer-color: black;--mat-protected-button-disabled-state-layer-color: black;--mat-protected-button-ripple-color: rgba(0, 0, 0, .1);--mat-protected-button-hover-state-layer-opacity: .04;--mat-protected-button-focus-state-layer-opacity: .12;--mat-protected-button-pressed-state-layer-opacity: .12}html{--mdc-outlined-button-disabled-outline-color: rgba(0, 0, 0, .12);--mdc-outlined-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-outlined-button-label-text-color: black;--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12)}html{--mat-outlined-button-state-layer-color: black;--mat-outlined-button-disabled-state-layer-color: black;--mat-outlined-button-ripple-color: rgba(0, 0, 0, .1);--mat-outlined-button-hover-state-layer-opacity: .04;--mat-outlined-button-focus-state-layer-opacity: .12;--mat-outlined-button-pressed-state-layer-opacity: .12}.mat-mdc-button.mat-primary{--mdc-text-button-label-text-color: #3f51b5}.mat-mdc-button.mat-primary{--mat-text-button-state-layer-color: #3f51b5;--mat-text-button-ripple-color: rgba(63, 81, 181, .1)}.mat-mdc-button.mat-accent{--mdc-text-button-label-text-color: #ff4081}.mat-mdc-button.mat-accent{--mat-text-button-state-layer-color: #ff4081;--mat-text-button-ripple-color: rgba(255, 64, 129, .1)}.mat-mdc-button.mat-warn{--mdc-text-button-label-text-color: #f44336}.mat-mdc-button.mat-warn{--mat-text-button-state-layer-color: #f44336;--mat-text-button-ripple-color: rgba(244, 67, 54, .1)}.mat-mdc-unelevated-button.mat-primary{--mdc-filled-button-container-color: #3f51b5;--mdc-filled-button-label-text-color: white}.mat-mdc-unelevated-button.mat-primary{--mat-filled-button-state-layer-color: white;--mat-filled-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-unelevated-button.mat-accent{--mdc-filled-button-container-color: #ff4081;--mdc-filled-button-label-text-color: white}.mat-mdc-unelevated-button.mat-accent{--mat-filled-button-state-layer-color: white;--mat-filled-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-unelevated-button.mat-warn{--mdc-filled-button-container-color: #f44336;--mdc-filled-button-label-text-color: white}.mat-mdc-unelevated-button.mat-warn{--mat-filled-button-state-layer-color: white;--mat-filled-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-raised-button.mat-primary{--mdc-protected-button-container-color: #3f51b5;--mdc-protected-button-label-text-color: white}.mat-mdc-raised-button.mat-primary{--mat-protected-button-state-layer-color: white;--mat-protected-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-raised-button.mat-accent{--mdc-protected-button-container-color: #ff4081;--mdc-protected-button-label-text-color: white}.mat-mdc-raised-button.mat-accent{--mat-protected-button-state-layer-color: white;--mat-protected-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-raised-button.mat-warn{--mdc-protected-button-container-color: #f44336;--mdc-protected-button-label-text-color: white}.mat-mdc-raised-button.mat-warn{--mat-protected-button-state-layer-color: white;--mat-protected-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-outlined-button.mat-primary{--mdc-outlined-button-label-text-color: #3f51b5;--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12)}.mat-mdc-outlined-button.mat-primary{--mat-outlined-button-state-layer-color: #3f51b5;--mat-outlined-button-ripple-color: rgba(63, 81, 181, .1)}.mat-mdc-outlined-button.mat-accent{--mdc-outlined-button-label-text-color: #ff4081;--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12)}.mat-mdc-outlined-button.mat-accent{--mat-outlined-button-state-layer-color: #ff4081;--mat-outlined-button-ripple-color: rgba(255, 64, 129, .1)}.mat-mdc-outlined-button.mat-warn{--mdc-outlined-button-label-text-color: #f44336;--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12)}.mat-mdc-outlined-button.mat-warn{--mat-outlined-button-state-layer-color: #f44336;--mat-outlined-button-ripple-color: rgba(244, 67, 54, .1)}html{--mdc-text-button-container-height: 36px}html{--mdc-filled-button-container-height: 36px}html{--mdc-protected-button-container-height: 36px}html{--mdc-outlined-button-container-height: 36px}html{--mat-text-button-touch-target-display: block}html{--mat-filled-button-touch-target-display: block}html{--mat-protected-button-touch-target-display: block}html{--mat-outlined-button-touch-target-display: block}html{--mdc-text-button-label-text-font: Roboto, sans-serif;--mdc-text-button-label-text-size: 14px;--mdc-text-button-label-text-tracking: .0892857143em;--mdc-text-button-label-text-weight: 500;--mdc-text-button-label-text-transform: none}html{--mdc-filled-button-label-text-font: Roboto, sans-serif;--mdc-filled-button-label-text-size: 14px;--mdc-filled-button-label-text-tracking: .0892857143em;--mdc-filled-button-label-text-weight: 500;--mdc-filled-button-label-text-transform: none}html{--mdc-protected-button-label-text-font: Roboto, sans-serif;--mdc-protected-button-label-text-size: 14px;--mdc-protected-button-label-text-tracking: .0892857143em;--mdc-protected-button-label-text-weight: 500;--mdc-protected-button-label-text-transform: none}html{--mdc-outlined-button-label-text-font: Roboto, sans-serif;--mdc-outlined-button-label-text-size: 14px;--mdc-outlined-button-label-text-tracking: .0892857143em;--mdc-outlined-button-label-text-weight: 500;--mdc-outlined-button-label-text-transform: none}html{--mdc-icon-button-icon-size: 24px}html{--mdc-icon-button-icon-color: inherit;--mdc-icon-button-disabled-icon-color: rgba(0, 0, 0, .38)}html{--mat-icon-button-state-layer-color: black;--mat-icon-button-disabled-state-layer-color: black;--mat-icon-button-ripple-color: rgba(0, 0, 0, .1);--mat-icon-button-hover-state-layer-opacity: .04;--mat-icon-button-focus-state-layer-opacity: .12;--mat-icon-button-pressed-state-layer-opacity: .12}html .mat-mdc-icon-button.mat-primary{--mdc-icon-button-icon-color: #3f51b5}html .mat-mdc-icon-button.mat-primary{--mat-icon-button-state-layer-color: #3f51b5;--mat-icon-button-ripple-color: rgba(63, 81, 181, .1)}html .mat-mdc-icon-button.mat-accent{--mdc-icon-button-icon-color: #ff4081}html .mat-mdc-icon-button.mat-accent{--mat-icon-button-state-layer-color: #ff4081;--mat-icon-button-ripple-color: rgba(255, 64, 129, .1)}html .mat-mdc-icon-button.mat-warn{--mdc-icon-button-icon-color: #f44336}html .mat-mdc-icon-button.mat-warn{--mat-icon-button-state-layer-color: #f44336;--mat-icon-button-ripple-color: rgba(244, 67, 54, .1)}html{--mat-icon-button-touch-target-display: block}.mat-mdc-icon-button.mat-mdc-button-base{--mdc-icon-button-state-layer-size: 48px;width:var(--mdc-icon-button-state-layer-size);height:var(--mdc-icon-button-state-layer-size);padding:12px}html{--mdc-fab-container-shape: 50%;--mdc-fab-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-focus-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-pressed-container-elevation-shadow: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12)}html{--mdc-fab-small-container-shape: 50%;--mdc-fab-small-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-small-focus-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-small-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-small-pressed-container-elevation-shadow: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12)}html{--mdc-extended-fab-container-height: 48px;--mdc-extended-fab-container-shape: 24px;--mdc-extended-fab-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-extended-fab-focus-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-extended-fab-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-extended-fab-pressed-container-elevation-shadow: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12)}html{--mdc-fab-container-color: white}html{--mat-fab-foreground-color: black;--mat-fab-state-layer-color: black;--mat-fab-disabled-state-layer-color: black;--mat-fab-ripple-color: rgba(0, 0, 0, .1);--mat-fab-hover-state-layer-opacity: .04;--mat-fab-focus-state-layer-opacity: .12;--mat-fab-pressed-state-layer-opacity: .12;--mat-fab-disabled-state-container-color: rgba(0, 0, 0, .12);--mat-fab-disabled-state-foreground-color: rgba(0, 0, 0, .38)}html{--mdc-fab-small-container-color: white}html{--mat-fab-small-foreground-color: black;--mat-fab-small-state-layer-color: black;--mat-fab-small-disabled-state-layer-color: black;--mat-fab-small-ripple-color: rgba(0, 0, 0, .1);--mat-fab-small-hover-state-layer-opacity: .04;--mat-fab-small-focus-state-layer-opacity: .12;--mat-fab-small-pressed-state-layer-opacity: .12;--mat-fab-small-disabled-state-container-color: rgba(0, 0, 0, .12);--mat-fab-small-disabled-state-foreground-color: rgba(0, 0, 0, .38)}html .mat-mdc-fab.mat-primary{--mdc-fab-container-color: #3f51b5}html .mat-mdc-fab.mat-primary{--mat-fab-foreground-color: white;--mat-fab-state-layer-color: white;--mat-fab-ripple-color: rgba(255, 255, 255, .1)}html .mat-mdc-fab.mat-accent{--mdc-fab-container-color: #ff4081}html .mat-mdc-fab.mat-accent{--mat-fab-foreground-color: white;--mat-fab-state-layer-color: white;--mat-fab-ripple-color: rgba(255, 255, 255, .1)}html .mat-mdc-fab.mat-warn{--mdc-fab-container-color: #f44336}html .mat-mdc-fab.mat-warn{--mat-fab-foreground-color: white;--mat-fab-state-layer-color: white;--mat-fab-ripple-color: rgba(255, 255, 255, .1)}html .mat-mdc-mini-fab.mat-primary{--mdc-fab-small-container-color: #3f51b5}html .mat-mdc-mini-fab.mat-primary{--mat-fab-small-foreground-color: white;--mat-fab-small-state-layer-color: white;--mat-fab-small-ripple-color: rgba(255, 255, 255, .1)}html .mat-mdc-mini-fab.mat-accent{--mdc-fab-small-container-color: #ff4081}html .mat-mdc-mini-fab.mat-accent{--mat-fab-small-foreground-color: white;--mat-fab-small-state-layer-color: white;--mat-fab-small-ripple-color: rgba(255, 255, 255, .1)}html .mat-mdc-mini-fab.mat-warn{--mdc-fab-small-container-color: #f44336}html .mat-mdc-mini-fab.mat-warn{--mat-fab-small-foreground-color: white;--mat-fab-small-state-layer-color: white;--mat-fab-small-ripple-color: rgba(255, 255, 255, .1)}html{--mat-fab-touch-target-display: block}html{--mat-fab-small-touch-target-display: block}html{--mdc-extended-fab-label-text-font: Roboto, sans-serif;--mdc-extended-fab-label-text-size: 14px;--mdc-extended-fab-label-text-tracking: .0892857143em;--mdc-extended-fab-label-text-weight: 500}html{--mdc-snackbar-container-shape: 4px}html{--mdc-snackbar-container-color: #333333;--mdc-snackbar-supporting-text-color: rgba(255, 255, 255, .87)}html{--mat-snack-bar-button-color: #ff4081}html{--mdc-snackbar-supporting-text-font: Roboto, sans-serif;--mdc-snackbar-supporting-text-line-height: 20px;--mdc-snackbar-supporting-text-size: 14px;--mdc-snackbar-supporting-text-weight: 400}html{--mat-table-row-item-outline-width: 1px}html{--mat-table-background-color: white;--mat-table-header-headline-color: rgba(0, 0, 0, .87);--mat-table-row-item-label-text-color: rgba(0, 0, 0, .87);--mat-table-row-item-outline-color: rgba(0, 0, 0, .12)}html{--mat-table-header-container-height: 56px;--mat-table-footer-container-height: 52px;--mat-table-row-item-container-height: 52px}html{--mat-table-header-headline-font: Roboto, sans-serif;--mat-table-header-headline-line-height: 22px;--mat-table-header-headline-size: 14px;--mat-table-header-headline-weight: 500;--mat-table-header-headline-tracking: .0071428571em;--mat-table-row-item-label-text-font: Roboto, sans-serif;--mat-table-row-item-label-text-line-height: 20px;--mat-table-row-item-label-text-size: 14px;--mat-table-row-item-label-text-weight: 400;--mat-table-row-item-label-text-tracking: .0178571429em;--mat-table-footer-supporting-text-font: Roboto, sans-serif;--mat-table-footer-supporting-text-line-height: 20px;--mat-table-footer-supporting-text-size: 14px;--mat-table-footer-supporting-text-weight: 400;--mat-table-footer-supporting-text-tracking: .0178571429em}html{--mdc-circular-progress-active-indicator-width: 4px;--mdc-circular-progress-size: 48px}html{--mdc-circular-progress-active-indicator-color: #3f51b5}html .mat-accent{--mdc-circular-progress-active-indicator-color: #ff4081}html .mat-warn{--mdc-circular-progress-active-indicator-color: #f44336}html{--mat-badge-container-shape: 50%;--mat-badge-container-size: unset;--mat-badge-small-size-container-size: unset;--mat-badge-large-size-container-size: unset;--mat-badge-legacy-container-size: 22px;--mat-badge-legacy-small-size-container-size: 16px;--mat-badge-legacy-large-size-container-size: 28px;--mat-badge-container-offset: -11px 0;--mat-badge-small-size-container-offset: -8px 0;--mat-badge-large-size-container-offset: -14px 0;--mat-badge-container-overlap-offset: -11px;--mat-badge-small-size-container-overlap-offset: -8px;--mat-badge-large-size-container-overlap-offset: -14px;--mat-badge-container-padding: 0;--mat-badge-small-size-container-padding: 0;--mat-badge-large-size-container-padding: 0}html{--mat-badge-background-color: #3f51b5;--mat-badge-text-color: white;--mat-badge-disabled-state-background-color: #b9b9b9;--mat-badge-disabled-state-text-color: rgba(0, 0, 0, .38)}.mat-badge-accent{--mat-badge-background-color: #ff4081;--mat-badge-text-color: white}.mat-badge-warn{--mat-badge-background-color: #f44336;--mat-badge-text-color: white}html{--mat-badge-text-font: Roboto, sans-serif;--mat-badge-line-height: 22px;--mat-badge-text-size: 12px;--mat-badge-text-weight: 600;--mat-badge-small-size-text-size: 9px;--mat-badge-small-size-line-height: 16px;--mat-badge-large-size-text-size: 24px;--mat-badge-large-size-line-height: 28px}html{--mat-bottom-sheet-container-shape: 4px}html{--mat-bottom-sheet-container-text-color: rgba(0, 0, 0, .87);--mat-bottom-sheet-container-background-color: white}html{--mat-bottom-sheet-container-text-font: Roboto, sans-serif;--mat-bottom-sheet-container-text-line-height: 20px;--mat-bottom-sheet-container-text-size: 14px;--mat-bottom-sheet-container-text-tracking: .0178571429em;--mat-bottom-sheet-container-text-weight: 400}html{--mat-legacy-button-toggle-height: 36px;--mat-legacy-button-toggle-shape: 2px;--mat-legacy-button-toggle-focus-state-layer-opacity: 1}html{--mat-standard-button-toggle-shape: 4px;--mat-standard-button-toggle-hover-state-layer-opacity: .04;--mat-standard-button-toggle-focus-state-layer-opacity: .12}html{--mat-legacy-button-toggle-text-color: rgba(0, 0, 0, .38);--mat-legacy-button-toggle-state-layer-color: rgba(0, 0, 0, .12);--mat-legacy-button-toggle-selected-state-text-color: rgba(0, 0, 0, .54);--mat-legacy-button-toggle-selected-state-background-color: #e0e0e0;--mat-legacy-button-toggle-disabled-state-text-color: rgba(0, 0, 0, .26);--mat-legacy-button-toggle-disabled-state-background-color: #eeeeee;--mat-legacy-button-toggle-disabled-selected-state-background-color: #bdbdbd}html{--mat-standard-button-toggle-text-color: rgba(0, 0, 0, .87);--mat-standard-button-toggle-background-color: white;--mat-standard-button-toggle-state-layer-color: black;--mat-standard-button-toggle-selected-state-background-color: #e0e0e0;--mat-standard-button-toggle-selected-state-text-color: rgba(0, 0, 0, .87);--mat-standard-button-toggle-disabled-state-text-color: rgba(0, 0, 0, .26);--mat-standard-button-toggle-disabled-state-background-color: white;--mat-standard-button-toggle-disabled-selected-state-text-color: rgba(0, 0, 0, .87);--mat-standard-button-toggle-disabled-selected-state-background-color: #bdbdbd;--mat-standard-button-toggle-divider-color: rgb(224.4, 224.4, 224.4)}html{--mat-standard-button-toggle-height: 48px}html{--mat-legacy-button-toggle-label-text-font: Roboto, sans-serif;--mat-legacy-button-toggle-label-text-line-height: 24px;--mat-legacy-button-toggle-label-text-size: 16px;--mat-legacy-button-toggle-label-text-tracking: .03125em;--mat-legacy-button-toggle-label-text-weight: 400}html{--mat-standard-button-toggle-label-text-font: Roboto, sans-serif;--mat-standard-button-toggle-label-text-line-height: 24px;--mat-standard-button-toggle-label-text-size: 16px;--mat-standard-button-toggle-label-text-tracking: .03125em;--mat-standard-button-toggle-label-text-weight: 400}html{--mat-datepicker-calendar-container-shape: 4px;--mat-datepicker-calendar-container-touch-shape: 4px;--mat-datepicker-calendar-container-elevation-shadow: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mat-datepicker-calendar-container-touch-elevation-shadow: 0px 11px 15px -7px rgba(0, 0, 0, .2), 0px 24px 38px 3px rgba(0, 0, 0, .14), 0px 9px 46px 8px rgba(0, 0, 0, .12)}html{--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #3f51b5;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(63, 81, 181, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: rgba(63, 81, 181, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(63, 81, 181, .3);--mat-datepicker-toggle-active-state-icon-color: #3f51b5;--mat-datepicker-calendar-date-in-range-state-background-color: rgba(63, 81, 181, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: rgb(69.5241935484, 163.4758064516, 93.9516129032);--mat-datepicker-toggle-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-body-label-text-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-period-button-text-color: black;--mat-datepicker-calendar-period-button-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-navigation-button-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-header-divider-color: rgba(0, 0, 0, .12);--mat-datepicker-calendar-header-text-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-date-today-outline-color: rgba(0, 0, 0, .38);--mat-datepicker-calendar-date-today-disabled-state-outline-color: rgba(0, 0, 0, .18);--mat-datepicker-calendar-date-text-color: rgba(0, 0, 0, .87);--mat-datepicker-calendar-date-outline-color: transparent;--mat-datepicker-calendar-date-disabled-state-text-color: rgba(0, 0, 0, .38);--mat-datepicker-calendar-date-preview-state-outline-color: rgba(0, 0, 0, .24);--mat-datepicker-range-input-separator-color: rgba(0, 0, 0, .87);--mat-datepicker-range-input-disabled-state-separator-color: rgba(0, 0, 0, .38);--mat-datepicker-range-input-disabled-state-text-color: rgba(0, 0, 0, .38);--mat-datepicker-calendar-container-background-color: white;--mat-datepicker-calendar-container-text-color: rgba(0, 0, 0, .87)}.mat-datepicker-content.mat-accent{--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #ff4081;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(255, 64, 129, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: rgba(255, 64, 129, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(255, 64, 129, .3);--mat-datepicker-calendar-date-in-range-state-background-color: rgba(255, 64, 129, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: rgb(69.5241935484, 163.4758064516, 93.9516129032)}.mat-datepicker-content.mat-warn{--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #f44336;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(244, 67, 54, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: rgba(244, 67, 54, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(244, 67, 54, .3);--mat-datepicker-calendar-date-in-range-state-background-color: rgba(244, 67, 54, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: rgb(69.5241935484, 163.4758064516, 93.9516129032)}.mat-datepicker-toggle-active.mat-accent{--mat-datepicker-toggle-active-state-icon-color: #ff4081}.mat-datepicker-toggle-active.mat-warn{--mat-datepicker-toggle-active-state-icon-color: #f44336}.mat-calendar-controls{--mat-icon-button-touch-target-display: none}.mat-calendar-controls .mat-mdc-icon-button.mat-mdc-button-base{--mdc-icon-button-state-layer-size: 40px;width:var(--mdc-icon-button-state-layer-size);height:var(--mdc-icon-button-state-layer-size);padding:8px}html{--mat-datepicker-calendar-text-font: Roboto, sans-serif;--mat-datepicker-calendar-text-size: 13px;--mat-datepicker-calendar-body-label-text-size: 14px;--mat-datepicker-calendar-body-label-text-weight: 500;--mat-datepicker-calendar-period-button-text-size: 14px;--mat-datepicker-calendar-period-button-text-weight: 500;--mat-datepicker-calendar-header-text-size: 11px;--mat-datepicker-calendar-header-text-weight: 400}html{--mat-divider-width: 1px}html{--mat-divider-color: rgba(0, 0, 0, .12)}html{--mat-expansion-container-shape: 4px;--mat-expansion-legacy-header-indicator-display: inline-block;--mat-expansion-header-indicator-display: none}html{--mat-expansion-container-background-color: white;--mat-expansion-container-text-color: rgba(0, 0, 0, .87);--mat-expansion-actions-divider-color: rgba(0, 0, 0, .12);--mat-expansion-header-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-expansion-header-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-expansion-header-disabled-state-text-color: rgba(0, 0, 0, .26);--mat-expansion-header-text-color: rgba(0, 0, 0, .87);--mat-expansion-header-description-color: rgba(0, 0, 0, .54);--mat-expansion-header-indicator-color: rgba(0, 0, 0, .54)}html{--mat-expansion-header-collapsed-state-height: 48px;--mat-expansion-header-expanded-state-height: 64px}html{--mat-expansion-header-text-font: Roboto, sans-serif;--mat-expansion-header-text-size: 14px;--mat-expansion-header-text-weight: 500;--mat-expansion-header-text-line-height: inherit;--mat-expansion-header-text-tracking: inherit;--mat-expansion-container-text-font: Roboto, sans-serif;--mat-expansion-container-text-line-height: 20px;--mat-expansion-container-text-size: 14px;--mat-expansion-container-text-tracking: .0178571429em;--mat-expansion-container-text-weight: 400}html{--mat-grid-list-tile-header-primary-text-size: 14px;--mat-grid-list-tile-header-secondary-text-size: 12px;--mat-grid-list-tile-footer-primary-text-size: 14px;--mat-grid-list-tile-footer-secondary-text-size: 12px}html{--mat-icon-color: inherit}.mat-icon.mat-primary{--mat-icon-color: #3f51b5}.mat-icon.mat-accent{--mat-icon-color: #ff4081}.mat-icon.mat-warn{--mat-icon-color: #f44336}html{--mat-sidenav-container-shape: 0;--mat-sidenav-container-elevation-shadow: 0px 8px 10px -5px rgba(0, 0, 0, .2), 0px 16px 24px 2px rgba(0, 0, 0, .14), 0px 6px 30px 5px rgba(0, 0, 0, .12);--mat-sidenav-container-width: auto}html{--mat-sidenav-container-divider-color: rgba(0, 0, 0, .12);--mat-sidenav-container-background-color: white;--mat-sidenav-container-text-color: rgba(0, 0, 0, .87);--mat-sidenav-content-background-color: #fafafa;--mat-sidenav-content-text-color: rgba(0, 0, 0, .87);--mat-sidenav-scrim-color: rgba(0, 0, 0, .6)}html{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #3f51b5;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #3f51b5;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #3f51b5;--mat-stepper-header-edit-state-icon-foreground-color: white;--mat-stepper-container-color: white;--mat-stepper-line-color: rgba(0, 0, 0, .12);--mat-stepper-header-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-stepper-header-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-stepper-header-label-text-color: rgba(0, 0, 0, .54);--mat-stepper-header-optional-label-text-color: rgba(0, 0, 0, .54);--mat-stepper-header-selected-state-label-text-color: rgba(0, 0, 0, .87);--mat-stepper-header-error-state-label-text-color: #f44336;--mat-stepper-header-icon-background-color: rgba(0, 0, 0, .54);--mat-stepper-header-error-state-icon-foreground-color: #f44336;--mat-stepper-header-error-state-icon-background-color: transparent}html .mat-step-header.mat-accent{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #ff4081;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #ff4081;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #ff4081;--mat-stepper-header-edit-state-icon-foreground-color: white}html .mat-step-header.mat-warn{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #f44336;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #f44336;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #f44336;--mat-stepper-header-edit-state-icon-foreground-color: white}html{--mat-stepper-header-height: 72px}html{--mat-stepper-container-text-font: Roboto, sans-serif;--mat-stepper-header-label-text-font: Roboto, sans-serif;--mat-stepper-header-label-text-size: 14px;--mat-stepper-header-label-text-weight: 400;--mat-stepper-header-error-state-label-text-size: 16px;--mat-stepper-header-selected-state-label-text-size: 16px;--mat-stepper-header-selected-state-label-text-weight: 400}html{--mat-sort-arrow-color: rgb(117.3, 117.3, 117.3)}html{--mat-toolbar-container-background-color: whitesmoke;--mat-toolbar-container-text-color: rgba(0, 0, 0, .87)}.mat-toolbar.mat-primary{--mat-toolbar-container-background-color: #3f51b5;--mat-toolbar-container-text-color: white}.mat-toolbar.mat-accent{--mat-toolbar-container-background-color: #ff4081;--mat-toolbar-container-text-color: white}.mat-toolbar.mat-warn{--mat-toolbar-container-background-color: #f44336;--mat-toolbar-container-text-color: white}html{--mat-toolbar-standard-height: 64px;--mat-toolbar-mobile-height: 56px}html{--mat-toolbar-title-text-font: Roboto, sans-serif;--mat-toolbar-title-text-line-height: 32px;--mat-toolbar-title-text-size: 20px;--mat-toolbar-title-text-tracking: .0125em;--mat-toolbar-title-text-weight: 500}html{--mat-tree-container-background-color: white;--mat-tree-node-text-color: rgba(0, 0, 0, .87)}html{--mat-tree-node-min-height: 48px}html{--mat-tree-node-text-font: Roboto, sans-serif;--mat-tree-node-text-size: 14px;--mat-tree-node-text-weight: 400}html{--mat-timepicker-container-shape: 4px;--mat-timepicker-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12)}html{--mat-timepicker-container-background-color: white}html,body{margin:0;font-family:Roboto,Helvetica,Arial,sans-serif;font-size:14px;height:100%}body{background-color:#eee}.app-loading .logo{width:113px;height:120px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAMAAAD04JH5AAABhWlDQ1BJQ0MgcHJvZmlsZQAAKJF9kT1Iw0AYht+malUqCnYQcchQnexiRRxLFYtgobQVWnUwufRHaNKQpLg4Cq4FB38Wqw4uzro6uAqC4A+Is4OToouU+F1SaBHjHcc9vPe9L3ffAUKjwlSzKwaommWkE3Exl18RA6/owxDNHkQlZurJzEIWnuPrHj6+30V4lnfdn2NAKZgM8InEMaYbFvE68cympXPeJw6xsqQQnxNPGnRB4keuyy6/cS45LPDMkJFNzxGHiMVSB8sdzMqGSjxNHFZUjfKFnMsK5y3OaqXGWvfkLwwWtOUM12mNIYFFJJGCCBk1bKACCxHaNVJMpOk87uEfdfwpcsnk2gAjxzyqUCE5fvA/+N1bsxidcpOCcaD7xbY/xoHALtCs2/b3sW03TwD/M3Cltf3VBjD7SXq9rYWPgMFt4OK6rcl7wOUOMPKkS4bkSH5aQrEIvJ/RN+WB4Vugf9XtW+scpw9Alnq1dAMcHAITJcpe83h3b2ff/q1p9e8HsopywPmxfBcAAAGDUExURQAAABkMiRwRhiYRgR4WghwdhyUcgSohcycjeiMkhSkmdSopZy8sYBovjzEzVyUykTE3UyQ3kTM1dTM3ZDU9SDZBQCY/lS9DgD9GLT5DazxKMCNOpEFWG0BWLkVQZSVVoUFXKERYFkJYI0ZZEB1ZqztZQD5ZNUZZGD1ZOjxZRTJZbTtZUzVaXjxaS0dbGTdaZyZboSlapkVeFDBZoEldGyxdmDBdiy9cnCJgrDBekjRehjdeeylfpDNfgVFbXDxjdDllfEFkcUJnakdoYTlpkklqW1RtFzxrh01qVk9sT1VuQ1RuSVZvP1pxN2ByKl5zMGR0EmJ0JGN1HWZ2FUR4gmd3F2l5DWl5GWF9Gk18e259E01/eGJ+T2uBFnGGEWqIFmeFSFaIb1qMZ22KPnKOGXSRL3iTE2OUXnOXF3CaRGqbUHibMn2dEnujGn+mDXmqPISrFoGvGYGwNIazEIO2LIu5HJC8DIy/EJLFG5XHCJbIDZjKEZLMEZvMAJbQGZrTB53VAJ6wE90AAAABdFJOUwBA5thmAAALzklEQVR42tVb/VvbRhJ2gHD56EeSNtyFmGJjJyJAQMLYxjYuAQoJ3wad5JQUSBsfoRcgEOMg7erk/uk3uysZ21qBVoHcc/MreTyvZt6ZeWekRCJfYnXbts6ODg/3Xy8sjEeu2ywTmaZpGKaBLNvGZyeHu7uvwRbAxkdHpbjHJOkq/BKnJjGrTsyu1/+qGydHh/u7m+OjUpQZ+JKkUcm1UWITExMuqHCeqVuLPLKJiGFqlmWeney/Hid+2p+Xa42/CwXbQPSxsU3MsjAmCAgghI2T3YVx9uTxS60RESkwBtMyDAORWNsWpj6bDaNqZUFyfcNPJxLjrZbwhob9U8iJdCkGRHyDZ+TxzAyh6u4o8y4lIAyxWF9vq/2jty8WG4B/kgDzJml09AIIEHRkkkwjX/9WbTcRZY8eHYj1Pvzx3nff3G21R0MjI8PPnzzpGxgYcNjZlpG45Ov+gmd3ABwuRBmAaO+9u3du3brV3d3VbLd7UmmwXC6TyRfGhp89jUXbwkCKhRMEA0HosXmJIWNfipLfiD387u6tDmadzLq6Oju6vu3plycVaslkKpvLF4fGRp4PxoAqTTBGvRAwutw7YwAAkOK99/7W1dHlsZvf98utRoDIucLIc8hI/BwDyUNr+G18YegbAE62pShE/5sunnXfT8l8y2bTheHBAYLdRdBCBNO2A7gnAGqV0agE/js6vf4h/VN8/yQj2XSmMBxrikFTNRiWbZiBDOHD8ejAj92c8IN/2ce/i0LODAEEyZsFhJEZEIBdfZ3o/YEH4DL/DEN6bNCtinMEqI7NoAZ9eOHhHc7z3+yRAxhwpPhswM3DhAPAqFumAIL9Z3d4/lNTQRDIipwfdhG4TfHEQCgwAAvVPvzcfaPVfWfX/f5g/kkaMs/dITbKAFSOkUAIELY//tTeBL7tlwObIhefNADQWiztGwIAoB0bHx7d6GwjoIApypCTBKcUSzvHBhZD8PZBR3MMfBuQDwJIgouAAijv1SwkgMCyar/daUJw+/GULGaFWIIBoCxQVf3wTAgBqp++utXRVAGC/pO5wXgzgC11+8gQAQBK7fTn2y6C2/2iAVDSTimyXqRuaYQGIkQ0bOvwp65OtwTEAYz1NQGIaGVNrVSRUAws+8OjThqDm/fFAWQLg1LTUNTKZUJELFiM71gpdAdtgs2Wf5JonokkCdsHZ0IxAHn49sGNLwTgdgK1XFbV7UNBIlq15TugC64CQETb0tTSthgRoR2czHd3dHT39F8BABKD0o4gEbH94afujhAkbAYQZSMZAGglTbAjImx9eBSqDLPFRhW4skgjtVjeP0MiU8Goo3896rgZAsDQ03YAEVXXVLV88FmwHeB3P3T1iDeikVhzI3JCoGtQjEdnIiEgWXj34PvH4q046gEQIQBU0pPF2kG99vbvPaIAck/YhiCNNu8nmg5EhJ4sRETSkH7LK4KCIDcoxb0AyEwAHkApYDEa1N7n+hWxcfw0wQUA/YiWglgMMD79Pd0vFIFMXyLu4QDtBppGp4JYO0Do0++5ZAhFJHmOFTQEVJ4IFuOnNymBJGSH/ACoOnREVa0cm0I0gG3h469ZJTCE9MiAD4CISolYqlRNsVLAgCAwDxqqmHcvoghgKpwJDUaGIBswBEpx0AXAORWBOAEEuiARTfM/6OMbOVA/SCmFvvgFAMqEiCWQJ1gMgYU/vkknlSAAhgacRsi92IFCJKWwK7YukWqEWsgFYaIyFI/7cJBamXXESlUQgYnRpz9+CYAAADgZiPIPlowGIE8EkwAy8fTPN7lkcpLYlO+Qzo5cQAG6LJY0gqAsTERSDJ/+eHnek6a4MDLPLwEQITwEIuoHhjACZJ2dOr/iLwifMQATvgCqB1uqSkrhSEwns2Ko/9X0U8Th5GQLA+TCIAUgTfi8T0HYPtsrkzSUdk5M0RgYyLaM1h9M0WRMNgThWIwB4FchMshrglpFU8loFl0ZqdWR2f6rjBFTDMBwNO7n3zQg6+AfG8c7KkGg7X8WR4Btw/T+9rkkHna0QNTrHuE6PdrC6nkAyxJ0AyCiaDGahmVjbnIdAM8SvAhY2HC8U6lZd5IQiogm8kcwBYo0wZFjn2nqkVvNtdM/326qtB1snyDxLCDb9EEwKRcHE953irsH0HipH/qC7vT9P3Mvlzd12hErVSxORNxeCi4CJVuggrBtEGjblYOaZZFXRnX06f2vvyiPlRerJAKEiLUQpYB9YpBMj9GtqA0A8K28d1QzLHz68d+knSsAdXadhAA04kEIGsCj8BFk2IGqHcAWrOflveMatPKGsEnP0SSIXw7cnshHwORQ2yAgAGA33Xn7Mi03lgyluOgg2KlaYUrB5CKIUQDtg4CoEE3Vl/qbNE1KBhpQIqoVwXXJSQLmMTE6wRuFVIxq+lK2ecFIZmfXdEpEdU/scuDGgFcL8QmeGuICgD16fpMhEFepvlkgalzyaAFouhwAIB4WaRI0SkRxBBYnBPEJCUaxBwDZyjR9NZ9qVdaKQwNV3amGAACl0I4gLiXIxw1xrhDUV1+0bRdKdmadhUAVvKU2RFo7AraU8JWovj7dvt4o6bkN3emIZyE6IrKQEeSzBbYO6GuzacVzzlikLZnt7WYYIgYDQFioby5mPACU4pLeIGKIGNg4YAhIDrTVIufSML1OEajhBiO3FPwA6JvTCueq5vSjkrYfqhtYZpAsUPmhb86leVetRfpXtbQVbjAGowFphrq6yLm5AQ1WzmkQAkHdCJIEtaxDz1mf4ayXijKzxmig7oYR6hgHCwGpA22ee+hIz244NNgLo4+C5YBczHV9KS+neHcdRxuo5YMQtWibgXJACkHfmOOFQJHzS0wihhLqIHiDV+IK9+iopKZXHSLuVE1RbQD7phEwB9COp33OXbPuUKiID0YcsBK3gAWby5kk/8btqBNyuhClQcBWQC72mrYx63PbyS872mD7SDQJ0A0Dz0RdWynIvCQoIFJZEsgpVfSSaQYbCJSH6qs0lwWKPLvGSoHIZMFjrhEwBJSHHmF0rk5UPdQFCwAEKkSmjHRtOcMvhGRmmSEAGiB0HRGAXlBmQ9EnCUWHBuSFP74OALQSYCZN80NAVlbN3VUEkiAAgK4ouraYkX1oML/JJKLQrhK0DNlYJpWwMc9PQirpdAOiDUwU/DO44ACckbA249ORlYKzsmoCRzxsW8EBqOT3dX294EcDZ1dRtcAtGQUch40kUBosFZN+NNhwJvNhwMmMA24nLQg0bZH//kEBdaK6kzlYCIIJEk8MNl7lfPqRSwM92EsFC6OIIACHiLN+/WjaWVlhLl4eA1QX9e+uitr6bJb7JsxdWdXS7uXnI2QJNIG2JOir/BikUo1dZe+ySkB2GP+No806vx0ocmGFffJw2c4M+3ko/+cxKPi8eWHagCYBXVkH8Exmoo9ecN+MJx2JWLrwgwOELSMSGkCZjmZ95UWaw8SUuymUyv7SIHz8XRpQHvCZCC15lVWC77bmdywVbQc+/UBJv2IqWfdZ2r/w+VsQgEJSvC3ZPeXuVDlf4hnYRkbki61MVwVAkPdSMZVly5Kq73NK0bKNK/Dv9ERQiUtFTiXk3Y7sKUVof4YZuRJzsrC5OuMRacncovNex6MMLBEFclkWtmgM9PXZdiK42kTVto9bNDKyw7cf364M43k+3/qtTErOrDgq/aAJAHQfy4hcpWkMgba59KIVgZJd1j0zifyPDRSJXDECes3X1dW5FpWkyMuNdbVRiZZlRq7coCEwLm4sTjdBUORFXXNWNeeLD0j/NfhvTAbalIpARsVphksuAKZPofquOP0eKgITVucyWfL0QIHp1RYA5D0VilyXaU5P0rWNlbminFSSCqgSrQkANP/rc88gbLGC1DdX5menZ+aWmDxnHLCs60p/MxHYGYlWxNqG655VQd0yrci1m+YsLTog0PRzAHtnwU6BV1OQDhvPTS0f2ghHvpIBGdsglOgr/sjXMyjIFgzlneOv6Z5RQXWqkpbAQS3y1U0lZKCmbVUi/xtzLnZq5P/a/gvm8NIms2W1xQAAAABJRU5ErkJggg==)}i.material-icons{vertical-align:middle!important}i.spaced{margin-right:.5rem}.highlight{color:red}.mat-toolbar.mat-primary{background:#fafafa;color:#000}.mat-toolbar-row,.mat-toolbar-single-row{height:4rem!important}.mat-mdc-row{min-height:2.5rem}.mat-mdc-menu-panel.wide-menu{max-width:none;max-height:none}.mat-form-field-disabled{cursor:not-allowed}input:disabled{cursor:not-allowed}.toggle{display:flex;height:32px}.detail .mdc-tab-indicator--active{background-color:#ffffff1f}.card{background-color:#fafafa;border-color:#000;border-radius:6px;box-shadow:#00000024 0 1px 4px;box-sizing:border-box;color:#000;display:flex;flex-direction:column;margin:2rem 1rem 1rem}.card-header{background-image:linear-gradient(60deg,#4b5266,#465d9c);border-bottom-color:#fff;border-radius:3px;box-shadow:#00000024 0 4px 20px,#465d9c66 0 7px 10px -5px;box-sizing:border-box;color:#fff;font-size:1.2rem;font-weight:300;margin:-1rem 1rem 0rem;padding:15px}.card-header img{width:1.2rem;vertical-align:top;margin-top:2px;margin-right:8px;filter:brightness(0) invert(1)}.card-title>a{color:#000}.card-subtitle{font-size:.9rem;margin-left:1.4rem}.detail>.title{margin:1rem;padding:1rem;background-image:linear-gradient(60deg,#4b5266,#465d9c);border-bottom-color:#fff;border-radius:3px;box-shadow:#00000024 0 4px 20px,#465d9c66 0 7px 10px -5px;box-sizing:border-box;color:#fff;font-size:1.2rem;font-weight:300}.detail>.title img{width:2rem;vertical-align:top;margin-top:-4px;filter:brightness(0) invert(1)}.detail>.title a{color:#ff0}.detail>.title .card{margin-top:0}.mat-mdc-menu-content .mat-mdc-menu-item:hover{background-color:#d5d5d5!important}.mat-mdc-option{min-height:2.5rem!important}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:#d5d5d5}.mat-mdc-dialog-container{--mdc-dialog-supporting-text-font: $font-family;--mdc-dialog-subhead-font: $font-family;--mdc-dialog-title-font: $font-family;--mdc-dialog-button-font: $font-family;--mdc-dialog-supporting-text-size: 1rem;--mdc-dialog-subhead-size: 1.25rem;--mdc-dialog-supporting-text-weight: 400;--mdc-dialog-supporting-text-color: rgba(0, 0, 0, 1)}.mat-mdc-tab-labels{background-image:linear-gradient(60deg,#4b5266,#465d9c)}.mat-mdc-tab-labels .mdc-tab--active{background-color:#303030}.mat-mdc-raised-button.mat-primary:not([disabled]){background-image:linear-gradient(60deg,#4b5266,#465d9c);color:#fff}.mat-select-search-no-entries-found{display:none!important}.dark-theme{--mat-ripple-color: rgba(255, 255, 255, .1)}.dark-theme{--mat-option-selected-state-label-text-color: #3f51b5;--mat-option-label-text-color: white;--mat-option-hover-state-layer-color: rgba(255, 255, 255, .08);--mat-option-focus-state-layer-color: rgba(255, 255, 255, .08);--mat-option-selected-state-layer-color: rgba(255, 255, 255, .08)}.dark-theme .mat-accent{--mat-option-selected-state-label-text-color: #ff4081;--mat-option-label-text-color: white;--mat-option-hover-state-layer-color: rgba(255, 255, 255, .08);--mat-option-focus-state-layer-color: rgba(255, 255, 255, .08);--mat-option-selected-state-layer-color: rgba(255, 255, 255, .08)}.dark-theme .mat-warn{--mat-option-selected-state-label-text-color: #f44336;--mat-option-label-text-color: white;--mat-option-hover-state-layer-color: rgba(255, 255, 255, .08);--mat-option-focus-state-layer-color: rgba(255, 255, 255, .08);--mat-option-selected-state-layer-color: rgba(255, 255, 255, .08)}.dark-theme{--mat-optgroup-label-text-color: white}.dark-theme{--mat-full-pseudo-checkbox-selected-icon-color: #ff4081;--mat-full-pseudo-checkbox-selected-checkmark-color: #303030;--mat-full-pseudo-checkbox-unselected-icon-color: rgba(255, 255, 255, .7);--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #303030;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: #686868;--mat-full-pseudo-checkbox-disabled-selected-icon-color: #686868}.dark-theme{--mat-minimal-pseudo-checkbox-selected-checkmark-color: #ff4081;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: #686868}.dark-theme .mat-primary{--mat-full-pseudo-checkbox-selected-icon-color: #3f51b5;--mat-full-pseudo-checkbox-selected-checkmark-color: #303030;--mat-full-pseudo-checkbox-unselected-icon-color: rgba(255, 255, 255, .7);--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #303030;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: #686868;--mat-full-pseudo-checkbox-disabled-selected-icon-color: #686868}.dark-theme .mat-primary{--mat-minimal-pseudo-checkbox-selected-checkmark-color: #3f51b5;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: #686868}.dark-theme .mat-accent{--mat-full-pseudo-checkbox-selected-icon-color: #ff4081;--mat-full-pseudo-checkbox-selected-checkmark-color: #303030;--mat-full-pseudo-checkbox-unselected-icon-color: rgba(255, 255, 255, .7);--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #303030;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: #686868;--mat-full-pseudo-checkbox-disabled-selected-icon-color: #686868}.dark-theme .mat-accent{--mat-minimal-pseudo-checkbox-selected-checkmark-color: #ff4081;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: #686868}.dark-theme .mat-warn{--mat-full-pseudo-checkbox-selected-icon-color: #f44336;--mat-full-pseudo-checkbox-selected-checkmark-color: #303030;--mat-full-pseudo-checkbox-unselected-icon-color: rgba(255, 255, 255, .7);--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #303030;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: #686868;--mat-full-pseudo-checkbox-disabled-selected-icon-color: #686868}.dark-theme .mat-warn{--mat-minimal-pseudo-checkbox-selected-checkmark-color: #f44336;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: #686868}.dark-theme{--mat-app-background-color: #303030;--mat-app-text-color: white;--mat-app-elevation-shadow-level-0: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-1: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-2: 0px 3px 1px -2px rgba(0, 0, 0, .2), 0px 2px 2px 0px rgba(0, 0, 0, .14), 0px 1px 5px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-3: 0px 3px 3px -2px rgba(0, 0, 0, .2), 0px 3px 4px 0px rgba(0, 0, 0, .14), 0px 1px 8px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-4: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-5: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 5px 8px 0px rgba(0, 0, 0, .14), 0px 1px 14px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-6: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-7: 0px 4px 5px -2px rgba(0, 0, 0, .2), 0px 7px 10px 1px rgba(0, 0, 0, .14), 0px 2px 16px 1px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-8: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-9: 0px 5px 6px -3px rgba(0, 0, 0, .2), 0px 9px 12px 1px rgba(0, 0, 0, .14), 0px 3px 16px 2px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-10: 0px 6px 6px -3px rgba(0, 0, 0, .2), 0px 10px 14px 1px rgba(0, 0, 0, .14), 0px 4px 18px 3px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-11: 0px 6px 7px -4px rgba(0, 0, 0, .2), 0px 11px 15px 1px rgba(0, 0, 0, .14), 0px 4px 20px 3px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-12: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-13: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 13px 19px 2px rgba(0, 0, 0, .14), 0px 5px 24px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-14: 0px 7px 9px -4px rgba(0, 0, 0, .2), 0px 14px 21px 2px rgba(0, 0, 0, .14), 0px 5px 26px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-15: 0px 8px 9px -5px rgba(0, 0, 0, .2), 0px 15px 22px 2px rgba(0, 0, 0, .14), 0px 6px 28px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-16: 0px 8px 10px -5px rgba(0, 0, 0, .2), 0px 16px 24px 2px rgba(0, 0, 0, .14), 0px 6px 30px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-17: 0px 8px 11px -5px rgba(0, 0, 0, .2), 0px 17px 26px 2px rgba(0, 0, 0, .14), 0px 6px 32px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-18: 0px 9px 11px -5px rgba(0, 0, 0, .2), 0px 18px 28px 2px rgba(0, 0, 0, .14), 0px 7px 34px 6px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-19: 0px 9px 12px -6px rgba(0, 0, 0, .2), 0px 19px 29px 2px rgba(0, 0, 0, .14), 0px 7px 36px 6px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-20: 0px 10px 13px -6px rgba(0, 0, 0, .2), 0px 20px 31px 3px rgba(0, 0, 0, .14), 0px 8px 38px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-21: 0px 10px 13px -6px rgba(0, 0, 0, .2), 0px 21px 33px 3px rgba(0, 0, 0, .14), 0px 8px 40px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-22: 0px 10px 14px -6px rgba(0, 0, 0, .2), 0px 22px 35px 3px rgba(0, 0, 0, .14), 0px 8px 42px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-23: 0px 11px 14px -7px rgba(0, 0, 0, .2), 0px 23px 36px 3px rgba(0, 0, 0, .14), 0px 9px 44px 8px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-24: 0px 11px 15px -7px rgba(0, 0, 0, .2), 0px 24px 38px 3px rgba(0, 0, 0, .14), 0px 9px 46px 8px rgba(0, 0, 0, .12)}.dark-theme{--mdc-elevated-card-container-shape: 4px}.dark-theme{--mdc-outlined-card-container-shape: 4px;--mdc-outlined-card-outline-width: 1px}.dark-theme{--mdc-elevated-card-container-color: #424242;--mdc-elevated-card-container-elevation: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12)}.dark-theme{--mdc-outlined-card-container-color: #424242;--mdc-outlined-card-outline-color: rgba(255, 255, 255, .12);--mdc-outlined-card-container-elevation: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12)}.dark-theme{--mat-card-subtitle-text-color: rgba(255, 255, 255, .7)}.dark-theme{--mdc-linear-progress-active-indicator-height: 4px;--mdc-linear-progress-track-height: 4px;--mdc-linear-progress-track-shape: 0}.dark-theme .mat-mdc-progress-bar{--mdc-linear-progress-active-indicator-color: #3f51b5;--mdc-linear-progress-track-color: rgba(63, 81, 181, .25)}.dark-theme .mat-mdc-progress-bar.mat-accent{--mdc-linear-progress-active-indicator-color: #ff4081;--mdc-linear-progress-track-color: rgba(255, 64, 129, .25)}.dark-theme .mat-mdc-progress-bar.mat-warn{--mdc-linear-progress-active-indicator-color: #f44336;--mdc-linear-progress-track-color: rgba(244, 67, 54, .25)}.dark-theme{--mdc-plain-tooltip-container-shape: 4px;--mdc-plain-tooltip-supporting-text-line-height: 16px}.dark-theme{--mdc-plain-tooltip-container-color: #616161;--mdc-plain-tooltip-supporting-text-color: #fff}.dark-theme{--mdc-filled-text-field-active-indicator-height: 1px;--mdc-filled-text-field-focus-active-indicator-height: 2px;--mdc-filled-text-field-container-shape: 4px}.dark-theme{--mdc-outlined-text-field-outline-width: 1px;--mdc-outlined-text-field-focus-outline-width: 2px;--mdc-outlined-text-field-container-shape: 4px}.dark-theme{--mdc-filled-text-field-caret-color: #3f51b5;--mdc-filled-text-field-focus-active-indicator-color: #3f51b5;--mdc-filled-text-field-focus-label-text-color: rgba(63, 81, 181, .87);--mdc-filled-text-field-container-color: rgb(73.56, 73.56, 73.56);--mdc-filled-text-field-disabled-container-color: rgb(69.78, 69.78, 69.78);--mdc-filled-text-field-label-text-color: rgba(255, 255, 255, .6);--mdc-filled-text-field-hover-label-text-color: rgba(255, 255, 255, .6);--mdc-filled-text-field-disabled-label-text-color: rgba(255, 255, 255, .38);--mdc-filled-text-field-input-text-color: rgba(255, 255, 255, .87);--mdc-filled-text-field-disabled-input-text-color: rgba(255, 255, 255, .38);--mdc-filled-text-field-input-text-placeholder-color: rgba(255, 255, 255, .6);--mdc-filled-text-field-error-hover-label-text-color: #f44336;--mdc-filled-text-field-error-focus-label-text-color: #f44336;--mdc-filled-text-field-error-label-text-color: #f44336;--mdc-filled-text-field-error-caret-color: #f44336;--mdc-filled-text-field-active-indicator-color: rgba(255, 255, 255, .42);--mdc-filled-text-field-disabled-active-indicator-color: rgba(255, 255, 255, .06);--mdc-filled-text-field-hover-active-indicator-color: rgba(255, 255, 255, .87);--mdc-filled-text-field-error-active-indicator-color: #f44336;--mdc-filled-text-field-error-focus-active-indicator-color: #f44336;--mdc-filled-text-field-error-hover-active-indicator-color: #f44336}.dark-theme{--mdc-outlined-text-field-caret-color: #3f51b5;--mdc-outlined-text-field-focus-outline-color: #3f51b5;--mdc-outlined-text-field-focus-label-text-color: rgba(63, 81, 181, .87);--mdc-outlined-text-field-label-text-color: rgba(255, 255, 255, .6);--mdc-outlined-text-field-hover-label-text-color: rgba(255, 255, 255, .6);--mdc-outlined-text-field-disabled-label-text-color: rgba(255, 255, 255, .38);--mdc-outlined-text-field-input-text-color: rgba(255, 255, 255, .87);--mdc-outlined-text-field-disabled-input-text-color: rgba(255, 255, 255, .38);--mdc-outlined-text-field-input-text-placeholder-color: rgba(255, 255, 255, .6);--mdc-outlined-text-field-error-caret-color: #f44336;--mdc-outlined-text-field-error-focus-label-text-color: #f44336;--mdc-outlined-text-field-error-label-text-color: #f44336;--mdc-outlined-text-field-error-hover-label-text-color: #f44336;--mdc-outlined-text-field-outline-color: rgba(255, 255, 255, .38);--mdc-outlined-text-field-disabled-outline-color: rgba(255, 255, 255, .06);--mdc-outlined-text-field-hover-outline-color: rgba(255, 255, 255, .87);--mdc-outlined-text-field-error-focus-outline-color: #f44336;--mdc-outlined-text-field-error-hover-outline-color: #f44336;--mdc-outlined-text-field-error-outline-color: #f44336}.dark-theme{--mat-form-field-focus-select-arrow-color: rgba(63, 81, 181, .87);--mat-form-field-disabled-input-text-placeholder-color: rgba(255, 255, 255, .38);--mat-form-field-state-layer-color: rgba(255, 255, 255, .87);--mat-form-field-error-text-color: #f44336;--mat-form-field-select-option-text-color: rgba(0, 0, 0, .87);--mat-form-field-select-disabled-option-text-color: rgba(0, 0, 0, .38);--mat-form-field-leading-icon-color: unset;--mat-form-field-disabled-leading-icon-color: unset;--mat-form-field-trailing-icon-color: unset;--mat-form-field-disabled-trailing-icon-color: unset;--mat-form-field-error-focus-trailing-icon-color: unset;--mat-form-field-error-hover-trailing-icon-color: unset;--mat-form-field-error-trailing-icon-color: unset;--mat-form-field-enabled-select-arrow-color: rgba(255, 255, 255, .54);--mat-form-field-disabled-select-arrow-color: rgba(255, 255, 255, .38);--mat-form-field-hover-state-layer-opacity: .08;--mat-form-field-focus-state-layer-opacity: .24}.dark-theme .mat-mdc-form-field.mat-accent{--mdc-filled-text-field-caret-color: #ff4081;--mdc-filled-text-field-focus-active-indicator-color: #ff4081;--mdc-filled-text-field-focus-label-text-color: rgba(255, 64, 129, .87)}.dark-theme .mat-mdc-form-field.mat-accent{--mdc-outlined-text-field-caret-color: #ff4081;--mdc-outlined-text-field-focus-outline-color: #ff4081;--mdc-outlined-text-field-focus-label-text-color: rgba(255, 64, 129, .87)}.dark-theme .mat-mdc-form-field.mat-accent{--mat-form-field-focus-select-arrow-color: rgba(255, 64, 129, .87)}.dark-theme .mat-mdc-form-field.mat-warn{--mdc-filled-text-field-caret-color: #f44336;--mdc-filled-text-field-focus-active-indicator-color: #f44336;--mdc-filled-text-field-focus-label-text-color: rgba(244, 67, 54, .87)}.dark-theme .mat-mdc-form-field.mat-warn{--mdc-outlined-text-field-caret-color: #f44336;--mdc-outlined-text-field-focus-outline-color: #f44336;--mdc-outlined-text-field-focus-label-text-color: rgba(244, 67, 54, .87)}.dark-theme .mat-mdc-form-field.mat-warn{--mat-form-field-focus-select-arrow-color: rgba(244, 67, 54, .87)}.dark-theme{--mat-select-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12)}.dark-theme{--mat-select-panel-background-color: #424242;--mat-select-enabled-trigger-text-color: rgba(255, 255, 255, .87);--mat-select-disabled-trigger-text-color: rgba(255, 255, 255, .38);--mat-select-placeholder-text-color: rgba(255, 255, 255, .6);--mat-select-enabled-arrow-color: rgba(255, 255, 255, .54);--mat-select-disabled-arrow-color: rgba(255, 255, 255, .38);--mat-select-focused-arrow-color: rgba(63, 81, 181, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87)}.dark-theme .mat-mdc-form-field.mat-accent{--mat-select-panel-background-color: #424242;--mat-select-enabled-trigger-text-color: rgba(255, 255, 255, .87);--mat-select-disabled-trigger-text-color: rgba(255, 255, 255, .38);--mat-select-placeholder-text-color: rgba(255, 255, 255, .6);--mat-select-enabled-arrow-color: rgba(255, 255, 255, .54);--mat-select-disabled-arrow-color: rgba(255, 255, 255, .38);--mat-select-focused-arrow-color: rgba(255, 64, 129, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87)}.dark-theme .mat-mdc-form-field.mat-warn{--mat-select-panel-background-color: #424242;--mat-select-enabled-trigger-text-color: rgba(255, 255, 255, .87);--mat-select-disabled-trigger-text-color: rgba(255, 255, 255, .38);--mat-select-placeholder-text-color: rgba(255, 255, 255, .6);--mat-select-enabled-arrow-color: rgba(255, 255, 255, .54);--mat-select-disabled-arrow-color: rgba(255, 255, 255, .38);--mat-select-focused-arrow-color: rgba(244, 67, 54, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87)}.dark-theme{--mat-autocomplete-container-shape: 4px;--mat-autocomplete-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12)}.dark-theme{--mat-autocomplete-background-color: #424242}.dark-theme{--mdc-dialog-container-shape: 4px}.dark-theme{--mat-dialog-container-elevation-shadow: 0px 11px 15px -7px rgba(0, 0, 0, .2), 0px 24px 38px 3px rgba(0, 0, 0, .14), 0px 9px 46px 8px rgba(0, 0, 0, .12);--mat-dialog-container-max-width: 80vw;--mat-dialog-container-small-max-width: 80vw;--mat-dialog-container-min-width: 0;--mat-dialog-actions-alignment: start;--mat-dialog-actions-padding: 8px;--mat-dialog-content-padding: 20px 24px;--mat-dialog-with-actions-content-padding: 20px 24px;--mat-dialog-headline-padding: 0 24px 9px}.dark-theme{--mdc-dialog-container-color: #424242;--mdc-dialog-subhead-color: rgba(255, 255, 255, .87);--mdc-dialog-supporting-text-color: rgba(255, 255, 255, .6)}.dark-theme .mat-mdc-standard-chip{--mdc-chip-container-shape-radius: 16px;--mdc-chip-with-avatar-avatar-shape-radius: 14px;--mdc-chip-with-avatar-avatar-size: 28px;--mdc-chip-with-icon-icon-size: 18px;--mdc-chip-outline-width: 0;--mdc-chip-outline-color: transparent;--mdc-chip-disabled-outline-color: transparent;--mdc-chip-focus-outline-color: transparent;--mdc-chip-hover-state-layer-opacity: .04;--mdc-chip-with-avatar-disabled-avatar-opacity: 1;--mdc-chip-flat-selected-outline-width: 0;--mdc-chip-selected-hover-state-layer-opacity: .04;--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity: 1;--mdc-chip-with-icon-disabled-icon-opacity: 1}.dark-theme .mat-mdc-standard-chip{--mat-chip-disabled-container-opacity: .4;--mat-chip-trailing-action-opacity: .54;--mat-chip-trailing-action-focus-opacity: 1;--mat-chip-trailing-action-state-layer-color: transparent;--mat-chip-selected-trailing-action-state-layer-color: transparent;--mat-chip-trailing-action-hover-state-layer-opacity: 0;--mat-chip-trailing-action-focus-state-layer-opacity: 0}.dark-theme .mat-mdc-standard-chip{--mdc-chip-disabled-label-text-color: #fafafa;--mdc-chip-elevated-container-color: rgb(88.68, 88.68, 88.68);--mdc-chip-elevated-selected-container-color: rgb(88.68, 88.68, 88.68);--mdc-chip-elevated-disabled-container-color: rgb(88.68, 88.68, 88.68);--mdc-chip-flat-disabled-selected-container-color: rgb(88.68, 88.68, 88.68);--mdc-chip-focus-state-layer-color: white;--mdc-chip-hover-state-layer-color: white;--mdc-chip-selected-hover-state-layer-color: white;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-selected-focus-state-layer-color: white;--mdc-chip-selected-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: #fafafa;--mdc-chip-selected-label-text-color: #fafafa;--mdc-chip-with-icon-icon-color: #fafafa;--mdc-chip-with-icon-disabled-icon-color: #fafafa;--mdc-chip-with-icon-selected-icon-color: #fafafa;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: #fafafa;--mdc-chip-with-trailing-icon-trailing-icon-color: #fafafa}.dark-theme .mat-mdc-standard-chip{--mat-chip-selected-disabled-trailing-icon-color: #fafafa;--mat-chip-selected-trailing-icon-color: #fafafa}.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-selected.mat-primary,.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-primary{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #3f51b5;--mdc-chip-elevated-selected-container-color: #3f51b5;--mdc-chip-elevated-disabled-container-color: #3f51b5;--mdc-chip-flat-disabled-selected-container-color: #3f51b5;--mdc-chip-focus-state-layer-color: white;--mdc-chip-hover-state-layer-color: white;--mdc-chip-selected-hover-state-layer-color: white;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-selected-focus-state-layer-color: white;--mdc-chip-selected-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: white;--mdc-chip-selected-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white}.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-selected.mat-primary,.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-primary{--mat-chip-selected-disabled-trailing-icon-color: white;--mat-chip-selected-trailing-icon-color: white}.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-selected.mat-accent,.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-accent{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #ff4081;--mdc-chip-elevated-selected-container-color: #ff4081;--mdc-chip-elevated-disabled-container-color: #ff4081;--mdc-chip-flat-disabled-selected-container-color: #ff4081;--mdc-chip-focus-state-layer-color: white;--mdc-chip-hover-state-layer-color: white;--mdc-chip-selected-hover-state-layer-color: white;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-selected-focus-state-layer-color: white;--mdc-chip-selected-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: white;--mdc-chip-selected-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white}.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-selected.mat-accent,.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-accent{--mat-chip-selected-disabled-trailing-icon-color: white;--mat-chip-selected-trailing-icon-color: white}.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-selected.mat-warn,.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-warn{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #f44336;--mdc-chip-elevated-selected-container-color: #f44336;--mdc-chip-elevated-disabled-container-color: #f44336;--mdc-chip-flat-disabled-selected-container-color: #f44336;--mdc-chip-focus-state-layer-color: white;--mdc-chip-hover-state-layer-color: white;--mdc-chip-selected-hover-state-layer-color: white;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-selected-focus-state-layer-color: white;--mdc-chip-selected-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: white;--mdc-chip-selected-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white}.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-selected.mat-warn,.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-warn{--mat-chip-selected-disabled-trailing-icon-color: white;--mat-chip-selected-trailing-icon-color: white}.dark-theme{--mdc-switch-disabled-selected-icon-opacity: .38;--mdc-switch-disabled-track-opacity: .12;--mdc-switch-disabled-unselected-icon-opacity: .38;--mdc-switch-handle-height: 20px;--mdc-switch-handle-shape: 10px;--mdc-switch-handle-width: 20px;--mdc-switch-selected-icon-size: 18px;--mdc-switch-track-height: 14px;--mdc-switch-track-shape: 7px;--mdc-switch-track-width: 36px;--mdc-switch-unselected-icon-size: 18px;--mdc-switch-selected-focus-state-layer-opacity: .12;--mdc-switch-selected-hover-state-layer-opacity: .04;--mdc-switch-selected-pressed-state-layer-opacity: .1;--mdc-switch-unselected-focus-state-layer-opacity: .12;--mdc-switch-unselected-hover-state-layer-opacity: .04;--mdc-switch-unselected-pressed-state-layer-opacity: .1}.dark-theme .mat-mdc-slide-toggle{--mat-switch-disabled-selected-handle-opacity: .38;--mat-switch-disabled-unselected-handle-opacity: .38;--mat-switch-unselected-handle-size: 20px;--mat-switch-selected-handle-size: 20px;--mat-switch-pressed-handle-size: 20px;--mat-switch-with-icon-handle-size: 20px;--mat-switch-selected-handle-horizontal-margin: 0;--mat-switch-selected-with-icon-handle-horizontal-margin: 0;--mat-switch-selected-pressed-handle-horizontal-margin: 0;--mat-switch-unselected-handle-horizontal-margin: 0;--mat-switch-unselected-with-icon-handle-horizontal-margin: 0;--mat-switch-unselected-pressed-handle-horizontal-margin: 0;--mat-switch-visible-track-opacity: 1;--mat-switch-hidden-track-opacity: 1;--mat-switch-visible-track-transition: transform 75ms 0ms cubic-bezier(0, 0, .2, 1);--mat-switch-hidden-track-transition: transform 75ms 0ms cubic-bezier(.4, 0, .6, 1);--mat-switch-track-outline-width: 1px;--mat-switch-track-outline-color: transparent;--mat-switch-selected-track-outline-width: 1px;--mat-switch-selected-track-outline-color: transparent;--mat-switch-disabled-unselected-track-outline-width: 1px;--mat-switch-disabled-unselected-track-outline-color: transparent}.dark-theme{--mdc-switch-selected-focus-state-layer-color: #7986cb;--mdc-switch-selected-handle-color: #7986cb;--mdc-switch-selected-hover-state-layer-color: #7986cb;--mdc-switch-selected-pressed-state-layer-color: #7986cb;--mdc-switch-selected-focus-handle-color: #9fa8da;--mdc-switch-selected-hover-handle-color: #9fa8da;--mdc-switch-selected-pressed-handle-color: #9fa8da;--mdc-switch-selected-focus-track-color: #3949ab;--mdc-switch-selected-hover-track-color: #3949ab;--mdc-switch-selected-pressed-track-color: #3949ab;--mdc-switch-selected-track-color: #3949ab;--mdc-switch-disabled-selected-handle-color: #000;--mdc-switch-disabled-selected-icon-color: #212121;--mdc-switch-disabled-selected-track-color: #f5f5f5;--mdc-switch-disabled-unselected-handle-color: #000;--mdc-switch-disabled-unselected-icon-color: #212121;--mdc-switch-disabled-unselected-track-color: #f5f5f5;--mdc-switch-handle-surface-color: #fff;--mdc-switch-selected-icon-color: #212121;--mdc-switch-unselected-focus-handle-color: #fafafa;--mdc-switch-unselected-focus-state-layer-color: #f5f5f5;--mdc-switch-unselected-focus-track-color: #616161;--mdc-switch-unselected-handle-color: #9e9e9e;--mdc-switch-unselected-hover-handle-color: #fafafa;--mdc-switch-unselected-hover-state-layer-color: #f5f5f5;--mdc-switch-unselected-hover-track-color: #616161;--mdc-switch-unselected-icon-color: #212121;--mdc-switch-unselected-pressed-handle-color: #fafafa;--mdc-switch-unselected-pressed-state-layer-color: #f5f5f5;--mdc-switch-unselected-pressed-track-color: #616161;--mdc-switch-unselected-track-color: #616161;--mdc-switch-handle-elevation-shadow: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-switch-disabled-handle-elevation-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12)}.dark-theme{--mdc-switch-disabled-label-text-color: rgba(255, 255, 255, .5)}.dark-theme .mat-mdc-slide-toggle{--mat-switch-label-text-color: white}.dark-theme .mat-mdc-slide-toggle.mat-accent{--mdc-switch-selected-focus-state-layer-color: #f06292;--mdc-switch-selected-handle-color: #f06292;--mdc-switch-selected-hover-state-layer-color: #f06292;--mdc-switch-selected-pressed-state-layer-color: #f06292;--mdc-switch-selected-focus-handle-color: #f48fb1;--mdc-switch-selected-hover-handle-color: #f48fb1;--mdc-switch-selected-pressed-handle-color: #f48fb1;--mdc-switch-selected-focus-track-color: #d81b60;--mdc-switch-selected-hover-track-color: #d81b60;--mdc-switch-selected-pressed-track-color: #d81b60;--mdc-switch-selected-track-color: #d81b60}.dark-theme .mat-mdc-slide-toggle.mat-warn{--mdc-switch-selected-focus-state-layer-color: #e57373;--mdc-switch-selected-handle-color: #e57373;--mdc-switch-selected-hover-state-layer-color: #e57373;--mdc-switch-selected-pressed-state-layer-color: #e57373;--mdc-switch-selected-focus-handle-color: #ef9a9a;--mdc-switch-selected-hover-handle-color: #ef9a9a;--mdc-switch-selected-pressed-handle-color: #ef9a9a;--mdc-switch-selected-focus-track-color: #e53935;--mdc-switch-selected-hover-track-color: #e53935;--mdc-switch-selected-pressed-track-color: #e53935;--mdc-switch-selected-track-color: #e53935}.dark-theme{--mdc-radio-disabled-selected-icon-opacity: .38;--mdc-radio-disabled-unselected-icon-opacity: .38;--mdc-radio-state-layer-size: 40px}.dark-theme .mat-mdc-radio-button.mat-primary{--mdc-radio-disabled-selected-icon-color: white;--mdc-radio-disabled-unselected-icon-color: white;--mdc-radio-unselected-hover-icon-color: #eeeeee;--mdc-radio-unselected-focus-icon-color: #eeeeee;--mdc-radio-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-radio-unselected-pressed-icon-color: rgba(255, 255, 255, .54);--mdc-radio-selected-focus-icon-color: #3f51b5;--mdc-radio-selected-hover-icon-color: #3f51b5;--mdc-radio-selected-icon-color: #3f51b5;--mdc-radio-selected-pressed-icon-color: #3f51b5}.dark-theme .mat-mdc-radio-button.mat-primary{--mat-radio-ripple-color: white;--mat-radio-checked-ripple-color: #3f51b5;--mat-radio-disabled-label-color: rgba(255, 255, 255, .5);--mat-radio-label-text-color: white}.dark-theme .mat-mdc-radio-button.mat-accent{--mdc-radio-disabled-selected-icon-color: white;--mdc-radio-disabled-unselected-icon-color: white;--mdc-radio-unselected-hover-icon-color: #eeeeee;--mdc-radio-unselected-focus-icon-color: #eeeeee;--mdc-radio-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-radio-unselected-pressed-icon-color: rgba(255, 255, 255, .54);--mdc-radio-selected-focus-icon-color: #ff4081;--mdc-radio-selected-hover-icon-color: #ff4081;--mdc-radio-selected-icon-color: #ff4081;--mdc-radio-selected-pressed-icon-color: #ff4081}.dark-theme .mat-mdc-radio-button.mat-accent{--mat-radio-ripple-color: white;--mat-radio-checked-ripple-color: #ff4081;--mat-radio-disabled-label-color: rgba(255, 255, 255, .5);--mat-radio-label-text-color: white}.dark-theme .mat-mdc-radio-button.mat-warn{--mdc-radio-disabled-selected-icon-color: white;--mdc-radio-disabled-unselected-icon-color: white;--mdc-radio-unselected-hover-icon-color: #eeeeee;--mdc-radio-unselected-focus-icon-color: #eeeeee;--mdc-radio-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-radio-unselected-pressed-icon-color: rgba(255, 255, 255, .54);--mdc-radio-selected-focus-icon-color: #f44336;--mdc-radio-selected-hover-icon-color: #f44336;--mdc-radio-selected-icon-color: #f44336;--mdc-radio-selected-pressed-icon-color: #f44336}.dark-theme .mat-mdc-radio-button.mat-warn{--mat-radio-ripple-color: white;--mat-radio-checked-ripple-color: #f44336;--mat-radio-disabled-label-color: rgba(255, 255, 255, .5);--mat-radio-label-text-color: white}.dark-theme{--mdc-slider-active-track-height: 6px;--mdc-slider-active-track-shape: 9999px;--mdc-slider-handle-height: 20px;--mdc-slider-handle-shape: 50%;--mdc-slider-handle-width: 20px;--mdc-slider-inactive-track-height: 4px;--mdc-slider-inactive-track-shape: 9999px;--mdc-slider-with-overlap-handle-outline-width: 1px;--mdc-slider-with-tick-marks-active-container-opacity: .6;--mdc-slider-with-tick-marks-container-shape: 50%;--mdc-slider-with-tick-marks-container-size: 2px;--mdc-slider-with-tick-marks-inactive-container-opacity: .6;--mdc-slider-handle-elevation: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12)}.dark-theme{--mat-slider-value-indicator-width: auto;--mat-slider-value-indicator-height: 32px;--mat-slider-value-indicator-caret-display: block;--mat-slider-value-indicator-border-radius: 4px;--mat-slider-value-indicator-padding: 0 12px;--mat-slider-value-indicator-text-transform: none;--mat-slider-value-indicator-container-transform: translateX(-50%)}.dark-theme{--mdc-slider-handle-color: #3f51b5;--mdc-slider-focus-handle-color: #3f51b5;--mdc-slider-hover-handle-color: #3f51b5;--mdc-slider-active-track-color: #3f51b5;--mdc-slider-inactive-track-color: #3f51b5;--mdc-slider-with-tick-marks-inactive-container-color: #3f51b5;--mdc-slider-with-tick-marks-active-container-color: white;--mdc-slider-disabled-active-track-color: #fff;--mdc-slider-disabled-handle-color: #fff;--mdc-slider-disabled-inactive-track-color: #fff;--mdc-slider-label-container-color: #fff;--mdc-slider-label-label-text-color: #000;--mdc-slider-with-overlap-handle-outline-color: #fff;--mdc-slider-with-tick-marks-disabled-container-color: #fff}.dark-theme{--mat-slider-ripple-color: #3f51b5;--mat-slider-hover-state-layer-color: rgba(63, 81, 181, .05);--mat-slider-focus-state-layer-color: rgba(63, 81, 181, .2);--mat-slider-value-indicator-opacity: .9}.dark-theme .mat-accent{--mdc-slider-handle-color: #ff4081;--mdc-slider-focus-handle-color: #ff4081;--mdc-slider-hover-handle-color: #ff4081;--mdc-slider-active-track-color: #ff4081;--mdc-slider-inactive-track-color: #ff4081;--mdc-slider-with-tick-marks-inactive-container-color: #ff4081;--mdc-slider-with-tick-marks-active-container-color: white}.dark-theme .mat-accent{--mat-slider-ripple-color: #ff4081;--mat-slider-hover-state-layer-color: rgba(255, 64, 129, .05);--mat-slider-focus-state-layer-color: rgba(255, 64, 129, .2)}.dark-theme .mat-warn{--mdc-slider-handle-color: #f44336;--mdc-slider-focus-handle-color: #f44336;--mdc-slider-hover-handle-color: #f44336;--mdc-slider-active-track-color: #f44336;--mdc-slider-inactive-track-color: #f44336;--mdc-slider-with-tick-marks-inactive-container-color: #f44336;--mdc-slider-with-tick-marks-active-container-color: white}.dark-theme .mat-warn{--mat-slider-ripple-color: #f44336;--mat-slider-hover-state-layer-color: rgba(244, 67, 54, .05);--mat-slider-focus-state-layer-color: rgba(244, 67, 54, .2)}.dark-theme{--mat-menu-container-shape: 4px;--mat-menu-divider-bottom-spacing: 0;--mat-menu-divider-top-spacing: 0;--mat-menu-item-spacing: 16px;--mat-menu-item-icon-size: 24px;--mat-menu-item-leading-spacing: 16px;--mat-menu-item-trailing-spacing: 16px;--mat-menu-item-with-icon-leading-spacing: 16px;--mat-menu-item-with-icon-trailing-spacing: 16px;--mat-menu-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12)}.dark-theme{--mat-menu-item-label-text-color: white;--mat-menu-item-icon-color: white;--mat-menu-item-hover-state-layer-color: rgba(255, 255, 255, .08);--mat-menu-item-focus-state-layer-color: rgba(255, 255, 255, .08);--mat-menu-container-color: #424242;--mat-menu-divider-color: rgba(255, 255, 255, .12)}.dark-theme{--mdc-list-list-item-container-shape: 0;--mdc-list-list-item-leading-avatar-shape: 50%;--mdc-list-list-item-container-color: transparent;--mdc-list-list-item-selected-container-color: transparent;--mdc-list-list-item-leading-avatar-color: transparent;--mdc-list-list-item-leading-icon-size: 24px;--mdc-list-list-item-leading-avatar-size: 40px;--mdc-list-list-item-trailing-icon-size: 24px;--mdc-list-list-item-disabled-state-layer-color: transparent;--mdc-list-list-item-disabled-state-layer-opacity: 0;--mdc-list-list-item-disabled-label-text-opacity: .38;--mdc-list-list-item-disabled-leading-icon-opacity: .38;--mdc-list-list-item-disabled-trailing-icon-opacity: .38}.dark-theme{--mat-list-active-indicator-color: transparent;--mat-list-active-indicator-shape: 4px}.dark-theme{--mdc-list-list-item-label-text-color: white;--mdc-list-list-item-supporting-text-color: rgba(255, 255, 255, .7);--mdc-list-list-item-leading-icon-color: rgba(255, 255, 255, .5);--mdc-list-list-item-trailing-supporting-text-color: rgba(255, 255, 255, .5);--mdc-list-list-item-trailing-icon-color: rgba(255, 255, 255, .5);--mdc-list-list-item-selected-trailing-icon-color: rgba(255, 255, 255, .5);--mdc-list-list-item-disabled-label-text-color: white;--mdc-list-list-item-disabled-leading-icon-color: white;--mdc-list-list-item-disabled-trailing-icon-color: white;--mdc-list-list-item-hover-label-text-color: white;--mdc-list-list-item-hover-leading-icon-color: rgba(255, 255, 255, .5);--mdc-list-list-item-hover-trailing-icon-color: rgba(255, 255, 255, .5);--mdc-list-list-item-focus-label-text-color: white;--mdc-list-list-item-hover-state-layer-color: white;--mdc-list-list-item-hover-state-layer-opacity: .08;--mdc-list-list-item-focus-state-layer-color: white;--mdc-list-list-item-focus-state-layer-opacity: .24}.dark-theme .mdc-list-item__start,.dark-theme .mdc-list-item__end{--mdc-radio-disabled-selected-icon-color: white;--mdc-radio-disabled-unselected-icon-color: white;--mdc-radio-unselected-hover-icon-color: #eeeeee;--mdc-radio-unselected-focus-icon-color: #eeeeee;--mdc-radio-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-radio-unselected-pressed-icon-color: rgba(255, 255, 255, .54);--mdc-radio-selected-focus-icon-color: #3f51b5;--mdc-radio-selected-hover-icon-color: #3f51b5;--mdc-radio-selected-icon-color: #3f51b5;--mdc-radio-selected-pressed-icon-color: #3f51b5}.dark-theme .mat-accent .mdc-list-item__start,.dark-theme .mat-accent .mdc-list-item__end{--mdc-radio-disabled-selected-icon-color: white;--mdc-radio-disabled-unselected-icon-color: white;--mdc-radio-unselected-hover-icon-color: #eeeeee;--mdc-radio-unselected-focus-icon-color: #eeeeee;--mdc-radio-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-radio-unselected-pressed-icon-color: rgba(255, 255, 255, .54);--mdc-radio-selected-focus-icon-color: #ff4081;--mdc-radio-selected-hover-icon-color: #ff4081;--mdc-radio-selected-icon-color: #ff4081;--mdc-radio-selected-pressed-icon-color: #ff4081}.dark-theme .mat-warn .mdc-list-item__start,.dark-theme .mat-warn .mdc-list-item__end{--mdc-radio-disabled-selected-icon-color: white;--mdc-radio-disabled-unselected-icon-color: white;--mdc-radio-unselected-hover-icon-color: #eeeeee;--mdc-radio-unselected-focus-icon-color: #eeeeee;--mdc-radio-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-radio-unselected-pressed-icon-color: rgba(255, 255, 255, .54);--mdc-radio-selected-focus-icon-color: #f44336;--mdc-radio-selected-hover-icon-color: #f44336;--mdc-radio-selected-icon-color: #f44336;--mdc-radio-selected-pressed-icon-color: #f44336}.dark-theme .mat-mdc-list-option{--mdc-checkbox-disabled-selected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #3f51b5;--mdc-checkbox-selected-hover-icon-color: #3f51b5;--mdc-checkbox-selected-icon-color: #3f51b5;--mdc-checkbox-selected-pressed-icon-color: #3f51b5;--mdc-checkbox-unselected-focus-icon-color: #eeeeee;--mdc-checkbox-unselected-hover-icon-color: #eeeeee;--mdc-checkbox-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-checkbox-selected-focus-state-layer-color: #3f51b5;--mdc-checkbox-selected-hover-state-layer-color: #3f51b5;--mdc-checkbox-selected-pressed-state-layer-color: #3f51b5;--mdc-checkbox-unselected-focus-state-layer-color: white;--mdc-checkbox-unselected-hover-state-layer-color: white;--mdc-checkbox-unselected-pressed-state-layer-color: white}.dark-theme .mat-mdc-list-option.mat-accent{--mdc-checkbox-disabled-selected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #ff4081;--mdc-checkbox-selected-hover-icon-color: #ff4081;--mdc-checkbox-selected-icon-color: #ff4081;--mdc-checkbox-selected-pressed-icon-color: #ff4081;--mdc-checkbox-unselected-focus-icon-color: #eeeeee;--mdc-checkbox-unselected-hover-icon-color: #eeeeee;--mdc-checkbox-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-checkbox-selected-focus-state-layer-color: #ff4081;--mdc-checkbox-selected-hover-state-layer-color: #ff4081;--mdc-checkbox-selected-pressed-state-layer-color: #ff4081;--mdc-checkbox-unselected-focus-state-layer-color: white;--mdc-checkbox-unselected-hover-state-layer-color: white;--mdc-checkbox-unselected-pressed-state-layer-color: white}.dark-theme .mat-mdc-list-option.mat-warn{--mdc-checkbox-disabled-selected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #f44336;--mdc-checkbox-selected-hover-icon-color: #f44336;--mdc-checkbox-selected-icon-color: #f44336;--mdc-checkbox-selected-pressed-icon-color: #f44336;--mdc-checkbox-unselected-focus-icon-color: #eeeeee;--mdc-checkbox-unselected-hover-icon-color: #eeeeee;--mdc-checkbox-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-checkbox-selected-focus-state-layer-color: #f44336;--mdc-checkbox-selected-hover-state-layer-color: #f44336;--mdc-checkbox-selected-pressed-state-layer-color: #f44336;--mdc-checkbox-unselected-focus-state-layer-color: white;--mdc-checkbox-unselected-hover-state-layer-color: white;--mdc-checkbox-unselected-pressed-state-layer-color: white}.dark-theme .mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--selected .mdc-list-item__primary-text,.dark-theme .mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--selected .mdc-list-item__start,.dark-theme .mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--activated .mdc-list-item__primary-text,.dark-theme .mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--activated .mdc-list-item__start{color:#3f51b5}.dark-theme .mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__start,.dark-theme .mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__content,.dark-theme .mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__end{opacity:1}.dark-theme{--mat-paginator-container-text-color: rgba(255, 255, 255, .87);--mat-paginator-container-background-color: #424242;--mat-paginator-enabled-icon-color: rgba(255, 255, 255, .54);--mat-paginator-disabled-icon-color: rgba(255, 255, 255, .12)}.dark-theme{--mdc-secondary-navigation-tab-container-height: 48px}.dark-theme{--mdc-tab-indicator-active-indicator-height: 2px;--mdc-tab-indicator-active-indicator-shape: 0}.dark-theme{--mat-tab-header-divider-color: transparent;--mat-tab-header-divider-height: 0}.dark-theme .mat-mdc-tab-group,.dark-theme .mat-mdc-tab-nav-bar{--mdc-tab-indicator-active-indicator-color: #3f51b5}.dark-theme .mat-mdc-tab-group,.dark-theme .mat-mdc-tab-nav-bar{--mat-tab-header-disabled-ripple-color: rgba(255, 255, 255, .5);--mat-tab-header-pagination-icon-color: white;--mat-tab-header-inactive-label-text-color: rgba(255, 255, 255, .6);--mat-tab-header-active-label-text-color: #3f51b5;--mat-tab-header-active-ripple-color: #3f51b5;--mat-tab-header-inactive-ripple-color: #3f51b5;--mat-tab-header-inactive-focus-label-text-color: rgba(255, 255, 255, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(255, 255, 255, .6);--mat-tab-header-active-focus-label-text-color: #3f51b5;--mat-tab-header-active-hover-label-text-color: #3f51b5;--mat-tab-header-active-focus-indicator-color: #3f51b5;--mat-tab-header-active-hover-indicator-color: #3f51b5}.dark-theme .mat-mdc-tab-group.mat-accent,.dark-theme .mat-mdc-tab-nav-bar.mat-accent{--mdc-tab-indicator-active-indicator-color: #ff4081}.dark-theme .mat-mdc-tab-group.mat-accent,.dark-theme .mat-mdc-tab-nav-bar.mat-accent{--mat-tab-header-disabled-ripple-color: rgba(255, 255, 255, .5);--mat-tab-header-pagination-icon-color: white;--mat-tab-header-inactive-label-text-color: rgba(255, 255, 255, .6);--mat-tab-header-active-label-text-color: #ff4081;--mat-tab-header-active-ripple-color: #ff4081;--mat-tab-header-inactive-ripple-color: #ff4081;--mat-tab-header-inactive-focus-label-text-color: rgba(255, 255, 255, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(255, 255, 255, .6);--mat-tab-header-active-focus-label-text-color: #ff4081;--mat-tab-header-active-hover-label-text-color: #ff4081;--mat-tab-header-active-focus-indicator-color: #ff4081;--mat-tab-header-active-hover-indicator-color: #ff4081}.dark-theme .mat-mdc-tab-group.mat-warn,.dark-theme .mat-mdc-tab-nav-bar.mat-warn{--mdc-tab-indicator-active-indicator-color: #f44336}.dark-theme .mat-mdc-tab-group.mat-warn,.dark-theme .mat-mdc-tab-nav-bar.mat-warn{--mat-tab-header-disabled-ripple-color: rgba(255, 255, 255, .5);--mat-tab-header-pagination-icon-color: white;--mat-tab-header-inactive-label-text-color: rgba(255, 255, 255, .6);--mat-tab-header-active-label-text-color: #f44336;--mat-tab-header-active-ripple-color: #f44336;--mat-tab-header-inactive-ripple-color: #f44336;--mat-tab-header-inactive-focus-label-text-color: rgba(255, 255, 255, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(255, 255, 255, .6);--mat-tab-header-active-focus-label-text-color: #f44336;--mat-tab-header-active-hover-label-text-color: #f44336;--mat-tab-header-active-focus-indicator-color: #f44336;--mat-tab-header-active-hover-indicator-color: #f44336}.dark-theme .mat-mdc-tab-group.mat-background-primary,.dark-theme .mat-mdc-tab-nav-bar.mat-background-primary{--mat-tab-header-with-background-background-color: #3f51b5;--mat-tab-header-with-background-foreground-color: white}.dark-theme .mat-mdc-tab-group.mat-background-accent,.dark-theme .mat-mdc-tab-nav-bar.mat-background-accent{--mat-tab-header-with-background-background-color: #ff4081;--mat-tab-header-with-background-foreground-color: white}.dark-theme .mat-mdc-tab-group.mat-background-warn,.dark-theme .mat-mdc-tab-nav-bar.mat-background-warn{--mat-tab-header-with-background-background-color: #f44336;--mat-tab-header-with-background-foreground-color: white}.dark-theme{--mdc-checkbox-disabled-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-state-layer-opacity: .16;--mdc-checkbox-selected-hover-state-layer-opacity: .04;--mdc-checkbox-selected-pressed-state-layer-opacity: .16;--mdc-checkbox-unselected-focus-state-layer-opacity: .16;--mdc-checkbox-unselected-hover-state-layer-opacity: .04;--mdc-checkbox-unselected-pressed-state-layer-opacity: .16}.dark-theme{--mdc-checkbox-disabled-selected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #ff4081;--mdc-checkbox-selected-hover-icon-color: #ff4081;--mdc-checkbox-selected-icon-color: #ff4081;--mdc-checkbox-selected-pressed-icon-color: #ff4081;--mdc-checkbox-unselected-focus-icon-color: #eeeeee;--mdc-checkbox-unselected-hover-icon-color: #eeeeee;--mdc-checkbox-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-checkbox-selected-focus-state-layer-color: #ff4081;--mdc-checkbox-selected-hover-state-layer-color: #ff4081;--mdc-checkbox-selected-pressed-state-layer-color: #ff4081;--mdc-checkbox-unselected-focus-state-layer-color: white;--mdc-checkbox-unselected-hover-state-layer-color: white;--mdc-checkbox-unselected-pressed-state-layer-color: white}.dark-theme{--mat-checkbox-disabled-label-color: rgba(255, 255, 255, .5);--mat-checkbox-label-text-color: white}.dark-theme .mat-mdc-checkbox.mat-primary{--mdc-checkbox-disabled-selected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #3f51b5;--mdc-checkbox-selected-hover-icon-color: #3f51b5;--mdc-checkbox-selected-icon-color: #3f51b5;--mdc-checkbox-selected-pressed-icon-color: #3f51b5;--mdc-checkbox-unselected-focus-icon-color: #eeeeee;--mdc-checkbox-unselected-hover-icon-color: #eeeeee;--mdc-checkbox-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-checkbox-selected-focus-state-layer-color: #3f51b5;--mdc-checkbox-selected-hover-state-layer-color: #3f51b5;--mdc-checkbox-selected-pressed-state-layer-color: #3f51b5;--mdc-checkbox-unselected-focus-state-layer-color: white;--mdc-checkbox-unselected-hover-state-layer-color: white;--mdc-checkbox-unselected-pressed-state-layer-color: white}.dark-theme .mat-mdc-checkbox.mat-warn{--mdc-checkbox-disabled-selected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #f44336;--mdc-checkbox-selected-hover-icon-color: #f44336;--mdc-checkbox-selected-icon-color: #f44336;--mdc-checkbox-selected-pressed-icon-color: #f44336;--mdc-checkbox-unselected-focus-icon-color: #eeeeee;--mdc-checkbox-unselected-hover-icon-color: #eeeeee;--mdc-checkbox-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-checkbox-selected-focus-state-layer-color: #f44336;--mdc-checkbox-selected-hover-state-layer-color: #f44336;--mdc-checkbox-selected-pressed-state-layer-color: #f44336;--mdc-checkbox-unselected-focus-state-layer-color: white;--mdc-checkbox-unselected-hover-state-layer-color: white;--mdc-checkbox-unselected-pressed-state-layer-color: white}.dark-theme{--mdc-text-button-container-shape: 4px;--mdc-text-button-keep-touch-target: false}.dark-theme{--mdc-filled-button-container-shape: 4px;--mdc-filled-button-keep-touch-target: false}.dark-theme{--mdc-protected-button-container-shape: 4px;--mdc-protected-button-container-elevation-shadow: 0px 3px 1px -2px rgba(0, 0, 0, .2), 0px 2px 2px 0px rgba(0, 0, 0, .14), 0px 1px 5px 0px rgba(0, 0, 0, .12);--mdc-protected-button-disabled-container-elevation-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mdc-protected-button-focus-container-elevation-shadow: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mdc-protected-button-hover-container-elevation-shadow: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mdc-protected-button-pressed-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12)}.dark-theme{--mdc-outlined-button-keep-touch-target: false;--mdc-outlined-button-outline-width: 1px;--mdc-outlined-button-container-shape: 4px}.dark-theme{--mat-text-button-horizontal-padding: 8px;--mat-text-button-with-icon-horizontal-padding: 8px;--mat-text-button-icon-spacing: 8px;--mat-text-button-icon-offset: 0}.dark-theme{--mat-filled-button-horizontal-padding: 16px;--mat-filled-button-icon-spacing: 8px;--mat-filled-button-icon-offset: -4px}.dark-theme{--mat-protected-button-horizontal-padding: 16px;--mat-protected-button-icon-spacing: 8px;--mat-protected-button-icon-offset: -4px}.dark-theme{--mat-outlined-button-horizontal-padding: 15px;--mat-outlined-button-icon-spacing: 8px;--mat-outlined-button-icon-offset: -4px}.dark-theme{--mdc-text-button-label-text-color: white;--mdc-text-button-disabled-label-text-color: rgba(255, 255, 255, .5)}.dark-theme{--mat-text-button-state-layer-color: white;--mat-text-button-disabled-state-layer-color: white;--mat-text-button-ripple-color: rgba(255, 255, 255, .1);--mat-text-button-hover-state-layer-opacity: .08;--mat-text-button-focus-state-layer-opacity: .24;--mat-text-button-pressed-state-layer-opacity: .24}.dark-theme{--mdc-filled-button-container-color: #424242;--mdc-filled-button-label-text-color: white;--mdc-filled-button-disabled-container-color: rgba(255, 255, 255, .12);--mdc-filled-button-disabled-label-text-color: rgba(255, 255, 255, .5)}.dark-theme{--mat-filled-button-state-layer-color: white;--mat-filled-button-disabled-state-layer-color: white;--mat-filled-button-ripple-color: rgba(255, 255, 255, .1);--mat-filled-button-hover-state-layer-opacity: .08;--mat-filled-button-focus-state-layer-opacity: .24;--mat-filled-button-pressed-state-layer-opacity: .24}.dark-theme{--mdc-protected-button-container-color: #424242;--mdc-protected-button-label-text-color: white;--mdc-protected-button-disabled-container-color: rgba(255, 255, 255, .12);--mdc-protected-button-disabled-label-text-color: rgba(255, 255, 255, .5)}.dark-theme{--mat-protected-button-state-layer-color: white;--mat-protected-button-disabled-state-layer-color: white;--mat-protected-button-ripple-color: rgba(255, 255, 255, .1);--mat-protected-button-hover-state-layer-opacity: .08;--mat-protected-button-focus-state-layer-opacity: .24;--mat-protected-button-pressed-state-layer-opacity: .24}.dark-theme{--mdc-outlined-button-disabled-outline-color: rgba(255, 255, 255, .12);--mdc-outlined-button-disabled-label-text-color: rgba(255, 255, 255, .5);--mdc-outlined-button-label-text-color: white;--mdc-outlined-button-outline-color: rgba(255, 255, 255, .12)}.dark-theme{--mat-outlined-button-state-layer-color: white;--mat-outlined-button-disabled-state-layer-color: white;--mat-outlined-button-ripple-color: rgba(255, 255, 255, .1);--mat-outlined-button-hover-state-layer-opacity: .08;--mat-outlined-button-focus-state-layer-opacity: .24;--mat-outlined-button-pressed-state-layer-opacity: .24}.dark-theme .mat-mdc-button.mat-primary{--mdc-text-button-label-text-color: #3f51b5}.dark-theme .mat-mdc-button.mat-primary{--mat-text-button-state-layer-color: #3f51b5;--mat-text-button-ripple-color: rgba(63, 81, 181, .1)}.dark-theme .mat-mdc-button.mat-accent{--mdc-text-button-label-text-color: #ff4081}.dark-theme .mat-mdc-button.mat-accent{--mat-text-button-state-layer-color: #ff4081;--mat-text-button-ripple-color: rgba(255, 64, 129, .1)}.dark-theme .mat-mdc-button.mat-warn{--mdc-text-button-label-text-color: #f44336}.dark-theme .mat-mdc-button.mat-warn{--mat-text-button-state-layer-color: #f44336;--mat-text-button-ripple-color: rgba(244, 67, 54, .1)}.dark-theme .mat-mdc-unelevated-button.mat-primary{--mdc-filled-button-container-color: #3f51b5;--mdc-filled-button-label-text-color: white}.dark-theme .mat-mdc-unelevated-button.mat-primary{--mat-filled-button-state-layer-color: white;--mat-filled-button-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-unelevated-button.mat-accent{--mdc-filled-button-container-color: #ff4081;--mdc-filled-button-label-text-color: white}.dark-theme .mat-mdc-unelevated-button.mat-accent{--mat-filled-button-state-layer-color: white;--mat-filled-button-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-unelevated-button.mat-warn{--mdc-filled-button-container-color: #f44336;--mdc-filled-button-label-text-color: white}.dark-theme .mat-mdc-unelevated-button.mat-warn{--mat-filled-button-state-layer-color: white;--mat-filled-button-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-raised-button.mat-primary{--mdc-protected-button-container-color: #3f51b5;--mdc-protected-button-label-text-color: white}.dark-theme .mat-mdc-raised-button.mat-primary{--mat-protected-button-state-layer-color: white;--mat-protected-button-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-raised-button.mat-accent{--mdc-protected-button-container-color: #ff4081;--mdc-protected-button-label-text-color: white}.dark-theme .mat-mdc-raised-button.mat-accent{--mat-protected-button-state-layer-color: white;--mat-protected-button-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-raised-button.mat-warn{--mdc-protected-button-container-color: #f44336;--mdc-protected-button-label-text-color: white}.dark-theme .mat-mdc-raised-button.mat-warn{--mat-protected-button-state-layer-color: white;--mat-protected-button-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-outlined-button.mat-primary{--mdc-outlined-button-label-text-color: #3f51b5;--mdc-outlined-button-outline-color: rgba(255, 255, 255, .12)}.dark-theme .mat-mdc-outlined-button.mat-primary{--mat-outlined-button-state-layer-color: #3f51b5;--mat-outlined-button-ripple-color: rgba(63, 81, 181, .1)}.dark-theme .mat-mdc-outlined-button.mat-accent{--mdc-outlined-button-label-text-color: #ff4081;--mdc-outlined-button-outline-color: rgba(255, 255, 255, .12)}.dark-theme .mat-mdc-outlined-button.mat-accent{--mat-outlined-button-state-layer-color: #ff4081;--mat-outlined-button-ripple-color: rgba(255, 64, 129, .1)}.dark-theme .mat-mdc-outlined-button.mat-warn{--mdc-outlined-button-label-text-color: #f44336;--mdc-outlined-button-outline-color: rgba(255, 255, 255, .12)}.dark-theme .mat-mdc-outlined-button.mat-warn{--mat-outlined-button-state-layer-color: #f44336;--mat-outlined-button-ripple-color: rgba(244, 67, 54, .1)}.dark-theme{--mdc-icon-button-icon-size: 24px}.dark-theme{--mdc-icon-button-icon-color: inherit;--mdc-icon-button-disabled-icon-color: rgba(255, 255, 255, .5)}.dark-theme{--mat-icon-button-state-layer-color: white;--mat-icon-button-disabled-state-layer-color: white;--mat-icon-button-ripple-color: rgba(255, 255, 255, .1);--mat-icon-button-hover-state-layer-opacity: .08;--mat-icon-button-focus-state-layer-opacity: .24;--mat-icon-button-pressed-state-layer-opacity: .24}.dark-theme .mat-mdc-icon-button.mat-primary{--mdc-icon-button-icon-color: #3f51b5}.dark-theme .mat-mdc-icon-button.mat-primary{--mat-icon-button-state-layer-color: #3f51b5;--mat-icon-button-ripple-color: rgba(63, 81, 181, .1)}.dark-theme .mat-mdc-icon-button.mat-accent{--mdc-icon-button-icon-color: #ff4081}.dark-theme .mat-mdc-icon-button.mat-accent{--mat-icon-button-state-layer-color: #ff4081;--mat-icon-button-ripple-color: rgba(255, 64, 129, .1)}.dark-theme .mat-mdc-icon-button.mat-warn{--mdc-icon-button-icon-color: #f44336}.dark-theme .mat-mdc-icon-button.mat-warn{--mat-icon-button-state-layer-color: #f44336;--mat-icon-button-ripple-color: rgba(244, 67, 54, .1)}.dark-theme{--mdc-fab-container-shape: 50%;--mdc-fab-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-focus-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-pressed-container-elevation-shadow: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12)}.dark-theme{--mdc-fab-small-container-shape: 50%;--mdc-fab-small-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-small-focus-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-small-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-small-pressed-container-elevation-shadow: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12)}.dark-theme{--mdc-extended-fab-container-height: 48px;--mdc-extended-fab-container-shape: 24px;--mdc-extended-fab-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-extended-fab-focus-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-extended-fab-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-extended-fab-pressed-container-elevation-shadow: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12)}.dark-theme{--mdc-fab-container-color: #424242}.dark-theme{--mat-fab-foreground-color: white;--mat-fab-state-layer-color: white;--mat-fab-disabled-state-layer-color: white;--mat-fab-ripple-color: rgba(255, 255, 255, .1);--mat-fab-hover-state-layer-opacity: .08;--mat-fab-focus-state-layer-opacity: .24;--mat-fab-pressed-state-layer-opacity: .24;--mat-fab-disabled-state-container-color: rgba(255, 255, 255, .12);--mat-fab-disabled-state-foreground-color: rgba(255, 255, 255, .5)}.dark-theme{--mdc-fab-small-container-color: #424242}.dark-theme{--mat-fab-small-foreground-color: white;--mat-fab-small-state-layer-color: white;--mat-fab-small-disabled-state-layer-color: white;--mat-fab-small-ripple-color: rgba(255, 255, 255, .1);--mat-fab-small-hover-state-layer-opacity: .08;--mat-fab-small-focus-state-layer-opacity: .24;--mat-fab-small-pressed-state-layer-opacity: .24;--mat-fab-small-disabled-state-container-color: rgba(255, 255, 255, .12);--mat-fab-small-disabled-state-foreground-color: rgba(255, 255, 255, .5)}.dark-theme .mat-mdc-fab.mat-primary{--mdc-fab-container-color: #3f51b5}.dark-theme .mat-mdc-fab.mat-primary{--mat-fab-foreground-color: white;--mat-fab-state-layer-color: white;--mat-fab-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-fab.mat-accent{--mdc-fab-container-color: #ff4081}.dark-theme .mat-mdc-fab.mat-accent{--mat-fab-foreground-color: white;--mat-fab-state-layer-color: white;--mat-fab-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-fab.mat-warn{--mdc-fab-container-color: #f44336}.dark-theme .mat-mdc-fab.mat-warn{--mat-fab-foreground-color: white;--mat-fab-state-layer-color: white;--mat-fab-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-mini-fab.mat-primary{--mdc-fab-small-container-color: #3f51b5}.dark-theme .mat-mdc-mini-fab.mat-primary{--mat-fab-small-foreground-color: white;--mat-fab-small-state-layer-color: white;--mat-fab-small-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-mini-fab.mat-accent{--mdc-fab-small-container-color: #ff4081}.dark-theme .mat-mdc-mini-fab.mat-accent{--mat-fab-small-foreground-color: white;--mat-fab-small-state-layer-color: white;--mat-fab-small-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-mini-fab.mat-warn{--mdc-fab-small-container-color: #f44336}.dark-theme .mat-mdc-mini-fab.mat-warn{--mat-fab-small-foreground-color: white;--mat-fab-small-state-layer-color: white;--mat-fab-small-ripple-color: rgba(255, 255, 255, .1)}.dark-theme{--mdc-snackbar-container-shape: 4px}.dark-theme{--mdc-snackbar-container-color: rgb(217.2, 217.2, 217.2);--mdc-snackbar-supporting-text-color: rgba(66, 66, 66, .87)}.dark-theme{--mat-snack-bar-button-color: rgba(0, 0, 0, .87)}.dark-theme{--mat-table-row-item-outline-width: 1px}.dark-theme{--mat-table-background-color: #424242;--mat-table-header-headline-color: white;--mat-table-row-item-label-text-color: white;--mat-table-row-item-outline-color: rgba(255, 255, 255, .12)}.dark-theme{--mdc-circular-progress-active-indicator-width: 4px;--mdc-circular-progress-size: 48px}.dark-theme{--mdc-circular-progress-active-indicator-color: #3f51b5}.dark-theme .mat-accent{--mdc-circular-progress-active-indicator-color: #ff4081}.dark-theme .mat-warn{--mdc-circular-progress-active-indicator-color: #f44336}.dark-theme{--mat-badge-container-shape: 50%;--mat-badge-container-size: unset;--mat-badge-small-size-container-size: unset;--mat-badge-large-size-container-size: unset;--mat-badge-legacy-container-size: 22px;--mat-badge-legacy-small-size-container-size: 16px;--mat-badge-legacy-large-size-container-size: 28px;--mat-badge-container-offset: -11px 0;--mat-badge-small-size-container-offset: -8px 0;--mat-badge-large-size-container-offset: -14px 0;--mat-badge-container-overlap-offset: -11px;--mat-badge-small-size-container-overlap-offset: -8px;--mat-badge-large-size-container-overlap-offset: -14px;--mat-badge-container-padding: 0;--mat-badge-small-size-container-padding: 0;--mat-badge-large-size-container-padding: 0}.dark-theme{--mat-badge-background-color: #3f51b5;--mat-badge-text-color: white;--mat-badge-disabled-state-background-color: rgb(110.1, 110.1, 110.1);--mat-badge-disabled-state-text-color: rgba(255, 255, 255, .5)}.dark-theme .mat-badge-accent{--mat-badge-background-color: #ff4081;--mat-badge-text-color: white}.dark-theme .mat-badge-warn{--mat-badge-background-color: #f44336;--mat-badge-text-color: white}.dark-theme{--mat-bottom-sheet-container-shape: 4px}.dark-theme{--mat-bottom-sheet-container-text-color: white;--mat-bottom-sheet-container-background-color: #424242}.dark-theme{--mat-legacy-button-toggle-height: 36px;--mat-legacy-button-toggle-shape: 2px;--mat-legacy-button-toggle-focus-state-layer-opacity: 1}.dark-theme{--mat-standard-button-toggle-shape: 4px;--mat-standard-button-toggle-hover-state-layer-opacity: .04;--mat-standard-button-toggle-focus-state-layer-opacity: .12}.dark-theme{--mat-legacy-button-toggle-text-color: rgba(255, 255, 255, .5);--mat-legacy-button-toggle-state-layer-color: rgba(255, 255, 255, .12);--mat-legacy-button-toggle-selected-state-text-color: rgba(255, 255, 255, .7);--mat-legacy-button-toggle-selected-state-background-color: #212121;--mat-legacy-button-toggle-disabled-state-text-color: rgba(255, 255, 255, .3);--mat-legacy-button-toggle-disabled-state-background-color: black;--mat-legacy-button-toggle-disabled-selected-state-background-color: #424242}.dark-theme{--mat-standard-button-toggle-text-color: white;--mat-standard-button-toggle-background-color: #424242;--mat-standard-button-toggle-state-layer-color: white;--mat-standard-button-toggle-selected-state-background-color: #212121;--mat-standard-button-toggle-selected-state-text-color: white;--mat-standard-button-toggle-disabled-state-text-color: rgba(255, 255, 255, .3);--mat-standard-button-toggle-disabled-state-background-color: #424242;--mat-standard-button-toggle-disabled-selected-state-text-color: white;--mat-standard-button-toggle-disabled-selected-state-background-color: #424242;--mat-standard-button-toggle-divider-color: rgb(88.68, 88.68, 88.68)}.dark-theme{--mat-datepicker-calendar-container-shape: 4px;--mat-datepicker-calendar-container-touch-shape: 4px;--mat-datepicker-calendar-container-elevation-shadow: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mat-datepicker-calendar-container-touch-elevation-shadow: 0px 11px 15px -7px rgba(0, 0, 0, .2), 0px 24px 38px 3px rgba(0, 0, 0, .14), 0px 9px 46px 8px rgba(0, 0, 0, .12)}.dark-theme{--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #3f51b5;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(63, 81, 181, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: rgba(63, 81, 181, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(63, 81, 181, .3);--mat-datepicker-toggle-active-state-icon-color: #3f51b5;--mat-datepicker-calendar-date-in-range-state-background-color: rgba(63, 81, 181, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: rgb(69.5241935484, 163.4758064516, 93.9516129032);--mat-datepicker-toggle-icon-color: white;--mat-datepicker-calendar-body-label-text-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-period-button-text-color: white;--mat-datepicker-calendar-period-button-icon-color: white;--mat-datepicker-calendar-navigation-button-icon-color: white;--mat-datepicker-calendar-header-divider-color: rgba(255, 255, 255, .12);--mat-datepicker-calendar-header-text-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-date-today-outline-color: rgba(255, 255, 255, .5);--mat-datepicker-calendar-date-today-disabled-state-outline-color: rgba(255, 255, 255, .3);--mat-datepicker-calendar-date-text-color: white;--mat-datepicker-calendar-date-outline-color: transparent;--mat-datepicker-calendar-date-disabled-state-text-color: rgba(255, 255, 255, .5);--mat-datepicker-calendar-date-preview-state-outline-color: rgba(255, 255, 255, .24);--mat-datepicker-range-input-separator-color: white;--mat-datepicker-range-input-disabled-state-separator-color: rgba(255, 255, 255, .5);--mat-datepicker-range-input-disabled-state-text-color: rgba(255, 255, 255, .5);--mat-datepicker-calendar-container-background-color: #424242;--mat-datepicker-calendar-container-text-color: white}.dark-theme .mat-datepicker-content.mat-accent{--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #ff4081;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(255, 64, 129, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: rgba(255, 64, 129, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(255, 64, 129, .3);--mat-datepicker-calendar-date-in-range-state-background-color: rgba(255, 64, 129, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: rgb(69.5241935484, 163.4758064516, 93.9516129032)}.dark-theme .mat-datepicker-content.mat-warn{--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #f44336;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(244, 67, 54, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: rgba(244, 67, 54, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(244, 67, 54, .3);--mat-datepicker-calendar-date-in-range-state-background-color: rgba(244, 67, 54, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: rgb(69.5241935484, 163.4758064516, 93.9516129032)}.dark-theme .mat-datepicker-toggle-active.mat-accent{--mat-datepicker-toggle-active-state-icon-color: #ff4081}.dark-theme .mat-datepicker-toggle-active.mat-warn{--mat-datepicker-toggle-active-state-icon-color: #f44336}.dark-theme{--mat-divider-width: 1px}.dark-theme{--mat-divider-color: rgba(255, 255, 255, .12)}.dark-theme{--mat-expansion-container-shape: 4px;--mat-expansion-legacy-header-indicator-display: inline-block;--mat-expansion-header-indicator-display: none}.dark-theme{--mat-expansion-container-background-color: #424242;--mat-expansion-container-text-color: white;--mat-expansion-actions-divider-color: rgba(255, 255, 255, .12);--mat-expansion-header-hover-state-layer-color: rgba(255, 255, 255, .04);--mat-expansion-header-focus-state-layer-color: rgba(255, 255, 255, .04);--mat-expansion-header-disabled-state-text-color: rgba(255, 255, 255, .3);--mat-expansion-header-text-color: white;--mat-expansion-header-description-color: rgba(255, 255, 255, .7);--mat-expansion-header-indicator-color: rgba(255, 255, 255, .7)}.dark-theme{--mat-icon-color: inherit}.dark-theme .mat-icon.mat-primary{--mat-icon-color: #3f51b5}.dark-theme .mat-icon.mat-accent{--mat-icon-color: #ff4081}.dark-theme .mat-icon.mat-warn{--mat-icon-color: #f44336}.dark-theme{--mat-sidenav-container-shape: 0;--mat-sidenav-container-elevation-shadow: 0px 8px 10px -5px rgba(0, 0, 0, .2), 0px 16px 24px 2px rgba(0, 0, 0, .14), 0px 6px 30px 5px rgba(0, 0, 0, .12);--mat-sidenav-container-width: auto}.dark-theme{--mat-sidenav-container-divider-color: rgba(255, 255, 255, .12);--mat-sidenav-container-background-color: #424242;--mat-sidenav-container-text-color: white;--mat-sidenav-content-background-color: #303030;--mat-sidenav-content-text-color: white;--mat-sidenav-scrim-color: rgba(189, 189, 189, .6)}.dark-theme{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #3f51b5;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #3f51b5;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #3f51b5;--mat-stepper-header-edit-state-icon-foreground-color: white;--mat-stepper-container-color: #424242;--mat-stepper-line-color: rgba(255, 255, 255, .12);--mat-stepper-header-hover-state-layer-color: rgba(255, 255, 255, .04);--mat-stepper-header-focus-state-layer-color: rgba(255, 255, 255, .04);--mat-stepper-header-label-text-color: rgba(255, 255, 255, .7);--mat-stepper-header-optional-label-text-color: rgba(255, 255, 255, .7);--mat-stepper-header-selected-state-label-text-color: white;--mat-stepper-header-error-state-label-text-color: #f44336;--mat-stepper-header-icon-background-color: rgba(255, 255, 255, .7);--mat-stepper-header-error-state-icon-foreground-color: #f44336;--mat-stepper-header-error-state-icon-background-color: transparent}.dark-theme .mat-step-header.mat-accent{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #ff4081;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #ff4081;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #ff4081;--mat-stepper-header-edit-state-icon-foreground-color: white}.dark-theme .mat-step-header.mat-warn{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #f44336;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #f44336;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #f44336;--mat-stepper-header-edit-state-icon-foreground-color: white}.dark-theme{--mat-sort-arrow-color: rgb(198.3, 198.3, 198.3)}.dark-theme{--mat-toolbar-container-background-color: #212121;--mat-toolbar-container-text-color: white}.dark-theme .mat-toolbar.mat-primary{--mat-toolbar-container-background-color: #3f51b5;--mat-toolbar-container-text-color: white}.dark-theme .mat-toolbar.mat-accent{--mat-toolbar-container-background-color: #ff4081;--mat-toolbar-container-text-color: white}.dark-theme .mat-toolbar.mat-warn{--mat-toolbar-container-background-color: #f44336;--mat-toolbar-container-text-color: white}.dark-theme{--mat-tree-container-background-color: #424242;--mat-tree-node-text-color: white}.dark-theme{--mat-timepicker-container-shape: 4px;--mat-timepicker-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12)}.dark-theme{--mat-timepicker-container-background-color: #424242}.dark-theme html,.dark-theme body{background-color:#303030}.dark-theme .mat-toolbar.mat-primary{background:#303030;color:#fff}.dark-theme .card{background-color:#303030;border-color:#666;box-shadow:#ffffff24 0 1px 4px;color:#fff}.dark-theme .card-header{background-image:linear-gradient(60deg,#4b5266,#465d9c);border-bottom-color:#fff;box-shadow:#00000024 0 4px 20px,#465d9c66 0 7px 10px -5px;color:#fff}.dark-theme .card-title>a{color:#fff}.dark-theme .card-subtitle{font-size:.9rem;margin-left:1.4rem}.dark-theme .detail>.title{background-image:linear-gradient(60deg,#4766bc,#465d9c);border-bottom-color:#fff;box-shadow:#00000024 0 4px 20px,#465d9c66 0 7px 10px -5px;color:#fff}.dark-theme .detail>.title a{color:#ff0}.dark-theme .mat-mdc-menu-content .mat-mdc-menu-item:hover{background-color:#4f4f4f!important}.dark-theme .mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:#4f4f4f}.dark-theme .mat-primary .mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:#fff}.dark-theme uds-sidebar .icon{filter:brightness(0) invert(1)} diff --git a/server/src/uds/static/modern/main.js b/server/src/uds/static/modern/main.js index 97468b38d..8ea0a9c49 100644 --- a/server/src/uds/static/modern/main.js +++ b/server/src/uds/static/modern/main.js @@ -1,11 +1,11 @@ -var KI=Object.defineProperty,XI=Object.defineProperties;var JI=Object.getOwnPropertyDescriptors;var Dl=Object.getOwnPropertySymbols;var mb=Object.prototype.hasOwnProperty,gb=Object.prototype.propertyIsEnumerable;var pb=(n,e,r)=>e in n?KI(n,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):n[e]=r,x=(n,e)=>{for(var r in e||={})mb.call(e,r)&&pb(n,r,e[r]);if(Dl)for(var r of Dl(e))gb.call(e,r)&&pb(n,r,e[r]);return n},ue=(n,e)=>XI(n,JI(e));var Th=(n,e)=>{var r={};for(var t in n)mb.call(n,t)&&e.indexOf(t)<0&&(r[t]=n[t]);if(n!=null&&Dl)for(var t of Dl(n))e.indexOf(t)<0&&gb.call(n,t)&&(r[t]=n[t]);return r};var Oe=(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())});function vb(n,e){return Object.is(n,e)}var tt=null,js=!1,El=1,en=Symbol("SIGNAL");function Ce(n){let e=tt;return tt=n,e}function bb(){return tt}function eM(){return js}var yo={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 Nh(n){if(js)throw new Error("");if(tt===null)return;tt.consumerOnSignalRead(n);let e=tt.nextProducerIndex++;if(kl(tt),en.nextProducerIndex;)n.producerNode.pop(),n.producerLastReadVersion.pop(),n.producerIndexOfThis.pop()}}function Sl(n){kl(n);for(let e=0;e0}function kl(n){n.producerNode??=[],n.producerIndexOfThis??=[],n.producerLastReadVersion??=[]}function Db(n){n.liveConsumerNode??=[],n.liveConsumerIndexOfThis??=[]}function Eb(n){return n.producerNode!==void 0}function Ph(n){let e=Object.create(nM);e.computation=n;let r=()=>{if(yb(e),Nh(e),e.value===Il)throw e.error;return e.value};return r[en]=e,r}var Ah=Symbol("UNSET"),kh=Symbol("COMPUTING"),Il=Symbol("ERRORED"),nM=ue(x({},yo),{value:Ah,dirty:!0,error:null,equal:vb,producerMustRecompute(n){return n.value===Ah||n.value===kh},producerRecomputeValue(n){if(n.value===kh)throw new Error("Detected cycle in computations.");let e=n.value;n.value=kh;let r=Bs(n),t;try{t=n.computation()}catch(i){t=Il,n.error=i}finally{Ml(n,r)}if(e!==Ah&&e!==Il&&t!==Il&&n.equal(e,t)){n.value=e;return}n.value=t,n.version++}});function iM(){throw new Error}var Ib=iM;function Mb(){Ib()}function Sb(n){Ib=n}var Oh=null;function Tb(n){let e=Object.create(kb);e.value=n;let r=()=>(Nh(e),e.value);return r[en]=e,r}function Fh(n,e){wb()||Mb(),n.equal(n.value,e)||(n.value=e,rM(n))}function Ab(n,e){wb()||Mb(),Fh(n,e(n.value))}var kb=ue(x({},yo),{equal:vb,value:void 0});function rM(n){n.version++,tM(),_b(n),Oh==null||Oh()}function Ob(n,e,r){let t=Object.create(oM);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)||(Tl(l),l.cleanupFn(),l.fn=null,l.schedule=null,l.cleanupFn=Rh)}let a=()=>{if(t.fn===null)return;if(eM())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(t.dirty=!1,t.hasRun&&!Sl(t))return;t.hasRun=!0;let l=Bs(t);try{t.cleanupFn(),t.cleanupFn=Rh,t.fn(i)}finally{Ml(t,l)}};return t.ref={notify:()=>Cb(t),run:a,cleanup:()=>t.cleanupFn(),destroy:()=>s(t),[en]:t},t.ref}var Rh=()=>{},oM=ue(x({},yo),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:n=>{n.schedule!==null&&n.schedule(n.ref)},hasRun:!1,cleanupFn:Rh});function K(n){return typeof n=="function"}function Hi(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 Ol=Hi(n=>function(r){n(this),this.message=r?`${r.length} errors occurred during unsubscription: -${r.map((t,i)=>`${i+1}) ${t.toString()}`).join(` - `)}`:"",this.name="UnsubscriptionError",this.errors=r});function Sr(n,e){if(n){let r=n.indexOf(e);0<=r&&n.splice(r,1)}}var me=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(K(t))try{t()}catch(o){e=o instanceof Ol?o.errors:[o]}let{_finalizers:i}=this;if(i){this._finalizers=null;for(let o of i)try{Rb(o)}catch(s){e=e??[],s instanceof Ol?e=[...e,...s.errors]:e.push(s)}}if(e)throw new Ol(e)}}add(e){var r;if(e&&e!==this)if(this.closed)Rb(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)&&Sr(r,e)}remove(e){let{_finalizers:r}=this;r&&Sr(r,e),e instanceof n&&e._removeParent(this)}};me.EMPTY=(()=>{let n=new me;return n.closed=!0,n})();var Lh=me.EMPTY;function Rl(n){return n instanceof me||n&&"closed"in n&&K(n.remove)&&K(n.add)&&K(n.unsubscribe)}function Rb(n){K(n)?n():n.unsubscribe()}var Cn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var _o={setTimeout(n,e,...r){let{delegate:t}=_o;return t!=null&&t.setTimeout?t.setTimeout(n,e,...r):setTimeout(n,e,...r)},clearTimeout(n){let{delegate:e}=_o;return((e==null?void 0:e.clearTimeout)||clearTimeout)(n)},delegate:void 0};function Nl(n){_o.setTimeout(()=>{let{onUnhandledError:e}=Cn;if(e)e(n);else throw n})}function Tr(){}var Nb=jh("C",void 0,void 0);function Pb(n){return jh("E",void 0,n)}function Fb(n){return jh("N",n,void 0)}function jh(n,e,r){return{kind:n,value:e,error:r}}var Ar=null;function wo(n){if(Cn.useDeprecatedSynchronousErrorHandling){let e=!Ar;if(e&&(Ar={errorThrown:!1,error:null}),n(),e){let{errorThrown:r,error:t}=Ar;if(Ar=null,r)throw t}}else n()}function Lb(n){Cn.useDeprecatedSynchronousErrorHandling&&Ar&&(Ar.errorThrown=!0,Ar.error=n)}var kr=class extends me{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,Rl(e)&&e.add(this)):this.destination=lM}static create(e,r,t){return new xn(e,r,t)}next(e){this.isStopped?Bh(Fb(e),this):this._next(e)}error(e){this.isStopped?Bh(Pb(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?Bh(Nb,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()}}},sM=Function.prototype.bind;function Vh(n,e){return sM.call(n,e)}var Uh=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:r}=this;if(r.next)try{r.next(e)}catch(t){Pl(t)}}error(e){let{partialObserver:r}=this;if(r.error)try{r.error(e)}catch(t){Pl(t)}else Pl(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(r){Pl(r)}}},xn=class extends kr{constructor(e,r,t){super();let i;if(K(e)||!e)i={next:e??void 0,error:r??void 0,complete:t??void 0};else{let o;this&&Cn.useDeprecatedNextContext?(o=Object.create(e),o.unsubscribe=()=>this.unsubscribe(),i={next:e.next&&Vh(e.next,o),error:e.error&&Vh(e.error,o),complete:e.complete&&Vh(e.complete,o)}):i=e}this.destination=new Uh(i)}};function Pl(n){Cn.useDeprecatedSynchronousErrorHandling?Lb(n):Nl(n)}function aM(n){throw n}function Bh(n,e){let{onStoppedNotification:r}=Cn;r&&_o.setTimeout(()=>r(n,e))}var lM={closed:!0,next:Tr,error:aM,complete:Tr};var Co=typeof Symbol=="function"&&Symbol.observable||"@@observable";function At(n){return n}function zh(...n){return Hh(n)}function Hh(n){return n.length===0?At:n.length===1?n[0]:function(r){return n.reduce((t,i)=>i(t),r)}}var ae=(()=>{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=dM(r)?r:new xn(r,t,i);return wo(()=>{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=jb(t),new t((i,o)=>{let s=new xn({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)}[Co](){return this}pipe(...r){return Hh(r)(this)}toPromise(r){return r=jb(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 jb(n){var e;return(e=n??Cn.Promise)!==null&&e!==void 0?e:Promise}function cM(n){return n&&K(n.next)&&K(n.error)&&K(n.complete)}function dM(n){return n&&n instanceof kr||cM(n)&&Rl(n)}function $h(n){return K(n==null?void 0:n.lift)}function ee(n){return e=>{if($h(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 J(n,e,r,t,i){return new Wh(n,e,r,t,i)}var Wh=class extends kr{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 xo(){return ee((n,e)=>{let r=null;n._refCount++;let t=J(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 Or=class extends ae{constructor(e,r){super(),this.source=e,this.subjectFactory=r,this._subject=null,this._refCount=0,this._connection=null,$h(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 me;let r=this.getSubject();e.add(this.source.subscribe(J(r,void 0,()=>{this._teardown(),r.complete()},t=>{this._teardown(),r.error(t)},()=>this._teardown()))),e.closed&&(this._connection=null,e=me.EMPTY)}return e}refCount(){return xo()(this)}};var Vb=Hi(n=>function(){n(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var A=(()=>{class n extends ae{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(r){let t=new Fl(this,this);return t.operator=r,t}_throwIfClosed(){if(this.closed)throw new Vb}next(r){wo(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let t of this.currentObservers)t.next(r)}})}error(r){wo(()=>{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(){wo(()=>{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?Lh:(this.currentObservers=null,o.push(r),new me(()=>{this.currentObservers=null,Sr(o,r)}))}_checkFinalizedStatuses(r){let{hasError:t,thrownError:i,isStopped:o}=this;t?r.error(i):o&&r.complete()}asObservable(){let r=new ae;return r.source=this,r}}return n.create=(e,r)=>new Fl(e,r),n})(),Fl=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:Lh}};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 Us={now(){return(Us.delegate||Date).now()},delegate:void 0};var Ll=class extends A{constructor(e=1/0,r=1/0,t=Us){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;sBb(e)&&n()),e},clearImmediate(n){Bb(n)}};var{setImmediate:hM,clearImmediate:fM}=Ub,Hs={setImmediate(...n){let{delegate:e}=Hs;return((e==null?void 0:e.setImmediate)||hM)(...n)},clearImmediate(n){let{delegate:e}=Hs;return((e==null?void 0:e.clearImmediate)||fM)(n)},delegate:void 0};var Vl=class extends Do{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=Hs.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&&(Hs.clearImmediate(r),e._scheduled===r&&(e._scheduled=void 0))}};var Eo=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)}};Eo.now=Us.now;var Io=class extends Eo{constructor(e,r=Eo.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 Bl=class extends Io{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 $s=new Bl(Vl);var Dn=new Io(Do),zb=Dn;var ut=new ae(n=>n.complete());function Ul(n){return n&&K(n.schedule)}function Yh(n){return n[n.length-1]}function zl(n){return K(Yh(n))?n.pop():void 0}function Vn(n){return Ul(Yh(n))?n.pop():void 0}function Hb(n,e){return typeof Yh(n)=="number"?n.pop():e}function Wb(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 $b(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 Rr(n){return this instanceof Rr?(this.v=n,this):new Rr(n)}function Gb(n,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=r.apply(n,e||[]),i,o=[];return i=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),i[Symbol.asyncIterator]=function(){return this},i;function s(p){return function(g){return Promise.resolve(g).then(p,u)}}function a(p,g){t[p]&&(i[p]=function(w){return new Promise(function(M,T){o.push([p,w,M,T])>1||l(p,w)})},g&&(i[p]=g(i[p])))}function l(p,g){try{c(t[p](g))}catch(w){f(o[0][3],w)}}function c(p){p.value instanceof Rr?Promise.resolve(p.value.v).then(d,u):f(o[0][2],p)}function d(p){l("next",p)}function u(p){l("throw",p)}function f(p,g){p(g),o.shift(),o.length&&l(o[0][0],o[0][1])}}function qb(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 $b=="function"?$b(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 Mo=n=>n&&typeof n.length=="number"&&typeof n!="function";function Hl(n){return K(n==null?void 0:n.then)}function $l(n){return K(n[Co])}function Wl(n){return Symbol.asyncIterator&&K(n==null?void 0:n[Symbol.asyncIterator])}function Gl(n){return new TypeError(`You provided ${n!==null&&typeof n=="object"?"an invalid object":`'${n}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function pM(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var ql=pM();function Yl(n){return K(n==null?void 0:n[ql])}function Zl(n){return Gb(this,arguments,function*(){let r=n.getReader();try{for(;;){let{value:t,done:i}=yield Rr(r.read());if(i)return yield Rr(void 0);yield yield Rr(t)}}finally{r.releaseLock()}})}function Ql(n){return K(n==null?void 0:n.getReader)}function Ie(n){if(n instanceof ae)return n;if(n!=null){if($l(n))return mM(n);if(Mo(n))return gM(n);if(Hl(n))return vM(n);if(Wl(n))return Yb(n);if(Yl(n))return bM(n);if(Ql(n))return yM(n)}throw Gl(n)}function mM(n){return new ae(e=>{let r=n[Co]();if(K(r.subscribe))return r.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function gM(n){return new ae(e=>{for(let r=0;r{n.then(r=>{e.closed||(e.next(r),e.complete())},r=>e.error(r)).then(null,Nl)})}function bM(n){return new ae(e=>{for(let r of n)if(e.next(r),e.closed)return;e.complete()})}function Yb(n){return new ae(e=>{_M(n,e).catch(r=>e.error(r))})}function yM(n){return Yb(Zl(n))}function _M(n,e){var r,t,i,o;return Wb(this,void 0,void 0,function*(){try{for(r=qb(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 Ct(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 Kl(n,e=0){return ee((r,t)=>{r.subscribe(J(t,i=>Ct(t,n,()=>t.next(i),e),()=>Ct(t,n,()=>t.complete(),e),i=>Ct(t,n,()=>t.error(i),e)))})}function Xl(n,e=0){return ee((r,t)=>{t.add(n.schedule(()=>r.subscribe(t),e))})}function Zb(n,e){return Ie(n).pipe(Xl(e),Kl(e))}function Qb(n,e){return Ie(n).pipe(Xl(e),Kl(e))}function Kb(n,e){return new ae(r=>{let t=0;return e.schedule(function(){t===n.length?r.complete():(r.next(n[t++]),r.closed||this.schedule())})})}function Xb(n,e){return new ae(r=>{let t;return Ct(r,e,()=>{t=n[ql](),Ct(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)}),()=>K(t==null?void 0:t.return)&&t.return()})}function Jl(n,e){if(!n)throw new Error("Iterable cannot be null");return new ae(r=>{Ct(r,e,()=>{let t=n[Symbol.asyncIterator]();Ct(r,e,()=>{t.next().then(i=>{i.done?r.complete():r.next(i.value)})},0,!0)})})}function Jb(n,e){return Jl(Zl(n),e)}function ey(n,e){if(n!=null){if($l(n))return Zb(n,e);if(Mo(n))return Kb(n,e);if(Hl(n))return Qb(n,e);if(Wl(n))return Jl(n,e);if(Yl(n))return Xb(n,e);if(Ql(n))return Jb(n,e)}throw Gl(n)}function Le(n,e){return e?ey(n,e):Ie(n)}function H(...n){let e=Vn(n);return Le(n,e)}function So(n,e){let r=K(n)?n:()=>n,t=i=>i.error(r());return new ae(e?i=>e.schedule(t,0,i):t)}function To(n){return!!n&&(n instanceof ae||K(n.lift)&&K(n.subscribe))}var En=Hi(n=>function(){n(this),this.name="EmptyError",this.message="no elements in sequence"});function ec(n,e){let r=typeof e=="object";return new Promise((t,i)=>{let o=new xn({next:s=>{t(s),o.unsubscribe()},error:i,complete:()=>{r?t(e.defaultValue):i(new En)}});n.subscribe(o)})}function tc(n){return n instanceof Date&&!isNaN(n)}var wM=Hi(n=>function(r=null){n(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=r});function Zh(n,e){let{first:r,each:t,with:i=CM,scheduler:o=e??Dn,meta:s=null}=tc(n)?{first:n}:typeof n=="number"?{each:n}:n;if(r==null&&t==null)throw new TypeError("No timeout provided.");return ee((a,l)=>{let c,d,u=null,f=0,p=g=>{d=Ct(l,o,()=>{try{c.unsubscribe(),Ie(i({meta:s,lastValue:u,seen:f})).subscribe(l)}catch(w){l.error(w)}},g)};c=a.subscribe(J(l,g=>{d==null||d.unsubscribe(),f++,l.next(u=g),t>0&&p(t)},void 0,void 0,()=>{d!=null&&d.closed||d==null||d.unsubscribe(),u=null})),!f&&p(r!=null?typeof r=="number"?r:+r-o.now():t)})}function CM(n){throw new wM(n)}function X(n,e){return ee((r,t)=>{let i=0;r.subscribe(J(t,o=>{t.next(n.call(e,o,i++))}))})}var{isArray:xM}=Array;function DM(n,e){return xM(e)?n(...e):n(e)}function Ao(n){return X(e=>DM(n,e))}var{isArray:EM}=Array,{getPrototypeOf:IM,prototype:MM,keys:SM}=Object;function nc(n){if(n.length===1){let e=n[0];if(EM(e))return{args:e,keys:null};if(TM(e)){let r=SM(e);return{args:r.map(t=>e[t]),keys:r}}}return{args:n,keys:null}}function TM(n){return n&&typeof n=="object"&&IM(n)===MM}function ic(n,e){return n.reduce((r,t,i)=>(r[t]=e[i],r),{})}function Nr(...n){let e=Vn(n),r=zl(n),{args:t,keys:i}=nc(n);if(t.length===0)return Le([],e);let o=new ae(AM(t,e,i?s=>ic(i,s):At));return r?o.pipe(Ao(r)):o}function AM(n,e,r=At){return t=>{ty(e,()=>{let{length:i}=n,o=new Array(i),s=i,a=i;for(let l=0;l{let c=Le(n[l],e),d=!1;c.subscribe(J(t,u=>{o[l]=u,d||(d=!0,a--),a||t.next(r(o.slice()))},()=>{--s||t.complete()}))},t)},t)}}function ty(n,e,r){n?Ct(r,n,e):e()}function ny(n,e,r,t,i,o,s,a){let l=[],c=0,d=0,u=!1,f=()=>{u&&!l.length&&!c&&e.complete()},p=w=>c{o&&e.next(w),c++;let M=!1;Ie(r(w,d++)).subscribe(J(e,T=>{i==null||i(T),o?p(T):e.next(T)},()=>{M=!0},void 0,()=>{if(M)try{for(c--;l.length&&cg(T)):g(T)}f()}catch(T){e.error(T)}}))};return n.subscribe(J(e,p,()=>{u=!0,f()})),()=>{a==null||a()}}function Ye(n,e,r=1/0){return K(e)?Ye((t,i)=>X((o,s)=>e(t,o,i,s))(Ie(n(t,i))),r):(typeof e=="number"&&(r=e),ee((t,i)=>ny(t,i,n,r)))}function $i(n=1/0){return Ye(At,n)}function iy(){return $i(1)}function Bn(...n){return iy()(Le(n,Vn(n)))}function Un(n){return new ae(e=>{Ie(n()).subscribe(e)})}function Qh(...n){let e=zl(n),{args:r,keys:t}=nc(n),i=new ae(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?ic(t,a):a),o.complete())}))}});return e?i.pipe(Ao(e)):i}var kM=["addListener","removeListener"],OM=["addEventListener","removeEventListener"],RM=["on","off"];function vi(n,e,r,t){if(K(r)&&(t=r,r=void 0),t)return vi(n,e,r).pipe(Ao(t));let[i,o]=FM(n)?OM.map(s=>a=>n[s](e,a,r)):NM(n)?kM.map(ry(n,e)):PM(n)?RM.map(ry(n,e)):[];if(!i&&Mo(n))return Ye(s=>vi(s,e,r))(Ie(n));if(!i)throw new TypeError("Invalid event target");return new ae(s=>{let a=(...l)=>s.next(1o(a)})}function ry(n,e){return r=>t=>n[r](e,t)}function NM(n){return K(n.addListener)&&K(n.removeListener)}function PM(n){return K(n.on)&&K(n.off)}function FM(n){return K(n.addEventListener)&&K(n.removeEventListener)}function ko(n=0,e,r=zb){let t=-1;return e!=null&&(Ul(e)?r=e:t=e),new ae(i=>{let o=tc(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 Kh(n=0,e=Dn){return n<0&&(n=0),ko(n,n,e)}function vt(...n){let e=Vn(n),r=Hb(n,1/0),t=n;return t.length?t.length===1?Ie(t[0]):$i(r)(Le(t,e)):ut}function ce(n,e){return ee((r,t)=>{let i=0;r.subscribe(J(t,o=>n.call(e,o,i++)&&t.next(o)))})}function oy(n){return ee((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(J(r,c=>{t=!0,i=c,o||Ie(n(c)).subscribe(o=J(r,a,l))},()=>{s=!0,(!t||!o||o.closed)&&r.complete()}))})}function rc(n,e=Dn){return oy(()=>ko(n,e))}function Wi(n){return ee((e,r)=>{let t=null,i=!1,o;t=e.subscribe(J(r,void 0,void 0,s=>{o=Ie(n(s,Wi(n)(e))),t?(t.unsubscribe(),t=null,o.subscribe(r)):i=!0})),i&&(t.unsubscribe(),t=null,o.subscribe(r))})}function sy(n,e,r,t,i){return(o,s)=>{let a=r,l=e,c=0;o.subscribe(J(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 bi(n,e){return K(e)?Ye(n,e,1):Ye(n,1)}function Pr(n,e=Dn){return ee((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 Gi(n){return ee((e,r)=>{let t=!1;e.subscribe(J(r,i=>{t=!0,r.next(i)},()=>{t||r.next(n),r.complete()}))})}function Ue(n){return n<=0?()=>ut:ee((e,r)=>{let t=0;e.subscribe(J(r,i=>{++t<=n&&(r.next(i),n<=t&&r.complete())}))})}function ay(){return ee((n,e)=>{n.subscribe(J(e,Tr))})}function Ws(n){return X(()=>n)}function Xh(n,e){return e?r=>Bn(e.pipe(Ue(1),ay()),r.pipe(Xh(n))):Ye((r,t)=>Ie(n(r,t)).pipe(Ue(1),Ws(r)))}function oc(n,e=Dn){let r=ko(n,e);return Xh(()=>r)}function qi(n,e=At){return n=n??LM,ee((r,t)=>{let i,o=!0;r.subscribe(J(t,s=>{let a=e(s);(o||!n(i,a))&&(o=!1,i=a,t.next(s))}))})}function LM(n,e){return n===e}function sc(n=jM){return ee((e,r)=>{let t=!1;e.subscribe(J(r,i=>{t=!0,r.next(i)},()=>t?r.complete():r.error(n())))})}function jM(){return new En}function Yi(n){return ee((e,r)=>{try{e.subscribe(r)}finally{r.add(n)}})}function zn(n,e){let r=arguments.length>=2;return t=>t.pipe(n?ce((i,o)=>n(i,o,t)):At,Ue(1),r?Gi(e):sc(()=>new En))}function Oo(n){return n<=0?()=>ut:ee((e,r)=>{let t=[];e.subscribe(J(r,i=>{t.push(i),n{for(let i of t)r.next(i);r.complete()},void 0,()=>{t=null}))})}function Jh(n,e){let r=arguments.length>=2;return t=>t.pipe(n?ce((i,o)=>n(i,o,t)):At,Oo(1),r?Gi(e):sc(()=>new En))}function ef(n,e){return ee(sy(n,e,arguments.length>=2,!0))}function ly(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},p=()=>{f(),s=l=void 0,d=u=!1},g=()=>{let w=s;p(),w==null||w.unsubscribe()};return ee((w,M)=>{c++,!u&&!d&&f();let T=l=l??e();M.add(()=>{c--,c===0&&!u&&!d&&(a=tf(g,i))}),T.subscribe(M),!s&&c>0&&(s=new xn({next:Y=>T.next(Y),error:Y=>{u=!0,f(),a=tf(p,r,Y),T.error(Y)},complete:()=>{d=!0,f(),a=tf(p,t),T.complete()}}),Ie(w).subscribe(s))})(o)}}function tf(n,e,...r){if(e===!0){n();return}if(e===!1)return;let t=new xn({next:()=>{t.unsubscribe(),n()}});return Ie(e(...r)).subscribe(t)}function ac(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??1/0,ly({connector:()=>new Ll(t,e,r),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:i})}function Gs(n){return ce((e,r)=>n<=r)}function st(...n){let e=Vn(n);return ee((r,t)=>{(e?Bn(n,r,e):Bn(n,r)).subscribe(t)})}function nt(n,e){return ee((r,t)=>{let i=null,o=0,s=!1,a=()=>s&&!i&&t.complete();r.subscribe(J(t,l=>{i==null||i.unsubscribe();let c=0,d=o++;Ie(n(l,d)).subscribe(i=J(t,u=>t.next(e?e(l,u,d,c++):u),()=>{i=null,a()}))},()=>{s=!0,a()}))})}function xe(n){return ee((e,r)=>{Ie(n).subscribe(J(r,()=>r.complete(),Tr)),!r.closed&&e.subscribe(r)})}function nf(n,e=!1){return ee((r,t)=>{let i=0;r.subscribe(J(t,o=>{let s=n(o,i++);(s||e)&&t.next(o),!s&&t.complete()}))})}function et(n,e,r){let t=K(n)||e||r?{next:n,error:e,complete:r}:n;return t?ee((i,o)=>{var s;(s=t.subscribe)===null||s===void 0||s.call(t);let a=!0;i.subscribe(J(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)}))}):At}var Jy="https://g.co/ng/security#xss",S=class extends Error{constructor(e,r){super(Xc(e,r)),this.code=e}};function Xc(n,e){return`${`NG0${Math.abs(n)}`}${e?": "+e:""}`}function ia(n){return{toString:n}.toString()}var lc="__parameters__";function VM(n){return function(...r){if(n){let t=n(...r);for(let i in t)this[i]=t[i]}}}function e_(n,e,r){return ia(()=>{let t=VM(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(lc)?l[lc]:Object.defineProperty(l,lc,{value:[]})[lc];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 Ht=globalThis;function je(n){for(let e in n)if(n[e]===je)return e;throw Error("Could not find renamed property on target object.")}function BM(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`${n.overriddenName}`;if(n.name)return`${n.name}`;let e=n.toString();if(e==null)return""+e;let r=e.indexOf(` -`);return r===-1?e:e.substring(0,r)}function gf(n,e){return n==null||n===""?e===null?"":e:e==null||e===""?n:n+" "+e}var UM=je({__forward_ref__:je});function xi(n){return n.__forward_ref__=xi,n.toString=function(){return Ot(this())},n}function bt(n){return t_(n)?n():n}function t_(n){return typeof n=="function"&&n.hasOwnProperty(UM)&&n.__forward_ref__===xi}function E(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 Jc(n){return cy(n,i_)||cy(n,r_)}function n_(n){return Jc(n)!==null}function cy(n,e){return n.hasOwnProperty(e)?n[e]:null}function zM(n){let e=n&&(n[i_]||n[r_]);return e||null}function dy(n){return n&&(n.hasOwnProperty(uy)||n.hasOwnProperty(HM))?n[uy]:null}var i_=je({\u0275prov:je}),uy=je({\u0275inj:je}),r_=je({ngInjectableDef:je}),HM=je({ngInjectorDef:je}),D=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=E({token:this,providedIn:r.providedIn||"root",factory:r.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function o_(n){return n&&!!n.\u0275providers}var $M=je({\u0275cmp:je}),WM=je({\u0275dir:je}),GM=je({\u0275pipe:je}),qM=je({\u0275mod:je}),Cc=je({\u0275fac:je}),Ys=je({__NG_ELEMENT_ID__:je}),hy=je({__NG_ENV_ID__:je});function Wn(n){return typeof n=="string"?n:n==null?"":String(n)}function YM(n){return typeof n=="function"?n.name||n.toString():typeof n=="object"&&n!=null&&typeof n.type=="function"?n.type.name||n.type.toString():Wn(n)}function ZM(n,e){let r=e?`. Dependency path: ${e.join(" > ")} > ${n}`:"";throw new S(-200,n)}function yp(n,e){throw new S(-201,!1)}var be=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}(be||{}),vf;function s_(){return vf}function Pt(n){let e=vf;return vf=n,e}function a_(n,e,r){let t=Jc(n);if(t&&t.providedIn=="root")return t.value===void 0?t.value=t.factory():t.value;if(r&be.Optional)return null;if(e!==void 0)return e;yp(n,"Injector")}var QM={},Qs=QM,bf="__NG_DI_FLAG__",xc="ngTempTokenPath",KM="ngTokenPath",XM=/\n/gm,JM="\u0275",fy="__source",Lo;function eS(){return Lo}function Zi(n){let e=Lo;return Lo=n,e}function tS(n,e=be.Default){if(Lo===void 0)throw new S(-203,!1);return Lo===null?a_(n,void 0,e):Lo.get(n,e&be.Optional?null:void 0,e)}function b(n,e=be.Default){return(s_()||tS)(bt(n),e)}function y(n,e=be.Default){return b(n,ed(e))}function ed(n){return typeof n>"u"||typeof n=="number"?n:0|(n.optional&&8)|(n.host&&1)|(n.self&&2)|(n.skipSelf&&4)}function yf(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=`{${o.join(", ")}}`}return`${r}${t?"("+t+")":""}[${i}]: ${n.replace(XM,` - `)}`}var td=l_(e_("Optional"),8);var _p=l_(e_("SkipSelf"),4);function Br(n,e){let r=n.hasOwnProperty(Cc);return r?n[Cc]:null}function oS(n,e,r){if(n.length!==e.length)return!1;for(let t=0;tArray.isArray(r)?wp(r,e):e(r))}function c_(n,e,r){e>=n.length?n.push(r):n.splice(e,0,r)}function Dc(n,e){return e>=n.length-1?n.pop():n.splice(e,1)[0]}function aS(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 nd(n,e,r){let t=ra(n,e);return t>=0?n[t|1]=r:(t=~t,lS(n,t,e,r)),t}function rf(n,e){let r=ra(n,e);if(r>=0)return n[r|1]}function ra(n,e){return cS(n,e,1)}function cS(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(In(t))return!1;s=!0}}}}return In(t)||s}function In(n){return(n&1)===0}function mS(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!==""&&!In(s)&&(e+=my(o,i),i=""),t=s,o=o||!In(t);r++}return i!==""&&(e+=my(o,i)),e}function wS(n){return n.map(_S).join(",")}function CS(n){let e=[],r=[],t=1,i=2;for(;t{let e=y_(n),r=ue(x({},e),{decls:n.decls,vars:n.vars,template:n.template,consts:n.consts||null,ngContentSelectors:n.ngContentSelectors,onPush:n.changeDetection===h_.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&n.dependencies||null,getStandaloneInjector:null,signals:n.signals??!1,data:n.data||{},encapsulation:n.encapsulation||Gn.Emulated,styles:n.styles||kt,_:null,schemas:n.schemas||null,tView:null,id:""});__(r);let t=n.dependencies;return r.directiveDefs=vy(t,!1),r.pipeDefs=vy(t,!0),r.id=ES(r),r})}function xS(n){return Ji(n)||Dp(n)}function DS(n){return n!==null}function V(n){return ia(()=>({type:n.type,bootstrap:n.bootstrap||kt,declarations:n.declarations||kt,imports:n.imports||kt,exports:n.exports||kt,transitiveCompileScopes:null,schemas:n.schemas||null,id:n.id||null}))}function gy(n,e){if(n==null)return yi;let r={};for(let t in n)if(n.hasOwnProperty(t)){let i=n[t],o,s,a=Xi.None;Array.isArray(i)?(a=i[0],o=i[1],s=i[2]??o):(o=i,s=i),e?(r[o]=a!==Xi.None?[t,a]:t,e[o]=s):r[o]=t}return r}function N(n){return ia(()=>{let e=y_(n);return __(e),e})}function xp(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 Ji(n){return n[$M]||null}function Dp(n){return n[WM]||null}function g_(n){return n[GM]||null}function v_(n){let e=Ji(n)||Dp(n)||g_(n);return e!==null?e.standalone:!1}function b_(n,e){let r=n[qM]||null;if(!r&&e===!0)throw new Error(`Type ${Ot(n)} does not have '\u0275mod' property.`);return r}function y_(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||yi,exportAs:n.exportAs||null,standalone:n.standalone===!0,signals:n.signals===!0,selectors:n.selectors||kt,viewQuery:n.viewQuery||null,features:n.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:gy(n.inputs,e),outputs:gy(n.outputs),debugInfo:null}}function __(n){var e;(e=n.features)==null||e.forEach(r=>r(n))}function vy(n,e){if(!n)return null;let r=e?g_:xS;return()=>(typeof n=="function"?n():n).map(t=>r(t)).filter(DS)}function ES(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 id(n){return{\u0275providers:n}}function IS(...n){return{\u0275providers:w_(!0,n),\u0275fromNgModule:!0}}function w_(n,...e){let r=[],t=new Set,i,o=s=>{r.push(s)};return wp(e,s=>{let a=s;wf(a,o,[],t)&&(i||=[],i.push(a))}),i!==void 0&&C_(i,o),r}function C_(n,e){for(let r=0;r{e(o,t)})}}function wf(n,e,r,t){if(n=bt(n),!n)return!1;let i=null,o=dy(n),s=!o&&Ji(n);if(!o&&!s){let l=n.ngModule;if(o=dy(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)wf(c,e,r,t)}}else if(o){if(o.imports!=null&&!a){t.add(i);let c;try{wp(o.imports,d=>{wf(d,e,r,t)&&(c||=[],c.push(d))})}finally{}c!==void 0&&C_(c,e)}if(!a){let c=Br(i)||(()=>new i);e({provide:i,useFactory:c,deps:kt},i),e({provide:u_,useValue:i,multi:!0},i),e({provide:Vo,useValue:()=>b(i),multi:!0},i)}let l=o.providers;if(l!=null&&!a){let c=n;Ep(l,d=>{e(d,c)})}}else return!1;return i!==n&&n.providers!==void 0}function Ep(n,e){for(let r of n)o_(r)&&(r=r.\u0275providers),Array.isArray(r)?Ep(r,e):e(r)}var MS=je({provide:String,useValue:je});function x_(n){return n!==null&&typeof n=="object"&&MS in n}function SS(n){return!!(n&&n.useExisting)}function TS(n){return!!(n&&n.useFactory)}function Bo(n){return typeof n=="function"}function AS(n){return!!n.useClass}var rd=new D(""),gc={},kS={},of;function Ip(){return of===void 0&&(of=new Ec),of}var yt=class{},Xs=class extends yt{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,xf(e,s=>this.processProvider(s)),this.records.set(d_,Ro(void 0,this)),i.has("environment")&&this.records.set(yt,Ro(void 0,this));let o=this.records.get(rd);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(u_,kt,be.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let e=Ce(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(),Ce(e)}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();let r=Zi(this),t=Pt(void 0),i;try{return e()}finally{Zi(r),Pt(t)}}get(e,r=Qs,t=be.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(hy))return e[hy](this);t=ed(t);let i,o=Zi(this),s=Pt(void 0);try{if(!(t&be.SkipSelf)){let l=this.records.get(e);if(l===void 0){let c=FS(e)&&Jc(e);c&&this.injectableDefInScope(c)?l=Ro(Cf(e),gc):l=null,this.records.set(e,l)}if(l!=null)return this.hydrate(e,l)}let a=t&be.Self?Ip():this.parent;return r=t&be.Optional&&r===Qs?null:r,a.get(e,r)}catch(a){if(a.name==="NullInjectorError"){if((a[xc]=a[xc]||[]).unshift(Ot(e)),o)throw a;return iS(a,e,"R3InjectorError",this.source)}else throw a}finally{Pt(s),Zi(o)}}resolveInjectorInitializers(){let e=Ce(null),r=Zi(this),t=Pt(void 0),i;try{let o=this.get(Vo,kt,be.Self);for(let s of o)s()}finally{Zi(r),Pt(t),Ce(e)}}toString(){let e=[],r=this.records;for(let t of r.keys())e.push(Ot(t));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new S(205,!1)}processProvider(e){e=bt(e);let r=Bo(e)?e:bt(e&&e.provide),t=RS(e);if(!Bo(e)&&e.multi===!0){let i=this.records.get(r);i||(i=Ro(void 0,gc,!0),i.factory=()=>yf(i.multi),this.records.set(r,i)),r=e,i.multi.push(e)}this.records.set(r,t)}hydrate(e,r){let t=Ce(null);try{return r.value===gc&&(r.value=kS,r.value=r.factory()),typeof r.value=="object"&&r.value&&PS(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}finally{Ce(t)}}injectableDefInScope(e){if(!e.providedIn)return!1;let r=bt(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 Cf(n){let e=Jc(n),r=e!==null?e.factory:Br(n);if(r!==null)return r;if(n instanceof D)throw new S(204,!1);if(n instanceof Function)return OS(n);throw new S(204,!1)}function OS(n){if(n.length>0)throw new S(204,!1);let r=zM(n);return r!==null?()=>r.factory(n):()=>new n}function RS(n){if(x_(n))return Ro(void 0,n.useValue);{let e=D_(n);return Ro(e,gc)}}function D_(n,e,r){let t;if(Bo(n)){let i=bt(n);return Br(i)||Cf(i)}else if(x_(n))t=()=>bt(n.useValue);else if(TS(n))t=()=>n.useFactory(...yf(n.deps||[]));else if(SS(n))t=()=>b(bt(n.useExisting));else{let i=bt(n&&(n.useClass||n.provide));if(NS(n))t=()=>new i(...yf(n.deps));else return Br(i)||Cf(i)}return t}function Ro(n,e,r=!1){return{factory:n,value:e,multi:r?[]:void 0}}function NS(n){return!!n.deps}function PS(n){return n!==null&&typeof n=="object"&&typeof n.ngOnDestroy=="function"}function FS(n){return typeof n=="function"||typeof n=="object"&&n instanceof D}function xf(n,e){for(let r of n)Array.isArray(r)?xf(r,e):r&&o_(r)?xf(r.\u0275providers,e):e(r)}function sn(n,e){n instanceof Xs&&n.assertNotDestroyed();let r,t=Zi(n),i=Pt(void 0);try{return e()}finally{Zi(t),Pt(i)}}function E_(){return s_()!==void 0||eS()!=null}function Mp(n){if(!E_())throw new S(-203,!1)}function LS(n){let e=Ht.ng;if(e&&e.\u0275compilerFacade)return e.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function jS(n){return typeof n=="function"}var Di=0,he=1,te=2,xt=3,Sn=4,Lt=5,Js=6,Ic=7,nn=8,Uo=9,qn=10,Ze=11,ea=12,by=13,qo=14,rn=15,Ur=16,No=17,_i=18,od=19,I_=20,Qi=21,vc=22,tn=23,Dt=25,M_=1;var zr=7,Mc=8,zo=9,Ft=10,Sc=function(n){return n[n.None=0]="None",n[n.HasTransplantedViews=2]="HasTransplantedViews",n}(Sc||{});function Ki(n){return Array.isArray(n)&&typeof n[M_]=="object"}function Ei(n){return Array.isArray(n)&&n[M_]===!0}function Sp(n){return(n.flags&4)!==0}function sd(n){return n.componentOffset>-1}function ad(n){return(n.flags&1)===1}function er(n){return!!n.template}function Df(n){return(n[te]&512)!==0}var Ef=class{constructor(e,r,t){this.previousValue=e,this.currentValue=r,this.firstChange=t}isFirstChange(){return this.firstChange}};function S_(n,e,r,t){e!==null?e.applyValueToInputSignal(e,t):n[r]=t}function $e(){return T_}function T_(n){return n.type.prototype.ngOnChanges&&(n.setInput=BS),VS}$e.ngInherit=!0;function VS(){let n=k_(this),e=n==null?void 0:n.current;if(e){let r=n.previous;if(r===yi)n.previous=e;else for(let t in e)r[t]=e[t];n.current=null,this.ngOnChanges(e)}}function BS(n,e,r,t,i){let o=this.declaredInputs[t],s=k_(n)||US(n,{previous:yi,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[o];a[o]=new Ef(c&&c.currentValue,r,l===yi),S_(n,e,i,r)}var A_="__ngSimpleChanges__";function k_(n){return n[A_]||null}function US(n,e){return n[A_]=e}var yy=null;var Hn=function(n,e,r){yy!=null&&yy(n,e,r)},O_="svg",zS="math";function Yn(n){for(;Array.isArray(n);)n=n[Di];return n}function R_(n,e){return Yn(e[n])}function an(n,e){return Yn(e[n.index])}function Tp(n,e){return n.data[e]}function N_(n,e){return n[e]}function rr(n,e){let r=e[n];return Ki(r)?r:r[Di]}function HS(n){return(n[te]&4)===4}function Ap(n){return(n[te]&128)===128}function $S(n){return Ei(n[xt])}function Ho(n,e){return e==null?null:n[e]}function P_(n){n[No]=0}function F_(n){n[te]&1024||(n[te]|=1024,Ap(n)&&cd(n))}function WS(n,e){for(;n>0;)e=e[qo],n--;return e}function ld(n){var e;return!!(n[te]&9216||(e=n[tn])!=null&&e.dirty)}function If(n){var e;(e=n[qn].changeDetectionScheduler)==null||e.notify(8),n[te]&64&&(n[te]|=1024),ld(n)&&cd(n)}function cd(n){var r;(r=n[qn].changeDetectionScheduler)==null||r.notify(0);let e=Hr(n);for(;e!==null&&!(e[te]&8192||(e[te]|=8192,!Ap(e)));)e=Hr(e)}function L_(n,e){if((n[te]&256)===256)throw new S(911,!1);n[Qi]===null&&(n[Qi]=[]),n[Qi].push(e)}function GS(n,e){if(n[Qi]===null)return;let r=n[Qi].indexOf(e);r!==-1&&n[Qi].splice(r,1)}function Hr(n){let e=n[xt];return Ei(e)?e[xt]:e}var ge={lFrame:q_(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var j_=!1;function qS(){return ge.lFrame.elementDepthCount}function YS(){ge.lFrame.elementDepthCount++}function ZS(){ge.lFrame.elementDepthCount--}function V_(){return ge.bindingsEnabled}function B_(){return ge.skipHydrationRootTNode!==null}function QS(n){return ge.skipHydrationRootTNode===n}function KS(){ge.skipHydrationRootTNode=null}function fe(){return ge.lFrame.lView}function Xe(){return ge.lFrame.tView}function ie(n){return ge.lFrame.contextLView=n,n[nn]}function re(n){return ge.lFrame.contextLView=null,n}function _t(){let n=U_();for(;n!==null&&n.type===64;)n=n.parent;return n}function U_(){return ge.lFrame.currentTNode}function XS(){let n=ge.lFrame,e=n.currentTNode;return n.isParent?e:e.parent}function Zr(n,e){let r=ge.lFrame;r.currentTNode=n,r.isParent=e}function kp(){return ge.lFrame.isParent}function Op(){ge.lFrame.isParent=!1}function JS(){return ge.lFrame.contextLView}function z_(){return j_}function _y(n){j_=n}function H_(){let n=ge.lFrame,e=n.bindingRootIndex;return e===-1&&(e=n.bindingRootIndex=n.tView.bindingStartIndex),e}function $_(){return ge.lFrame.bindingIndex}function eT(n){return ge.lFrame.bindingIndex=n}function Yo(){return ge.lFrame.bindingIndex++}function dd(n){let e=ge.lFrame,r=e.bindingIndex;return e.bindingIndex=e.bindingIndex+n,r}function tT(){return ge.lFrame.inI18n}function nT(n,e){let r=ge.lFrame;r.bindingIndex=r.bindingRootIndex=n,Mf(e)}function iT(){return ge.lFrame.currentDirectiveIndex}function Mf(n){ge.lFrame.currentDirectiveIndex=n}function rT(n){let e=ge.lFrame.currentDirectiveIndex;return e===-1?null:n[e]}function Rp(){return ge.lFrame.currentQueryIndex}function ud(n){ge.lFrame.currentQueryIndex=n}function oT(n){let e=n[he];return e.type===2?e.declTNode:e.type===1?n[Lt]:null}function W_(n,e,r){if(r&be.SkipSelf){let i=e,o=n;for(;i=i.parent,i===null&&!(r&be.Host);)if(i=oT(o),i===null||(o=o[qo],i.type&10))break;if(i===null)return!1;e=i,n=o}let t=ge.lFrame=G_();return t.currentTNode=e,t.lView=n,!0}function Np(n){let e=G_(),r=n[he];ge.lFrame=e,e.currentTNode=r.firstChild,e.lView=n,e.tView=r,e.contextLView=n,e.bindingIndex=r.bindingStartIndex,e.inI18n=!1}function G_(){let n=ge.lFrame,e=n===null?null:n.child;return e===null?q_(n):e}function q_(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=ge.lFrame;return ge.lFrame=n.parent,n.currentTNode=null,n.lView=null,n}var Z_=Y_;function Pp(){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 sT(n){return(ge.lFrame.contextLView=WS(n,ge.lFrame.contextLView))[nn]}function Ii(){return ge.lFrame.selectedIndex}function $r(n){ge.lFrame.selectedIndex=n}function oa(){let n=ge.lFrame;return Tp(n.tView,n.selectedIndex)}function Kn(){ge.lFrame.currentNamespace=O_}function hd(){aT()}function aT(){ge.lFrame.currentNamespace=null}function lT(){return ge.lFrame.currentNamespace}var Q_=!0;function fd(){return Q_}function pd(n){Q_=n}function cT(n,e,r){let{ngOnChanges:t,ngOnInit:i,ngDoCheck:o}=e.type.prototype;if(t){let s=T_(e);(r.preOrderHooks??=[]).push(n,s),(r.preOrderCheckHooks??=[]).push(n,s)}i&&(r.preOrderHooks??=[]).push(0-n,i),o&&((r.preOrderHooks??=[]).push(n,o),(r.preOrderCheckHooks??=[]).push(n,o))}function md(n,e){for(let r=e.directiveStart,t=e.directiveEnd;r=t)break}else e[l]<0&&(n[No]+=65536),(a>14>16&&(n[te]&3)===e&&(n[te]+=16384,wy(a,o)):wy(a,o)}var jo=-1,Wr=class{constructor(e,r,t){this.factory=e,this.resolving=!1,this.canSeeViewProviders=r,this.injectImpl=t}};function uT(n){return n instanceof Wr}function hT(n){return(n.flags&8)!==0}function fT(n){return(n.flags&16)!==0}var af={},Sf=class{constructor(e,r){this.injector=e,this.parentInjector=r}get(e,r,t){t=ed(t);let i=this.injector.get(e,af,t);return i!==af||r===af?i:this.parentInjector.get(e,r,t)}};function X_(n){return n!==jo}function Tc(n){return n&32767}function pT(n){return n>>16}function Ac(n,e){let r=pT(n),t=e;for(;r>0;)t=t[qo],r--;return t}var Tf=!0;function kc(n){let e=Tf;return Tf=n,e}var mT=256,J_=mT-1,e0=5,gT=0,$n={};function vT(n,e,r){let t;typeof r=="string"?t=r.charCodeAt(0)||0:r.hasOwnProperty(Ys)&&(t=r[Ys]),t==null&&(t=r[Ys]=gT++);let i=t&J_,o=1<>e0)]|=o}function Oc(n,e){let r=t0(n,e);if(r!==-1)return r;let t=e[he];t.firstCreatePass&&(n.injectorIndex=e.length,lf(t.data,n),lf(e,null),lf(t.blueprint,null));let i=Fp(n,e),o=n.injectorIndex;if(X_(i)){let s=Tc(i),a=Ac(i,e),l=a[he].data;for(let c=0;c<8;c++)e[o+c]=a[s+c]|l[s+c]}return e[o+8]=i,o}function lf(n,e){n.push(0,0,0,0,0,0,0,0,e)}function t0(n,e){return n.injectorIndex===-1||n.parent&&n.parent.injectorIndex===n.injectorIndex||e[n.injectorIndex+8]===null?-1:n.injectorIndex}function Fp(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=s0(i),t===null)return jo;if(r++,i=i[qo],t.injectorIndex!==-1)return t.injectorIndex|r<<16}return jo}function Af(n,e,r){vT(n,e,r)}function bT(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 p=u;p=l&&g.type===r)return p}if(i){let p=s[l];if(p&&er(p)&&p.type===r)return l}return null}function Gr(n,e,r,t){let i=n[r],o=e.data;if(uT(i)){let s=i;s.resolving&&ZM(YM(o[r]));let a=kc(s.canSeeViewProviders);s.resolving=!0;let l,c=s.injectImpl?Pt(s.injectImpl):null,d=W_(n,t,be.Default);try{i=n[r]=s.factory(void 0,o,n,t),e.firstCreatePass&&r>=t.directiveStart&&cT(r,o[r],e)}finally{c!==null&&Pt(c),kc(a),s.resolving=!1,Z_()}}return i}function _T(n){if(typeof n=="string")return n.charCodeAt(0)||0;let e=n.hasOwnProperty(Ys)?n[Ys]:void 0;return typeof e=="number"?e>=0?e&J_:wT:e}function Cy(n,e,r){let t=1<>e0)]&t)}function xy(n,e){return!(n&be.Self)&&!(n&be.Host&&e)}var jr=class{constructor(e,r){this._tNode=e,this._lView=r}get(e,r,t){return r0(this._tNode,this._lView,e,ed(t),r)}};function wT(){return new jr(_t(),fe())}function ln(n){return ia(()=>{let e=n.prototype.constructor,r=e[Cc]||kf(e),t=Object.prototype,i=Object.getPrototypeOf(n.prototype).constructor;for(;i&&i!==t;){let o=i[Cc]||kf(i);if(o&&o!==r)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function kf(n){return t_(n)?()=>{let e=kf(bt(n));return e&&e()}:Br(n)}function CT(n,e,r,t,i){let o=n,s=e;for(;o!==null&&s!==null&&s[te]&2048&&!(s[te]&512);){let a=o0(o,s,r,t|be.Self,$n);if(a!==$n)return a;let l=o.parent;if(!l){let c=s[I_];if(c){let d=c.get(r,$n,t);if(d!==$n)return d}l=s0(s),s=s[qo]}o=l}return i}function s0(n){let e=n[he],r=e.type;return r===2?e.declTNode:r===1?n[Lt]:null}function Xn(n){return bT(_t(),n)}function Dy(n,e=null,r=null,t){let i=a0(n,e,r,t);return i.resolveInjectorInitializers(),i}function a0(n,e=null,r=null,t,i=new Set){let o=[r||kt,IS(n)];return t=t||(typeof n=="object"?void 0:Ot(n)),new Xs(o,e||Ip(),t||null,i)}var Fr=class Fr{static create(e,r){if(Array.isArray(e))return Dy({name:""},r,e,"");{let t=e.name??"";return Dy({name:t},e.parent,e.providers,t)}}};Fr.THROW_IF_NOT_FOUND=Qs,Fr.NULL=new Ec,Fr.\u0275prov=E({token:Fr,providedIn:"any",factory:()=>b(d_)}),Fr.__NG_ELEMENT_ID__=-1;var _e=Fr;var xT=new D("");xT.__NG_ELEMENT_ID__=n=>{let e=_t();if(e===null)throw new S(204,!1);if(e.type&2)return e.value;if(n&be.Optional)return null;throw new S(204,!1)};var DT="ngOriginalError";function cf(n){return n[DT]}var l0=!0,gd=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=ET,e.__NG_ENV_ID__=t=>t;let n=e;return n})(),Of=class extends gd{constructor(e){super(),this._lView=e}onDestroy(e){return L_(this._lView,e),()=>GS(this._lView,e)}};function ET(){return new Of(fe())}var Jn=(()=>{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=E({token:e,providedIn:"root",factory:()=>new e});let n=e;return n})();var Rf=class extends A{constructor(e=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=e,E_()&&(this.destroyRef=y(gd,{optional:!0})??void 0,this.pendingTasks=y(Jn,{optional:!0})??void 0)}emit(e){let r=Ce(null);try{super.next(e)}finally{Ce(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 me&&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))})}}},$=Rf;function Rc(...n){}function c0(n){let e,r;function t(){n=Rc;try{r!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(r),e!==void 0&&clearTimeout(e)}catch{}}return e=setTimeout(()=>{n(),t()}),typeof requestAnimationFrame=="function"&&(r=requestAnimationFrame(()=>{n(),t()})),()=>t()}function Ey(n){return queueMicrotask(()=>n()),()=>{n=Rc}}var Lp="isAngularZone",Nc=Lp+"_ID",IT=0,k=class n{constructor(e){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);let{enableLongStackTrace:r=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:o=l0}=e;if(typeof Zone>"u")throw new S(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),r&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!i&&t,s.shouldCoalesceRunChangeDetection=i,s.callbackScheduled=!1,s.scheduleInRootZone=o,TT(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Lp)===!0}static assertInAngularZone(){if(!n.isInAngularZone())throw new S(909,!1)}static assertNotInAngularZone(){if(n.isInAngularZone())throw new S(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,MT,Rc,Rc);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)}},MT={};function jp(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 ST(n){if(n.isCheckStableRunning||n.callbackScheduled)return;n.callbackScheduled=!0;function e(){c0(()=>{n.callbackScheduled=!1,Nf(n),n.isCheckStableRunning=!0,jp(n),n.isCheckStableRunning=!1})}n.scheduleInRootZone?Zone.root.run(()=>{e()}):n._outer.run(()=>{e()}),Nf(n)}function TT(n){let e=()=>{ST(n)},r=IT++;n._inner=n._inner.fork({name:"angular",properties:{[Lp]:!0,[Nc]:r,[Nc+r]:!0},onInvokeTask:(t,i,o,s,a,l)=>{if(AT(l))return t.invokeTask(o,s,a,l);try{return Iy(n),t.invokeTask(o,s,a,l)}finally{(n.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||n.shouldCoalesceRunChangeDetection)&&e(),My(n)}},onInvoke:(t,i,o,s,a,l,c)=>{try{return Iy(n),t.invoke(o,s,a,l,c)}finally{n.shouldCoalesceRunChangeDetection&&!n.callbackScheduled&&!kT(l)&&e(),My(n)}},onHasTask:(t,i,o,s)=>{t.hasTask(o,s),i===o&&(s.change=="microTask"?(n._hasPendingMicrotasks=s.microTask,Nf(n),jp(n)):s.change=="macroTask"&&(n.hasPendingMacrotasks=s.macroTask))},onHandleError:(t,i,o,s)=>(t.handleError(o,s),n.runOutsideAngular(()=>n.onError.emit(s)),!1)})}function Nf(n){n._hasPendingMicrotasks||(n.shouldCoalesceEventChangeDetection||n.shouldCoalesceRunChangeDetection)&&n.callbackScheduled===!0?n.hasPendingMicrotasks=!0:n.hasPendingMicrotasks=!1}function Iy(n){n._nesting++,n.isStable&&(n.isStable=!1,n.onUnstable.emit(null))}function My(n){n._nesting--,jp(n)}var Pc=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 AT(n){return d0(n,"__ignore_ng_zone__")}function kT(n){return d0(n,"__scheduler_tick__")}function d0(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 OT(n="zone.js",e){return n==="noop"?new Pc:n==="zone.js"?new k(e):n}var Zn=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&&cf(e);for(;r&&cf(r);)r=cf(r);return r||null}},RT=new D("",{providedIn:"root",factory:()=>{let n=y(k),e=y(Zn);return r=>n.runOutsideAngular(()=>e.handleError(r))}});function NT(){return Zo(_t(),fe())}function Zo(n,e){return new P(an(n,e))}var P=(()=>{let e=class e{constructor(t){this.nativeElement=t}};e.__NG_ELEMENT_ID__=NT;let n=e;return n})();function u0(n){return n instanceof P?n.nativeElement:n}function PT(){return this._results[Symbol.iterator]()}var Qn=class n{get changes(){return 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]=PT)}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=sS(e);(this._changesDetected=!oS(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 h0(n){return(n.flags&128)===128}var f0=new Map,FT=0;function LT(){return FT++}function jT(n){f0.set(n[od],n)}function Pf(n){f0.delete(n[od])}var Sy="__ngContext__";function tr(n,e){Ki(e)?(n[Sy]=e[od],jT(e)):n[Sy]=e}function p0(n){return g0(n[ea])}function m0(n){return g0(n[Sn])}function g0(n){for(;n!==null&&!Ei(n);)n=n[Sn];return n}var Ff;function v0(n){Ff=n}function b0(){if(Ff!==void 0)return Ff;if(typeof document<"u")return document;throw new S(210,!1)}var Qo=new D("",{providedIn:"root",factory:()=>VT}),VT="ng",Vp=new D(""),cn=new D("",{providedIn:"platform",factory:()=>"unknown"});var We=new D(""),sa=new D("",{providedIn:"root",factory:()=>{var n,e;return((e=(n=b0().body)==null?void 0:n.querySelector("[ngCspNonce]"))==null?void 0:e.getAttribute("ngCspNonce"))||null}});var BT="h",UT="b";var zT=()=>null;function Bp(n,e,r=!1){return zT(n,e,r)}var y0=!1,HT=new D("",{providedIn:"root",factory:()=>y0});var cc;function $T(){if(cc===void 0&&(cc=null,Ht.trustedTypes))try{cc=Ht.trustedTypes.createPolicy("angular",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch{}return cc}function vd(n){var e;return((e=$T())==null?void 0:e.createHTML(n))||n}var dc;function _0(){if(dc===void 0&&(dc=null,Ht.trustedTypes))try{dc=Ht.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch{}return dc}function Ty(n){var e;return((e=_0())==null?void 0:e.createHTML(n))||n}function Ay(n){var e;return((e=_0())==null?void 0:e.createScriptURL(n))||n}var wi=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Jy})`}},Lf=class extends wi{getTypeName(){return"HTML"}},jf=class extends wi{getTypeName(){return"Style"}},Vf=class extends wi{getTypeName(){return"Script"}},Bf=class extends wi{getTypeName(){return"URL"}},Uf=class extends wi{getTypeName(){return"ResourceURL"}};function dn(n){return n instanceof wi?n.changingThisBreaksApplicationSecurity:n}function Mi(n,e){let r=WT(n);if(r!=null&&r!==e){if(r==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${r} (see ${Jy})`)}return r===e}function WT(n){return n instanceof wi&&n.getTypeName()||null}function w0(n){return new Lf(n)}function C0(n){return new jf(n)}function x0(n){return new Vf(n)}function D0(n){return new Bf(n)}function E0(n){return new Uf(n)}function GT(n){let e=new Hf(n);return qT()?new zf(e):e}var zf=class{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){var r;e=""+e;try{let t=new window.DOMParser().parseFromString(vd(e),"text/html").body;return t===null?this.inertDocumentHelper.getInertBodyElement(e):((r=t.firstChild)==null||r.remove(),t)}catch{return null}}},Hf=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=vd(e),r}};function qT(){try{return!!new window.DOMParser().parseFromString(vd(""),"text/html")}catch{return!1}}var YT=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function bd(n){return n=String(n),n.match(YT)?n:"unsafe:"+n}function Si(n){let e={};for(let r of n.split(","))e[r]=!0;return e}function aa(...n){let e={};for(let r of n)for(let t in r)r.hasOwnProperty(t)&&(e[t]=!0);return e}var I0=Si("area,br,col,hr,img,wbr"),M0=Si("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),S0=Si("rp,rt"),ZT=aa(S0,M0),QT=aa(M0,Si("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")),KT=aa(S0,Si("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")),ky=aa(I0,QT,KT,ZT),T0=Si("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),XT=Si("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"),JT=Si("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"),eA=aa(T0,XT,JT),tA=Si("script,style,template"),$f=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=rA(r);continue}for(;r;){r.nodeType===Node.ELEMENT_NODE&&this.endElement(r);let o=iA(r);if(o){r=o;break}r=i.pop()}}return this.buf.join("")}startElement(e){let r=Oy(e).toLowerCase();if(!ky.hasOwnProperty(r))return this.sanitizedSomething=!0,!tA.hasOwnProperty(r);this.buf.push("<"),this.buf.push(r);let t=e.attributes;for(let i=0;i"),!0}endElement(e){let r=Oy(e).toLowerCase();ky.hasOwnProperty(r)&&!I0.hasOwnProperty(r)&&(this.buf.push(""))}chars(e){this.buf.push(Ry(e))}};function nA(n,e){return(n.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function iA(n){let e=n.nextSibling;if(e&&n!==e.previousSibling)throw A0(e);return e}function rA(n){let e=n.firstChild;if(e&&nA(n,e))throw A0(e);return e}function Oy(n){let e=n.nodeName;return typeof e=="string"?e:"FORM"}function A0(n){return new Error(`Failed to sanitize html because the element is clobbered: ${n.outerHTML}`)}var oA=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,sA=/([^\#-~ |!])/g;function Ry(n){return n.replace(/&/g,"&").replace(oA,function(e){let r=e.charCodeAt(0),t=e.charCodeAt(1);return"&#"+((r-55296)*1024+(t-56320)+65536)+";"}).replace(sA,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}var uc;function Up(n,e){let r=null;try{uc=uc||GT(n);let t=e?String(e):"";r=uc.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=uc.getInertBodyElement(t)}while(t!==o);let a=new $f().sanitizeChildren(Ny(r)||r);return vd(a)}finally{if(r){let t=Ny(r)||r;for(;t.firstChild;)t.firstChild.remove()}}}function Ny(n){return"content"in n&&aA(n)?n.content:null}function aA(n){return n.nodeType===Node.ELEMENT_NODE&&n.nodeName==="TEMPLATE"}var An=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}(An||{});function ei(n){let e=zp();return e?Ty(e.sanitize(An.HTML,n)||""):Mi(n,"HTML")?Ty(dn(n)):Up(b0(),Wn(n))}function ht(n){let e=zp();return e?e.sanitize(An.URL,n)||"":Mi(n,"URL")?dn(n):bd(Wn(n))}function lA(n){let e=zp();if(e)return Ay(e.sanitize(An.RESOURCE_URL,n)||"");if(Mi(n,"ResourceURL"))return Ay(dn(n));throw new S(904,!1)}function cA(n,e){return e==="src"&&(n==="embed"||n==="frame"||n==="iframe"||n==="media"||n==="script")||e==="href"&&(n==="base"||n==="link")?lA:ht}function k0(n,e,r){return cA(e,r)(n)}function zp(){let n=fe();return n&&n[qn].sanitizer}var dA=/^>|^->||--!>|)/g,hA="\u200B$1\u200B";function fA(n){return n.replace(dA,e=>e.replace(uA,hA))}function O0(n){return n.ownerDocument}function R0(n){return n instanceof Function?n():n}function N0(n){return(n??y(_e)).get(cn)==="browser"}var Ci=function(n){return n[n.Important=1]="Important",n[n.DashCase=2]="DashCase",n}(Ci||{}),pA;function Hp(n,e){return pA(n,e)}function Po(n,e,r,t,i){if(t!=null){let o,s=!1;Ei(t)?o=t:Ki(t)&&(s=!0,t=t[Di]);let a=Yn(t);n===0&&r!==null?i==null?V0(e,r,a):Lc(e,r,a,i||null,!0):n===1&&r!==null?Lc(e,r,a,i||null,!0):n===2?SA(e,a,s):n===3&&e.destroyNode(a),o!=null&&AA(e,n,o,r,i)}}function mA(n,e){return n.createText(e)}function gA(n,e,r){n.setValue(e,r)}function vA(n,e){return n.createComment(fA(e))}function P0(n,e,r){return n.createElement(e,r)}function bA(n,e){F0(n,e),e[Di]=null,e[Lt]=null}function yA(n,e,r,t,i,o){t[Di]=i,t[Lt]=e,_d(n,t,r,1,i,o)}function F0(n,e){var r;(r=e[qn].changeDetectionScheduler)==null||r.notify(9),_d(n,e,e[Ze],2,null,null)}function _A(n){let e=n[ea];if(!e)return df(n[he],n);for(;e;){let r=null;if(Ki(e))r=e[ea];else{let t=e[Ft];t&&(r=t)}if(!r){for(;e&&!e[Sn]&&e!==n;)Ki(e)&&df(e[he],e),e=e[xt];e===null&&(e=n),Ki(e)&&df(e[he],e),r=e&&e[Sn]}e=r}}function wA(n,e,r,t){let i=Ft+t,o=r.length;t>0&&(r[i-1][Sn]=e),t0&&(n[r-1][Sn]=t[Sn]);let o=Dc(n,Ft+e);bA(t[he],t);let s=o[_i];s!==null&&s.detachView(o[he]),t[xt]=null,t[Sn]=null,t[te]&=-129}return t}function Wp(n,e){if(!(e[te]&256)){let r=e[Ze];r.destroyNode&&_d(n,e,r,3,null,null),_A(e)}}function df(n,e){if(e[te]&256)return;let r=Ce(null);try{e[te]&=-129,e[te]|=256,e[tn]&&Tl(e[tn]),xA(n,e),CA(n,e),e[he].type===1&&e[Ze].destroy();let t=e[Ur];if(t!==null&&Ei(e[xt])){t!==e[xt]&&$p(t,e);let i=e[_i];i!==null&&i.detachView(n)}Pf(e)}finally{Ce(r)}}function CA(n,e){let r=n.cleanup,t=e[Ic];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[Ic]=null);let i=e[Qi];if(i!==null){e[Qi]=null;for(let o=0;o-1){let{encapsulation:o}=n.data[t.directiveStart+i];if(o===Gn.None||o===Gn.Emulated)return null}return an(t,r)}}function Lc(n,e,r,t,i){n.insertBefore(e,r,t,i)}function V0(n,e,r){n.appendChild(e,r)}function Py(n,e,r,t,i){t!==null?Lc(n,e,r,t,i):V0(n,e,r)}function B0(n,e){return n.parentNode(e)}function EA(n,e){return n.nextSibling(e)}function U0(n,e,r){return MA(n,e,r)}function IA(n,e,r){return n.type&40?an(n,r):null}var MA=IA,Fy;function yd(n,e,r,t){let i=j0(n,t,e),o=e[Ze],s=t.parent||e[Lt],a=U0(s,t,e);if(i!=null)if(Array.isArray(r))for(let l=0;lDt&&G0(n,e,Dt,!1),Hn(s?2:0,i),r(t,i)}finally{$r(o),Hn(s?3:1,i)}}function qp(n,e,r){if(Sp(e)){let t=Ce(null);try{let i=e.directiveStart,o=e.directiveEnd;for(let s=i;snull;function VA(n,e,r,t){let i=tw(e);i.push(r),n.firstCreatePass&&nw(n).push(t,i.length-1)}function BA(n,e,r,t,i,o){let s=e?e.injectorIndex:-1,a=0;return B_()&&(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 Ly(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??={};let a,l=Xi.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?jy(t,r,c,a,l):jy(t,r,c,a)}return t}function jy(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 UA(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 GA(n,e,r,t){let i=r.directiveStart,o=r.directiveEnd;sd(r)&&JA(e,r,n.data[i+r.componentOffset]),n.firstCreatePass||Oc(r,e),tr(t,e);let s=r.initialInputs;for(let a=i;a{cd(n.lView)},consumerOnSignalRead(){this.lView[tn]=this}});function pk(n){let e=n[tn]??Object.create(mk);return e.lView=n,e}var mk=ue(x({},yo),{consumerIsAlwaysLive:!0,consumerMarkedDirty:n=>{let e=Hr(n.lView);for(;e&&!ow(e[he]);)e=Hr(e);e&&F_(e)},consumerOnSignalRead(){this.lView[tn]=this}});function ow(n){return n.type!==2}var gk=100;function sw(n,e=!0,r=0){var s,a,l;let t=n[qn],i=t.rendererFactory,o=!1;o||(s=i.begin)==null||s.call(i);try{vk(n,r)}catch(c){throw e&&iw(n,c),c}finally{o||((a=i.end)==null||a.call(i),(l=t.inlineEffectRunner)==null||l.flush())}}function vk(n,e){let r=z_();try{_y(!0),Yf(n,e);let t=0;for(;ld(n);){if(t===gk)throw new S(103,!1);t++,Yf(n,1)}}finally{_y(r)}}function bk(n,e,r,t){var d;let i=e[te];if((i&256)===256)return;let o=!1,s=!1;!o&&((d=e[qn].inlineEffectRunner)==null||d.flush()),Np(e);let a=!0,l=null,c=null;o||(ow(n)?(c=dk(e),l=Bs(c)):bb()===null?(a=!1,c=pk(e),l=Bs(c)):e[tn]&&(Tl(e[tn]),e[tn]=null));try{P_(e),eT(n.bindingStartIndex),r!==null&&Z0(n,e,r,2,t);let u=(i&3)===3;if(!o)if(u){let g=n.preOrderCheckHooks;g!==null&&bc(e,g,null)}else{let g=n.preOrderHooks;g!==null&&yc(e,g,0,null),sf(e,0)}if(s||yk(e),aw(e,0),n.contentQueries!==null&&ew(n,e),!o)if(u){let g=n.contentCheckHooks;g!==null&&bc(e,g)}else{let g=n.contentHooks;g!==null&&yc(e,g,1),sf(e,1)}RA(n,e);let f=n.components;f!==null&&cw(e,f,0);let p=n.viewQuery;if(p!==null&&qf(2,p,t),!o)if(u){let g=n.viewCheckHooks;g!==null&&bc(e,g)}else{let g=n.viewHooks;g!==null&&yc(e,g,2),sf(e,2)}if(n.firstUpdatePass===!0&&(n.firstUpdatePass=!1),e[vc]){for(let g of e[vc])g();e[vc]=null}o||(e[te]&=-73)}catch(u){throw o||cd(e),u}finally{c!==null&&(Ml(c,l),a&&hk(c)),Pp()}}function aw(n,e){for(let r=p0(n);r!==null;r=m0(r))for(let t=Ft;t-1&&(Fc(e,t),Dc(r,t))}this._attachedToViewContainer=!1}Wp(this._lView[he],this._lView)}onDestroy(e){L_(this._lView,e)}markForCheck(){im(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[te]&=-129}reattach(){If(this._lView),this._lView[te]|=128}detectChanges(){this._lView[te]|=1024,sw(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new S(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=Df(this._lView),r=this._lView[Ur];r!==null&&!e&&$p(r,this._lView),F0(this._lView[he],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new S(902,!1);this._appRef=e;let r=Df(this._lView),t=this._lView[Ur];t!==null&&!r&&L0(t,this._lView),If(this._lView)}},mt=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=xk;let n=e;return n})(),wk=mt,Ck=class extends wk{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=tm(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:r,dehydratedView:t});return new qr(i)}};function xk(){return Dd(_t(),fe())}function Dd(n,e){return n.type&4?new Ck(e,n,Zo(n,e)):null}var rW=new RegExp(`^(\\d+)*(${UT}|${BT})*(.*)`);var Dk=()=>null;function Bc(n,e){return Dk(n,e)}var $o=class{},rm=new D("",{providedIn:"root",factory:()=>!1});var dw=new D(""),uw=new D(""),Zf=class{},Uc=class{};function Ek(n){let e=Error(`No component factory found for ${Ot(n)}.`);return e[Ik]=n,e}var Ik="ngComponent";var Qf=class{resolveComponentFactory(e){throw Ek(e)}},gm=class gm{};gm.NULL=new Qf;var Tn=gm,nr=class{},or=(()=>{let e=class e{constructor(){this.destroyNode=null}};e.__NG_ELEMENT_ID__=()=>Mk();let n=e;return n})();function Mk(){let n=fe(),e=_t(),r=rr(e.index,n);return(Ki(r)?r:n)[Ze]}var Sk=(()=>{let e=class e{};e.\u0275prov=E({token:e,providedIn:"root",factory:()=>null});let n=e;return n})();function zc(n,e,r){let t=r?n.styles:null,i=r?n.classes:null,o=0;if(e!==null)for(let s=0;s0&&$0(n,r,o.join(" "))}}function Pk(n,e,r){let t=n.projection=[];for(let i=0;i{let e=class e{};e.__NG_ELEMENT_ID__=Lk;let n=e;return n})();function Lk(){let n=_t();return fw(n,fe())}var jk=at,hw=class extends jk{constructor(e,r,t){super(),this._lContainer=e,this._hostTNode=r,this._hostLView=t}get element(){return Zo(this._hostTNode,this._hostLView)}get injector(){return new jr(this._hostTNode,this._hostLView)}get parentInjector(){let e=Fp(this._hostTNode,this._hostLView);if(X_(e)){let r=Ac(e,this._hostLView),t=Tc(e),i=r[he].data[t+8];return new jr(i,r)}else return new jr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let r=By(this._lContainer);return r!==null&&r[e]||null}get length(){return this._lContainer.length-Ft}createEmbeddedView(e,r,t){let i,o;typeof t=="number"?i=t:t!=null&&(i=t.index,o=t.injector);let s=Bc(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(r||{},o,s);return this.insertImpl(a,i,jc(this._hostTNode,s)),a}createComponent(e,r,t,i,o){let s=e&&!jS(e),a;if(s)a=r;else{let g=r||{};a=g.index,t=g.injector,i=g.projectableNodes,o=g.environmentInjector||g.ngModuleRef}let l=s?e:new Wo(Ji(e)),c=t||this.parentInjector;if(!o&&l.ngModule==null){let w=(s?c:this.parentInjector).get(yt,null);w&&(o=w)}let d=Ji(l.componentType??{}),u=Bc(this._lContainer,(d==null?void 0:d.id)??null),f=(u==null?void 0:u.firstChild)??null,p=l.create(c,i,f,o);return this.insertImpl(p.hostView,a,jc(this._hostTNode,u)),p}insert(e,r){return this.insertImpl(e,r,!0)}insertImpl(e,r,t){let i=e._lView;if($S(i)){let a=this.indexOf(e);if(a!==-1)this.detach(a);else{let l=i[xt],c=new hw(l,l[Lt],l[xt]);c.detach(c.indexOf(e))}}let o=this._adjustIndex(r),s=this._lContainer;return nm(s,i,o,t),e.attachToViewContainerRef(),c_(uf(s),o,e),e}move(e,r){return this.insert(e,r)}indexOf(e){let r=By(this._lContainer);return r!==null?r.indexOf(e):-1}remove(e){let r=this._adjustIndex(e,-1),t=Fc(this._lContainer,r);t&&(Dc(uf(this._lContainer),r),Wp(t[he],t))}detach(e){let r=this._adjustIndex(e,-1),t=Fc(this._lContainer,r);return t&&Dc(uf(this._lContainer),r)!=null?new qr(t):null}_adjustIndex(e,r=0){return e??this.length+r}};function By(n){return n[Mc]}function uf(n){return n[Mc]||(n[Mc]=[])}function fw(n,e){let r,t=e[n.index];return Ei(t)?r=t:(r=J0(t,e,null,n),e[n.index]=r,xd(e,r)),Bk(r,e,n,t),new hw(r,n,e)}function Vk(n,e){let r=n[Ze],t=r.createComment(""),i=an(e,n),o=B0(r,i);return Lc(r,o,t,EA(r,i),!1),t}var Bk=Hk,Uk=()=>!1;function zk(n,e,r){return Uk(n,e,r)}function Hk(n,e,r,t){if(n[zr])return;let i;r.type&8?i=Yn(t):i=Vk(e,r),n[zr]=i}var Xf=class n{constructor(e){this.queryList=e,this.matches=null}clone(){return new n(this.queryList)}setDirty(){this.queryList.setDirty()}},Jf=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=Ft;ue.trim())}function vw(n,e,r){n.queries===null&&(n.queries=new ep),n.queries.track(new tp(e,r))}function Qk(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 sm(n,e){return n.queries.getByIndex(e)}function bw(n,e){let r=n[he],t=sm(r,e);return t.crossesNgTemplate?np(r,n,e,[]):pw(r,n,t,e)}var Uy=new Set;function ti(n){var e;Uy.has(n)||(Uy.add(n),(e=performance==null?void 0:performance.mark)==null||e.call(performance,"mark_feature_usage",{detail:{feature:n}}))}function Ed(n){return typeof n=="function"&&n[en]!==void 0}function Qr(n,e){ti("NgSignals");let r=Tb(n),t=r[en];return e!=null&&e.equal&&(t.equal=e.equal),r.set=i=>Fh(t,i),r.update=i=>Ab(t,i),r.asReadonly=Kk.bind(r),r}function Kk(){let n=this[en];if(n.readonlyFn===void 0){let e=()=>this();e[en]=n,n.readonlyFn=e}return n.readonlyFn}function yw(n){return Ed(n)&&typeof n.set=="function"}function _w(n,e){let r,t=Ph(()=>{r._dirtyCounter();let i=tO(r,n);if(e&&i===void 0)throw new S(-951,!1);return i});return r=t[en],r._dirtyCounter=Qr(0),r._flatValue=void 0,t}function Xk(){return _w(!0,!1)}function Jk(){return _w(!0,!0)}function eO(n,e){let r=n[en];r._lView=fe(),r._queryIndex=e,r._queryList=om(r._lView,e),r._queryList.onDirty(()=>r._dirtyCounter.update(t=>t+1))}function tO(n,e){let r=n._lView,t=n._queryIndex;if(r===void 0||t===void 0||r[te]&4)return e?void 0:kt;let i=om(r,t),o=bw(r,t);return i.reset(o,u0),e?i.first:i._changesDetected||n._flatValue===void 0?n._flatValue=i.toArray():n._flatValue}function zy(n,e){return Xk()}function nO(n,e){return Jk()}var ww=(zy.required=nO,zy);function iO(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(aO))}return o}return Wc.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((p,g)=>{a.push(""),s.push(t(p).then(w=>{a[u+g]=w,f.splice(f.indexOf(p),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(()=>lO(o));e.push(l)}),oO(),Promise.all(e).then(()=>{})}var Wc=new Map,rO=new Set;function oO(){let n=Wc;return Wc=new Map,n}function sO(){return Wc.size===0}function aO(n){return typeof n=="string"?n:n.text()}function lO(n){rO.delete(n)}function cO(n){return Object.getPrototypeOf(n.prototype).constructor}function Ve(n){let e=cO(n.type),r=!0,t=[n];for(;e;){let i;if(er(n))i=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new S(903,!1);i=e.\u0275dir}if(i){if(r){t.push(i);let s=n;s.inputs=hc(n.inputs),s.inputTransforms=hc(n.inputTransforms),s.declaredInputs=hc(n.declaredInputs),s.outputs=hc(n.outputs);let a=i.hostBindings;a&&pO(n,a);let l=i.viewQuery,c=i.contentQueries;if(l&&hO(n,l),c&&fO(n,c),dO(n,i),BM(n.outputs,i.outputs),er(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=Ks(i.hostAttrs,r=Ks(r,i.hostAttrs))}}function hc(n){return n===yi?{}:n===kt?[]:n}function hO(n,e){let r=n.viewQuery;r?n.viewQuery=(t,i)=>{e(t,i),r(t,i)}:n.viewQuery=e}function fO(n,e){let r=n.contentQueries;r?n.contentQueries=(t,i,o)=>{e(t,i,o),r(t,i,o)}:n.contentQueries=e}function pO(n,e){let r=n.hostBindings;r?n.hostBindings=(t,i)=>{e(t,i),r(t,i)}:n.hostBindings=e}function Cw(n){let e=r=>{let t=Array.isArray(n);r.hostDirectives===null?(r.findHostDirectiveDefs=xw,r.hostDirectives=t?n.map(ip):[n]):t?r.hostDirectives.unshift(...n.map(ip)):r.hostDirectives.unshift(n)};return e.ngInherit=!0,e}function xw(n,e,r){if(n.hostDirectives!==null)for(let t of n.hostDirectives)if(typeof t=="function"){let i=t();for(let o of i)Hy(ip(o),e,r)}else Hy(t,e,r)}function Hy(n,e,r){let t=Dp(n.directive);mO(t.declaredInputs,n.inputs),xw(t,e,r),r.set(t,n),e.push(t)}function ip(n){return typeof n=="function"?{directive:bt(n),inputs:yi,outputs:yi}:{directive:bt(n.directive),inputs:$y(n.inputs),outputs:$y(n.outputs)}}function $y(n){if(n===void 0||n.length===0)return yi;let e={};for(let r=0;rr()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}},qc=class extends ta{constructor(e){super(),this.moduleType=e}create(e){return new Gc(this.moduleType,e,[])}};function gO(n,e,r){return new Gc(n,e,r,!1)}var rp=class extends ir{constructor(e){super(),this.componentFactoryResolver=new Hc(this),this.instance=null;let r=new Xs([...e.providers,{provide:ir,useValue:this},{provide:Tn,useValue:this.componentFactoryResolver}],e.parent||Ip(),e.debugName,new Set(["environment"]));this.injector=r,e.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function Id(n,e,r=null){return new rp({providers:n,parent:e,debugName:r,runEnvironmentInitializers:!0}).injector}function Dw(n){return bO(n)?Array.isArray(n)||!(n instanceof Map)&&Symbol.iterator in n:!1}function vO(n,e){if(Array.isArray(n))for(let r=0;r{let e=class e{constructor(){this.impl=null}execute(){var t;(t=this.impl)==null||t.execute()}};e.\u0275prov=E({token:e,providedIn:"root",factory:()=>new e});let n=e;return n})(),Lr=class Lr{constructor(){this.ngZone=y(k),this.scheduler=y($o),this.errorHandler=y(Zn,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}execute(){var e;this.executing=!0;for(let r of Lr.PHASES)for(let t of this.sequences)if(!(t.erroredOrDestroyed||!t.hooks[r]))try{t.pipelinedValue=this.ngZone.runOutsideAngular(()=>t.hooks[r](t.pipelinedValue))}catch(i){t.erroredOrDestroyed=!0,(e=this.errorHandler)==null||e.handleError(i)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(e){this.executing?this.deferredRegistrations.add(e):(this.sequences.add(e),this.scheduler.notify(6))}unregister(e){this.executing&&this.sequences.has(e)?(e.erroredOrDestroyed=!0,e.pipelinedValue=void 0,e.once=!0):(this.sequences.delete(e),this.deferredRegistrations.delete(e))}};Lr.PHASES=[Fo.EarlyRead,Fo.Write,Fo.MixedReadWrite,Fo.Read],Lr.\u0275prov=E({token:Lr,providedIn:"root",factory:()=>new Lr});var op=Lr,sp=class{constructor(e,r,t,i){this.impl=e,this.hooks=r,this.once=t,this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.unregisterOnDestroy=i==null?void 0:i.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0}destroy(){var e;this.impl.unregister(this),(e=this.unregisterOnDestroy)==null||e.call(this)}};function ca(n,e){!(e!=null&&e.injector)&&Mp(ca);let r=(e==null?void 0:e.injector)??y(_e);return N0(r)?(ti("NgAfterRender"),Aw(n,r,e,!1)):kw}function $t(n,e){!(e!=null&&e.injector)&&Mp($t);let r=(e==null?void 0:e.injector)??y(_e);return N0(r)?(ti("NgAfterNextRender"),Aw(n,r,e,!0)):kw}function xO(n,e){if(n instanceof Function){let r=[void 0,void 0,void 0,void 0];return r[e]=n,r}else return[n.earlyRead,n.write,n.mixedReadWrite,n.read]}function Aw(n,e,r,t){let i=e.get(Tw);i.impl??=e.get(op);let o=(r==null?void 0:r.phase)??Fo.MixedReadWrite,s=(r==null?void 0:r.manualCleanup)!==!0?e.get(gd):null,a=new sp(i.impl,xO(n,o),t,s);return i.impl.register(a),a}var kw={destroy(){}};function we(n,e,r,t){let i=fe(),o=Yo();if(on(i,o,e)){let s=Xe(),a=oa();ek(a,i,n,e,r,t)}return we}function am(n,e,r,t){return on(n,Yo(),r)?e+Wn(r)+t:Rt}function DO(n,e,r,t,i,o){let s=$_(),a=Iw(n,s,r,i);return dd(2),a?e+Wn(r)+t+Wn(i)+o:Rt}function EO(n,e,r,t,i,o,s,a){let l=$_(),c=Mw(n,l,r,i,s);return dd(3),c?e+Wn(r)+t+Wn(i)+o+Wn(s)+a:Rt}function fc(n,e){return n<<17|e<<2}function Yr(n){return n>>17&32767}function IO(n){return(n&2)==2}function MO(n,e){return n&131071|e<<17}function ap(n){return n|2}function Go(n){return(n&131068)>>2}function hf(n,e){return n&-131069|e<<2}function SO(n){return(n&1)===1}function lp(n){return n|1}function TO(n,e,r,t,i,o){let s=o?e.classBindings:e.styleBindings,a=Yr(s),l=Go(s);n[t]=r;let c=!1,d;if(Array.isArray(r)){let u=r;d=u[1],(d===null||ra(u,d)>0)&&(c=!0)}else d=r;if(i)if(l!==0){let f=Yr(n[a+1]);n[t+1]=fc(f,a),f!==0&&(n[f+1]=hf(n[f+1],t)),n[a+1]=MO(n[a+1],t)}else n[t+1]=fc(a,0),a!==0&&(n[a+1]=hf(n[a+1],t)),a=t;else n[t+1]=fc(l,0),a===0?a=t:n[l+1]=hf(n[l+1],t),l=t;c&&(n[t+1]=ap(n[t+1])),Wy(n,d,t,!0),Wy(n,d,t,!1),AO(e,d,n,t,o),s=fc(a,l),o?e.classBindings=s:e.styleBindings=s}function AO(n,e,r,t,i){let o=i?n.residualClasses:n.residualStyles;o!=null&&typeof e=="string"&&ra(o,e)>=0&&(r[t+1]=lp(r[t+1]))}function Wy(n,e,r,t){let i=n[r+1],o=e===null,s=t?Yr(i):Go(i),a=!1;for(;s!==0&&(a===!1||o);){let l=n[s],c=n[s+1];kO(l,e)&&(a=!0,n[s+1]=t?lp(c):ap(c)),s=t?Yr(c):Go(c)}a&&(n[r+1]=t?ap(i):lp(i))}function kO(n,e){return n===null||e==null||(Array.isArray(n)?n[1]:n)===e?!0:Array.isArray(n)&&typeof e=="string"?ra(n,e)>=0:!1}var Mn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function OO(n){return n.substring(Mn.key,Mn.keyEnd)}function RO(n){return NO(n),Ow(n,Rw(n,0,Mn.textEnd))}function Ow(n,e){let r=Mn.textEnd;return r===e?-1:(e=Mn.keyEnd=PO(n,Mn.key=e,r),Rw(n,e,r))}function NO(n){Mn.key=0,Mn.keyEnd=0,Mn.value=0,Mn.valueEnd=0,Mn.textEnd=n.length}function Rw(n,e,r){for(;e32;)e++;return e}function I(n,e,r){let t=fe(),i=Yo();if(on(t,i,e)){let o=Xe(),s=oa();Cd(o,s,t,n,e,t[Ze],r,!1)}return I}function cp(n,e,r,t,i){let o=e.inputs,s=i?"class":"style";Xp(n,r,o[s],s,t)}function da(n,e,r){return Pw(n,e,r,!1),da}function le(n,e){return Pw(n,e,null,!0),le}function jt(n){Fw(UO,Nw,n,!0)}function Nw(n,e){for(let r=RO(e);r>=0;r=Ow(e,r))nd(n,OO(e),!0)}function Pw(n,e,r,t){let i=fe(),o=Xe(),s=dd(2);if(o.firstUpdatePass&&jw(o,n,s,t),e!==Rt&&on(i,s,e)){let a=o.data[Ii()];Vw(o,a,i,i[Ze],n,i[s+1]=HO(e,r),t,s)}}function Fw(n,e,r,t){let i=Xe(),o=dd(2);i.firstUpdatePass&&jw(i,null,o,t);let s=fe();if(r!==Rt&&on(s,o,r)){let a=i.data[Ii()];if(Bw(a,t)&&!Lw(i,o)){let l=t?a.classesWithoutHost:a.stylesWithoutHost;l!==null&&(r=gf(l,r||"")),cp(i,a,s,r,t)}else zO(i,a,s,s[Ze],s[o+1],s[o+1]=BO(n,e,r),t,o)}}function Lw(n,e){return e>=n.expandoStartIndex}function jw(n,e,r,t){let i=n.data;if(i[r+1]===null){let o=i[Ii()],s=Lw(n,r);Bw(o,t)&&e===null&&!s&&(e=!1),e=FO(i,o,e,t),TO(i,o,e,r,s,t)}}function FO(n,e,r,t){let i=rT(n),o=t?e.residualClasses:e.residualStyles;if(i===null)(t?e.classBindings:e.styleBindings)===0&&(r=ff(null,n,e,r,t),r=na(r,e.attrs,t),o=null);else{let s=e.directiveStylingLast;if(s===-1||n[s]!==i)if(r=ff(i,n,e,r,t),o===null){let l=LO(n,e,t);l!==void 0&&Array.isArray(l)&&(l=ff(null,n,e,l[1],t),l=na(l,e.attrs,t),jO(n,e,t,l))}else o=VO(n,e,t)}return o!==void 0&&(t?e.residualClasses=o:e.residualStyles=o),r}function LO(n,e,r){let t=r?e.classBindings:e.styleBindings;if(Go(t)!==0)return n[Yr(t)]}function jO(n,e,r,t){let i=r?e.classBindings:e.styleBindings;n[Yr(i)]=t}function VO(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===Rt&&(f=u?kt:void 0);let p=u?rf(f,t):d===t?f:void 0;if(c&&!Yc(p)&&(p=rf(l,t)),Yc(p)&&(a=p,s))return a;let g=n[i+1];i=s?Yr(g):Go(g)}if(e!==null){let l=o?e.residualClasses:e.residualStyles;l!=null&&(a=rf(l,t))}return a}function Yc(n){return n!==void 0}function HO(n,e){return n==null||n===""||(typeof e=="string"?n=n+e:typeof n=="object"&&(n=Ot(dn(n)))),n}function Bw(n,e){return(n.flags&(e?8:16))!==0}function Uw(n,e,r){let t=fe(),i=am(t,n,e,r);Fw(nd,Nw,i,!0)}function Ge(n,e){ti("NgControlFlow");let r=fe(),t=Yo(),i=r[t]!==Rt?r[t]:-1,o=i!==-1?qy(r,Dt+i):void 0,s=0;if(on(r,t,n)){let a=Ce(null);try{if(o!==void 0&&lk(o,s),n!==-1){let l=Dt+n,c=qy(r,l),d=$O(r[he],l),u=Bc(c,d.tView.ssrId),f=tm(r,d,e,{dehydratedView:u});nm(c,f,s,jc(d,u))}}finally{Ce(a)}}else if(o!==void 0){let a=ak(o,s);a!==void 0&&(a[nn]=e)}}function qy(n,e){return n[e]}function $O(n,e){return Tp(n,e)}function WO(n,e,r,t,i,o){let s=e.consts,a=Ho(s,i),l=Ko(e,n,2,t,a);return Kp(e,r,l,Ho(s,o)),l.attrs!==null&&zc(l,l.attrs,!1),l.mergedAttrs!==null&&zc(l,l.mergedAttrs,!0),e.queries!==null&&e.queries.elementStart(e,l),l}function m(n,e,r,t){let i=fe(),o=Xe(),s=Dt+n,a=i[Ze],l=o.firstCreatePass?WO(s,o,i,e,r,t):o.data[s],c=GO(o,i,l,a,e,n);i[s]=c;let d=ad(l);return Zr(l,!0),W0(a,c,l),!yO(l)&&fd()&&yd(o,i,c,l),qS()===0&&tr(c,i),YS(),d&&(Yp(o,i,l),qp(o,l,i)),t!==null&&Zp(i,l),m}function v(){let n=_t();kp()?Op():(n=n.parent,Zr(n,!1));let e=n;QS(e)&&KS(),ZS();let r=Xe();return r.firstCreatePass&&(md(r,n),Sp(n)&&r.queries.elementEnd(n)),e.classesWithoutHost!=null&&hT(e)&&cp(r,e,fe(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&fT(e)&&cp(r,e,fe(),e.stylesWithoutHost,!1),v}function O(n,e,r,t){return m(n,e,r,t),v(),O}var GO=(n,e,r,t,i,o)=>(pd(!0),P0(t,i,lT()));function qO(n,e,r,t,i){let o=e.consts,s=Ho(o,t),a=Ko(e,n,8,"ng-container",s);s!==null&&zc(a,s,!0);let l=Ho(o,i);return Kp(e,r,a,l),e.queries!==null&&e.queries.elementStart(e,a),a}function lm(n,e,r){let t=fe(),i=Xe(),o=n+Dt,s=i.firstCreatePass?qO(o,i,t,e,r):i.data[o];Zr(s,!0);let a=YO(i,t,s,n);return t[o]=a,fd()&&yd(i,t,a,s),tr(a,t),ad(s)&&(Yp(i,t,s),qp(i,s,t)),r!=null&&Zp(t,s),lm}function cm(){let n=_t(),e=Xe();return kp()?Op():(n=n.parent,Zr(n,!1)),e.firstCreatePass&&(md(e,n),Sp(n)&&e.queries.elementEnd(n)),cm}var YO=(n,e,r,t)=>(pd(!0),vA(e[Ze],""));function De(){return fe()}function un(n,e,r){let t=fe(),i=Yo();if(on(t,i,e)){let o=Xe(),s=oa();Cd(o,s,t,n,e,t[Ze],r,!0)}return un}var Zc="en-US";var ZO=Zc;function QO(n){typeof n=="string"&&(ZO=n.toLowerCase().replace(/_/g,"-"))}var KO=(n,e,r)=>{};function U(n,e,r,t){let i=fe(),o=Xe(),s=_t();return zw(o,i,i[Ze],s,n,e,t),U}function XO(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 zw(n,e,r,t,i,o,s){let a=ad(t),c=n.firstCreatePass&&nw(n),d=e[nn],u=tw(e),f=!0;if(t.type&3||s){let w=an(t,e),M=s?s(w):w,T=u.length,Y=s?z=>s(Yn(z[t.index])):t.index,Z=null;if(!s&&a&&(Z=XO(n,e,i,t.index)),Z!==null){let z=Z.__ngLastListenerFn__||Z;z.__ngNextListenerFn__=o,Z.__ngLastListenerFn__=o,f=!1}else{o=Zy(t,e,d,o),KO(w,i,o);let z=r.listen(M,i,o);u.push(o,z),c&&c.push(i,Y,T,T+1)}}else o=Zy(t,e,d,o);let p=t.outputs,g;if(f&&p!==null&&(g=p[i])){let w=g.length;if(w)for(let M=0;M-1?rr(n.index,e):e;im(s,5);let a=Yy(e,r,t,o),l=i.__ngNextListenerFn__;for(;l;)a=Yy(e,r,l,o)&&a,l=l.__ngNextListenerFn__;return a}}function R(n=1){return sT(n)}function JO(n,e){let r=null,t=gS(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=JS();return N_(e,Dt+n)}function C(n,e=""){let r=fe(),t=Xe(),i=n+Dt,o=t.firstCreatePass?Ko(t,i,1,e,null):t.data[i],s=n1(t,r,o,e,n);r[i]=s,fd()&&yd(t,r,s,o),Zr(o,!1)}var n1=(n,e,r,t,i)=>(pd(!0),mA(e[Ze],t));function ct(n){return Me("",n,""),ct}function Me(n,e,r){let t=fe(),i=am(t,n,e,r);return i!==Rt&&Jp(t,Ii(),i),Me}function dm(n,e,r,t,i){let o=fe(),s=DO(o,n,e,r,t,i);return s!==Rt&&Jp(o,Ii(),s),dm}function um(n,e,r,t,i,o,s){let a=fe(),l=EO(a,n,e,r,t,i,o,s);return l!==Rt&&Jp(a,Ii(),l),um}function ua(n,e,r){yw(e)&&(e=e());let t=fe(),i=Yo();if(on(t,i,e)){let o=Xe(),s=oa();Cd(o,s,t,n,e,t[Ze],r,!1)}return ua}function Md(n,e){let r=yw(n);return r&&n.set(e),r}function ha(n,e){let r=fe(),t=Xe(),i=_t();return zw(t,r,r[Ze],i,n,e),ha}function i1(n,e,r){let t=Xe();if(t.firstCreatePass){let i=er(n);dp(r,t.data,t.blueprint,i,!0),dp(e,t.data,t.blueprint,i,!1)}}function dp(n,e,r,t,i){if(n=bt(n),Array.isArray(n))for(let o=0;o>20;if(Bo(n)||!n.multi){let p=new Wr(c,i,h),g=mf(l,e,i?d:d+f,u);g===-1?(Af(Oc(a,s),o,l),pf(o,n,e.length),e.push(l),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),r.push(p),s.push(p)):(r[g]=p,s[g]=p)}else{let p=mf(l,e,d+f,u),g=mf(l,e,d,d+f),w=p>=0&&r[p],M=g>=0&&r[g];if(i&&!M||!i&&!w){Af(Oc(a,s),o,l);let T=s1(i?o1:r1,r.length,i,t,c);!i&&M&&(r[g].providerFactory=T),pf(o,n,e.length,0),e.push(l),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),r.push(T),s.push(T)}else{let T=Gw(r[i?g:p],c,!i&&t);pf(o,n,p>-1?p:g,T)}!i&&t&&M&&r[g].componentProviders++}}}function pf(n,e,r,t){let i=Bo(e),o=AS(e);if(i||o){let l=(o?bt(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 Gw(n,e,r){return r&&n.componentProviders++,n.multi.push(e)-1}function mf(n,e,r,t){for(let i=r;i{r.providersResolver=(t,i)=>i1(t,i?i(n):n,e)}}var a1=(()=>{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?Id([i],this._injector,`Standalone[${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=E({token:e,providedIn:"environment",factory:()=>new e(b(yt))});let n=e;return n})();function Ae(n){ti("NgStandalone"),n.getStandaloneInjector=e=>e.get(a1).getOrCreateStandaloneInjector(n)}function hm(n,e,r,t,i,o){return c1(fe(),H_(),n,e,r,t,i,o)}function qw(n,e){let r=n[e];return r===Rt?void 0:r}function l1(n,e,r,t,i,o){let s=e+r;return on(n,s,i)?Ew(n,s+1,o?t.call(o,i):t(i)):qw(n,s+1)}function c1(n,e,r,t,i,o,s,a){let l=e+r;return Mw(n,l,i,o,s)?Ew(n,l+3,a?t.call(a,i,o,s):t(i,o,s)):qw(n,l+3)}function ni(n,e){let r=Xe(),t,i=n+Dt;r.firstCreatePass?(t=d1(e,r.pipeRegistry),r.data[i]=t,t.onDestroy&&(r.destroyHooks??=[]).push(i,t.onDestroy)):t=r.data[i];let o=t.factory||(t.factory=Br(t.type,!0)),s,a=Pt(h);try{let l=kc(!1),c=o();return kc(l),t1(r,fe(),i,c),c}finally{Pt(a)}}function d1(n,e){if(e)for(let r=e.length-1;r>=0;r--){let t=e[r];if(n===t.name)return t}}function ii(n,e,r){let t=n+Dt,i=fe(),o=N_(i,t);return u1(i,t)?l1(i,H_(),e,o.transform,r,o):o.transform(r)}function u1(n,e){return n[he].data[e].pure}function Yw(n,e){return Dd(n,e)}var pc=null;function h1(n){pc!==null&&(n.defaultEncapsulation!==pc.defaultEncapsulation||n.preserveWhitespaces!==pc.preserveWhitespaces)||(pc=n)}var Sd=(()=>{let e=class e{log(t){console.log(t)}warn(t){console.warn(t)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"platform"});let n=e;return n})();var fm=new D(""),fa=new D(""),Td=(()=>{let e=class e{constructor(t,i,o){this._ngZone=t,this.registry=i,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,Zs||(f1(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)(b(k),b(Ad),b(fa))},e.\u0275prov=E({token:e,factory:e.\u0275fac});let n=e;return n})(),Ad=(()=>{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){return(Zs==null?void 0:Zs.findTestabilityInTree(this,t,i))??null}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"platform"});let n=e;return n})();function f1(n){Zs=n}var Zs;function Kr(n){return!!n&&typeof n.then=="function"}function Zw(n){return!!n&&typeof n.subscribe=="function"}var kd=new D(""),Qw=(()=>{let e=class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,i)=>{this.resolve=t,this.reject=i}),this.appInits=y(kd,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let t=[];for(let o of this.appInits){let s=o();if(Kr(s))t.push(s);else if(Zw(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=E({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),Od=new D("");function p1(){Sb(()=>{throw new S(600,!1)})}function m1(n){return n.isBoundToModule}var g1=10;function v1(n,e,r){try{let t=r();return Kr(t)?t.catch(i=>{throw e.runOutsideAngular(()=>n.handleError(i)),i}):t}catch(t){throw e.runOutsideAngular(()=>n.handleError(t)),t}}function Kw(n,e){return Array.isArray(e)?e.reduce(Kw,n):x(x({},n),e)}var hn=(()=>{let e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=y(RT),this.afterRenderManager=y(Tw),this.zonelessEnabled=y(rm),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new A,this.afterTick=new A,this.componentTypes=[],this.components=[],this.isStable=y(Jn).hasPendingTasks.pipe(X(t=>!t)),this._injector=y(yt)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let t;return new Promise(i=>{t=this.isStable.subscribe({next:o=>{o&&i()}})}).finally(()=>{t.unsubscribe()})}get injector(){return this._injector}bootstrap(t,i){let o=t instanceof Uc;if(!this._injector.get(Qw).done){let p=!o&&v_(t),g=!1;throw new S(405,g)}let a;o?a=t:a=this._injector.get(Tn).resolveComponentFactory(t),this.componentTypes.push(a.componentType);let l=m1(a)?void 0:this._injector.get(ir),c=i||a.selector,d=a.create(_e.NULL,[],c,l),u=d.location.nativeElement,f=d.injector.get(fm,null);return f==null||f.registerApplication(u),d.onDestroy(()=>{this.detachView(d.hostView),wc(this.components,d),f==null||f.unregisterApplication(u)}),this._loadComponent(d),d}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new S(101,!1);let t=Ce(null);try{this._runningTick=!0,this.synchronize()}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,Ce(t),this.afterTick.next()}}synchronize(){let t=null;this._injector.destroyed||(t=this._injector.get(nr,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let i=0;for(;this.dirtyFlags!==0&&i++ld(t))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(t){let i=t;this._views.push(i),i.attachToAppRef(this)}detachView(t){let i=t;wc(this._views,i),i.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t);let i=this._injector.get(Od,[]);[...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),()=>wc(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new S(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=E({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();function wc(n,e){let r=n.indexOf(e);r>-1&&n.splice(r,1)}function b1(n,e,r,t){if(!r&&!ld(n))return;sw(n,e,r&&!t?0:1)}var hp=class{constructor(e,r){this.ngModuleFactory=e,this.componentFactories=r}},Rd=(()=>{let e=class e{compileModuleSync(t){return new qc(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){let i=this.compileModuleSync(t),o=b_(t),s=R0(o.declarations).reduce((a,l)=>{let c=Ji(l);return c&&a.push(new Wo(c)),a},[]);return new hp(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=E({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),y1=new D("");function _1(n,e,r){let t=new qc(r);return Promise.resolve(t)}function Qy(n){for(let e=n.length-1;e>=0;e--)if(n[e]!==void 0)return n[e]}var w1=(()=>{let e=class e{constructor(){this.zone=y(k),this.changeDetectionScheduler=y($o),this.applicationRef=y(hn)}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=E({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();function C1({ngZoneFactory:n,ignoreChangesOutsideZone:e,scheduleInRootZone:r}){return n??=()=>new k(ue(x({},Xw()),{scheduleInRootZone:r})),[{provide:k,useFactory:n},{provide:Vo,multi:!0,useFactory:()=>{let t=y(w1,{optional:!0});return()=>t.initialize()}},{provide:Vo,multi:!0,useFactory:()=>{let t=y(x1);return()=>{t.initialize()}}},e===!0?{provide:dw,useValue:!0}:[],{provide:uw,useValue:r??l0}]}function Xw(n){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:(n==null?void 0:n.eventCoalescing)??!1,shouldCoalesceRunChangeDetection:(n==null?void 0:n.runCoalescing)??!1}}var x1=(()=>{let e=class e{constructor(){this.subscription=new me,this.initialized=!1,this.zone=y(k),this.pendingTasks=y(Jn)}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??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();var D1=(()=>{let e=class e{constructor(){var t;this.appRef=y(hn),this.taskService=y(Jn),this.ngZone=y(k),this.zonelessEnabled=y(rm),this.disableScheduling=y(dw,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new me,this.angularZoneId=this.zoneIsDefined?(t=this.ngZone._inner)==null?void 0:t.get(Nc):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(y(uw,{optional:!0})??!1),this.cancelScheduledCallback=null,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.zonelessEnabled&&(this.ngZone instanceof Pc||!this.zoneIsDefined)}notify(t){if(!this.zonelessEnabled&&t===5)return;switch(t){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 7:{this.appRef.deferredDirtyFlags|=8;break}case 9:case 8:case 6:case 10:default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick())return;let i=this.useMicrotaskScheduler?Ey:c0;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>i(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>i(()=>this.tick()))}shouldScheduleTick(){return!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Nc+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let t=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(i){throw this.taskService.remove(t),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Ey(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(t)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){var t;if(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=E({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();function E1(){return typeof $localize<"u"&&$localize.locale||Zc}var Nd=new D("",{providedIn:"root",factory:()=>y(Nd,be.Optional|be.SkipSelf)||E1()});var Qc=new D("");function mc(n){return!n.moduleRef}function I1(n){let e=mc(n)?n.r3Injector:n.moduleRef.injector,r=e.get(k);return r.run(()=>{mc(n)?n.r3Injector.resolveInjectorInitializers():n.moduleRef.resolveInjectorInitializers();let t=e.get(Zn,null),i;if(r.runOutsideAngular(()=>{i=r.onError.subscribe({next:o=>{t.handleError(o)}})}),mc(n)){let o=()=>e.destroy(),s=n.platformInjector.get(Qc);s.add(o),e.onDestroy(()=>{i.unsubscribe(),s.delete(o)})}else{let o=()=>n.moduleRef.destroy(),s=n.platformInjector.get(Qc);s.add(o),n.moduleRef.onDestroy(()=>{wc(n.allPlatformModules,n.moduleRef),i.unsubscribe(),s.delete(o)})}return v1(t,r,()=>{let o=e.get(Qw);return o.runInitializers(),o.donePromise.then(()=>{let s=e.get(Nd,Zc);if(QO(s||Zc),mc(n)){let a=e.get(hn);return n.rootComponent!==void 0&&a.bootstrap(n.rootComponent),a}else return M1(n.moduleRef,n.allPlatformModules),n.moduleRef})})})}function M1(n,e){let r=n.injector.get(hn);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(t=>r.bootstrap(t));else if(n.instance.ngDoBootstrap)n.instance.ngDoBootstrap(r);else throw new S(-403,!1);e.push(n)}var Jw=(()=>{let e=class e{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,i){let o=i==null?void 0:i.scheduleInRootZone,s=()=>OT(i==null?void 0:i.ngZone,ue(x({},Xw({eventCoalescing:i==null?void 0:i.ngZoneEventCoalescing,runCoalescing:i==null?void 0:i.ngZoneRunCoalescing})),{scheduleInRootZone:o})),a=i==null?void 0:i.ignoreChangesOutsideZone,l=[C1({ngZoneFactory:s,ignoreChangesOutsideZone:a}),{provide:$o,useExisting:D1}],c=gO(t.moduleType,this.injector,l);return I1({moduleRef:c,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(t,i=[]){let o=Kw({},i);return _1(this.injector,o,t).then(s=>this.bootstrapModuleFactory(s,o))}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new S(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());let t=this._injector.get(Qc,null);t&&(t.forEach(i=>i()),t.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}};e.\u0275fac=function(i){return new(i||e)(b(_e))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"platform"});let n=e;return n})(),Vr=null,eC=new D("");function S1(n){if(Vr&&!Vr.get(eC,!1))throw new S(400,!1);p1(),Vr=n;let e=n.get(Jw);return k1(n),e}function pm(n,e,r=[]){let t=`Platform: ${e}`,i=new D(t);return(o=[])=>{let s=tC();if(!s||s.injector.get(eC,!1)){let a=[...r,...o,{provide:i,useValue:!0}];n?n(a):S1(T1(a,t))}return A1(i)}}function T1(n=[],e){return _e.create({name:e,providers:[{provide:rd,useValue:"platform"},{provide:Qc,useValue:new Set([()=>Vr=null])},...n]})}function A1(n){let e=tC();if(!e)throw new S(401,!1);return e}function tC(){return(Vr==null?void 0:Vr.get(Jw))??null}function k1(n){let e=n.get(Vp,null);e==null||e.forEach(r=>r())}var Ne=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=O1;let n=e;return n})();function O1(n){return R1(_t(),fe(),(n&16)===16)}function R1(n,e,r){if(sd(n)&&!r){let t=rr(n.index,e);return new qr(t,t)}else if(n.type&175){let t=e[rn];return new qr(t,e)}return null}var fp=class{constructor(){}supports(e){return Dw(e)}create(e){return new pp(e)}},N1=(n,e)=>e,pp=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||N1}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 mp(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 Kc),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 Kc),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}},mp=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}},gp=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}},Kc=class{constructor(){this.map=new Map}put(e){let r=e.trackById,t=this.map.get(r);t||(t=new gp,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 Ky(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||Xy()),deps:[[e,new _p,new td]]}}find(t){let i=this.factories.find(o=>o.supports(t));if(i!=null)return i;throw new S(901,!1)}};e.\u0275prov=E({token:e,providedIn:"root",factory:Xy});let n=e;return n})();var nC=pm(null,"core",[]),iC=(()=>{let e=class e{constructor(t){}};e.\u0275fac=function(i){return new(i||e)(b(hn))},e.\u0275mod=V({type:e}),e.\u0275inj=L({});let n=e;return n})();function ne(n){return typeof n=="boolean"?n:n!=null&&n!=="false"}function ri(n,e=NaN){return!isNaN(parseFloat(n))&&!isNaN(Number(n))?Number(n):e}function Ti(n,e){ti("NgSignals");let r=Ph(n);return e!=null&&e.equal&&(r[en].equal=e.equal),r}function fn(n){let e=Ce(null);try{return n()}finally{Ce(e)}}var P1=new D("",{providedIn:"root",factory:()=>y(F1)}),F1=(()=>{let e=class e{};e.\u0275prov=E({token:e,providedIn:"root",factory:()=>new vp});let n=e;return n})(),vp=class{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=y(Jn),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()}},bp=class{constructor(e,r,t,i,o,s){this.scheduler=e,this.effectFn=r,this.creationZone=t,this.injector=o,this.watcher=Ob(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(Zn,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 mm(n,e){ti("NgSignals"),!(e!=null&&e.injector)&&Mp(mm);let r=(e==null?void 0:e.injector)??y(_e),t=(e==null?void 0:e.manualCleanup)!==!0?r.get(gd):null,i=new bp(r.get(P1),n,typeof Zone>"u"?null:Zone.current,t,r,(e==null?void 0:e.allowSignalWrites)??!1),o=r.get(Ne,null,{optional:!0});return!o||!(o._lView[te]&8)?i.watcher.notify():(o._lView[vc]??=[]).push(i.watcher.notify),i}function rC(n){let e=Ji(n);if(!e)return null;let r=new Wo(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 dC=null;function oi(){return dC}function uC(n){dC??=n}var Fd=class{};var W=new D(""),Cm=(()=>{let e=class e{historyGo(t){throw new Error("")}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=E({token:e,factory:()=>y(j1),providedIn:"platform"});let n=e;return n})(),hC=new D(""),j1=(()=>{let e=class e extends Cm{constructor(){super(),this._doc=y(W),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return oi().getBaseHref(this._doc)}onPopState(t){let i=oi().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",t,!1),()=>i.removeEventListener("popstate",t)}onHashChange(t){let i=oi().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=E({token:e,factory:()=>new e,providedIn:"platform"});let n=e;return n})();function xm(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 oC(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 Ai(n){return n&&n[0]!=="?"?"?"+n:n}var ki=(()=>{let e=class e{historyGo(t){throw new Error("")}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=E({token:e,factory:()=>y(Dm),providedIn:"root"});let n=e;return n})(),fC=new D(""),Dm=(()=>{let e=class e extends ki{constructor(t,i){var o;super(),this._platformLocation=t,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??((o=y(W).location)==null?void 0:o.origin)??""}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 xm(this._baseHref,t)}path(t=!1){let i=this._platformLocation.pathname+Ai(this._platformLocation.search),o=this._platformLocation.hash;return o&&t?`${i}${o}`:i}pushState(t,i,o,s){let a=this.prepareExternalUrl(o+Ai(s));this._platformLocation.pushState(t,i,a)}replaceState(t,i,o,s){let a=this.prepareExternalUrl(o+Ai(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)(b(Cm),b(fC,8))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),pC=(()=>{let e=class e extends ki{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){let i=this._platformLocation.hash??"#";return i.length>0?i.substring(1):i}prepareExternalUrl(t){let i=xm(this._baseHref,t);return i.length>0?"#"+i:i}pushState(t,i,o,s){let a=this.prepareExternalUrl(o+Ai(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.pushState(t,i,a)}replaceState(t,i,o,s){let a=this.prepareExternalUrl(o+Ai(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)(b(Cm),b(fC,8))},e.\u0275prov=E({token:e,factory:e.\u0275fac});let n=e;return n})(),si=(()=>{let e=class e{constructor(t){this._subject=new $,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=t;let i=this._locationStrategy.getBaseHref();this._basePath=U1(oC(sC(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+Ai(i))}normalize(t){return e.stripTrailingSlash(B1(this._basePath,sC(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+Ai(i)),o)}replaceState(t,i="",o=null){this._locationStrategy.replaceState(o,"",t,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Ai(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){return this._urlChangeListeners.push(t),this._urlChangeSubscription??=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)}),()=>{var o;let i=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(i,1),this._urlChangeListeners.length===0&&((o=this._urlChangeSubscription)==null||o.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=Ai,e.joinWithSlash=xm,e.stripTrailingSlash=oC,e.\u0275fac=function(i){return new(i||e)(b(ki))},e.\u0275prov=E({token:e,factory:()=>V1(),providedIn:"root"});let n=e;return n})();function V1(){return new si(b(ki))}function B1(n,e){if(!n||!e.startsWith(n))return e;let r=e.substring(n.length);return r===""||["/",";","?","#"].includes(r[0])?r:e}function sC(n){return n.replace(/\/index.html$/,"")}function U1(n){if(new RegExp("^(https?:)?//").test(n)){let[,r]=n.split(/\/\/[^\/]+/);return r}return n}function jd(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 vm=/\s+/,aC=[],es=(()=>{let e=class e{constructor(t,i){this._ngEl=t,this._renderer=i,this.initialClasses=aC,this.stateMap=new Map}set klass(t){this.initialClasses=t!=null?t.trim().split(vm):aC}set ngClass(t){this.rawClass=typeof t=="string"?t.trim().split(vm):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(vm).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(or))},e.\u0275dir=N({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0});let n=e;return n})();var bm=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 bm(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),lC(l,o)}});for(let o=0,s=i.length;o{let s=i.get(o.currentIndex);lC(s,o)})}static ngTemplateContextGuard(t,i){return!0}};e.\u0275fac=function(i){return new(i||e)(h(at),h(mt),h(Pd))},e.\u0275dir=N({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});let n=e;return n})();function lC(n,e){n.context.$implicit=e.item}var Mt=(()=>{let e=class e{constructor(t,i){this._viewContainer=t,this._context=new ym,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){cC("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){cC("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(at),h(mt))},e.\u0275dir=N({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let n=e;return n})(),ym=class{constructor(){this.$implicit=null,this.ngIf=null}};function cC(n,e){if(!!!(!e||e.createEmbeddedView))throw new Error(`${n} must be a TemplateRef, but received '${Ot(e)}'.`)}var mC=(()=>{let e=class e{constructor(t){this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(t){if(this._shouldRecreateView(t)){let i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??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(at))},e.\u0275dir=N({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[$e]});let n=e;return n})();var ai=(()=>{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})(),Em="browser",z1="server";function Im(n){return n===Em}function Vd(n){return n===z1}var gC=(()=>{let e=class e{};e.\u0275prov=E({token:e,providedIn:"root",factory:()=>Im(y(cn))?new _m(y(W),window):new wm});let n=e;return n})(),_m=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=H1(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 H1(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="${e}"]`);if(s)return s}i=t.nextNode()}}return null}var wm=class{setOffset(e){}getScrollPosition(){return[0,0]}scrollToPosition(e){}scrollToAnchor(e){}setHistoryScrollRestoration(e){}},Jo=class{};var ma=class{},Ud=class{},Oi=class n{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split(` -`).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 Sm=class{encodeKey(e){return vC(e)}encodeValue(e){return vC(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function $1(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 W1=/%(\d[a-f0-9])/gi,G1={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function vC(n){return encodeURIComponent(n).replace(W1,(e,r)=>G1[r]??e)}function Bd(n){return`${n}`}var ar=class n{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new Sm,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=$1(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(Bd):[Bd(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(Bd(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(Bd(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 Tm=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 q1(n){switch(n){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function bC(n){return typeof ArrayBuffer<"u"&&n instanceof ArrayBuffer}function yC(n){return typeof Blob<"u"&&n instanceof Blob}function _C(n){return typeof FormData<"u"&&n instanceof FormData}function Y1(n){return typeof URLSearchParams<"u"&&n instanceof URLSearchParams}var pa=class n{constructor(e,r,t,i){this.url=r,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase();let o;if(q1(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),this.headers??=new Oi,this.context??=new Tm,!this.params)this.params=new ar,this.urlWithParams=r;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=r;else{let a=r.indexOf("?"),l=a===-1?"?":af.set(p,e.setHeaders[p]),c)),e.setParams&&(d=Object.keys(e.setParams).reduce((f,p)=>f.set(p,e.setParams[p]),d)),new n(r,t,s,{params:d,headers:c,context:u,reportProgress:l,responseType:i,withCredentials:a,transferCache:o})}},lr=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}(lr||{}),ga=class{constructor(e,r=200,t="OK"){this.headers=e.headers||new Oi,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}},zd=class n extends ga{constructor(e={}){super(e),this.type=lr.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})}},va=class n extends ga{constructor(e={}){super(e),this.type=lr.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})}},sr=class extends ga{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}},EC=200,Z1=204;function Mm(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 Om=(()=>{let e=class e{constructor(t){this.handler=t}request(t,i,o={}){let s;if(t instanceof pa)s=t;else{let c;o.headers instanceof Oi?c=o.headers:c=new Oi(o.headers);let d;o.params&&(o.params instanceof ar?d=o.params:d=new ar({fromObject:o.params})),s=new pa(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(bi(c=>this.handler.handle(c)));if(t instanceof pa||o.observe==="events")return a;let l=a.pipe(ce(c=>c instanceof va));switch(o.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return l.pipe(X(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(X(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(X(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(X(c=>c.body))}case"response":return l;default:throw new Error(`Unreachable: unhandled observe type ${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 ar().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,Mm(o,i))}post(t,i,o={}){return this.request("POST",t,Mm(o,i))}put(t,i,o={}){return this.request("PUT",t,Mm(o,i))}};e.\u0275fac=function(i){return new(i||e)(b(ma))},e.\u0275prov=E({token:e,factory:e.\u0275fac});let n=e;return n})(),Q1=/^\)\]\}',?\n/,K1="X-Request-URL";function wC(n){if(n.url)return n.url;let e=K1.toLocaleLowerCase();return n.headers.get(e)}var X1=(()=>{let e=class e{constructor(){var t;this.fetchImpl=((t=y(Am,{optional:!0}))==null?void 0:t.fetch)??((...i)=>globalThis.fetch(...i)),this.ngZone=y(k)}handle(t){return new ae(i=>{let o=new AbortController;return this.doRequest(t,o.signal,i).then(km,s=>i.error(new sr({error:s}))),()=>o.abort()})}doRequest(t,i,o){return Oe(this,null,function*(){let s=this.createRequestInit(t),a;try{let g=this.ngZone.runOutsideAngular(()=>this.fetchImpl(t.urlWithParams,x({signal:i},s)));J1(g),o.next({type:lr.Sent}),a=yield g}catch(g){o.error(new sr({error:g,status:g.status??0,statusText:g.statusText,url:t.urlWithParams,headers:g.headers}));return}let l=new Oi(a.headers),c=a.statusText,d=wC(a)??t.urlWithParams,u=a.status,f=null;if(t.reportProgress&&o.next(new zd({headers:l,status:u,statusText:c,url:d})),a.body){let g=a.headers.get("content-length"),w=[],M=a.body.getReader(),T=0,Y,Z,z=typeof Zone<"u"&&Zone.current;yield this.ngZone.runOutsideAngular(()=>Oe(this,null,function*(){for(;;){let{done:Be,value:Te}=yield M.read();if(Be)break;if(w.push(Te),T+=Te.length,t.reportProgress){Z=t.responseType==="text"?(Z??"")+(Y??=new TextDecoder).decode(Te,{stream:!0}):void 0;let ot=()=>o.next({type:lr.DownloadProgress,total:g?+g:void 0,loaded:T,partialText:Z});z?z.run(ot):ot()}}}));let Qe=this.concatChunks(w,T);try{let Be=a.headers.get("Content-Type")??"";f=this.parseBody(t,Qe,Be)}catch(Be){o.error(new sr({error:Be,headers:new Oi(a.headers),status:a.status,statusText:a.statusText,url:wC(a)??t.urlWithParams}));return}}u===0&&(u=f?EC:0),u>=200&&u<300?(o.next(new va({body:f,headers:l,status:u,statusText:c,url:d})),o.complete()):o.error(new sr({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(Q1,"");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){let i={},o=t.withCredentials?"include":void 0;if(t.headers.forEach((s,a)=>i[s]=a.join(",")),t.headers.has("Accept")||(i.Accept="application/json, text/plain, */*"),!t.headers.has("Content-Type")){let s=t.detectContentTypeHeader();s!==null&&(i["Content-Type"]=s)}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=E({token:e,factory:e.\u0275fac});let n=e;return n})(),Am=class{};function km(){}function J1(n){n.then(km,km)}function IC(n,e){return e(n)}function eR(n,e){return(r,t)=>e.intercept(r,{handle:i=>n(i,t)})}function tR(n,e,r){return(t,i)=>sn(r,()=>e(t,o=>n(o,i)))}var nR=new D(""),Rm=new D(""),iR=new D(""),MC=new D("",{providedIn:"root",factory:()=>!0});function rR(){let n=null;return(e,r)=>{n===null&&(n=(y(nR,{optional:!0})??[]).reduceRight(eR,IC));let t=y(Jn);if(y(MC)){let o=t.add();return n(e,r).pipe(Yi(()=>t.remove(o)))}else return n(e,r)}}var CC=(()=>{let e=class e extends ma{constructor(t,i){super(),this.backend=t,this.injector=i,this.chain=null,this.pendingTasks=y(Jn),this.contributeToStability=y(MC)}handle(t){if(this.chain===null){let i=Array.from(new Set([...this.injector.get(Rm),...this.injector.get(iR,[])]));this.chain=i.reduceRight((o,s)=>tR(o,s,this.injector),IC)}if(this.contributeToStability){let i=this.pendingTasks.add();return this.chain(t,o=>this.backend.handle(o)).pipe(Yi(()=>this.pendingTasks.remove(i)))}else return this.chain(t,i=>this.backend.handle(i))}};e.\u0275fac=function(i){return new(i||e)(b(Ud),b(yt))},e.\u0275prov=E({token:e,factory:e.\u0275fac});let n=e;return n})();var oR=/^\)\]\}',?\n/;function sR(n){return"responseURL"in n&&n.responseURL?n.responseURL:/^X-Request-URL:/m.test(n.getAllResponseHeaders())?n.getResponseHeader("X-Request-URL"):null}var xC=(()=>{let e=class e{constructor(t){this.xhrFactory=t}handle(t){if(t.method==="JSONP")throw new S(-2800,!1);let i=this.xhrFactory;return(i.\u0275loadImpl?Le(i.\u0275loadImpl()):H(null)).pipe(nt(()=>new ae(s=>{let a=i.build();if(a.open(t.method,t.urlWithParams),t.withCredentials&&(a.withCredentials=!0),t.headers.forEach((M,T)=>a.setRequestHeader(M,T.join(","))),t.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){let M=t.detectContentTypeHeader();M!==null&&a.setRequestHeader("Content-Type",M)}if(t.responseType){let M=t.responseType.toLowerCase();a.responseType=M!=="json"?M:"text"}let l=t.serializeBody(),c=null,d=()=>{if(c!==null)return c;let M=a.statusText||"OK",T=new Oi(a.getAllResponseHeaders()),Y=sR(a)||t.url;return c=new zd({headers:T,status:a.status,statusText:M,url:Y}),c},u=()=>{let{headers:M,status:T,statusText:Y,url:Z}=d(),z=null;T!==Z1&&(z=typeof a.response>"u"?a.responseText:a.response),T===0&&(T=z?EC:0);let Qe=T>=200&&T<300;if(t.responseType==="json"&&typeof z=="string"){let Be=z;z=z.replace(oR,"");try{z=z!==""?JSON.parse(z):null}catch(Te){z=Be,Qe&&(Qe=!1,z={error:Te,text:z})}}Qe?(s.next(new va({body:z,headers:M,status:T,statusText:Y,url:Z||void 0})),s.complete()):s.error(new sr({error:z,headers:M,status:T,statusText:Y,url:Z||void 0}))},f=M=>{let{url:T}=d(),Y=new sr({error:M,status:a.status||0,statusText:a.statusText||"Unknown Error",url:T||void 0});s.error(Y)},p=!1,g=M=>{p||(s.next(d()),p=!0);let T={type:lr.DownloadProgress,loaded:M.loaded};M.lengthComputable&&(T.total=M.total),t.responseType==="text"&&a.responseText&&(T.partialText=a.responseText),s.next(T)},w=M=>{let T={type:lr.UploadProgress,loaded:M.loaded};M.lengthComputable&&(T.total=M.total),s.next(T)};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",w)),a.send(l),s.next({type:lr.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",w)),a.readyState!==a.DONE&&a.abort()}})))}};e.\u0275fac=function(i){return new(i||e)(b(Jo))},e.\u0275prov=E({token:e,factory:e.\u0275fac});let n=e;return n})(),SC=new D(""),aR="XSRF-TOKEN",lR=new D("",{providedIn:"root",factory:()=>aR}),cR="X-XSRF-TOKEN",dR=new D("",{providedIn:"root",factory:()=>cR}),Hd=class{},uR=(()=>{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=jd(t,this.cookieName),this.lastCookieString=t),this.lastToken}};e.\u0275fac=function(i){return new(i||e)(b(W),b(cn),b(lR))},e.\u0275prov=E({token:e,factory:e.\u0275fac});let n=e;return n})();function hR(n,e){let r=n.url.toLowerCase();if(!y(SC)||n.method==="GET"||n.method==="HEAD"||r.startsWith("http://")||r.startsWith("https://"))return e(n);let t=y(Hd).getToken(),i=y(dR);return t!=null&&!n.headers.has(i)&&(n=n.clone({headers:n.headers.set(i,t)})),e(n)}var TC=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}(TC||{});function fR(n,e){return{\u0275kind:n,\u0275providers:e}}function AC(...n){let e=[Om,xC,CC,{provide:ma,useExisting:CC},{provide:Ud,useFactory:()=>y(X1,{optional:!0})??y(xC)},{provide:Rm,useValue:hR,multi:!0},{provide:SC,useValue:!0},{provide:Hd,useClass:uR}];for(let r of n)e.push(...r.\u0275providers);return id(e)}var DC=new D("");function kC(){return fR(TC.LegacyInterceptors,[{provide:DC,useFactory:rR},{provide:Rm,useExisting:DC,multi:!0}])}var Fm=class extends Fd{constructor(){super(...arguments),this.supportsDOMEvents=!0}},Lm=class n extends Fm{static makeCurrent(){uC(new n)}onAndCancel(e,r,t){return e.addEventListener(r,t),()=>{e.removeEventListener(r,t)}}dispatchEvent(e,r){e.dispatchEvent(r)}remove(e){e.remove()}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=mR();return r==null?null:gR(r)}resetBaseElement(){ba=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return jd(document.cookie,e)}},ba=null;function mR(){return ba=ba||document.querySelector("base"),ba?ba.getAttribute("href"):null}function gR(n){return new URL(n,document.baseURI).pathname}var jm=class{addToWindow(e){Ht.getAngularTestability=(t,i=!0)=>{let o=e.findTestabilityInTree(t,i);if(o==null)throw new S(5103,!1);return o},Ht.getAllAngularTestabilities=()=>e.getAllTestabilities(),Ht.getAllAngularRootElements=()=>e.getAllRootElements();let r=t=>{let i=Ht.getAllAngularTestabilities(),o=i.length,s=function(){o--,o==0&&t()};i.forEach(a=>{a.whenStable(s)})};Ht.frameworkStabilizers||(Ht.frameworkStabilizers=[]),Ht.frameworkStabilizers.push(r)}findTestabilityInTree(e,r,t){if(r==null)return null;let i=e.getTestability(r);return i??(t?oi().isShadowRoot(r)?this.findTestabilityInTree(e,r.host,!0):this.findTestabilityInTree(e,r.parentElement,!0):null)}},vR=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=E({token:e,factory:e.\u0275fac});let n=e;return n})(),Vm=new D(""),NC=(()=>{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 S(5101,!1);return this._eventNameToPlugin.set(t,i),i}};e.\u0275fac=function(i){return new(i||e)(b(Vm),b(k))},e.\u0275prov=E({token:e,factory:e.\u0275fac});let n=e;return n})(),$d=class{constructor(e){this._doc=e}},Nm="ng-app-id",PC=(()=>{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=Vd(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[${Nm}="${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(Nm),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=i,this.platformIsServer&&a.setAttribute(Nm,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)(b(W),b(Qo),b(sa,8),b(cn))},e.\u0275prov=E({token:e,factory:e.\u0275fac});let n=e;return n})(),Pm={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"},Um=/%COMP%/g,FC="%COMP%",bR=`_nghost-${FC}`,yR=`_ngcontent-${FC}`,_R=!0,wR=new D("",{providedIn:"root",factory:()=>_R});function CR(n){return yR.replace(Um,n)}function xR(n){return bR.replace(Um,n)}function LC(n,e){return e.map(r=>r.replace(Um,n))}var Wd=(()=>{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=Vd(l),this.defaultRenderer=new ya(t,a,c,this.platformIsServer)}createRenderer(t,i){if(!t||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===Gn.ShadowDom&&(i=ue(x({},i),{encapsulation:Gn.Emulated}));let o=this.getOrCreateRenderer(t,i);return o instanceof Gd?o.applyToHost(t):o instanceof _a&&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 Gn.Emulated:s=new Gd(c,d,i,this.appId,u,a,l,f);break;case Gn.ShadowDom:return new Bm(c,d,t,i,a,l,this.nonce,f);default:s=new _a(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)(b(NC),b(PC),b(Qo),b(wR),b(W),b(cn),b(k),b(sa))},e.\u0275prov=E({token:e,factory:e.\u0275fac});let n=e;return n})(),ya=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(Pm[r]||r,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,r){(OC(e)?e.content:e).appendChild(r)}insertBefore(e,r,t){e&&(OC(e)?e.content:e).insertBefore(r,t)}removeChild(e,r){r.remove()}selectRootElement(e,r){let t=typeof e=="string"?this.doc.querySelector(e):e;if(!t)throw new S(-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=Pm[i];o?e.setAttributeNS(o,r,t):e.setAttribute(r,t)}else e.setAttribute(r,t)}removeAttribute(e,r,t){if(t){let i=Pm[t];i?e.removeAttributeNS(i,r):e.removeAttribute(`${t}:${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&(Ci.DashCase|Ci.Important)?e.style.setProperty(r,t,i&Ci.Important?"important":""):e.style[r]=t}removeStyle(e,r,t){t&Ci.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=oi().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${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 OC(n){return n.tagName==="TEMPLATE"&&n.content!==void 0}var Bm=class extends ya{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=LC(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(null,r)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},_a=class extends ya{constructor(e,r,t,i,o,s,a,l){super(e,o,s,a),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=i,this.styles=l?LC(l,t.styles):t.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},Gd=class extends _a{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=CR(c),this.hostAttr=xR(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}},DR=(()=>{let e=class e extends $d{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)(b(W))},e.\u0275prov=E({token:e,factory:e.\u0275fac});let n=e;return n})(),RC=["alt","control","meta","shift"],ER={"\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"},IR={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey},MR=(()=>{let e=class e extends $d{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(()=>oi().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."),RC.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=ER[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"),RC.forEach(a=>{if(a!==o){let l=IR[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)(b(W))},e.\u0275prov=E({token:e,factory:e.\u0275fac});let n=e;return n})();function SR(){Lm.makeCurrent()}function TR(){return new Zn}function AR(){return v0(document),document}var kR=[{provide:cn,useValue:Em},{provide:Vp,useValue:SR,multi:!0},{provide:W,useFactory:AR,deps:[]}],jC=pm(nC,"browser",kR),OR=new D(""),RR=[{provide:fa,useClass:jm,deps:[]},{provide:fm,useClass:Td,deps:[k,Ad,fa]},{provide:Td,useClass:Td,deps:[k,Ad,fa]}],NR=[{provide:rd,useValue:"root"},{provide:Zn,useFactory:TR,deps:[]},{provide:Vm,useClass:DR,multi:!0,deps:[W,k,cn]},{provide:Vm,useClass:MR,multi:!0,deps:[W]},Wd,PC,NC,{provide:nr,useExisting:Wd},{provide:Jo,useClass:vR,deps:[]},[]],qd=(()=>{let e=class e{constructor(t){}static withServerTransition(t){return{ngModule:e,providers:[{provide:Qo,useValue:t.appId}]}}};e.\u0275fac=function(i){return new(i||e)(b(OR,12))},e.\u0275mod=V({type:e}),e.\u0275inj=L({providers:[...NR,...RR],imports:[ai,iC]});let n=e;return n})();var VC=(()=>{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)(b(W))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();var zm=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=E({token:e,factory:function(i){let o=null;return i?o=new(i||e):o=b(PR),o},providedIn:"root"});let n=e;return n})(),PR=(()=>{let e=class e extends zm{constructor(t){super(),this._doc=t}sanitize(t,i){if(i==null)return null;switch(t){case An.NONE:return i;case An.HTML:return Mi(i,"HTML")?dn(i):Up(this._doc,String(i)).toString();case An.STYLE:return Mi(i,"Style")?dn(i):i;case An.SCRIPT:if(Mi(i,"Script"))return dn(i);throw new S(5200,!1);case An.URL:return Mi(i,"URL")?dn(i):bd(String(i));case An.RESOURCE_URL:if(Mi(i,"ResourceURL"))return dn(i);throw new S(5201,!1);default:throw new S(5202,!1)}}bypassSecurityTrustHtml(t){return w0(t)}bypassSecurityTrustStyle(t){return C0(t)}bypassSecurityTrustScript(t){return x0(t)}bypassSecurityTrustUrl(t){return D0(t)}bypassSecurityTrustResourceUrl(t){return E0(t)}};e.\u0275fac=function(i){return new(i||e)(b(W))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();function li(n){return n!=null&&`${n}`!="false"}function Ri(n,e=0){return FR(n)?Number(n):arguments.length===2?e:0}function FR(n){return!isNaN(parseFloat(n))&&!isNaN(Number(n))}function ts(n){return Array.isArray(n)?n:[n]}function it(n){return n==null?"":typeof n=="string"?n:`${n}px`}function pn(n){return n instanceof P?n.nativeElement:n}var Wm;try{Wm=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Wm=!1}var ye=(()=>{let e=class e{constructor(t){this._platformId=t,this.isBrowser=this._platformId?Im(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||Wm)&&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)(b(cn))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();var ns,BC=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function Gm(){if(ns)return ns;if(typeof document!="object"||!document)return ns=new Set(BC),ns;let n=document.createElement("input");return ns=new Set(BC.filter(e=>(n.setAttribute("type",e),n.type===e))),ns}var wa;function LR(){if(wa==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>wa=!0}))}finally{wa=wa||!1}return wa}function mn(n){return LR()?n:!!n.capture}var kn=function(n){return n[n.NORMAL=0]="NORMAL",n[n.NEGATED=1]="NEGATED",n[n.INVERTED=2]="INVERTED",n}(kn||{}),Yd,Xr;function Zd(){if(Xr==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return Xr=!1,Xr;if("scrollBehavior"in document.documentElement.style)Xr=!0;else{let n=Element.prototype.scrollTo;n?Xr=!/\{\s*\[native code\]\s*\}/.test(n.toString()):Xr=!1}}return Xr}function is(){if(typeof document!="object"||!document)return kn.NORMAL;if(Yd==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),Yd=kn.NORMAL,n.scrollLeft===0&&(n.scrollLeft=1,Yd=n.scrollLeft===0?kn.NEGATED:kn.INVERTED),n.remove()}return Yd}var $m;function jR(){if($m==null){let n=typeof document<"u"?document.head:null;$m=!!(n&&(n.createShadowRoot||n.attachShadow))}return $m}function UC(n){if(jR()){let e=n.getRootNode?n.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}function Ca(){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 Wt(n){return n.composedPath?n.composedPath()[0]:n.target}function xa(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var $C=(()=>{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})(),zC=new Set,Jr,VR=(()=>{let e=class e{constructor(t,i){this._platform=t,this._nonce=i,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):UR}matchMedia(t){return(this._platform.WEBKIT||this._platform.BLINK)&&BR(t,this._nonce),this._matchMedia(t)}};e.\u0275fac=function(i){return new(i||e)(b(ye),b(sa,8))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();function BR(n,e){if(!zC.has(n))try{Jr||(Jr=document.createElement("style"),e&&Jr.setAttribute("nonce",e),Jr.setAttribute("type","text/css"),document.head.appendChild(Jr)),Jr.sheet&&(Jr.sheet.insertRule(`@media ${n} {body{ }}`,0),zC.add(n))}catch(r){console.error(r)}}function UR(n){return{matches:n==="all"||n==="",media:n,addListener:()=>{},removeListener:()=>{}}}var WC=(()=>{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 HC(ts(t)).some(o=>this._registerQuery(o).mql.matches)}observe(t){let o=HC(ts(t)).map(a=>this._registerQuery(a).observable),s=Nr(o);return s=Bn(s.pipe(Ue(1)),s.pipe(Gs(1),Pr(0))),s.pipe(X(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 ae(a=>{let l=c=>this._zone.run(()=>a.next(c));return i.addListener(l),()=>{i.removeListener(l)}}).pipe(st(i),X(({matches:a})=>({query:t,matches:a})),xe(this._destroySubject)),mql:i};return this._queries.set(t,s),s}};e.\u0275fac=function(i){return new(i||e)(b(VR),b(k))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();function HC(n){return n.map(e=>e.split(",")).reduce((e,r)=>e.concat(r)).map(e=>e.trim())}var ve="primary",La=Symbol("RouteTitle"),Km=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 cs(n){return new Km(n)}function zR(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 ix(n){return n.length>0?n[n.length-1]:null}function dr(n){return To(n)?n:Kr(n)?Le(Promise.resolve(n)):H(n)}var $R={exact:ox,subset:sx},rx={exact:WR,subset:GR,ignored:()=>!0};function GC(n,e,r){return $R[r.paths](n.root,e.root,r.matrixParams)&&rx[r.queryParams](n.queryParams,e.queryParams)&&!(r.fragment==="exact"&&n.fragment!==e.fragment)}function WR(n,e){return ci(n,e)}function ox(n,e,r){if(!to(n.segments,e.segments)||!Xd(n.segments,e.segments,r)||n.numberOfChildren!==e.numberOfChildren)return!1;for(let t in e.children)if(!n.children[t]||!ox(n.children[t],e.children[t],r))return!1;return!0}function GR(n,e){return Object.keys(e).length<=Object.keys(n).length&&Object.keys(e).every(r=>nx(n[r],e[r]))}function sx(n,e,r){return ax(n,e,e.segments,r)}function ax(n,e,r,t){if(n.segments.length>r.length){let i=n.segments.slice(0,r.length);return!(!to(i,r)||e.hasChildren()||!Xd(i,r,t))}else if(n.segments.length===r.length){if(!to(n.segments,r)||!Xd(n.segments,r,t))return!1;for(let i in e.children)if(!n.children[i]||!sx(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!to(n.segments,i)||!Xd(n.segments,i,t)||!n.children[ve]?!1:ax(n.children[ve],e,o,t)}}function Xd(n,e,r){return e.every((t,i)=>rx[r](n[i].parameters,t.parameters))}var Pi=class{constructor(e=new Pe([],{}),r={},t=null){this.root=e,this.queryParams=r,this.fragment=t}get queryParamMap(){return this._queryParamMap??=cs(this.queryParams),this._queryParamMap}toString(){return ZR.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 Jd(this)}},eo=class{constructor(e,r){this.path=e,this.parameters=r}get parameterMap(){return this._parameterMap??=cs(this.parameters),this._parameterMap}toString(){return cx(this)}};function qR(n,e){return to(n,e)&&n.every((r,t)=>ci(r.parameters,e[t].parameters))}function to(n,e){return n.length!==e.length?!1:n.every((r,t)=>r.path===e[t].path)}function YR(n,e){let r=[];return Object.entries(n.children).forEach(([t,i])=>{t===ve&&(r=r.concat(e(i,t)))}),Object.entries(n.children).forEach(([t,i])=>{t!==ve&&(r=r.concat(e(i,t)))}),r}var ja=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=E({token:e,factory:()=>new ds,providedIn:"root"});let n=e;return n})(),ds=class{parse(e){let r=new eg(e);return new Pi(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(e){let r=`/${Da(e.root,!0)}`,t=XR(e.queryParams),i=typeof e.fragment=="string"?`#${QR(e.fragment)}`:"";return`${r}${t}${i}`}},ZR=new ds;function Jd(n){return n.segments.map(e=>cx(e)).join("/")}function Da(n,e){if(!n.hasChildren())return Jd(n);if(e){let r=n.children[ve]?Da(n.children[ve],!1):"",t=[];return Object.entries(n.children).forEach(([i,o])=>{i!==ve&&t.push(`${i}:${Da(o,!1)}`)}),t.length>0?`${r}(${t.join("//")})`:r}else{let r=YR(n,(t,i)=>i===ve?[Da(n.children[ve],!1)]:[`${i}:${Da(t,!1)}`]);return Object.keys(n.children).length===1&&n.children[ve]!=null?`${Jd(n)}/${r[0]}`:`${Jd(n)}/(${r.join("//")})`}}function lx(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Qd(n){return lx(n).replace(/%3B/gi,";")}function QR(n){return encodeURI(n)}function Jm(n){return lx(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function eu(n){return decodeURIComponent(n)}function qC(n){return eu(n.replace(/\+/g,"%20"))}function cx(n){return`${Jm(n.path)}${KR(n.parameters)}`}function KR(n){return Object.entries(n).map(([e,r])=>`;${Jm(e)}=${Jm(r)}`).join("")}function XR(n){let e=Object.entries(n).map(([r,t])=>Array.isArray(t)?t.map(i=>`${Qd(r)}=${Qd(i)}`).join("&"):`${Qd(r)}=${Qd(t)}`).filter(r=>r);return e.length?`?${e.join("&")}`:""}var JR=/^[^\/()?;#]+/;function qm(n){let e=n.match(JR);return e?e[0]:""}var eN=/^[^\/()?;=#]+/;function tN(n){let e=n.match(eN);return e?e[0]:""}var nN=/^[^=?&#]+/;function iN(n){let e=n.match(nN);return e?e[0]:""}var rN=/^[^&#]+/;function oN(n){let e=n.match(rN);return e?e[0]:""}var eg=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[ve]=new Pe(e,r)),t}parseSegment(){let e=qm(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new S(4009,!1);return this.capture(e),new eo(eu(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let r=tN(this.remaining);if(!r)return;this.capture(r);let t="";if(this.consumeOptional("=")){let i=qm(this.remaining);i&&(t=i,this.capture(t))}e[eu(r)]=eu(t)}parseQueryParam(e){let r=iN(this.remaining);if(!r)return;this.capture(r);let t="";if(this.consumeOptional("=")){let s=oN(this.remaining);s&&(t=s,this.capture(t))}let i=qC(r),o=qC(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=qm(this.remaining),i=this.remaining[t.length];if(i!=="/"&&i!==")"&&i!==";")throw new S(4010,!1);let o;t.indexOf(":")>-1?(o=t.slice(0,t.indexOf(":")),this.capture(o),this.capture(":")):e&&(o=ve);let s=this.parseChildren();r[o]=Object.keys(s).length===1?s[ve]: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 S(4011,!1)}};function dx(n){return n.segments.length>0?new Pe([],{[ve]:n}):n}function ux(n){let e={};for(let[t,i]of Object.entries(n.children)){let o=ux(i);if(t===ve&&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 sN(r)}function sN(n){if(n.numberOfChildren===1&&n.children[ve]){let e=n.children[ve];return new Pe(n.segments.concat(e.segments),e.children)}return n}function no(n){return n instanceof Pi}function aN(n,e,r=null,t=null){let i=hx(n);return fx(i,e,r,t)}function hx(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=dx(t);return e??i}function fx(n,e,r,t){let i=n;for(;i.parent;)i=i.parent;if(e.length===0)return Ym(i,i,i,r,t);let o=lN(e);if(o.toRoot())return Ym(i,i,new Pe([],{}),r,t);let s=cN(o,i,n),a=s.processChildren?Ma(s.segmentGroup,s.index,o.commands):mx(s.segmentGroup,s.index,o.commands);return Ym(i,s.segmentGroup,a,r,t)}function tu(n){return typeof n=="object"&&n!=null&&!n.outlets&&!n.segmentPath}function Aa(n){return typeof n=="object"&&n!=null&&n.outlets}function Ym(n,e,r,t,i){let o={};t&&Object.entries(t).forEach(([l,c])=>{o[l]=Array.isArray(c)?c.map(d=>`${d}`):`${c}`});let s;n===e?s=r:s=px(n,e,r);let a=dx(ux(s));return new Pi(a,o,i)}function px(n,e,r){let t={};return Object.entries(n.children).forEach(([i,o])=>{o===e?t[i]=r:t[i]=px(o,e,r)}),new Pe(n.segments,t)}var nu=class{constructor(e,r,t){if(this.isAbsolute=e,this.numberOfDoubleDots=r,this.commands=t,e&&t.length>0&&tu(t[0]))throw new S(4003,!1);let i=t.find(Aa);if(i&&i!==ix(t))throw new S(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function lN(n){if(typeof n[0]=="string"&&n.length===1&&n[0]==="/")return new nu(!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 nu(r,e,t)}var ss=class{constructor(e,r,t){this.segmentGroup=e,this.processChildren=r,this.index=t}};function cN(n,e,r){if(n.isAbsolute)return new ss(e,!0,0);if(!r)return new ss(e,!1,NaN);if(r.parent===null)return new ss(r,!0,0);let t=tu(n.commands[0])?0:1,i=r.segments.length-1+t;return dN(r,i,n.numberOfDoubleDots)}function dN(n,e,r){let t=n,i=e,o=r;for(;o>i;){if(o-=i,t=t.parent,!t)throw new S(4005,!1);i=t.segments.length}return new ss(t,!1,i-o)}function uN(n){return Aa(n[0])?n[0].outlets:{[ve]:n}}function mx(n,e,r){if(n??=new Pe([],{}),n.segments.length===0&&n.hasChildren())return Ma(n,e,r);let t=hN(n,e,r),i=r.slice(t.commandIndex);if(t.match&&t.pathIndexo!==ve)&&n.children[ve]&&n.numberOfChildren===1&&n.children[ve].segments.length===0){let o=Ma(n.children[ve],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]=mx(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 hN(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(Aa(a))break;let l=`${a}`,c=t0&&l===void 0)break;if(l&&c&&typeof c=="object"&&c.outlets===void 0){if(!ZC(l,c,s))return o;t+=2}else{if(!ZC(l,{},s))return o;t++}i++}return{match:!0,pathIndex:i,commandIndex:t}}function tg(n,e,r){let t=n.segments.slice(0,e),i=0;for(;i{typeof t=="string"&&(t=[t]),t!==null&&(e[r]=tg(new Pe([],{}),0,t))}),e}function YC(n){let e={};return Object.entries(n).forEach(([r,t])=>e[r]=`${t}`),e}function ZC(n,e,r){return n==r.path&&ci(e,r.parameters)}var Sa="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||{}),gn=class{constructor(e,r){this.id=e,this.url=r}},us=class extends gn{constructor(e,r,t="imperative",i=null){super(e,r),this.type=gt.NavigationStart,this.navigationTrigger=t,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},di=class extends gn{constructor(e,r,t){super(e,r),this.urlAfterRedirects=t,this.type=gt.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},qt=function(n){return n[n.Redirect=0]="Redirect",n[n.SupersededByNewNavigation=1]="SupersededByNewNavigation",n[n.NoDataFromResolver=2]="NoDataFromResolver",n[n.GuardRejected=3]="GuardRejected",n}(qt||{}),iu=function(n){return n[n.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",n[n.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",n}(iu||{}),Ni=class extends gn{constructor(e,r,t,i){super(e,r),this.reason=t,this.code=i,this.type=gt.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},cr=class extends gn{constructor(e,r,t,i){super(e,r),this.reason=t,this.code=i,this.type=gt.NavigationSkipped}},ka=class extends gn{constructor(e,r,t,i){super(e,r),this.error=t,this.target=i,this.type=gt.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},ru=class extends gn{constructor(e,r,t,i){super(e,r),this.urlAfterRedirects=t,this.state=i,this.type=gt.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ng=class extends gn{constructor(e,r,t,i){super(e,r),this.urlAfterRedirects=t,this.state=i,this.type=gt.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ig=class extends gn{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: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},rg=class extends gn{constructor(e,r,t,i){super(e,r),this.urlAfterRedirects=t,this.state=i,this.type=gt.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},og=class extends gn{constructor(e,r,t,i){super(e,r),this.urlAfterRedirects=t,this.state=i,this.type=gt.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},sg=class{constructor(e){this.route=e,this.type=gt.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},ag=class{constructor(e){this.route=e,this.type=gt.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},lg=class{constructor(e){this.snapshot=e,this.type=gt.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},cg=class{constructor(e){this.snapshot=e,this.type=gt.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},dg=class{constructor(e){this.snapshot=e,this.type=gt.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},ug=class{constructor(e){this.snapshot=e,this.type=gt.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},ou=class{constructor(e,r,t){this.routerEvent=e,this.position=r,this.anchor=t,this.type=gt.Scroll}toString(){let e=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${e}')`}},Oa=class{},hs=class{constructor(e,r){this.url=e,this.navigationBehaviorOptions=r}};function pN(n,e){return n.providers&&!n._injector&&(n._injector=Id(n.providers,e,`Route: ${n.path}`)),n._injector??e}function Rn(n){return n.outlet||ve}function mN(n,e){let r=n.filter(t=>Rn(t)===e);return r.push(...n.filter(t=>Rn(t)!==e)),r}function Va(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 hg=class{get injector(){var e;return Va((e=this.route)==null?void 0:e.snapshot)??this.rootInjector}set injector(e){}constructor(e){this.rootInjector=e,this.outlet=null,this.route=null,this.children=new Ba(this.rootInjector),this.attachRef=null}},Ba=(()=>{let e=class e{constructor(t){this.rootInjector=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 hg(this.rootInjector),this.contexts.set(t,i)),i}getContext(t){return this.contexts.get(t)||null}};e.\u0275fac=function(i){return new(i||e)(b(yt))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),su=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=fg(e,this._root);return r?r.children.map(t=>t.value):[]}firstChild(e){let r=fg(e,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(e){let r=pg(e,this._root);return r.length<2?[]:r[r.length-2].children.map(i=>i.value).filter(i=>i!==e)}pathFromRoot(e){return pg(e,this._root).map(r=>r.value)}};function fg(n,e){if(n===e.value)return e;for(let r of e.children){let t=fg(n,r);if(t)return t}return null}function pg(n,e){if(n===e.value)return[e];for(let r of e.children){let t=pg(n,r);if(t.length)return t.unshift(e),t}return[]}var Gt=class{constructor(e,r){this.value=e,this.children=r}toString(){return`TreeNode(${this.value})`}};function os(n){let e={};return n&&n.children.forEach(r=>e[r.value.outlet]=r),e}var au=class extends su{constructor(e,r){super(e),this.snapshot=r,xg(this,e)}toString(){return this.snapshot.toString()}};function gx(n){let e=gN(n),r=new dt([new eo("",{})]),t=new dt({}),i=new dt({}),o=new dt({}),s=new dt(""),a=new Fi(r,t,o,s,i,ve,n,e.root);return a.snapshot=e.root,new au(new Gt(a,[]),e)}function gN(n){let e={},r={},t={},i="",o=new as([],e,t,i,r,ve,n,null,{});return new cu("",new Gt(o,[]))}var Fi=class{constructor(e,r,t,i,o,s,a,l){var c;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=((c=this.dataSubject)==null?void 0:c.pipe(X(d=>d[La])))??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(){return this._paramMap??=this.params.pipe(X(e=>cs(e))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(X(e=>cs(e))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function lu(n,e,r="emptyOnly"){var o;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:x(x({},e.params),n.params),data:x(x({},e.data),n.data),resolve:x(x(x(x({},n.data),e.data),i==null?void 0:i.data),n._resolvedData)}:t={params:x({},n.params),data:x({},n.data),resolve:x(x({},n.data),n._resolvedData??{})},i&&bx(i)&&(t.resolve[La]=i.title),t}var as=class{get title(){var e;return(e=this.data)==null?void 0:e[La]}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(){return this._paramMap??=cs(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=cs(this.queryParams),this._queryParamMap}toString(){let e=this.url.map(t=>t.toString()).join("/"),r=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${r}')`}},cu=class extends su{constructor(e,r){super(r),this.url=e,xg(this,r)}toString(){return vx(this._root)}};function xg(n,e){e.value._routerState=n,e.children.forEach(r=>xg(n,r))}function vx(n){let e=n.children.length>0?` { ${n.children.map(vx).join(", ")} } `:"";return`${n.value}${e}`}function Zm(n){if(n.snapshot){let e=n.snapshot,r=n._futureSnapshot;n.snapshot=r,ci(e.queryParams,r.queryParams)||n.queryParamsSubject.next(r.queryParams),e.fragment!==r.fragment&&n.fragmentSubject.next(r.fragment),ci(e.params,r.params)||n.paramsSubject.next(r.params),HR(e.url,r.url)||n.urlSubject.next(r.url),ci(e.data,r.data)||n.dataSubject.next(r.data)}else n.snapshot=n._futureSnapshot,n.dataSubject.next(n._futureSnapshot.data)}function mg(n,e){let r=ci(n.params,e.params)&&qR(n.url,e.url),t=!n.parent!=!e.parent;return r&&!t&&(!n.parent||mg(n.parent,e.parent))}function bx(n){return typeof n.title=="string"||n.title===null}var Dg=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=ve,this.activateEvents=new $,this.deactivateEvents=new $,this.attachEvents=new $,this.detachEvents=new $,this.parentContexts=y(Ba),this.location=y(at),this.changeDetector=y(Ne),this.inputBinder=y(pu,{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 S(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new S(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new S(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 S(4013,!1);this._activatedRoute=t;let o=this.location,a=t.snapshot.component,l=this.parentContexts.getOrCreateContext(this.name).children,c=new gg(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:[$e]});let n=e;return n})(),gg=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===Fi?this.route:e===Ba?this.childContexts:this.parent.get(e,r)}},pu=new D(""),QC=(()=>{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=Nr([i.queryParams,i.params,i.data]).pipe(nt(([s,a,l],c)=>(l=x(x(x({},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=rC(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=E({token:e,factory:e.\u0275fac});let n=e;return n})();function vN(n,e,r){let t=Ra(n,e._root,r?r._root:void 0);return new au(t,e)}function Ra(n,e,r){if(r&&n.shouldReuseRoute(e.value,r.value.snapshot)){let t=r.value;t._futureSnapshot=e.value;let i=bN(n,e,r);return new Gt(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=>Ra(n,a)),s}}let t=yN(e.value),i=e.children.map(o=>Ra(n,o));return new Gt(t,i)}}function bN(n,e,r){return e.children.map(t=>{for(let i of r.children)if(n.shouldReuseRoute(t.value,i.value.snapshot))return Ra(n,t,i);return Ra(n,t)})}function yN(n){return new Fi(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 Na=class{constructor(e,r){this.redirectTo=e,this.navigationBehaviorOptions=r}},yx="ngNavigationCancelingError";function du(n,e){let{redirectTo:r,navigationBehaviorOptions:t}=no(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,i=_x(!1,qt.Redirect);return i.url=r,i.navigationBehaviorOptions=t,i}function _x(n,e){let r=new Error(`NavigationCancelingError: ${n||""}`);return r[yx]=!0,r.cancellationCode=e,r}function _N(n){return wx(n)&&no(n.url)}function wx(n){return!!n&&n[yx]}var wN=(n,e,r,t)=>X(i=>(new vg(e,i.targetRouterState,i.currentRouterState,r,t).activate(n),i)),vg=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),Zm(this.futureState.root),this.activateChildRoutes(r,t,e)}deactivateChildRoutes(e,r,t){let i=os(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=os(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=os(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=os(r);e.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],t),this.forwardEvent(new ug(o.value.snapshot))}),e.children.length&&this.forwardEvent(new cg(e.value.snapshot))}activateRoutes(e,r,t){let i=e.value,o=r?r.value:null;if(Zm(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),Zm(a.route.value),this.activateChildRoutes(e,null,s.children)}else s.attachRef=null,s.route=i,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(e,null,s.children)}else this.activateChildRoutes(e,null,t)}},uu=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},ls=class{constructor(e,r){this.component=e,this.route=r}};function CN(n,e,r){let t=n._root,i=e?e._root:null;return Ea(t,i,r,[t.value])}function xN(n){let e=n.routeConfig?n.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:n,guards:e}}function ps(n,e){let r=Symbol(),t=e.get(n,r);return t===r?typeof n=="function"&&!n_(n)?n:e.get(n):t}function Ea(n,e,r,t,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=os(e);return n.children.forEach(s=>{DN(s,o[s.value.outlet],r,t.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>Ta(a,r.getContext(s),i)),i}function DN(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=EN(s,o,o.routeConfig.runGuardsAndResolvers);l?i.canActivateChecks.push(new uu(t)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?Ea(n,e,a?a.children:null,t,i):Ea(n,e,r,t,i),l&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new ls(a.outlet.component,s))}else s&&Ta(e,a,i),i.canActivateChecks.push(new uu(t)),o.component?Ea(n,null,a?a.children:null,t,i):Ea(n,null,r,t,i);return i}function EN(n,e,r){if(typeof r=="function")return r(n,e);switch(r){case"pathParamsChange":return!to(n.url,e.url);case"pathParamsOrQueryParamsChange":return!to(n.url,e.url)||!ci(n.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!mg(n,e)||!ci(n.queryParams,e.queryParams);case"paramsChange":default:return!mg(n,e)}}function Ta(n,e,r){let t=os(n),i=n.value;Object.entries(t).forEach(([o,s])=>{i.component?e?Ta(s,e.children.getContext(o),r):Ta(s,null,r):Ta(s,e,r)}),i.component?e&&e.outlet&&e.outlet.isActivated?r.canDeactivateChecks.push(new ls(e.outlet.component,i)):r.canDeactivateChecks.push(new ls(null,i)):r.canDeactivateChecks.push(new ls(null,i))}function Ua(n){return typeof n=="function"}function IN(n){return typeof n=="boolean"}function MN(n){return n&&Ua(n.canLoad)}function SN(n){return n&&Ua(n.canActivate)}function TN(n){return n&&Ua(n.canActivateChild)}function AN(n){return n&&Ua(n.canDeactivate)}function kN(n){return n&&Ua(n.canMatch)}function Cx(n){return n instanceof En||(n==null?void 0:n.name)==="EmptyError"}var Kd=Symbol("INITIAL_VALUE");function fs(){return nt(n=>Nr(n.map(e=>e.pipe(Ue(1),st(Kd)))).pipe(X(e=>{for(let r of e)if(r!==!0){if(r===Kd)return Kd;if(r===!1||ON(r))return r}return!0}),ce(e=>e!==Kd),Ue(1)))}function ON(n){return no(n)||n instanceof Na}function RN(n,e){return Ye(r=>{let{targetSnapshot:t,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=r;return s.length===0&&o.length===0?H(ue(x({},r),{guardsResult:!0})):NN(s,t,i,n).pipe(Ye(a=>a&&IN(a)?PN(t,o,n,e):H(a)),X(a=>ue(x({},r),{guardsResult:a})))})}function NN(n,e,r,t){return Le(n).pipe(Ye(i=>BN(i.component,i.route,r,e,t)),zn(i=>i!==!0,!0))}function PN(n,e,r,t){return Le(e).pipe(bi(i=>Bn(LN(i.route.parent,t),FN(i.route,t),VN(n,i.path,r),jN(n,i.route,r))),zn(i=>i!==!0,!0))}function FN(n,e){return n!==null&&e&&e(new dg(n)),H(!0)}function LN(n,e){return n!==null&&e&&e(new lg(n)),H(!0)}function jN(n,e,r){let t=e.routeConfig?e.routeConfig.canActivate:null;if(!t||t.length===0)return H(!0);let i=t.map(o=>Un(()=>{let s=Va(e)??r,a=ps(o,s),l=SN(a)?a.canActivate(e,n):sn(s,()=>a(e,n));return dr(l).pipe(zn())}));return H(i).pipe(fs())}function VN(n,e,r){let t=e[e.length-1],o=e.slice(0,e.length-1).reverse().map(s=>xN(s)).filter(s=>s!==null).map(s=>Un(()=>{let a=s.guards.map(l=>{let c=Va(s.node)??r,d=ps(l,c),u=TN(d)?d.canActivateChild(t,n):sn(c,()=>d(t,n));return dr(u).pipe(zn())});return H(a).pipe(fs())}));return H(o).pipe(fs())}function BN(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=>{let l=Va(e)??i,c=ps(a,l),d=AN(c)?c.canDeactivate(n,e,r,t):sn(l,()=>c(n,e,r,t));return dr(d).pipe(zn())});return H(s).pipe(fs())}function UN(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=ps(s,n),l=MN(a)?a.canLoad(e,r):sn(n,()=>a(e,r));return dr(l)});return H(o).pipe(fs(),xx(t))}function xx(n){return zh(et(e=>{if(typeof e!="boolean")throw du(n,e)}),X(e=>e===!0))}function zN(n,e,r,t){let i=e.canMatch;if(!i||i.length===0)return H(!0);let o=i.map(s=>{let a=ps(s,n),l=kN(a)?a.canMatch(e,r):sn(n,()=>a(e,r));return dr(l)});return H(o).pipe(fs(),xx(t))}var Pa=class{constructor(e){this.segmentGroup=e||null}},Fa=class extends Error{constructor(e){super(),this.urlTree=e}};function rs(n){return So(new Pa(n))}function HN(n){return So(new S(4e3,!1))}function $N(n){return So(_x(!1,qt.GuardRejected))}var bg=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[ve])return HN(`${e.redirectTo}`);i=i.children[ve]}}applyRedirectCommands(e,r,t,i,o){if(typeof r!="string"){let a=r,{queryParams:l,fragment:c,routeConfig:d,url:u,outlet:f,params:p,data:g,title:w}=i,M=sn(o,()=>a({params:p,data:g,queryParams:l,fragment:c,routeConfig:d,url:u,outlet:f,title:w}));if(M instanceof Pi)throw new Fa(M);r=M}let s=this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),e,t);if(r[0]==="/")throw new Fa(s);return s}applyRedirectCreateUrlTree(e,r,t,i){let o=this.createSegmentGroup(e,r.root,t,i);return new Pi(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 S(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}},yg={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function WN(n,e,r,t,i){let o=Dx(n,e,r);return o.matched?(t=pN(e,t),zN(t,e,r,i).pipe(X(s=>s===!0?o:x({},yg)))):H(o)}function Dx(n,e,r){if(e.path==="**")return GN(r);if(e.path==="")return e.pathMatch==="full"&&(n.hasChildren()||r.length>0)?x({},yg):{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};let i=(e.matcher||zR)(r,n,e);if(!i)return x({},yg);let o={};Object.entries(i.posParams??{}).forEach(([a,l])=>{o[a]=l.path});let s=i.consumed.length>0?x(x({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:r.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function GN(n){return{matched:!0,parameters:n.length>0?ix(n).parameters:{},consumedSegments:n,remainingSegments:[],positionalParamSegments:{}}}function KC(n,e,r,t){return r.length>0&&ZN(n,r,t)?{segmentGroup:new Pe(e,YN(t,new Pe(r,n.children))),slicedSegments:[]}:r.length===0&&QN(n,r,t)?{segmentGroup:new Pe(n.segments,qN(n,r,t,n.children)),slicedSegments:r}:{segmentGroup:new Pe(n.segments,n.children),slicedSegments:r}}function qN(n,e,r,t){let i={};for(let o of r)if(mu(n,e,o)&&!t[Rn(o)]){let s=new Pe([],{});i[Rn(o)]=s}return x(x({},t),i)}function YN(n,e){let r={};r[ve]=e;for(let t of n)if(t.path===""&&Rn(t)!==ve){let i=new Pe([],{});r[Rn(t)]=i}return r}function ZN(n,e,r){return r.some(t=>mu(n,e,t)&&Rn(t)!==ve)}function QN(n,e,r){return r.some(t=>mu(n,e,t))}function mu(n,e,r){return(n.hasChildren()||e.length>0)&&r.pathMatch==="full"?!1:r.path===""}function KN(n,e,r){return e.length===0&&!n.children[r]}var _g=class{};function XN(n,e,r,t,i,o,s="emptyOnly"){return new wg(n,e,r,t,i,s,o).recognize()}var JN=31,wg=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 bg(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new S(4002,`'${e.segmentGroup}'`)}recognize(){let e=KC(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(X(({children:r,rootSnapshot:t})=>{let i=new Gt(t,r),o=new cu("",i),s=aN(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 as([],Object.freeze({}),Object.freeze(x({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),ve,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,e,ve,r).pipe(X(t=>({children:t,rootSnapshot:r})),Wi(t=>{if(t instanceof Fa)return this.urlTree=t.urlTree,this.match(t.urlTree.root);throw t instanceof Pa?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(X(s=>s instanceof Gt?[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 Le(o).pipe(bi(s=>{let a=t.children[s],l=mN(r,s);return this.processSegmentGroup(e,l,a,s,i)}),ef((s,a)=>(s.push(...a),s)),Gi(null),Jh(),Ye(s=>{if(s===null)return rs(t);let a=Ex(s);return eP(a),H(a)}))}processSegment(e,r,t,i,o,s,a){return Le(r).pipe(bi(l=>this.processSegmentAgainstRoute(l._injector??e,r,l,t,i,o,s,a).pipe(Wi(c=>{if(c instanceof Pa)return H(null);throw c}))),zn(l=>!!l),Wi(l=>{if(Cx(l))return KN(t,i,o)?H(new _g):rs(t);throw l}))}processSegmentAgainstRoute(e,r,t,i,o,s,a,l){return Rn(t)!==s&&(s===ve||!mu(i,o,t))?rs(i):t.redirectTo===void 0?this.matchSegmentAgainstRoute(e,i,t,o,s,l):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(e,i,r,t,o,s,l):rs(i)}expandSegmentAgainstRouteUsingRedirect(e,r,t,i,o,s,a){let{matched:l,parameters:c,consumedSegments:d,positionalParamSegments:u,remainingSegments:f}=Dx(r,i,o);if(!l)return rs(r);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>JN&&(this.allowRedirects=!1));let p=new as(o,c,Object.freeze(x({},this.urlTree.queryParams)),this.urlTree.fragment,XC(i),Rn(i),i.component??i._loadedComponent??null,i,JC(i)),g=lu(p,a,this.paramsInheritanceStrategy);p.params=Object.freeze(g.params),p.data=Object.freeze(g.data);let w=this.applyRedirects.applyRedirectCommands(d,i.redirectTo,u,p,e);return this.applyRedirects.lineralizeSegments(i,w).pipe(Ye(M=>this.processSegment(e,t,r,M.concat(f),s,!1,a)))}matchSegmentAgainstRoute(e,r,t,i,o,s){let a=WN(r,t,i,e,this.urlSerializer);return t.path==="**"&&(r.children={}),a.pipe(nt(l=>l.matched?(e=t._injector??e,this.getChildConfig(e,t,i).pipe(nt(({routes:c})=>{let d=t._loadedInjector??e,{parameters:u,consumedSegments:f,remainingSegments:p}=l,g=new as(f,u,Object.freeze(x({},this.urlTree.queryParams)),this.urlTree.fragment,XC(t),Rn(t),t.component??t._loadedComponent??null,t,JC(t)),w=lu(g,s,this.paramsInheritanceStrategy);g.params=Object.freeze(w.params),g.data=Object.freeze(w.data);let{segmentGroup:M,slicedSegments:T}=KC(r,f,p,c);if(T.length===0&&M.hasChildren())return this.processChildren(d,c,M,g).pipe(X(Z=>new Gt(g,Z)));if(c.length===0&&T.length===0)return H(new Gt(g,[]));let Y=Rn(t)===o;return this.processSegment(d,c,M,T,Y?ve:o,!0,g).pipe(X(Z=>new Gt(g,Z instanceof Gt?[Z]:[])))}))):rs(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}):UN(e,r,t,this.urlSerializer).pipe(Ye(i=>i?this.configLoader.loadChildren(e,r).pipe(et(o=>{r._loadedRoutes=o.routes,r._loadedInjector=o.injector})):$N(r))):H({routes:[],injector:e})}};function eP(n){n.sort((e,r)=>e.value.outlet===ve?-1:r.value.outlet===ve?1:e.value.outlet.localeCompare(r.value.outlet))}function tP(n){let e=n.value.routeConfig;return e&&e.path===""}function Ex(n){let e=[],r=new Set;for(let t of n){if(!tP(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=Ex(t.children);e.push(new Gt(t.value,i))}return e.filter(t=>!r.has(t))}function XC(n){return n.data||{}}function JC(n){return n.resolve||{}}function nP(n,e,r,t,i,o){return Ye(s=>XN(n,e,r,t,s.extractedUrl,i,o).pipe(X(({state:a,tree:l})=>ue(x({},s),{targetSnapshot:a,urlAfterRedirects:l}))))}function iP(n,e){return Ye(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 Ix(l))s.add(c);let a=0;return Le(s).pipe(bi(l=>o.has(l)?rP(l,t,n,e):(l.data=lu(l,l.parent,n).resolve,H(void 0))),et(()=>a++),Oo(1),Ye(l=>a===s.size?H(r):ut))})}function Ix(n){let e=n.children.map(r=>Ix(r)).flat();return[n,...e]}function rP(n,e,r,t){let i=n.routeConfig,o=n._resolve;return(i==null?void 0:i.title)!==void 0&&!bx(i)&&(o[La]=i.title),oP(o,n,e,t).pipe(X(s=>(n._resolvedData=s,n.data=lu(n,n.parent,r).resolve,null)))}function oP(n,e,r,t){let i=Xm(n);if(i.length===0)return H({});let o={};return Le(i).pipe(Ye(s=>sP(n[s],e,r,t).pipe(zn(),et(a=>{if(a instanceof Na)throw du(new ds,a);o[s]=a}))),Oo(1),Ws(o),Wi(s=>Cx(s)?ut:So(s)))}function sP(n,e,r,t){let i=Va(e)??t,o=ps(n,i),s=o.resolve?o.resolve(e,r):sn(i,()=>o(e,r));return dr(s)}function Qm(n){return nt(e=>{let r=n(e);return r?Le(r).pipe(X(()=>e)):H(e)})}var Mx=(()=>{let e=class e{buildTitle(t){let i,o=t.root;for(;o!==void 0;)i=this.getResolvedTitleForRoute(o)??i,o=o.children.find(s=>s.outlet===ve);return i}getResolvedTitleForRoute(t){return t.data[La]}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=E({token:e,factory:()=>y(aP),providedIn:"root"});let n=e;return n})(),aP=(()=>{let e=class e extends Mx{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)(b(VC))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),za=new D("",{providedIn:"root",factory:()=>({})}),lP=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=j({type:e,selectors:[["ng-component"]],standalone:!0,features:[Ae],decls:1,vars:0,template:function(i,o){i&1&&O(0,"router-outlet")},dependencies:[Dg],encapsulation:2});let n=e;return n})();function Eg(n){let e=n.children&&n.children.map(Eg),r=e?ue(x({},n),{children:e}):x({},n);return!r.component&&!r.loadComponent&&(e||r.loadChildren)&&r.outlet&&r.outlet!==ve&&(r.component=lP),r}var hu=new D(""),Ig=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=y(Rd)}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=dr(t.loadComponent()).pipe(X(Sx),et(s=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=s}),Yi(()=>{this.componentLoaders.delete(t)})),o=new Or(i,()=>new A).pipe(xo());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=cP(i,this.compiler,t,this.onLoadEndListener).pipe(Yi(()=>{this.childrenLoaders.delete(i)})),a=new Or(s,()=>new A).pipe(xo());return this.childrenLoaders.set(i,a),a}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();function cP(n,e,r,t){return dr(n.loadChildren()).pipe(X(Sx),Ye(i=>i instanceof ta||Array.isArray(i)?H(i):Le(e.compileModuleAsync(i))),X(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(hu,[],{optional:!0,self:!0}).flat()),{routes:s.map(Eg),injector:o}}))}function dP(n){return n&&typeof n=="object"&&"default"in n}function Sx(n){return dP(n)?n.default:n}var Mg=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=E({token:e,factory:()=>y(uP),providedIn:"root"});let n=e;return n})(),uP=(()=>{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=E({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),Tx=new D(""),Ax=new D("");function hP(n,e,r){let t=n.get(Ax),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(),fP(n))),{onViewTransitionCreated:l}=t;return l&&sn(n,()=>l({transition:a,from:e,to:r})),s})}function fP(n){return new Promise(e=>{$t({read:()=>setTimeout(e)},{injector:n})})}var pP=new D(""),Sg=(()=>{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(Ig),this.environmentInjector=y(yt),this.urlSerializer=y(ja),this.rootContexts=y(Ba),this.location=y(si),this.inputBindingEnabled=y(pu,{optional:!0})!==null,this.titleStrategy=y(Mx),this.options=y(za,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=y(Mg),this.createViewTransition=y(Tx,{optional:!0}),this.navigationErrorHandler=y(pP,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>H(void 0),this.rootComponentType=null;let t=o=>this.events.next(new sg(o)),i=o=>this.events.next(new ag(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(ue(x(x({},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:Sa,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(ce(s=>s.id!==0),X(s=>ue(x({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),nt(s=>{let a=!1,l=!1;return H(s).pipe(nt(c=>{if(this.navigationId>s.id)return this.cancelNavigationTransition(s,"",qt.SupersededByNewNavigation),ut;this.currentTransition=s,this.currentNavigation={id:c.id,initialUrl:c.rawUrl,extractedUrl:c.extractedUrl,targetBrowserUrl:typeof c.extras.browserUrl=="string"?this.urlSerializer.parse(c.extras.browserUrl):c.extras.browserUrl,trigger:c.source,extras:c.extras,previousNavigation:this.lastSuccessfulNavigation?ue(x({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let d=!t.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),u=c.extras.onSameUrlNavigation??t.onSameUrlNavigation;if(!d&&u!=="reload"){let f="";return this.events.next(new cr(c.id,this.urlSerializer.serialize(c.rawUrl),f,iu.IgnoredSameUrlNavigation)),c.resolve(!1),ut}if(this.urlHandlingStrategy.shouldProcessUrl(c.rawUrl))return H(c).pipe(nt(f=>{var g,w;let p=(g=this.transitions)==null?void 0:g.getValue();return this.events.next(new us(f.id,this.urlSerializer.serialize(f.extractedUrl),f.source,f.restoredState)),p!==((w=this.transitions)==null?void 0:w.getValue())?ut:Promise.resolve(f)}),nP(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,this.paramsInheritanceStrategy),et(f=>{s.targetSnapshot=f.targetSnapshot,s.urlAfterRedirects=f.urlAfterRedirects,this.currentNavigation=ue(x({},this.currentNavigation),{finalUrl:f.urlAfterRedirects});let p=new ru(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot);this.events.next(p)}));if(d&&this.urlHandlingStrategy.shouldProcessUrl(c.currentRawUrl)){let{id:f,extractedUrl:p,source:g,restoredState:w,extras:M}=c,T=new us(f,this.urlSerializer.serialize(p),g,w);this.events.next(T);let Y=gx(this.rootComponentType).snapshot;return this.currentTransition=s=ue(x({},c),{targetSnapshot:Y,urlAfterRedirects:p,extras:ue(x({},M),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=p,H(s)}else{let f="";return this.events.next(new cr(c.id,this.urlSerializer.serialize(c.extractedUrl),f,iu.IgnoredByUrlHandlingStrategy)),c.resolve(!1),ut}}),et(c=>{let d=new ng(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(d)}),X(c=>(this.currentTransition=s=ue(x({},c),{guards:CN(c.targetSnapshot,c.currentSnapshot,this.rootContexts)}),s)),RN(this.environmentInjector,c=>this.events.next(c)),et(c=>{if(s.guardsResult=c.guardsResult,c.guardsResult&&typeof c.guardsResult!="boolean")throw du(this.urlSerializer,c.guardsResult);let d=new ig(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot,!!c.guardsResult);this.events.next(d)}),ce(c=>c.guardsResult?!0:(this.cancelNavigationTransition(c,"",qt.GuardRejected),!1)),Qm(c=>{if(c.guards.canActivateChecks.length)return H(c).pipe(et(d=>{let u=new rg(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(u)}),nt(d=>{let u=!1;return H(d).pipe(iP(this.paramsInheritanceStrategy,this.environmentInjector),et({next:()=>u=!0,complete:()=>{u||this.cancelNavigationTransition(d,"",qt.NoDataFromResolver)}}))}),et(d=>{let u=new og(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(u)}))}),Qm(c=>{let d=u=>{var p;let f=[];(p=u.routeConfig)!=null&&p.loadComponent&&!u.routeConfig._loadedComponent&&f.push(this.configLoader.loadComponent(u.routeConfig).pipe(et(g=>{u.component=g}),X(()=>{})));for(let g of u.children)f.push(...d(g));return f};return Nr(d(c.targetSnapshot.root)).pipe(Gi(null),Ue(1))}),Qm(()=>this.afterPreactivation()),nt(()=>{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?Le(u).pipe(X(()=>s)):H(s)}),X(c=>{let d=vN(t.routeReuseStrategy,c.targetSnapshot,c.currentRouterState);return this.currentTransition=s=ue(x({},c),{targetRouterState:d}),this.currentNavigation.targetRouterState=d,s}),et(()=>{this.events.next(new Oa)}),wN(this.rootContexts,t.routeReuseStrategy,c=>this.events.next(c),this.inputBindingEnabled),Ue(1),et({next:c=>{var d;a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new di(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}}),xe(this.transitionAbortSubject.pipe(et(c=>{throw c}))),Yi(()=>{var c;!a&&!l&&this.cancelNavigationTransition(s,"",qt.SupersededByNewNavigation),((c=this.currentTransition)==null?void 0:c.id)===s.id&&(this.currentNavigation=null,this.currentTransition=null)}),Wi(c=>{if(l=!0,wx(c))this.events.next(new Ni(s.id,this.urlSerializer.serialize(s.extractedUrl),c.message,c.cancellationCode)),_N(c)?this.events.next(new hs(c.url,c.navigationBehaviorOptions)):s.resolve(!1);else{let d=new ka(s.id,this.urlSerializer.serialize(s.extractedUrl),c,s.targetSnapshot??void 0);try{let u=sn(this.environmentInjector,()=>{var f;return(f=this.navigationErrorHandler)==null?void 0:f.call(this,d)});if(u instanceof Na){let{message:f,cancellationCode:p}=du(this.urlSerializer,u);this.events.next(new Ni(s.id,this.urlSerializer.serialize(s.extractedUrl),f,p)),this.events.next(new hs(u.redirectTo,u.navigationBehaviorOptions))}else{this.events.next(d);let f=t.errorHandler(c);s.resolve(!!f)}}catch(u){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(u)}}return ut}))}))}cancelNavigationTransition(t,i,o){let s=new Ni(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 o,s,a;let t=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),i=((o=this.currentNavigation)==null?void 0:o.targetBrowserUrl)??((s=this.currentNavigation)==null?void 0:s.extractedUrl);return t.toString()!==(i==null?void 0:i.toString())&&!((a=this.currentNavigation)!=null&&a.extras.skipLocationChange)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();function mP(n){return n!==Sa}var gP=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=E({token:e,factory:()=>y(vP),providedIn:"root"});let n=e;return n})(),Cg=class{shouldDetach(e){return!1}store(e,r){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,r){return e.routeConfig===r.routeConfig}},vP=(()=>{let e=class e extends Cg{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=ln(e)))(o||e)}})(),e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),kx=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=E({token:e,factory:()=>y(bP),providedIn:"root"});let n=e;return n})(),bP=(()=>{let e=class e extends kx{constructor(){super(...arguments),this.location=y(si),this.urlSerializer=y(ja),this.options=y(za,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=y(Mg),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Pi,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=gx(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){var t;return this.canceledNavigationResolution!=="computed"?this.currentPageId:((t=this.restoredState())==null?void 0:t.\u0275routerPageId)??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 us)this.stateMemento=this.createStateMemento();else if(t instanceof cr)this.rawUrlTree=i.initialUrl;else if(t instanceof ru){if(this.urlUpdateStrategy==="eager"&&!i.extras.skipLocationChange){let o=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl);this.setBrowserUrl(i.targetBrowserUrl??o,i)}}else t instanceof Oa?(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(i.targetBrowserUrl??this.rawUrlTree,i)):t instanceof Ni&&(t.code===qt.GuardRejected||t.code===qt.NoDataFromResolver)?this.restoreHistory(i):t instanceof ka?this.restoreHistory(i,!0):t instanceof di&&(this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId)}setBrowserUrl(t,i){let o=t instanceof Pi?this.urlSerializer.serialize(t):t;if(this.location.isCurrentPathEqualTo(o)||i.extras.replaceUrl){let s=this.browserPageId,a=x(x({},i.extras.state),this.generateNgRouterState(i.id,s));this.location.replaceState(o,"",a)}else{let s=x(x({},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){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.finalUrl??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=ln(e)))(o||e)}})(),e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),Ia=function(n){return n[n.COMPLETE=0]="COMPLETE",n[n.FAILED=1]="FAILED",n[n.REDIRECTING=2]="REDIRECTING",n}(Ia||{});function Ox(n,e){n.events.pipe(ce(r=>r instanceof di||r instanceof Ni||r instanceof ka||r instanceof cr),X(r=>r instanceof di||r instanceof cr?Ia.COMPLETE:(r instanceof Ni?r.code===qt.Redirect||r.code===qt.SupersededByNewNavigation:!1)?Ia.REDIRECTING:Ia.FAILED),ce(r=>r!==Ia.REDIRECTING),Ue(1)).subscribe(()=>{e()})}function yP(n){throw n}var _P={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},wP={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},ui=(()=>{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;this.disposed=!1,this.console=y(Sd),this.stateManager=y(kx),this.options=y(za,{optional:!0})||{},this.pendingTasks=y(Jn),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=y(Sg),this.urlSerializer=y(ja),this.location=y(si),this.urlHandlingStrategy=y(Mg),this._events=new A,this.errorHandler=this.options.errorHandler||yP,this.navigated=!1,this.routeReuseStrategy=y(gP),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=((t=y(hu,{optional:!0}))==null?void 0:t.flat())??[],this.componentInputBindingEnabled=!!y(pu,{optional:!0}),this.eventsSubscription=new me,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:i=>{this.console.warn(i)}}),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 Ni&&i.code!==qt.Redirect&&i.code!==qt.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof di)this.navigated=!0;else if(i instanceof hs){let a=i.navigationBehaviorOptions,l=this.urlHandlingStrategy.merge(i.url,o.currentRawUrl),c=x({browserUrl:o.extras.browserUrl,info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||mP(o.source)},a);this.scheduleNavigation(l,Sa,null,c,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}xP(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),Sa,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((t,i)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(t,"popstate",i)},0)})}navigateToSyncWithBrowser(t,i,o){let s={replaceUrl:!0},a=o!=null&&o.navigationId?o:null;if(o){let c=x({},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(Eg),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??this.options.defaultQueryParamsHandling){case"merge":u=x(x({},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 p=o?o.snapshot:this.routerState.snapshot.root;f=hx(p)}catch{(typeof t[0]!="string"||t[0][0]!=="/")&&(t=[]),f=this.currentUrlTree.root}return fx(f,t,u,d??null)}navigateByUrl(t,i={skipLocationChange:!1}){let o=no(t)?t:this.parseUrl(t),s=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(s,Sa,null,i)}navigate(t,i={skipLocationChange:!1}){return CP(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=x({},_P):i===!1?o=x({},wP):o=i,no(t))return GC(this.currentUrlTree,t,o);let s=this.parseUrl(t);return GC(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,p)=>{l=f,c=p});let u=this.pendingTasks.add();return Ox(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=E({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();function CP(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.onChanges=new A,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1,this.routerLinkInput=null;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 di&&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.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(no(t)?this.routerLinkInput=t:this.routerLinkInput=Array.isArray(t)?t:[t],this.setTabIndexIfNotOnNativeEl("0"))}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:k0(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.routerLinkInput===null?null:no(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{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(ui),h(Fi),Xn("tabindex"),h(or),h(P),h(ki))},e.\u0275dir=N({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(i,o){i&1&&U("click",function(a){return o.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),i&2&&we("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",ne],skipLocationChange:[2,"skipLocationChange","skipLocationChange",ne],replaceUrl:[2,"replaceUrl","replaceUrl",ne],routerLink:"routerLink"},standalone:!0,features:[Fe,$e]});let n=e;return n})();var fu=class{};var DP=(()=>{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(ce(t=>t instanceof di),bi(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,i){let o=[];for(let s of i){s.providers&&!s._injector&&(s._injector=Id(s.providers,t,`Route: ${s.path}`));let a=s._injector??t,l=s._loadedInjector??a;(s.loadChildren&&!s._loadedRoutes&&s.canLoad===void 0||s.loadComponent&&!s._loadedComponent)&&o.push(this.preloadConfig(a,s)),(s.children||s._loadedRoutes)&&o.push(this.processRoutes(l,s.children??s._loadedRoutes))}return Le(o).pipe($i())}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(Ye(a=>a===null?H(void 0):(i._loadedRoutes=a.routes,i._loadedInjector=a.injector,this.processRoutes(a.injector??t,a.routes))));if(i.loadComponent&&!i._loadedComponent){let a=this.loader.loadComponent(i);return Le([s,a]).pipe($i())}else return s})}};e.\u0275fac=function(i){return new(i||e)(b(ui),b(Rd),b(yt),b(fu),b(Ig))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),Rx=new D(""),EP=(()=>{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={},a.scrollPositionRestoration||="disabled",a.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof us?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof di?(this.lastId=t.id,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.urlAfterRedirects).fragment)):t instanceof cr&&t.code===iu.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 ou&&(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(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new ou(t,this.lastSource==="popstate"?this.store[this.restoredId]:null,i))})},0)})}ngOnDestroy(){var t,i;(t=this.routerEventsSubscription)==null||t.unsubscribe(),(i=this.scrollEventsSubscription)==null||i.unsubscribe()}};e.\u0275fac=function(i){la()},e.\u0275prov=E({token:e,factory:e.\u0275fac});let n=e;return n})();function IP(n){return n.routerState.root}function Ha(n,e){return{\u0275kind:n,\u0275providers:e}}function MP(){let n=y(_e);return e=>{var o,s;let r=n.get(hn);if(e!==r.components[0])return;let t=n.get(ui),i=n.get(Nx);n.get(Tg)===1&&t.initialNavigation(),(o=n.get(Px,null,be.Optional))==null||o.setUpPreloading(),(s=n.get(Rx,null,be.Optional))==null||s.init(),t.resetRootComponentType(r.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var Nx=new D("",{factory:()=>new A}),Tg=new D("",{providedIn:"root",factory:()=>1});function SP(){return Ha(2,[{provide:Tg,useValue:0},{provide:kd,multi:!0,deps:[_e],useFactory:e=>{let r=e.get(hC,Promise.resolve());return()=>r.then(()=>new Promise(t=>{let i=e.get(ui),o=e.get(Nx);Ox(i,()=>{t(!0)}),e.get(Sg).afterPreactivation=()=>(t(!0),o.closed?H(void 0):o),i.initialNavigation()}))}}])}function TP(){return Ha(3,[{provide:kd,multi:!0,useFactory:()=>{let e=y(ui);return()=>{e.setUpLocationChangeListener()}}},{provide:Tg,useValue:2}])}var Px=new D("");function AP(n){return Ha(0,[{provide:Px,useExisting:DP},{provide:fu,useExisting:n}])}function kP(){return Ha(8,[QC,{provide:pu,useExisting:QC}])}function OP(n){let e=[{provide:Tx,useValue:hP},{provide:Ax,useValue:x({skipNextTransition:!!(n!=null&&n.skipInitialTransition)},n)}];return Ha(9,e)}var ex=new D("ROUTER_FORROOT_GUARD"),RP=[si,{provide:ja,useClass:ds},ui,Ba,{provide:Fi,useFactory:IP,deps:[ui]},Ig,[]],Ag=(()=>{let e=class e{constructor(t){}static forRoot(t,i){return{ngModule:e,providers:[RP,[],{provide:hu,multi:!0,useValue:t},{provide:ex,useFactory:LP,deps:[[ui,new td,new _p]]},{provide:za,useValue:i||{}},i!=null&&i.useHash?PP():FP(),NP(),i!=null&&i.preloadingStrategy?AP(i.preloadingStrategy).\u0275providers:[],i!=null&&i.initialNavigation?jP(i):[],i!=null&&i.bindToComponentInputs?kP().\u0275providers:[],i!=null&&i.enableViewTransitions?OP().\u0275providers:[],VP()]}}static forChild(t){return{ngModule:e,providers:[{provide:hu,multi:!0,useValue:t}]}}};e.\u0275fac=function(i){return new(i||e)(b(ex,8))},e.\u0275mod=V({type:e}),e.\u0275inj=L({});let n=e;return n})();function NP(){return{provide:Rx,useFactory:()=>{let n=y(gC),e=y(k),r=y(za),t=y(Sg),i=y(ja);return r.scrollOffset&&n.setOffset(r.scrollOffset),new EP(i,t,n,e,r)}}}function PP(){return{provide:ki,useClass:pC}}function FP(){return{provide:ki,useClass:Dm}}function LP(n){return"guarded"}function jP(n){return[n.initialNavigation==="disabled"?TP().\u0275providers:[],n.initialNavigation==="enabledBlocking"?SP().\u0275providers:[]]}var tx=new D("");function VP(){return[{provide:tx,useFactory:MP},{provide:Od,multi:!0,useExisting:tx}]}var gu=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 Fx;var Bt=(n,e)=>{let r;if(n instanceof Promise)r=n;else if(n instanceof Wa)r=n;else{if(e)return ec(n.pipe(Zh(e)));r=ec(n)}return r},Wa=class{constructor(){this[Fx]="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)}};Fx=Symbol.toStringTag;var Lx=(()=>{let e=class e{constructor(t){this.api=t,this.delay=t.config.launcher_wait_time}launchURL(t){return Oe(this,null,function*(){t.substring(0,7)==="udsa://"?yield this.processUDSUrl(t):yield this.processExternalUrl(t)})}showAlert(t,i,o){return Oe(this,null,function*(){return this.api.gui.alert(django.gettext("Launching service"),'

'+t+'

'+i+"

",o)})}launchUDSUrl(t){this.api.download(t)}processUDSUrl(t){return Oe(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;Bt(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 Oe(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;Bt(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.error&&(i.close(),yield this.notifyError(s.error),o=!0)}yield this.api.sleep(1e3)}catch(s){i.close(),yield this.notifyError(s)}})}processCredentials(t){return Oe(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 Oe(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 vu={production:!0};var BP=new D("cdk-dir-doc",{providedIn:"root",factory:UP});function UP(){return y(W)}var zP=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function HP(n){let e=(n==null?void 0:n.toLowerCase())||"";return e==="auto"&&typeof navigator<"u"&&(navigator!=null&&navigator.language)?zP.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=HP(i||o||"ltr")}}ngOnDestroy(){this.change.complete()}};e.\u0275fac=function(i){return new(i||e)(b(BP,8))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();var ur=(()=>{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 bu=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??this._selection;for(let t of r)if(this.compareWith(e,t))return t;return e}else return e}};var yu=(()=>{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=E({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();var $P=20,vs=(()=>{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=$P){return this._platform.isBrowser?new ae(i=>{this._globalSubscription||this._addGlobalListener();let o=t>0?this._scrolled.pipe(rc(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(ce(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=pn(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 vi(t.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}};e.\u0275fac=function(i){return new(i||e)(b(k),b(ye),b(W,8))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),kg=(()=>{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 ae(a=>this.ngZone.runOutsideAngular(()=>vi(this.elementRef.nativeElement,"scroll").pipe(xe(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&&is()!=kn.NORMAL?(t.left!=null&&(t.right=i.scrollWidth-i.clientWidth-t.left),is()==kn.INVERTED?t.left=t.right:is()==kn.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;Zd()?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&&is()==kn.INVERTED?t==i?s.scrollWidth-s.clientWidth-s.scrollLeft:s.scrollLeft:a&&is()==kn.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(vs),h(k),h(St,8))},e.\u0275dir=N({type:e,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0});let n=e;return n})(),WP=20,bs=(()=>{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=WP){return t>0?this._change.pipe(rc(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)(b(ye),b(k),b(W,8))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();var hr=(()=>{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})(),Og=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({imports:[ur,hr,ur,hr]});let n=e;return n})();var Ga=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}},fr=class extends Ga{constructor(e,r,t,i,o){super(),this.component=e,this.viewContainerRef=r,this.injector=t,this.componentFactoryResolver=i,this.projectableNodes=o}},Nn=class extends Ga{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()}},Ng=class extends Ga{constructor(e){super(),this.element=e instanceof P?e.nativeElement:e}},ys=class{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(e){if(e instanceof fr)return this._attachedPortal=e,this.attachComponentPortal(e);if(e instanceof Nn)return this._attachedPortal=e,this.attachTemplatePortal(e);if(this.attachDomPortal&&e instanceof Ng)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 qa=class extends ys{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||_e.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 io=(()=>{let e=class e extends ys{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(Tn),h(at),h(W))},e.\u0275dir=N({type:e,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],standalone:!0,features:[Ve]});let n=e;return n})();var Li=(()=>{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 ft(n,...e){return e.length?e.some(r=>n[r]):n.altKey||n.shiftKey||n.ctrlKey||n.metaKey}var Vx=Zd(),Pg=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=it(-this._previousScrollPosition.left),e.style.top=it(-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"),Vx&&(t.scrollBehavior=i.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Vx&&(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 Fg=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(ce(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}},_u=class{enable(){}disable(){}attach(){}};function Lg(n,e){return e.some(r=>{let t=n.bottomr.bottom,o=n.rightr.right;return t||i||o||s})}function Bx(n,e){return e.some(r=>{let t=n.topr.bottom,o=n.leftr.right;return t||i||o||s})}var jg=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();Lg(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}},GP=(()=>{let e=class e{constructor(t,i,o,s){this._scrollDispatcher=t,this._viewportRuler=i,this._ngZone=o,this.noop=()=>new _u,this.close=a=>new Fg(this._scrollDispatcher,this._ngZone,this._viewportRuler,a),this.block=()=>new Pg(this._viewportRuler,this._document),this.reposition=a=>new jg(this._scrollDispatcher,this._viewportRuler,this._ngZone,a),this._document=s}};e.\u0275fac=function(i){return new(i||e)(b(vs),b(bs),b(k),b(W))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),pr=class{constructor(e){if(this.scrollStrategy=new _u,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 Vg=class{constructor(e,r){this.connectionPair=e,this.scrollableViewProperties=r}};var Gx=(()=>{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)(b(W))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),qP=(()=>{let e=class e extends Gx{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)(b(W),b(k,8))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),YP=(()=>{let e=class e extends Gx{constructor(t,i,o){super(t),this._platform=i,this._ngZone=o,this._cursorStyleIsSet=!1,this._pointerDownListener=s=>{this._pointerDownEventTarget=Wt(s)},this._clickListener=s=>{let a=Wt(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(Ux(u.overlayElement,a)||Ux(u.overlayElement,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)(b(W),b(ye),b(k,8))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();function Ux(n,e){let r=typeof ShadowRoot<"u"&&ShadowRoot,t=e;for(;t;){if(t===n)return!0;t=r&&t instanceof ShadowRoot?t.host:t.parentNode}return!1}var _s=(()=>{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||xa()){let o=this._document.querySelectorAll(`.${t}[platform="server"], .${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=fn(()=>ca(()=>{this._renders.next()},{injector:this._injector}))}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(e){var t;!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(),(t=this._afterNextRenderRef)==null||t.destroy(),this._afterNextRenderRef=$t(()=>{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,t;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(),(t=this._afterNextRenderRef)==null||t.destroy(),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=x(x({},this._config),e),this._updateElementSize()}setDirection(e){this._config=ue(x({},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=it(this._config.width),e.height=it(this._config.height),e.minWidth=it(this._config.minWidth),e.minHeight=it(this._config.minHeight),e.maxWidth=it(this._config.maxWidth),e.maxHeight=it(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=ts(r||[]).filter(o=>!!o);i.length&&(t?e.classList.add(...i):e.classList.remove(...i))}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{let e=this._renders.pipe(xe(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)}},zx="cdk-overlay-connected-position-bounding-box",ZP=/([A-Za-z%]+)$/,Bg=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=me.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(zx),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&&ro(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(zx),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=$x(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,p=a+o.height-t.height,g=this._subtractOverflows(o.width,d,u),w=this._subtractOverflows(o.height,f,p),M=g*w;return{visibleArea:M,isCompletelyWithinViewport:o.width*o.height===M,fitsInViewportVertically:w===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=Hx(this._overlayRef.getConfig().minHeight),a=Hx(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=$x(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 p=Math.min(t.right-e.x+t.left,e.x),g=this._lastBoundingBoxSize.width;d=p*2,u=e.x-p,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=it(t.height),i.top=it(t.top),i.bottom=it(t.bottom),i.width=it(t.width),i.left=it(t.left),i.right=it(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=it(o)),s&&(i.maxWidth=it(s))}this._lastBoundingBoxSize=t,ro(this._boundingBox.style,i)}_resetBoundingBoxStyles(){ro(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){ro(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();ro(t,this._getExactOverlayY(r,e,d)),ro(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(${l}px) `),c&&(a+=`translateY(${c}px)`),t.transform=a.trim(),s.maxHeight&&(i?t.maxHeight=it(s.maxHeight):o&&(t.maxHeight="")),s.maxWidth&&(i?t.maxWidth=it(s.maxWidth):o&&(t.maxWidth="")),ro(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=`${s-(o.y+this._overlayRect.height)}px`}else i.top=it(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=`${a-(o.x+this._overlayRect.width)}px`}else i.left=it(o.x);return i}_getScrollVisibility(){let e=this._getOriginRect(),r=this._pane.getBoundingClientRect(),t=this._scrollables.map(i=>i.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Bx(e,t),isOriginOutsideView:Lg(e,t),isOverlayClipped:Bx(r,t),isOverlayOutsideView:Lg(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&&ts(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 ro(n,e){for(let r in e)e.hasOwnProperty(r)&&(n[r]=e[r]);return n}function Hx(n){if(typeof n!="number"&&n!=null){let[e,r]=n.split(ZP);return!r||r==="px"?parseFloat(e):null}return n||null}function $x(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 QP(n,e){return n===e?!0:n.isOriginClipped===e.isOriginClipped&&n.isOriginOutsideView===e.isOriginOutsideView&&n.isOverlayClipped===e.isOverlayClipped&&n.isOverlayOutsideView===e.isOverlayOutsideView}var Wx="cdk-global-overlay-wrapper",Ug=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(Wx),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",p="",g="",w="";l?w="flex-start":d==="center"?(w="center",f?g=u:p=u):f?d==="left"||d==="end"?(w="flex-end",p=u):(d==="right"||d==="start")&&(w="flex-start",g=u):d==="left"||d==="start"?(w="flex-start",p=u):(d==="right"||d==="end")&&(w="flex-end",g=u),e.position=this._cssPosition,e.marginLeft=l?"0":p,e.marginTop=c?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=l?"0":g,r.justifyContent=w,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(Wx),t.justifyContent=t.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}},KP=(()=>{let e=class e{constructor(t,i,o,s){this._viewportRuler=t,this._document=i,this._platform=o,this._overlayContainer=s}global(){return new Ug}flexibleConnectedTo(t){return new Bg(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}};e.\u0275fac=function(i){return new(i||e)(b(bs),b(W),b(ye),b(_s))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),XP=0,qe=(()=>{let e=class e{constructor(t,i,o,s,a,l,c,d,u,f,p,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=p,this._animationsModuleType=g}create(t){let i=this._createHostElement(),o=this._createPaneElement(i),s=this._createPortalOutlet(o),a=new pr(t);return a.direction=a.direction||this._directionality.value,new ji(s,i,o,a,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations",this._injector.get(yt))}position(){return this._positionBuilder}_createPaneElement(t){let i=this._document.createElement("div");return i.id=`cdk-overlay-${XP++}`,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(hn)),new qa(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}};e.\u0275fac=function(i){return new(i||e)(b(GP),b(_s),b(Tn),b(KP),b(qP),b(_e),b(k),b(W),b(St),b(si),b(YP),b(We,8))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),JP=[{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"}],qx=new D("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let n=y(qe);return()=>n.scrollStrategies.reposition()}}),Ya=(()=>{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})(),zg=(()=>{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=me.EMPTY,this._attachSubscription=me.EMPTY,this._detachSubscription=me.EMPTY,this._positionSubscription=me.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 Nn(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=JP);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&&!ft(i)&&(i.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{let o=this._getOriginElement(),s=Wt(i);(!o||o!==s&&!o.contains(s))&&this.overlayOutsideClick.next(i)})}_buildConfig(){let t=this._position=this.positionStrategy||this._createPositionStrategy(),i=new pr({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 Ya?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof Ya?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(nf(()=>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(qe),h(mt),h(at),h(qx),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",ne],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",ne],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",ne],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",ne],push:[2,"cdkConnectedOverlayPush","push",ne],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",ne]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[Fe,$e]});let n=e;return n})();function eF(n){return()=>n.scrollStrategies.reposition()}var tF={provide:qx,deps:[qe],useFactory:eF},hi=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({providers:[qe,tF],imports:[ur,Li,Og,Og]});let n=e;return n})();var nF=(()=>{let e=class e{create(t){return typeof MutationObserver>"u"?null:new MutationObserver(t)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();var Cu=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({providers:[nF]});let n=e;return n})();var Xx=" ";function Zg(n,e,r){let t=Iu(n,e);r=r.trim(),!t.some(i=>i.trim()===r)&&(t.push(r),n.setAttribute(e,t.join(Xx)))}function Tu(n,e,r){let t=Iu(n,e);r=r.trim();let i=t.filter(o=>o!==r);i.length?n.setAttribute(e,i.join(Xx)):n.removeAttribute(e)}function Iu(n,e){let r=n.getAttribute(e);return(r==null?void 0:r.match(/\S+/g))??[]}var Jx="cdk-describedby-message",xu="cdk-describedby-host",Wg=0,eD=(()=>{let e=class e{constructor(t,i){this._platform=i,this._messageRegistry=new Map,this._messagesContainer=null,this._id=`${Wg++}`,this._document=t,this._id=y(Qo)+"-"+Wg++}describe(t,i,o){if(!this._canBeDescribed(t,i))return;let s=Hg(i,o);typeof i!="string"?(Yx(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=Hg(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(`[${xu}="${this._id}"]`);for(let o=0;oo.indexOf(Jx)!=0);t.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(t,i){let o=this._messageRegistry.get(i);Zg(t,"aria-describedby",o.messageElement.id),t.setAttribute(xu,this._id),o.referenceCount++}_removeMessageReference(t,i){let o=this._messageRegistry.get(i);o.referenceCount--,Tu(t,"aria-describedby",o.messageElement.id),t.removeAttribute(xu)}_isElementDescribedByMessage(t,i){let o=Iu(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?"":`${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)(b(W),b(ye))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();function Hg(n,e){return typeof n=="string"?`${e||""}/${n}`:n}function Yx(n,e){n.id||(n.id=`${Jx}-${e}-${Wg++}`)}var gF=200,Gg=class{constructor(e,r){this._letterKeyStream=new A,this._items=[],this._selectedItemIndex=-1,this._pressedLetters=[],this._selectedItem=new A,this.selectedItem=this._selectedItem;let t=typeof(r==null?void 0:r.debounceInterval)=="number"?r.debounceInterval:gF;r!=null&&r.skipPredicate&&(this._skipPredicateFn=r.skipPredicate),this.setItems(e),this._setupKeyHandler(t)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(e){this._selectedItemIndex=e}setItems(e){this._items=e}handleKey(e){let r=e.keyCode;e.key&&e.key.length===1?this._letterKeyStream.next(e.key.toLocaleUpperCase()):(r>=65&&r<=90||r>=48&&r<=57)&&this._letterKeyStream.next(String.fromCharCode(r))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(e){this._letterKeyStream.pipe(et(r=>this._pressedLetters.push(r)),Pr(e),ce(()=>this._pressedLetters.length>0),X(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(r=>{var t,i;for(let o=1;ot.disabled,this.tabOut=new A,this.change=new A,e instanceof Qn?this._itemChangesSubscription=e.changes.subscribe(t=>this._itemsChanged(t.toArray())):Ed(e)&&(this._effectRef=mm(()=>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){this._typeaheadSubscription.unsubscribe();let r=this._getItemsArray();return this._typeahead=new Gg(r,{debounceInterval:typeof e=="number"?e:void 0,skipPredicate:t=>this._skipPredicateFn(t)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(t=>{this.setActiveItem(t)}),this}cancelTypeahead(){var e;return(e=this._typeahead)==null||e.reset(),this}withHomeAndEnd(e=!0){return this._homeAndEnd=e,this}withPageUpDown(e=!0,r=10){return this._pageUpAndDown={enabled:e,delta:r},this}setActiveItem(e){let r=this._activeItem;this.updateActiveItem(e),this._activeItem!==r&&this.change.next(this._activeItemIndex)}onKeydown(e){var o,s;let r=e.keyCode,i=["altKey","ctrlKey","metaKey","shiftKey"].every(a=>!e[a]||this._allowedModifierKeys.indexOf(a)>-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 a=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(a>0?a:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&i){let a=this._activeItemIndex+this._pageUpAndDown.delta,l=this._getItemsArray().length;this._setActiveItemByIndex(a-1&&i!==this._activeItemIndex&&(this._activeItemIndex=i,(t=this._typeahead)==null||t.setCurrentSelectedItemIndex(i))}}},Su=class extends Mu{setActiveItem(e){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(e),this.activeItem&&this.activeItem.setActiveStyles()}},Cs=class extends Mu{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 Za=(()=>{let e=class e{constructor(t){this._platform=t}isDisabled(t){return t.hasAttribute("disabled")}isVisible(t){return bF(t)&&getComputedStyle(t).visibility==="visible"}isTabbable(t){if(!this._platform.isBrowser)return!1;let i=vF(IF(t));if(i&&(Zx(i)===-1||!this.isVisible(i)))return!1;let o=t.nodeName.toLowerCase(),s=Zx(t);return t.hasAttribute("contenteditable")?s!==-1:o==="iframe"||o==="object"||this._platform.WEBKIT&&this._platform.IOS&&!DF(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 EF(t)&&!this.isDisabled(t)&&((i==null?void 0:i.ignoreVisibility)||this.isVisible(t))}};e.\u0275fac=function(i){return new(i||e)(b(ye))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();function vF(n){try{return n.frameElement}catch{return null}}function bF(n){return!!(n.offsetWidth||n.offsetHeight||typeof n.getClientRects=="function"&&n.getClientRects().length)}function yF(n){let e=n.nodeName.toLowerCase();return e==="input"||e==="select"||e==="button"||e==="textarea"}function _F(n){return CF(n)&&n.type=="hidden"}function wF(n){return xF(n)&&n.hasAttribute("href")}function CF(n){return n.nodeName.toLowerCase()=="input"}function xF(n){return n.nodeName.toLowerCase()=="a"}function tD(n){if(!n.hasAttribute("tabindex")||n.tabIndex===void 0)return!1;let e=n.getAttribute("tabindex");return!!(e&&!isNaN(parseInt(e,10)))}function Zx(n){if(!tD(n))return null;let e=parseInt(n.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}function DF(n){let e=n.nodeName.toLowerCase(),r=e==="input"&&n.type;return r==="text"||r==="password"||e==="select"||e==="textarea"}function EF(n){return _F(n)?!1:yF(n)||wF(n)||n.hasAttribute("contenteditable")||tD(n)}function IF(n){return n.ownerDocument&&n.ownerDocument.defaultView||window}var qg=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-${e}], [cdkFocusRegion${e}], [cdk-focus-${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._injector?$t(e,{injector:this._injector}):setTimeout(e)}},Au=(()=>{let e=class e{constructor(t,i,o){this._checker=t,this._ngZone=i,this._injector=y(_e),this._document=o}create(t,i=!1){return new qg(t,this._checker,this._ngZone,this._document,i,this._injector)}};e.\u0275fac=function(i){return new(i||e)(b(Za),b(k),b(W))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();function Qa(n){return n.buttons===0||n.detail===0}function Ka(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 MF=new D("cdk-input-modality-detector-options"),SF={ignoreKeys:[18,17,224,91,16]},nD=650,ws=mn({passive:!0,capture:!0}),TF=(()=>{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=Wt(a))},this._onMousedown=a=>{Date.now()-this._lastTouchMs{if(Ka(a)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Wt(a)},this._options=x(x({},SF),s),this.modalityDetected=this._modality.pipe(Gs(1)),this.modalityChanged=this.modalityDetected.pipe(qi()),t.isBrowser&&i.runOutsideAngular(()=>{o.addEventListener("keydown",this._onKeydown,ws),o.addEventListener("mousedown",this._onMousedown,ws),o.addEventListener("touchstart",this._onTouchstart,ws)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,ws),document.removeEventListener("mousedown",this._onMousedown,ws),document.removeEventListener("touchstart",this._onTouchstart,ws))}};e.\u0275fac=function(i){return new(i||e)(b(ye),b(k),b(W),b(MF,8))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),AF=new D("liveAnnouncerElement",{providedIn:"root",factory:kF});function kF(){return null}var OF=new D("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),RF=0,iD=(()=>{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=Wt(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)||Eu.IMMEDIATE}monitor(t,i=!1){let o=pn(t);if(!this._platform.isBrowser||o.nodeType!==1)return H();let s=UC(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=pn(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=pn(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===Eu.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===Eu.IMMEDIATE){clearTimeout(this._originTimeoutId);let o=this._originFromTouchInteraction?nD:1;this._originTimeoutId=setTimeout(()=>this._origin=null,o)}})}_onFocus(t,i){let o=this._elementInfo.get(i),s=Wt(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,Du),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,Du)}),this._rootNodeFocusListenerCount.set(i,o+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(xe(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,Du),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Du),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(WC).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return oo.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 oo.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return oo.BLACK_ON_WHITE}return oo.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let t=this._document.body.classList;t.remove($g,Qx,Kx),this._hasCheckedHighContrastMode=!0;let i=this.getHighContrastMode();i===oo.BLACK_ON_WHITE?t.add($g,Qx):i===oo.WHITE_ON_BLACK&&t.add($g,Kx)}}};e.\u0275fac=function(i){return new(i||e)(b(ye),b(W))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),ku=(()=>{let e=class e{constructor(t){t._applyBodyHighContrastModeCssClasses()}};e.\u0275fac=function(i){return new(i||e)(b(Qg))},e.\u0275mod=V({type:e}),e.\u0275inj=L({imports:[Cu]});let n=e;return n})();function PF(n,e){}var ao=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 Xg=(()=>{let e=class e extends ys{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(ye),this._focusTrap=null,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this._ariaLabelledByQueue=[],this._changeDetectorRef=y(Ne),this._injector=y(_e),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||$t(()=>{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=Ca(),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=Ca();return t===i||t.contains(i)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=Ca()))}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}};e.\u0275fac=function(i){return new(i||e)(h(P),h(Au),h(W,8),h(ao),h(Za),h(k),h(ji),h(Yt))},e.\u0275cmp=j({type:e,selectors:[["cdk-dialog-container"]],viewQuery:function(i,o){if(i&1&&Re(io,7),i&2){let s;oe(s=se())&&(o._portalOutlet=s.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(i,o){i&2&&we("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:[Ve,Ae],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(i,o){i&1&&F(0,PF,0,0,"ng-template",0)},dependencies:[io],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2});let n=e;return n})(),Xa=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&&!ft(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}},FF=new D("DialogScrollStrategy",{providedIn:"root",factory:()=>{let n=y(qe);return()=>n.scrollStrategies.block()}}),LF=new D("DialogData"),jF=new D("DefaultDialogConfig");var VF=0,Jg=(()=>{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=Un(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(st(void 0))),this._scrollStrategy=l}open(t,i){let o=this._defaultOptions||new ao;i=x(x({},o),i),i.id=i.id||`cdk-dialog-${VF++}`,i.id&&this.getDialogById(i.id);let s=this._getOverlayConfig(i),a=this._overlay.create(s),l=new Xa(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(){Kg(this.openDialogs,t=>t.close())}getDialogById(t){return this.openDialogs.find(i=>i.id===t)}ngOnDestroy(){Kg(this._openDialogsAtThisLevel,t=>{t.config.closeOnDestroy===!1&&this._removeOpenDialog(t,!1)}),Kg(this._openDialogsAtThisLevel,t=>t.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(t){let i=new pr({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:ao,useValue:o},{provide:Xa,useValue:i},{provide:ji,useValue:t}],l;o.container?typeof o.container=="function"?l=o.container:(l=o.container.type,a.push(...o.container.providers(o))):l=Xg;let c=new fr(l,o.viewContainerRef,_e.create({parent:s||this._injector,providers:a}),o.componentFactoryResolver);return t.attach(c).instance}_attachDialogContent(t,i,o,s){if(t instanceof mt){let a=this._createInjector(s,i,o,void 0),l={$implicit:s.data,dialogRef:i};s.templateContext&&(l=x(x({},l),typeof s.templateContext=="function"?s.templateContext():s.templateContext)),o.attachTemplatePortal(new Nn(t,null,l,a))}else{let a=this._createInjector(s,i,o,this._injector),l=o.attachComponentPortal(new fr(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:LF,useValue:t.data},{provide:Xa,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()}}),_e.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)(b(qe),b(_e),b(jF,8),b(e,12),b(_s),b(FF))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();function Kg(n,e){let r=n.length;for(;r--;)e(n[r])}var rD=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({providers:[Jg],imports:[hi,Li,ku,Li]});let n=e;return n})();var BF=["text"],UF=[[["mat-icon"]],"*"],zF=["mat-icon","*"];function HF(n,e){if(n&1&&O(0,"mat-pseudo-checkbox",1),n&2){let r=R();I("disabled",r.disabled)("state",r.selected?"checked":"unchecked")}}function $F(n,e){if(n&1&&O(0,"mat-pseudo-checkbox",3),n&2){let r=R();I("disabled",r.disabled)}}function WF(n,e){if(n&1&&(m(0,"span",4),C(1),v()),n&2){let r=R();_(),Me("(",r.group.label,")")}}var GF=["mat-internal-form-field",""],qF=["*"];function YF(){return!0}var ZF=new D("mat-sanity-checks",{providedIn:"root",factory:YF}),Se=(()=>{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 xa()?!1:typeof this._sanityChecks=="boolean"?this._sanityChecks:!!this._sanityChecks[t]}};e.\u0275fac=function(i){return new(i||e)(b(Qg),b(ZF,8),b(W))},e.\u0275mod=V({type:e}),e.\u0275inj=L({imports:[ur,ur]});let n=e;return n})();var Ms=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(){let e=this.errorState,r=this._parentFormGroup||this._parentForm,t=this.matcher||this._defaultMatcher,i=this.ngControl?this.ngControl.control:null,o=(t==null?void 0:t.isErrorState(i,r))??!1;o!==e&&(this.errorState=o,this._stateChanges.next())}};var Ru=(()=>{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=E({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();var vn=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}(vn||{}),nv=class{constructor(e,r,t,i=!1){this._renderer=e,this.element=r,this.config=t,this._animationForciblyDisabledThroughCss=i,this.state=vn.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}},oD=mn({passive:!0,capture:!0}),iv=class{constructor(){this._events=new Map,this._delegateEventHandler=e=>{var t;let r=Wt(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,oD)})}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,oD)))}},sD={enterDuration:225,exitDuration:150},QF=800,aD=mn({passive:!0,capture:!0}),lD=["mousedown","touchstart"],cD=["mouseup","mouseleave","touchend","touchcancel"],Ja=class Ja{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=pn(t))}fadeInRipple(e,r,t={}){let i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=x(x({},sD),t.animation);t.centered&&(e=i.left+i.width/2,r=i.top+i.height/2);let s=t.radius||KF(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=`${a-s}px`,d.style.top=`${l-s}px`,d.style.height=`${s*2}px`,d.style.width=`${s*2}px`,t.color!=null&&(d.style.backgroundColor=t.color),d.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(d);let u=window.getComputedStyle(d),f=u.transitionProperty,p=u.transitionDuration,g=f==="none"||p==="0s"||p==="0s, 0s"||i.width===0&&i.height===0,w=new nv(this,d,t,g);d.style.transform="scale3d(1, 1, 1)",w.state=vn.FADING_IN,t.persistent||(this._mostRecentTransientRipple=w);let M=null;return!g&&(c||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let T=()=>{M&&(M.fallbackTimer=null),clearTimeout(Z),this._finishRippleTransition(w)},Y=()=>this._destroyRipple(w),Z=setTimeout(Y,c+100);d.addEventListener("transitionend",T),d.addEventListener("transitioncancel",Y),M={onTransitionEnd:T,onTransitionCancel:Y,fallbackTimer:Z}}),this._activeRipples.set(w,M),(g||!c)&&this._finishRippleTransition(w),w}fadeOutRipple(e){if(e.state===vn.FADING_OUT||e.state===vn.HIDDEN)return;let r=e.element,t=x(x({},sD),e.config.animation);r.style.transitionDuration=`${t.exitDuration}ms`,r.style.opacity="0",e.state=vn.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=pn(e);!this._platform.isBrowser||!r||r===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=r,lD.forEach(t=>{Ja._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(()=>{cD.forEach(r=>{this._triggerElement.addEventListener(r,this,aD)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(e){e.state===vn.FADING_IN?this._startFadeOutTransition(e):e.state===vn.FADING_OUT&&this._destroyRipple(e)}_startFadeOutTransition(e){let r=e===this._mostRecentTransientRipple,{persistent:t}=e.config;e.state=vn.VISIBLE,!t&&(!r||!this._isPointerDown)&&e.fadeOut()}_destroyRipple(e){let r=this._activeRipples.get(e)??null;this._activeRipples.delete(e),this._activeRipples.size||(this._containerRect=null),e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),e.state=vn.HIDDEN,r!==null&&(e.element.removeEventListener("transitionend",r.onTransitionEnd),e.element.removeEventListener("transitioncancel",r.onTransitionCancel),r.fallbackTimer!==null&&clearTimeout(r.fallbackTimer)),e.element.remove()}_onMousedown(e){let r=Qa(e),t=this._lastTouchStartEvent&&Date.now(){let r=e.state===vn.VISIBLE||e.config.terminateOnPointerUp&&e.state===vn.FADING_IN;!e.config.persistent&&r&&e.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let e=this._triggerElement;e&&(lD.forEach(r=>Ja._eventManager.removeHandler(r,e,this)),this._pointerUpEventsRegistered&&(cD.forEach(r=>e.removeEventListener(r,this,aD)),this._pointerUpEventsRegistered=!1))}};Ja._eventManager=new iv;var rv=Ja;function KF(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 fD=new D("mat-ripple-global-options"),lo=(()=>{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 rv(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:x(x(x({},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,x(x({},this.rippleConfig),o)):this._rippleRenderer.fadeInRipple(0,0,x(x({},this.rippleConfig),t))}};e.\u0275fac=function(i){return new(i||e)(h(P),h(k),h(ye),h(fD,8),h(We,8))},e.\u0275dir=N({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(i,o){i&2&&le("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})(),el=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({imports:[Se,Se]});let n=e;return n})(),XF=(()=>{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(We,8))},e.\u0275cmp=j({type:e,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(i,o){i&2&&le("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:[Ae],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, var(--mat-app-primary))}.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, var(--mat-app-on-surface-variant));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, var(--mat-app-primary));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, var(--mat-app-on-primary))}.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, var(--mat-app-surface))}.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})(),JF=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({imports:[Se]});let n=e;return n})(),sv=new D("MAT_OPTION_PARENT_COMPONENT");var av=new D("MatOptgroup");var eL=0,ov=class{constructor(e,r=!1){this.source=e,this.isUserInput=r}},Nu=(()=>{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-${eL++}`,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)&&!ft(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 ov(this,t))}};e.\u0275fac=function(i){return new(i||e)(h(P),h(Ne),h(sv,8),h(av,8))},e.\u0275cmp=j({type:e,selectors:[["mat-option"]],viewQuery:function(i,o){if(i&1&&Re(BF,7),i&2){let s;oe(s=se())&&(o._text=s.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(i,o){i&1&&U("click",function(){return o._selectViaInteraction()})("keydown",function(a){return o._handleKeydown(a)}),i&2&&(un("id",o.id),we("aria-selected",o.selected)("aria-disabled",o.disabled.toString()),le("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",ne]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],standalone:!0,features:[Fe,Ae],ngContentSelectors:zF,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(UF),F(0,HF,1,2,"mat-pseudo-checkbox",1),pe(1),m(2,"span",2,0),pe(4,1),v(),F(5,$F,1,1,"mat-pseudo-checkbox",3)(6,WF,2,1,"span",4),O(7,"div",5)),i&2&&(Ge(o.multiple?0:-1),_(5),Ge(!o.multiple&&o.selected&&!o.hideSingleSelectionIndicator?5:-1),_(),Ge(o.group&&o.group._inert?6:-1),_(),I("matRippleTrigger",o._getHostElement())("matRippleDisabled",o.disabled||o.disableRipple))},dependencies:[XF,lo],styles:['.mat-mdc-option{-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;min-height:48px;padding:0 16px;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color, var(--mat-app-on-surface));font-family:var(--mat-option-label-text-font, var(--mat-app-label-large-font));line-height:var(--mat-option-label-text-line-height, var(--mat-app-label-large-line-height));font-size:var(--mat-option-label-text-size, var(--mat-app-body-large-size));letter-spacing:var(--mat-option-label-text-tracking, var(--mat-app-label-large-tracking));font-weight:var(--mat-option-label-text-weight, var(--mat-app-body-large-weight))}.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);outline:0}.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, var(--mat-app-on-secondary-container))}.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, var(--mat-app-secondary-container))}.mat-mdc-option .mat-pseudo-checkbox{--mat-minimal-pseudo-checkbox-selected-checkmark-color: var(--mat-option-selected-state-label-text-color, var(--mat-app-on-secondary-container))}.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 pD(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 lv=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({imports:[el,Se,JF]});let n=e;return n})(),dD={capture:!0},uD=["focus","mousedown","mouseenter","touchstart"],ev="mat-ripple-loader-uninitialized",tv="mat-ripple-loader-class-name",hD="mat-ripple-loader-centered",Ou="mat-ripple-loader-disabled",gD=(()=>{let e=class e{constructor(){this._document=y(W,{optional:!0}),this._animationMode=y(We,{optional:!0}),this._globalRippleOptions=y(fD,{optional:!0}),this._platform=y(ye),this._ngZone=y(k),this._hosts=new Map,this._onInteraction=t=>{var o;let i=Wt(t);if(i instanceof HTMLElement){let s=i.closest(`[${ev}="${((o=this._globalRippleOptions)==null?void 0:o.namespace)??""}"]`);s&&this._createRipple(s)}},this._ngZone.runOutsideAngular(()=>{var t;for(let i of uD)(t=this._document)==null||t.addEventListener(i,this._onInteraction,dD)})}ngOnDestroy(){var i;let t=this._hosts.keys();for(let o of t)this.destroyRipple(o);for(let o of uD)(i=this._document)==null||i.removeEventListener(o,this._onInteraction,dD)}configureRipple(t,i){var o;t.setAttribute(ev,((o=this._globalRippleOptions)==null?void 0:o.namespace)??""),(i.className||!t.hasAttribute(tv))&&t.setAttribute(tv,i.className||""),i.centered&&t.setAttribute(hD,""),i.disabled&&t.setAttribute(Ou,"")}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(Ou,""):t.removeAttribute(Ou)}_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(tv)),t.append(o);let s=new lo(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(hD),s.disabled=t.hasAttribute(Ou),this.attachRipple(t,s),s}attachRipple(t,i){t.removeAttribute(ev),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=E({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),vD=(()=>{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&&le("mdc-form-field--align-end",o.labelPosition==="before")},inputs:{labelPosition:"labelPosition"},standalone:!0,features:[Ae],attrs:GF,ngContentSelectors:qF,decls:1,vars:0,template:function(i,o){i&1&&(Je(),pe(0))},styles:[".mat-internal-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-flex;align-items:center;vertical-align:middle}.mat-internal-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mat-internal-form-field>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px}.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 .mdc-form-field--align-end label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0}"],encapsulation:2,changeDetection:0});let n=e;return n})();var de=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}(de||{}),fi="*";function Pn(n,e){return{type:de.Trigger,name:n,definitions:e,options:{}}}function bn(n,e=null){return{type:de.Animate,styles:e,timings:n}}function bD(n,e=null){return{type:de.Sequence,steps:n,options:e}}function rt(n){return{type:de.Style,styles:n,offset:null}}function yn(n,e,r){return{type:de.State,name:n,styles:e,options:r}}function Zt(n,e,r=null){return{type:de.Transition,expr:n,animation:e,options:r}}function yD(n=null){return{type:de.AnimateChild,options:n}}function _D(n,e,r=null){return{type:de.Query,selector:n,animation:e,options:r}}var vr=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}},tl=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}},Pu="!";function tL(n,e){}var nl=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}},dv="mdc-dialog--open",wD="mdc-dialog--opening",CD="mdc-dialog--closing",nL=150,iL=75,rL=(()=>{let e=class e extends Xg{constructor(t,i,o,s,a,l,c,d,u){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?DD(this._config.enterAnimationDuration)??nL:0,this._exitAnimationDuration=this._animationsEnabled?DD(this._config.exitAnimationDuration)??iL: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(xD,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(wD,dv)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(dv),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(dv),this._animationsEnabled?(this._hostElement.style.setProperty(xD,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(CD)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(t){this._actionSectionCount+=t,this._changeDetectorRef.markForCheck()}_clearAnimationClasses(){this._hostElement.classList.remove(wD,CD)}_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(Au),h(W,8),h(nl),h(Za),h(k),h(ji),h(We,8),h(Yt))},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&&(un("id",o._config.id),we("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),le("_mat-animation-noopable",!o._animationsEnabled)("mat-mdc-dialog-container-with-actions",o._actionSectionCount>0))},standalone:!0,features:[Ve,Ae],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&&(m(0,"div",0)(1,"div",1),F(2,tL,0,0,"ng-template",2),v()())},dependencies:[io],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, var(--mat-app-corner-extra-large, 4px));background-color:var(--mdc-dialog-container-color, var(--mat-app-surface, 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;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, var(--mat-app-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mdc-dialog-subhead-font, var(--mat-app-headline-small-font, inherit));line-height:var(--mdc-dialog-subhead-line-height, var(--mat-app-headline-small-line-height, 1.5rem));font-size:var(--mdc-dialog-subhead-size, var(--mat-app-headline-small-size, 1rem));font-weight:var(--mdc-dialog-subhead-weight, var(--mat-app-headline-small-weight, 400));letter-spacing:var(--mdc-dialog-subhead-tracking, var(--mat-app-headline-small-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, var(--mat-app-on-surface-variant, rgba(0, 0, 0, 0.6)));font-family:var(--mdc-dialog-supporting-text-font, var(--mat-app-body-medium-font, inherit));line-height:var(--mdc-dialog-supporting-text-line-height, var(--mat-app-body-medium-line-height, 1.5rem));font-size:var(--mdc-dialog-supporting-text-size, var(--mat-app-body-medium-size, 1rem));font-weight:var(--mdc-dialog-supporting-text-weight, var(--mat-app-body-medium-weight, 400));letter-spacing:var(--mdc-dialog-supporting-text-tracking, var(--mat-app-body-medium-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})(),xD="--mat-dialog-transition-duration";function DD(n){return n==null?null:typeof n=="number"?n:n.endsWith("ms")?Ri(n.substring(0,n.length-2)):n.endsWith("s")?Ri(n.substring(0,n.length-1))*1e3:n==="0"?0:null}var Fu=function(n){return n[n.OPEN=0]="OPEN",n[n.CLOSING=1]="CLOSING",n[n.CLOSED=2]="CLOSED",n}(Fu||{}),co=class{constructor(e,r,t){this._ref=e,this._containerInstance=t,this._afterOpened=new A,this._beforeClosed=new A,this._state=Fu.OPEN,this.disableClose=r.disableClose,this.id=e.id,e.addPanelClass("mat-mdc-dialog-panel"),t._animationStateChanged.pipe(ce(i=>i.state==="opened"),Ue(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),t._animationStateChanged.pipe(ce(i=>i.state==="closed"),Ue(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(ce(i=>i.keyCode===27&&!this.disableClose&&!ft(i)))).subscribe(i=>{this.disableClose||(i.preventDefault(),ED(this,i.type==="keydown"?"keyboard":"mouse"))})}close(e){this._result=e,this._containerInstance._animationStateChanged.pipe(ce(r=>r.state==="closing"),Ue(1)).subscribe(r=>{this._beforeClosed.next(e),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),r.totalTime+100)}),this._state=Fu.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=Fu.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};function ED(n,e,r){return n._closeInteractionType=e,n.close(r)}var il=new D("MatMdcDialogData"),oL=new D("mat-mdc-dialog-default-options"),sL=new D("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let n=y(qe);return()=>n.scrollStrategies.block()}});var aL=0,rl=(()=>{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=nl,this.afterAllClosed=Un(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(st(void 0))),this._dialog=i.get(Jg),this._dialogRefConstructor=co,this._dialogContainerType=rL,this._dialogDataToken=il}open(t,i){let o;i=x(x({},this._defaultOptions||new nl),i),i.id=i.id||`mat-mdc-dialog-${aL++}`,i.scrollStrategy=i.scrollStrategy||this._scrollStrategy();let s=this._dialog.open(t,ue(x({},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:ao,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)(b(qe),b(_e),b(si,8),b(oL,8),b(sL),b(e,12),b(_s),b(We,8))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),lL=0,Lu=(()=>{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=MD(this._elementRef,this._dialog.openDialogs))}ngOnChanges(t){let i=t._matDialogClose||t._matDialogCloseResult;i&&(this.dialogResult=i.currentValue)}_onButtonClick(t){ED(this.dialogRef,t.screenX===0&&t.screenY===0?"keyboard":"mouse",this.dialogResult)}};e.\u0275fac=function(i){return new(i||e)(h(co,8),h(P),h(rl))},e.\u0275dir=N({type:e,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(i,o){i&1&&U("click",function(a){return o._onButtonClick(a)}),i&2&&we("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:[$e]});let n=e;return n})(),ID=(()=>{let e=class e{constructor(t,i,o){this._dialogRef=t,this._elementRef=i,this._dialog=o}ngOnInit(){this._dialogRef||(this._dialogRef=MD(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(co,8),h(P),h(rl))},e.\u0275dir=N({type:e,standalone:!0});let n=e;return n})(),ju=(()=>{let e=class e extends ID{constructor(){super(...arguments),this.id=`mat-mdc-dialog-title-${lL++}`}_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=ln(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&&un("id",o.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],standalone:!0,features:[Ve]});let n=e;return n})(),Vu=(()=>{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:[Cw([kg])]});let n=e;return n})(),Bu=(()=>{let e=class e extends ID{_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=ln(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&&le("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:[Ve]});let n=e;return n})();function MD(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 SD=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({providers:[rl],imports:[rD,hi,Li,Se,Se]});let n=e;return n})();var TD=["mat-button",""],AD=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],kD=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],cL='.mat-mdc-button-base{text-decoration:none}.mdc-button{-webkit-user-select:none;user-select:none;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;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.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__label{position:relative}.mat-mdc-button{padding:0 var(--mat-text-button-horizontal-padding, 8px);height:var(--mdc-text-button-container-height);font-family:var(--mdc-text-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-text-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-text-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-text-button-label-text-transform);font-weight:var(--mdc-text-button-label-text-weight, var(--mat-app-label-large-weight))}.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, var(--mat-app-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity, var(--mat-app-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, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity, var(--mat-app-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,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mat-app-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, var(--mat-app-primary))}.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{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 var(--mat-filled-button-horizontal-padding, 16px);height:var(--mdc-filled-button-container-height);font-family:var(--mdc-filled-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-filled-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-filled-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-filled-button-label-text-transform);font-weight:var(--mdc-filled-button-label-text-weight, var(--mat-app-label-large-weight))}.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, var(--mat-app-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity, var(--mat-app-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, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity, var(--mat-app-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:not(:disabled){color:var(--mdc-filled-button-label-text-color, var(--mat-app-on-primary));background-color:var(--mdc-filled-button-container-color, var(--mat-app-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mat-app-corner-full))}.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{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 var(--mat-protected-button-horizontal-padding, 16px);box-shadow:var(--mdc-protected-button-container-elevation-shadow, var(--mat-app-level1));height:var(--mdc-protected-button-container-height);font-family:var(--mdc-protected-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-protected-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-protected-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-protected-button-label-text-transform);font-weight:var(--mdc-protected-button-label-text-weight, var(--mat-app-label-large-weight))}.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, var(--mat-app-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity, var(--mat-app-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, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity, var(--mat-app-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:not(:disabled){color:var(--mdc-protected-button-label-text-color, var(--mat-app-primary));background-color:var(--mdc-protected-button-container-color, var(--mat-app-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mat-app-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow, var(--mat-app-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow, var(--mat-app-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow, var(--mat-app-level1))}.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, var(--mat-app-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 var(--mat-outlined-button-horizontal-padding, 15px);height:var(--mdc-outlined-button-container-height);font-family:var(--mdc-outlined-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-outlined-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-outlined-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-outlined-button-label-text-transform);font-weight:var(--mdc-outlined-button-label-text-weight, var(--mat-app-label-large-weight));border-radius:var(--mdc-outlined-button-container-shape, var(--mat-app-corner-full));border-width: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, var(--mat-app-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity, var(--mat-app-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, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity, var(--mat-app-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:not(:disabled){color:var(--mdc-outlined-button-label-text-color, var(--mat-app-primary));border-color:var(--mdc-outlined-button-outline-color, var(--mat-app-outline))}.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-outlined-button .mdc-button__ripple{border-width:var(--mdc-outlined-button-outline-width);border-style:solid;border-color:rgba(0,0,0,0)}.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-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon{z-index:1;position:relative}.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}.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)}',OD=".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 dL=["mat-icon-button",""],uL=["*"];var hL=new D("MAT_BUTTON_CONFIG");var fL=[{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-base","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],hv=(()=>{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;this._elementRef=t,this._platform=i,this._ngZone=o,this._animationMode=s,this._focusMonitor=y(Yt),this._rippleLoader=y(gD),this._isFab=!1,this._disableRipple=!1,this._disabled=!1;let a=y(hL,{optional:!0}),l=t.nativeElement,c=l.classList;this.disabledInteractive=(a==null?void 0:a.disabledInteractive)??!1,this.color=(a==null?void 0:a.color)??null,(d=this._rippleLoader)==null||d.configureRipple(l,{className:"mat-mdc-button-ripple"});for(let{attribute:u,mdcClasses:f}of fL)l.hasAttribute(u)&&c.add(...f)}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){la()},e.\u0275dir=N({type:e,inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",ne],disabled:[2,"disabled","disabled",ne],ariaDisabled:[2,"aria-disabled","ariaDisabled",ne],disabledInteractive:[2,"disabledInteractive","disabledInteractive",ne]},features:[Fe]});let n=e;return n})();var pL=(()=>{let e=class e extends hv{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.ariaDisabled:this.disabled||null}};e.\u0275fac=function(i){la()},e.\u0275dir=N({type:e,inputs:{tabIndex:[2,"tabIndex","tabIndex",t=>t==null?void 0:ri(t)]},features:[Fe,Ve]});let n=e;return n})(),pi=(()=>{let e=class e extends hv{constructor(t,i,o,s){super(t,i,o,s)}};e.\u0275fac=function(i){return new(i||e)(h(P),h(ye),h(k),h(We,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&&(we("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled()),jt(o.color?"mat-"+o.color:""),le("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:[Ve,Ae],attrs:TD,ngContentSelectors:kD,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(AD),O(0,"span",0),pe(1),m(2,"span",1),pe(3,1),v(),pe(4,2),O(5,"span",2)(6,"span",3)),i&2&&le("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:['.mat-mdc-button-base{text-decoration:none}.mdc-button{-webkit-user-select:none;user-select:none;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;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.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__label{position:relative}.mat-mdc-button{padding:0 var(--mat-text-button-horizontal-padding, 8px);height:var(--mdc-text-button-container-height);font-family:var(--mdc-text-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-text-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-text-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-text-button-label-text-transform);font-weight:var(--mdc-text-button-label-text-weight, var(--mat-app-label-large-weight))}.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, var(--mat-app-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity, var(--mat-app-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, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity, var(--mat-app-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,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mat-app-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, var(--mat-app-primary))}.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{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 var(--mat-filled-button-horizontal-padding, 16px);height:var(--mdc-filled-button-container-height);font-family:var(--mdc-filled-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-filled-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-filled-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-filled-button-label-text-transform);font-weight:var(--mdc-filled-button-label-text-weight, var(--mat-app-label-large-weight))}.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, var(--mat-app-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity, var(--mat-app-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, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity, var(--mat-app-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:not(:disabled){color:var(--mdc-filled-button-label-text-color, var(--mat-app-on-primary));background-color:var(--mdc-filled-button-container-color, var(--mat-app-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mat-app-corner-full))}.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{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 var(--mat-protected-button-horizontal-padding, 16px);box-shadow:var(--mdc-protected-button-container-elevation-shadow, var(--mat-app-level1));height:var(--mdc-protected-button-container-height);font-family:var(--mdc-protected-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-protected-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-protected-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-protected-button-label-text-transform);font-weight:var(--mdc-protected-button-label-text-weight, var(--mat-app-label-large-weight))}.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, var(--mat-app-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity, var(--mat-app-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, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity, var(--mat-app-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:not(:disabled){color:var(--mdc-protected-button-label-text-color, var(--mat-app-primary));background-color:var(--mdc-protected-button-container-color, var(--mat-app-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mat-app-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow, var(--mat-app-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow, var(--mat-app-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow, var(--mat-app-level1))}.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, var(--mat-app-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 var(--mat-outlined-button-horizontal-padding, 15px);height:var(--mdc-outlined-button-container-height);font-family:var(--mdc-outlined-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-outlined-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-outlined-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-outlined-button-label-text-transform);font-weight:var(--mdc-outlined-button-label-text-weight, var(--mat-app-label-large-weight));border-radius:var(--mdc-outlined-button-container-shape, var(--mat-app-corner-full));border-width: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, var(--mat-app-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity, var(--mat-app-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, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity, var(--mat-app-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:not(:disabled){color:var(--mdc-outlined-button-label-text-color, var(--mat-app-primary));border-color:var(--mdc-outlined-button-outline-color, var(--mat-app-outline))}.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-outlined-button .mdc-button__ripple{border-width:var(--mdc-outlined-button-outline-width);border-style:solid;border-color:rgba(0,0,0,0)}.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-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon{z-index:1;position:relative}.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}.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})(),RD=(()=>{let e=class e extends pL{constructor(t,i,o,s){super(t,i,o,s)}};e.\u0275fac=function(i){return new(i||e)(h(P),h(ye),h(k),h(We,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&&(we("disabled",o._getDisabledAttribute())("tabindex",o.disabled&&!o.disabledInteractive?-1:o.tabIndex)("aria-disabled",o._getAriaDisabled()),jt(o.color?"mat-"+o.color:""),le("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:[Ve,Ae],attrs:TD,ngContentSelectors:kD,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(AD),O(0,"span",0),pe(1),m(2,"span",1),pe(3,1),v(),pe(4,2),O(5,"span",2)(6,"span",3)),i&2&&le("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:[cL,OD],encapsulation:2,changeDetection:0});let n=e;return n})();var ND=(()=>{let e=class e extends hv{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(ye),h(k),h(We,8))},e.\u0275cmp=j({type:e,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(i,o){i&2&&(we("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled()),jt(o.color?"mat-"+o.color:""),le("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:[Ve,Ae],attrs:dL,ngContentSelectors:uL,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),pe(1),O(2,"span",1)(3,"span",2))},styles:['.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;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;z-index:0;overflow:visible;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);color:var(--mdc-icon-button-icon-color, var(--mat-app-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.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 img,.mat-mdc-icon-button svg{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size);vertical-align:baseline}.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,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.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, var(--mat-app-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-app-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, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-app-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[hidden]{display:none}.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}',OD],encapsulation:2,changeDetection:0});let n=e;return n})();var PD=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({imports:[Se,el,Se]});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 br=(()=>{let e=class e{constructor(t){this.sanitizer=t}transform(t,i){return t=t.replace(/<\s*script\s*/gi,""),t=t.replace(/(on|(on\w+\s*))=\s*['"]?[^'"]*['"]?/gi,""),t=t.replace(/javascript\s*\:/gi,""),this.sanitizer.bypassSecurityTrustHtml(t)}};e.\u0275fac=function(i){return new(i||e)(h(zm,16))},e.\u0275pipe=xp({name:"safeHtml",type:e,pure:!0});let n=e;return n})();function mL(n,e){if(n&1){let r=De();m(0,"button",3),U("click",function(){ie(r);let i=R();return re(i.resolveAndClose(!1))}),m(1,"uds-translate"),C(2,"Close"),v(),C(3),v()}if(n&2){let r=R();_(3),ct(r.extra)}}function gL(n,e){if(n&1){let r=De();m(0,"button",3),U("click",function(){ie(r);let i=R();return re(i.resolveAndClose(!0))}),m(1,"uds-translate"),C(2,"Yes"),v()()}}function vL(n,e){if(n&1){let r=De();m(0,"button",3),U("click",function(){ie(r);let i=R();return re(i.resolveAndClose(!1))}),m(1,"uds-translate"),C(2,"No"),v()()}}var ol=function(n){return n[n.alert=0]="alert",n[n.yesno=1]="yesno",n[n.credentials=2]="credentials",n}(ol||{}),fv=(()=>{let e=class e{constructor(t,i){this.dialogRef=t,this.data=i,this.extra="",this.yesno=new Wa}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 Oe(this,null,function*(){let t=this.data.autoclose||0;t>0&&(this.dialogRef.afterClosed().subscribe(i=>{this.close()}),this.setExtra(t),Kh(1e3).subscribe(i=>{let o=t-(i+1)*1e3;this.setExtra(o),o<=0&&this.close()}))})}ngOnInit(){this.data.type===ol.alert&&this.initAlert()}};e.\u0275fac=function(i){return new(i||e)(h(co),h(il))},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),ni(1,"safeHtml"),O(2,"mat-dialog-content",1),ni(3,"safeHtml"),m(4,"mat-dialog-actions"),F(5,mL,4,1,"button",2)(6,gL,3,0,"button",2)(7,vL,3,0,"button",2),v()),i&2&&(I("innerHtml",ii(1,5,o.data.title),ei),_(2),I("innerHTML",ii(3,7,o.data.body),ei),_(3),I("ngIf",o.data.type===0),_(),I("ngIf",o.data.type===1),_(),I("ngIf",o.data.type===1))},dependencies:[Mt,pi,Lu,ju,Bu,Vu,He,br],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 HD=(()=>{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(or),h(P))},e.\u0275dir=N({type:e});let n=e;return n})(),bL=(()=>{let e=class e extends HD{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=ln(e)))(o||e)}})(),e.\u0275dir=N({type:e,features:[Ve]});let n=e;return n})(),Xu=new D("");var yL={provide:Xu,useExisting:xi(()=>Ju),multi:!0};function _L(){let n=oi()?oi().getUserAgent():"";return/android (\d+)/.test(n.toLowerCase())}var wL=new D(""),Ju=(()=>{let e=class e extends HD{constructor(t,i,o){super(t,i),this._compositionMode=o,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!_L())}writeValue(t){let i=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(or),h(P),h(wL,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&&U("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([yL]),Ve]});let n=e;return n})();function yr(n){return n==null||(typeof n=="string"||Array.isArray(n))&&n.length===0}function $D(n){return n!=null&&typeof n.length=="number"}var ul=new D(""),vv=new D(""),CL=/^(?=.{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])?)*$/,As=class{static min(e){return xL(e)}static max(e){return DL(e)}static required(e){return EL(e)}static requiredTrue(e){return IL(e)}static email(e){return ML(e)}static minLength(e){return SL(e)}static maxLength(e){return TL(e)}static pattern(e){return AL(e)}static nullValidator(e){return WD(e)}static compose(e){return KD(e)}static composeAsync(e){return XD(e)}};function xL(n){return e=>{if(yr(e.value)||yr(n))return null;let r=parseFloat(e.value);return!isNaN(r)&&r{if(yr(e.value)||yr(n))return null;let r=parseFloat(e.value);return!isNaN(r)&&r>n?{max:{max:n,actual:e.value}}:null}}function EL(n){return yr(n.value)?{required:!0}:null}function IL(n){return n.value===!0?null:{required:!0}}function ML(n){return yr(n.value)||CL.test(n.value)?null:{email:!0}}function SL(n){return e=>yr(e.value)||!$D(e.value)?null:e.value.length$D(e.value)&&e.value.length>n?{maxlength:{requiredLength:n,actualLength:e.value.length}}:null}function AL(n){if(!n)return WD;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(yr(t.value))return null;let i=t.value;return e.test(i)?null:{pattern:{requiredPattern:r,actualValue:i}}}}function WD(n){return null}function GD(n){return n!=null}function qD(n){return Kr(n)?Le(n):n}function YD(n){let e={};return n.forEach(r=>{e=r!=null?x(x({},e),r):e}),Object.keys(e).length===0?null:e}function ZD(n,e){return e.map(r=>r(n))}function kL(n){return!n.validate}function QD(n){return n.map(e=>kL(e)?e:r=>e.validate(r))}function KD(n){if(!n)return null;let e=n.filter(GD);return e.length==0?null:function(r){return YD(ZD(r,e))}}function bv(n){return n!=null?KD(QD(n)):null}function XD(n){if(!n)return null;let e=n.filter(GD);return e.length==0?null:function(r){let t=ZD(r,e).map(qD);return Qh(t).pipe(X(YD))}}function yv(n){return n!=null?XD(QD(n)):null}function FD(n,e){return n===null?[e]:Array.isArray(n)?[...n,e]:[n,e]}function JD(n){return n._rawValidators}function eE(n){return n._rawAsyncValidators}function pv(n){return n?Array.isArray(n)?n:[n]:[]}function Hu(n,e){return Array.isArray(n)?n.includes(e):n===e}function LD(n,e){let r=pv(e);return pv(n).forEach(i=>{Hu(r,i)||r.push(i)}),r}function jD(n,e){return pv(e).filter(r=>!Hu(n,r))}var $u=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=bv(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=yv(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}},_r=class extends $u{get formDirective(){return null}get path(){return null}},Bi=class extends $u{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},Wu=class{constructor(e){this._cd=e}get isTouched(){var e,r,t,i,o;return(t=(r=(e=this._cd)==null?void 0:e.control)==null?void 0:r._touched)==null||t.call(r),!!((o=(i=this._cd)==null?void 0:i.control)!=null&&o.touched)}get isUntouched(){var e,r;return!!((r=(e=this._cd)==null?void 0:e.control)!=null&&r.untouched)}get isPristine(){var e,r,t,i,o;return(t=(r=(e=this._cd)==null?void 0:e.control)==null?void 0:r._pristine)==null||t.call(r),!!((o=(i=this._cd)==null?void 0:i.control)!=null&&o.pristine)}get isDirty(){var e,r;return!!((r=(e=this._cd)==null?void 0:e.control)!=null&&r.dirty)}get isValid(){var e,r,t,i,o;return(t=(r=(e=this._cd)==null?void 0:e.control)==null?void 0:r._status)==null||t.call(r),!!((o=(i=this._cd)==null?void 0:i.control)!=null&&o.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,r,t;return(r=(e=this._cd)==null?void 0:e._submitted)==null||r.call(e),!!((t=this._cd)!=null&&t.submitted)}},OL={"[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"},L9=ue(x({},OL),{"[class.ng-submitted]":"isSubmitted"}),tE=(()=>{let e=class e extends Wu{constructor(t){super(t)}};e.\u0275fac=function(i){return new(i||e)(h(Bi,2))},e.\u0275dir=N({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,o){i&2&&le("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:[Ve]});let n=e;return n})(),ks=(()=>{let e=class e extends Wu{constructor(t){super(t)}};e.\u0275fac=function(i){return new(i||e)(h(_r,10))},e.\u0275dir=N({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,o){i&2&&le("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:[Ve]});let n=e;return n})();var sl="VALID",zu="INVALID",Ss="PENDING",al="DISABLED",wr=class{},Gu=class extends wr{constructor(e,r){super(),this.value=e,this.source=r}},cl=class extends wr{constructor(e,r){super(),this.pristine=e,this.source=r}},dl=class extends wr{constructor(e,r){super(),this.touched=e,this.source=r}},Ts=class extends wr{constructor(e,r){super(),this.status=e,this.source=r}},mv=class extends wr{constructor(e){super(),this.source=e}},gv=class extends wr{constructor(e){super(),this.source=e}};function nE(n){return(eh(n)?n.validators:n)||null}function RL(n){return Array.isArray(n)?bv(n):n||null}function iE(n,e){return(eh(e)?e.asyncValidators:n)||null}function NL(n){return Array.isArray(n)?yv(n):n||null}function eh(n){return n!=null&&!Array.isArray(n)&&typeof n=="object"}function PL(n,e,r){let t=n.controls;if(!(e?Object.keys(t):t).length)throw new S(1e3,"");if(!t[r])throw new S(1001,"")}function FL(n,e,r){n._forEachChild((t,i)=>{if(r[i]===void 0)throw new S(1002,"")})}var qu=class{constructor(e,r){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=Ti(()=>this.statusReactive()),this.statusReactive=Qr(void 0),this._pristine=Ti(()=>this.pristineReactive()),this.pristineReactive=Qr(!0),this._touched=Ti(()=>this.touchedReactive()),this.touchedReactive=Qr(!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 status(){return fn(this.statusReactive)}set status(e){fn(()=>this.statusReactive.set(e))}get valid(){return this.status===sl}get invalid(){return this.status===zu}get pending(){return this.status==Ss}get disabled(){return this.status===al}get enabled(){return this.status!==al}get pristine(){return fn(this.pristineReactive)}set pristine(e){fn(()=>this.pristineReactive.set(e))}get dirty(){return!this.pristine}get touched(){return fn(this.touchedReactive)}set touched(e){fn(()=>this.touchedReactive.set(e))}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(LD(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(LD(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(jD(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(jD(e,this._rawAsyncValidators))}hasValidator(e){return Hu(this._rawValidators,e)}hasAsyncValidator(e){return Hu(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){let r=this.touched===!1;this.touched=!0;let t=e.sourceControl??this;this._parent&&!e.onlySelf&&this._parent.markAsTouched(ue(x({},e),{sourceControl:t})),r&&e.emitEvent!==!1&&this._events.next(new dl(!0,t))}markAllAsTouched(e={}){this.markAsTouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:this}),this._forEachChild(r=>r.markAllAsTouched(e))}markAsUntouched(e={}){let r=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let t=e.sourceControl??this;this._forEachChild(i=>{i.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 dl(!1,t))}markAsDirty(e={}){let r=this.pristine===!0;this.pristine=!1;let t=e.sourceControl??this;this._parent&&!e.onlySelf&&this._parent.markAsDirty(ue(x({},e),{sourceControl:t})),r&&e.emitEvent!==!1&&this._events.next(new cl(!1,t))}markAsPristine(e={}){let r=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let t=e.sourceControl??this;this._forEachChild(i=>{i.markAsPristine({onlySelf:!0,emitEvent:e.emitEvent})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e,t),r&&e.emitEvent!==!1&&this._events.next(new cl(!0,t))}markAsPending(e={}){this.status=Ss;let r=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new Ts(this.status,r)),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.markAsPending(ue(x({},e),{sourceControl:r}))}disable(e={}){let r=this._parentMarkedDirty(e.onlySelf);this.status=al,this.errors=null,this._forEachChild(i=>{i.disable(ue(x({},e),{onlySelf:!0}))}),this._updateValue();let t=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new Gu(this.value,t)),this._events.next(new Ts(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(ue(x({},e),{skipPristineCheck:r}),this),this._onDisabledChange.forEach(i=>i(!0))}enable(e={}){let r=this._parentMarkedDirty(e.onlySelf);this.status=sl,this._forEachChild(t=>{t.enable(ue(x({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(ue(x({},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={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let t=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===sl||this.status===Ss)&&this._runAsyncValidator(t,e.emitEvent)}let r=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new Gu(this.value,r)),this._events.next(new Ts(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(ue(x({},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()?al:sl}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e,r){if(this.asyncValidator){this.status=Ss,this._hasOwnPendingAsyncValidator={emitEvent:r!==!1};let t=qD(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(i=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(i,{emitEvent:r,shouldHaveEmitted:e})})}}_cancelExistingSubscription(){var e;if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let r=((e=this._hasOwnPendingAsyncValidator)==null?void 0:e.emitEvent)??!1;return this._hasOwnPendingAsyncValidator=null,r}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 Ts(this.status,r)),this._parent&&this._parent._updateControlsErrors(e,r,t)}_initObservables(){this.valueChanges=new $,this.statusChanges=new $}_calculateStatus(){return this._allControlsDisabled()?al:this.errors?zu:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Ss)?Ss:this._anyControlsHaveStatus(zu)?zu:sl}_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 cl(this.pristine,r))}_updateTouched(e={},r){this.touched=this._anyControlsTouched(),this._events.next(new dl(this.touched,r)),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,r)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){eh(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=RL(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=NL(this._rawAsyncValidators)}},Yu=class extends qu{constructor(e,r,t){super(nE(r),iE(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={}){FL(this,!0,e),Object.keys(e).forEach(t=>{PL(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 th=new D("CallSetDisabledState",{providedIn:"root",factory:()=>_v}),_v="always";function LL(n,e){return[...e.path,n]}function Zu(n,e,r=_v){var t,i;wv(n,e),e.valueAccessor.writeValue(n.value),(n.disabled||r==="always")&&((i=(t=e.valueAccessor).setDisabledState)==null||i.call(t,n.disabled)),VL(n,e),UL(n,e),BL(n,e),jL(n,e)}function VD(n,e,r=!0){let t=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(t),e.valueAccessor.registerOnTouched(t)),Ku(n,e),n&&(e._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}))}function Qu(n,e){n.forEach(r=>{r.registerOnValidatorChange&&r.registerOnValidatorChange(e)})}function jL(n,e){if(e.valueAccessor.setDisabledState){let r=t=>{e.valueAccessor.setDisabledState(t)};n.registerOnDisabledChange(r),e._registerOnDestroy(()=>{n._unregisterOnDisabledChange(r)})}}function wv(n,e){let r=JD(n);e.validator!==null?n.setValidators(FD(r,e.validator)):typeof r=="function"&&n.setValidators([r]);let t=eE(n);e.asyncValidator!==null?n.setAsyncValidators(FD(t,e.asyncValidator)):typeof t=="function"&&n.setAsyncValidators([t]);let i=()=>n.updateValueAndValidity();Qu(e._rawValidators,i),Qu(e._rawAsyncValidators,i)}function Ku(n,e){let r=!1;if(n!==null){if(e.validator!==null){let i=JD(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=eE(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 Qu(e._rawValidators,t),Qu(e._rawAsyncValidators,t),r}function VL(n,e){e.valueAccessor.registerOnChange(r=>{n._pendingValue=r,n._pendingChange=!0,n._pendingDirty=!0,n.updateOn==="change"&&rE(n,e)})}function BL(n,e){e.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,n.updateOn==="blur"&&n._pendingChange&&rE(n,e),n.updateOn!=="submit"&&n.markAsTouched()})}function rE(n,e){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function UL(n,e){let r=(t,i)=>{e.valueAccessor.writeValue(t),i&&e.viewToModelUpdate(t)};n.registerOnChange(r),e._registerOnDestroy(()=>{n._unregisterOnChange(r)})}function oE(n,e){n==null,wv(n,e)}function zL(n,e){return Ku(n,e)}function HL(n,e){if(!n.hasOwnProperty("model"))return!1;let r=n.model;return r.isFirstChange()?!0:!Object.is(e,r.currentValue)}function $L(n){return Object.getPrototypeOf(n.constructor)===bL}function sE(n,e){n._syncPendingControls(),e.forEach(r=>{let t=r.control;t.updateOn==="submit"&&t._pendingChange&&(r.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function WL(n,e){if(!e)return null;Array.isArray(e);let r,t,i;return e.forEach(o=>{o.constructor===Ju?r=o:$L(o)?t=o:i=o}),i||t||r||null}function GL(n,e){let r=n.indexOf(e);r>-1&&n.splice(r,1)}var qL={provide:_r,useExisting:xi(()=>Fn)},ll=Promise.resolve(),Fn=(()=>{let e=class e extends _r{get submitted(){return fn(this.submittedReactive)}constructor(t,i,o){super(),this.callSetDisabledState=o,this._submitted=Ti(()=>this.submittedReactive()),this.submittedReactive=Qr(!1),this._directives=new Set,this.ngSubmit=new $,this.form=new Yu({},bv(t),yv(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){ll.then(()=>{let i=this._findContainer(t.path);t.control=i.registerControl(t.name,t.control),Zu(t.control,t,this.callSetDisabledState),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){ll.then(()=>{let i=this._findContainer(t.path);i&&i.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){ll.then(()=>{let i=this._findContainer(t.path),o=new Yu({});oE(o,t),i.registerControl(t.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){ll.then(()=>{let i=this._findContainer(t.path);i&&i.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,i){ll.then(()=>{this.form.get(t.path).setValue(i)})}setValue(t){this.control.setValue(t)}onSubmit(t){var i;return this.submittedReactive.set(!0),sE(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.submittedReactive.set(!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(ul,10),h(vv,10),h(th,8))},e.\u0275dir=N({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,o){i&1&&U("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[ze([qL]),Ve]});let n=e;return n})();function BD(n,e){let r=n.indexOf(e);r>-1&&n.splice(r,1)}function UD(n){return typeof n=="object"&&n!==null&&Object.keys(n).length===2&&"value"in n&&"disabled"in n}var aE=class extends qu{constructor(e=null,r,t){super(nE(r),iE(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}),eh(r)&&(r.nonNullable||r.initialValueIsDefault)&&(UD(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){BD(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){BD(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){UD(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 YL=n=>n instanceof aE;var ZL={provide:Bi,useExisting:xi(()=>Cv)},zD=Promise.resolve(),Cv=(()=>{let e=class e extends Bi{constructor(t,i,o,s,a,l){super(),this._changeDetectorRef=a,this.callSetDisabledState=l,this.control=new aE,this._registered=!1,this.name="",this.update=new $,this._parent=t,this._setValidators(i),this._setAsyncValidators(o),this.valueAccessor=WL(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),HL(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(){Zu(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){zD.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&&ne(i);zD.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?LL(t,this._parent):[t]}};e.\u0275fac=function(i){return new(i||e)(h(_r,9),h(ul,10),h(vv,10),h(Xu,10),h(Ne,8),h(th,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([ZL]),Ve,$e]});let n=e;return n})(),Os=(()=>{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 QL={provide:_r,useExisting:xi(()=>hl)},hl=(()=>{let e=class e extends _r{get submitted(){return fn(this._submittedReactive)}set submitted(t){this._submittedReactive.set(t)}constructor(t,i,o){super(),this.callSetDisabledState=o,this._submitted=Ti(()=>this._submittedReactive()),this._submittedReactive=Qr(!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&&(Ku(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 Zu(i,t,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),i}getControl(t){return this.form.get(t.path)}removeControl(t){VD(t.control||null,t,!1),GL(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._submittedReactive.set(!0),sE(this.form,this.directives),this.ngSubmit.emit(t),this.form._events.next(new mv(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._submittedReactive.set(!1),this.form._events.next(new gv(this.form))}_updateDomValue(){this.directives.forEach(t=>{let i=t.control,o=this.form.get(t.path);i!==o&&(VD(i||null,t),YL(o)&&(Zu(o,t,this.callSetDisabledState),t.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){let i=this.form.get(t.path);oE(i,t),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){let i=this.form.get(t.path);i&&zL(i,t)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){wv(this.form,this),this._oldForm&&Ku(this._oldForm,this)}_checkFormPresent(){this.form}};e.\u0275fac=function(i){return new(i||e)(h(ul,10),h(vv,10),h(th,8))},e.\u0275dir=N({type:e,selectors:[["","formGroup",""]],hostBindings:function(i,o){i&1&&U("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[ze([QL]),Ve,$e]});let n=e;return n})();var KL=(()=>{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 lE=(()=>{let e=class e{static withConfig(t){return{ngModule:e,providers:[{provide:th,useValue:t.callSetDisabledState??_v}]}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({imports:[KL]});let n=e;return n})();var xv=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 ae(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(ce(r=>r.some(t=>t.target===e)),ac({bufferSize:1,refCount:!0}),xe(this._destroyed))),this._elementObservables.get(e)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},cE=(()=>{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 xv(o)),this._observers.get(o).observe(t)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();var XL=["notch"],JL=["matFormFieldNotchedOutline",""],ej=["*"],tj=["textField"],nj=["iconPrefixContainer"],ij=["textPrefixContainer"],rj=["iconSuffixContainer"],oj=["textSuffixContainer"],sj=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],aj=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function lj(n,e){n&1&&O(0,"span",21)}function cj(n,e){if(n&1&&(m(0,"label",20),pe(1,1),F(2,lj,1,0,"span",21),v()),n&2){let r=R(2);I("floating",r._shouldLabelFloat())("monitorResize",r._hasOutline())("id",r._labelId),we("for",r._control.disableAutomaticLabeling?null:r._control.id),_(2),Ge(!r.hideRequiredMarker&&r._control.required?2:-1)}}function dj(n,e){if(n&1&&F(0,cj,3,5,"label",20),n&2){let r=R();Ge(r._hasFloatingLabel()?0:-1)}}function uj(n,e){n&1&&O(0,"div",7)}function hj(n,e){}function fj(n,e){if(n&1&&F(0,hj,0,0,"ng-template",13),n&2){R(2);let r=Et(1);I("ngTemplateOutlet",r)}}function pj(n,e){if(n&1&&(m(0,"div",9),F(1,fj,1,1,null,13),v()),n&2){let r=R();I("matFormFieldNotchedOutlineOpen",r._shouldLabelFloat()),_(),Ge(r._forceDisplayInfixLabel()?-1:1)}}function mj(n,e){n&1&&(m(0,"div",10,2),pe(2,2),v())}function gj(n,e){n&1&&(m(0,"div",11,3),pe(2,3),v())}function vj(n,e){}function bj(n,e){if(n&1&&F(0,vj,0,0,"ng-template",13),n&2){R();let r=Et(1);I("ngTemplateOutlet",r)}}function yj(n,e){n&1&&(m(0,"div",14,4),pe(2,4),v())}function _j(n,e){n&1&&(m(0,"div",15,5),pe(2,5),v())}function wj(n,e){n&1&&O(0,"div",16)}function Cj(n,e){if(n&1&&(m(0,"div",18),pe(1,6),v()),n&2){let r=R();I("@transitionMessages",r._subscriptAnimationState)}}function xj(n,e){if(n&1&&(m(0,"mat-hint",22),C(1),v()),n&2){let r=R(2);I("id",r._hintLabelId),_(),ct(r.hintLabel)}}function Dj(n,e){if(n&1&&(m(0,"div",19),F(1,xj,2,2,"mat-hint",22),pe(2,7),O(3,"div",23),pe(4,8),v()),n&2){let r=R();I("@transitionMessages",r._subscriptAnimationState),_(),Ge(r.hintLabel?1:-1)}}var mi=(()=>{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 Ej=new D("MatError");var Ij=0,dE=(()=>{let e=class e{constructor(){this.align="start",this.id=`mat-mdc-hint-${Ij++}`}};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&&(un("id",o.id),we("align",null),le("mat-mdc-form-field-hint-end",o.align==="end"))},inputs:{align:"align",id:"id"},standalone:!0});let n=e;return n})(),Mj=new D("MatPrefix");var bE=new D("MatSuffix"),yE=(()=>{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:bE,useExisting:e}])]});let n=e;return n})(),_E=new D("FloatingLabelParent"),uE=(()=>{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(cE),this._ngZone=y(k),this._parent=y(_E),this._resizeSubscription=new me}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return Sj(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&&le("mdc-floating-label--float-above",o.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"},standalone:!0});let n=e;return n})();function Sj(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 hE="mdc-line-ripple--active",nh="mdc-line-ripple--deactivating",fE=(()=>{let e=class e{constructor(t,i){this._elementRef=t,this._handleTransitionEnd=o=>{let s=this._elementRef.nativeElement.classList,a=s.contains(nh);o.propertyName==="opacity"&&a&&s.remove(hE,nh)},i.runOutsideAngular(()=>{t.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){let t=this._elementRef.nativeElement.classList;t.remove(nh),t.add(hE)}deactivate(){this._elementRef.nativeElement.classList.add(nh)}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})(),pE=(()=>{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(${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&&Re(XL,5),i&2){let s;oe(s=se())&&(o._notch=s.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(i,o){i&2&&le("mdc-notched-outline--notched",o.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},standalone:!0,features:[Ae],attrs:JL,ngContentSelectors:ej,decls:5,vars:0,consts:[["notch",""],[1,"mat-mdc-notch-piece","mdc-notched-outline__leading"],[1,"mat-mdc-notch-piece","mdc-notched-outline__notch"],[1,"mat-mdc-notch-piece","mdc-notched-outline__trailing"]],template:function(i,o){i&1&&(Je(),O(0,"div",1),m(1,"div",2,0),pe(3),v(),O(4,"div",3))},encapsulation:2,changeDetection:0});let n=e;return n})(),Tj={transitionMessages:Pn("transitionMessages",[yn("enter",rt({opacity:1,transform:"translateY(0%)"})),Zt("void => enter",[rt({opacity:0,transform:"translateY(-5px)"}),bn("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},fl=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=N({type:e});let n=e;return n})();var pl=new D("MatFormField"),Dv=new D("MAT_FORM_FIELD_DEFAULT_OPTIONS"),mE=0,gE="fill",Aj="auto",vE="fixed",kj="translateY(-50%)",Cr=(()=>{let e=class e{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(t){this._hideRequiredMarker=li(t)}get floatLabel(){var t;return this._floatLabel||((t=this._defaults)==null?void 0:t.floatLabel)||Aj}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)||gE;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)||vE}set subscriptSizing(t){var i;this._subscriptSizing=t||((i=this._defaults)==null?void 0:i.subscriptSizing)||vE}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._labelChild=ww(mi),this._hideRequiredMarker=!1,this.color="primary",this._appearance=gE,this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId=`mat-mdc-form-field-label-${mE++}`,this._hintLabelId=`mat-mdc-hint-${mE++}`,this._subscriptAnimationState="",this._destroyed=new A,this._isFocused=null,this._needsOutlineLabelOffsetUpdate=!1,this._previousControl=null,this._injector=y(_e),this.getLabelId=Ti(()=>this._hasFloatingLabel()?this._labelId:null),this._hasFloatingLabel=Ti(()=>!!this._labelChild()),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._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl(),this._control!==this._previousControl&&(this._initializeControl(this._previousControl),this._previousControl=this._control)}ngOnDestroy(){var t,i;(t=this._stateChanges)==null||t.unsubscribe(),(i=this._valueChanges)==null||i.unsubscribe(),this._destroyed.next(),this._destroyed.complete()}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(t){var s,a;let i=this._control,o="mat-mdc-form-field-type-";t&&this._elementRef.nativeElement.classList.remove(o+t.controlType),i.controlType&&this._elementRef.nativeElement.classList.add(o+i.controlType),(s=this._stateChanges)==null||s.unsubscribe(),this._stateChanges=i.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),(a=this._valueChanges)==null||a.unsubscribe(),i.ngControl&&i.ngControl.valueChanges&&(this._valueChanges=i.ngControl.valueChanges.pipe(xe(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),ca(()=>{this._needsOutlineLabelOffsetUpdate&&(this._needsOutlineLabelOffsetUpdate=!1,this._updateOutlineLabelOffset())},{injector:this._injector}),this._dir.change.pipe(xe(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()}_shouldLabelFloat(){return this._hasFloatingLabel()?this._control.shouldLabelFloat||this._shouldAlwaysFloat():!1}_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 T,Y,Z,z;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=(T=this._iconPrefixContainer)==null?void 0:T.nativeElement,o=(Y=this._textPrefixContainer)==null?void 0:Y.nativeElement,s=(Z=this._iconSuffixContainer)==null?void 0:Z.nativeElement,a=(z=this._textSuffixContainer)==null?void 0:z.nativeElement,l=(i==null?void 0:i.getBoundingClientRect().width)??0,c=(o==null?void 0:o.getBoundingClientRect().width)??0,d=(s==null?void 0:s.getBoundingClientRect().width)??0,u=(a==null?void 0:a.getBoundingClientRect().width)??0,f=this._dir.value==="rtl"?"-1":"1",p=`${l+c}px`,w=`calc(${f} * (${p} + var(--mat-mdc-form-field-label-offset-x, 0px)))`;t.style.transform=`var( +var iM=Object.defineProperty,rM=Object.defineProperties;var oM=Object.getOwnPropertyDescriptors;var Dl=Object.getOwnPropertySymbols;var v_=Object.prototype.hasOwnProperty,__=Object.prototype.propertyIsEnumerable;var g_=(n,t,e)=>t in n?iM(n,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):n[t]=e,w=(n,t)=>{for(var e in t||={})v_.call(t,e)&&g_(n,e,t[e]);if(Dl)for(var e of Dl(t))__.call(t,e)&&g_(n,e,t[e]);return n},te=(n,t)=>rM(n,oM(t));var Pf=(n,t)=>{var e={};for(var i in n)v_.call(n,i)&&t.indexOf(i)<0&&(e[i]=n[i]);if(n!=null&&Dl)for(var i of Dl(n))t.indexOf(i)<0&&__.call(n,i)&&(e[i]=n[i]);return e};var Se=(n,t,e)=>new Promise((i,r)=>{var o=l=>{try{a(e.next(l))}catch(c){r(c)}},s=l=>{try{a(e.throw(l))}catch(c){r(c)}},a=l=>l.done?i(l.value):Promise.resolve(l.value).then(o,s);a((e=e.apply(n,t)).next())});function zf(n,t){return Object.is(n,t)}var et=null,Ns=!1,Uf=1,Dt=Symbol("SIGNAL");function be(n){let t=et;return et=n,t}function y_(){return et}function sM(){return Ns}var Tr={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 Il(n){if(Ns)throw new Error("");if(et===null)return;et.consumerOnSignalRead(n);let t=et.nextProducerIndex++;if(Sl(et),tn.nextProducerIndex;)n.producerNode.pop(),n.producerLastReadVersion.pop(),n.producerIndexOfThis.pop()}}function Ls(n){Sl(n);for(let t=0;t0}function Sl(n){n.producerNode??=[],n.producerIndexOfThis??=[],n.producerLastReadVersion??=[]}function D_(n){n.liveConsumerNode??=[],n.liveConsumerIndexOfThis??=[]}function E_(n){return n.producerNode!==void 0}function $f(n){let t=Object.create(lM);t.computation=n;let e=()=>{if(Hf(t),Il(t),t.value===El)throw t.error;return t.value};return e[Dt]=t,e}var Ff=Symbol("UNSET"),Lf=Symbol("COMPUTING"),El=Symbol("ERRORED"),lM=te(w({},Tr),{value:Ff,dirty:!0,error:null,equal:zf,producerMustRecompute(n){return n.value===Ff||n.value===Lf},producerRecomputeValue(n){if(n.value===Lf)throw new Error("Detected cycle in computations.");let t=n.value;n.value=Lf;let e=_o(n),i;try{i=n.computation()}catch(r){i=El,n.error=r}finally{Fs(n,e)}if(t!==Ff&&t!==El&&i!==El&&n.equal(t,i)){n.value=t;return}n.value=i,n.version++}});function cM(){throw new Error}var I_=cM;function M_(){I_()}function S_(n){I_=n}var Vf=null;function T_(n){let t=Object.create(Gf);t.value=n;let e=()=>(Il(t),t.value);return e[Dt]=t,e}function Tl(n,t){w_()||M_(),n.equal(n.value,t)||(n.value=t,dM(n))}function A_(n,t){w_()||M_(),Tl(n,t(n.value))}var Gf=te(w({},Tr),{equal:zf,value:void 0});function dM(n){n.version++,aM(),b_(n),Vf==null||Vf()}function k_(n,t,e){let i=Object.create(uM);e&&(i.consumerAllowSignalWrites=!0),i.fn=n,i.schedule=t;let r=l=>{i.cleanupFn=l};function o(l){return l.fn===null&&l.schedule===null}function s(l){o(l)||(yo(l),l.cleanupFn(),l.fn=null,l.schedule=null,l.cleanupFn=Bf)}let a=()=>{if(i.fn===null)return;if(sM())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(i.dirty=!1,i.hasRun&&!Ls(i))return;i.hasRun=!0;let l=_o(i);try{i.cleanupFn(),i.cleanupFn=Bf,i.fn(r)}finally{Fs(i,l)}};return i.ref={notify:()=>x_(i),run:a,cleanup:()=>i.cleanupFn(),destroy:()=>s(i),[Dt]:i},i.ref}var Bf=()=>{},uM=te(w({},Tr),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:n=>{n.schedule!==null&&n.schedule(n.ref)},hasRun:!1,cleanupFn:Bf});function Z(n){return typeof n=="function"}function Hi(n){let e=n(i=>{Error.call(i),i.stack=new Error().stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}var Al=Hi(n=>function(e){n(this),this.message=e?`${e.length} errors occurred during unsubscription: +${e.map((i,r)=>`${r+1}) ${i.toString()}`).join(` + `)}`:"",this.name="UnsubscriptionError",this.errors=e});function Ar(n,t){if(n){let e=n.indexOf(t);0<=e&&n.splice(e,1)}}var me=class n{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(let o of e)o.remove(this);else e.remove(this);let{initialTeardown:i}=this;if(Z(i))try{i()}catch(o){t=o instanceof Al?o.errors:[o]}let{_finalizers:r}=this;if(r){this._finalizers=null;for(let o of r)try{O_(o)}catch(s){t=t??[],s instanceof Al?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Al(t)}}add(t){var e;if(t&&t!==this)if(this.closed)O_(t);else{if(t instanceof n){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(e=this._finalizers)!==null&&e!==void 0?e:[]).push(t)}}_hasParent(t){let{_parentage:e}=this;return e===t||Array.isArray(e)&&e.includes(t)}_addParent(t){let{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t}_removeParent(t){let{_parentage:e}=this;e===t?this._parentage=null:Array.isArray(e)&&Ar(e,t)}remove(t){let{_finalizers:e}=this;e&&Ar(e,t),t instanceof n&&t._removeParent(this)}};me.EMPTY=(()=>{let n=new me;return n.closed=!0,n})();var Wf=me.EMPTY;function kl(n){return n instanceof me||n&&"closed"in n&&Z(n.remove)&&Z(n.add)&&Z(n.unsubscribe)}function O_(n){Z(n)?n():n.unsubscribe()}var wn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var bo={setTimeout(n,t,...e){let{delegate:i}=bo;return i!=null&&i.setTimeout?i.setTimeout(n,t,...e):setTimeout(n,t,...e)},clearTimeout(n){let{delegate:t}=bo;return((t==null?void 0:t.clearTimeout)||clearTimeout)(n)},delegate:void 0};function Ol(n){bo.setTimeout(()=>{let{onUnhandledError:t}=wn;if(t)t(n);else throw n})}function kr(){}var R_=qf("C",void 0,void 0);function N_(n){return qf("E",void 0,n)}function P_(n){return qf("N",n,void 0)}function qf(n,t,e){return{kind:n,value:t,error:e}}var Or=null;function wo(n){if(wn.useDeprecatedSynchronousErrorHandling){let t=!Or;if(t&&(Or={errorThrown:!1,error:null}),n(),t){let{errorThrown:e,error:i}=Or;if(Or=null,e)throw i}}else n()}function F_(n){wn.useDeprecatedSynchronousErrorHandling&&Or&&(Or.errorThrown=!0,Or.error=n)}var Rr=class extends me{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,kl(t)&&t.add(this)):this.destination=mM}static create(t,e,i){return new xn(t,e,i)}next(t){this.isStopped?Qf(P_(t),this):this._next(t)}error(t){this.isStopped?Qf(N_(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Qf(R_,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},fM=Function.prototype.bind;function Yf(n,t){return fM.call(n,t)}var Zf=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:e}=this;if(e.next)try{e.next(t)}catch(i){Rl(i)}}error(t){let{partialObserver:e}=this;if(e.error)try{e.error(t)}catch(i){Rl(i)}else Rl(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(e){Rl(e)}}},xn=class extends Rr{constructor(t,e,i){super();let r;if(Z(t)||!t)r={next:t??void 0,error:e??void 0,complete:i??void 0};else{let o;this&&wn.useDeprecatedNextContext?(o=Object.create(t),o.unsubscribe=()=>this.unsubscribe(),r={next:t.next&&Yf(t.next,o),error:t.error&&Yf(t.error,o),complete:t.complete&&Yf(t.complete,o)}):r=t}this.destination=new Zf(r)}};function Rl(n){wn.useDeprecatedSynchronousErrorHandling?F_(n):Ol(n)}function hM(n){throw n}function Qf(n,t){let{onStoppedNotification:e}=wn;e&&bo.setTimeout(()=>e(n,t))}var mM={closed:!0,next:kr,error:hM,complete:kr};var xo=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Rt(n){return n}function Kf(...n){return Xf(n)}function Xf(n){return n.length===0?Rt:n.length===1?n[0]:function(e){return n.reduce((i,r)=>r(i),e)}}var le=(()=>{class n{constructor(e){e&&(this._subscribe=e)}lift(e){let i=new n;return i.source=this,i.operator=e,i}subscribe(e,i,r){let o=gM(e)?e:new xn(e,i,r);return wo(()=>{let{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(e){try{return this._subscribe(e)}catch(i){e.error(i)}}forEach(e,i){return i=L_(i),new i((r,o)=>{let s=new xn({next:a=>{try{e(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:r});this.subscribe(s)})}_subscribe(e){var i;return(i=this.source)===null||i===void 0?void 0:i.subscribe(e)}[xo](){return this}pipe(...e){return Xf(e)(this)}toPromise(e){return e=L_(e),new e((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return n.create=t=>new n(t),n})();function L_(n){var t;return(t=n??wn.Promise)!==null&&t!==void 0?t:Promise}function pM(n){return n&&Z(n.next)&&Z(n.error)&&Z(n.complete)}function gM(n){return n&&n instanceof Rr||pM(n)&&kl(n)}function Jf(n){return Z(n==null?void 0:n.lift)}function ee(n){return t=>{if(Jf(t))return t.lift(function(e){try{return n(e,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function K(n,t,e,i,r){return new eh(n,t,e,i,r)}var eh=class extends Rr{constructor(t,e,i,r,o,s){super(t),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=e?function(a){try{e(a)}catch(l){t.error(l)}}:super._next,this._error=r?function(a){try{r(a)}catch(l){t.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:e}=this;super.unsubscribe(),!e&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function Co(){return ee((n,t)=>{let e=null;n._refCount++;let i=K(t,void 0,void 0,void 0,()=>{if(!n||n._refCount<=0||0<--n._refCount){e=null;return}let r=n._connection,o=e;e=null,r&&(!o||r===o)&&r.unsubscribe(),t.unsubscribe()});n.subscribe(i),i.closed||(e=n.connect())})}var Nr=class extends le{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,Jf(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){let t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:t}=this;this._subject=this._connection=null,t==null||t.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new me;let e=this.getSubject();t.add(this.source.subscribe(K(e,void 0,()=>{this._teardown(),e.complete()},i=>{this._teardown(),e.error(i)},()=>this._teardown()))),t.closed&&(this._connection=null,t=me.EMPTY)}return t}refCount(){return Co()(this)}};var V_=Hi(n=>function(){n(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var M=(()=>{class n extends le{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){let i=new Nl(this,this);return i.operator=e,i}_throwIfClosed(){if(this.closed)throw new V_}next(e){wo(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let i of this.currentObservers)i.next(e)}})}error(e){wo(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;let{observers:i}=this;for(;i.length;)i.shift().error(e)}})}complete(){wo(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:e}=this;for(;e.length;)e.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var e;return((e=this.observers)===null||e===void 0?void 0:e.length)>0}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e)}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}_innerSubscribe(e){let{hasError:i,isStopped:r,observers:o}=this;return i||r?Wf:(this.currentObservers=null,o.push(e),new me(()=>{this.currentObservers=null,Ar(o,e)}))}_checkFinalizedStatuses(e){let{hasError:i,thrownError:r,isStopped:o}=this;i?e.error(r):o&&e.complete()}asObservable(){let e=new le;return e.source=this,e}}return n.create=(t,e)=>new Nl(t,e),n})(),Nl=class extends M{constructor(t,e){super(),this.destination=t,this.source=e}next(t){var e,i;(i=(e=this.destination)===null||e===void 0?void 0:e.next)===null||i===void 0||i.call(e,t)}error(t){var e,i;(i=(e=this.destination)===null||e===void 0?void 0:e.error)===null||i===void 0||i.call(e,t)}complete(){var t,e;(e=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||e===void 0||e.call(t)}_subscribe(t){var e,i;return(i=(e=this.source)===null||e===void 0?void 0:e.subscribe(t))!==null&&i!==void 0?i:Wf}};var ut=class extends M{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let e=super._subscribe(t);return!e.closed&&t.next(this._value),e}getValue(){let{hasError:t,thrownError:e,_value:i}=this;if(t)throw e;return this._throwIfClosed(),i}next(t){super.next(this._value=t)}};var Vs={now(){return(Vs.delegate||Date).now()},delegate:void 0};var Pl=class extends M{constructor(t=1/0,e=1/0,i=Vs){super(),this._bufferSize=t,this._windowTime=e,this._timestampProvider=i,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,e)}next(t){let{isStopped:e,_buffer:i,_infiniteTimeWindow:r,_timestampProvider:o,_windowTime:s}=this;e||(i.push(t),!r&&i.push(o.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let e=this._innerSubscribe(t),{_infiniteTimeWindow:i,_buffer:r}=this,o=r.slice();for(let s=0;sj_(t)&&n()),t},clearImmediate(n){j_(n)}};var{setImmediate:_M,clearImmediate:yM}=B_,Bs={setImmediate(...n){let{delegate:t}=Bs;return((t==null?void 0:t.setImmediate)||_M)(...n)},clearImmediate(n){let{delegate:t}=Bs;return((t==null?void 0:t.clearImmediate)||yM)(n)},delegate:void 0};var Ll=class extends Do{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,i=0){return i!==null&&i>0?super.requestAsyncId(t,e,i):(t.actions.push(this),t._scheduled||(t._scheduled=Bs.setImmediate(t.flush.bind(t,void 0))))}recycleAsyncId(t,e,i=0){var r;if(i!=null?i>0:this.delay>0)return super.recycleAsyncId(t,e,i);let{actions:o}=t;e!=null&&((r=o[o.length-1])===null||r===void 0?void 0:r.id)!==e&&(Bs.clearImmediate(e),t._scheduled===e&&(t._scheduled=void 0))}};var Eo=class n{constructor(t,e=n.now){this.schedulerActionCtor=t,this.now=e}schedule(t,e=0,i){return new this.schedulerActionCtor(this,t).schedule(i,e)}};Eo.now=Vs.now;var Io=class extends Eo{constructor(t,e=Eo.now){super(t,e),this.actions=[],this._active=!1}flush(t){let{actions:e}=this;if(this._active){e.push(t);return}let i;this._active=!0;do if(i=t.execute(t.state,t.delay))break;while(t=e.shift());if(this._active=!1,i){for(;t=e.shift();)t.unsubscribe();throw i}}};var Vl=class extends Io{flush(t){this._active=!0;let e=this._scheduled;this._scheduled=void 0;let{actions:i}=this,r;t=t||i.shift();do if(r=t.execute(t.state,t.delay))break;while((t=i[0])&&t.id===e&&i.shift());if(this._active=!1,r){for(;(t=i[0])&&t.id===e&&i.shift();)t.unsubscribe();throw r}}};var zs=new Vl(Ll);var Cn=new Io(Do),z_=Cn;var ft=new le(n=>n.complete());function jl(n){return n&&Z(n.schedule)}function ih(n){return n[n.length-1]}function Bl(n){return Z(ih(n))?n.pop():void 0}function Bn(n){return jl(ih(n))?n.pop():void 0}function U_(n,t){return typeof ih(n)=="number"?n.pop():t}function $_(n,t,e,i){function r(o){return o instanceof e?o:new e(function(s){s(o)})}return new(e||(e=Promise))(function(o,s){function a(d){try{c(i.next(d))}catch(f){s(f)}}function l(d){try{c(i.throw(d))}catch(f){s(f)}}function c(d){d.done?o(d.value):r(d.value).then(a,l)}c((i=i.apply(n,t||[])).next())})}function H_(n){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&n[t],i=0;if(e)return e.call(n);if(n&&typeof n.length=="number")return{next:function(){return n&&i>=n.length&&(n=void 0),{value:n&&n[i++],done:!n}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Pr(n){return this instanceof Pr?(this.v=n,this):new Pr(n)}function G_(n,t,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=e.apply(n,t||[]),r,o=[];return r=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),r[Symbol.asyncIterator]=function(){return this},r;function s(h){return function(v){return Promise.resolve(v).then(h,f)}}function a(h,v){i[h]&&(r[h]=function(_){return new Promise(function(I,k){o.push([h,_,I,k])>1||l(h,_)})},v&&(r[h]=v(r[h])))}function l(h,v){try{c(i[h](v))}catch(_){g(o[0][3],_)}}function c(h){h.value instanceof Pr?Promise.resolve(h.value.v).then(d,f):g(o[0][2],h)}function d(h){l("next",h)}function f(h){l("throw",h)}function g(h,v){h(v),o.shift(),o.length&&l(o[0][0],o[0][1])}}function W_(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=n[Symbol.asyncIterator],e;return t?t.call(n):(n=typeof H_=="function"?H_(n):n[Symbol.iterator](),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(o){e[o]=n[o]&&function(s){return new Promise(function(a,l){s=n[o](s),r(a,l,s.done,s.value)})}}function r(o,s,a,l){Promise.resolve(l).then(function(c){o({value:c,done:a})},s)}}var Mo=n=>n&&typeof n.length=="number"&&typeof n!="function";function zl(n){return Z(n==null?void 0:n.then)}function Ul(n){return Z(n[xo])}function Hl(n){return Symbol.asyncIterator&&Z(n==null?void 0:n[Symbol.asyncIterator])}function $l(n){return new TypeError(`You provided ${n!==null&&typeof n=="object"?"an invalid object":`'${n}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function bM(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Gl=bM();function Wl(n){return Z(n==null?void 0:n[Gl])}function ql(n){return G_(this,arguments,function*(){let e=n.getReader();try{for(;;){let{value:i,done:r}=yield Pr(e.read());if(r)return yield Pr(void 0);yield yield Pr(i)}}finally{e.releaseLock()}})}function Yl(n){return Z(n==null?void 0:n.getReader)}function Ee(n){if(n instanceof le)return n;if(n!=null){if(Ul(n))return wM(n);if(Mo(n))return xM(n);if(zl(n))return CM(n);if(Hl(n))return q_(n);if(Wl(n))return DM(n);if(Yl(n))return EM(n)}throw $l(n)}function wM(n){return new le(t=>{let e=n[xo]();if(Z(e.subscribe))return e.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function xM(n){return new le(t=>{for(let e=0;e{n.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,Ol)})}function DM(n){return new le(t=>{for(let e of n)if(t.next(e),t.closed)return;t.complete()})}function q_(n){return new le(t=>{IM(n,t).catch(e=>t.error(e))})}function EM(n){return q_(ql(n))}function IM(n,t){var e,i,r,o;return $_(this,void 0,void 0,function*(){try{for(e=W_(n);i=yield e.next(),!i.done;){let s=i.value;if(t.next(s),t.closed)return}}catch(s){r={error:s}}finally{try{i&&!i.done&&(o=e.return)&&(yield o.call(e))}finally{if(r)throw r.error}}t.complete()})}function Et(n,t,e,i=0,r=!1){let o=t.schedule(function(){e(),r?n.add(this.schedule(null,i)):this.unsubscribe()},i);if(n.add(o),!r)return o}function Ql(n,t=0){return ee((e,i)=>{e.subscribe(K(i,r=>Et(i,n,()=>i.next(r),t),()=>Et(i,n,()=>i.complete(),t),r=>Et(i,n,()=>i.error(r),t)))})}function Zl(n,t=0){return ee((e,i)=>{i.add(n.schedule(()=>e.subscribe(i),t))})}function Y_(n,t){return Ee(n).pipe(Zl(t),Ql(t))}function Q_(n,t){return Ee(n).pipe(Zl(t),Ql(t))}function Z_(n,t){return new le(e=>{let i=0;return t.schedule(function(){i===n.length?e.complete():(e.next(n[i++]),e.closed||this.schedule())})})}function K_(n,t){return new le(e=>{let i;return Et(e,t,()=>{i=n[Gl](),Et(e,t,()=>{let r,o;try{({value:r,done:o}=i.next())}catch(s){e.error(s);return}o?e.complete():e.next(r)},0,!0)}),()=>Z(i==null?void 0:i.return)&&i.return()})}function Kl(n,t){if(!n)throw new Error("Iterable cannot be null");return new le(e=>{Et(e,t,()=>{let i=n[Symbol.asyncIterator]();Et(e,t,()=>{i.next().then(r=>{r.done?e.complete():e.next(r.value)})},0,!0)})})}function X_(n,t){return Kl(ql(n),t)}function J_(n,t){if(n!=null){if(Ul(n))return Y_(n,t);if(Mo(n))return Z_(n,t);if(zl(n))return Q_(n,t);if(Hl(n))return Kl(n,t);if(Wl(n))return K_(n,t);if(Yl(n))return X_(n,t)}throw $l(n)}function Fe(n,t){return t?J_(n,t):Ee(n)}function U(...n){let t=Bn(n);return Fe(n,t)}function So(n,t){let e=Z(n)?n:()=>n,i=r=>r.error(e());return new le(t?r=>t.schedule(i,0,r):i)}function To(n){return!!n&&(n instanceof le||Z(n.lift)&&Z(n.subscribe))}var Dn=Hi(n=>function(){n(this),this.name="EmptyError",this.message="no elements in sequence"});function Xl(n,t){let e=typeof t=="object";return new Promise((i,r)=>{let o=new xn({next:s=>{i(s),o.unsubscribe()},error:r,complete:()=>{e?i(t.defaultValue):r(new Dn)}});n.subscribe(o)})}function Jl(n){return n instanceof Date&&!isNaN(n)}var MM=Hi(n=>function(e=null){n(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=e});function rh(n,t){let{first:e,each:i,with:r=SM,scheduler:o=t??Cn,meta:s=null}=Jl(n)?{first:n}:typeof n=="number"?{each:n}:n;if(e==null&&i==null)throw new TypeError("No timeout provided.");return ee((a,l)=>{let c,d,f=null,g=0,h=v=>{d=Et(l,o,()=>{try{c.unsubscribe(),Ee(r({meta:s,lastValue:f,seen:g})).subscribe(l)}catch(_){l.error(_)}},v)};c=a.subscribe(K(l,v=>{d==null||d.unsubscribe(),g++,l.next(f=v),i>0&&h(i)},void 0,void 0,()=>{d!=null&&d.closed||d==null||d.unsubscribe(),f=null})),!g&&h(e!=null?typeof e=="number"?e:+e-o.now():i)})}function SM(n){throw new MM(n)}function Y(n,t){return ee((e,i)=>{let r=0;e.subscribe(K(i,o=>{i.next(n.call(t,o,r++))}))})}var{isArray:TM}=Array;function AM(n,t){return TM(t)?n(...t):n(t)}function Ao(n){return Y(t=>AM(n,t))}var{isArray:kM}=Array,{getPrototypeOf:OM,prototype:RM,keys:NM}=Object;function ec(n){if(n.length===1){let t=n[0];if(kM(t))return{args:t,keys:null};if(PM(t)){let e=NM(t);return{args:e.map(i=>t[i]),keys:e}}}return{args:n,keys:null}}function PM(n){return n&&typeof n=="object"&&OM(n)===RM}function tc(n,t){return n.reduce((e,i,r)=>(e[i]=t[r],e),{})}function Fr(...n){let t=Bn(n),e=Bl(n),{args:i,keys:r}=ec(n);if(i.length===0)return Fe([],t);let o=new le(FM(i,t,r?s=>tc(r,s):Rt));return e?o.pipe(Ao(e)):o}function FM(n,t,e=Rt){return i=>{ey(t,()=>{let{length:r}=n,o=new Array(r),s=r,a=r;for(let l=0;l{let c=Fe(n[l],t),d=!1;c.subscribe(K(i,f=>{o[l]=f,d||(d=!0,a--),a||i.next(e(o.slice()))},()=>{--s||i.complete()}))},i)},i)}}function ey(n,t,e){n?Et(e,n,t):t()}function ty(n,t,e,i,r,o,s,a){let l=[],c=0,d=0,f=!1,g=()=>{f&&!l.length&&!c&&t.complete()},h=_=>c{o&&t.next(_),c++;let I=!1;Ee(e(_,d++)).subscribe(K(t,k=>{r==null||r(k),o?h(k):t.next(k)},()=>{I=!0},void 0,()=>{if(I)try{for(c--;l.length&&cv(k)):v(k)}g()}catch(k){t.error(k)}}))};return n.subscribe(K(t,h,()=>{f=!0,g()})),()=>{a==null||a()}}function Ge(n,t,e=1/0){return Z(t)?Ge((i,r)=>Y((o,s)=>t(i,o,r,s))(Ee(n(i,r))),e):(typeof t=="number"&&(e=t),ee((i,r)=>ty(i,r,n,e)))}function $i(n=1/0){return Ge(Rt,n)}function ny(){return $i(1)}function zn(...n){return ny()(Fe(n,Bn(n)))}function Un(n){return new le(t=>{Ee(n()).subscribe(t)})}function oh(...n){let t=Bl(n),{args:e,keys:i}=ec(n),r=new le(o=>{let{length:s}=e;if(!s){o.complete();return}let a=new Array(s),l=s,c=s;for(let d=0;d{f||(f=!0,c--),a[d]=g},()=>l--,void 0,()=>{(!l||!f)&&(c||o.next(i?tc(i,a):a),o.complete())}))}});return t?r.pipe(Ao(t)):r}var LM=["addListener","removeListener"],VM=["addEventListener","removeEventListener"],jM=["on","off"];function hi(n,t,e,i){if(Z(e)&&(i=e,e=void 0),i)return hi(n,t,e).pipe(Ao(i));let[r,o]=UM(n)?VM.map(s=>a=>n[s](t,a,e)):BM(n)?LM.map(iy(n,t)):zM(n)?jM.map(iy(n,t)):[];if(!r&&Mo(n))return Ge(s=>hi(s,t,e))(Ee(n));if(!r)throw new TypeError("Invalid event target");return new le(s=>{let a=(...l)=>s.next(1o(a)})}function iy(n,t){return e=>i=>n[e](t,i)}function BM(n){return Z(n.addListener)&&Z(n.removeListener)}function zM(n){return Z(n.on)&&Z(n.off)}function UM(n){return Z(n.addEventListener)&&Z(n.removeEventListener)}function ko(n=0,t,e=z_){let i=-1;return t!=null&&(jl(t)?e=t:i=t),new le(r=>{let o=Jl(n)?+n-e.now():n;o<0&&(o=0);let s=0;return e.schedule(function(){r.closed||(r.next(s++),0<=i?this.schedule(void 0,i):r.complete())},o)})}function sh(n=0,t=Cn){return n<0&&(n=0),ko(n,n,t)}function bt(...n){let t=Bn(n),e=U_(n,1/0),i=n;return i.length?i.length===1?Ee(i[0]):$i(e)(Fe(i,t)):ft}function ne(n,t){return ee((e,i)=>{let r=0;e.subscribe(K(i,o=>n.call(t,o,r++)&&i.next(o)))})}function ry(n){return ee((t,e)=>{let i=!1,r=null,o=null,s=!1,a=()=>{if(o==null||o.unsubscribe(),o=null,i){i=!1;let c=r;r=null,e.next(c)}s&&e.complete()},l=()=>{o=null,s&&e.complete()};t.subscribe(K(e,c=>{i=!0,r=c,o||Ee(n(c)).subscribe(o=K(e,a,l))},()=>{s=!0,(!i||!o||o.closed)&&e.complete()}))})}function nc(n,t=Cn){return ry(()=>ko(n,t))}function Gi(n){return ee((t,e)=>{let i=null,r=!1,o;i=t.subscribe(K(e,void 0,void 0,s=>{o=Ee(n(s,Gi(n)(t))),i?(i.unsubscribe(),i=null,o.subscribe(e)):r=!0})),r&&(i.unsubscribe(),i=null,o.subscribe(e))})}function oy(n,t,e,i,r){return(o,s)=>{let a=e,l=t,c=0;o.subscribe(K(s,d=>{let f=c++;l=a?n(l,d,f):(a=!0,d),i&&s.next(l)},r&&(()=>{a&&s.next(l),s.complete()})))}}function mi(n,t){return Z(t)?Ge(n,t,1):Ge(n,1)}function Lr(n,t=Cn){return ee((e,i)=>{let r=null,o=null,s=null,a=()=>{if(r){r.unsubscribe(),r=null;let c=o;o=null,i.next(c)}};function l(){let c=s+n,d=t.now();if(d{o=c,s=t.now(),r||(r=t.schedule(l,n),i.add(r))},()=>{a(),i.complete()},void 0,()=>{o=r=null}))})}function Wi(n){return ee((t,e)=>{let i=!1;t.subscribe(K(e,r=>{i=!0,e.next(r)},()=>{i||e.next(n),e.complete()}))})}function Be(n){return n<=0?()=>ft:ee((t,e)=>{let i=0;t.subscribe(K(e,r=>{++i<=n&&(e.next(r),n<=i&&e.complete())}))})}function sy(){return ee((n,t)=>{n.subscribe(K(t,kr))})}function Us(n){return Y(()=>n)}function ah(n,t){return t?e=>zn(t.pipe(Be(1),sy()),e.pipe(ah(n))):Ge((e,i)=>Ee(n(e,i)).pipe(Be(1),Us(e)))}function ic(n,t=Cn){let e=ko(n,t);return ah(()=>e)}function qi(n,t=Rt){return n=n??HM,ee((e,i)=>{let r,o=!0;e.subscribe(K(i,s=>{let a=t(s);(o||!n(r,a))&&(o=!1,r=a,i.next(s))}))})}function HM(n,t){return n===t}function rc(n=$M){return ee((t,e)=>{let i=!1;t.subscribe(K(e,r=>{i=!0,e.next(r)},()=>i?e.complete():e.error(n())))})}function $M(){return new Dn}function Yi(n){return ee((t,e)=>{try{t.subscribe(e)}finally{e.add(n)}})}function Hn(n,t){let e=arguments.length>=2;return i=>i.pipe(n?ne((r,o)=>n(r,o,i)):Rt,Be(1),e?Wi(t):rc(()=>new Dn))}function Oo(n){return n<=0?()=>ft:ee((t,e)=>{let i=[];t.subscribe(K(e,r=>{i.push(r),n{for(let r of i)e.next(r);e.complete()},void 0,()=>{i=null}))})}function lh(n,t){let e=arguments.length>=2;return i=>i.pipe(n?ne((r,o)=>n(r,o,i)):Rt,Oo(1),e?Wi(t):rc(()=>new Dn))}function oc(){return ee((n,t)=>{let e,i=!1;n.subscribe(K(t,r=>{let o=e;e=r,i&&t.next([o,r]),i=!0}))})}function ch(n,t){return ee(oy(n,t,arguments.length>=2,!0))}function ay(n={}){let{connector:t=()=>new M,resetOnError:e=!0,resetOnComplete:i=!0,resetOnRefCountZero:r=!0}=n;return o=>{let s,a,l,c=0,d=!1,f=!1,g=()=>{a==null||a.unsubscribe(),a=void 0},h=()=>{g(),s=l=void 0,d=f=!1},v=()=>{let _=s;h(),_==null||_.unsubscribe()};return ee((_,I)=>{c++,!f&&!d&&g();let k=l=l??t();I.add(()=>{c--,c===0&&!f&&!d&&(a=dh(v,r))}),k.subscribe(I),!s&&c>0&&(s=new xn({next:ae=>k.next(ae),error:ae=>{f=!0,g(),a=dh(h,e,ae),k.error(ae)},complete:()=>{d=!0,g(),a=dh(h,i),k.complete()}}),Ee(_).subscribe(s))})(o)}}function dh(n,t,...e){if(t===!0){n();return}if(t===!1)return;let i=new xn({next:()=>{i.unsubscribe(),n()}});return Ee(t(...e)).subscribe(i)}function sc(n,t,e){let i,r=!1;return n&&typeof n=="object"?{bufferSize:i=1/0,windowTime:t=1/0,refCount:r=!1,scheduler:e}=n:i=n??1/0,ay({connector:()=>new Pl(i,t,e),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:r})}function Hs(n){return ne((t,e)=>n<=e)}function Ke(...n){let t=Bn(n);return ee((e,i)=>{(t?zn(n,e,t):zn(n,e)).subscribe(i)})}function tt(n,t){return ee((e,i)=>{let r=null,o=0,s=!1,a=()=>s&&!r&&i.complete();e.subscribe(K(i,l=>{r==null||r.unsubscribe();let c=0,d=o++;Ee(n(l,d)).subscribe(r=K(i,f=>i.next(t?t(l,f,d,c++):f),()=>{r=null,a()}))},()=>{s=!0,a()}))})}function we(n){return ee((t,e)=>{Ee(n).subscribe(K(e,()=>e.complete(),kr)),!e.closed&&t.subscribe(e)})}function uh(n,t=!1){return ee((e,i)=>{let r=0;e.subscribe(K(i,o=>{let s=n(o,r++);(s||t)&&i.next(o),!s&&i.complete()}))})}function Xe(n,t,e){let i=Z(n)||t||e?{next:n,error:t,complete:e}:n;return i?ee((r,o)=>{var s;(s=i.subscribe)===null||s===void 0||s.call(i);let a=!0;r.subscribe(K(o,l=>{var c;(c=i.next)===null||c===void 0||c.call(i,l),o.next(l)},()=>{var l;a=!1,(l=i.complete)===null||l===void 0||l.call(i),o.complete()},l=>{var c;a=!1,(c=i.error)===null||c===void 0||c.call(i,l),o.error(l)},()=>{var l,c;a&&((l=i.unsubscribe)===null||l===void 0||l.call(i)),(c=i.finalize)===null||c===void 0||c.call(i)}))}):Rt}var Xy="https://g.co/ng/security#xss",E=class extends Error{code;constructor(t,e){super(Jc(t,e)),this.code=t}};function Jc(n,t){return`${`NG0${Math.abs(n)}`}${t?": "+t:""}`}var Jy=Symbol("InputSignalNode#UNSET"),GM=te(w({},Gf),{transformFn:void 0,applyValueToInputSignal(n,t){Tl(n,t)}});function eb(n,t){let e=Object.create(GM);e.value=n,e.transformFn=t==null?void 0:t.transform;function i(){if(Il(e),e.value===Jy)throw new E(-950,!1);return e.value}return i[Dt]=e,i}function na(n){return{toString:n}.toString()}var ac="__parameters__";function WM(n){return function(...e){if(n){let i=n(...e);for(let r in i)this[r]=i[r]}}}function tb(n,t,e){return na(()=>{let i=WM(t);function r(...o){if(this instanceof r)return i.apply(this,o),this;let s=new r(...o);return a.annotation=s,a;function a(l,c,d){let f=l.hasOwnProperty(ac)?l[ac]:Object.defineProperty(l,ac,{value:[]})[ac];for(;f.length<=d;)f.push(null);return(f[d]=f[d]||[]).push(s),l}}return e&&(r.prototype=Object.create(e.prototype)),r.prototype.ngMetadataName=n,r.annotationCls=r,r})}var Qt=globalThis;function Le(n){for(let t in n)if(n[t]===Le)return t;throw Error("Could not find renamed property on target object.")}function qM(n,t){for(let e in t)t.hasOwnProperty(e)&&!n.hasOwnProperty(e)&&(n[e]=t[e])}function Pt(n){if(typeof n=="string")return n;if(Array.isArray(n))return"["+n.map(Pt).join(", ")+"]";if(n==null)return""+n;if(n.overriddenName)return`${n.overriddenName}`;if(n.name)return`${n.name}`;let t=n.toString();if(t==null)return""+t;let e=t.indexOf(` +`);return e===-1?t:t.substring(0,e)}function Ch(n,t){return n==null||n===""?t===null?"":t:t==null||t===""?n:n+" "+t}var YM=Le({__forward_ref__:Le});function Kn(n){return n.__forward_ref__=Kn,n.toString=function(){return Pt(this())},n}function wt(n){return nb(n)?n():n}function nb(n){return typeof n=="function"&&n.hasOwnProperty(YM)&&n.__forward_ref__===Kn}function C(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 ed(n){return ly(n,rb)||ly(n,ob)}function ib(n){return ed(n)!==null}function ly(n,t){return n.hasOwnProperty(t)?n[t]:null}function QM(n){let t=n&&(n[rb]||n[ob]);return t||null}function cy(n){return n&&(n.hasOwnProperty(dy)||n.hasOwnProperty(ZM))?n[dy]:null}var rb=Le({\u0275prov:Le}),dy=Le({\u0275inj:Le}),ob=Le({ngInjectableDef:Le}),ZM=Le({ngInjectorDef:Le}),x=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,e){this._desc=t,this.\u0275prov=void 0,typeof e=="number"?this.__NG_ELEMENT_ID__=e:e!==void 0&&(this.\u0275prov=C({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function sb(n){return n&&!!n.\u0275providers}var KM=Le({\u0275cmp:Le}),XM=Le({\u0275dir:Le}),JM=Le({\u0275pipe:Le}),eS=Le({\u0275mod:Le}),wc=Le({\u0275fac:Le}),Ws=Le({__NG_ELEMENT_ID__:Le}),uy=Le({__NG_ENV_ID__:Le});function Wn(n){return typeof n=="string"?n:n==null?"":String(n)}function tS(n){return typeof n=="function"?n.name||n.toString():typeof n=="object"&&n!=null&&typeof n.type=="function"?n.type.name||n.type.toString():Wn(n)}function nS(n,t){let e=t?`. Dependency path: ${t.join(" > ")} > ${n}`:"";throw new E(-200,n)}function Em(n,t){throw new E(-201,!1)}var ve=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}(ve||{}),Dh;function ab(){return Dh}function Vt(n){let t=Dh;return Dh=n,t}function lb(n,t,e){let i=ed(n);if(i&&i.providedIn=="root")return i.value===void 0?i.value=i.factory():i.value;if(e&ve.Optional)return null;if(t!==void 0)return t;Em(n,"Injector")}var iS={},Ys=iS,Eh="__NG_DI_FLAG__",xc="ngTempTokenPath",rS="ngTokenPath",oS=/\n/gm,sS="\u0275",fy="__source",Lo;function aS(){return Lo}function Qi(n){let t=Lo;return Lo=n,t}function lS(n,t=ve.Default){if(Lo===void 0)throw new E(-203,!1);return Lo===null?lb(n,void 0,t):Lo.get(n,t&ve.Optional?null:void 0,t)}function O(n,t=ve.Default){return(ab()||lS)(wt(n),t)}function u(n,t=ve.Default){return O(n,td(t))}function td(n){return typeof n>"u"||typeof n=="number"?n:0|(n.optional&&8)|(n.host&&1)|(n.self&&2)|(n.skipSelf&&4)}function Ih(n){let t=[];for(let e=0;e ");else if(typeof t=="object"){let o=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];o.push(s+":"+(typeof a=="string"?JSON.stringify(a):Pt(a)))}r=`{${o.join(", ")}}`}return`${e}${i?"("+i+")":""}[${r}]: ${n.replace(oS,` + `)}`}var ia=cb(tb("Optional"),8);var Im=cb(tb("SkipSelf"),4);function Br(n,t){let e=n.hasOwnProperty(wc);return e?n[wc]:null}function fS(n,t,e){if(n.length!==t.length)return!1;for(let i=0;iArray.isArray(e)?Mm(e,t):t(e))}function db(n,t,e){t>=n.length?n.push(e):n.splice(t,0,e)}function Cc(n,t){return t>=n.length-1?n.pop():n.splice(t,1)[0]}function mS(n,t){let e=[];for(let i=0;it;){let o=r-2;n[r]=n[o],r--}n[t]=e,n[t+1]=i}}function nd(n,t,e){let i=ra(n,t);return i>=0?n[i|1]=e:(i=~i,pS(n,i,t,e)),i}function fh(n,t){let e=ra(n,t);if(e>=0)return n[e|1]}function ra(n,t){return gS(n,t,1)}function gS(n,t,e){let i=0,r=n.length>>e;for(;r!==i;){let o=i+(r-i>>1),s=n[o<t?r=o:i=o+1}return~(r<{e.push(s)};return Mm(t,s=>{let a=s;Mh(a,o,[],i)&&(r||=[],r.push(a))}),r!==void 0&&vb(r,o),e}function vb(n,t){for(let e=0;e{t(o,i)})}}function Mh(n,t,e,i){if(n=wt(n),!n)return!1;let r=null,o=cy(n),s=!o&&gi(n);if(!o&&!s){let l=n.ngModule;if(o=cy(l),o)r=l;else return!1}else{if(s&&!s.standalone)return!1;r=n}let a=i.has(r);if(s){if(a)return!1;if(i.add(r),s.dependencies){let l=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of l)Mh(c,t,e,i)}}else if(o){if(o.imports!=null&&!a){i.add(r);let c;try{Mm(o.imports,d=>{Mh(d,t,e,i)&&(c||=[],c.push(d))})}finally{}c!==void 0&&vb(c,t)}if(!a){let c=Br(r)||(()=>new r);t({provide:r,useFactory:c,deps:Nt},r),t({provide:fb,useValue:r,multi:!0},r),t({provide:jo,useValue:()=>O(r),multi:!0},r)}let l=o.providers;if(l!=null&&!a){let c=n;Tm(l,d=>{t(d,c)})}}else return!1;return r!==n&&n.providers!==void 0}function Tm(n,t){for(let e of n)sb(e)&&(e=e.\u0275providers),Array.isArray(e)?Tm(e,t):t(e)}var _S=Le({provide:String,useValue:Le});function _b(n){return n!==null&&typeof n=="object"&&_S in n}function yS(n){return!!(n&&n.useExisting)}function bS(n){return!!(n&&n.useFactory)}function Bo(n){return typeof n=="function"}function wS(n){return!!n.useClass}var rd=new x(""),pc={},xS={},hh;function od(){return hh===void 0&&(hh=new Dc),hh}var ht=class{},Qs=class extends ht{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,e,i,r){super(),this.parent=e,this.source=i,this.scopes=r,Th(t,s=>this.processProvider(s)),this.records.set(ub,Ro(void 0,this)),r.has("environment")&&this.records.set(ht,Ro(void 0,this));let o=this.records.get(rd);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(fb,Nt,ve.Self))}destroy(){$s(this),this._destroyed=!0;let t=be(null);try{for(let i of this._ngOnDestroyHooks)i.ngOnDestroy();let e=this._onDestroyHooks;this._onDestroyHooks=[];for(let i of e)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),be(t)}}onDestroy(t){return $s(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){$s(this);let e=Qi(this),i=Vt(void 0),r;try{return t()}finally{Qi(e),Vt(i)}}get(t,e=Ys,i=ve.Default){if($s(this),t.hasOwnProperty(uy))return t[uy](this);i=td(i);let r,o=Qi(this),s=Vt(void 0);try{if(!(i&ve.SkipSelf)){let l=this.records.get(t);if(l===void 0){let c=MS(t)&&ed(t);c&&this.injectableDefInScope(c)?l=Ro(Sh(t),pc):l=null,this.records.set(t,l)}if(l!=null)return this.hydrate(t,l)}let a=i&ve.Self?od():this.parent;return e=i&ve.Optional&&e===Ys?null:e,a.get(t,e)}catch(a){if(a.name==="NullInjectorError"){if((a[xc]=a[xc]||[]).unshift(Pt(t)),o)throw a;return dS(a,t,"R3InjectorError",this.source)}else throw a}finally{Vt(s),Qi(o)}}resolveInjectorInitializers(){let t=be(null),e=Qi(this),i=Vt(void 0),r;try{let o=this.get(jo,Nt,ve.Self);for(let s of o)s()}finally{Qi(e),Vt(i),be(t)}}toString(){let t=[],e=this.records;for(let i of e.keys())t.push(Pt(i));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=wt(t);let e=Bo(t)?t:wt(t&&t.provide),i=DS(t);if(!Bo(t)&&t.multi===!0){let r=this.records.get(e);r||(r=Ro(void 0,pc,!0),r.factory=()=>Ih(r.multi),this.records.set(e,r)),e=t,r.multi.push(t)}this.records.set(e,i)}hydrate(t,e){let i=be(null);try{return e.value===pc&&(e.value=xS,e.value=e.factory()),typeof e.value=="object"&&e.value&&IS(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}finally{be(i)}}injectableDefInScope(t){if(!t.providedIn)return!1;let e=wt(t.providedIn);return typeof e=="string"?e==="any"||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(t){let e=this._onDestroyHooks.indexOf(t);e!==-1&&this._onDestroyHooks.splice(e,1)}};function Sh(n){let t=ed(n),e=t!==null?t.factory:Br(n);if(e!==null)return e;if(n instanceof x)throw new E(204,!1);if(n instanceof Function)return CS(n);throw new E(204,!1)}function CS(n){if(n.length>0)throw new E(204,!1);let e=QM(n);return e!==null?()=>e.factory(n):()=>new n}function DS(n){if(_b(n))return Ro(void 0,n.useValue);{let t=yb(n);return Ro(t,pc)}}function yb(n,t,e){let i;if(Bo(n)){let r=wt(n);return Br(r)||Sh(r)}else if(_b(n))i=()=>wt(n.useValue);else if(bS(n))i=()=>n.useFactory(...Ih(n.deps||[]));else if(yS(n))i=()=>O(wt(n.useExisting));else{let r=wt(n&&(n.useClass||n.provide));if(ES(n))i=()=>new r(...Ih(n.deps));else return Br(r)||Sh(r)}return i}function $s(n){if(n.destroyed)throw new E(205,!1)}function Ro(n,t,e=!1){return{factory:n,value:t,multi:e?[]:void 0}}function ES(n){return!!n.deps}function IS(n){return n!==null&&typeof n=="object"&&typeof n.ngOnDestroy=="function"}function MS(n){return typeof n=="function"||typeof n=="object"&&n instanceof x}function Th(n,t){for(let e of n)Array.isArray(e)?Th(e,t):e&&sb(e)?Th(e.\u0275providers,t):t(e)}function Bt(n,t){n instanceof Qs&&$s(n);let e,i=Qi(n),r=Vt(void 0);try{return t()}finally{Qi(i),Vt(r)}}function bb(){return ab()!==void 0||aS()!=null}function sd(n){if(!bb())throw new E(-203,!1)}function SS(n){let t=Qt.ng;if(t&&t.\u0275compilerFacade)return t.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function TS(n){return typeof n=="function"}var xi=0,fe=1,X=2,It=3,Mn=4,zt=5,Zs=6,Ec=7,on=8,zo=9,vi=10,We=11,Ks=12,hy=13,Wo=14,sn=15,zr=16,No=17,_i=18,ad=19,wb=20,Zi=21,gc=22,Ur=23,Yt=24,Mt=25,xb=1;var Hr=7,Ic=8,Uo=9,jt=10,Mc=function(n){return n[n.None=0]="None",n[n.HasTransplantedViews=2]="HasTransplantedViews",n}(Mc||{});function Ki(n){return Array.isArray(n)&&typeof n[xb]=="object"}function Ci(n){return Array.isArray(n)&&n[xb]===!0}function Am(n){return(n.flags&4)!==0}function ld(n){return n.componentOffset>-1}function cd(n){return(n.flags&1)===1}function Xi(n){return!!n.template}function Ah(n){return(n[X]&512)!==0}var kh=class{previousValue;currentValue;firstChange;constructor(t,e,i){this.previousValue=t,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}};function Cb(n,t,e,i){t!==null?t.applyValueToInputSignal(t,i):n[e]=i}var qe=(()=>{let n=()=>Db;return n.ngInherit=!0,n})();function Db(n){return n.type.prototype.ngOnChanges&&(n.setInput=kS),AS}function AS(){let n=Ib(this),t=n==null?void 0:n.current;if(t){let e=n.previous;if(e===pi)n.previous=t;else for(let i in t)e[i]=t[i];n.current=null,this.ngOnChanges(t)}}function kS(n,t,e,i,r){let o=this.declaredInputs[i],s=Ib(n)||OS(n,{previous:pi,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[o];a[o]=new kh(c&&c.currentValue,e,l===pi),Cb(n,t,r,e)}var Eb="__ngSimpleChanges__";function Ib(n){return n[Eb]||null}function OS(n,t){return n[Eb]=t}var my=null;var $n=function(n,t,e){my!=null&&my(n,t,e)},Mb="svg",RS="math";function qn(n){for(;Array.isArray(n);)n=n[xi];return n}function Sb(n,t){return qn(t[n])}function ln(n,t){return qn(t[n.index])}function km(n,t){return n.data[t]}function Tb(n,t){return n[t]}function nr(n,t){let e=t[n];return Ki(e)?e:e[xi]}function NS(n){return(n[X]&4)===4}function Om(n){return(n[X]&128)===128}function PS(n){return Ci(n[It])}function Ho(n,t){return t==null?null:n[t]}function Ab(n){n[No]=0}function Rm(n){n[X]&1024||(n[X]|=1024,Om(n)&&oa(n))}function FS(n,t){for(;n>0;)t=t[Wo],n--;return t}function dd(n){var t;return!!(n[X]&9216||(t=n[Yt])!=null&&t.dirty)}function Oh(n){var t;(t=n[vi].changeDetectionScheduler)==null||t.notify(9),n[X]&64&&(n[X]|=1024),dd(n)&&oa(n)}function oa(n){var e;(e=n[vi].changeDetectionScheduler)==null||e.notify(0);let t=$r(n);for(;t!==null&&!(t[X]&8192||(t[X]|=8192,!Om(t)));)t=$r(t)}function kb(n,t){if((n[X]&256)===256)throw new E(911,!1);n[Zi]===null&&(n[Zi]=[]),n[Zi].push(t)}function LS(n,t){if(n[Zi]===null)return;let e=n[Zi].indexOf(t);e!==-1&&n[Zi].splice(e,1)}function $r(n){let t=n[It];return Ci(t)?t[It]:t}var pe={lFrame:Bb(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Rh=!1;function VS(){return pe.lFrame.elementDepthCount}function jS(){pe.lFrame.elementDepthCount++}function BS(){pe.lFrame.elementDepthCount--}function Ob(){return pe.bindingsEnabled}function Rb(){return pe.skipHydrationRootTNode!==null}function zS(n){return pe.skipHydrationRootTNode===n}function US(){pe.skipHydrationRootTNode=null}function de(){return pe.lFrame.lView}function Qe(){return pe.lFrame.tView}function ie(n){return pe.lFrame.contextLView=n,n[on]}function re(n){return pe.lFrame.contextLView=null,n}function vt(){let n=Nb();for(;n!==null&&n.type===64;)n=n.parent;return n}function Nb(){return pe.lFrame.currentTNode}function HS(){let n=pe.lFrame,t=n.currentTNode;return n.isParent?t:t.parent}function Xr(n,t){let e=pe.lFrame;e.currentTNode=n,e.isParent=t}function Nm(){return pe.lFrame.isParent}function Pm(){pe.lFrame.isParent=!1}function $S(){return pe.lFrame.contextLView}function Pb(){return Rh}function Sc(n){let t=Rh;return Rh=n,t}function Fb(){let n=pe.lFrame,t=n.bindingRootIndex;return t===-1&&(t=n.bindingRootIndex=n.tView.bindingStartIndex),t}function Lb(){return pe.lFrame.bindingIndex}function GS(n){return pe.lFrame.bindingIndex=n}function qo(){return pe.lFrame.bindingIndex++}function ud(n){let t=pe.lFrame,e=t.bindingIndex;return t.bindingIndex=t.bindingIndex+n,e}function WS(){return pe.lFrame.inI18n}function qS(n,t){let e=pe.lFrame;e.bindingIndex=e.bindingRootIndex=n,Nh(t)}function YS(){return pe.lFrame.currentDirectiveIndex}function Nh(n){pe.lFrame.currentDirectiveIndex=n}function QS(n){let t=pe.lFrame.currentDirectiveIndex;return t===-1?null:n[t]}function Fm(){return pe.lFrame.currentQueryIndex}function fd(n){pe.lFrame.currentQueryIndex=n}function ZS(n){let t=n[fe];return t.type===2?t.declTNode:t.type===1?n[zt]:null}function Vb(n,t,e){if(e&ve.SkipSelf){let r=t,o=n;for(;r=r.parent,r===null&&!(e&ve.Host);)if(r=ZS(o),r===null||(o=o[Wo],r.type&10))break;if(r===null)return!1;t=r,n=o}let i=pe.lFrame=jb();return i.currentTNode=t,i.lView=n,!0}function Lm(n){let t=jb(),e=n[fe];pe.lFrame=t,t.currentTNode=e.firstChild,t.lView=n,t.tView=e,t.contextLView=n,t.bindingIndex=e.bindingStartIndex,t.inI18n=!1}function jb(){let n=pe.lFrame,t=n===null?null:n.child;return t===null?Bb(n):t}function Bb(n){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:n,child:null,inI18n:!1};return n!==null&&(n.child=t),t}function zb(){let n=pe.lFrame;return pe.lFrame=n.parent,n.currentTNode=null,n.lView=null,n}var Ub=zb;function Vm(){let n=zb();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 KS(n){return(pe.lFrame.contextLView=FS(n,pe.lFrame.contextLView))[on]}function Di(){return pe.lFrame.selectedIndex}function Gr(n){pe.lFrame.selectedIndex=n}function sa(){let n=pe.lFrame;return km(n.tView,n.selectedIndex)}function Xn(){pe.lFrame.currentNamespace=Mb}function hd(){XS()}function XS(){pe.lFrame.currentNamespace=null}function JS(){return pe.lFrame.currentNamespace}var Hb=!0;function md(){return Hb}function pd(n){Hb=n}function eT(n,t,e){let{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=t.type.prototype;if(i){let s=Db(t);(e.preOrderHooks??=[]).push(n,s),(e.preOrderCheckHooks??=[]).push(n,s)}r&&(e.preOrderHooks??=[]).push(0-n,r),o&&((e.preOrderHooks??=[]).push(n,o),(e.preOrderCheckHooks??=[]).push(n,o))}function gd(n,t){for(let e=t.directiveStart,i=t.directiveEnd;e=i)break}else t[l]<0&&(n[No]+=65536),(a>14>16&&(n[X]&3)===t&&(n[X]+=16384,py(a,o)):py(a,o)}var Vo=-1,Wr=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,e,i){this.factory=t,this.canSeeViewProviders=e,this.injectImpl=i}};function nT(n){return n instanceof Wr}function iT(n){return(n.flags&8)!==0}function rT(n){return(n.flags&16)!==0}function Ph(n,t,e){let i=0;for(;it){s=o-1;break}}}for(;o>16}function Ac(n,t){let e=sT(n),i=t;for(;e>0;)i=i[Wo],e--;return i}var Lh=!0;function kc(n){let t=Lh;return Lh=n,t}var aT=256,qb=aT-1,Yb=5,lT=0,Gn={};function cT(n,t,e){let i;typeof e=="string"?i=e.charCodeAt(0)||0:e.hasOwnProperty(Ws)&&(i=e[Ws]),i==null&&(i=e[Ws]=lT++);let r=i&qb,o=1<>Yb)]|=o}function Oc(n,t){let e=Qb(n,t);if(e!==-1)return e;let i=t[fe];i.firstCreatePass&&(n.injectorIndex=t.length,gh(i.data,n),gh(t,null),gh(i.blueprint,null));let r=jm(n,t),o=n.injectorIndex;if(Wb(r)){let s=Tc(r),a=Ac(r,t),l=a[fe].data;for(let c=0;c<8;c++)t[o+c]=a[s+c]|l[s+c]}return t[o+8]=r,o}function gh(n,t){n.push(0,0,0,0,0,0,0,0,t)}function Qb(n,t){return n.injectorIndex===-1||n.parent&&n.parent.injectorIndex===n.injectorIndex||t[n.injectorIndex+8]===null?-1:n.injectorIndex}function jm(n,t){if(n.parent&&n.parent.injectorIndex!==-1)return n.parent.injectorIndex;let e=0,i=null,r=t;for(;r!==null;){if(i=e0(r),i===null)return Vo;if(e++,r=r[Wo],i.injectorIndex!==-1)return i.injectorIndex|e<<16}return Vo}function Vh(n,t,e){cT(n,t,e)}function dT(n,t){if(t==="class")return n.classes;if(t==="style")return n.styles;let e=n.attrs;if(e){let i=e.length,r=0;for(;r>20,f=i?a:a+d,g=r?a+d:c;for(let h=f;h=l&&v.type===e)return h}if(r){let h=s[l];if(h&&Xi(h)&&h.type===e)return l}return null}function qr(n,t,e,i){let r=n[e],o=t.data;if(nT(r)){let s=r;s.resolving&&nS(tS(o[e]));let a=kc(s.canSeeViewProviders);s.resolving=!0;let l,c=s.injectImpl?Vt(s.injectImpl):null,d=Vb(n,i,ve.Default);try{r=n[e]=s.factory(void 0,o,n,i),t.firstCreatePass&&e>=i.directiveStart&&eT(e,o[e],t)}finally{c!==null&&Vt(c),kc(a),s.resolving=!1,Ub()}}return r}function fT(n){if(typeof n=="string")return n.charCodeAt(0)||0;let t=n.hasOwnProperty(Ws)?n[Ws]:void 0;return typeof t=="number"?t>=0?t&qb:hT:t}function vy(n,t,e){let i=1<>Yb)]&i)}function _y(n,t){return!(n&ve.Self)&&!(n&ve.Host&&t)}var Vr=class{_tNode;_lView;constructor(t,e){this._tNode=t,this._lView=e}get(t,e,i){return Xb(this._tNode,this._lView,t,td(i),e)}};function hT(){return new Vr(vt(),de())}function st(n){return na(()=>{let t=n.prototype.constructor,e=t[wc]||jh(t),i=Object.prototype,r=Object.getPrototypeOf(n.prototype).constructor;for(;r&&r!==i;){let o=r[wc]||jh(r);if(o&&o!==e)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function jh(n){return nb(n)?()=>{let t=jh(wt(n));return t&&t()}:Br(n)}function mT(n,t,e,i,r){let o=n,s=t;for(;o!==null&&s!==null&&s[X]&2048&&!(s[X]&512);){let a=Jb(o,s,e,i|ve.Self,Gn);if(a!==Gn)return a;let l=o.parent;if(!l){let c=s[wb];if(c){let d=c.get(e,Gn,i);if(d!==Gn)return d}l=e0(s),s=s[Wo]}o=l}return r}function e0(n){let t=n[fe],e=t.type;return e===2?t.declTNode:e===1?n[zt]:null}function vd(n){return dT(vt(),n)}function yy(n,t=null,e=null,i){let r=t0(n,t,e,i);return r.resolveInjectorInitializers(),r}function t0(n,t=null,e=null,i,r=new Set){let o=[e||Nt,vS(n)];return i=i||(typeof n=="object"?void 0:Pt(n)),new Qs(o,t||od(),i||null,r)}var _e=class n{static THROW_IF_NOT_FOUND=Ys;static NULL=new Dc;static create(t,e){if(Array.isArray(t))return yy({name:""},e,t,"");{let i=t.name??"";return yy({name:i},t.parent,t.providers,i)}}static \u0275prov=C({token:n,providedIn:"any",factory:()=>O(ub)});static __NG_ELEMENT_ID__=-1};var yi=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>vd(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},pT=new x("");pT.__NG_ELEMENT_ID__=n=>{let t=vt();if(t===null)throw new E(204,!1);if(t.type&2)return t.value;if(n&ve.Optional)return null;throw new E(204,!1)};var n0=!1,aa=(()=>{class n{static __NG_ELEMENT_ID__=gT;static __NG_ENV_ID__=e=>e}return n})(),Rc=class extends aa{_lView;constructor(t){super(),this._lView=t}onDestroy(t){return kb(this._lView,t),()=>LS(this._lView,t)}};function gT(){return new Rc(de())}var Yr=class{},Bm=new x("",{providedIn:"root",factory:()=>!1});var i0=new x(""),r0=new x(""),Jn=(()=>{class n{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new ut(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let e=this.taskId++;return this.pendingTasks.add(e),e}has(e){return this.pendingTasks.has(e)}remove(e){this.pendingTasks.delete(e),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=C({token:n,providedIn:"root",factory:()=>new n})}return n})();var Bh=class extends M{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,bb()&&(this.destroyRef=u(aa,{optional:!0})??void 0,this.pendingTasks=u(Jn,{optional:!0})??void 0)}emit(t){let e=be(null);try{super.next(t)}finally{be(e)}}subscribe(t,e,i){var l,c,d;let r=t,o=e||(()=>null),s=i;if(t&&typeof t=="object"){let f=t;r=(l=f.next)==null?void 0:l.bind(f),o=(c=f.error)==null?void 0:c.bind(f),s=(d=f.complete)==null?void 0:d.bind(f)}this.__isAsync&&(o=this.wrapInTimeout(o),r&&(r=this.wrapInTimeout(r)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:r,error:o,complete:s});return t instanceof me&&t.add(a),a}wrapInTimeout(t){return e=>{var r;let i=(r=this.pendingTasks)==null?void 0:r.add();setTimeout(()=>{var o;t(e),i!==void 0&&((o=this.pendingTasks)==null||o.remove(i))})}}},$=Bh;function Js(...n){}function o0(n){let t,e;function i(){n=Js;try{e!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(e),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{n(),i()}),typeof requestAnimationFrame=="function"&&(e=requestAnimationFrame(()=>{n(),i()})),()=>i()}function by(n){return queueMicrotask(()=>n()),()=>{n=Js}}var zm="isAngularZone",Nc=zm+"_ID",vT=0,R=class n{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new $(!1);onMicrotaskEmpty=new $(!1);onStable=new $(!1);onError=new $(!1);constructor(t){let{enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:o=n0}=t;if(typeof Zone>"u")throw new E(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!r&&i,s.shouldCoalesceRunChangeDetection=r,s.callbackScheduled=!1,s.scheduleInRootZone=o,bT(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(zm)===!0}static assertInAngularZone(){if(!n.isInAngularZone())throw new E(909,!1)}static assertNotInAngularZone(){if(n.isInAngularZone())throw new E(909,!1)}run(t,e,i){return this._inner.run(t,e,i)}runTask(t,e,i,r){let o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+r,t,_T,Js,Js);try{return o.runTask(s,e,i)}finally{o.cancelTask(s)}}runGuarded(t,e,i){return this._inner.runGuarded(t,e,i)}runOutsideAngular(t){return this._outer.run(t)}},_T={};function Um(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 yT(n){if(n.isCheckStableRunning||n.callbackScheduled)return;n.callbackScheduled=!0;function t(){o0(()=>{n.callbackScheduled=!1,zh(n),n.isCheckStableRunning=!0,Um(n),n.isCheckStableRunning=!1})}n.scheduleInRootZone?Zone.root.run(()=>{t()}):n._outer.run(()=>{t()}),zh(n)}function bT(n){let t=()=>{yT(n)},e=vT++;n._inner=n._inner.fork({name:"angular",properties:{[zm]:!0,[Nc]:e,[Nc+e]:!0},onInvokeTask:(i,r,o,s,a,l)=>{if(wT(l))return i.invokeTask(o,s,a,l);try{return wy(n),i.invokeTask(o,s,a,l)}finally{(n.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||n.shouldCoalesceRunChangeDetection)&&t(),xy(n)}},onInvoke:(i,r,o,s,a,l,c)=>{try{return wy(n),i.invoke(o,s,a,l,c)}finally{n.shouldCoalesceRunChangeDetection&&!n.callbackScheduled&&!xT(l)&&t(),xy(n)}},onHasTask:(i,r,o,s)=>{i.hasTask(o,s),r===o&&(s.change=="microTask"?(n._hasPendingMicrotasks=s.microTask,zh(n),Um(n)):s.change=="macroTask"&&(n.hasPendingMacrotasks=s.macroTask))},onHandleError:(i,r,o,s)=>(i.handleError(o,s),n.runOutsideAngular(()=>n.onError.emit(s)),!1)})}function zh(n){n._hasPendingMicrotasks||(n.shouldCoalesceEventChangeDetection||n.shouldCoalesceRunChangeDetection)&&n.callbackScheduled===!0?n.hasPendingMicrotasks=!0:n.hasPendingMicrotasks=!1}function wy(n){n._nesting++,n.isStable&&(n.isStable=!1,n.onUnstable.emit(null))}function xy(n){n._nesting--,Um(n)}var Pc=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new $;onMicrotaskEmpty=new $;onStable=new $;onError=new $;run(t,e,i){return t.apply(e,i)}runGuarded(t,e,i){return t.apply(e,i)}runOutsideAngular(t){return t()}runTask(t,e,i,r){return t.apply(e,i)}};function wT(n){return s0(n,"__ignore_ng_zone__")}function xT(n){return s0(n,"__scheduler_tick__")}function s0(n,t){var e,i;return!Array.isArray(n)||n.length!==1?!1:((i=(e=n[0])==null?void 0:e.data)==null?void 0:i[t])===!0}function CT(n="zone.js",t){return n==="noop"?new Pc:n==="zone.js"?new R(t):n}var Yn=class{_console=console;handleError(t){this._console.error("ERROR",t)}},DT=new x("",{providedIn:"root",factory:()=>{let n=u(R),t=u(Yn);return e=>n.runOutsideAngular(()=>t.handleError(e))}});function Cy(n,t){return eb(n,t)}function ET(n){return eb(Jy,n)}var a0=(Cy.required=ET,Cy);function IT(){return Yo(vt(),de())}function Yo(n,t){return new H(ln(n,t))}var H=(()=>{class n{nativeElement;constructor(e){this.nativeElement=e}static __NG_ELEMENT_ID__=IT}return n})();function l0(n){return n instanceof H?n.nativeElement:n}function MT(){return this._results[Symbol.iterator]()}var Qn=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new M}constructor(t=!1){this._emitDistinctChangesOnly=t}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,e){this.dirty=!1;let i=hS(t);(this._changesDetected=!fS(this._results,i,e))&&(this._results=i,this.length=i.length,this.last=i[this.length-1],this.first=i[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(t){this._onDirty=t}setDirty(){var t;this.dirty=!0,(t=this._onDirty)==null||t.call(this)}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=MT};function c0(n){return(n.flags&128)===128}var d0=function(n){return n[n.OnPush=0]="OnPush",n[n.Default=1]="Default",n}(d0||{}),u0=new Map,ST=0;function TT(){return ST++}function AT(n){u0.set(n[ad],n)}function Uh(n){u0.delete(n[ad])}var Dy="__ngContext__";function Ji(n,t){Ki(t)?(n[Dy]=t[ad],AT(t)):n[Dy]=t}function f0(n){return m0(n[Ks])}function h0(n){return m0(n[Mn])}function m0(n){for(;n!==null&&!Ci(n);)n=n[Mn];return n}var Hh;function p0(n){Hh=n}function g0(){if(Hh!==void 0)return Hh;if(typeof document<"u")return document;throw new E(210,!1)}var Qo=new x("",{providedIn:"root",factory:()=>kT}),kT="ng",Hm=new x(""),Tn=new x("",{providedIn:"platform",factory:()=>"unknown"});var Je=new x(""),la=new x("",{providedIn:"root",factory:()=>{var n,t;return((t=(n=g0().body)==null?void 0:n.querySelector("[ngCspNonce]"))==null?void 0:t.getAttribute("ngCspNonce"))||null}});var OT="h",RT="b";var v0=!1,NT=new x("",{providedIn:"root",factory:()=>v0});var Ey=new Set;function An(n){var t;Ey.has(n)||(Ey.add(n),(t=performance==null?void 0:performance.mark)==null||t.call(performance,"mark_feature_usage",{detail:{feature:n}}))}var Po=function(n){return n[n.EarlyRead=0]="EarlyRead",n[n.Write=1]="Write",n[n.MixedReadWrite=2]="MixedReadWrite",n[n.Read=3]="Read",n}(Po||{}),_0=(()=>{class n{impl=null;execute(){var e;(e=this.impl)==null||e.execute()}static \u0275prov=C({token:n,providedIn:"root",factory:()=>new n})}return n})(),PT=[Po.EarlyRead,Po.Write,Po.MixedReadWrite,Po.Read],FT=(()=>{class n{ngZone=u(R);scheduler=u(Yr);errorHandler=u(Yn,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;execute(){var e;this.executing=!0;for(let i of PT)for(let r of this.sequences)if(!(r.erroredOrDestroyed||!r.hooks[i]))try{r.pipelinedValue=this.ngZone.runOutsideAngular(()=>r.hooks[i](r.pipelinedValue))}catch(o){r.erroredOrDestroyed=!0,(e=this.errorHandler)==null||e.handleError(o)}this.executing=!1;for(let i of this.sequences)i.afterRun(),i.once&&(this.sequences.delete(i),i.destroy());for(let i of this.deferredRegistrations)this.sequences.add(i);this.deferredRegistrations.size>0&&this.scheduler.notify(8),this.deferredRegistrations.clear()}register(e){this.executing?this.deferredRegistrations.add(e):(this.sequences.add(e),this.scheduler.notify(7))}unregister(e){this.executing&&this.sequences.has(e)?(e.erroredOrDestroyed=!0,e.pipelinedValue=void 0,e.once=!0):(this.sequences.delete(e),this.deferredRegistrations.delete(e))}static \u0275prov=C({token:n,providedIn:"root",factory:()=>new n})}return n})(),$h=class{impl;hooks;once;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,e,i,r){this.impl=t,this.hooks=e,this.once=i,this.unregisterOnDestroy=r==null?void 0:r.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0}destroy(){var t;this.impl.unregister(this),(t=this.unregisterOnDestroy)==null||t.call(this)}};function ca(n,t){!(t!=null&&t.injector)&&sd(ca);let e=(t==null?void 0:t.injector)??u(_e);return An("NgAfterRender"),y0(n,e,t,!1)}function Ut(n,t){!(t!=null&&t.injector)&&sd(Ut);let e=(t==null?void 0:t.injector)??u(_e);return An("NgAfterNextRender"),y0(n,e,t,!0)}function LT(n,t){if(n instanceof Function){let e=[void 0,void 0,void 0,void 0];return e[t]=n,e}else return[n.earlyRead,n.write,n.mixedReadWrite,n.read]}function y0(n,t,e,i){let r=t.get(_0);r.impl??=t.get(FT);let o=(e==null?void 0:e.phase)??Po.MixedReadWrite,s=(e==null?void 0:e.manualCleanup)!==!0?t.get(aa):null,a=new $h(r.impl,LT(n,o),i,s);return r.impl.register(a),a}var VT=()=>null;function $m(n,t,e=!1){return VT(n,t,e)}var Zn=function(n){return n[n.Emulated=0]="Emulated",n[n.None=2]="None",n[n.ShadowDom=3]="ShadowDom",n}(Zn||{}),lc;function jT(){if(lc===void 0&&(lc=null,Qt.trustedTypes))try{lc=Qt.trustedTypes.createPolicy("angular",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch{}return lc}function _d(n){var t;return((t=jT())==null?void 0:t.createHTML(n))||n}var cc;function b0(){if(cc===void 0&&(cc=null,Qt.trustedTypes))try{cc=Qt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch{}return cc}function Iy(n){var t;return((t=b0())==null?void 0:t.createHTML(n))||n}function My(n){var t;return((t=b0())==null?void 0:t.createScriptURL(n))||n}var bi=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Xy})`}},Gh=class extends bi{getTypeName(){return"HTML"}},Wh=class extends bi{getTypeName(){return"Style"}},qh=class extends bi{getTypeName(){return"Script"}},Yh=class extends bi{getTypeName(){return"URL"}},Qh=class extends bi{getTypeName(){return"ResourceURL"}};function cn(n){return n instanceof bi?n.changingThisBreaksApplicationSecurity:n}function Ei(n,t){let e=BT(n);if(e!=null&&e!==t){if(e==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${e} (see ${Xy})`)}return e===t}function BT(n){return n instanceof bi&&n.getTypeName()||null}function w0(n){return new Gh(n)}function x0(n){return new Wh(n)}function C0(n){return new qh(n)}function D0(n){return new Yh(n)}function E0(n){return new Qh(n)}function zT(n){let t=new Kh(n);return UT()?new Zh(t):t}var Zh=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){var e;t=""+t;try{let i=new window.DOMParser().parseFromString(_d(t),"text/html").body;return i===null?this.inertDocumentHelper.getInertBodyElement(t):((e=i.firstChild)==null||e.remove(),i)}catch{return null}}},Kh=class{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let e=this.inertDocument.createElement("template");return e.innerHTML=_d(t),e}};function UT(){try{return!!new window.DOMParser().parseFromString(_d(""),"text/html")}catch{return!1}}var HT=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function yd(n){return n=String(n),n.match(HT)?n:"unsafe:"+n}function Ii(n){let t={};for(let e of n.split(","))t[e]=!0;return t}function da(...n){let t={};for(let e of n)for(let i in e)e.hasOwnProperty(i)&&(t[i]=!0);return t}var I0=Ii("area,br,col,hr,img,wbr"),M0=Ii("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),S0=Ii("rp,rt"),$T=da(S0,M0),GT=da(M0,Ii("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")),WT=da(S0,Ii("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")),Sy=da(I0,GT,WT,$T),T0=Ii("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),qT=Ii("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"),YT=Ii("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"),QT=da(T0,qT,YT),ZT=Ii("script,style,template"),Xh=class{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let e=t.firstChild,i=!0,r=[];for(;e;){if(e.nodeType===Node.ELEMENT_NODE?i=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,i&&e.firstChild){r.push(e),e=JT(e);continue}for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let o=XT(e);if(o){e=o;break}e=r.pop()}}return this.buf.join("")}startElement(t){let e=Ty(t).toLowerCase();if(!Sy.hasOwnProperty(e))return this.sanitizedSomething=!0,!ZT.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);let i=t.attributes;for(let r=0;r"),!0}endElement(t){let e=Ty(t).toLowerCase();Sy.hasOwnProperty(e)&&!I0.hasOwnProperty(e)&&(this.buf.push(""))}chars(t){this.buf.push(Ay(t))}};function KT(n,t){return(n.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function XT(n){let t=n.nextSibling;if(t&&n!==t.previousSibling)throw A0(t);return t}function JT(n){let t=n.firstChild;if(t&&KT(n,t))throw A0(t);return t}function Ty(n){let t=n.nodeName;return typeof t=="string"?t:"FORM"}function A0(n){return new Error(`Failed to sanitize html because the element is clobbered: ${n.outerHTML}`)}var eA=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,tA=/([^\#-~ |!])/g;function Ay(n){return n.replace(/&/g,"&").replace(eA,function(t){let e=t.charCodeAt(0),i=t.charCodeAt(1);return"&#"+((e-55296)*1024+(i-56320)+65536)+";"}).replace(tA,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}var dc;function Gm(n,t){let e=null;try{dc=dc||zT(n);let i=t?String(t):"";e=dc.getInertBodyElement(i);let r=5,o=i;do{if(r===0)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=e.innerHTML,e=dc.getInertBodyElement(i)}while(i!==o);let a=new Xh().sanitizeChildren(ky(e)||e);return _d(a)}finally{if(e){let i=ky(e)||e;for(;i.firstChild;)i.firstChild.remove()}}}function ky(n){return"content"in n&&nA(n)?n.content:null}function nA(n){return n.nodeType===Node.ELEMENT_NODE&&n.nodeName==="TEMPLATE"}var kn=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}(kn||{});function ei(n){let t=Wm();return t?Iy(t.sanitize(kn.HTML,n)||""):Ei(n,"HTML")?Iy(cn(n)):Gm(g0(),Wn(n))}function mt(n){let t=Wm();return t?t.sanitize(kn.URL,n)||"":Ei(n,"URL")?cn(n):yd(Wn(n))}function iA(n){let t=Wm();if(t)return My(t.sanitize(kn.RESOURCE_URL,n)||"");if(Ei(n,"ResourceURL"))return My(cn(n));throw new E(904,!1)}function rA(n,t){return t==="src"&&(n==="embed"||n==="frame"||n==="iframe"||n==="media"||n==="script")||t==="href"&&(n==="base"||n==="link")?iA:mt}function k0(n,t,e){return rA(t,e)(n)}function Wm(){let n=de();return n&&n[vi].sanitizer}var oA=/^>|^->||--!>|)/g,aA="\u200B$1\u200B";function lA(n){return n.replace(oA,t=>t.replace(sA,aA))}function O0(n){return n.ownerDocument}function R0(n){return n instanceof Function?n():n}var er=function(n){return n[n.None=0]="None",n[n.SignalBased=1]="SignalBased",n[n.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",n}(er||{}),wi=function(n){return n[n.Important=1]="Important",n[n.DashCase=2]="DashCase",n}(wi||{}),cA;function qm(n,t){return cA(n,t)}function Fo(n,t,e,i,r){if(i!=null){let o,s=!1;Ci(i)?o=i:Ki(i)&&(s=!0,i=i[xi]);let a=qn(i);n===0&&e!==null?r==null?V0(t,e,a):Lc(t,e,a,r||null,!0):n===1&&e!==null?Lc(t,e,a,r||null,!0):n===2?CA(t,a,s):n===3&&t.destroyNode(a),o!=null&&EA(t,n,o,e,r)}}function dA(n,t){return n.createText(t)}function uA(n,t,e){n.setValue(t,e)}function fA(n,t){return n.createComment(lA(t))}function N0(n,t,e){return n.createElement(t,e)}function hA(n,t){P0(n,t),t[xi]=null,t[zt]=null}function mA(n,t,e,i,r,o){i[xi]=r,i[zt]=t,wd(n,i,e,1,r,o)}function P0(n,t){var e;(e=t[vi].changeDetectionScheduler)==null||e.notify(10),wd(n,t,t[We],2,null,null)}function pA(n){let t=n[Ks];if(!t)return vh(n[fe],n);for(;t;){let e=null;if(Ki(t))e=t[Ks];else{let i=t[jt];i&&(e=i)}if(!e){for(;t&&!t[Mn]&&t!==n;)Ki(t)&&vh(t[fe],t),t=t[It];t===null&&(t=n),Ki(t)&&vh(t[fe],t),e=t&&t[Mn]}t=e}}function gA(n,t,e,i){let r=jt+i,o=e.length;i>0&&(e[r-1][Mn]=t),i0&&(n[e-1][Mn]=i[Mn]);let o=Cc(n,jt+t);hA(i[fe],i);let s=o[_i];s!==null&&s.detachView(o[fe]),i[It]=null,i[Mn]=null,i[X]&=-129}return i}function Qm(n,t){if(!(t[X]&256)){let e=t[We];e.destroyNode&&wd(n,t,e,3,null,null),pA(t)}}function vh(n,t){if(t[X]&256)return;let e=be(null);try{t[X]&=-129,t[X]|=256,t[Yt]&&yo(t[Yt]),_A(n,t),vA(n,t),t[fe].type===1&&t[We].destroy();let i=t[zr];if(i!==null&&Ci(t[It])){i!==t[It]&&Ym(i,t);let r=t[_i];r!==null&&r.detachView(n)}Uh(t)}finally{be(e)}}function vA(n,t){let e=n.cleanup,i=t[Ec];if(e!==null)for(let s=0;s=0?i[a]():i[-a].unsubscribe(),s+=2}else{let a=i[e[s+1]];e[s].call(a)}i!==null&&(t[Ec]=null);let r=t[Zi];if(r!==null){t[Zi]=null;for(let s=0;s-1){let{encapsulation:o}=n.data[i.directiveStart+r];if(o===Zn.None||o===Zn.Emulated)return null}return ln(i,e)}}function Lc(n,t,e,i,r){n.insertBefore(t,e,i,r)}function V0(n,t,e){n.appendChild(t,e)}function Oy(n,t,e,i,r){i!==null?Lc(n,t,e,i,r):V0(n,t,e)}function j0(n,t){return n.parentNode(t)}function bA(n,t){return n.nextSibling(t)}function B0(n,t,e){return xA(n,t,e)}function wA(n,t,e){return n.type&40?ln(n,e):null}var xA=wA,Ry;function bd(n,t,e,i){let r=L0(n,i,t),o=t[We],s=i.parent||t[zt],a=B0(s,i,t);if(r!=null)if(Array.isArray(e))for(let l=0;l-1){let o;for(;++ro?f="":f=r[d+1].toLowerCase(),i&2&&c!==f){if(En(i))return!1;s=!0}}}}return En(i)||s}function En(n){return(n&1)===0}function OA(n,t,e,i){if(t===null)return-1;let r=0;if(i||!e){let o=!1;for(;r-1)for(e++;e0?'="'+a+'"':"")+"]"}else i&8?r+="."+s:i&4&&(r+=" "+s);else r!==""&&!En(s)&&(t+=Ny(o,r),r=""),i=s,o=o||!En(i);e++}return r!==""&&(t+=Ny(o,r)),t}function VA(n){return n.map(LA).join(",")}function jA(n){let t=[],e=[],i=1,r=2;for(;iMt&&q0(n,t,Mt,!1),$n(s?2:0,r),e(i,r)}finally{Gr(o),$n(s?3:1,r)}}function Xm(n,t,e){if(Am(t)){let i=be(null);try{let r=t.directiveStart,o=t.directiveEnd;for(let s=r;snull;function WA(n,t,e,i){let r=rw(t);r.push(e),n.firstCreatePass&&ow(n).push(i,r.length-1)}function qA(n,t,e,i,r,o){let s=t?t.injectorIndex:-1,a=0;return Rb()&&(a|=128),{type:e,index:i,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:r,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Py(n,t,e,i,r){for(let o in t){if(!t.hasOwnProperty(o))continue;let s=t[o];if(s===void 0)continue;i??={};let a,l=er.None;Array.isArray(s)?(a=s[0],l=s[1]):a=s;let c=o;if(r!==null){if(!r.hasOwnProperty(o))continue;c=r[o]}n===0?Fy(i,e,c,a,l):Fy(i,e,c,a)}return i}function Fy(n,t,e,i,r){let o;n.hasOwnProperty(e)?(o=n[e]).push(t,i):o=n[e]=[t,i],r!==void 0&&o.push(r)}function YA(n,t,e){let i=t.directiveStart,r=t.directiveEnd,o=n.data,s=t.attrs,a=[],l=null,c=null;for(let d=i;d0;){let e=n[--t];if(typeof e=="number"&&e<0)return e}return 0}function JA(n,t,e,i){let r=e.directiveStart,o=e.directiveEnd;ld(e)&&sk(t,e,n.data[r+e.componentOffset]),n.firstCreatePass||Oc(e,t),Ji(i,t);let s=e.initialInputs;for(let a=r;a{oa(n.lView)},consumerOnSignalRead(){this.lView[Yt]=this}});function wk(n){let t=n[Yt]??Object.create(xk);return t.lView=n,t}var xk=te(w({},Tr),{consumerIsAlwaysLive:!0,consumerMarkedDirty:n=>{let t=$r(n.lView);for(;t&&!lw(t[fe]);)t=$r(t);t&&Rm(t)},consumerOnSignalRead(){this.lView[Yt]=this}});function lw(n){return n.type!==2}function cw(n){if(n[Ur]===null)return;let t=!0;for(;t;){let e=!1;for(let i of n[Ur])i.dirty&&(e=!0,i.zone===null||Zone.current===i.zone?i.run():i.zone.run(()=>i.run()));t=e&&!!(n[X]&8192)}}var Ck=100;function dw(n,t=!0,e=0){var s,a;let r=n[vi].rendererFactory,o=!1;o||(s=r.begin)==null||s.call(r);try{Dk(n,e)}catch(l){throw t&&sw(n,l),l}finally{o||(a=r.end)==null||a.call(r)}}function Dk(n,t){let e=Pb();try{Sc(!0),nm(n,t);let i=0;for(;dd(n);){if(i===Ck)throw new E(103,!1);i++,nm(n,1)}}finally{Sc(e)}}function Ek(n,t,e,i){let r=t[X];if((r&256)===256)return;let o=!1,s=!1;Lm(t);let a=!0,l=null,c=null;o||(lw(n)?(c=vk(t),l=_o(c)):y_()===null?(a=!1,c=wk(t),l=_o(c)):t[Yt]&&(yo(t[Yt]),t[Yt]=null));try{Ab(t),GS(n.bindingStartIndex),e!==null&&K0(n,t,e,2,i);let d=(r&3)===3;if(!o)if(d){let h=n.preOrderCheckHooks;h!==null&&vc(t,h,null)}else{let h=n.preOrderHooks;h!==null&&_c(t,h,0,null),mh(t,0)}if(s||Ik(t),cw(t),uw(t,0),n.contentQueries!==null&&iw(n,t),!o)if(d){let h=n.contentCheckHooks;h!==null&&vc(t,h)}else{let h=n.contentHooks;h!==null&&_c(t,h,1),mh(t,1)}BA(n,t);let f=n.components;f!==null&&hw(t,f,0);let g=n.viewQuery;if(g!==null&&tm(2,g,i),!o)if(d){let h=n.viewCheckHooks;h!==null&&vc(t,h)}else{let h=n.viewHooks;h!==null&&_c(t,h,2),mh(t,2)}if(n.firstUpdatePass===!0&&(n.firstUpdatePass=!1),t[gc]){for(let h of t[gc])h();t[gc]=null}o||(t[X]&=-73)}catch(d){throw o||oa(t),d}finally{c!==null&&(Fs(c,l),a&&yk(c)),Vm()}}function uw(n,t){for(let e=f0(n);e!==null;e=h0(e))for(let i=jt;i-1&&(Fc(t,i),Cc(e,i))}this._attachedToViewContainer=!1}Qm(this._lView[fe],this._lView)}onDestroy(t){kb(this._lView,t)}markForCheck(){lp(this._cdRefInjectingView||this._lView,4)}markForRefresh(){Rm(this._cdRefInjectingView||this._lView)}detach(){this._lView[X]&=-129}reattach(){Oh(this._lView),this._lView[X]|=128}detectChanges(){this._lView[X]|=1024,dw(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new E(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Ah(this._lView),e=this._lView[zr];e!==null&&!t&&Ym(e,this._lView),P0(this._lView[fe],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new E(902,!1);this._appRef=t;let e=Ah(this._lView),i=this._lView[zr];i!==null&&!e&&F0(i,this._lView),Oh(this._lView)}},xt=(()=>{class n{static __NG_ELEMENT_ID__=Ak}return n})(),Sk=xt,Tk=class extends Sk{_declarationLView;_declarationTContainer;elementRef;constructor(t,e,i){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=i}get ssrId(){var t;return((t=this._declarationTContainer.tView)==null?void 0:t.ssrId)||null}createEmbeddedView(t,e){return this.createEmbeddedViewImpl(t,e)}createEmbeddedViewImpl(t,e,i){let r=sp(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:e,dehydratedView:i});return new Qr(r)}};function Ak(){return Ed(vt(),de())}function Ed(n,t){return n.type&4?new Tk(t,n,Yo(n,t)):null}var im=class{resolveComponentFactory(t){throw Error(`No component factory found for ${Pt(t)}.`)}},$o=class{static NULL=new im},Sn=class{},ea=class{},rm=class{},Bc=class{},tr=class{},ir=(()=>{class n{destroyNode=null;static __NG_ELEMENT_ID__=()=>kk()}return n})();function kk(){let n=de(),t=vt(),e=nr(t.index,n);return(Ki(e)?e:n)[We]}var Ok=(()=>{class n{static \u0275prov=C({token:n,providedIn:"root",factory:()=>null})}return n})();function zc(n,t,e){let i=e?n.styles:null,r=e?n.classes:null,o=0;if(t!==null)for(let s=0;s0&&H0(n,e,o.join(" "))}}function jk(n,t,e){let i=n.projection=[];for(let r=0;re()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},$c=class extends ea{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new Hc(this.moduleType,t,[])}};function zk(n,t,e){return new Hc(n,t,e,!1)}var sm=class extends Sn{injector;componentFactoryResolver=new Uc(this);instance=null;constructor(t){super();let e=new Qs([...t.providers,{provide:Sn,useValue:this},{provide:$o,useValue:this.componentFactoryResolver}],t.parent||od(),t.debugName,new Set(["environment"]));this.injector=e,t.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Id(n,t,e=null){return new sm({providers:n,parent:t,debugName:e,runEnvironmentInitializers:!0}).injector}var Uk=(()=>{class n{_injector;cachedInjectors=new Map;constructor(e){this._injector=e}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e)){let i=gb(!1,e.type),r=i.length>0?Id([i],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e,r)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(let e of this.cachedInjectors.values())e!==null&&e.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=C({token:n,providedIn:"environment",factory:()=>new n(O(ht))})}return n})();function A(n){return na(()=>{let t=mw(n),e=te(w({},t),{decls:n.decls,vars:n.vars,template:n.template,consts:n.consts||null,ngContentSelectors:n.ngContentSelectors,onPush:n.changeDetection===d0.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&n.dependencies||null,getStandaloneInjector:t.standalone?r=>r.get(Uk).getOrCreateStandaloneInjector(e):null,getExternalStyles:null,signals:n.signals??!1,data:n.data||{},encapsulation:n.encapsulation||Zn.Emulated,styles:n.styles||Nt,_:null,schemas:n.schemas||null,tView:null,id:""});t.standalone&&An("NgStandalone"),pw(e);let i=n.dependencies;return e.directiveDefs=jy(i,!1),e.pipeDefs=jy(i,!0),e.id=Gk(e),e})}function Hk(n){return gi(n)||Sm(n)}function $k(n){return n!==null}function V(n){return na(()=>({type:n.type,bootstrap:n.bootstrap||Nt,declarations:n.declarations||Nt,imports:n.imports||Nt,exports:n.exports||Nt,transitiveCompileScopes:null,schemas:n.schemas||null,id:n.id||null}))}function Vy(n,t){if(n==null)return pi;let e={};for(let i in n)if(n.hasOwnProperty(i)){let r=n[i],o,s,a=er.None;Array.isArray(r)?(a=r[0],o=r[1],s=r[2]??o):(o=r,s=r),t?(e[o]=a!==er.None?[i,a]:i,t[o]=s):e[o]=i}return e}function P(n){return na(()=>{let t=mw(n);return pw(t),t})}function cp(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 mw(n){let t={};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:t,inputTransforms:null,inputConfig:n.inputs||pi,exportAs:n.exportAs||null,standalone:n.standalone??!0,signals:n.signals===!0,selectors:n.selectors||Nt,viewQuery:n.viewQuery||null,features:n.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Vy(n.inputs,t),outputs:Vy(n.outputs),debugInfo:null}}function pw(n){var t;(t=n.features)==null||t.forEach(e=>e(n))}function jy(n,t){if(!n)return null;let e=t?mb:Hk;return()=>(typeof n=="function"?n():n).map(i=>e(i)).filter($k)}function Gk(n){let t=0,e=[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 r of e)t=Math.imul(31,t)+r.charCodeAt(0)<<0;return t+=2147483648,"c"+t}var Md=(()=>{class n{log(e){console.log(e)}warn(e){console.warn(e)}static \u0275fac=function(i){return new(i||n)};static \u0275prov=C({token:n,factory:n.\u0275fac,providedIn:"platform"})}return n})();function rr(n){return typeof n=="function"&&n[Dt]!==void 0}var dp=new x(""),ua=new x(""),Sd=(()=>{class n{_ngZone;registry;_isZoneStable=!0;_callbacks=[];taskTrackingZone=null;constructor(e,i,r){this._ngZone=e,this.registry=i,qs||(Wk(r),r.addToWindow(i)),this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{R.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 e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb()}});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>i.updateCb&&i.updateCb(e)?(clearTimeout(i.timeoutId),!1):!0)}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,i,r){let o=-1;i&&i>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),e()},i)),this._callbacks.push({doneCb:e,timeoutId:o,updateCb:r})}whenStable(e,i,r){if(r&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(e,i,r),this._runCallbacksIfReady()}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,i,r){return[]}static \u0275fac=function(i){return new(i||n)(O(R),O(Td),O(ua))};static \u0275prov=C({token:n,factory:n.\u0275fac})}return n})(),Td=(()=>{class n{_applications=new Map;registerApplication(e,i){this._applications.set(e,i)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,i=!0){return(qs==null?void 0:qs.findTestabilityInTree(this,e,i))??null}static \u0275fac=function(i){return new(i||n)};static \u0275prov=C({token:n,factory:n.\u0275fac,providedIn:"platform"})}return n})();function Wk(n){qs=n}var qs;function Jr(n){return!!n&&typeof n.then=="function"}function gw(n){return!!n&&typeof n.subscribe=="function"}var Ad=new x("");var vw=(()=>{class n{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((e,i)=>{this.resolve=e,this.reject=i});appInits=u(Ad,{optional:!0})??[];injector=u(_e);constructor(){}runInitializers(){if(this.initialized)return;let e=[];for(let r of this.appInits){let o=Bt(this.injector,r);if(Jr(o))e.push(o);else if(gw(o)){let s=new Promise((a,l)=>{o.subscribe({complete:a,error:l})});e.push(s)}}let i=()=>{this.done=!0,this.resolve()};Promise.all(e).then(()=>{i()}).catch(r=>{this.reject(r)}),e.length===0&&i(),this.initialized=!0}static \u0275fac=function(i){return new(i||n)};static \u0275prov=C({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),_w=(()=>{class n{static \u0275prov=C({token:n,providedIn:"root",factory:()=>new Gc})}return n})(),Gc=class{queuedEffectCount=0;queues=new Map;schedule(t){this.enqueue(t)}enqueue(t){let e=t.zone;this.queues.has(e)||this.queues.set(e,new Set);let i=this.queues.get(e);i.has(t)||(this.queuedEffectCount++,i.add(t))}flush(){for(;this.queuedEffectCount>0;)for(let[t,e]of this.queues)t===null?this.flushQueue(e):t.run(()=>this.flushQueue(e))}flushQueue(t){for(let e of t)t.delete(e),this.queuedEffectCount--,e.run()}},kd=new x("");function qk(){S_(()=>{throw new E(600,!1)})}function Yk(n){return n.isBoundToModule}var Qk=10;function Zk(n,t,e){try{let i=e();return Jr(i)?i.catch(r=>{throw t.runOutsideAngular(()=>n.handleError(r)),r}):i}catch(i){throw t.runOutsideAngular(()=>n.handleError(i)),i}}function yw(n,t){return Array.isArray(t)?t.reduce(yw,n):w(w({},n),t)}var Ht=(()=>{class n{_bootstrapListeners=[];_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=u(DT);afterRenderManager=u(_0);zonelessEnabled=u(Bm);rootEffectScheduler=u(_w);dirtyFlags=0;deferredDirtyFlags=0;externalTestViews=new Set;afterTick=new M;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=u(Jn).hasPendingTasks.pipe(Y(e=>!e));whenStable(){let e;return new Promise(i=>{e=this.isStable.subscribe({next:r=>{r&&i()}})}).finally(()=>{e.unsubscribe()})}_injector=u(ht);get injector(){return this._injector}bootstrap(e,i){let r=e instanceof Bc;if(!this._injector.get(vw).done){let g=!r&&pb(e),h=!1;throw new E(405,h)}let s;r?s=e:s=this._injector.get($o).resolveComponentFactory(e),this.componentTypes.push(s.componentType);let a=Yk(s)?void 0:this._injector.get(Sn),l=i||s.selector,c=s.create(_e.NULL,[],l,a),d=c.location.nativeElement,f=c.injector.get(dp,null);return f==null||f.registerApplication(d),c.onDestroy(()=>{this.detachView(c.hostView),bc(this.components,c),f==null||f.unregisterApplication(d)}),this._loadComponent(c),c}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new E(101,!1);let e=be(null);try{this._runningTick=!0,this.synchronize()}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,be(e),this.afterTick.next()}}synchronize(){let e=null;this._injector.destroyed||(e=this._injector.get(tr,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let i=0;for(;this.dirtyFlags!==0&&i++dd(e))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(e){let i=e;this._views.push(i),i.attachToAppRef(this)}detachView(e){let i=e;bc(this._views,i),i.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e);let i=this._injector.get(kd,[]);[...this._bootstrapListeners,...i].forEach(r=>r(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>bc(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new E(406,!1);let e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static \u0275fac=function(i){return new(i||n)};static \u0275prov=C({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function bc(n,t){let e=n.indexOf(t);e>-1&&n.splice(e,1)}function Kk(n,t,e,i){if(!e&&!dd(n))return;dw(n,t,e&&!i?0:1)}var pG=new RegExp(`^(\\d+)*(${RT}|${OT})*(.*)`);var Xk=()=>null;function Wc(n,t){return Xk(n,t)}var at=(()=>{class n{static __NG_ELEMENT_ID__=Jk}return n})();function Jk(){let n=vt();return ww(n,de())}var eO=at,bw=class extends eO{_lContainer;_hostTNode;_hostLView;constructor(t,e,i){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=i}get element(){return Yo(this._hostTNode,this._hostLView)}get injector(){return new Vr(this._hostTNode,this._hostLView)}get parentInjector(){let t=jm(this._hostTNode,this._hostLView);if(Wb(t)){let e=Ac(t,this._hostLView),i=Tc(t),r=e[fe].data[i+8];return new Vr(r,e)}else return new Vr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let e=By(this._lContainer);return e!==null&&e[t]||null}get length(){return this._lContainer.length-jt}createEmbeddedView(t,e,i){let r,o;typeof i=="number"?r=i:i!=null&&(r=i.index,o=i.injector);let s=Wc(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(e||{},o,s);return this.insertImpl(a,r,Vc(this._hostTNode,s)),a}createComponent(t,e,i,r,o){let s=t&&!TS(t),a;if(s)a=e;else{let v=e||{};a=v.index,i=v.injector,r=v.projectableNodes,o=v.environmentInjector||v.ngModuleRef}let l=s?t:new Zr(gi(t)),c=i||this.parentInjector;if(!o&&l.ngModule==null){let _=(s?c:this.parentInjector).get(ht,null);_&&(o=_)}let d=gi(l.componentType??{}),f=Wc(this._lContainer,(d==null?void 0:d.id)??null),g=(f==null?void 0:f.firstChild)??null,h=l.create(c,r,g,o);return this.insertImpl(h.hostView,a,Vc(this._hostTNode,f)),h}insert(t,e){return this.insertImpl(t,e,!0)}insertImpl(t,e,i){let r=t._lView;if(PS(r)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let l=r[It],c=new bw(l,l[zt],l[It]);c.detach(c.indexOf(t))}}let o=this._adjustIndex(e),s=this._lContainer;return ap(s,r,o,i),t.attachToViewContainerRef(),db(_h(s),o,t),t}move(t,e){return this.insert(t,e)}indexOf(t){let e=By(this._lContainer);return e!==null?e.indexOf(t):-1}remove(t){let e=this._adjustIndex(t,-1),i=Fc(this._lContainer,e);i&&(Cc(_h(this._lContainer),e),Qm(i[fe],i))}detach(t){let e=this._adjustIndex(t,-1),i=Fc(this._lContainer,e);return i&&Cc(_h(this._lContainer),e)!=null?new Qr(i):null}_adjustIndex(t,e=0){return t??this.length+e}};function By(n){return n[Ic]}function _h(n){return n[Ic]||(n[Ic]=[])}function ww(n,t){let e,i=t[n.index];return Ci(i)?e=i:(e=nw(i,t,null,n),t[n.index]=e,Dd(t,e)),nO(e,t,n,i),new bw(e,n,t)}function tO(n,t){let e=n[We],i=e.createComment(""),r=ln(t,n),o=j0(e,r);return Lc(e,o,i,bA(e,r),!1),i}var nO=oO,iO=()=>!1;function rO(n,t,e){return iO(n,t,e)}function oO(n,t,e,i){if(n[Hr])return;let r;e.type&8?r=qn(i):r=tO(t,e),n[Hr]=r}var am=class n{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new n(this.queryList)}setDirty(){this.queryList.setDirty()}},lm=class n{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){let e=t.queries;if(e!==null){let i=t.contentQueries!==null?t.contentQueries[0]:e.length,r=[];for(let o=0;o0)i.push(s[a/2]);else{let c=o[a+1],d=t[-l];for(let f=jt;ft.trim())}function Ew(n,t,e){n.queries===null&&(n.queries=new cm),n.queries.track(new dm(t,e))}function fO(n,t){let e=n.contentQueries||(n.contentQueries=[]),i=e.length?e[e.length-1]:-1;t!==i&&e.push(n.queries.length-1,t)}function fp(n,t){return n.queries.getByIndex(t)}function Iw(n,t){let e=n[fe],i=fp(e,t);return i.crossesNgTemplate?um(e,n,t,[]):xw(e,n,i,t)}function Mi(n,t){An("NgSignals");let e=T_(n),i=e[Dt];return t!=null&&t.equal&&(i.equal=t.equal),e.set=r=>Tl(i,r),e.update=r=>A_(i,r),e.asReadonly=hO.bind(e),e}function hO(){let n=this[Dt];if(n.readonlyFn===void 0){let t=()=>this();t[Dt]=n,n.readonlyFn=t}return n.readonlyFn}function Mw(n){return rr(n)&&typeof n.set=="function"}function Sw(n,t,e){let i,r=$f(()=>{i._dirtyCounter();let o=vO(i,n);if(t&&o===void 0)throw new E(-951,!1);return o});return i=r[Dt],i._dirtyCounter=Mi(0),i._flatValue=void 0,r}function mO(n){return Sw(!0,!1,n)}function pO(n){return Sw(!0,!0,n)}function gO(n,t){let e=n[Dt];e._lView=de(),e._queryIndex=t,e._queryList=up(e._lView,t),e._queryList.onDirty(()=>e._dirtyCounter.update(i=>i+1))}function vO(n,t){let e=n._lView,i=n._queryIndex;if(e===void 0||i===void 0||e[X]&4)return t?void 0:Nt;let r=up(e,i),o=Iw(e,i);return r.reset(o,l0),t?r.first:r._changesDetected||n._flatValue===void 0?n._flatValue=r.toArray():n._flatValue}function zy(n,t){return mO(t)}function _O(n,t){return pO(t)}var Tw=(zy.required=_O,zy);function yO(n){let t=[],e=new Map;function i(r){let o=e.get(r);if(!o){let s=n(r);e.set(r,o=s.then(CO))}return o}return Yc.forEach((r,o)=>{var c,d;let s=[];r.templateUrl&&s.push(i(r.templateUrl).then(f=>{r.template=f}));let a=typeof r.styles=="string"?[r.styles]:r.styles||[];if(r.styles=a,r.styleUrl&&((c=r.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=r.styleUrls)!=null&&d.length){let f=r.styles.length,g=r.styleUrls;r.styleUrls.forEach((h,v)=>{a.push(""),s.push(i(h).then(_=>{a[f+v]=_,g.splice(g.indexOf(h),1),g.length==0&&(r.styleUrls=void 0)}))})}else r.styleUrl&&s.push(i(r.styleUrl).then(f=>{a.push(f),r.styleUrl=void 0}));let l=Promise.all(s).then(()=>DO(o));t.push(l)}),wO(),Promise.all(t).then(()=>{})}var Yc=new Map,bO=new Set;function wO(){let n=Yc;return Yc=new Map,n}function xO(){return Yc.size===0}function CO(n){return typeof n=="string"?n:n.text()}function DO(n){bO.delete(n)}function EO(n){return Object.getPrototypeOf(n.prototype).constructor}function Ve(n){let t=EO(n.type),e=!0,i=[n];for(;t;){let r;if(Xi(n))r=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new E(903,!1);r=t.\u0275dir}if(r){if(e){i.push(r);let s=n;s.inputs=uc(n.inputs),s.inputTransforms=uc(n.inputTransforms),s.declaredInputs=uc(n.declaredInputs),s.outputs=uc(n.outputs);let a=r.hostBindings;a&&AO(n,a);let l=r.viewQuery,c=r.contentQueries;if(l&&SO(n,l),c&&TO(n,c),IO(n,r),qM(n.outputs,r.outputs),Xi(r)&&r.data.animation){let d=n.data;d.animation=(d.animation||[]).concat(r.data.animation)}}let o=r.features;if(o)for(let s=0;s=0;i--){let r=n[i];r.hostVars=t+=r.hostVars,r.hostAttrs=Xs(r.hostAttrs,e=Xs(e,r.hostAttrs))}}function uc(n){return n===pi?{}:n===Nt?[]:n}function SO(n,t){let e=n.viewQuery;e?n.viewQuery=(i,r)=>{t(i,r),e(i,r)}:n.viewQuery=t}function TO(n,t){let e=n.contentQueries;e?n.contentQueries=(i,r,o)=>{t(i,r,o),e(i,r,o)}:n.contentQueries=t}function AO(n,t){let e=n.hostBindings;e?n.hostBindings=(i,r)=>{t(i,r),e(i,r)}:n.hostBindings=t}function Aw(n){let t=e=>{let i=Array.isArray(n);e.hostDirectives===null?(e.findHostDirectiveDefs=kw,e.hostDirectives=i?n.map(fm):[n]):i?e.hostDirectives.unshift(...n.map(fm)):e.hostDirectives.unshift(n)};return t.ngInherit=!0,t}function kw(n,t,e){if(n.hostDirectives!==null)for(let i of n.hostDirectives)if(typeof i=="function"){let r=i();for(let o of r)Uy(fm(o),t,e)}else Uy(i,t,e)}function Uy(n,t,e){let i=Sm(n.directive);kO(i.declaredInputs,n.inputs),kw(i,t,e),e.set(i,n),t.push(i)}function fm(n){return typeof n=="function"?{directive:wt(n),inputs:pi,outputs:pi}:{directive:wt(n.directive),inputs:Hy(n.inputs),outputs:Hy(n.outputs)}}function Hy(n){if(n===void 0||n.length===0)return pi;let t={};for(let e=0;e>17&32767}function BO(n){return(n&2)==2}function zO(n,t){return n&131071|t<<17}function hm(n){return n|2}function Go(n){return(n&131068)>>2}function yh(n,t){return n&-131069|t<<2}function UO(n){return(n&1)===1}function mm(n){return n|1}function HO(n,t,e,i,r,o){let s=o?t.classBindings:t.styleBindings,a=Kr(s),l=Go(s);n[i]=e;let c=!1,d;if(Array.isArray(e)){let f=e;d=f[1],(d===null||ra(f,d)>0)&&(c=!0)}else d=e;if(r)if(l!==0){let g=Kr(n[a+1]);n[i+1]=fc(g,a),g!==0&&(n[g+1]=yh(n[g+1],i)),n[a+1]=zO(n[a+1],i)}else n[i+1]=fc(a,0),a!==0&&(n[a+1]=yh(n[a+1],i)),a=i;else n[i+1]=fc(l,0),a===0?a=i:n[l+1]=yh(n[l+1],i),l=i;c&&(n[i+1]=hm(n[i+1])),$y(n,d,i,!0),$y(n,d,i,!1),$O(t,d,n,i,o),s=fc(a,l),o?t.classBindings=s:t.styleBindings=s}function $O(n,t,e,i,r){let o=r?n.residualClasses:n.residualStyles;o!=null&&typeof t=="string"&&ra(o,t)>=0&&(e[i+1]=mm(e[i+1]))}function $y(n,t,e,i){let r=n[e+1],o=t===null,s=i?Kr(r):Go(r),a=!1;for(;s!==0&&(a===!1||o);){let l=n[s],c=n[s+1];GO(l,t)&&(a=!0,n[s+1]=i?mm(c):hm(c)),s=i?Kr(c):Go(c)}a&&(n[e+1]=i?hm(r):mm(r))}function GO(n,t){return n===null||t==null||(Array.isArray(n)?n[1]:n)===t?!0:Array.isArray(n)&&typeof t=="string"?ra(n,t)>=0:!1}var In={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function WO(n){return n.substring(In.key,In.keyEnd)}function qO(n){return YO(n),Lw(n,Vw(n,0,In.textEnd))}function Lw(n,t){let e=In.textEnd;return e===t?-1:(t=In.keyEnd=QO(n,In.key=t,e),Vw(n,t,e))}function YO(n){In.key=0,In.keyEnd=0,In.value=0,In.valueEnd=0,In.textEnd=n.length}function Vw(n,t,e){for(;t32;)t++;return t}function D(n,t,e){let i=de(),r=qo();if(an(i,r,t)){let o=Qe(),s=sa();Cd(o,s,i,n,t,i[We],e,!1)}return D}function pm(n,t,e,i,r){let o=t.inputs,s=r?"class":"style";ip(n,e,o[s],s,i)}function fa(n,t,e){return Bw(n,t,e,!1),fa}function ce(n,t){return Bw(n,t,null,!0),ce}function $t(n){zw(tR,jw,n,!0)}function jw(n,t){for(let e=qO(t);e>=0;e=Lw(t,e))nd(n,WO(t),!0)}function Bw(n,t,e,i){let r=de(),o=Qe(),s=ud(2);if(o.firstUpdatePass&&Hw(o,n,s,i),t!==Ft&&an(r,s,t)){let a=o.data[Di()];$w(o,a,r,r[We],n,r[s+1]=iR(t,e),i,s)}}function zw(n,t,e,i){let r=Qe(),o=ud(2);r.firstUpdatePass&&Hw(r,null,o,i);let s=de();if(e!==Ft&&an(s,o,e)){let a=r.data[Di()];if(Gw(a,i)&&!Uw(r,o)){let l=i?a.classesWithoutHost:a.stylesWithoutHost;l!==null&&(e=Ch(l,e||"")),pm(r,a,s,e,i)}else nR(r,a,s,s[We],s[o+1],s[o+1]=eR(n,t,e),i,o)}}function Uw(n,t){return t>=n.expandoStartIndex}function Hw(n,t,e,i){let r=n.data;if(r[e+1]===null){let o=r[Di()],s=Uw(n,e);Gw(o,i)&&t===null&&!s&&(t=!1),t=ZO(r,o,t,i),HO(r,o,t,e,s,i)}}function ZO(n,t,e,i){let r=QS(n),o=i?t.residualClasses:t.residualStyles;if(r===null)(i?t.classBindings:t.styleBindings)===0&&(e=bh(null,n,t,e,i),e=ta(e,t.attrs,i),o=null);else{let s=t.directiveStylingLast;if(s===-1||n[s]!==r)if(e=bh(r,n,t,e,i),o===null){let l=KO(n,t,i);l!==void 0&&Array.isArray(l)&&(l=bh(null,n,t,l[1],i),l=ta(l,t.attrs,i),XO(n,t,i,l))}else o=JO(n,t,i)}return o!==void 0&&(i?t.residualClasses=o:t.residualStyles=o),e}function KO(n,t,e){let i=e?t.classBindings:t.styleBindings;if(Go(i)!==0)return n[Kr(i)]}function XO(n,t,e,i){let r=e?t.classBindings:t.styleBindings;n[Kr(r)]=i}function JO(n,t,e){let i,r=t.directiveEnd;for(let o=1+t.directiveStylingLast;o0;){let l=n[r],c=Array.isArray(l),d=c?l[1]:l,f=d===null,g=e[r+1];g===Ft&&(g=f?Nt:void 0);let h=f?fh(g,i):d===i?g:void 0;if(c&&!Qc(h)&&(h=fh(l,i)),Qc(h)&&(a=h,s))return a;let v=n[r+1];r=s?Kr(v):Go(v)}if(t!==null){let l=o?t.residualClasses:t.residualStyles;l!=null&&(a=fh(l,i))}return a}function Qc(n){return n!==void 0}function iR(n,t){return n==null||n===""||(typeof t=="string"?n=n+t:typeof n=="object"&&(n=Pt(cn(n)))),n}function Gw(n,t){return(n.flags&(t?8:16))!==0}function Ww(n,t,e){let i=de(),r=hp(i,n,t,e);zw(nd,jw,r,!0)}function He(n,t){An("NgControlFlow");let e=de(),i=qo(),r=e[i]!==Ft?e[i]:-1,o=r!==-1?Wy(e,Mt+r):void 0,s=0;if(an(e,i,n)){let a=be(null);try{if(o!==void 0&&pk(o,s),n!==-1){let l=Mt+n,c=Wy(e,l),d=rR(e[fe],l),f=Wc(c,d.tView.ssrId),g=sp(e,d,t,{dehydratedView:f});ap(c,g,s,Vc(d,f))}}finally{be(a)}}else if(o!==void 0){let a=mk(o,s);a!==void 0&&(a[on]=t)}}function Wy(n,t){return n[t]}function rR(n,t){return km(n,t)}function oR(n,t,e,i,r,o){let s=t.consts,a=Ho(s,r),l=Zo(t,n,2,i,a);return np(t,e,l,Ho(s,o)),l.attrs!==null&&zc(l,l.attrs,!1),l.mergedAttrs!==null&&zc(l,l.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,l),l}function m(n,t,e,i){let r=de(),o=Qe(),s=Mt+n,a=r[We],l=o.firstCreatePass?oR(s,o,r,t,e,i):o.data[s],c=sR(o,r,l,a,t,n);r[s]=c;let d=cd(l);return Xr(l,!0),$0(a,c,l),!NO(l)&&md()&&bd(o,r,c,l),VS()===0&&Ji(c,r),jS(),d&&(Jm(o,r,l),Xm(o,l,r)),i!==null&&ep(r,l),m}function p(){let n=vt();Nm()?Pm():(n=n.parent,Xr(n,!1));let t=n;zS(t)&&US(),BS();let e=Qe();return e.firstCreatePass&&(gd(e,n),Am(n)&&e.queries.elementEnd(n)),t.classesWithoutHost!=null&&iT(t)&&pm(e,t,de(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&rT(t)&&pm(e,t,de(),t.stylesWithoutHost,!1),p}function T(n,t,e,i){return m(n,t,e,i),p(),T}var sR=(n,t,e,i,r,o)=>(pd(!0),N0(i,r,JS()));function aR(n,t,e,i,r){let o=t.consts,s=Ho(o,i),a=Zo(t,n,8,"ng-container",s);s!==null&&zc(a,s,!0);let l=Ho(o,r);return np(t,e,a,l),t.queries!==null&&t.queries.elementStart(t,a),a}function mp(n,t,e){let i=de(),r=Qe(),o=n+Mt,s=r.firstCreatePass?aR(o,r,i,t,e):r.data[o];Xr(s,!0);let a=lR(r,i,s,n);return i[o]=a,md()&&bd(r,i,a,s),Ji(a,i),cd(s)&&(Jm(r,i,s),Xm(r,s,i)),e!=null&&ep(i,s),mp}function pp(){let n=vt(),t=Qe();return Nm()?Pm():(n=n.parent,Xr(n,!1)),t.firstCreatePass&&(gd(t,n),Am(n)&&t.queries.elementEnd(n)),pp}var lR=(n,t,e,i)=>(pd(!0),fA(t[We],""));function xe(){return de()}function dn(n,t,e){let i=de(),r=qo();if(an(i,r,t)){let o=Qe(),s=sa();Cd(o,s,i,n,t,i[We],e,!0)}return dn}var Zc="en-US";var cR=Zc;function dR(n){typeof n=="string"&&(cR=n.toLowerCase().replace(/_/g,"-"))}var uR=(n,t,e)=>{};function B(n,t,e,i){let r=de(),o=Qe(),s=vt();return qw(o,r,r[We],s,n,t,i),B}function fR(n,t,e,i){let r=n.cleanup;if(r!=null)for(let o=0;ol?a[l]:null}typeof s=="string"&&(o+=2)}return null}function qw(n,t,e,i,r,o,s){let a=cd(i),c=n.firstCreatePass&&ow(n),d=t[on],f=rw(t),g=!0;if(i.type&3||s){let _=ln(i,t),I=s?s(_):_,k=f.length,ae=s?Ce=>s(qn(Ce[i.index])):i.index,z=null;if(!s&&a&&(z=fR(n,t,r,i.index)),z!==null){let Ce=z.__ngLastListenerFn__||z;Ce.__ngNextListenerFn__=o,z.__ngLastListenerFn__=o,g=!1}else{o=Yy(i,t,d,o),uR(_,r,o);let Ce=e.listen(I,r,o);f.push(o,Ce),c&&c.push(r,ae,k,k+1)}}else o=Yy(i,t,d,o);let h=i.outputs,v;if(g&&h!==null&&(v=h[r])){let _=v.length;if(_)for(let I=0;I<_;I+=2){let k=v[I],ae=v[I+1],yt=t[k][ae].subscribe(o),je=f.length;f.push(o,yt),c&&c.push(r,i.index,je,-(je+1))}}}function qy(n,t,e,i){let r=be(null);try{return $n(6,t,e),e(i)!==!1}catch(o){return sw(n,o),!1}finally{$n(7,t,e),be(r)}}function Yy(n,t,e,i){return function r(o){if(o===Function)return i;let s=n.componentOffset>-1?nr(n.index,t):t;lp(s,5);let a=qy(t,e,i,o),l=r.__ngNextListenerFn__;for(;l;)a=qy(t,e,l,o)&&a,l=l.__ngNextListenerFn__;return a}}function N(n=1){return KS(n)}function hR(n,t){let e=null,i=RA(n);for(let r=0;r=n.data.length&&(n.data[e]=null,n.blueprint[e]=null),t[e]=i}function St(n){let t=$S();return Tb(t,Mt+n)}function b(n,t=""){let e=de(),i=Qe(),r=n+Mt,o=i.firstCreatePass?Zo(i,r,1,t,null):i.data[r],s=gR(i,e,o,t,n);e[r]=s,md()&&bd(i,e,s,o),Xr(o,!1)}var gR=(n,t,e,i,r)=>(pd(!0),dA(t[We],i));function ct(n){return Ie("",n,""),ct}function Ie(n,t,e){let i=de(),r=hp(i,n,t,e);return r!==Ft&&rp(i,Di(),r),Ie}function gp(n,t,e,i,r){let o=de(),s=VO(o,n,t,e,i,r);return s!==Ft&&rp(o,Di(),s),gp}function vp(n,t,e,i,r,o,s){let a=de(),l=jO(a,n,t,e,i,r,o,s);return l!==Ft&&rp(a,Di(),l),vp}function ha(n,t,e){Mw(t)&&(t=t());let i=de(),r=qo();if(an(i,r,t)){let o=Qe(),s=sa();Cd(o,s,i,n,t,i[We],e,!1)}return ha}function Od(n,t){let e=Mw(n);return e&&n.set(t),e}function ma(n,t){let e=de(),i=Qe(),r=vt();return qw(i,e,e[We],r,n,t),ma}function vR(n,t,e){let i=Qe();if(i.firstCreatePass){let r=Xi(n);gm(e,i.data,i.blueprint,r,!0),gm(t,i.data,i.blueprint,r,!1)}}function gm(n,t,e,i,r){if(n=wt(n),Array.isArray(n))for(let o=0;o>20;if(Bo(n)||!n.multi){let h=new Wr(c,r,S),v=xh(l,t,r?d:d+g,f);v===-1?(Vh(Oc(a,s),o,l),wh(o,n,t.length),t.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),e.push(h),s.push(h)):(e[v]=h,s[v]=h)}else{let h=xh(l,t,d+g,f),v=xh(l,t,d,d+g),_=h>=0&&e[h],I=v>=0&&e[v];if(r&&!I||!r&&!_){Vh(Oc(a,s),o,l);let k=bR(r?yR:_R,e.length,r,i,c);!r&&I&&(e[v].providerFactory=k),wh(o,n,t.length,0),t.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),e.push(k),s.push(k)}else{let k=Kw(e[r?v:h],c,!r&&i);wh(o,n,h>-1?h:v,k)}!r&&i&&I&&e[v].componentProviders++}}}function wh(n,t,e,i){let r=Bo(t),o=wS(t);if(r||o){let l=(o?wt(t.useClass):t).prototype.ngOnDestroy;if(l){let c=n.destroyHooks||(n.destroyHooks=[]);if(!r&&t.multi){let d=c.indexOf(e);d===-1?c.push(e,[i,l]):c[d+1].push(i,l)}else c.push(e,l)}}}function Kw(n,t,e){return e&&n.componentProviders++,n.multi.push(t)-1}function xh(n,t,e,i){for(let r=e;r{e.providersResolver=(i,r)=>vR(i,r?r(n):n,t)}}function _p(n,t,e,i,r,o){return xR(de(),Fb(),n,t,e,i,r,o)}function Xw(n,t){let e=n[t];return e===Ft?void 0:e}function wR(n,t,e,i,r,o){let s=t+e;return an(n,s,r)?Rw(n,s+1,o?i.call(o,r):i(r)):Xw(n,s+1)}function xR(n,t,e,i,r,o,s,a){let l=t+e;return Pw(n,l,r,o,s)?Rw(n,l+3,a?i.call(a,r,o,s):i(r,o,s)):Xw(n,l+3)}function ti(n,t){let e=Qe(),i,r=n+Mt;e.firstCreatePass?(i=CR(t,e.pipeRegistry),e.data[r]=i,i.onDestroy&&(e.destroyHooks??=[]).push(r,i.onDestroy)):i=e.data[r];let o=i.factory||(i.factory=Br(i.type,!0)),s,a=Vt(S);try{let l=kc(!1),c=o();return kc(l),pR(e,de(),r,c),c}finally{Vt(a)}}function CR(n,t){if(t)for(let e=t.length-1;e>=0;e--){let i=t[e];if(n===i.name)return i}}function ni(n,t,e){let i=n+Mt,r=de(),o=Tb(r,i);return DR(r,i)?wR(r,Fb(),t,o.transform,e,o):o.transform(e)}function DR(n,t){return n[fe].data[t].pure}function Jw(n,t){return Ed(n,t)}var hc=null;function ER(n){hc!==null&&(n.defaultEncapsulation!==hc.defaultEncapsulation||n.preserveWhitespaces!==hc.preserveWhitespaces)||(hc=n)}var _m=class{ngModuleFactory;componentFactories;constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}},Rd=(()=>{class n{compileModuleSync(e){return new $c(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){let i=this.compileModuleSync(e),r=hb(e),o=R0(r.declarations).reduce((s,a)=>{let l=gi(a);return l&&s.push(new Zr(l)),s},[]);return new _m(i,o)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}static \u0275fac=function(i){return new(i||n)};static \u0275prov=C({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),IR=new x("");function MR(n,t,e){let i=new $c(e);return Promise.resolve(i)}function Qy(n){for(let t=n.length-1;t>=0;t--)if(n[t]!==void 0)return n[t]}var SR=(()=>{class n{zone=u(R);changeDetectionScheduler=u(Yr);applicationRef=u(Ht);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){var e;(e=this._onMicrotaskEmptySubscription)==null||e.unsubscribe()}static \u0275fac=function(i){return new(i||n)};static \u0275prov=C({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function TR({ngZoneFactory:n,ignoreChangesOutsideZone:t,scheduleInRootZone:e}){return n??=()=>new R(te(w({},ex()),{scheduleInRootZone:e})),[{provide:R,useFactory:n},{provide:jo,multi:!0,useFactory:()=>{let i=u(SR,{optional:!0});return()=>i.initialize()}},{provide:jo,multi:!0,useFactory:()=>{let i=u(AR);return()=>{i.initialize()}}},t===!0?{provide:i0,useValue:!0}:[],{provide:r0,useValue:e??n0}]}function ex(n){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:(n==null?void 0:n.eventCoalescing)??!1,shouldCoalesceRunChangeDetection:(n==null?void 0:n.runCoalescing)??!1}}var AR=(()=>{class n{subscription=new me;initialized=!1;zone=u(R);pendingTasks=u(Jn);initialize(){if(this.initialized)return;this.initialized=!0;let e=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(e=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{R.assertNotInAngularZone(),queueMicrotask(()=>{e!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(e),e=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{R.assertInAngularZone(),e??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(i){return new(i||n)};static \u0275prov=C({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var kR=(()=>{var t;class n{appRef=u(Ht);taskService=u(Jn);ngZone=u(R);zonelessEnabled=u(Bm);disableScheduling=u(i0,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new me;angularZoneId=this.zoneIsDefined?(t=this.ngZone._inner)==null?void 0:t.get(Nc):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(u(r0,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){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.zonelessEnabled&&(this.ngZone instanceof Pc||!this.zoneIsDefined)}notify(i){if(!this.zonelessEnabled&&i===5)return;let r=!1;switch(i){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 8:{this.appRef.deferredDirtyFlags|=8;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 13:{this.appRef.dirtyFlags|=16,r=!0;break}case 14:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{r=!0;break}case 10:case 9:case 7:case 11:default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick(r))return;let o=this.useMicrotaskScheduler?by:o0;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(i){return!(this.disableScheduling&&!i||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Nc+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let i=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(i),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,by(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(i)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){var i;if(this.runningTick=!1,(i=this.cancelScheduledCallback)==null||i.call(this),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let r=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(r)}}static \u0275fac=function(r){return new(r||n)};static \u0275prov=C({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function OR(){return typeof $localize<"u"&&$localize.locale||Zc}var Nd=new x("",{providedIn:"root",factory:()=>u(Nd,ve.Optional|ve.SkipSelf)||OR()});var Kc=new x("");function mc(n){return!n.moduleRef}function RR(n){let t=mc(n)?n.r3Injector:n.moduleRef.injector,e=t.get(R);return e.run(()=>{mc(n)?n.r3Injector.resolveInjectorInitializers():n.moduleRef.resolveInjectorInitializers();let i=t.get(Yn,null),r;if(e.runOutsideAngular(()=>{r=e.onError.subscribe({next:o=>{i.handleError(o)}})}),mc(n)){let o=()=>t.destroy(),s=n.platformInjector.get(Kc);s.add(o),t.onDestroy(()=>{r.unsubscribe(),s.delete(o)})}else{let o=()=>n.moduleRef.destroy(),s=n.platformInjector.get(Kc);s.add(o),n.moduleRef.onDestroy(()=>{bc(n.allPlatformModules,n.moduleRef),r.unsubscribe(),s.delete(o)})}return Zk(i,e,()=>{let o=t.get(vw);return o.runInitializers(),o.donePromise.then(()=>{let s=t.get(Nd,Zc);if(dR(s||Zc),mc(n)){let a=t.get(Ht);return n.rootComponent!==void 0&&a.bootstrap(n.rootComponent),a}else return NR(n.moduleRef,n.allPlatformModules),n.moduleRef})})})}function NR(n,t){let e=n.injector.get(Ht);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(i=>e.bootstrap(i));else if(n.instance.ngDoBootstrap)n.instance.ngDoBootstrap(e);else throw new E(-403,!1);t.push(n)}var tx=(()=>{class n{_injector;_modules=[];_destroyListeners=[];_destroyed=!1;constructor(e){this._injector=e}bootstrapModuleFactory(e,i){let r=i==null?void 0:i.scheduleInRootZone,o=()=>CT(i==null?void 0:i.ngZone,te(w({},ex({eventCoalescing:i==null?void 0:i.ngZoneEventCoalescing,runCoalescing:i==null?void 0:i.ngZoneRunCoalescing})),{scheduleInRootZone:r})),s=i==null?void 0:i.ignoreChangesOutsideZone,a=[TR({ngZoneFactory:o,ignoreChangesOutsideZone:s}),{provide:Yr,useExisting:kR}],l=zk(e.moduleType,this.injector,a);return RR({moduleRef:l,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(e,i=[]){let r=yw({},i);return MR(this.injector,r,e).then(o=>this.bootstrapModuleFactory(o,r))}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new E(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());let e=this._injector.get(Kc,null);e&&(e.forEach(i=>i()),e.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static \u0275fac=function(i){return new(i||n)(O(_e))};static \u0275prov=C({token:n,factory:n.\u0275fac,providedIn:"platform"})}return n})(),jr=null,nx=new x("");function PR(n){if(jr&&!jr.get(nx,!1))throw new E(400,!1);qk(),jr=n;let t=n.get(tx);return VR(n),t}function yp(n,t,e=[]){let i=`Platform: ${t}`,r=new x(i);return(o=[])=>{let s=ix();if(!s||s.injector.get(nx,!1)){let a=[...e,...o,{provide:r,useValue:!0}];n?n(a):PR(FR(a,i))}return LR(r)}}function FR(n=[],t){return _e.create({name:t,providers:[{provide:rd,useValue:"platform"},{provide:Kc,useValue:new Set([()=>jr=null])},...n]})}function LR(n){let t=ix();if(!t)throw new E(401,!1);return t}function ix(){return(jr==null?void 0:jr.get(tx))??null}function VR(n){let t=n.get(Hm,null);Bt(n,()=>{t==null||t.forEach(e=>e())})}var Pe=(()=>{class n{static __NG_ELEMENT_ID__=jR}return n})();function jR(n){return BR(vt(),de(),(n&16)===16)}function BR(n,t,e){if(ld(n)&&!e){let i=nr(n.index,t);return new Qr(i,i)}else if(n.type&175){let i=t[sn];return new Qr(i,t)}return null}var ym=class{constructor(){}supports(t){return Ow(t)}create(t){return new bm(t)}},zR=(n,t)=>t,bm=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(t){this._trackByFn=t||zR}forEachItem(t){let e;for(e=this._itHead;e!==null;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,i=this._removalsHead,r=0,o=null;for(;e||i;){let s=!i||e&&e.currentIndex{s=this._trackByFn(r,a),e===null||!Object.is(e.trackById,s)?(e=this._mismatch(e,a,s,r),i=!0):(i&&(e=this._verifyReinsertion(e,a,s,r)),Object.is(e.item,a)||this._addIdentityChange(e,a)),e=e._next,r++}),this.length=r;return this._truncate(e),this.collection=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,i,r){let o;return t===null?o=this._itTail:(o=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(i,null),t!==null?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,o,r)):(t=this._linkedRecords===null?null:this._linkedRecords.get(i,r),t!==null?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,o,r)):t=this._addAfter(new wm(e,i),o,r)),t}_verifyReinsertion(t,e,i,r){let o=this._unlinkedRecords===null?null:this._unlinkedRecords.get(i,null);return o!==null?t=this._reinsertAfter(o,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t}_truncate(t){for(;t!==null;){let e=t._next;this._addToRemovals(this._unlink(t)),t=e}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(t,e,i){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let r=t._prevRemoved,o=t._nextRemoved;return r===null?this._removalsHead=o:r._nextRemoved=o,o===null?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(t,e,i),this._addToMoves(t,i),t}_moveAfter(t,e,i){return this._unlink(t),this._insertAfter(t,e,i),this._addToMoves(t,i),t}_addAfter(t,e,i){return this._insertAfter(t,e,i),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,e,i){let r=e===null?this._itHead:e._next;return t._next=r,t._prev=e,r===null?this._itTail=t:r._prev=t,e===null?this._itHead=t:e._next=t,this._linkedRecords===null&&(this._linkedRecords=new Xc),this._linkedRecords.put(t),t.currentIndex=i,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let e=t._prev,i=t._next;return e===null?this._itHead=i:e._next=i,i===null?this._itTail=e:i._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Xc),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}},wm=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(t,e){this.item=t,this.trackById=e}},xm=class{_head=null;_tail=null;add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let i;for(i=this._head;i!==null;i=i._nextDup)if((e===null||e<=i.currentIndex)&&Object.is(i.trackById,t))return i;return null}remove(t){let e=t._prevDup,i=t._nextDup;return e===null?this._head=i:e._nextDup=i,i===null?this._tail=e:i._prevDup=e,this._head===null}},Xc=class{map=new Map;put(t){let e=t.trackById,i=this.map.get(e);i||(i=new xm,this.map.set(e,i)),i.add(t)}get(t,e){let i=t,r=this.map.get(i);return r?r.get(t,e):null}remove(t){let e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Zy(n,t,e){let i=n.previousIndex;if(i===null)return i;let r=0;return e&&i{class n{factories;static \u0275prov=C({token:n,providedIn:"root",factory:Ky});constructor(e){this.factories=e}static create(e,i){if(i!=null){let r=i.factories.slice();e=e.concat(r)}return new n(e)}static extend(e){return{provide:n,useFactory:i=>n.create(e,i||Ky()),deps:[[n,new Im,new ia]]}}find(e){let i=this.factories.find(r=>r.supports(e));if(i!=null)return i;throw new E(901,!1)}}return n})();var rx=yp(null,"core",[]),ox=(()=>{class n{constructor(e){}static \u0275fac=function(i){return new(i||n)(O(Ht))};static \u0275mod=V({type:n});static \u0275inj=L({})}return n})();function q(n){return typeof n=="boolean"?n:n!=null&&n!=="false"}function ii(n,t=NaN){return!isNaN(parseFloat(n))&&!isNaN(Number(n))?Number(n):t}function Si(n,t){An("NgSignals");let e=$f(n);return t!=null&&t.equal&&(e[Dt].equal=t.equal),e}function un(n){let t=be(null);try{return n()}finally{be(t)}}var sx=(()=>{class n{view;node;constructor(e,i){this.view=e,this.node=i}static __NG_ELEMENT_ID__=UR}return n})();function UR(){return new sx(de(),vt())}var HR=!1,$R=(()=>{class n extends Gc{pendingTasks=u(Jn);taskId=null;schedule(e){super.schedule(e),this.taskId===null&&(this.taskId=this.pendingTasks.add(),queueMicrotask(()=>this.flush()))}flush(){try{super.flush()}finally{this.taskId!==null&&(this.pendingTasks.remove(this.taskId),this.taskId=null)}}static \u0275prov=C({token:n,providedIn:"root",factory:()=>new n})}return n})(),Cm=class{scheduler;effectFn;zone;injector;unregisterOnDestroy;watcher;constructor(t,e,i,r,o,s){this.scheduler=t,this.effectFn=e,this.zone=i,this.injector=o,this.watcher=k_(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=r==null?void 0:r.onDestroy(()=>this.destroy())}runEffect(t){try{this.effectFn(t)}catch(e){let i=this.injector.get(Yn,null,{optional:!0});i==null||i.handleError(e)}}run(){this.watcher.run()}schedule(){this.scheduler.schedule(this)}destroy(){var t;this.watcher.destroy(),(t=this.unregisterOnDestroy)==null||t.call(this)}};function GR(){}function WR(n,t){An("NgSignals"),!(t!=null&&t.injector)&&sd(GR);let e=(t==null?void 0:t.injector)??u(_e),i=(t==null?void 0:t.manualCleanup)!==!0?e.get(aa):null,r=new Cm(e.get($R),n,typeof Zone>"u"?null:Zone.current,i,e,(t==null?void 0:t.allowSignalWrites)??!1),o=e.get(Pe,null,{optional:!0});return!o||!(o._lView[X]&8)?r.watcher.notify():(o._lView[gc]??=[]).push(r.watcher.notify),r}var qR=HR;var Dm=class{[Dt];constructor(t){this[Dt]=t}destroy(){this[Dt].destroy()}};function pa(n,t){if(qR)return WR(n,t);An("NgSignals"),!(t!=null&&t.injector)&&sd(pa);let e=(t==null?void 0:t.injector)??u(_e),i=(t==null?void 0:t.manualCleanup)!==!0?e.get(aa):null,r,o=e.get(sx,null,{optional:!0}),s=e.get(Yr);return o!==null&&!(t!=null&&t.forceRoot)?(r=ZR(o.view,s,n),i instanceof Rc&&i._lView===o.view&&(i=null)):r=KR(n,e.get(_w),s),r.injector=e,i!==null&&(r.onDestroyFn=i.onDestroy(()=>r.destroy())),new Dm(r)}var ax=te(w({},Tr),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,onDestroyFn:Js,run(){if(this.dirty=!1,this.hasRun&&!Ls(this))return;this.hasRun=!0;let n=i=>(this.cleanupFns??=[]).push(i),t=_o(this),e=Sc(!1);try{this.maybeCleanup(),this.fn(n)}finally{Sc(e),Fs(this,t)}},maybeCleanup(){var n;if((n=this.cleanupFns)!=null&&n.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),YR=te(w({},ax),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(13)},destroy(){yo(this),this.onDestroyFn(),this.maybeCleanup()}}),QR=te(w({},ax),{consumerMarkedDirty(){this.view[X]|=8192,oa(this.view),this.notifier.notify(14)},destroy(){var n;yo(this),this.onDestroyFn(),this.maybeCleanup(),(n=this.view[Ur])==null||n.delete(this)}});function ZR(n,t,e){let i=Object.create(QR);return i.view=n,i.zone=typeof Zone<"u"?Zone.current:null,i.notifier=t,i.fn=e,n[Ur]??=new Set,n[Ur].add(i),i.consumerMarkedDirty(i),i}function KR(n,t,e){let i=Object.create(YR);return i.fn=n,i.scheduler=t,i.notifier=e,i.zone=typeof Zone<"u"?Zone.current:null,i.scheduler.schedule(i),i.notifier.notify(13),i}function Fd(n,t){let e=gi(n),i=t.elementInjector||od();return new Zr(e).create(i,t.projectableNodes,t.hostElement,t.environmentInjector)}function lx(n){let t=gi(n);if(!t)return null;let e=new Zr(t);return{get selector(){return e.selector},get type(){return e.componentType},get inputs(){return e.inputs},get outputs(){return e.outputs},get ngContentSelectors(){return e.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}var mx=null;function ri(){return mx}function px(n){mx??=n}var Ld=class{};var J=new x(""),Ep=(()=>{class n{historyGo(e){throw new Error("")}static \u0275fac=function(i){return new(i||n)};static \u0275prov=C({token:n,factory:()=>u(JR),providedIn:"platform"})}return n})(),gx=new x(""),JR=(()=>{class n extends Ep{_location;_history;_doc=u(J);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return ri().getBaseHref(this._doc)}onPopState(e){let i=ri().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",e,!1),()=>i.removeEventListener("popstate",e)}onHashChange(e){let i=ri().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",e,!1),()=>i.removeEventListener("hashchange",e)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(e){this._location.pathname=e}pushState(e,i,r){this._history.pushState(e,i,r)}replaceState(e,i,r){this._history.replaceState(e,i,r)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}static \u0275fac=function(i){return new(i||n)};static \u0275prov=C({token:n,factory:()=>new n,providedIn:"platform"})}return n})();function Ip(n,t){if(n.length==0)return t;if(t.length==0)return n;let e=0;return n.endsWith("/")&&e++,t.startsWith("/")&&e++,e==2?n+t.substring(1):e==1?n+t:n+"/"+t}function cx(n){let t=n.match(/#|\?|$/),e=t&&t.index||n.length,i=e-(n[e-1]==="/"?1:0);return n.slice(0,i)+n.slice(e)}function Ti(n){return n&&n[0]!=="?"?"?"+n:n}var Ai=(()=>{class n{historyGo(e){throw new Error("")}static \u0275fac=function(i){return new(i||n)};static \u0275prov=C({token:n,factory:()=>u(Mp),providedIn:"root"})}return n})(),vx=new x(""),Mp=(()=>{class n extends Ai{_platformLocation;_baseHref;_removeListenerFns=[];constructor(e,i){var r;super(),this._platformLocation=e,this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??((r=u(J).location)==null?void 0:r.origin)??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return Ip(this._baseHref,e)}path(e=!1){let i=this._platformLocation.pathname+Ti(this._platformLocation.search),r=this._platformLocation.hash;return r&&e?`${i}${r}`:i}pushState(e,i,r,o){let s=this.prepareExternalUrl(r+Ti(o));this._platformLocation.pushState(e,i,s)}replaceState(e,i,r,o){let s=this.prepareExternalUrl(r+Ti(o));this._platformLocation.replaceState(e,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){var i,r;(r=(i=this._platformLocation).historyGo)==null||r.call(i,e)}static \u0275fac=function(i){return new(i||n)(O(Ep),O(vx,8))};static \u0275prov=C({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),_x=(()=>{class n extends Ai{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(e,i){super(),this._platformLocation=e,i!=null&&(this._baseHref=i)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){let i=this._platformLocation.hash??"#";return i.length>0?i.substring(1):i}prepareExternalUrl(e){let i=Ip(this._baseHref,e);return i.length>0?"#"+i:i}pushState(e,i,r,o){let s=this.prepareExternalUrl(r+Ti(o));s.length==0&&(s=this._platformLocation.pathname),this._platformLocation.pushState(e,i,s)}replaceState(e,i,r,o){let s=this.prepareExternalUrl(r+Ti(o));s.length==0&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(e,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){var i,r;(r=(i=this._platformLocation).historyGo)==null||r.call(i,e)}static \u0275fac=function(i){return new(i||n)(O(Ep),O(vx,8))};static \u0275prov=C({token:n,factory:n.\u0275fac})}return n})(),or=(()=>{class n{_subject=new M;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(e){this._locationStrategy=e;let i=this._locationStrategy.getBaseHref();this._basePath=n1(cx(dx(i))),this._locationStrategy.onPopState(r=>{this._subject.next({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){var e;(e=this._urlChangeSubscription)==null||e.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,i=""){return this.path()==this.normalize(e+Ti(i))}normalize(e){return n.stripTrailingSlash(t1(this._basePath,dx(e)))}prepareExternalUrl(e){return e&&e[0]!=="/"&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,i="",r=null){this._locationStrategy.pushState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Ti(i)),r)}replaceState(e,i="",r=null){this._locationStrategy.replaceState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Ti(i)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){var i,r;(r=(i=this._locationStrategy).historyGo)==null||r.call(i,e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription??=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)}),()=>{var r;let i=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(i,1),this._urlChangeListeners.length===0&&((r=this._urlChangeSubscription)==null||r.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",i){this._urlChangeListeners.forEach(r=>r(e,i))}subscribe(e,i,r){return this._subject.subscribe({next:e,error:i??void 0,complete:r??void 0})}static normalizeQueryParams=Ti;static joinWithSlash=Ip;static stripTrailingSlash=cx;static \u0275fac=function(i){return new(i||n)(O(Ai))};static \u0275prov=C({token:n,factory:()=>e1(),providedIn:"root"})}return n})();function e1(){return new or(O(Ai))}function t1(n,t){if(!n||!t.startsWith(n))return t;let e=t.substring(n.length);return e===""||["/",";","?","#"].includes(e[0])?e:t}function dx(n){return n.replace(/\/index.html$/,"")}function n1(n){if(new RegExp("^(https?:)?//").test(n)){let[,e]=n.split(/\/\/[^\/]+/);return e}return n}function jd(n,t){t=encodeURIComponent(t);for(let e of n.split(";")){let i=e.indexOf("="),[r,o]=i==-1?[e,""]:[e.slice(0,i),e.slice(i+1)];if(r.trim()===t)return decodeURIComponent(o)}return null}var bp=/\s+/,ux=[],Jo=(()=>{class n{_ngEl;_renderer;initialClasses=ux;rawClass;stateMap=new Map;constructor(e,i){this._ngEl=e,this._renderer=i}set klass(e){this.initialClasses=e!=null?e.trim().split(bp):ux}set ngClass(e){this.rawClass=typeof e=="string"?e.trim().split(bp):e}ngDoCheck(){for(let i of this.initialClasses)this._updateState(i,!0);let e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(let i of e)this._updateState(i,!0);else if(e!=null)for(let i of Object.keys(e))this._updateState(i,!!e[i]);this._applyStateDiff()}_updateState(e,i){let r=this.stateMap.get(e);r!==void 0?(r.enabled!==i&&(r.changed=!0,r.enabled=i),r.touched=!0):this.stateMap.set(e,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(let e of this.stateMap){let i=e[0],r=e[1];r.changed?(this._toggleClass(i,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),r.touched=!1}}_toggleClass(e,i){e=e.trim(),e.length>0&&e.split(bp).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}static \u0275fac=function(i){return new(i||n)(S(H),S(ir))};static \u0275dir=P({type:n,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return n})();var wp=class{$implicit;ngForOf;index;count;constructor(t,e,i,r){this.$implicit=t,this.ngForOf=e,this.index=i,this.count=r}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},Tt=(()=>{class n{_viewContainer;_template;_differs;set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(e,i,r){this._viewContainer=e,this._template=i,this._differs=r}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let e=this._ngForOf;if(!this._differ&&e)if(0)try{}catch{}else this._differ=this._differs.find(e).create(this.ngForTrackBy)}if(this._differ){let e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){let i=this._viewContainer;e.forEachOperation((r,o,s)=>{if(r.previousIndex==null)i.createEmbeddedView(this._template,new wp(r.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)i.remove(o===null?void 0:o);else if(o!==null){let a=i.get(o);i.move(a,s),fx(a,r)}});for(let r=0,o=i.length;r{let o=i.get(r.currentIndex);fx(o,r)})}static ngTemplateContextGuard(e,i){return!0}static \u0275fac=function(i){return new(i||n)(S(at),S(xt),S(Pd))};static \u0275dir=P({type:n,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return n})();function fx(n,t){n.context.$implicit=t.item}var At=(()=>{class n{_viewContainer;_context=new xp;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(e,i){this._viewContainer=e,this._thenTemplateRef=i}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){hx("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){hx("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(e,i){return!0}static \u0275fac=function(i){return new(i||n)(S(at),S(xt))};static \u0275dir=P({type:n,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return n})(),xp=class{$implicit=null;ngIf=null};function hx(n,t){if(!!!(!t||t.createEmbeddedView))throw new Error(`${n} must be a TemplateRef, but received '${Pt(t)}'.`)}var yx=(()=>{class n{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(e){this._viewContainerRef=e}ngOnChanges(e){if(this._shouldRecreateView(e)){let i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let r=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,i,r)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,i,r):!1,get:(e,i,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,r)}})}static \u0275fac=function(i){return new(i||n)(S(at))};static \u0275dir=P({type:n,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[qe]})}return n})();var bx=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=V({type:n});static \u0275inj=L({})}return n})(),Sp="browser",i1="server";function Tp(n){return n===Sp}function Bd(n){return n===i1}var wx=(()=>{class n{static \u0275prov=C({token:n,providedIn:"root",factory:()=>Tp(u(Tn))?new Cp(u(J),window):new Dp})}return n})(),Cp=class{document;window;offset=()=>[0,0];constructor(t,e){this.document=t,this.window=e}setOffset(t){Array.isArray(t)?this.offset=()=>t:this.offset=t}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(t){this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){let e=r1(this.document,t);e&&(this.scrollToElement(e),e.focus())}setHistoryScrollRestoration(t){this.window.history.scrollRestoration=t}scrollToElement(t){let e=t.getBoundingClientRect(),i=e.left+this.window.pageXOffset,r=e.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(i-o[0],r-o[1])}};function r1(n,t){let e=n.getElementById(t)||n.getElementsByName(t)[0];if(e)return e;if(typeof n.createTreeWalker=="function"&&n.body&&typeof n.body.attachShadow=="function"){let i=n.createTreeWalker(n.body,NodeFilter.SHOW_ELEMENT),r=i.currentNode;for(;r;){let o=r.shadowRoot;if(o){let s=o.getElementById(t)||o.querySelector(`[name="${t}"]`);if(s)return s}r=i.nextNode()}}return null}var Dp=class{setOffset(t){}getScrollPosition(){return[0,0]}scrollToPosition(t){}scrollToAnchor(t){}setHistoryScrollRestoration(t){}},Xo=class{};var va=class{},Ud=class{},ki=class n{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(t){t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(` +`).forEach(e=>{let i=e.indexOf(":");if(i>0){let r=e.slice(0,i),o=e.slice(i+1).trim();this.addHeaderEntry(r,o)}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((e,i)=>{this.addHeaderEntry(i,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([e,i])=>{this.setHeaderEntries(e,i)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof n?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){let e=new n;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof n?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){let e=t.name.toLowerCase();switch(t.op){case"a":case"s":let i=t.value;if(typeof i=="string"&&(i=[i]),i.length===0)return;this.maybeSetNormalizedName(t.name,e);let r=(t.op==="a"?this.headers.get(e):void 0)||[];r.push(...i),this.headers.set(e,r);break;case"d":let o=t.value;if(!o)this.headers.delete(e),this.normalizedNames.delete(e);else{let s=this.headers.get(e);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,s)}break}}addHeaderEntry(t,e){let i=t.toLowerCase();this.maybeSetNormalizedName(t,i),this.headers.has(i)?this.headers.get(i).push(e):this.headers.set(i,[e])}setHeaderEntries(t,e){let i=(Array.isArray(e)?e:[e]).map(o=>o.toString()),r=t.toLowerCase();this.headers.set(r,i),this.maybeSetNormalizedName(t,r)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}};var kp=class{encodeKey(t){return xx(t)}encodeValue(t){return xx(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function o1(n,t){let e=new Map;return n.length>0&&n.replace(/^\?/,"").split("&").forEach(r=>{let o=r.indexOf("="),[s,a]=o==-1?[t.decodeKey(r),""]:[t.decodeKey(r.slice(0,o)),t.decodeValue(r.slice(o+1))],l=e.get(s)||[];l.push(a),e.set(s,l)}),e}var s1=/%(\d[a-f0-9])/gi,a1={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function xx(n){return encodeURIComponent(n).replace(s1,(t,e)=>a1[e]??t)}function zd(n){return`${n}`}var ar=class n{map;encoder;updates=null;cloneFrom=null;constructor(t={}){if(this.encoder=t.encoder||new kp,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=o1(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{let i=t.fromObject[e],r=Array.isArray(i)?i.map(zd):[zd(i)];this.map.set(e,r)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}appendAll(t){let e=[];return Object.keys(t).forEach(i=>{let r=t[i];Array.isArray(r)?r.forEach(o=>{e.push({param:i,value:o,op:"a"})}):e.push({param:i,value:r,op:"a"})}),this.clone(e)}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let e=this.encoder.encodeKey(t);return this.map.get(t).map(i=>e+"="+this.encoder.encodeValue(i)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let e=new n({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(t),e}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":let e=(t.op==="a"?this.map.get(t.param):void 0)||[];e.push(zd(t.value)),this.map.set(t.param,e);break;case"d":if(t.value!==void 0){let i=this.map.get(t.param)||[],r=i.indexOf(zd(t.value));r!==-1&&i.splice(r,1),i.length>0?this.map.set(t.param,i):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}};var Op=class{map=new Map;set(t,e){return this.map.set(t,e),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}};function l1(n){switch(n){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Cx(n){return typeof ArrayBuffer<"u"&&n instanceof ArrayBuffer}function Dx(n){return typeof Blob<"u"&&n instanceof Blob}function Ex(n){return typeof FormData<"u"&&n instanceof FormData}function c1(n){return typeof URLSearchParams<"u"&&n instanceof URLSearchParams}var ga=class n{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;responseType="json";method;params;urlWithParams;transferCache;constructor(t,e,i,r){this.url=e,this.method=t.toUpperCase();let o;if(l1(this.method)||r?(this.body=i!==void 0?i:null,o=r):o=i,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers??=new ki,this.context??=new Op,!this.params)this.params=new ar,this.urlWithParams=e;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=e;else{let a=e.indexOf("?"),l=a===-1?"?":ag.set(h,t.setHeaders[h]),c)),t.setParams&&(d=Object.keys(t.setParams).reduce((g,h)=>g.set(h,t.setParams[h]),d)),new n(e,i,s,{params:d,headers:c,context:f,reportProgress:l,responseType:r,withCredentials:a,transferCache:o})}},lr=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}(lr||{}),_a=class{headers;status;statusText;url;ok;type;constructor(t,e=200,i="OK"){this.headers=t.headers||new ki,this.status=t.status!==void 0?t.status:e,this.statusText=t.statusText||i,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}},Hd=class n extends _a{constructor(t={}){super(t)}type=lr.ResponseHeader;clone(t={}){return new n({headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},ya=class n extends _a{body;constructor(t={}){super(t),this.body=t.body!==void 0?t.body:null}type=lr.Response;clone(t={}){return new n({body:t.body!==void 0?t.body:this.body,headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},sr=class extends _a{name="HttpErrorResponse";message;error;ok=!1;constructor(t){super(t,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||"(unknown url)"}`:this.message=`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}},Ax=200,d1=204;function Ap(n,t){return{body:t,headers:n.headers,context:n.context,observe:n.observe,params:n.params,reportProgress:n.reportProgress,responseType:n.responseType,withCredentials:n.withCredentials,transferCache:n.transferCache}}var Pp=(()=>{class n{handler;constructor(e){this.handler=e}request(e,i,r={}){let o;if(e instanceof ga)o=e;else{let l;r.headers instanceof ki?l=r.headers:l=new ki(r.headers);let c;r.params&&(r.params instanceof ar?c=r.params:c=new ar({fromObject:r.params})),o=new ga(e,i,r.body!==void 0?r.body:null,{headers:l,context:r.context,params:c,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials,transferCache:r.transferCache})}let s=U(o).pipe(mi(l=>this.handler.handle(l)));if(e instanceof ga||r.observe==="events")return s;let a=s.pipe(ne(l=>l instanceof ya));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(Y(l=>{if(l.body!==null&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return a.pipe(Y(l=>{if(l.body!==null&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return a.pipe(Y(l=>{if(l.body!==null&&typeof l.body!="string")throw new Error("Response is not a string.");return l.body}));case"json":default:return a.pipe(Y(l=>l.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${r.observe}}`)}}delete(e,i={}){return this.request("DELETE",e,i)}get(e,i={}){return this.request("GET",e,i)}head(e,i={}){return this.request("HEAD",e,i)}jsonp(e,i){return this.request("JSONP",e,{params:new ar().append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,i={}){return this.request("OPTIONS",e,i)}patch(e,i,r={}){return this.request("PATCH",e,Ap(r,i))}post(e,i,r={}){return this.request("POST",e,Ap(r,i))}put(e,i,r={}){return this.request("PUT",e,Ap(r,i))}static \u0275fac=function(i){return new(i||n)(O(va))};static \u0275prov=C({token:n,factory:n.\u0275fac})}return n})(),u1=/^\)\]\}',?\n/,f1="X-Request-URL";function Ix(n){if(n.url)return n.url;let t=f1.toLocaleLowerCase();return n.headers.get(t)}var h1=(()=>{var t;class n{fetchImpl=((t=u(Rp,{optional:!0}))==null?void 0:t.fetch)??((...i)=>globalThis.fetch(...i));ngZone=u(R);handle(i){return new le(r=>{let o=new AbortController;return this.doRequest(i,o.signal,r).then(Np,s=>r.error(new sr({error:s}))),()=>o.abort()})}doRequest(i,r,o){return Se(this,null,function*(){let s=this.createRequestInit(i),a;try{let v=this.ngZone.runOutsideAngular(()=>this.fetchImpl(i.urlWithParams,w({signal:r},s)));m1(v),o.next({type:lr.Sent}),a=yield v}catch(v){o.error(new sr({error:v,status:v.status??0,statusText:v.statusText,url:i.urlWithParams,headers:v.headers}));return}let l=new ki(a.headers),c=a.statusText,d=Ix(a)??i.urlWithParams,f=a.status,g=null;if(i.reportProgress&&o.next(new Hd({headers:l,status:f,statusText:c,url:d})),a.body){let v=a.headers.get("content-length"),_=[],I=a.body.getReader(),k=0,ae,z,Ce=typeof Zone<"u"&&Zone.current;yield this.ngZone.runOutsideAngular(()=>Se(this,null,function*(){for(;;){let{done:je,value:ke}=yield I.read();if(je)break;if(_.push(ke),k+=ke.length,i.reportProgress){z=i.responseType==="text"?(z??"")+(ae??=new TextDecoder).decode(ke,{stream:!0}):void 0;let ot=()=>o.next({type:lr.DownloadProgress,total:v?+v:void 0,loaded:k,partialText:z});Ce?Ce.run(ot):ot()}}}));let yt=this.concatChunks(_,k);try{let je=a.headers.get("Content-Type")??"";g=this.parseBody(i,yt,je)}catch(je){o.error(new sr({error:je,headers:new ki(a.headers),status:a.status,statusText:a.statusText,url:Ix(a)??i.urlWithParams}));return}}f===0&&(f=g?Ax:0),f>=200&&f<300?(o.next(new ya({body:g,headers:l,status:f,statusText:c,url:d})),o.complete()):o.error(new sr({error:g,headers:l,status:f,statusText:c,url:d}))})}parseBody(i,r,o){switch(i.responseType){case"json":let s=new TextDecoder().decode(r).replace(u1,"");return s===""?null:JSON.parse(s);case"text":return new TextDecoder().decode(r);case"blob":return new Blob([r],{type:o});case"arraybuffer":return r.buffer}}createRequestInit(i){let r={},o=i.withCredentials?"include":void 0;if(i.headers.forEach((s,a)=>r[s]=a.join(",")),i.headers.has("Accept")||(r.Accept="application/json, text/plain, */*"),!i.headers.has("Content-Type")){let s=i.detectContentTypeHeader();s!==null&&(r["Content-Type"]=s)}return{body:i.serializeBody(),method:i.method,headers:r,credentials:o}}concatChunks(i,r){let o=new Uint8Array(r),s=0;for(let a of i)o.set(a,s),s+=a.length;return o}static \u0275fac=function(r){return new(r||n)};static \u0275prov=C({token:n,factory:n.\u0275fac})}return n})(),Rp=class{};function Np(){}function m1(n){n.then(Np,Np)}function kx(n,t){return t(n)}function p1(n,t){return(e,i)=>t.intercept(e,{handle:r=>n(r,i)})}function g1(n,t,e){return(i,r)=>Bt(e,()=>t(i,o=>n(o,r)))}var v1=new x(""),Fp=new x(""),_1=new x(""),Ox=new x("",{providedIn:"root",factory:()=>!0});function y1(){let n=null;return(t,e)=>{n===null&&(n=(u(v1,{optional:!0})??[]).reduceRight(p1,kx));let i=u(Jn);if(u(Ox)){let o=i.add();return n(t,e).pipe(Yi(()=>i.remove(o)))}else return n(t,e)}}var Mx=(()=>{class n extends va{backend;injector;chain=null;pendingTasks=u(Jn);contributeToStability=u(Ox);constructor(e,i){super(),this.backend=e,this.injector=i}handle(e){if(this.chain===null){let i=Array.from(new Set([...this.injector.get(Fp),...this.injector.get(_1,[])]));this.chain=i.reduceRight((r,o)=>g1(r,o,this.injector),kx)}if(this.contributeToStability){let i=this.pendingTasks.add();return this.chain(e,r=>this.backend.handle(r)).pipe(Yi(()=>this.pendingTasks.remove(i)))}else return this.chain(e,i=>this.backend.handle(i))}static \u0275fac=function(i){return new(i||n)(O(Ud),O(ht))};static \u0275prov=C({token:n,factory:n.\u0275fac})}return n})();var b1=/^\)\]\}',?\n/;function w1(n){return"responseURL"in n&&n.responseURL?n.responseURL:/^X-Request-URL:/m.test(n.getAllResponseHeaders())?n.getResponseHeader("X-Request-URL"):null}var Sx=(()=>{class n{xhrFactory;constructor(e){this.xhrFactory=e}handle(e){if(e.method==="JSONP")throw new E(-2800,!1);let i=this.xhrFactory;return(i.\u0275loadImpl?Fe(i.\u0275loadImpl()):U(null)).pipe(tt(()=>new le(o=>{let s=i.build();if(s.open(e.method,e.urlWithParams),e.withCredentials&&(s.withCredentials=!0),e.headers.forEach((_,I)=>s.setRequestHeader(_,I.join(","))),e.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){let _=e.detectContentTypeHeader();_!==null&&s.setRequestHeader("Content-Type",_)}if(e.responseType){let _=e.responseType.toLowerCase();s.responseType=_!=="json"?_:"text"}let a=e.serializeBody(),l=null,c=()=>{if(l!==null)return l;let _=s.statusText||"OK",I=new ki(s.getAllResponseHeaders()),k=w1(s)||e.url;return l=new Hd({headers:I,status:s.status,statusText:_,url:k}),l},d=()=>{let{headers:_,status:I,statusText:k,url:ae}=c(),z=null;I!==d1&&(z=typeof s.response>"u"?s.responseText:s.response),I===0&&(I=z?Ax:0);let Ce=I>=200&&I<300;if(e.responseType==="json"&&typeof z=="string"){let yt=z;z=z.replace(b1,"");try{z=z!==""?JSON.parse(z):null}catch(je){z=yt,Ce&&(Ce=!1,z={error:je,text:z})}}Ce?(o.next(new ya({body:z,headers:_,status:I,statusText:k,url:ae||void 0})),o.complete()):o.error(new sr({error:z,headers:_,status:I,statusText:k,url:ae||void 0}))},f=_=>{let{url:I}=c(),k=new sr({error:_,status:s.status||0,statusText:s.statusText||"Unknown Error",url:I||void 0});o.error(k)},g=!1,h=_=>{g||(o.next(c()),g=!0);let I={type:lr.DownloadProgress,loaded:_.loaded};_.lengthComputable&&(I.total=_.total),e.responseType==="text"&&s.responseText&&(I.partialText=s.responseText),o.next(I)},v=_=>{let I={type:lr.UploadProgress,loaded:_.loaded};_.lengthComputable&&(I.total=_.total),o.next(I)};return s.addEventListener("load",d),s.addEventListener("error",f),s.addEventListener("timeout",f),s.addEventListener("abort",f),e.reportProgress&&(s.addEventListener("progress",h),a!==null&&s.upload&&s.upload.addEventListener("progress",v)),s.send(a),o.next({type:lr.Sent}),()=>{s.removeEventListener("error",f),s.removeEventListener("abort",f),s.removeEventListener("load",d),s.removeEventListener("timeout",f),e.reportProgress&&(s.removeEventListener("progress",h),a!==null&&s.upload&&s.upload.removeEventListener("progress",v)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(i){return new(i||n)(O(Xo))};static \u0275prov=C({token:n,factory:n.\u0275fac})}return n})(),Rx=new x(""),x1="XSRF-TOKEN",C1=new x("",{providedIn:"root",factory:()=>x1}),D1="X-XSRF-TOKEN",E1=new x("",{providedIn:"root",factory:()=>D1}),$d=class{},I1=(()=>{class n{doc;platform;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(e,i,r){this.doc=e,this.platform=i,this.cookieName=r}getToken(){if(this.platform==="server")return null;let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=jd(e,this.cookieName),this.lastCookieString=e),this.lastToken}static \u0275fac=function(i){return new(i||n)(O(J),O(Tn),O(C1))};static \u0275prov=C({token:n,factory:n.\u0275fac})}return n})();function M1(n,t){let e=n.url.toLowerCase();if(!u(Rx)||n.method==="GET"||n.method==="HEAD"||e.startsWith("http://")||e.startsWith("https://"))return t(n);let i=u($d).getToken(),r=u(E1);return i!=null&&!n.headers.has(r)&&(n=n.clone({headers:n.headers.set(r,i)})),t(n)}var Nx=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}(Nx||{});function S1(n,t){return{\u0275kind:n,\u0275providers:t}}function Px(...n){let t=[Pp,Sx,Mx,{provide:va,useExisting:Mx},{provide:Ud,useFactory:()=>u(h1,{optional:!0})??u(Sx)},{provide:Fp,useValue:M1,multi:!0},{provide:Rx,useValue:!0},{provide:$d,useClass:I1}];for(let e of n)t.push(...e.\u0275providers);return id(t)}var Tx=new x("");function Fx(){return S1(Nx.LegacyInterceptors,[{provide:Tx,useFactory:y1},{provide:Fp,useExisting:Tx,multi:!0}])}var Vp=class extends Ld{supportsDOMEvents=!0},jp=class n extends Vp{static makeCurrent(){px(new n)}onAndCancel(t,e,i){return t.addEventListener(e,i),()=>{t.removeEventListener(e,i)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){t.remove()}createElement(t,e){return e=e||this.getDefaultDocument(),e.createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return e==="window"?window:e==="document"?t:e==="body"?t.body:null}getBaseHref(t){let e=A1();return e==null?null:k1(e)}resetBaseElement(){ba=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return jd(document.cookie,t)}},ba=null;function A1(){return ba=ba||document.querySelector("base"),ba?ba.getAttribute("href"):null}function k1(n){return new URL(n,document.baseURI).pathname}var Bp=class{addToWindow(t){Qt.getAngularTestability=(i,r=!0)=>{let o=t.findTestabilityInTree(i,r);if(o==null)throw new E(5103,!1);return o},Qt.getAllAngularTestabilities=()=>t.getAllTestabilities(),Qt.getAllAngularRootElements=()=>t.getAllRootElements();let e=i=>{let r=Qt.getAllAngularTestabilities(),o=r.length,s=function(){o--,o==0&&i()};r.forEach(a=>{a.whenStable(s)})};Qt.frameworkStabilizers||(Qt.frameworkStabilizers=[]),Qt.frameworkStabilizers.push(e)}findTestabilityInTree(t,e,i){if(e==null)return null;let r=t.getTestability(e);return r??(i?ri().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null)}},O1=(()=>{class n{build(){return new XMLHttpRequest}static \u0275fac=function(i){return new(i||n)};static \u0275prov=C({token:n,factory:n.\u0275fac})}return n})(),zp=new x(""),zx=(()=>{class n{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,i){this._zone=i,e.forEach(r=>{r.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,i,r){return this._findPluginFor(i).addEventListener(e,i,r)}getZone(){return this._zone}_findPluginFor(e){let i=this._eventNameToPlugin.get(e);if(i)return i;if(i=this._plugins.find(o=>o.supports(e)),!i)throw new E(5101,!1);return this._eventNameToPlugin.set(e,i),i}static \u0275fac=function(i){return new(i||n)(O(zp),O(R))};static \u0275prov=C({token:n,factory:n.\u0275fac})}return n})(),Gd=class{_doc;constructor(t){this._doc=t}manager},Up="ng-app-id";function Lx(n){for(let t of n)t.remove()}function Vx(n,t){let e=t.createElement("style");return e.textContent=n,e}function R1(n,t,e){var r;let i=(r=n.head)==null?void 0:r.querySelectorAll(`style[${Up}="${t}"]`);if(i)for(let o of i)o.textContent&&(o.removeAttribute(Up),e.set(o.textContent,{usage:0,elements:[o]}))}function Hp(n,t){let e=t.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",n),e}var Ux=(()=>{class n{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(e,i,r,o={}){this.doc=e,this.appId=i,this.nonce=r,this.isServer=Bd(o),R1(e,i,this.inline),this.hosts.add(e.head)}addStyles(e,i){for(let r of e)this.addUsage(r,this.inline,Vx);i==null||i.forEach(r=>this.addUsage(r,this.external,Hp))}removeStyles(e,i){for(let r of e)this.removeUsage(r,this.inline);i==null||i.forEach(r=>this.removeUsage(r,this.external))}addUsage(e,i,r){let o=i.get(e);o?o.usage++:i.set(e,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,r(e,this.doc)))})}removeUsage(e,i){let r=i.get(e);r&&(r.usage--,r.usage<=0&&(Lx(r.elements),i.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])Lx(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[i,{elements:r}]of this.inline)r.push(this.addElement(e,Vx(i,this.doc)));for(let[i,{elements:r}]of this.external)r.push(this.addElement(e,Hp(i,this.doc)))}removeHost(e){this.hosts.delete(e)}addElement(e,i){return this.nonce&&i.setAttribute("nonce",this.nonce),this.isServer&&i.setAttribute(Up,this.appId),e.appendChild(i)}static \u0275fac=function(i){return new(i||n)(O(J),O(Qo),O(la,8),O(Tn))};static \u0275prov=C({token:n,factory:n.\u0275fac})}return n})(),Lp={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"},Gp=/%COMP%/g,Hx="%COMP%",N1=`_nghost-${Hx}`,P1=`_ngcontent-${Hx}`,F1=!0,L1=new x("",{providedIn:"root",factory:()=>F1});function V1(n){return P1.replace(Gp,n)}function j1(n){return N1.replace(Gp,n)}function $x(n,t){return t.map(e=>e.replace(Gp,n))}var Wd=(()=>{class n{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(e,i,r,o,s,a,l,c=null){this.eventManager=e,this.sharedStylesHost=i,this.appId=r,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=c,this.platformIsServer=Bd(a),this.defaultRenderer=new wa(e,s,l,this.platformIsServer)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===Zn.ShadowDom&&(i=te(w({},i),{encapsulation:Zn.Emulated}));let r=this.getOrCreateRenderer(e,i);return r instanceof qd?r.applyToHost(e):r instanceof xa&&r.applyStyles(),r}getOrCreateRenderer(e,i){let r=this.rendererByCompId,o=r.get(i.id);if(!o){let s=this.doc,a=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,f=this.platformIsServer;switch(i.encapsulation){case Zn.Emulated:o=new qd(l,c,i,this.appId,d,s,a,f);break;case Zn.ShadowDom:return new $p(l,c,e,i,s,a,this.nonce,f);default:o=new xa(l,c,i,d,s,a,f);break}r.set(i.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}static \u0275fac=function(i){return new(i||n)(O(zx),O(Ux),O(Qo),O(L1),O(J),O(Tn),O(R),O(la))};static \u0275prov=C({token:n,factory:n.\u0275fac})}return n})(),wa=class{eventManager;doc;ngZone;platformIsServer;data=Object.create(null);throwOnSyntheticProps=!0;constructor(t,e,i,r){this.eventManager=t,this.doc=e,this.ngZone=i,this.platformIsServer=r}destroy(){}destroyNode=null;createElement(t,e){return e?this.doc.createElementNS(Lp[e]||e,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,e){(jx(t)?t.content:t).appendChild(e)}insertBefore(t,e,i){t&&(jx(t)?t.content:t).insertBefore(e,i)}removeChild(t,e){e.remove()}selectRootElement(t,e){let i=typeof t=="string"?this.doc.querySelector(t):t;if(!i)throw new E(-5104,!1);return e||(i.textContent=""),i}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,i,r){if(r){e=r+":"+e;let o=Lp[r];o?t.setAttributeNS(o,e,i):t.setAttribute(e,i)}else t.setAttribute(e,i)}removeAttribute(t,e,i){if(i){let r=Lp[i];r?t.removeAttributeNS(r,e):t.removeAttribute(`${i}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,i,r){r&(wi.DashCase|wi.Important)?t.style.setProperty(e,i,r&wi.Important?"important":""):t.style[e]=i}removeStyle(t,e,i){i&wi.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,i){t!=null&&(t[e]=i)}setValue(t,e){t.nodeValue=e}listen(t,e,i){if(typeof t=="string"&&(t=ri().getGlobalEventTarget(this.doc,t),!t))throw new Error(`Unsupported event target ${t} for event ${e}`);return this.eventManager.addEventListener(t,e,this.decoratePreventDefault(i))}decoratePreventDefault(t){return e=>{if(e==="__ngUnwrap__")return t;(this.platformIsServer?this.ngZone.runGuarded(()=>t(e)):t(e))===!1&&e.preventDefault()}}};function jx(n){return n.tagName==="TEMPLATE"&&n.content!==void 0}var $p=class extends wa{sharedStylesHost;hostEl;shadowRoot;constructor(t,e,i,r,o,s,a,l){var f;super(t,o,s,l),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=$x(r.id,r.styles);for(let g of c){let h=document.createElement("style");a&&h.setAttribute("nonce",a),h.textContent=g,this.shadowRoot.appendChild(h)}let d=(f=r.getExternalStyles)==null?void 0:f.call(r);if(d)for(let g of d){let h=Hp(g,o);a&&h.setAttribute("nonce",a),this.shadowRoot.appendChild(h)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,e){return super.appendChild(this.nodeOrShadowRoot(t),e)}insertBefore(t,e,i){return super.insertBefore(this.nodeOrShadowRoot(t),e,i)}removeChild(t,e){return super.removeChild(null,e)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},xa=class extends wa{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,e,i,r,o,s,a,l){var c;super(t,o,s,a),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=r,this.styles=l?$x(l,i.styles):i.styles,this.styleUrls=(c=i.getExternalStyles)==null?void 0:c.call(i,l)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},qd=class extends xa{contentAttr;hostAttr;constructor(t,e,i,r,o,s,a,l){let c=r+"-"+i.id;super(t,e,i,o,s,a,l,c),this.contentAttr=V1(c),this.hostAttr=j1(c)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,e){let i=super.createElement(t,e);return super.setAttribute(i,this.contentAttr,""),i}},B1=(()=>{class n extends Gd{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,r){return e.addEventListener(i,r,!1),()=>this.removeEventListener(e,i,r)}removeEventListener(e,i,r){return e.removeEventListener(i,r)}static \u0275fac=function(i){return new(i||n)(O(J))};static \u0275prov=C({token:n,factory:n.\u0275fac})}return n})(),Bx=["alt","control","meta","shift"],z1={"\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"},U1={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey},H1=(()=>{class n extends Gd{constructor(e){super(e)}supports(e){return n.parseEventName(e)!=null}addEventListener(e,i,r){let o=n.parseEventName(i),s=n.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>ri().onAndCancel(e,o.domEventName,s))}static parseEventName(e){let i=e.toLowerCase().split("."),r=i.shift();if(i.length===0||!(r==="keydown"||r==="keyup"))return null;let o=n._normalizeKey(i.pop()),s="",a=i.indexOf("code");if(a>-1&&(i.splice(a,1),s="code."),Bx.forEach(c=>{let d=i.indexOf(c);d>-1&&(i.splice(d,1),s+=c+".")}),s+=o,i.length!=0||o.length===0)return null;let l={};return l.domEventName=r,l.fullKey=s,l}static matchEventFullKeyCode(e,i){let r=z1[e.key]||e.key,o="";return i.indexOf("code.")>-1&&(r=e.code,o="code."),r==null||!r?!1:(r=r.toLowerCase(),r===" "?r="space":r==="."&&(r="dot"),Bx.forEach(s=>{if(s!==r){let a=U1[s];a(e)&&(o+=s+".")}}),o+=r,o===i)}static eventCallback(e,i,r){return o=>{n.matchEventFullKeyCode(o,e)&&r.runGuarded(()=>i(o))}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(i){return new(i||n)(O(J))};static \u0275prov=C({token:n,factory:n.\u0275fac})}return n})();function $1(){jp.makeCurrent()}function G1(){return new Yn}function W1(){return p0(document),document}var q1=[{provide:Tn,useValue:Sp},{provide:Hm,useValue:$1,multi:!0},{provide:J,useFactory:W1,deps:[]}],Gx=yp(rx,"browser",q1),Y1=new x(""),Q1=[{provide:ua,useClass:Bp,deps:[]},{provide:dp,useClass:Sd,deps:[R,Td,ua]},{provide:Sd,useClass:Sd,deps:[R,Td,ua]}],Z1=[{provide:rd,useValue:"root"},{provide:Yn,useFactory:G1,deps:[]},{provide:zp,useClass:B1,multi:!0,deps:[J,R,Tn]},{provide:zp,useClass:H1,multi:!0,deps:[J]},Wd,Ux,zx,{provide:tr,useExisting:Wd},{provide:Xo,useClass:O1,deps:[]},[]],Yd=(()=>{class n{constructor(e){}static \u0275fac=function(i){return new(i||n)(O(Y1,12))};static \u0275mod=V({type:n});static \u0275inj=L({providers:[...Z1,...Q1],imports:[bx,ox]})}return n})();var Wx=(()=>{class n{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static \u0275fac=function(i){return new(i||n)(O(J))};static \u0275prov=C({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var Wp=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275prov=C({token:n,factory:function(i){let r=null;return i?r=new(i||n):r=O(K1),r},providedIn:"root"})}return n})(),K1=(()=>{class n extends Wp{_doc;constructor(e){super(),this._doc=e}sanitize(e,i){if(i==null)return null;switch(e){case kn.NONE:return i;case kn.HTML:return Ei(i,"HTML")?cn(i):Gm(this._doc,String(i)).toString();case kn.STYLE:return Ei(i,"Style")?cn(i):i;case kn.SCRIPT:if(Ei(i,"Script"))return cn(i);throw new E(5200,!1);case kn.URL:return Ei(i,"URL")?cn(i):yd(String(i));case kn.RESOURCE_URL:if(Ei(i,"ResourceURL"))return cn(i);throw new E(5201,!1);default:throw new E(5202,!1)}}bypassSecurityTrustHtml(e){return w0(e)}bypassSecurityTrustStyle(e){return x0(e)}bypassSecurityTrustScript(e){return C0(e)}bypassSecurityTrustUrl(e){return D0(e)}bypassSecurityTrustResourceUrl(e){return E0(e)}static \u0275fac=function(i){return new(i||n)(O(J))};static \u0275prov=C({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function Oi(n){return n!=null&&`${n}`!="false"}function cr(n,t=0){return X1(n)?Number(n):arguments.length===2?t:0}function X1(n){return!isNaN(parseFloat(n))&&!isNaN(Number(n))}function es(n){return Array.isArray(n)?n:[n]}function nt(n){return n==null?"":typeof n=="string"?n:`${n}px`}function hn(n){return n instanceof H?n.nativeElement:n}var Qp;try{Qp=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Qp=!1}var Te=(()=>{class n{_platformId=u(Tn);isBrowser=this._platformId?Tp(this._platformId):typeof document=="object"&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!!(window.chrome||Qp)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static \u0275fac=function(i){return new(i||n)};static \u0275prov=C({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var ts,qx=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function Zp(){if(ts)return ts;if(typeof document!="object"||!document)return ts=new Set(qx),ts;let n=document.createElement("input");return ts=new Set(qx.filter(t=>(n.setAttribute("type",t),n.type===t))),ts}var Ca;function J1(){if(Ca==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Ca=!0}))}finally{Ca=Ca||!1}return Ca}function mn(n){return J1()?n:!!n.capture}var On=function(n){return n[n.NORMAL=0]="NORMAL",n[n.NEGATED=1]="NEGATED",n[n.INVERTED=2]="INVERTED",n}(On||{}),Qd,eo;function Zd(){if(eo==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return eo=!1,eo;if("scrollBehavior"in document.documentElement.style)eo=!0;else{let n=Element.prototype.scrollTo;n?eo=!/\{\s*\[native code\]\s*\}/.test(n.toString()):eo=!1}}return eo}function ns(){if(typeof document!="object"||!document)return On.NORMAL;if(Qd==null){let n=document.createElement("div"),t=n.style;n.dir="rtl",t.width="1px",t.overflow="auto",t.visibility="hidden",t.pointerEvents="none",t.position="absolute";let e=document.createElement("div"),i=e.style;i.width="2px",i.height="1px",n.appendChild(e),document.body.appendChild(n),Qd=On.NORMAL,n.scrollLeft===0&&(n.scrollLeft=1,Qd=n.scrollLeft===0?On.NEGATED:On.INVERTED),n.remove()}return Qd}var Yp;function eN(){if(Yp==null){let n=typeof document<"u"?document.head:null;Yp=!!(n&&(n.createShadowRoot||n.attachShadow))}return Yp}function Yx(n){if(eN()){let t=n.getRootNode?n.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}function Da(){let n=typeof document<"u"&&document?document.activeElement:null;for(;n&&n.shadowRoot;){let t=n.shadowRoot.activeElement;if(t===n)break;n=t}return n}function Zt(n){return n.composedPath?n.composedPath()[0]:n.target}function Kp(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var Kx=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=V({type:n});static \u0275inj=L({})}return n})(),Qx=new Set,to,tN=(()=>{class n{_platform=u(Te);_nonce=u(la,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):iN}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&nN(e,this._nonce),this._matchMedia(e)}static \u0275fac=function(i){return new(i||n)};static \u0275prov=C({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function nN(n,t){if(!Qx.has(n))try{to||(to=document.createElement("style"),t&&to.setAttribute("nonce",t),to.setAttribute("type","text/css"),document.head.appendChild(to)),to.sheet&&(to.sheet.insertRule(`@media ${n} {body{ }}`,0),Qx.add(n))}catch(e){console.error(e)}}function iN(n){return{matches:n==="all"||n==="",media:n,addListener:()=>{},removeListener:()=>{}}}var Xx=(()=>{class n{_mediaMatcher=u(tN);_zone=u(R);_queries=new Map;_destroySubject=new M;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return Zx(es(e)).some(r=>this._registerQuery(r).mql.matches)}observe(e){let r=Zx(es(e)).map(s=>this._registerQuery(s).observable),o=Fr(r);return o=zn(o.pipe(Be(1)),o.pipe(Hs(1),Lr(0))),o.pipe(Y(s=>{let a={matches:!1,breakpoints:{}};return s.forEach(({matches:l,query:c})=>{a.matches=a.matches||l,a.breakpoints[c]=l}),a}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);let i=this._mediaMatcher.matchMedia(e),o={observable:new le(s=>{let a=l=>this._zone.run(()=>s.next(l));return i.addListener(a),()=>{i.removeListener(a)}}).pipe(Ke(i),Y(({matches:s})=>({query:e,matches:s})),we(this._destroySubject)),mql:i};return this._queries.set(e,o),o}static \u0275fac=function(i){return new(i||n)};static \u0275prov=C({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function Zx(n){return n.map(t=>t.split(",")).reduce((t,e)=>t.concat(e)).map(t=>t.trim())}var ge="primary",Va=Symbol("RouteTitle"),ng=class{params;constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){let e=this.params[t];return Array.isArray(e)?e[0]:e}return null}getAll(t){if(this.has(t)){let e=this.params[t];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}};function ls(n){return new ng(n)}function rN(n,t,e){let i=e.path.split("/");if(i.length>n.length||e.pathMatch==="full"&&(t.hasChildren()||i.lengthi[o]===r)}else return n===t}function dC(n){return n.length>0?n[n.length-1]:null}function ur(n){return To(n)?n:Jr(n)?Fe(Promise.resolve(n)):U(n)}var sN={exact:fC,subset:hC},uC={exact:aN,subset:lN,ignored:()=>!0};function Jx(n,t,e){return sN[e.paths](n.root,t.root,e.matrixParams)&&uC[e.queryParams](n.queryParams,t.queryParams)&&!(e.fragment==="exact"&&n.fragment!==t.fragment)}function aN(n,t){return oi(n,t)}function fC(n,t,e){if(!io(n.segments,t.segments)||!Jd(n.segments,t.segments,e)||n.numberOfChildren!==t.numberOfChildren)return!1;for(let i in t.children)if(!n.children[i]||!fC(n.children[i],t.children[i],e))return!1;return!0}function lN(n,t){return Object.keys(t).length<=Object.keys(n).length&&Object.keys(t).every(e=>cC(n[e],t[e]))}function hC(n,t,e){return mC(n,t,t.segments,e)}function mC(n,t,e,i){if(n.segments.length>e.length){let r=n.segments.slice(0,e.length);return!(!io(r,e)||t.hasChildren()||!Jd(r,e,i))}else if(n.segments.length===e.length){if(!io(n.segments,e)||!Jd(n.segments,e,i))return!1;for(let r in t.children)if(!n.children[r]||!hC(n.children[r],t.children[r],i))return!1;return!0}else{let r=e.slice(0,n.segments.length),o=e.slice(n.segments.length);return!io(n.segments,r)||!Jd(n.segments,r,i)||!n.children[ge]?!1:mC(n.children[ge],t,o,i)}}function Jd(n,t,e){return t.every((i,r)=>uC[e](n[r].parameters,i.parameters))}var Ni=class{root;queryParams;fragment;_queryParamMap;constructor(t=new Ne([],{}),e={},i=null){this.root=t,this.queryParams=e,this.fragment=i}get queryParamMap(){return this._queryParamMap??=ls(this.queryParams),this._queryParamMap}toString(){return uN.serialize(this)}},Ne=class{segments;children;parent=null;constructor(t,e){this.segments=t,this.children=e,Object.values(e).forEach(i=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return eu(this)}},no=class{path;parameters;_parameterMap;constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap??=ls(this.parameters),this._parameterMap}toString(){return gC(this)}};function cN(n,t){return io(n,t)&&n.every((e,i)=>oi(e.parameters,t[i].parameters))}function io(n,t){return n.length!==t.length?!1:n.every((e,i)=>e.path===t[i].path)}function dN(n,t){let e=[];return Object.entries(n.children).forEach(([i,r])=>{i===ge&&(e=e.concat(t(r,i)))}),Object.entries(n.children).forEach(([i,r])=>{i!==ge&&(e=e.concat(t(r,i)))}),e}var ja=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275prov=C({token:n,factory:()=>new cs,providedIn:"root"})}return n})(),cs=class{parse(t){let e=new og(t);return new Ni(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){let e=`/${Ea(t.root,!0)}`,i=mN(t.queryParams),r=typeof t.fragment=="string"?`#${fN(t.fragment)}`:"";return`${e}${i}${r}`}},uN=new cs;function eu(n){return n.segments.map(t=>gC(t)).join("/")}function Ea(n,t){if(!n.hasChildren())return eu(n);if(t){let e=n.children[ge]?Ea(n.children[ge],!1):"",i=[];return Object.entries(n.children).forEach(([r,o])=>{r!==ge&&i.push(`${r}:${Ea(o,!1)}`)}),i.length>0?`${e}(${i.join("//")})`:e}else{let e=dN(n,(i,r)=>r===ge?[Ea(n.children[ge],!1)]:[`${r}:${Ea(i,!1)}`]);return Object.keys(n.children).length===1&&n.children[ge]!=null?`${eu(n)}/${e[0]}`:`${eu(n)}/(${e.join("//")})`}}function pC(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Kd(n){return pC(n).replace(/%3B/gi,";")}function fN(n){return encodeURI(n)}function rg(n){return pC(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function tu(n){return decodeURIComponent(n)}function eC(n){return tu(n.replace(/\+/g,"%20"))}function gC(n){return`${rg(n.path)}${hN(n.parameters)}`}function hN(n){return Object.entries(n).map(([t,e])=>`;${rg(t)}=${rg(e)}`).join("")}function mN(n){let t=Object.entries(n).map(([e,i])=>Array.isArray(i)?i.map(r=>`${Kd(e)}=${Kd(r)}`).join("&"):`${Kd(e)}=${Kd(i)}`).filter(e=>e);return t.length?`?${t.join("&")}`:""}var pN=/^[^\/()?;#]+/;function Xp(n){let t=n.match(pN);return t?t[0]:""}var gN=/^[^\/()?;=#]+/;function vN(n){let t=n.match(gN);return t?t[0]:""}var _N=/^[^=?&#]+/;function yN(n){let t=n.match(_N);return t?t[0]:""}var bN=/^[^&#]+/;function wN(n){let t=n.match(bN);return t?t[0]:""}var og=class{url;remaining;constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ne([],{}):new Ne([],this.parseChildren())}parseQueryParams(){let t={};if(this.consumeOptional("?"))do this.parseQueryParam(t);while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(i[ge]=new Ne(t,e)),i}parseSegment(){let t=Xp(this.remaining);if(t===""&&this.peekStartsWith(";"))throw new E(4009,!1);return this.capture(t),new no(tu(t),this.parseMatrixParams())}parseMatrixParams(){let t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){let e=vN(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){let r=Xp(this.remaining);r&&(i=r,this.capture(i))}t[tu(e)]=tu(i)}parseQueryParam(t){let e=yN(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){let s=wN(this.remaining);s&&(i=s,this.capture(i))}let r=eC(e),o=eC(i);if(t.hasOwnProperty(r)){let s=t[r];Array.isArray(s)||(s=[s],t[r]=s),s.push(o)}else t[r]=o}parseParens(t){let e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let i=Xp(this.remaining),r=this.remaining[i.length];if(r!=="/"&&r!==")"&&r!==";")throw new E(4010,!1);let o;i.indexOf(":")>-1?(o=i.slice(0,i.indexOf(":")),this.capture(o),this.capture(":")):t&&(o=ge);let s=this.parseChildren();e[o]=Object.keys(s).length===1?s[ge]:new Ne([],s),this.consumeOptional("//")}return e}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return this.peekStartsWith(t)?(this.remaining=this.remaining.substring(t.length),!0):!1}capture(t){if(!this.consumeOptional(t))throw new E(4011,!1)}};function vC(n){return n.segments.length>0?new Ne([],{[ge]:n}):n}function _C(n){let t={};for(let[i,r]of Object.entries(n.children)){let o=_C(r);if(i===ge&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))t[s]=a;else(o.segments.length>0||o.hasChildren())&&(t[i]=o)}let e=new Ne(n.segments,t);return xN(e)}function xN(n){if(n.numberOfChildren===1&&n.children[ge]){let t=n.children[ge];return new Ne(n.segments.concat(t.segments),t.children)}return n}function ro(n){return n instanceof Ni}function CN(n,t,e=null,i=null){let r=yC(n);return bC(r,t,e,i)}function yC(n){let t;function e(o){let s={};for(let l of o.children){let c=e(l);s[l.outlet]=c}let a=new Ne(o.url,s);return o===n&&(t=a),a}let i=e(n.root),r=vC(i);return t??r}function bC(n,t,e,i){let r=n;for(;r.parent;)r=r.parent;if(t.length===0)return Jp(r,r,r,e,i);let o=DN(t);if(o.toRoot())return Jp(r,r,new Ne([],{}),e,i);let s=EN(o,r,n),a=s.processChildren?Sa(s.segmentGroup,s.index,o.commands):xC(s.segmentGroup,s.index,o.commands);return Jp(r,s.segmentGroup,a,e,i)}function nu(n){return typeof n=="object"&&n!=null&&!n.outlets&&!n.segmentPath}function ka(n){return typeof n=="object"&&n!=null&&n.outlets}function Jp(n,t,e,i,r){let o={};i&&Object.entries(i).forEach(([l,c])=>{o[l]=Array.isArray(c)?c.map(d=>`${d}`):`${c}`});let s;n===t?s=e:s=wC(n,t,e);let a=vC(_C(s));return new Ni(a,o,r)}function wC(n,t,e){let i={};return Object.entries(n.children).forEach(([r,o])=>{o===t?i[r]=e:i[r]=wC(o,t,e)}),new Ne(n.segments,i)}var iu=class{isAbsolute;numberOfDoubleDots;commands;constructor(t,e,i){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=i,t&&i.length>0&&nu(i[0]))throw new E(4003,!1);let r=i.find(ka);if(r&&r!==dC(i))throw new E(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function DN(n){if(typeof n[0]=="string"&&n.length===1&&n[0]==="/")return new iu(!0,0,n);let t=0,e=!1,i=n.reduce((r,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}),[...r,{outlets:a}]}if(o.segmentPath)return[...r,o.segmentPath]}return typeof o!="string"?[...r,o]:s===0?(o.split("/").forEach((a,l)=>{l==0&&a==="."||(l==0&&a===""?e=!0:a===".."?t++:a!=""&&r.push(a))}),r):[...r,o]},[]);return new iu(e,t,i)}var os=class{segmentGroup;processChildren;index;constructor(t,e,i){this.segmentGroup=t,this.processChildren=e,this.index=i}};function EN(n,t,e){if(n.isAbsolute)return new os(t,!0,0);if(!e)return new os(t,!1,NaN);if(e.parent===null)return new os(e,!0,0);let i=nu(n.commands[0])?0:1,r=e.segments.length-1+i;return IN(e,r,n.numberOfDoubleDots)}function IN(n,t,e){let i=n,r=t,o=e;for(;o>r;){if(o-=r,i=i.parent,!i)throw new E(4005,!1);r=i.segments.length}return new os(i,!1,r-o)}function MN(n){return ka(n[0])?n[0].outlets:{[ge]:n}}function xC(n,t,e){if(n??=new Ne([],{}),n.segments.length===0&&n.hasChildren())return Sa(n,t,e);let i=SN(n,t,e),r=e.slice(i.commandIndex);if(i.match&&i.pathIndexo!==ge)&&n.children[ge]&&n.numberOfChildren===1&&n.children[ge].segments.length===0){let o=Sa(n.children[ge],t,e);return new Ne(n.segments,o.children)}return Object.entries(i).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(r[o]=xC(n.children[o],t,s))}),Object.entries(n.children).forEach(([o,s])=>{i[o]===void 0&&(r[o]=s)}),new Ne(n.segments,r)}}function SN(n,t,e){let i=0,r=t,o={match:!1,pathIndex:0,commandIndex:0};for(;r=e.length)return o;let s=n.segments[r],a=e[i];if(ka(a))break;let l=`${a}`,c=i0&&l===void 0)break;if(l&&c&&typeof c=="object"&&c.outlets===void 0){if(!nC(l,c,s))return o;i+=2}else{if(!nC(l,{},s))return o;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}function sg(n,t,e){let i=n.segments.slice(0,t),r=0;for(;r{typeof i=="string"&&(i=[i]),i!==null&&(t[e]=sg(new Ne([],{}),0,i))}),t}function tC(n){let t={};return Object.entries(n).forEach(([e,i])=>t[e]=`${i}`),t}function nC(n,t,e){return n==e.path&&oi(t,e.parameters)}var Ta="imperative",_t=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}(_t||{}),pn=class{id;url;constructor(t,e){this.id=t,this.url=e}},ds=class extends pn{type=_t.NavigationStart;navigationTrigger;restoredState;constructor(t,e,i="imperative",r=null){super(t,e),this.navigationTrigger=i,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},si=class extends pn{urlAfterRedirects;type=_t.NavigationEnd;constructor(t,e,i){super(t,e),this.urlAfterRedirects=i}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},Xt=function(n){return n[n.Redirect=0]="Redirect",n[n.SupersededByNewNavigation=1]="SupersededByNewNavigation",n[n.NoDataFromResolver=2]="NoDataFromResolver",n[n.GuardRejected=3]="GuardRejected",n}(Xt||{}),ru=function(n){return n[n.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",n[n.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",n}(ru||{}),Ri=class extends pn{reason;code;type=_t.NavigationCancel;constructor(t,e,i,r){super(t,e),this.reason=i,this.code=r}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},dr=class extends pn{reason;code;type=_t.NavigationSkipped;constructor(t,e,i,r){super(t,e),this.reason=i,this.code=r}},Oa=class extends pn{error;target;type=_t.NavigationError;constructor(t,e,i,r){super(t,e),this.error=i,this.target=r}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},ou=class extends pn{urlAfterRedirects;state;type=_t.RoutesRecognized;constructor(t,e,i,r){super(t,e),this.urlAfterRedirects=i,this.state=r}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ag=class extends pn{urlAfterRedirects;state;type=_t.GuardsCheckStart;constructor(t,e,i,r){super(t,e),this.urlAfterRedirects=i,this.state=r}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},lg=class extends pn{urlAfterRedirects;state;shouldActivate;type=_t.GuardsCheckEnd;constructor(t,e,i,r,o){super(t,e),this.urlAfterRedirects=i,this.state=r,this.shouldActivate=o}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},cg=class extends pn{urlAfterRedirects;state;type=_t.ResolveStart;constructor(t,e,i,r){super(t,e),this.urlAfterRedirects=i,this.state=r}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},dg=class extends pn{urlAfterRedirects;state;type=_t.ResolveEnd;constructor(t,e,i,r){super(t,e),this.urlAfterRedirects=i,this.state=r}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ug=class{route;type=_t.RouteConfigLoadStart;constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},fg=class{route;type=_t.RouteConfigLoadEnd;constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},hg=class{snapshot;type=_t.ChildActivationStart;constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},mg=class{snapshot;type=_t.ChildActivationEnd;constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},pg=class{snapshot;type=_t.ActivationStart;constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},gg=class{snapshot;type=_t.ActivationEnd;constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},su=class{routerEvent;position;anchor;type=_t.Scroll;constructor(t,e,i){this.routerEvent=t,this.position=e,this.anchor=i}toString(){let t=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${t}')`}},Ra=class{},us=class{url;navigationBehaviorOptions;constructor(t,e){this.url=t,this.navigationBehaviorOptions=e}};function AN(n,t){return n.providers&&!n._injector&&(n._injector=Id(n.providers,t,`Route: ${n.path}`)),n._injector??t}function Rn(n){return n.outlet||ge}function kN(n,t){let e=n.filter(i=>Rn(i)===t);return e.push(...n.filter(i=>Rn(i)!==t)),e}function Ba(n){var t;if(!n)return null;if((t=n.routeConfig)!=null&&t._injector)return n.routeConfig._injector;for(let e=n.parent;e;e=e.parent){let i=e.routeConfig;if(i!=null&&i._loadedInjector)return i._loadedInjector;if(i!=null&&i._injector)return i._injector}return null}var vg=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){var t;return Ba((t=this.route)==null?void 0:t.snapshot)??this.rootInjector}constructor(t){this.rootInjector=t,this.children=new za(this.rootInjector)}},za=(()=>{class n{rootInjector;contexts=new Map;constructor(e){this.rootInjector=e}onChildOutletCreated(e,i){let r=this.getOrCreateContext(e);r.outlet=i,this.contexts.set(e,r)}onChildOutletDestroyed(e){let i=this.getContext(e);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let i=this.getContext(e);return i||(i=new vg(this.rootInjector),this.contexts.set(e,i)),i}getContext(e){return this.contexts.get(e)||null}static \u0275fac=function(i){return new(i||n)(O(ht))};static \u0275prov=C({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),au=class{_root;constructor(t){this._root=t}get root(){return this._root.value}parent(t){let e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){let e=_g(t,this._root);return e?e.children.map(i=>i.value):[]}firstChild(t){let e=_g(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){let e=yg(t,this._root);return e.length<2?[]:e[e.length-2].children.map(r=>r.value).filter(r=>r!==t)}pathFromRoot(t){return yg(t,this._root).map(e=>e.value)}};function _g(n,t){if(n===t.value)return t;for(let e of t.children){let i=_g(n,e);if(i)return i}return null}function yg(n,t){if(n===t.value)return[t];for(let e of t.children){let i=yg(n,e);if(i.length)return i.unshift(t),i}return[]}var Kt=class{value;children;constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}};function rs(n){let t={};return n&&n.children.forEach(e=>t[e.value.outlet]=e),t}var lu=class extends au{snapshot;constructor(t,e){super(t),this.snapshot=e,Sg(this,t)}toString(){return this.snapshot.toString()}};function CC(n){let t=ON(n),e=new ut([new no("",{})]),i=new ut({}),r=new ut({}),o=new ut({}),s=new ut(""),a=new Pi(e,i,o,s,r,ge,n,t.root);return a.snapshot=t.root,new lu(new Kt(a,[]),t)}function ON(n){let t={},e={},i={},r="",o=new ss([],t,i,r,e,ge,n,null,{});return new du("",new Kt(o,[]))}var Pi=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(t,e,i,r,o,s,a,l){var c;this.urlSubject=t,this.paramsSubject=e,this.queryParamsSubject=i,this.fragmentSubject=r,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=l,this.title=((c=this.dataSubject)==null?void 0:c.pipe(Y(d=>d[Va])))??U(void 0),this.url=t,this.params=e,this.queryParams=i,this.fragment=r,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(Y(t=>ls(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(Y(t=>ls(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function cu(n,t,e="emptyOnly"){var o;let i,{routeConfig:r}=n;return t!==null&&(e==="always"||(r==null?void 0:r.path)===""||!t.component&&!((o=t.routeConfig)!=null&&o.loadComponent))?i={params:w(w({},t.params),n.params),data:w(w({},t.data),n.data),resolve:w(w(w(w({},n.data),t.data),r==null?void 0:r.data),n._resolvedData)}:i={params:w({},n.params),data:w({},n.data),resolve:w(w({},n.data),n._resolvedData??{})},r&&EC(r)&&(i.resolve[Va]=r.title),i}var ss=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){var t;return(t=this.data)==null?void 0:t[Va]}constructor(t,e,i,r,o,s,a,l,c){this.url=t,this.params=e,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=s,this.component=a,this.routeConfig=l,this._resolve=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=ls(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=ls(this.queryParams),this._queryParamMap}toString(){let t=this.url.map(i=>i.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${t}', path:'${e}')`}},du=class extends au{url;constructor(t,e){super(e),this.url=t,Sg(this,e)}toString(){return DC(this._root)}};function Sg(n,t){t.value._routerState=n,t.children.forEach(e=>Sg(n,e))}function DC(n){let t=n.children.length>0?` { ${n.children.map(DC).join(", ")} } `:"";return`${n.value}${t}`}function eg(n){if(n.snapshot){let t=n.snapshot,e=n._futureSnapshot;n.snapshot=e,oi(t.queryParams,e.queryParams)||n.queryParamsSubject.next(e.queryParams),t.fragment!==e.fragment&&n.fragmentSubject.next(e.fragment),oi(t.params,e.params)||n.paramsSubject.next(e.params),oN(t.url,e.url)||n.urlSubject.next(e.url),oi(t.data,e.data)||n.dataSubject.next(e.data)}else n.snapshot=n._futureSnapshot,n.dataSubject.next(n._futureSnapshot.data)}function bg(n,t){let e=oi(n.params,t.params)&&cN(n.url,t.url),i=!n.parent!=!t.parent;return e&&!i&&(!n.parent||bg(n.parent,t.parent))}function EC(n){return typeof n.title=="string"||n.title===null}var RN=new x(""),Tg=(()=>{class n{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=ge;activateEvents=new $;deactivateEvents=new $;attachEvents=new $;detachEvents=new $;routerOutletData=a0(void 0);parentContexts=u(za);location=u(at);changeDetector=u(Pe);inputBinder=u(pu,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(e){if(e.name){let{firstChange:i,previousValue:r}=e.name;if(i)return;this.isTrackedInParentContexts(r)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(r)),this.initializeOutletWithName()}}ngOnDestroy(){var e;this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),(e=this.inputBinder)==null||e.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){var i;return((i=this.parentContexts.getContext(e))==null?void 0:i.outlet)===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let e=this.parentContexts.getContext(this.name);e!=null&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new E(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new E(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new E(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,i){var r;this.activated=e,this._activatedRoute=i,this.location.insert(e.hostView),(r=this.inputBinder)==null||r.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){let e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,i){var c;if(this.isActivated)throw new E(4013,!1);this._activatedRoute=e;let r=this.location,s=e.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new wg(e,a,r.injector,this.routerOutletData);this.activated=r.createComponent(s,{index:r.length,injector:l,environmentInjector:i}),this.changeDetector.markForCheck(),(c=this.inputBinder)==null||c.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(i){return new(i||n)};static \u0275dir=P({type:n,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[qe]})}return n})(),wg=class n{route;childContexts;parent;outletData;__ngOutletInjector(t){return new n(this.route,this.childContexts,t,this.outletData)}constructor(t,e,i,r){this.route=t,this.childContexts=e,this.parent=i,this.outletData=r}get(t,e){return t===Pi?this.route:t===za?this.childContexts:t===RN?this.outletData:this.parent.get(t,e)}},pu=new x(""),iC=(()=>{class n{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(e){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e)}unsubscribeFromRouteData(e){var i;(i=this.outletDataSubscriptions.get(e))==null||i.unsubscribe(),this.outletDataSubscriptions.delete(e)}subscribeToRouteData(e){let{activatedRoute:i}=e,r=Fr([i.queryParams,i.params,i.data]).pipe(tt(([o,s,a],l)=>(a=w(w(w({},o),s),a),l===0?U(a):Promise.resolve(a)))).subscribe(o=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==i||i.component===null){this.unsubscribeFromRouteData(e);return}let s=lx(i.component);if(!s){this.unsubscribeFromRouteData(e);return}for(let{templateName:a}of s.inputs)e.activatedComponentRef.setInput(a,o[a])});this.outletDataSubscriptions.set(e,r)}static \u0275fac=function(i){return new(i||n)};static \u0275prov=C({token:n,factory:n.\u0275fac})}return n})();function NN(n,t,e){let i=Na(n,t._root,e?e._root:void 0);return new lu(i,t)}function Na(n,t,e){if(e&&n.shouldReuseRoute(t.value,e.value.snapshot)){let i=e.value;i._futureSnapshot=t.value;let r=PN(n,t,e);return new Kt(i,r)}else{if(n.shouldAttach(t.value)){let o=n.retrieve(t.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>Na(n,a)),s}}let i=FN(t.value),r=t.children.map(o=>Na(n,o));return new Kt(i,r)}}function PN(n,t,e){return t.children.map(i=>{for(let r of e.children)if(n.shouldReuseRoute(i.value,r.value.snapshot))return Na(n,i,r);return Na(n,i)})}function FN(n){return new Pi(new ut(n.url),new ut(n.params),new ut(n.queryParams),new ut(n.fragment),new ut(n.data),n.outlet,n.component,n)}var Pa=class{redirectTo;navigationBehaviorOptions;constructor(t,e){this.redirectTo=t,this.navigationBehaviorOptions=e}},IC="ngNavigationCancelingError";function uu(n,t){let{redirectTo:e,navigationBehaviorOptions:i}=ro(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,r=MC(!1,Xt.Redirect);return r.url=e,r.navigationBehaviorOptions=i,r}function MC(n,t){let e=new Error(`NavigationCancelingError: ${n||""}`);return e[IC]=!0,e.cancellationCode=t,e}function LN(n){return SC(n)&&ro(n.url)}function SC(n){return!!n&&n[IC]}var VN=(n,t,e,i)=>Y(r=>(new xg(t,r.targetRouterState,r.currentRouterState,e,i).activate(n),r)),xg=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(t,e,i,r,o){this.routeReuseStrategy=t,this.futureState=e,this.currState=i,this.forwardEvent=r,this.inputBindingEnabled=o}activate(t){let e=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,i,t),eg(this.futureState.root),this.activateChildRoutes(e,i,t)}deactivateChildRoutes(t,e,i){let r=rs(e);t.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,r[s],i),delete r[s]}),Object.values(r).forEach(o=>{this.deactivateRouteAndItsChildren(o,i)})}deactivateRoutes(t,e,i){let r=t.value,o=e?e.value:null;if(r===o)if(r.component){let s=i.getContext(r.outlet);s&&this.deactivateChildRoutes(t,e,s.children)}else this.deactivateChildRoutes(t,e,i);else o&&this.deactivateRouteAndItsChildren(e,i)}deactivateRouteAndItsChildren(t,e){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){let i=e.getContext(t.value.outlet),r=i&&t.value.component?i.children:e,o=rs(t);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,r);if(i&&i.outlet){let s=i.outlet.detach(),a=i.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,e){let i=e.getContext(t.value.outlet),r=i&&t.value.component?i.children:e,o=rs(t);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,r);i&&(i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated()),i.attachRef=null,i.route=null)}activateChildRoutes(t,e,i){let r=rs(e);t.children.forEach(o=>{this.activateRoutes(o,r[o.value.outlet],i),this.forwardEvent(new gg(o.value.snapshot))}),t.children.length&&this.forwardEvent(new mg(t.value.snapshot))}activateRoutes(t,e,i){let r=t.value,o=e?e.value:null;if(eg(r),r===o)if(r.component){let s=i.getOrCreateContext(r.outlet);this.activateChildRoutes(t,e,s.children)}else this.activateChildRoutes(t,e,i);else if(r.component){let s=i.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){let a=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),eg(a.route.value),this.activateChildRoutes(t,null,s.children)}else s.attachRef=null,s.route=r,s.outlet&&s.outlet.activateWith(r,s.injector),this.activateChildRoutes(t,null,s.children)}else this.activateChildRoutes(t,null,i)}},fu=class{path;route;constructor(t){this.path=t,this.route=this.path[this.path.length-1]}},as=class{component;route;constructor(t,e){this.component=t,this.route=e}};function jN(n,t,e){let i=n._root,r=t?t._root:null;return Ia(i,r,e,[i.value])}function BN(n){let t=n.routeConfig?n.routeConfig.canActivateChild:null;return!t||t.length===0?null:{node:n,guards:t}}function hs(n,t){let e=Symbol(),i=t.get(n,e);return i===e?typeof n=="function"&&!ib(n)?n:t.get(n):i}function Ia(n,t,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){let o=rs(t);return n.children.forEach(s=>{zN(s,o[s.value.outlet],e,i.concat([s.value]),r),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>Aa(a,e.getContext(s),r)),r}function zN(n,t,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){let o=n.value,s=t?t.value:null,a=e?e.getContext(n.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let l=UN(s,o,o.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new fu(i)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?Ia(n,t,a?a.children:null,i,r):Ia(n,t,e,i,r),l&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new as(a.outlet.component,s))}else s&&Aa(t,a,r),r.canActivateChecks.push(new fu(i)),o.component?Ia(n,null,a?a.children:null,i,r):Ia(n,null,e,i,r);return r}function UN(n,t,e){if(typeof e=="function")return e(n,t);switch(e){case"pathParamsChange":return!io(n.url,t.url);case"pathParamsOrQueryParamsChange":return!io(n.url,t.url)||!oi(n.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!bg(n,t)||!oi(n.queryParams,t.queryParams);case"paramsChange":default:return!bg(n,t)}}function Aa(n,t,e){let i=rs(n),r=n.value;Object.entries(i).forEach(([o,s])=>{r.component?t?Aa(s,t.children.getContext(o),e):Aa(s,null,e):Aa(s,t,e)}),r.component?t&&t.outlet&&t.outlet.isActivated?e.canDeactivateChecks.push(new as(t.outlet.component,r)):e.canDeactivateChecks.push(new as(null,r)):e.canDeactivateChecks.push(new as(null,r))}function Ua(n){return typeof n=="function"}function HN(n){return typeof n=="boolean"}function $N(n){return n&&Ua(n.canLoad)}function GN(n){return n&&Ua(n.canActivate)}function WN(n){return n&&Ua(n.canActivateChild)}function qN(n){return n&&Ua(n.canDeactivate)}function YN(n){return n&&Ua(n.canMatch)}function TC(n){return n instanceof Dn||(n==null?void 0:n.name)==="EmptyError"}var Xd=Symbol("INITIAL_VALUE");function fs(){return tt(n=>Fr(n.map(t=>t.pipe(Be(1),Ke(Xd)))).pipe(Y(t=>{for(let e of t)if(e!==!0){if(e===Xd)return Xd;if(e===!1||QN(e))return e}return!0}),ne(t=>t!==Xd),Be(1)))}function QN(n){return ro(n)||n instanceof Pa}function ZN(n,t){return Ge(e=>{let{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:s}}=e;return s.length===0&&o.length===0?U(te(w({},e),{guardsResult:!0})):KN(s,i,r,n).pipe(Ge(a=>a&&HN(a)?XN(i,o,n,t):U(a)),Y(a=>te(w({},e),{guardsResult:a})))})}function KN(n,t,e,i){return Fe(n).pipe(Ge(r=>iP(r.component,r.route,e,t,i)),Hn(r=>r!==!0,!0))}function XN(n,t,e,i){return Fe(t).pipe(mi(r=>zn(eP(r.route.parent,i),JN(r.route,i),nP(n,r.path,e),tP(n,r.route,e))),Hn(r=>r!==!0,!0))}function JN(n,t){return n!==null&&t&&t(new pg(n)),U(!0)}function eP(n,t){return n!==null&&t&&t(new hg(n)),U(!0)}function tP(n,t,e){let i=t.routeConfig?t.routeConfig.canActivate:null;if(!i||i.length===0)return U(!0);let r=i.map(o=>Un(()=>{let s=Ba(t)??e,a=hs(o,s),l=GN(a)?a.canActivate(t,n):Bt(s,()=>a(t,n));return ur(l).pipe(Hn())}));return U(r).pipe(fs())}function nP(n,t,e){let i=t[t.length-1],o=t.slice(0,t.length-1).reverse().map(s=>BN(s)).filter(s=>s!==null).map(s=>Un(()=>{let a=s.guards.map(l=>{let c=Ba(s.node)??e,d=hs(l,c),f=WN(d)?d.canActivateChild(i,n):Bt(c,()=>d(i,n));return ur(f).pipe(Hn())});return U(a).pipe(fs())}));return U(o).pipe(fs())}function iP(n,t,e,i,r){let o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!o||o.length===0)return U(!0);let s=o.map(a=>{let l=Ba(t)??r,c=hs(a,l),d=qN(c)?c.canDeactivate(n,t,e,i):Bt(l,()=>c(n,t,e,i));return ur(d).pipe(Hn())});return U(s).pipe(fs())}function rP(n,t,e,i){let r=t.canLoad;if(r===void 0||r.length===0)return U(!0);let o=r.map(s=>{let a=hs(s,n),l=$N(a)?a.canLoad(t,e):Bt(n,()=>a(t,e));return ur(l)});return U(o).pipe(fs(),AC(i))}function AC(n){return Kf(Xe(t=>{if(typeof t!="boolean")throw uu(n,t)}),Y(t=>t===!0))}function oP(n,t,e,i){let r=t.canMatch;if(!r||r.length===0)return U(!0);let o=r.map(s=>{let a=hs(s,n),l=YN(a)?a.canMatch(t,e):Bt(n,()=>a(t,e));return ur(l)});return U(o).pipe(fs(),AC(i))}var Fa=class{segmentGroup;constructor(t){this.segmentGroup=t||null}},La=class extends Error{urlTree;constructor(t){super(),this.urlTree=t}};function is(n){return So(new Fa(n))}function sP(n){return So(new E(4e3,!1))}function aP(n){return So(MC(!1,Xt.GuardRejected))}var Cg=class{urlSerializer;urlTree;constructor(t,e){this.urlSerializer=t,this.urlTree=e}lineralizeSegments(t,e){let i=[],r=e.root;for(;;){if(i=i.concat(r.segments),r.numberOfChildren===0)return U(i);if(r.numberOfChildren>1||!r.children[ge])return sP(`${t.redirectTo}`);r=r.children[ge]}}applyRedirectCommands(t,e,i,r,o){if(typeof e!="string"){let a=e,{queryParams:l,fragment:c,routeConfig:d,url:f,outlet:g,params:h,data:v,title:_}=r,I=Bt(o,()=>a({params:h,data:v,queryParams:l,fragment:c,routeConfig:d,url:f,outlet:g,title:_}));if(I instanceof Ni)throw new La(I);e=I}let s=this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),t,i);if(e[0]==="/")throw new La(s);return s}applyRedirectCreateUrlTree(t,e,i,r){let o=this.createSegmentGroup(t,e.root,i,r);return new Ni(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){let i={};return Object.entries(t).forEach(([r,o])=>{if(typeof o=="string"&&o[0]===":"){let a=o.substring(1);i[r]=e[a]}else i[r]=o}),i}createSegmentGroup(t,e,i,r){let o=this.createSegments(t,e.segments,i,r),s={};return Object.entries(e.children).forEach(([a,l])=>{s[a]=this.createSegmentGroup(t,l,i,r)}),new Ne(o,s)}createSegments(t,e,i,r){return e.map(o=>o.path[0]===":"?this.findPosParam(t,o,r):this.findOrReturn(o,i))}findPosParam(t,e,i){let r=i[e.path.substring(1)];if(!r)throw new E(4001,!1);return r}findOrReturn(t,e){let i=0;for(let r of e){if(r.path===t.path)return e.splice(i),r;i++}return t}},Dg={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function lP(n,t,e,i,r){let o=kC(n,t,e);return o.matched?(i=AN(t,i),oP(i,t,e,r).pipe(Y(s=>s===!0?o:w({},Dg)))):U(o)}function kC(n,t,e){if(t.path==="**")return cP(e);if(t.path==="")return t.pathMatch==="full"&&(n.hasChildren()||e.length>0)?w({},Dg):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let r=(t.matcher||rN)(e,n,t);if(!r)return w({},Dg);let o={};Object.entries(r.posParams??{}).forEach(([a,l])=>{o[a]=l.path});let s=r.consumed.length>0?w(w({},o),r.consumed[r.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:r.consumed,remainingSegments:e.slice(r.consumed.length),parameters:s,positionalParamSegments:r.posParams??{}}}function cP(n){return{matched:!0,parameters:n.length>0?dC(n).parameters:{},consumedSegments:n,remainingSegments:[],positionalParamSegments:{}}}function rC(n,t,e,i){return e.length>0&&fP(n,e,i)?{segmentGroup:new Ne(t,uP(i,new Ne(e,n.children))),slicedSegments:[]}:e.length===0&&hP(n,e,i)?{segmentGroup:new Ne(n.segments,dP(n,e,i,n.children)),slicedSegments:e}:{segmentGroup:new Ne(n.segments,n.children),slicedSegments:e}}function dP(n,t,e,i){let r={};for(let o of e)if(gu(n,t,o)&&!i[Rn(o)]){let s=new Ne([],{});r[Rn(o)]=s}return w(w({},i),r)}function uP(n,t){let e={};e[ge]=t;for(let i of n)if(i.path===""&&Rn(i)!==ge){let r=new Ne([],{});e[Rn(i)]=r}return e}function fP(n,t,e){return e.some(i=>gu(n,t,i)&&Rn(i)!==ge)}function hP(n,t,e){return e.some(i=>gu(n,t,i))}function gu(n,t,e){return(n.hasChildren()||t.length>0)&&e.pathMatch==="full"?!1:e.path===""}function mP(n,t,e){return t.length===0&&!n.children[e]}var Eg=class{};function pP(n,t,e,i,r,o,s="emptyOnly"){return new Ig(n,t,e,i,r,s,o).recognize()}var gP=31,Ig=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(t,e,i,r,o,s,a){this.injector=t,this.configLoader=e,this.rootComponentType=i,this.config=r,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new Cg(this.urlSerializer,this.urlTree)}noMatchError(t){return new E(4002,`'${t.segmentGroup}'`)}recognize(){let t=rC(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(Y(({children:e,rootSnapshot:i})=>{let r=new Kt(i,e),o=new du("",r),s=CN(i,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}}))}match(t){let e=new ss([],Object.freeze({}),Object.freeze(w({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),ge,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,t,ge,e).pipe(Y(i=>({children:i,rootSnapshot:e})),Gi(i=>{if(i instanceof La)return this.urlTree=i.urlTree,this.match(i.urlTree.root);throw i instanceof Fa?this.noMatchError(i):i}))}processSegmentGroup(t,e,i,r,o){return i.segments.length===0&&i.hasChildren()?this.processChildren(t,e,i,o):this.processSegment(t,e,i,i.segments,r,!0,o).pipe(Y(s=>s instanceof Kt?[s]:[]))}processChildren(t,e,i,r){let o=[];for(let s of Object.keys(i.children))s==="primary"?o.unshift(s):o.push(s);return Fe(o).pipe(mi(s=>{let a=i.children[s],l=kN(e,s);return this.processSegmentGroup(t,l,a,s,r)}),ch((s,a)=>(s.push(...a),s)),Wi(null),lh(),Ge(s=>{if(s===null)return is(i);let a=OC(s);return vP(a),U(a)}))}processSegment(t,e,i,r,o,s,a){return Fe(e).pipe(mi(l=>this.processSegmentAgainstRoute(l._injector??t,e,l,i,r,o,s,a).pipe(Gi(c=>{if(c instanceof Fa)return U(null);throw c}))),Hn(l=>!!l),Gi(l=>{if(TC(l))return mP(i,r,o)?U(new Eg):is(i);throw l}))}processSegmentAgainstRoute(t,e,i,r,o,s,a,l){return Rn(i)!==s&&(s===ge||!gu(r,o,i))?is(r):i.redirectTo===void 0?this.matchSegmentAgainstRoute(t,r,i,o,s,l):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(t,r,e,i,o,s,l):is(r)}expandSegmentAgainstRouteUsingRedirect(t,e,i,r,o,s,a){let{matched:l,parameters:c,consumedSegments:d,positionalParamSegments:f,remainingSegments:g}=kC(e,r,o);if(!l)return is(e);typeof r.redirectTo=="string"&&r.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>gP&&(this.allowRedirects=!1));let h=new ss(o,c,Object.freeze(w({},this.urlTree.queryParams)),this.urlTree.fragment,oC(r),Rn(r),r.component??r._loadedComponent??null,r,sC(r)),v=cu(h,a,this.paramsInheritanceStrategy);h.params=Object.freeze(v.params),h.data=Object.freeze(v.data);let _=this.applyRedirects.applyRedirectCommands(d,r.redirectTo,f,h,t);return this.applyRedirects.lineralizeSegments(r,_).pipe(Ge(I=>this.processSegment(t,i,e,I.concat(g),s,!1,a)))}matchSegmentAgainstRoute(t,e,i,r,o,s){let a=lP(e,i,r,t,this.urlSerializer);return i.path==="**"&&(e.children={}),a.pipe(tt(l=>l.matched?(t=i._injector??t,this.getChildConfig(t,i,r).pipe(tt(({routes:c})=>{let d=i._loadedInjector??t,{parameters:f,consumedSegments:g,remainingSegments:h}=l,v=new ss(g,f,Object.freeze(w({},this.urlTree.queryParams)),this.urlTree.fragment,oC(i),Rn(i),i.component??i._loadedComponent??null,i,sC(i)),_=cu(v,s,this.paramsInheritanceStrategy);v.params=Object.freeze(_.params),v.data=Object.freeze(_.data);let{segmentGroup:I,slicedSegments:k}=rC(e,g,h,c);if(k.length===0&&I.hasChildren())return this.processChildren(d,c,I,v).pipe(Y(z=>new Kt(v,z)));if(c.length===0&&k.length===0)return U(new Kt(v,[]));let ae=Rn(i)===o;return this.processSegment(d,c,I,k,ae?ge:o,!0,v).pipe(Y(z=>new Kt(v,z instanceof Kt?[z]:[])))}))):is(e)))}getChildConfig(t,e,i){return e.children?U({routes:e.children,injector:t}):e.loadChildren?e._loadedRoutes!==void 0?U({routes:e._loadedRoutes,injector:e._loadedInjector}):rP(t,e,i,this.urlSerializer).pipe(Ge(r=>r?this.configLoader.loadChildren(t,e).pipe(Xe(o=>{e._loadedRoutes=o.routes,e._loadedInjector=o.injector})):aP(e))):U({routes:[],injector:t})}};function vP(n){n.sort((t,e)=>t.value.outlet===ge?-1:e.value.outlet===ge?1:t.value.outlet.localeCompare(e.value.outlet))}function _P(n){let t=n.value.routeConfig;return t&&t.path===""}function OC(n){let t=[],e=new Set;for(let i of n){if(!_P(i)){t.push(i);continue}let r=t.find(o=>i.value.routeConfig===o.value.routeConfig);r!==void 0?(r.children.push(...i.children),e.add(r)):t.push(i)}for(let i of e){let r=OC(i.children);t.push(new Kt(i.value,r))}return t.filter(i=>!e.has(i))}function oC(n){return n.data||{}}function sC(n){return n.resolve||{}}function yP(n,t,e,i,r,o){return Ge(s=>pP(n,t,e,i,s.extractedUrl,r,o).pipe(Y(({state:a,tree:l})=>te(w({},s),{targetSnapshot:a,urlAfterRedirects:l}))))}function bP(n,t){return Ge(e=>{let{targetSnapshot:i,guards:{canActivateChecks:r}}=e;if(!r.length)return U(e);let o=new Set(r.map(l=>l.route)),s=new Set;for(let l of o)if(!s.has(l))for(let c of RC(l))s.add(c);let a=0;return Fe(s).pipe(mi(l=>o.has(l)?wP(l,i,n,t):(l.data=cu(l,l.parent,n).resolve,U(void 0))),Xe(()=>a++),Oo(1),Ge(l=>a===s.size?U(e):ft))})}function RC(n){let t=n.children.map(e=>RC(e)).flat();return[n,...t]}function wP(n,t,e,i){let r=n.routeConfig,o=n._resolve;return(r==null?void 0:r.title)!==void 0&&!EC(r)&&(o[Va]=r.title),xP(o,n,t,i).pipe(Y(s=>(n._resolvedData=s,n.data=cu(n,n.parent,e).resolve,null)))}function xP(n,t,e,i){let r=ig(n);if(r.length===0)return U({});let o={};return Fe(r).pipe(Ge(s=>CP(n[s],t,e,i).pipe(Hn(),Xe(a=>{if(a instanceof Pa)throw uu(new cs,a);o[s]=a}))),Oo(1),Us(o),Gi(s=>TC(s)?ft:So(s)))}function CP(n,t,e,i){let r=Ba(t)??i,o=hs(n,r),s=o.resolve?o.resolve(t,e):Bt(r,()=>o(t,e));return ur(s)}function tg(n){return tt(t=>{let e=n(t);return e?Fe(e).pipe(Y(()=>t)):U(t)})}var NC=(()=>{class n{buildTitle(e){let i,r=e.root;for(;r!==void 0;)i=this.getResolvedTitleForRoute(r)??i,r=r.children.find(o=>o.outlet===ge);return i}getResolvedTitleForRoute(e){return e.data[Va]}static \u0275fac=function(i){return new(i||n)};static \u0275prov=C({token:n,factory:()=>u(DP),providedIn:"root"})}return n})(),DP=(()=>{class n extends NC{title;constructor(e){super(),this.title=e}updateTitle(e){let i=this.buildTitle(e);i!==void 0&&this.title.setTitle(i)}static \u0275fac=function(i){return new(i||n)(O(Wx))};static \u0275prov=C({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Ha=new x("",{providedIn:"root",factory:()=>({})}),EP=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275cmp=A({type:n,selectors:[["ng-component"]],decls:1,vars:0,template:function(i,r){i&1&&T(0,"router-outlet")},dependencies:[Tg],encapsulation:2})}return n})();function Ag(n){let t=n.children&&n.children.map(Ag),e=t?te(w({},n),{children:t}):w({},n);return!e.component&&!e.loadComponent&&(t||e.loadChildren)&&e.outlet&&e.outlet!==ge&&(e.component=EP),e}var hu=new x(""),kg=(()=>{class n{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=u(Rd);loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return U(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);let i=ur(e.loadComponent()).pipe(Y(PC),Xe(o=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=o}),Yi(()=>{this.componentLoaders.delete(e)})),r=new Nr(i,()=>new M).pipe(Co());return this.componentLoaders.set(e,r),r}loadChildren(e,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return U({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);let o=IP(i,this.compiler,e,this.onLoadEndListener).pipe(Yi(()=>{this.childrenLoaders.delete(i)})),s=new Nr(o,()=>new M).pipe(Co());return this.childrenLoaders.set(i,s),s}static \u0275fac=function(i){return new(i||n)};static \u0275prov=C({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function IP(n,t,e,i){return ur(n.loadChildren()).pipe(Y(PC),Ge(r=>r instanceof ea||Array.isArray(r)?U(r):Fe(t.compileModuleAsync(r))),Y(r=>{i&&i(n);let o,s,a=!1;return Array.isArray(r)?(s=r,a=!0):(o=r.create(e).injector,s=o.get(hu,[],{optional:!0,self:!0}).flat()),{routes:s.map(Ag),injector:o}}))}function MP(n){return n&&typeof n=="object"&&"default"in n}function PC(n){return MP(n)?n.default:n}var Og=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275prov=C({token:n,factory:()=>u(SP),providedIn:"root"})}return n})(),SP=(()=>{class n{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,i){return e}static \u0275fac=function(i){return new(i||n)};static \u0275prov=C({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),FC=new x(""),LC=new x("");function TP(n,t,e){let i=n.get(LC),r=n.get(J);return n.get(R).runOutsideAngular(()=>{if(!r.startViewTransition||i.skipNextTransition)return i.skipNextTransition=!1,new Promise(c=>setTimeout(c));let o,s=new Promise(c=>{o=c}),a=r.startViewTransition(()=>(o(),AP(n))),{onViewTransitionCreated:l}=i;return l&&Bt(n,()=>l({transition:a,from:t,to:e})),s})}function AP(n){return new Promise(t=>{Ut({read:()=>setTimeout(t)},{injector:n})})}var VC=new x(""),Rg=(()=>{class n{currentNavigation=null;currentTransition=null;lastSuccessfulNavigation=null;events=new M;transitionAbortSubject=new M;configLoader=u(kg);environmentInjector=u(ht);urlSerializer=u(ja);rootContexts=u(za);location=u(or);inputBindingEnabled=u(pu,{optional:!0})!==null;titleStrategy=u(NC);options=u(Ha,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=u(Og);createViewTransition=u(FC,{optional:!0});navigationErrorHandler=u(VC,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>U(void 0);rootComponentType=null;constructor(){let e=r=>this.events.next(new ug(r)),i=r=>this.events.next(new fg(r));this.configLoader.onLoadEndListener=i,this.configLoader.onLoadStartListener=e}complete(){var e;(e=this.transitions)==null||e.complete()}handleNavigationRequest(e){var r;let i=++this.navigationId;(r=this.transitions)==null||r.next(te(w(w({},this.transitions.value),e),{id:i}))}setupNavigations(e,i,r){return this.transitions=new ut({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:Ta,restoredState:null,currentSnapshot:r.snapshot,targetSnapshot:null,currentRouterState:r,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(ne(o=>o.id!==0),Y(o=>te(w({},o),{extractedUrl:this.urlHandlingStrategy.extract(o.rawUrl)})),tt(o=>{let s=!1,a=!1;return U(o).pipe(tt(l=>{if(this.navigationId>o.id)return this.cancelNavigationTransition(o,"",Xt.SupersededByNewNavigation),ft;this.currentTransition=o,this.currentNavigation={id:l.id,initialUrl:l.rawUrl,extractedUrl:l.extractedUrl,targetBrowserUrl:typeof l.extras.browserUrl=="string"?this.urlSerializer.parse(l.extras.browserUrl):l.extras.browserUrl,trigger:l.source,extras:l.extras,previousNavigation:this.lastSuccessfulNavigation?te(w({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let c=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),d=l.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!c&&d!=="reload"){let f="";return this.events.next(new dr(l.id,this.urlSerializer.serialize(l.rawUrl),f,ru.IgnoredSameUrlNavigation)),l.resolve(!1),ft}if(this.urlHandlingStrategy.shouldProcessUrl(l.rawUrl))return U(l).pipe(tt(f=>{var h,v;let g=(h=this.transitions)==null?void 0:h.getValue();return this.events.next(new ds(f.id,this.urlSerializer.serialize(f.extractedUrl),f.source,f.restoredState)),g!==((v=this.transitions)==null?void 0:v.getValue())?ft:Promise.resolve(f)}),yP(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy),Xe(f=>{o.targetSnapshot=f.targetSnapshot,o.urlAfterRedirects=f.urlAfterRedirects,this.currentNavigation=te(w({},this.currentNavigation),{finalUrl:f.urlAfterRedirects});let g=new ou(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot);this.events.next(g)}));if(c&&this.urlHandlingStrategy.shouldProcessUrl(l.currentRawUrl)){let{id:f,extractedUrl:g,source:h,restoredState:v,extras:_}=l,I=new ds(f,this.urlSerializer.serialize(g),h,v);this.events.next(I);let k=CC(this.rootComponentType).snapshot;return this.currentTransition=o=te(w({},l),{targetSnapshot:k,urlAfterRedirects:g,extras:te(w({},_),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=g,U(o)}else{let f="";return this.events.next(new dr(l.id,this.urlSerializer.serialize(l.extractedUrl),f,ru.IgnoredByUrlHandlingStrategy)),l.resolve(!1),ft}}),Xe(l=>{let c=new ag(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(c)}),Y(l=>(this.currentTransition=o=te(w({},l),{guards:jN(l.targetSnapshot,l.currentSnapshot,this.rootContexts)}),o)),ZN(this.environmentInjector,l=>this.events.next(l)),Xe(l=>{if(o.guardsResult=l.guardsResult,l.guardsResult&&typeof l.guardsResult!="boolean")throw uu(this.urlSerializer,l.guardsResult);let c=new lg(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot,!!l.guardsResult);this.events.next(c)}),ne(l=>l.guardsResult?!0:(this.cancelNavigationTransition(l,"",Xt.GuardRejected),!1)),tg(l=>{if(l.guards.canActivateChecks.length)return U(l).pipe(Xe(c=>{let d=new cg(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(d)}),tt(c=>{let d=!1;return U(c).pipe(bP(this.paramsInheritanceStrategy,this.environmentInjector),Xe({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(c,"",Xt.NoDataFromResolver)}}))}),Xe(c=>{let d=new dg(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(d)}))}),tg(l=>{let c=d=>{var g;let f=[];(g=d.routeConfig)!=null&&g.loadComponent&&!d.routeConfig._loadedComponent&&f.push(this.configLoader.loadComponent(d.routeConfig).pipe(Xe(h=>{d.component=h}),Y(()=>{})));for(let h of d.children)f.push(...c(h));return f};return Fr(c(l.targetSnapshot.root)).pipe(Wi(null),Be(1))}),tg(()=>this.afterPreactivation()),tt(()=>{var f;let{currentSnapshot:l,targetSnapshot:c}=o,d=(f=this.createViewTransition)==null?void 0:f.call(this,this.environmentInjector,l.root,c.root);return d?Fe(d).pipe(Y(()=>o)):U(o)}),Y(l=>{let c=NN(e.routeReuseStrategy,l.targetSnapshot,l.currentRouterState);return this.currentTransition=o=te(w({},l),{targetRouterState:c}),this.currentNavigation.targetRouterState=c,o}),Xe(()=>{this.events.next(new Ra)}),VN(this.rootContexts,e.routeReuseStrategy,l=>this.events.next(l),this.inputBindingEnabled),Be(1),Xe({next:l=>{var c;s=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new si(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects))),(c=this.titleStrategy)==null||c.updateTitle(l.targetRouterState.snapshot),l.resolve(!0)},complete:()=>{s=!0}}),we(this.transitionAbortSubject.pipe(Xe(l=>{throw l}))),Yi(()=>{var l;!s&&!a&&this.cancelNavigationTransition(o,"",Xt.SupersededByNewNavigation),((l=this.currentTransition)==null?void 0:l.id)===o.id&&(this.currentNavigation=null,this.currentTransition=null)}),Gi(l=>{if(a=!0,SC(l))this.events.next(new Ri(o.id,this.urlSerializer.serialize(o.extractedUrl),l.message,l.cancellationCode)),LN(l)?this.events.next(new us(l.url,l.navigationBehaviorOptions)):o.resolve(!1);else{let c=new Oa(o.id,this.urlSerializer.serialize(o.extractedUrl),l,o.targetSnapshot??void 0);try{let d=Bt(this.environmentInjector,()=>{var f;return(f=this.navigationErrorHandler)==null?void 0:f.call(this,c)});if(d instanceof Pa){let{message:f,cancellationCode:g}=uu(this.urlSerializer,d);this.events.next(new Ri(o.id,this.urlSerializer.serialize(o.extractedUrl),f,g)),this.events.next(new us(d.redirectTo,d.navigationBehaviorOptions))}else throw this.events.next(c),l}catch(d){this.options.resolveNavigationPromiseOnError?o.resolve(!1):o.reject(d)}}return ft}))}))}cancelNavigationTransition(e,i,r){let o=new Ri(e.id,this.urlSerializer.serialize(e.extractedUrl),i,r);this.events.next(o),e.resolve(!1)}isUpdatingInternalState(){var e,i;return((e=this.currentTransition)==null?void 0:e.extractedUrl.toString())!==((i=this.currentTransition)==null?void 0:i.currentUrlTree.toString())}isUpdatedBrowserUrl(){var r,o,s;let e=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),i=((r=this.currentNavigation)==null?void 0:r.targetBrowserUrl)??((o=this.currentNavigation)==null?void 0:o.extractedUrl);return e.toString()!==(i==null?void 0:i.toString())&&!((s=this.currentNavigation)!=null&&s.extras.skipLocationChange)}static \u0275fac=function(i){return new(i||n)};static \u0275prov=C({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function kP(n){return n!==Ta}var OP=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275prov=C({token:n,factory:()=>u(RP),providedIn:"root"})}return n})(),Mg=class{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}},RP=(()=>{class n extends Mg{static \u0275fac=(()=>{let e;return function(r){return(e||(e=st(n)))(r||n)}})();static \u0275prov=C({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),jC=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275prov=C({token:n,factory:()=>u(NP),providedIn:"root"})}return n})(),NP=(()=>{class n extends jC{location=u(or);urlSerializer=u(ja);options=u(Ha,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";urlHandlingStrategy=u(Og);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new Ni;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){var e;return this.canceledNavigationResolution!=="computed"?this.currentPageId:((e=this.restoredState())==null?void 0:e.\u0275routerPageId)??this.currentPageId}routerState=CC(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(i=>{i.type==="popstate"&&e(i.url,i.state)})}handleRouterEvent(e,i){if(e instanceof ds)this.stateMemento=this.createStateMemento();else if(e instanceof dr)this.rawUrlTree=i.initialUrl;else if(e instanceof ou){if(this.urlUpdateStrategy==="eager"&&!i.extras.skipLocationChange){let r=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl);this.setBrowserUrl(i.targetBrowserUrl??r,i)}}else e instanceof Ra?(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(i.targetBrowserUrl??this.rawUrlTree,i)):e instanceof Ri&&(e.code===Xt.GuardRejected||e.code===Xt.NoDataFromResolver)?this.restoreHistory(i):e instanceof Oa?this.restoreHistory(i,!0):e instanceof si&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,i){let r=e instanceof Ni?this.urlSerializer.serialize(e):e;if(this.location.isCurrentPathEqualTo(r)||i.extras.replaceUrl){let o=this.browserPageId,s=w(w({},i.extras.state),this.generateNgRouterState(i.id,o));this.location.replaceState(r,"",s)}else{let o=w(w({},i.extras.state),this.generateNgRouterState(i.id,this.browserPageId+1));this.location.go(r,"",o)}}restoreHistory(e,i=!1){if(this.canceledNavigationResolution==="computed"){let r=this.browserPageId,o=this.currentPageId-r;o!==0?this.location.historyGo(o):this.currentUrlTree===e.finalUrl&&o===0&&(this.resetState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(i&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,i){return this.canceledNavigationResolution==="computed"?{navigationId:e,\u0275routerPageId:i}:{navigationId:e}}static \u0275fac=(()=>{let e;return function(r){return(e||(e=st(n)))(r||n)}})();static \u0275prov=C({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Ma=function(n){return n[n.COMPLETE=0]="COMPLETE",n[n.FAILED=1]="FAILED",n[n.REDIRECTING=2]="REDIRECTING",n}(Ma||{});function BC(n,t){n.events.pipe(ne(e=>e instanceof si||e instanceof Ri||e instanceof Oa||e instanceof dr),Y(e=>e instanceof si||e instanceof dr?Ma.COMPLETE:(e instanceof Ri?e.code===Xt.Redirect||e.code===Xt.SupersededByNewNavigation:!1)?Ma.REDIRECTING:Ma.FAILED),ne(e=>e!==Ma.REDIRECTING),Be(1)).subscribe(()=>{t()})}var PP={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},FP={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},ai=(()=>{var t;class n{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=u(Md);stateManager=u(jC);options=u(Ha,{optional:!0})||{};pendingTasks=u(Jn);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=u(Rg);urlSerializer=u(ja);location=u(or);urlHandlingStrategy=u(Og);_events=new M;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=u(OP);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=((t=u(hu,{optional:!0}))==null?void 0:t.flat())??[];componentInputBindingEnabled=!!u(pu,{optional:!0});constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:i=>{this.console.warn(i)}}),this.subscribeToNavigationEvents()}eventsSubscription=new me;subscribeToNavigationEvents(){let i=this.navigationTransitions.events.subscribe(r=>{try{let o=this.navigationTransitions.currentTransition,s=this.navigationTransitions.currentNavigation;if(o!==null&&s!==null){if(this.stateManager.handleRouterEvent(r,s),r instanceof Ri&&r.code!==Xt.Redirect&&r.code!==Xt.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof si)this.navigated=!0;else if(r instanceof us){let a=r.navigationBehaviorOptions,l=this.urlHandlingStrategy.merge(r.url,o.currentRawUrl),c=w({browserUrl:o.extras.browserUrl,info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||kP(o.source)},a);this.scheduleNavigation(l,Ta,null,c,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}VP(r)&&this._events.next(r)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(i)}resetRootComponentType(i){this.routerState.root.component=i,this.navigationTransitions.rootComponentType=i}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Ta,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((i,r)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(i,"popstate",r)},0)})}navigateToSyncWithBrowser(i,r,o){let s={replaceUrl:!0},a=o!=null&&o.navigationId?o:null;if(o){let c=w({},o);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(s.state=c)}let l=this.parseUrl(i);this.scheduleNavigation(l,r,a,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(i){this.config=i.map(Ag),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(i,r={}){let{relativeTo:o,queryParams:s,fragment:a,queryParamsHandling:l,preserveFragment:c}=r,d=c?this.currentUrlTree.fragment:a,f=null;switch(l??this.options.defaultQueryParamsHandling){case"merge":f=w(w({},this.currentUrlTree.queryParams),s);break;case"preserve":f=this.currentUrlTree.queryParams;break;default:f=s||null}f!==null&&(f=this.removeEmptyProps(f));let g;try{let h=o?o.snapshot:this.routerState.snapshot.root;g=yC(h)}catch{(typeof i[0]!="string"||i[0][0]!=="/")&&(i=[]),g=this.currentUrlTree.root}return bC(g,i,f,d??null)}navigateByUrl(i,r={skipLocationChange:!1}){let o=ro(i)?i:this.parseUrl(i),s=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(s,Ta,null,r)}navigate(i,r={skipLocationChange:!1}){return LP(i),this.navigateByUrl(this.createUrlTree(i,r),r)}serializeUrl(i){return this.urlSerializer.serialize(i)}parseUrl(i){try{return this.urlSerializer.parse(i)}catch{return this.urlSerializer.parse("/")}}isActive(i,r){let o;if(r===!0?o=w({},PP):r===!1?o=w({},FP):o=r,ro(i))return Jx(this.currentUrlTree,i,o);let s=this.parseUrl(i);return Jx(this.currentUrlTree,s,o)}removeEmptyProps(i){return Object.entries(i).reduce((r,[o,s])=>(s!=null&&(r[o]=s),r),{})}scheduleNavigation(i,r,o,s,a){if(this.disposed)return Promise.resolve(!1);let l,c,d;a?(l=a.resolve,c=a.reject,d=a.promise):d=new Promise((g,h)=>{l=g,c=h});let f=this.pendingTasks.add();return BC(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(f))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:i,extras:s,resolve:l,reject:c,promise:d,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),d.catch(g=>Promise.reject(g))}static \u0275fac=function(r){return new(r||n)};static \u0275prov=C({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function LP(n){for(let t=0;t{class n{router;route;tabIndexAttribute;renderer;el;locationStrategy;href=null;target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;isAnchorElement;subscription;onChanges=new M;constructor(e,i,r,o,s,a){var c;this.router=e,this.route=i,this.tabIndexAttribute=r,this.renderer=o,this.el=s,this.locationStrategy=a;let l=(c=s.nativeElement.tagName)==null?void 0:c.toLowerCase();this.isAnchorElement=l==="a"||l==="area",this.isAnchorElement?this.subscription=e.events.subscribe(d=>{d instanceof si&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}routerLinkInput=null;set routerLink(e){e==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(ro(e)?this.routerLinkInput=e:this.routerLinkInput=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0"))}onClick(e,i,r,o,s){let a=this.urlTree;if(a===null||this.isAnchorElement&&(e!==0||i||r||o||s||typeof this.target=="string"&&this.target!="_self"))return!0;let l={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(a,l),!this.isAnchorElement}ngOnDestroy(){var e;(e=this.subscription)==null||e.unsubscribe()}updateHref(){var r;let e=this.urlTree;this.href=e!==null&&this.locationStrategy?(r=this.locationStrategy)==null?void 0:r.prepareExternalUrl(this.router.serializeUrl(e)):null;let i=this.href===null?null:k0(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",i)}applyAttributeValue(e,i){let r=this.renderer,o=this.el.nativeElement;i!==null?r.setAttribute(o,e,i):r.removeAttribute(o,e)}get urlTree(){return this.routerLinkInput===null?null:ro(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static \u0275fac=function(i){return new(i||n)(S(ai),S(Pi),vd("tabindex"),S(ir),S(H),S(Ai))};static \u0275dir=P({type:n,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(i,r){i&1&&B("click",function(s){return r.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),i&2&&ye("target",r.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",q],skipLocationChange:[2,"skipLocationChange","skipLocationChange",q],replaceUrl:[2,"replaceUrl","replaceUrl",q],routerLink:"routerLink"},features:[Oe,qe]})}return n})();var mu=class{};var jP=(()=>{class n{router;injector;preloadingStrategy;loader;subscription;constructor(e,i,r,o,s){this.router=e,this.injector=r,this.preloadingStrategy=o,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(ne(e=>e instanceof si),mi(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,i){let r=[];for(let o of i){o.providers&&!o._injector&&(o._injector=Id(o.providers,e,`Route: ${o.path}`));let s=o._injector??e,a=o._loadedInjector??s;(o.loadChildren&&!o._loadedRoutes&&o.canLoad===void 0||o.loadComponent&&!o._loadedComponent)&&r.push(this.preloadConfig(s,o)),(o.children||o._loadedRoutes)&&r.push(this.processRoutes(a,o.children??o._loadedRoutes))}return Fe(r).pipe($i())}preloadConfig(e,i){return this.preloadingStrategy.preload(i,()=>{let r;i.loadChildren&&i.canLoad===void 0?r=this.loader.loadChildren(e,i):r=U(null);let o=r.pipe(Ge(s=>s===null?U(void 0):(i._loadedRoutes=s.routes,i._loadedInjector=s.injector,this.processRoutes(s.injector??e,s.routes))));if(i.loadComponent&&!i._loadedComponent){let s=this.loader.loadComponent(i);return Fe([o,s]).pipe($i())}else return o})}static \u0275fac=function(i){return new(i||n)(O(ai),O(Rd),O(ht),O(mu),O(kg))};static \u0275prov=C({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),zC=new x(""),BP=(()=>{class n{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource="imperative";restoredId=0;store={};constructor(e,i,r,o,s={}){this.urlSerializer=e,this.transitions=i,this.viewportScroller=r,this.zone=o,this.options=s,s.scrollPositionRestoration||="disabled",s.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(e=>{e instanceof ds?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof si?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof dr&&e.code===ru.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof su&&(e.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(e.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,i){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new su(e,this.lastSource==="popstate"?this.store[this.restoredId]:null,i))})},0)})}ngOnDestroy(){var e,i;(e=this.routerEventsSubscription)==null||e.unsubscribe(),(i=this.scrollEventsSubscription)==null||i.unsubscribe()}static \u0275fac=function(i){Y0()};static \u0275prov=C({token:n,factory:n.\u0275fac})}return n})();function zP(n){return n.routerState.root}function $a(n,t){return{\u0275kind:n,\u0275providers:t}}function UP(){let n=u(_e);return t=>{var o,s;let e=n.get(Ht);if(t!==e.components[0])return;let i=n.get(ai),r=n.get(UC);n.get(Ng)===1&&i.initialNavigation(),(o=n.get(HC,null,ve.Optional))==null||o.setUpPreloading(),(s=n.get(zC,null,ve.Optional))==null||s.init(),i.resetRootComponentType(e.componentTypes[0]),r.closed||(r.next(),r.complete(),r.unsubscribe())}}var UC=new x("",{factory:()=>new M}),Ng=new x("",{providedIn:"root",factory:()=>1});function HP(){return $a(2,[{provide:Ng,useValue:0},{provide:Ad,multi:!0,deps:[_e],useFactory:t=>{let e=t.get(gx,Promise.resolve());return()=>e.then(()=>new Promise(i=>{let r=t.get(ai),o=t.get(UC);BC(r,()=>{i(!0)}),t.get(Rg).afterPreactivation=()=>(i(!0),o.closed?U(void 0):o),r.initialNavigation()}))}}])}function $P(){return $a(3,[{provide:Ad,multi:!0,useFactory:()=>{let t=u(ai);return()=>{t.setUpLocationChangeListener()}}},{provide:Ng,useValue:2}])}var HC=new x("");function GP(n){return $a(0,[{provide:HC,useExisting:jP},{provide:mu,useExisting:n}])}function WP(){return $a(8,[iC,{provide:pu,useExisting:iC}])}function qP(n){let t=[{provide:FC,useValue:TP},{provide:LC,useValue:w({skipNextTransition:!!(n!=null&&n.skipInitialTransition)},n)}];return $a(9,t)}var aC=new x("ROUTER_FORROOT_GUARD"),YP=[or,{provide:ja,useClass:cs},ai,za,{provide:Pi,useFactory:zP,deps:[ai]},kg,[]],Pg=(()=>{class n{constructor(e){}static forRoot(e,i){return{ngModule:n,providers:[YP,[],{provide:hu,multi:!0,useValue:e},{provide:aC,useFactory:XP,deps:[[ai,new ia,new Im]]},i!=null&&i.errorHandler?{provide:VC,useValue:i.errorHandler}:[],{provide:Ha,useValue:i||{}},i!=null&&i.useHash?ZP():KP(),QP(),i!=null&&i.preloadingStrategy?GP(i.preloadingStrategy).\u0275providers:[],i!=null&&i.initialNavigation?JP(i):[],i!=null&&i.bindToComponentInputs?WP().\u0275providers:[],i!=null&&i.enableViewTransitions?qP().\u0275providers:[],eF()]}}static forChild(e){return{ngModule:n,providers:[{provide:hu,multi:!0,useValue:e}]}}static \u0275fac=function(i){return new(i||n)(O(aC,8))};static \u0275mod=V({type:n});static \u0275inj=L({})}return n})();function QP(){return{provide:zC,useFactory:()=>{let n=u(wx),t=u(R),e=u(Ha),i=u(Rg),r=u(ja);return e.scrollOffset&&n.setOffset(e.scrollOffset),new BP(r,i,n,t,e)}}}function ZP(){return{provide:Ai,useClass:_x}}function KP(){return{provide:Ai,useClass:Mp}}function XP(n){return"guarded"}function JP(n){return[n.initialNavigation==="disabled"?$P().\u0275providers:[],n.initialNavigation==="enabledBlocking"?HP().\u0275providers:[]]}var lC=new x("");function eF(){return[{provide:lC,useFactory:UP},{provide:kd,multi:!0,useExisting:lC}]}var vu=class{constructor(t){this.user=t.user,this.role=t.role,this.admin=t.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 $C;var Gt=(n,t)=>{let e;if(n instanceof Promise)e=n;else if(n instanceof Wa)e=n;else{if(t)return Xl(n.pipe(rh(t)));e=Xl(n)}return e},Wa=class{constructor(){this[$C]="Future",this.resolve=()=>{},this.reject=()=>{},this.promise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}then(t,e){return this.promise.then(t,e)}catch(t){return this.promise.catch(t)}finally(t){return this.promise.finally(t)}};$C=Symbol.toStringTag;var GC=(()=>{let t=class t{constructor(i){this.api=i,this.delay=i.config.launcher_wait_time}launchURL(i){return Se(this,null,function*(){i.substring(0,7)==="udsa://"?yield this.processUDSUrl(i):yield this.processExternalUrl(i)})}showAlert(i,r,o){return Se(this,null,function*(){return this.api.gui.alert(django.gettext("Launching service"),'

'+i+'

'+r+"

",o)})}launchUDSUrl(i){this.api.download(i)}processUDSUrl(i){return Se(this,null,function*(){let r=i.split("//")[1].split("/");if(r.length!==2){yield this.notifyError(django.gettext("Invalid UDS URL"));return}let o=r[0],s=r[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;Gt(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 f=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")+""),f.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(f.status==="accessed"){a.close(),l=!0;continue}else if(f.status!=="running"){a.close(),yield this.notifyError(f.status),l=!0;continue}yield this.api.sleep(1e3)}}catch(d){a.close(),yield this.notifyError(d)}})}processExternalUrl(i){return Se(this,null,function*(){let r=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;Gt(r.afterClosed()).then(()=>o=!0);try{for(;!o;){let s=yield this.api.transportUrl(i);if(s.url){r.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.error&&(r.close(),yield this.notifyError(s.error),o=!0)}yield this.api.sleep(1e3)}catch(s){r.close(),yield this.notifyError(s)}})}processCredentials(i){return Se(this,null,function*(){let r=i.url||"";if(r.indexOf("&creds=")!==-1){let o=r.split("&creds=")[1],s="",a="";i.url=r.split("&creds=")[0];let l=r.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 f=yield this.api.gui.askCredentials(s,a);if(f.success===!1)throw new Error("User canceled credentials dialog");return{ticket:c,scrambler:d,username:f.username,password:f.password,domain:f.domain}}return null})}openWindow(i){let r="__global__";if(i.indexOf("o_s_w=")!==-1){let o=/(.*)[&?]o_s_w=.*/.exec(i);r="__same__",i=o[1]}else if(i.indexOf("o_n_w=")!==-1){let o=/(.*)[&?]o_n_w=([a-zA-Z0-9._-]*)/.exec(i);o&&(r=o[2],i=o[1])}if(r==="__same__")window.location.href=i;else{t.transportsWindow[r]&&t.transportsWindow[r].close();let o=window.open(i,"uds_trans_"+r);o&&(t.transportsWindow[r]=o)}}notifyError(i){return Se(this,null,function*(){let r=django.gettext("Error communicating with your service. Please, retry again.");typeof i=="string"?r=i:i instanceof Error?r=i.message:i.status===403&&(r=django.gettext("Your session has expired. Please, login again")),yield this.showAlert(django.gettext("Error"),r,5e3),i.status===403&&this.api.logout()})}};t.transportsWindow={};let n=t;return n})();var _u={production:!0};var tF=new x("cdk-dir-doc",{providedIn:"root",factory:nF});function nF(){return u(J)}var iF=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function rF(n){let t=(n==null?void 0:n.toLowerCase())||"";return t==="auto"&&typeof navigator<"u"&&(navigator!=null&&navigator.language)?iF.test(navigator.language)?"rtl":"ltr":t==="rtl"?"rtl":"ltr"}var kt=(()=>{class n{value="ltr";change=new $;constructor(){let e=u(tF,{optional:!0});if(e){let i=e.body?e.body.dir:null,r=e.documentElement?e.documentElement.dir:null;this.value=rF(i||r||"ltr")}}ngOnDestroy(){this.change.complete()}static \u0275fac=function(i){return new(i||n)};static \u0275prov=C({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var fr=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=V({type:n});static \u0275inj=L({})}return n})();var yu=class{_multiple;_emitChanges;compareWith;_selection=new Set;_deselectedToEmit=[];_selectedToEmit=[];_selected;get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}changed=new M;constructor(t=!1,e,i=!0,r){this._multiple=t,this._emitChanges=i,this.compareWith=r,e&&e.length&&(t?e.forEach(o=>this._markSelected(o)):this._markSelected(e[0]),this._selectedToEmit.length=0)}select(...t){this._verifyValueAssignment(t),t.forEach(i=>this._markSelected(i));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}deselect(...t){this._verifyValueAssignment(t),t.forEach(i=>this._unmarkSelected(i));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}setSelection(...t){this._verifyValueAssignment(t);let e=this.selected,i=new Set(t);t.forEach(o=>this._markSelected(o)),e.filter(o=>!i.has(this._getConcreteValue(o,i))).forEach(o=>this._unmarkSelected(o));let r=this._hasQueuedChanges();return this._emitChangeEvent(),r}toggle(t){return this.isSelected(t)?this.deselect(t):this.select(t)}clear(t=!0){this._unmarkAll();let e=this._hasQueuedChanges();return t&&this._emitChangeEvent(),e}isSelected(t){return this._selection.has(this._getConcreteValue(t))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(t){this._multiple&&this.selected&&this._selected.sort(t)}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(t){t=this._getConcreteValue(t),this.isSelected(t)||(this._multiple||this._unmarkAll(),this.isSelected(t)||this._selection.add(t),this._emitChanges&&this._selectedToEmit.push(t))}_unmarkSelected(t){t=this._getConcreteValue(t),this.isSelected(t)&&(this._selection.delete(t),this._emitChanges&&this._deselectedToEmit.push(t))}_unmarkAll(){this.isEmpty()||this._selection.forEach(t=>this._unmarkSelected(t))}_verifyValueAssignment(t){t.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(t,e){if(this.compareWith){e=e??this._selection;for(let i of e)if(this.compareWith(t,i))return i;return t}else return t}};var bu=(()=>{class n{_listeners=[];notify(e,i){for(let r of this._listeners)r(e,i)}listen(e){return this._listeners.push(e),()=>{this._listeners=this._listeners.filter(i=>e!==i)}}ngOnDestroy(){this._listeners=[]}static \u0275fac=function(i){return new(i||n)};static \u0275prov=C({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var oF=20,ps=(()=>{class n{_ngZone=u(R);_platform=u(Te);_document=u(J,{optional:!0});constructor(){}_scrolled=new M;_globalSubscription=null;_scrolledCount=0;scrollContainers=new Map;register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){let i=this.scrollContainers.get(e);i&&(i.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=oF){return this._platform.isBrowser?new le(i=>{this._globalSubscription||this._addGlobalListener();let r=e>0?this._scrolled.pipe(nc(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):U()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(e,i){let r=this.getAncestorScrollContainers(e);return this.scrolled(i).pipe(ne(o=>!o||r.indexOf(o)>-1))}getAncestorScrollContainers(e){let i=[];return this.scrollContainers.forEach((r,o)=>{this._scrollableContainsElement(o,e)&&i.push(o)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,i){let r=hn(i),o=e.getElementRef().nativeElement;do if(r==o)return!0;while(r=r.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{let e=this._getWindow();return hi(e.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static \u0275fac=function(i){return new(i||n)};static \u0275prov=C({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Fg=(()=>{class n{elementRef=u(H);scrollDispatcher=u(ps);ngZone=u(R);dir=u(kt,{optional:!0});_destroyed=new M;_elementScrolled=new le(e=>this.ngZone.runOutsideAngular(()=>hi(this.elementRef.nativeElement,"scroll").pipe(we(this._destroyed)).subscribe(e)));constructor(){}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(e){let i=this.elementRef.nativeElement,r=this.dir&&this.dir.value=="rtl";e.left==null&&(e.left=r?e.end:e.start),e.right==null&&(e.right=r?e.start:e.end),e.bottom!=null&&(e.top=i.scrollHeight-i.clientHeight-e.bottom),r&&ns()!=On.NORMAL?(e.left!=null&&(e.right=i.scrollWidth-i.clientWidth-e.left),ns()==On.INVERTED?e.left=e.right:ns()==On.NEGATED&&(e.left=e.right?-e.right:e.right)):e.right!=null&&(e.left=i.scrollWidth-i.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){let i=this.elementRef.nativeElement;Zd()?i.scrollTo(e):(e.top!=null&&(i.scrollTop=e.top),e.left!=null&&(i.scrollLeft=e.left))}measureScrollOffset(e){let i="left",r="right",o=this.elementRef.nativeElement;if(e=="top")return o.scrollTop;if(e=="bottom")return o.scrollHeight-o.clientHeight-o.scrollTop;let s=this.dir&&this.dir.value=="rtl";return e=="start"?e=s?r:i:e=="end"&&(e=s?i:r),s&&ns()==On.INVERTED?e==i?o.scrollWidth-o.clientWidth-o.scrollLeft:o.scrollLeft:s&&ns()==On.NEGATED?e==i?o.scrollLeft+o.scrollWidth-o.clientWidth:-o.scrollLeft:e==i?o.scrollLeft:o.scrollWidth-o.clientWidth-o.scrollLeft}static \u0275fac=function(i){return new(i||n)};static \u0275dir=P({type:n,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]})}return n})(),sF=20,gs=(()=>{class n{_platform=u(Te);_viewportSize;_change=new M;_changeListener=e=>{this._change.next(e)};_document=u(J,{optional:!0});constructor(){u(R).runOutsideAngular(()=>{if(this._platform.isBrowser){let i=this._getWindow();i.addEventListener("resize",this._changeListener),i.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){let e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){let e=this.getViewportScrollPosition(),{width:i,height:r}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+i,height:r,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let e=this._document,i=this._getWindow(),r=e.documentElement,o=r.getBoundingClientRect(),s=-o.top||e.body.scrollTop||i.scrollY||r.scrollTop||0,a=-o.left||e.body.scrollLeft||i.scrollX||r.scrollLeft||0;return{top:s,left:a}}change(e=sF){return e>0?this._change.pipe(nc(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}static \u0275fac=function(i){return new(i||n)};static \u0275prov=C({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var hr=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=V({type:n});static \u0275inj=L({})}return n})(),Lg=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=V({type:n});static \u0275inj=L({imports:[fr,hr,fr,hr]})}return n})();var qa=class{_attachedHost;attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;t!=null&&(this._attachedHost=null,t.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(t){this._attachedHost=t}},mr=class extends qa{component;viewContainerRef;injector;componentFactoryResolver;projectableNodes;constructor(t,e,i,r,o){super(),this.component=t,this.viewContainerRef=e,this.injector=i,this.projectableNodes=o}},Nn=class extends qa{templateRef;viewContainerRef;context;injector;constructor(t,e,i,r){super(),this.templateRef=t,this.viewContainerRef=e,this.context=i,this.injector=r}get origin(){return this.templateRef.elementRef}attach(t,e=this.context){return this.context=e,super.attach(t)}detach(){return this.context=void 0,super.detach()}},Vg=class extends qa{element;constructor(t){super(),this.element=t instanceof H?t.nativeElement:t}},vs=class{_attachedPortal;_disposeFn;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(t){if(t instanceof mr)return this._attachedPortal=t,this.attachComponentPortal(t);if(t instanceof Nn)return this._attachedPortal=t,this.attachTemplatePortal(t);if(this.attachDomPortal&&t instanceof Vg)return this._attachedPortal=t,this.attachDomPortal(t)}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}};var Ya=class extends vs{outletElement;_appRef;_defaultInjector;_document;constructor(t,e,i,r,o){super(),this.outletElement=t,this._appRef=i,this._defaultInjector=r,this._document=o}attachComponentPortal(t){let e;if(t.viewContainerRef){let i=t.injector||t.viewContainerRef.injector,r=i.get(Sn,null,{optional:!0})||void 0;e=t.viewContainerRef.createComponent(t.component,{index:t.viewContainerRef.length,injector:i,ngModuleRef:r,projectableNodes:t.projectableNodes||void 0}),this.setDisposeFn(()=>e.destroy())}else e=Fd(t.component,{elementInjector:t.injector||this._defaultInjector||_e.NULL,environmentInjector:this._appRef.injector,projectableNodes:t.projectableNodes||void 0}),this._appRef.attachView(e.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(e.hostView),e.destroy()});return this.outletElement.appendChild(this._getComponentRootNode(e)),this._attachedPortal=t,e}attachTemplatePortal(t){let e=t.viewContainerRef,i=e.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return i.rootNodes.forEach(r=>this.outletElement.appendChild(r)),i.detectChanges(),this.setDisposeFn(()=>{let r=e.indexOf(i);r!==-1&&e.remove(r)}),this._attachedPortal=t,i}attachDomPortal=t=>{let e=t.element;e.parentNode;let i=this._document.createComment("dom-portal");e.parentNode.insertBefore(i,e),this.outletElement.appendChild(e),this._attachedPortal=t,super.setDisposeFn(()=>{i.parentNode&&i.parentNode.replaceChild(e,i)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(t){return t.hostView.rootNodes[0]}};var oo=(()=>{class n extends vs{_moduleRef=u(Sn,{optional:!0});_document=u(J);_viewContainerRef=u(at);_isInitialized=!1;_attachedRef;constructor(){super()}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}attached=new $;get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);let i=e.viewContainerRef!=null?e.viewContainerRef:this._viewContainerRef,r=i.createComponent(e.component,{index:i.length,injector:e.injector||i.injector,projectableNodes:e.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0});return i!==this._viewContainerRef&&this._getRootNode().appendChild(r.hostView.rootNodes[0]),super.setDisposeFn(()=>r.destroy()),this._attachedPortal=e,this._attachedRef=r,this.attached.emit(r),r}attachTemplatePortal(e){e.setAttachedHost(this);let i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}attachDomPortal=e=>{let i=e.element;i.parentNode;let r=this._document.createComment("dom-portal");e.setAttachedHost(this),i.parentNode.insertBefore(r,i),this._getRootNode().appendChild(i),this._attachedPortal=e,super.setDisposeFn(()=>{r.parentNode&&r.parentNode.replaceChild(i,r)})};_getRootNode(){let e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}static \u0275fac=function(i){return new(i||n)};static \u0275dir=P({type:n,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[Ve]})}return n})();var Fi=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=V({type:n});static \u0275inj=L({})}return n})();var wu=new WeakMap,dt=(()=>{class n{_appRef;_injector=u(_e);_environmentInjector=u(ht);load(e){let i=this._appRef=this._appRef||this._injector.get(Ht),r=wu.get(i);r||(r={loaders:new Set,refs:[]},wu.set(i,r),i.onDestroy(()=>{var o;(o=wu.get(i))==null||o.refs.forEach(s=>s.destroy()),wu.delete(i)})),r.loaders.has(e)||(r.loaders.add(e),r.refs.push(Fd(e,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(i){return new(i||n)};static \u0275prov=C({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Qa=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275cmp=A({type:n,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(i,r){},styles:[".cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}"],encapsulation:2,changeDetection:0})}return n})();function pt(n,...t){return t.length?t.some(e=>n[e]):n.altKey||n.shiftKey||n.ctrlKey||n.metaKey}var lF=(()=>{class n{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}static \u0275fac=function(i){return new(i||n)};static \u0275prov=C({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var xu=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=V({type:n});static \u0275inj=L({providers:[lF]})}return n})();var ZC=" ";function Wg(n,t,e){let i=Iu(n,t);e=e.trim(),!i.some(r=>r.trim()===e)&&(i.push(e),n.setAttribute(t,i.join(ZC)))}function Tu(n,t,e){let i=Iu(n,t);e=e.trim();let r=i.filter(o=>o!==e);r.length?n.setAttribute(t,r.join(ZC)):n.removeAttribute(t)}function Iu(n,t){let e=n.getAttribute(t);return(e==null?void 0:e.match(/\S+/g))??[]}var KC="cdk-describedby-message",Cu="cdk-describedby-host",Ug=0,XC=(()=>{class n{_platform=u(Te);_document=u(J);_messageRegistry=new Map;_messagesContainer=null;_id=`${Ug++}`;constructor(){u(dt).load(Qa),this._id=u(Qo)+"-"+Ug++}describe(e,i,r){if(!this._canBeDescribed(e,i))return;let o=jg(i,r);typeof i!="string"?(WC(i,this._id),this._messageRegistry.set(o,{messageElement:i,referenceCount:0})):this._messageRegistry.has(o)||this._createMessageElement(i,r),this._isElementDescribedByMessage(e,o)||this._addMessageReference(e,o)}removeDescription(e,i,r){var s;if(!i||!this._isElementNode(e))return;let o=jg(i,r);if(this._isElementDescribedByMessage(e,o)&&this._removeMessageReference(e,o),typeof i=="string"){let a=this._messageRegistry.get(o);a&&a.referenceCount===0&&this._deleteMessageElement(o)}((s=this._messagesContainer)==null?void 0:s.childNodes.length)===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){var i;let e=this._document.querySelectorAll(`[${Cu}="${this._id}"]`);for(let r=0;rr.indexOf(KC)!=0);e.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(e,i){let r=this._messageRegistry.get(i);Wg(e,"aria-describedby",r.messageElement.id),e.setAttribute(Cu,this._id),r.referenceCount++}_removeMessageReference(e,i){let r=this._messageRegistry.get(i);r.referenceCount--,Tu(e,"aria-describedby",r.messageElement.id),e.removeAttribute(Cu)}_isElementDescribedByMessage(e,i){let r=Iu(e,"aria-describedby"),o=this._messageRegistry.get(i),s=o&&o.messageElement.id;return!!s&&r.indexOf(s)!=-1}_canBeDescribed(e,i){if(!this._isElementNode(e))return!1;if(i&&typeof i=="object")return!0;let r=i==null?"":`${i}`.trim(),o=e.getAttribute("aria-label");return r?!o||o.trim()!==r:!1}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}static \u0275fac=function(i){return new(i||n)};static \u0275prov=C({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function jg(n,t){return typeof n=="string"?`${t||""}/${n}`:n}function WC(n,t){n.id||(n.id=`${KC}-${t}-${Ug++}`)}var xF=200,Hg=class{_letterKeyStream=new M;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new M;selectedItem=this._selectedItem;constructor(t,e){let i=typeof(e==null?void 0:e.debounceInterval)=="number"?e.debounceInterval:xF;e!=null&&e.skipPredicate&&(this._skipPredicateFn=e.skipPredicate),this.setItems(t),this._setupKeyHandler(i)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(t){this._selectedItemIndex=t}setItems(t){this._items=t}handleKey(t){let e=t.keyCode;t.key&&t.key.length===1?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(t){this._letterKeyStream.pipe(Xe(e=>this._pressedLetters.push(e)),Lr(t),ne(()=>this._pressedLetters.length>0),Y(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(e=>{var i,r;for(let o=1;ot.disabled;constructor(t,e){this._items=t,t instanceof Qn?this._itemChangesSubscription=t.changes.subscribe(i=>this._itemsChanged(i.toArray())):rr(t)&&(this._effectRef=pa(()=>this._itemsChanged(t()),{injector:e}))}tabOut=new M;change=new M;skipPredicate(t){return this._skipPredicateFn=t,this}withWrap(t=!0){return this._wrap=t,this}withVerticalOrientation(t=!0){return this._vertical=t,this}withHorizontalOrientation(t){return this._horizontal=t,this}withAllowedModifierKeys(t){return this._allowedModifierKeys=t,this}withTypeAhead(t=200){this._typeaheadSubscription.unsubscribe();let e=this._getItemsArray();return this._typeahead=new Hg(e,{debounceInterval:typeof t=="number"?t:void 0,skipPredicate:i=>this._skipPredicateFn(i)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(i=>{this.setActiveItem(i)}),this}cancelTypeahead(){var t;return(t=this._typeahead)==null||t.reset(),this}withHomeAndEnd(t=!0){return this._homeAndEnd=t,this}withPageUpDown(t=!0,e=10){return this._pageUpAndDown={enabled:t,delta:e},this}setActiveItem(t){let e=this._activeItem();this.updateActiveItem(t),this._activeItem()!==e&&this.change.next(this._activeItemIndex)}onKeydown(t){var o,s;let e=t.keyCode,r=["altKey","ctrlKey","metaKey","shiftKey"].every(a=>!t[a]||this._allowedModifierKeys.indexOf(a)>-1);switch(e){case 9:this.tabOut.next();return;case 40:if(this._vertical&&r){this.setNextItemActive();break}else return;case 38:if(this._vertical&&r){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&r){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&r){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&r){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&r){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&r){let a=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(a>0?a:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&r){let a=this._activeItemIndex+this._pageUpAndDown.delta,l=this._getItemsArray().length;this._setActiveItemByIndex(a-1&&o!==this._activeItemIndex&&(this._activeItemIndex=o,(r=this._typeahead)==null||r.setCurrentSelectedItemIndex(o))}}},Su=class extends Mu{setActiveItem(t){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(t),this.activeItem&&this.activeItem.setActiveStyles()}},ys=class extends Mu{_origin="program";setFocusOrigin(t){return this._origin=t,this}setActiveItem(t){super.setActiveItem(t),this.activeItem&&this.activeItem.focus(this._origin)}};var qg=(()=>{class n{_platform=u(Te);constructor(){}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return DF(e)&&getComputedStyle(e).visibility==="visible"}isTabbable(e){if(!this._platform.isBrowser)return!1;let i=CF(OF(e));if(i&&(qC(i)===-1||!this.isVisible(i)))return!1;let r=e.nodeName.toLowerCase(),o=qC(e);return e.hasAttribute("contenteditable")?o!==-1:r==="iframe"||r==="object"||this._platform.WEBKIT&&this._platform.IOS&&!AF(e)?!1:r==="audio"?e.hasAttribute("controls")?o!==-1:!1:r==="video"?o===-1?!1:o!==null?!0:this._platform.FIREFOX||e.hasAttribute("controls"):e.tabIndex>=0}isFocusable(e,i){return kF(e)&&!this.isDisabled(e)&&((i==null?void 0:i.ignoreVisibility)||this.isVisible(e))}static \u0275fac=function(i){return new(i||n)};static \u0275prov=C({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function CF(n){try{return n.frameElement}catch{return null}}function DF(n){return!!(n.offsetWidth||n.offsetHeight||typeof n.getClientRects=="function"&&n.getClientRects().length)}function EF(n){let t=n.nodeName.toLowerCase();return t==="input"||t==="select"||t==="button"||t==="textarea"}function IF(n){return SF(n)&&n.type=="hidden"}function MF(n){return TF(n)&&n.hasAttribute("href")}function SF(n){return n.nodeName.toLowerCase()=="input"}function TF(n){return n.nodeName.toLowerCase()=="a"}function JC(n){if(!n.hasAttribute("tabindex")||n.tabIndex===void 0)return!1;let t=n.getAttribute("tabindex");return!!(t&&!isNaN(parseInt(t,10)))}function qC(n){if(!JC(n))return null;let t=parseInt(n.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}function AF(n){let t=n.nodeName.toLowerCase(),e=t==="input"&&n.type;return e==="text"||e==="password"||t==="select"||t==="textarea"}function kF(n){return IF(n)?!1:EF(n)||MF(n)||n.hasAttribute("contenteditable")||JC(n)}function OF(n){return n.ownerDocument&&n.ownerDocument.defaultView||window}var $g=class{_element;_checker;_ngZone;_document;_injector;_startAnchor;_endAnchor;_hasAttached=!1;startAnchorListener=()=>this.focusLastTabbableElement();endAnchorListener=()=>this.focusFirstTabbableElement();get enabled(){return this._enabled}set enabled(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}_enabled=!0;constructor(t,e,i,r,o=!1,s){this._element=t,this._checker=e,this._ngZone=i,this._document=r,this._injector=s,o||this.attachAnchors()}destroy(){let t=this._startAnchor,e=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!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(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(t)))})}focusFirstTabbableElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(t)))})}focusLastTabbableElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(t)))})}_getRegionBoundary(t){let e=this._element.querySelectorAll(`[cdk-focus-region-${t}], [cdkFocusRegion${t}], [cdk-focus-${t}]`);return t=="start"?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(t){let e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){let i=this._getFirstTabbableElement(e);return i==null||i.focus(t),!!i}return e.focus(t),!0}return this.focusFirstTabbableElement(t)}focusFirstTabbableElement(t){let e=this._getRegionBoundary("start");return e&&e.focus(t),!!e}focusLastTabbableElement(t){let e=this._getRegionBoundary("end");return e&&e.focus(t),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;let e=t.children;for(let i=0;i=0;i--){let r=e[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[i]):null;if(r)return r}return null}_createAnchor(){let t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t.setAttribute("aria-hidden","true"),t}_toggleAnchorTabIndex(t,e){t?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(t){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}_executeOnStable(t){this._injector?Ut(t,{injector:this._injector}):setTimeout(t)}},eD=(()=>{class n{_checker=u(qg);_ngZone=u(R);_document=u(J);_injector=u(_e);constructor(){u(dt).load(Qa)}create(e,i=!1){return new $g(e,this._checker,this._ngZone,this._document,i,this._injector)}static \u0275fac=function(i){return new(i||n)};static \u0275prov=C({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function Za(n){return n.buttons===0||n.detail===0}function Ka(n){let t=n.touches&&n.touches[0]||n.changedTouches&&n.changedTouches[0];return!!t&&t.identifier===-1&&(t.radiusX==null||t.radiusX===1)&&(t.radiusY==null||t.radiusY===1)}var RF=new x("cdk-input-modality-detector-options"),NF={ignoreKeys:[18,17,224,91,16]},tD=650,_s=mn({passive:!0,capture:!0}),PF=(()=>{class n{_platform=u(Te);modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new ut(null);_options;_lastTouchMs=0;_onKeydown=e=>{var i,r;(r=(i=this._options)==null?void 0:i.ignoreKeys)!=null&&r.some(o=>o===e.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Zt(e))};_onMousedown=e=>{Date.now()-this._lastTouchMs{if(Ka(e)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Zt(e)};constructor(){let e=u(R),i=u(J),r=u(RF,{optional:!0});this._options=w(w({},NF),r),this.modalityDetected=this._modality.pipe(Hs(1)),this.modalityChanged=this.modalityDetected.pipe(qi()),this._platform.isBrowser&&e.runOutsideAngular(()=>{i.addEventListener("keydown",this._onKeydown,_s),i.addEventListener("mousedown",this._onMousedown,_s),i.addEventListener("touchstart",this._onTouchstart,_s)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,_s),document.removeEventListener("mousedown",this._onMousedown,_s),document.removeEventListener("touchstart",this._onTouchstart,_s))}static \u0275fac=function(i){return new(i||n)};static \u0275prov=C({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),FF=new x("liveAnnouncerElement",{providedIn:"root",factory:LF});function LF(){return null}var VF=new x("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),jF=0,nD=(()=>{class n{_ngZone=u(R);_defaultOptions=u(VF,{optional:!0});_liveElement;_document=u(J);_previousTimeout;_currentPromise;_currentResolve;constructor(){let e=u(FF,{optional:!0});this._liveElement=e||this._createLiveElement()}announce(e,...i){let r=this._defaultOptions,o,s;return i.length===1&&typeof i[0]=="number"?s=i[0]:[o,s]=i,this.clear(),clearTimeout(this._previousTimeout),o||(o=r&&r.politeness?r.politeness:"polite"),s==null&&r&&(s=r.duration),this._liveElement.setAttribute("aria-live",o),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(a=>this._currentResolve=a)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{var a;this._liveElement.textContent=e,typeof s=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),s)),(a=this._currentResolve)==null||a.call(this),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){var e,i;clearTimeout(this._previousTimeout),(e=this._liveElement)==null||e.remove(),this._liveElement=null,(i=this._currentResolve)==null||i.call(this),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let e="cdk-live-announcer-element",i=this._document.getElementsByClassName(e),r=this._document.createElement("div");for(let o=0;o .cdk-overlay-container [aria-modal="true"]');for(let r=0;r{class n{_ngZone=u(R);_platform=u(Te);_inputModalityDetector=u(PF);_origin=null;_lastFocusOrigin;_windowFocused=!1;_windowFocusTimeoutId;_originTimeoutId;_originFromTouchInteraction=!1;_elementInfo=new Map;_monitoredElementCount=0;_rootNodeFocusListenerCount=new Map;_detectionMode;_windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)};_document=u(J,{optional:!0});_stopInputModalityDetector=new M;constructor(){let e=u(BF,{optional:!0});this._detectionMode=(e==null?void 0:e.detectionMode)||Eu.IMMEDIATE}_rootNodeFocusAndBlurListener=e=>{let i=Zt(e);for(let r=i;r;r=r.parentElement)e.type==="focus"?this._onFocus(e,r):this._onBlur(e,r)};monitor(e,i=!1){let r=hn(e);if(!this._platform.isBrowser||r.nodeType!==1)return U();let o=Yx(r)||this._getDocument(),s=this._elementInfo.get(r);if(s)return i&&(s.checkChildren=!0),s.subject;let a={checkChildren:i,subject:new M,rootNode:o};return this._elementInfo.set(r,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(e){let i=hn(e),r=this._elementInfo.get(i);r&&(r.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(r))}focusVia(e,i,r){let o=hn(e),s=this._getDocument().activeElement;o===s?this._getClosestElementsInfo(o).forEach(([a,l])=>this._originChanged(a,i,l)):(this._setOrigin(i),typeof o.focus=="function"&&o.focus(r))}ngOnDestroy(){this._elementInfo.forEach((e,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return this._detectionMode===Eu.EVENTUAL||!!(e!=null&&e.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(e,i){e.classList.toggle("cdk-focused",!!i),e.classList.toggle("cdk-touch-focused",i==="touch"),e.classList.toggle("cdk-keyboard-focused",i==="keyboard"),e.classList.toggle("cdk-mouse-focused",i==="mouse"),e.classList.toggle("cdk-program-focused",i==="program")}_setOrigin(e,i=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction=e==="touch"&&i,this._detectionMode===Eu.IMMEDIATE){clearTimeout(this._originTimeoutId);let r=this._originFromTouchInteraction?tD:1;this._originTimeoutId=setTimeout(()=>this._origin=null,r)}})}_onFocus(e,i){let r=this._elementInfo.get(i),o=Zt(e);!r||!r.checkChildren&&i!==o||this._originChanged(i,this._getFocusOrigin(o),r)}_onBlur(e,i){let r=this._elementInfo.get(i);!r||r.checkChildren&&e.relatedTarget instanceof Node&&i.contains(e.relatedTarget)||(this._setClasses(i),this._emitOrigin(r,null))}_emitOrigin(e,i){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(i))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;let i=e.rootNode,r=this._rootNodeFocusListenerCount.get(i)||0;r||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,Du),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,Du)}),this._rootNodeFocusListenerCount.set(i,r+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(we(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(e){let i=e.rootNode;if(this._rootNodeFocusListenerCount.has(i)){let r=this._rootNodeFocusListenerCount.get(i);r>1?this._rootNodeFocusListenerCount.set(i,r-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Du),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Du),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,i,r){this._setClasses(e,i),this._emitOrigin(r,i),this._lastFocusOrigin=i}_getClosestElementsInfo(e){let i=[];return this._elementInfo.forEach((r,o)=>{(o===e||r.checkChildren&&o.contains(e))&&i.push([o,r])}),i}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:i,mostRecentModality:r}=this._inputModalityDetector;if(r!=="mouse"||!i||i===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return!1;let o=e.labels;if(o){for(let s=0;s{class n{_platform=u(Te);_hasCheckedHighContrastMode;_document=u(J);_breakpointSubscription;constructor(){this._breakpointSubscription=u(Xx).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return so.NONE;let e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);let i=this._document.defaultView||window,r=i&&i.getComputedStyle?i.getComputedStyle(e):null,o=(r&&r.backgroundColor||"").replace(/ /g,"");switch(e.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return so.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return so.BLACK_ON_WHITE}return so.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(Bg,YC,QC),this._hasCheckedHighContrastMode=!0;let i=this.getHighContrastMode();i===so.BLACK_ON_WHITE?e.add(Bg,YC):i===so.WHITE_ON_BLACK&&e.add(Bg,QC)}}static \u0275fac=function(i){return new(i||n)};static \u0275prov=C({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Au=(()=>{class n{constructor(){u(Yg)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(i){return new(i||n)};static \u0275mod=V({type:n});static \u0275inj=L({imports:[xu]})}return n})(),zg={},$e=(()=>{class n{_appId=u(Qo);getId(e){return this._appId!=="ng"&&(e+=this._appId),zg.hasOwnProperty(e)||(zg[e]=0),`${e}${zg[e]++}`}static \u0275fac=function(i){return new(i||n)};static \u0275prov=C({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var iD=Zd(),Qg=class{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(t,e){this._viewportRuler=t,this._document=e}attach(){}enable(){if(this._canBeEnabled()){let t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=nt(-this._previousScrollPosition.left),t.style.top=nt(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let t=this._document.documentElement,e=this._document.body,i=t.style,r=e.style,o=i.scrollBehavior||"",s=r.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),iD&&(i.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),iD&&(i.scrollBehavior=o,r.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let e=this._document.body,i=this._viewportRuler.getViewportSize();return e.scrollHeight>i.height||e.scrollWidth>i.width}};var Zg=class{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(t,e,i,r){this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=i,this._config=r}attach(t){this._overlayRef,this._overlayRef=t}enable(){if(this._scrollSubscription)return;let t=this._scrollDispatcher.scrolled(0).pipe(ne(e=>!e||!this._overlayRef.overlayElement.contains(e.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{let e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}_detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}},ku=class{enable(){}disable(){}attach(){}};function Kg(n,t){return t.some(e=>{let i=n.bottome.bottom,o=n.righte.right;return i||r||o||s})}function rD(n,t){return t.some(e=>{let i=n.tope.bottom,o=n.lefte.right;return i||r||o||s})}var Xg=class{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(t,e,i,r){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=i,this._config=r}attach(t){this._overlayRef,this._overlayRef=t}enable(){if(!this._scrollSubscription){let t=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(t).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:r}=this._viewportRuler.getViewportSize();Kg(e,[{width:i,height:r,bottom:r,right:i,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}})}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},zF=(()=>{class n{_scrollDispatcher=u(ps);_viewportRuler=u(gs);_ngZone=u(R);_document=u(J);constructor(){}noop=()=>new ku;close=e=>new Zg(this._scrollDispatcher,this._ngZone,this._viewportRuler,e);block=()=>new Qg(this._viewportRuler,this._document);reposition=e=>new Xg(this._scrollDispatcher,this._viewportRuler,this._ngZone,e);static \u0275fac=function(i){return new(i||n)};static \u0275prov=C({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),pr=class{positionStrategy;scrollStrategy=new ku;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;constructor(t){if(t){let e=Object.keys(t);for(let i of e)t[i]!==void 0&&(this[i]=t[i])}}};var Jg=class{connectionPair;scrollableViewProperties;constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e}};var dD=(()=>{class n{_attachedOverlays=[];_document=u(J);_isAttached;constructor(){}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){let i=this._attachedOverlays.indexOf(e);i>-1&&this._attachedOverlays.splice(i,1),this._attachedOverlays.length===0&&this.detach()}static \u0275fac=function(i){return new(i||n)};static \u0275prov=C({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),UF=(()=>{class n extends dD{_ngZone=u(R,{optional:!0});add(e){super.add(e),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}_keydownListener=e=>{let i=this._attachedOverlays;for(let r=i.length-1;r>-1;r--)if(i[r]._keydownEvents.observers.length>0){let o=i[r]._keydownEvents;this._ngZone?this._ngZone.run(()=>o.next(e)):o.next(e);break}};static \u0275fac=(()=>{let e;return function(r){return(e||(e=st(n)))(r||n)}})();static \u0275prov=C({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),HF=(()=>{class n extends dD{_platform=u(Te);_ngZone=u(R,{optional:!0});_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget;add(e){if(super.add(e),!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 e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(e){e.addEventListener("pointerdown",this._pointerDownListener,!0),e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0)}_pointerDownListener=e=>{this._pointerDownEventTarget=Zt(e)};_clickListener=e=>{let i=Zt(e),r=e.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:i;this._pointerDownEventTarget=null;let o=this._attachedOverlays.slice();for(let s=o.length-1;s>-1;s--){let a=o[s];if(a._outsidePointerEvents.observers.length<1||!a.hasAttached())continue;if(oD(a.overlayElement,i)||oD(a.overlayElement,r))break;let l=a._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>l.next(e)):l.next(e)}};static \u0275fac=(()=>{let e;return function(r){return(e||(e=st(n)))(r||n)}})();static \u0275prov=C({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function oD(n,t){let e=typeof ShadowRoot<"u"&&ShadowRoot,i=t;for(;i;){if(i===n)return!0;i=e&&i instanceof ShadowRoot?i.host:i.parentNode}return!1}var uD=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275cmp=A({type:n,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(i,r){},styles:[".cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed}@layer cdk-overlay{.cdk-overlay-container{z-index:1000}}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute}@layer cdk-overlay{.cdk-global-overlay-wrapper{z-index:1000}}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%}@layer cdk-overlay{.cdk-overlay-pane{z-index:1000}}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);opacity:0}@layer cdk-overlay{.cdk-overlay-backdrop{z-index:1000;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors: active){.cdk-overlay-backdrop-showing{opacity:.6}}@layer cdk-overlay{.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px}@layer cdk-overlay{.cdk-overlay-connected-position-bounding-box{z-index:1000}}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}"],encapsulation:2,changeDetection:0})}return n})(),Ou=(()=>{class n{_platform=u(Te);_containerElement;_document=u(J);_styleLoader=u(dt);constructor(){}ngOnDestroy(){var e;(e=this._containerElement)==null||e.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let e="cdk-overlay-container";if(this._platform.isBrowser||Kp()){let r=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let o=0;othis._backdropClick.next(t);_backdropTransitionendHandler=t=>{this._disposeBackdrop(t.target)};_previousHostParent;_keydownEvents=new M;_outsidePointerEvents=new M;_renders=new M;_afterRenderRef;_afterNextRenderRef;constructor(t,e,i,r,o,s,a,l,c,d=!1,f){this._portalOutlet=t,this._host=e,this._pane=i,this._config=r,this._ngZone=o,this._keyboardDispatcher=s,this._document=a,this._location=l,this._outsideClickDispatcher=c,this._animationsDisabled=d,this._injector=f,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy,this._afterRenderRef=un(()=>ca(()=>{this._renders.next()},{injector:this._injector}))}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){var i;!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let e=this._portalOutlet.attach(t);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),(i=this._afterNextRenderRef)==null||i.destroy(),this._afterNextRenderRef=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(e==null?void 0:e.onDestroy)=="function"&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){var e,i;let t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),(e=this._host)==null||e.remove(),(i=this._afterNextRenderRef)==null||i.destroy(),this._previousHostParent=this._pane=this._host=null,t&&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(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config=w(w({},this._config),t),this._updateElementSize()}setDirection(t){this._config=te(w({},this._config),{direction:t}),this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){let t=this._config.direction;return t?typeof t=="string"?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let t=this._pane.style;t.width=nt(this._config.width),t.height=nt(this._config.height),t.minWidth=nt(this._config.minWidth),t.minHeight=nt(this._config.minHeight),t.maxWidth=nt(this._config.maxWidth),t.maxHeight=nt(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){let t="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(t)})}):this._backdropElement.classList.add(t)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let t=this._backdropElement;if(t){if(this._animationsDisabled){this._disposeBackdrop(t);return}t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{t.addEventListener("transitionend",this._backdropTransitionendHandler)}),t.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(t)},500))}}_toggleClasses(t,e,i){let r=es(e||[]).filter(o=>!!o);r.length&&(i?t.classList.add(...r):t.classList.remove(...r))}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{let t=this._renders.pipe(we(bt(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()),t.unsubscribe())})})}_disposeScrollStrategy(){let t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}_disposeBackdrop(t){t&&(t.removeEventListener("click",this._backdropClickHandler),t.removeEventListener("transitionend",this._backdropTransitionendHandler),t.remove(),this._backdropElement===t&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}},sD="cdk-overlay-connected-position-bounding-box",$F=/([A-Za-z%]+)$/,ev=class{_viewportRuler;_document;_platform;_overlayContainer;_overlayRef;_isInitialRender;_lastBoundingBoxSize={width:0,height:0};_isPushed=!1;_canPush=!0;_growAfterOpen=!1;_hasFlexibleDimensions=!0;_positionLocked=!1;_originRect;_overlayRect;_viewportRect;_containerRect;_viewportMargin=0;_scrollables=[];_preferredPositions=[];_origin;_pane;_isDisposed;_boundingBox;_lastPosition;_lastScrollVisibility;_positionChanges=new M;_resizeSubscription=me.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount;positionChanges=this._positionChanges;get positions(){return this._preferredPositions}constructor(t,e,i,r,o){this._viewportRuler=e,this._document=i,this._platform=r,this._overlayContainer=o,this.setOrigin(t)}attach(t){this._overlayRef&&this._overlayRef,this._validatePositions(),t.hostElement.classList.add(sD),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){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 t=this._originRect,e=this._overlayRect,i=this._viewportRect,r=this._containerRect,o=[],s;for(let a of this._preferredPositions){let l=this._getOriginPoint(t,r,a),c=this._getOverlayPoint(l,e,a),d=this._getOverlayFit(c,e,i,a);if(d.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(a,l);return}if(this._canFitWithFlexibleDimensions(d,c,i)){o.push({position:a,origin:l,overlayRect:e,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&&ao(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(sD),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let t=this._lastPosition;if(t){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let e=this._getOriginPoint(this._originRect,this._containerRect,t);this._applyPosition(t,e)}else this.apply()}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,t.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,e,i){let r;if(i.originX=="center")r=t.left+t.width/2;else{let s=this._isRtl()?t.right:t.left,a=this._isRtl()?t.left:t.right;r=i.originX=="start"?s:a}e.left<0&&(r-=e.left);let o;return i.originY=="center"?o=t.top+t.height/2:o=i.originY=="top"?t.top:t.bottom,e.top<0&&(o-=e.top),{x:r,y:o}}_getOverlayPoint(t,e,i){let r;i.overlayX=="center"?r=-e.width/2:i.overlayX==="start"?r=this._isRtl()?-e.width:0:r=this._isRtl()?0:-e.width;let o;return i.overlayY=="center"?o=-e.height/2:o=i.overlayY=="top"?0:-e.height,{x:t.x+r,y:t.y+o}}_getOverlayFit(t,e,i,r){let o=lD(e),{x:s,y:a}=t,l=this._getOffset(r,"x"),c=this._getOffset(r,"y");l&&(s+=l),c&&(a+=c);let d=0-s,f=s+o.width-i.width,g=0-a,h=a+o.height-i.height,v=this._subtractOverflows(o.width,d,f),_=this._subtractOverflows(o.height,g,h),I=v*_;return{visibleArea:I,isCompletelyWithinViewport:o.width*o.height===I,fitsInViewportVertically:_===o.height,fitsInViewportHorizontally:v==o.width}}_canFitWithFlexibleDimensions(t,e,i){if(this._hasFlexibleDimensions){let r=i.bottom-e.y,o=i.right-e.x,s=aD(this._overlayRef.getConfig().minHeight),a=aD(this._overlayRef.getConfig().minWidth),l=t.fitsInViewportVertically||s!=null&&s<=r,c=t.fitsInViewportHorizontally||a!=null&&a<=o;return l&&c}return!1}_pushOverlayOnScreen(t,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};let r=lD(e),o=this._viewportRect,s=Math.max(t.x+r.width-o.width,0),a=Math.max(t.y+r.height-o.height,0),l=Math.max(o.top-i.top-t.y,0),c=Math.max(o.left-i.left-t.x,0),d=0,f=0;return r.width<=o.width?d=c||-s:d=t.xv&&!this._isInitialRender&&!this._growAfterOpen&&(s=t.y-v/2)}let l=e.overlayX==="start"&&!r||e.overlayX==="end"&&r,c=e.overlayX==="end"&&!r||e.overlayX==="start"&&r,d,f,g;if(c)g=i.width-t.x+this._viewportMargin*2,d=t.x-this._viewportMargin;else if(l)f=t.x,d=i.right-t.x;else{let h=Math.min(i.right-t.x+i.left,t.x),v=this._lastBoundingBoxSize.width;d=h*2,f=t.x-h,d>v&&!this._isInitialRender&&!this._growAfterOpen&&(f=t.x-v/2)}return{top:s,left:f,bottom:a,right:g,width:d,height:o}}_setBoundingBoxStyles(t,e){let i=this._calculateBoundingBoxRect(t,e);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));let r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right=r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{let o=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;r.height=nt(i.height),r.top=nt(i.top),r.bottom=nt(i.bottom),r.width=nt(i.width),r.left=nt(i.left),r.right=nt(i.right),e.overlayX==="center"?r.alignItems="center":r.alignItems=e.overlayX==="end"?"flex-end":"flex-start",e.overlayY==="center"?r.justifyContent="center":r.justifyContent=e.overlayY==="bottom"?"flex-end":"flex-start",o&&(r.maxHeight=nt(o)),s&&(r.maxWidth=nt(s))}this._lastBoundingBoxSize=i,ao(this._boundingBox.style,r)}_resetBoundingBoxStyles(){ao(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){ao(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,e){let i={},r=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(r){let d=this._viewportRuler.getViewportScrollPosition();ao(i,this._getExactOverlayY(e,t,d)),ao(i,this._getExactOverlayX(e,t,d))}else i.position="static";let a="",l=this._getOffset(e,"x"),c=this._getOffset(e,"y");l&&(a+=`translateX(${l}px) `),c&&(a+=`translateY(${c}px)`),i.transform=a.trim(),s.maxHeight&&(r?i.maxHeight=nt(s.maxHeight):o&&(i.maxHeight="")),s.maxWidth&&(r?i.maxWidth=nt(s.maxWidth):o&&(i.maxWidth="")),ao(this._pane.style,i)}_getExactOverlayY(t,e,i){let r={top:"",bottom:""},o=this._getOverlayPoint(e,this._overlayRect,t);if(this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),t.overlayY==="bottom"){let s=this._document.documentElement.clientHeight;r.bottom=`${s-(o.y+this._overlayRect.height)}px`}else r.top=nt(o.y);return r}_getExactOverlayX(t,e,i){let r={left:"",right:""},o=this._getOverlayPoint(e,this._overlayRect,t);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i));let s;if(this._isRtl()?s=t.overlayX==="end"?"left":"right":s=t.overlayX==="end"?"right":"left",s==="right"){let a=this._document.documentElement.clientWidth;r.right=`${a-(o.x+this._overlayRect.width)}px`}else r.left=nt(o.x);return r}_getScrollVisibility(){let t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:rD(t,i),isOriginOutsideView:Kg(t,i),isOverlayClipped:rD(e,i),isOverlayOutsideView:Kg(e,i)}}_subtractOverflows(t,...e){return e.reduce((i,r)=>i-Math.max(r,0),t)}_getNarrowedViewportRect(){let t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+t-this._viewportMargin,bottom:i.top+e-this._viewportMargin,width:t-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,e){return e==="x"?t.offsetX==null?this._offsetX:t.offsetX:t.offsetY==null?this._offsetY:t.offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&es(t).forEach(e=>{e!==""&&this._appliedPanelClasses.indexOf(e)===-1&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){let t=this._origin;if(t instanceof H)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();let e=t.width||0,i=t.height||0;return{top:t.y,bottom:t.y+i,left:t.x,right:t.x+e,height:i,width:e}}};function ao(n,t){for(let e in t)t.hasOwnProperty(e)&&(n[e]=t[e]);return n}function aD(n){if(typeof n!="number"&&n!=null){let[t,e]=n.split($F);return!e||e==="px"?parseFloat(t):null}return n||null}function lD(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 GF(n,t){return n===t?!0:n.isOriginClipped===t.isOriginClipped&&n.isOriginOutsideView===t.isOriginOutsideView&&n.isOverlayClipped===t.isOverlayClipped&&n.isOverlayOutsideView===t.isOverlayOutsideView}var cD="cdk-global-overlay-wrapper",tv=class{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(t){let e=t.getConfig();this._overlayRef=t,this._width&&!e.width&&t.updateSize({width:this._width}),this._height&&!e.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(cD),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._xOffset=t,this._xPosition="left",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._xOffset=t,this._xPosition="right",this}start(t=""){return this._xOffset=t,this._xPosition="start",this}end(t=""){return this._xOffset=t,this._xPosition="end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._xPosition="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:r,height:o,maxWidth:s,maxHeight:a}=i,l=(r==="100%"||r==="100vw")&&(!s||s==="100%"||s==="100vw"),c=(o==="100%"||o==="100vh")&&(!a||a==="100%"||a==="100vh"),d=this._xPosition,f=this._xOffset,g=this._overlayRef.getConfig().direction==="rtl",h="",v="",_="";l?_="flex-start":d==="center"?(_="center",g?v=f:h=f):g?d==="left"||d==="end"?(_="flex-end",h=f):(d==="right"||d==="start")&&(_="flex-start",v=f):d==="left"||d==="start"?(_="flex-start",h=f):(d==="right"||d==="end")&&(_="flex-end",v=f),t.position=this._cssPosition,t.marginLeft=l?"0":h,t.marginTop=c?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=l?"0":v,e.justifyContent=_,e.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,i=e.style;e.classList.remove(cD),i.justifyContent=i.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}},WF=(()=>{class n{_viewportRuler=u(gs);_document=u(J);_platform=u(Te);_overlayContainer=u(Ou);constructor(){}global(){return new tv}flexibleConnectedTo(e){return new ev(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static \u0275fac=function(i){return new(i||n)};static \u0275prov=C({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),it=(()=>{class n{scrollStrategies=u(zF);_overlayContainer=u(Ou);_positionBuilder=u(WF);_keyboardDispatcher=u(UF);_injector=u(_e);_ngZone=u(R);_document=u(J);_directionality=u(kt);_location=u(or);_outsideClickDispatcher=u(HF);_animationsModuleType=u(Je,{optional:!0});_idGenerator=u($e);_appRef;_styleLoader=u(dt);constructor(){}create(e){this._styleLoader.load(uD);let i=this._createHostElement(),r=this._createPaneElement(i),o=this._createPortalOutlet(r),s=new pr(e);return s.direction=s.direction||this._directionality.value,new Ds(o,i,r,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations",this._injector.get(ht))}position(){return this._positionBuilder}_createPaneElement(e){let i=this._document.createElement("div");return i.id=this._idGenerator.getId("cdk-overlay-"),i.classList.add("cdk-overlay-pane"),e.appendChild(i),i}_createHostElement(){let e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(Ht)),new Ya(e,null,this._appRef,this._injector,this._document)}static \u0275fac=function(i){return new(i||n)};static \u0275prov=C({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),qF=[{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"}],fD=new x("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let n=u(it);return()=>n.scrollStrategies.reposition()}}),Xa=(()=>{class n{elementRef=u(H);constructor(){}static \u0275fac=function(i){return new(i||n)};static \u0275dir=P({type:n,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]})}return n})(),nv=(()=>{class n{_overlay=u(it);_dir=u(kt,{optional:!0});_overlayRef;_templatePortal;_backdropSubscription=me.EMPTY;_attachSubscription=me.EMPTY;_detachSubscription=me.EMPTY;_positionSubscription=me.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=u(fD);_disposeOnNavigation=!1;_ngZone=u(R);origin;positions;positionStrategy;get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}width;height;minWidth;minHeight;backdropClass;panelClass;viewportMargin=0;scrollStrategy;open=!1;disableClose=!1;transformOriginSelector;hasBackdrop=!1;lockPosition=!1;flexibleDimensions=!1;growAfterOpen=!1;push=!1;get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(e){this._disposeOnNavigation=e}backdropClick=new $;positionChange=new $;attach=new $;detach=new $;overlayKeydown=new $;overlayOutsideClick=new $;constructor(){let e=u(xt),i=u(at);this._templatePortal=new Nn(e,i),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(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=qF);let e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(i=>{this.overlayKeydown.next(i),i.keyCode===27&&!this.disableClose&&!pt(i)&&(i.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{let r=this._getOriginElement(),o=Zt(i);(!r||r!==o&&!r.contains(o))&&this.overlayOutsideClick.next(i)})}_buildConfig(){let e=this._position=this.positionStrategy||this._createPositionStrategy(),i=new pr({direction:this._dir||"ltr",positionStrategy:e,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(e){let i=this.positions.map(r=>({originX:r.originX,originY:r.originY,overlayX:r.overlayX,overlayY:r.overlayY,offsetX:r.offsetX||this.offsetX,offsetY:r.offsetY||this.offsetY,panelClass:r.panelClass||void 0}));return e.setOrigin(this._getOrigin()).withPositions(i).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){let e=this._overlay.position().flexibleConnectedTo(this._getOrigin());return this._updatePositionStrategy(e),e}_getOrigin(){return this.origin instanceof Xa?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof Xa?this.origin.elementRef.nativeElement:this.origin instanceof H?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(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(uh(()=>this.positionChange.observers.length>0)).subscribe(e=>{this._ngZone.run(()=>this.positionChange.emit(e)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}static \u0275fac=function(i){return new(i||n)};static \u0275dir=P({type:n,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",q],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",q],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",q],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",q],push:[2,"cdkConnectedOverlayPush","push",q],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",q]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[Oe,qe]})}return n})();function YF(n){return()=>n.scrollStrategies.reposition()}var QF={provide:fD,deps:[it],useFactory:YF},li=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=V({type:n});static \u0275inj=L({providers:[it,QF],imports:[fr,Fi,Lg,Lg]})}return n})();function ZF(n,t){}var gr=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;width="";height="";minWidth;minHeight;maxWidth;maxHeight;positionStrategy;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!0;autoFocus="first-tabbable";restoreFocus=!0;scrollStrategy;closeOnNavigation=!0;closeOnDestroy=!0;closeOnOverlayDetachments=!0;componentFactoryResolver;providers;container;templateContext};var rv=(()=>{class n extends vs{_elementRef=u(H);_focusTrapFactory=u(eD);_config;_interactivityChecker=u(qg);_ngZone=u(R);_overlayRef=u(Ds);_focusMonitor=u(Pn);_platform=u(Te);_document=u(J,{optional:!0});_portalOutlet;_focusTrap=null;_elementFocusedBeforeDialogWasOpened=null;_closeInteractionType=null;_ariaLabelledByQueue=[];_changeDetectorRef=u(Pe);_injector=u(_e);_isDestroyed=!1;constructor(){super(),this._config=u(gr,{optional:!0})||new gr,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(e){this._ariaLabelledByQueue.push(e),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(e){let i=this._ariaLabelledByQueue.indexOf(e);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(e){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachComponentPortal(e);return this._contentAttached(),i}attachTemplatePortal(e){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachTemplatePortal(e);return this._contentAttached(),i}attachDomPortal=e=>{this._portalOutlet.hasAttached();let i=this._portalOutlet.attachDomPortal(e);return this._contentAttached(),i};_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,i){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let r=()=>{e.removeEventListener("blur",r),e.removeEventListener("mousedown",r),e.removeAttribute("tabindex")};e.addEventListener("blur",r),e.addEventListener("mousedown",r)})),e.focus(i)}_focusByCssSelector(e,i){let r=this._elementRef.nativeElement.querySelector(e);r&&this._forceFocus(r,i)}_trapFocus(){this._isDestroyed||Ut(()=>{var i;let e=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||e.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 e=this._config.restoreFocus,i=null;if(typeof e=="string"?i=this._document.querySelector(e):typeof e=="boolean"?i=e?this._elementFocusedBeforeDialogWasOpened:null:e&&(i=e),this._config.restoreFocus&&i&&typeof i.focus=="function"){let r=Da(),o=this._elementRef.nativeElement;(!r||r===this._document.body||r===o||o.contains(r))&&(this._focusMonitor?(this._focusMonitor.focusVia(i,this._closeInteractionType),this._closeInteractionType=null):i.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){let e=this._elementRef.nativeElement,i=Da();return e===i||e.contains(i)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=Da()))}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=A({type:n,selectors:[["cdk-dialog-container"]],viewQuery:function(i,r){if(i&1&&Re(oo,7),i&2){let o;oe(o=se())&&(r._portalOutlet=o.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(i,r){i&2&&ye("id",r._config.id||null)("role",r._config.role)("aria-modal",r._config.ariaModal)("aria-labelledby",r._config.ariaLabel?null:r._ariaLabelledByQueue[0])("aria-label",r._config.ariaLabel)("aria-describedby",r._config.ariaDescribedBy||null)},features:[Ve],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(i,r){i&1&&F(0,ZF,0,0,"ng-template",0)},dependencies:[oo],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2})}return n})(),Ja=class{overlayRef;config;componentInstance;componentRef;containerInstance;disableClose;closed=new M;backdropClick;keydownEvents;outsidePointerEvents;id;_detachSubscription;constructor(t,e){this.overlayRef=t,this.config=e,this.disableClose=e.disableClose,this.backdropClick=t.backdropClick(),this.keydownEvents=t.keydownEvents(),this.outsidePointerEvents=t.outsidePointerEvents(),this.id=e.id,this.keydownEvents.subscribe(i=>{i.keyCode===27&&!this.disableClose&&!pt(i)&&(i.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=t.detachments().subscribe(()=>{e.closeOnOverlayDetachments!==!1&&this.close()})}close(t,e){if(this.containerInstance){let i=this.closed;this.containerInstance._closeInteractionType=(e==null?void 0:e.focusOrigin)||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),i.next(t),i.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(t="",e=""){return this.overlayRef.updateSize({width:t,height:e}),this}addPanelClass(t){return this.overlayRef.addPanelClass(t),this}removePanelClass(t){return this.overlayRef.removePanelClass(t),this}},KF=new x("DialogScrollStrategy",{providedIn:"root",factory:()=>{let n=u(it);return()=>n.scrollStrategies.block()}}),XF=new x("DialogData"),JF=new x("DefaultDialogConfig");var ov=(()=>{class n{_overlay=u(it);_injector=u(_e);_defaultOptions=u(JF,{optional:!0});_parentDialog=u(n,{optional:!0,skipSelf:!0});_overlayContainer=u(Ou);_idGenerator=u($e);_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new M;_afterOpenedAtThisLevel=new M;_ariaHiddenElements=new Map;_scrollStrategy=u(KF);get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}afterAllClosed=Un(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Ke(void 0)));constructor(){}open(e,i){let r=this._defaultOptions||new gr;i=w(w({},r),i),i.id=i.id||this._idGenerator.getId("cdk-dialog-"),i.id&&this.getDialogById(i.id);let o=this._getOverlayConfig(i),s=this._overlay.create(o),a=new Ja(s,i),l=this._attachContainer(s,a,i);return a.containerInstance=l,this._attachDialogContent(e,a,l,i),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(a),a.closed.subscribe(()=>this._removeOpenDialog(a,!0)),this.afterOpened.next(a),a}closeAll(){iv(this.openDialogs,e=>e.close())}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){iv(this._openDialogsAtThisLevel,e=>{e.config.closeOnDestroy===!1&&this._removeOpenDialog(e,!1)}),iv(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(e){let i=new pr({positionStrategy:e.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,width:e.width,height:e.height,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(i.backdropClass=e.backdropClass),i}_attachContainer(e,i,r){var d;let o=r.injector||((d=r.viewContainerRef)==null?void 0:d.injector),s=[{provide:gr,useValue:r},{provide:Ja,useValue:i},{provide:Ds,useValue:e}],a;r.container?typeof r.container=="function"?a=r.container:(a=r.container.type,s.push(...r.container.providers(r))):a=rv;let l=new mr(a,r.viewContainerRef,_e.create({parent:o||this._injector,providers:s}));return e.attach(l).instance}_attachDialogContent(e,i,r,o){if(e instanceof xt){let s=this._createInjector(o,i,r,void 0),a={$implicit:o.data,dialogRef:i};o.templateContext&&(a=w(w({},a),typeof o.templateContext=="function"?o.templateContext():o.templateContext)),r.attachTemplatePortal(new Nn(e,null,a,s))}else{let s=this._createInjector(o,i,r,this._injector),a=r.attachComponentPortal(new mr(e,o.viewContainerRef,s));i.componentRef=a,i.componentInstance=a.instance}}_createInjector(e,i,r,o){var l;let s=e.injector||((l=e.viewContainerRef)==null?void 0:l.injector),a=[{provide:XF,useValue:e.data},{provide:Ja,useValue:i}];return e.providers&&(typeof e.providers=="function"?a.push(...e.providers(i,e,r)):a.push(...e.providers)),e.direction&&(!s||!s.get(kt,null,{optional:!0}))&&a.push({provide:kt,useValue:{value:e.direction,change:U()}}),_e.create({parent:s||o,providers:a})}_removeOpenDialog(e,i){let r=this.openDialogs.indexOf(e);r>-1&&(this.openDialogs.splice(r,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((o,s)=>{o?s.setAttribute("aria-hidden",o):s.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),i&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){let e=this._overlayContainer.getContainerElement();if(e.parentElement){let i=e.parentElement.children;for(let r=i.length-1;r>-1;r--){let o=i[r];o!==e&&o.nodeName!=="SCRIPT"&&o.nodeName!=="STYLE"&&!o.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(o,o.getAttribute("aria-hidden")),o.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}static \u0275fac=function(i){return new(i||n)};static \u0275prov=C({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function iv(n,t){let e=n.length;for(;e--;)t(n[e])}var hD=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=V({type:n});static \u0275inj=L({providers:[ov],imports:[li,Fi,Au,Fi]})}return n})();var eL=["text"],tL=[[["mat-icon"]],"*"],nL=["mat-icon","*"];function iL(n,t){if(n&1&&T(0,"mat-pseudo-checkbox",1),n&2){let e=N();D("disabled",e.disabled)("state",e.selected?"checked":"unchecked")}}function rL(n,t){if(n&1&&T(0,"mat-pseudo-checkbox",3),n&2){let e=N();D("disabled",e.disabled)}}function oL(n,t){if(n&1&&(m(0,"span",4),b(1),p()),n&2){let e=N();y(),Ie("(",e.group.label,")")}}var sL=["mat-internal-form-field",""],aL=["*"];var Me=(()=>{class n{constructor(){u(Yg)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(i){return new(i||n)};static \u0275mod=V({type:n});static \u0275inj=L({imports:[fr,fr]})}return n})(),Es=class{_defaultMatcher;ngControl;_parentFormGroup;_parentForm;_stateChanges;errorState=!1;matcher;constructor(t,e,i,r,o){this._defaultMatcher=t,this.ngControl=e,this._parentFormGroup=i,this._parentForm=r,this._stateChanges=o}updateErrorState(){let t=this.errorState,e=this._parentFormGroup||this._parentForm,i=this.matcher||this._defaultMatcher,r=this.ngControl?this.ngControl.control:null,o=(i==null?void 0:i.isErrorState(r,e))??!1;o!==t&&(this.errorState=o,this._stateChanges.next())}};var Fu=(()=>{class n{isErrorState(e,i){return!!(e&&e.invalid&&(e.touched||i&&i.submitted))}static \u0275fac=function(i){return new(i||n)};static \u0275prov=C({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Vi=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275cmp=A({type:n,selectors:[["structural-styles"]],decls:0,vars:0,template:function(i,r){},styles:['.mat-focus-indicator{position:relative}.mat-focus-indicator::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-width:var(--mat-focus-indicator-border-width, 3px);border-style:var(--mat-focus-indicator-border-style, solid);border-color:var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus::before{content:""}@media(forced-colors: active){html{--mat-focus-indicator-display: block}}'],encapsulation:2,changeDetection:0})}return n})();var gn=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}(gn||{}),lv=class{_renderer;element;config;_animationForciblyDisabledThroughCss;state=gn.HIDDEN;constructor(t,e,i,r=!1){this._renderer=t,this.element=e,this.config=i,this._animationForciblyDisabledThroughCss=r}fadeOut(){this._renderer.fadeOutRipple(this)}},mD=mn({passive:!0,capture:!0}),cv=class{_events=new Map;addHandler(t,e,i,r){let o=this._events.get(e);if(o){let s=o.get(i);s?s.add(r):o.set(i,new Set([r]))}else this._events.set(e,new Map([[i,new Set([r])]])),t.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,mD)})}removeHandler(t,e,i){let r=this._events.get(t);if(!r)return;let o=r.get(e);o&&(o.delete(i),o.size===0&&r.delete(e),r.size===0&&(this._events.delete(t),document.removeEventListener(t,this._delegateEventHandler,mD)))}_delegateEventHandler=t=>{var i;let e=Zt(t);e&&((i=this._events.get(t.type))==null||i.forEach((r,o)=>{(o===e||o.contains(e))&&r.forEach(s=>s.handleEvent(t))}))}},Nu={enterDuration:225,exitDuration:150},lL=800,pD=mn({passive:!0,capture:!0}),gD=["mousedown","touchstart"],vD=["mouseup","mouseleave","touchend","touchcancel"],cL=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275cmp=A({type:n,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(i,r){},styles:[".mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0, 0, 0.2, 1);transform:scale3d(0, 0, 0);background-color:var(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent))}@media(forced-colors: active){.mat-ripple-element{display:none}}.cdk-drag-preview .mat-ripple-element,.cdk-drag-placeholder .mat-ripple-element{display:none}"],encapsulation:2,changeDetection:0})}return n})(),Pu=class n{_target;_ngZone;_platform;_containerElement;_triggerElement;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect;static _eventManager=new cv;constructor(t,e,i,r,o){this._target=t,this._ngZone=e,this._platform=r,r.isBrowser&&(this._containerElement=hn(i)),o&&o.get(dt).load(cL)}fadeInRipple(t,e,i={}){let r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=w(w({},Nu),i.animation);i.centered&&(t=r.left+r.width/2,e=r.top+r.height/2);let s=i.radius||dL(t,e,r),a=t-r.left,l=e-r.top,c=o.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=`${a-s}px`,d.style.top=`${l-s}px`,d.style.height=`${s*2}px`,d.style.width=`${s*2}px`,i.color!=null&&(d.style.backgroundColor=i.color),d.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(d);let f=window.getComputedStyle(d),g=f.transitionProperty,h=f.transitionDuration,v=g==="none"||h==="0s"||h==="0s, 0s"||r.width===0&&r.height===0,_=new lv(this,d,i,v);d.style.transform="scale3d(1, 1, 1)",_.state=gn.FADING_IN,i.persistent||(this._mostRecentTransientRipple=_);let I=null;return!v&&(c||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let k=()=>{I&&(I.fallbackTimer=null),clearTimeout(z),this._finishRippleTransition(_)},ae=()=>this._destroyRipple(_),z=setTimeout(ae,c+100);d.addEventListener("transitionend",k),d.addEventListener("transitioncancel",ae),I={onTransitionEnd:k,onTransitionCancel:ae,fallbackTimer:z}}),this._activeRipples.set(_,I),(v||!c)&&this._finishRippleTransition(_),_}fadeOutRipple(t){if(t.state===gn.FADING_OUT||t.state===gn.HIDDEN)return;let e=t.element,i=w(w({},Nu),t.config.animation);e.style.transitionDuration=`${i.exitDuration}ms`,e.style.opacity="0",t.state=gn.FADING_OUT,(t._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(t)}fadeOutAll(){this._getActiveRipples().forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){let e=hn(t);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,gD.forEach(i=>{n._eventManager.addHandler(this._ngZone,i,e,this)}))}handleEvent(t){t.type==="mousedown"?this._onMousedown(t):t.type==="touchstart"?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{vD.forEach(e=>{this._triggerElement.addEventListener(e,this,pD)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(t){t.state===gn.FADING_IN?this._startFadeOutTransition(t):t.state===gn.FADING_OUT&&this._destroyRipple(t)}_startFadeOutTransition(t){let e=t===this._mostRecentTransientRipple,{persistent:i}=t.config;t.state=gn.VISIBLE,!i&&(!e||!this._isPointerDown)&&t.fadeOut()}_destroyRipple(t){let e=this._activeRipples.get(t)??null;this._activeRipples.delete(t),this._activeRipples.size||(this._containerRect=null),t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),t.state=gn.HIDDEN,e!==null&&(t.element.removeEventListener("transitionend",e.onTransitionEnd),t.element.removeEventListener("transitioncancel",e.onTransitionCancel),e.fallbackTimer!==null&&clearTimeout(e.fallbackTimer)),t.element.remove()}_onMousedown(t){let e=Za(t),i=this._lastTouchStartEvent&&Date.now(){let e=t.state===gn.VISIBLE||t.config.terminateOnPointerUp&&t.state===gn.FADING_IN;!t.config.persistent&&e&&t.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let t=this._triggerElement;t&&(gD.forEach(e=>n._eventManager.removeHandler(e,t,this)),this._pointerUpEventsRegistered&&(vD.forEach(e=>t.removeEventListener(e,this,pD)),this._pointerUpEventsRegistered=!1))}};function dL(n,t,e){let i=Math.max(Math.abs(n-e.left),Math.abs(n-e.right)),r=Math.max(Math.abs(t-e.top),Math.abs(t-e.bottom));return Math.sqrt(i*i+r*r)}var wD=new x("mat-ripple-global-options"),el=(()=>{class n{_elementRef=u(H);_animationMode=u(Je,{optional:!0});color;unbounded;centered;radius=0;animation;get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}_disabled=!1;get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}_trigger;_rippleRenderer;_globalOptions;_isInitialized=!1;constructor(){let e=u(R),i=u(Te),r=u(wD,{optional:!0}),o=u(_e);this._globalOptions=r||{},this._rippleRenderer=new Pu(this,e,this._elementRef,i,o)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:w(w(w({},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(e,i=0,r){return typeof e=="number"?this._rippleRenderer.fadeInRipple(e,i,w(w({},this.rippleConfig),r)):this._rippleRenderer.fadeInRipple(0,0,w(w({},this.rippleConfig),e))}static \u0275fac=function(i){return new(i||n)};static \u0275dir=P({type:n,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(i,r){i&2&&ce("mat-ripple-unbounded",r.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"]})}return n})(),tl=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=V({type:n});static \u0275inj=L({imports:[Me,Me]})}return n})(),uL=(()=>{class n{_animationMode=u(Je,{optional:!0});state="unchecked";disabled=!1;appearance="full";constructor(){}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=A({type:n,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(i,r){i&2&&ce("mat-pseudo-checkbox-indeterminate",r.state==="indeterminate")("mat-pseudo-checkbox-checked",r.state==="checked")("mat-pseudo-checkbox-disabled",r.disabled)("mat-pseudo-checkbox-minimal",r.appearance==="minimal")("mat-pseudo-checkbox-full",r.appearance==="full")("_mat-animation-noopable",r._animationMode==="NoopAnimations")},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(i,r){},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, var(--mat-sys-primary))}.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, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color, var(--mat-sys-on-surface-variant));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, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.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, var(--mat-sys-primary));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, var(--mat-sys-on-primary))}.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, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.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, var(--mat-sys-surface))}.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})}return n})(),fL=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=V({type:n});static \u0275inj=L({imports:[Me]})}return n})(),uv=new x("MAT_OPTION_PARENT_COMPONENT"),fv=new x("MatOptgroup");var dv=class{source;isUserInput;constructor(t,e=!1){this.source=t,this.isUserInput=e}},Lu=(()=>{class n{_element=u(H);_changeDetectorRef=u(Pe);_parent=u(uv,{optional:!0});group=u(fv,{optional:!0});_signalDisableRipple=!1;_selected=!1;_active=!1;_disabled=!1;_mostRecentViewValue="";get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}value;id=u($e).getId("mat-option-");get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(e){this._disabled=e}get disableRipple(){var e;return this._signalDisableRipple?this._parent.disableRipple():!!((e=this._parent)!=null&&e.disableRipple)}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}onSelectionChange=new $;_text;_stateChanges=new M;constructor(){u(dt).load(Vi),u(dt).load(Qa),this._signalDisableRipple=!!this._parent&&rr(this._parent.disableRipple)}get active(){return this._active}get viewValue(){var e;return(((e=this._text)==null?void 0:e.nativeElement.textContent)||"").trim()}select(e=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}deselect(e=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}focus(e,i){let r=this._getHostElement();typeof r.focus=="function"&&r.focus(i)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(e.keyCode===13||e.keyCode===32)&&!pt(e)&&(this._selectViaInteraction(),e.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 e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=e)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new dv(this,e))}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=A({type:n,selectors:[["mat-option"]],viewQuery:function(i,r){if(i&1&&Re(eL,7),i&2){let o;oe(o=se())&&(r._text=o.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(i,r){i&1&&B("click",function(){return r._selectViaInteraction()})("keydown",function(s){return r._handleKeydown(s)}),i&2&&(dn("id",r.id),ye("aria-selected",r.selected)("aria-disabled",r.disabled.toString()),ce("mdc-list-item--selected",r.selected)("mat-mdc-option-multiple",r.multiple)("mat-mdc-option-active",r.active)("mdc-list-item--disabled",r.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",q]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],features:[Oe],ngContentSelectors:nL,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-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(i,r){i&1&&(Ze(tL),F(0,iL,1,2,"mat-pseudo-checkbox",1),he(1),m(2,"span",2,0),he(4,1),p(),F(5,rL,1,1,"mat-pseudo-checkbox",3)(6,oL,2,1,"span",4),T(7,"div",5)),i&2&&(He(r.multiple?0:-1),y(5),He(!r.multiple&&r.selected&&!r.hideSingleSelectionIndicator?5:-1),y(),He(r.group&&r.group._inert?6:-1),y(),D("matRippleTrigger",r._getHostElement())("matRippleDisabled",r.disabled||r.disableRipple))},dependencies:[uL,el],styles:['.mat-mdc-option{-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;min-height:48px;padding:0 16px;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-option-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mat-option-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-option-label-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-option-label-text-tracking, var(--mat-sys-label-large-tracking));font-weight:var(--mat-option-label-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}.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, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent));outline:0}.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, var(--mat-sys-on-secondary-container))}.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, var(--mat-sys-secondary-container))}.mat-mdc-option .mat-pseudo-checkbox{--mat-minimal-pseudo-checkbox-selected-checkmark-color: var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.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}@media(forced-colors: active){.mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::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-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return n})();function xD(n,t,e){if(e.length){let i=t.toArray(),r=e.toArray(),o=0;for(let s=0;se+i?Math.max(0,n-i+t):e}var hv=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=V({type:n});static \u0275inj=L({imports:[tl,Me,fL]})}return n})(),_D={capture:!0},yD=["focus","mousedown","mouseenter","touchstart"],sv="mat-ripple-loader-uninitialized",av="mat-ripple-loader-class-name",bD="mat-ripple-loader-centered",Ru="mat-ripple-loader-disabled",DD=(()=>{class n{_document=u(J,{optional:!0});_animationMode=u(Je,{optional:!0});_globalRippleOptions=u(wD,{optional:!0});_platform=u(Te);_ngZone=u(R);_injector=u(_e);_hosts=new Map;constructor(){this._ngZone.runOutsideAngular(()=>{var e;for(let i of yD)(e=this._document)==null||e.addEventListener(i,this._onInteraction,_D)})}ngOnDestroy(){var i;let e=this._hosts.keys();for(let r of e)this.destroyRipple(r);for(let r of yD)(i=this._document)==null||i.removeEventListener(r,this._onInteraction,_D)}configureRipple(e,i){var r;e.setAttribute(sv,((r=this._globalRippleOptions)==null?void 0:r.namespace)??""),(i.className||!e.hasAttribute(av))&&e.setAttribute(av,i.className||""),i.centered&&e.setAttribute(bD,""),i.disabled&&e.setAttribute(Ru,"")}setDisabled(e,i){let r=this._hosts.get(e);r?(r.target.rippleDisabled=i,!i&&!r.hasSetUpEvents&&(r.hasSetUpEvents=!0,r.renderer.setupTriggerEvents(e))):i?e.setAttribute(Ru,""):e.removeAttribute(Ru)}_onInteraction=e=>{var r;let i=Zt(e);if(i instanceof HTMLElement){let o=i.closest(`[${sv}="${((r=this._globalRippleOptions)==null?void 0:r.namespace)??""}"]`);o&&this._createRipple(o)}};_createRipple(e){var f,g,h;if(!this._document||this._hosts.has(e))return;(f=e.querySelector(".mat-ripple"))==null||f.remove();let i=this._document.createElement("span");i.classList.add("mat-ripple",e.getAttribute(av)),e.append(i);let r=this._animationMode==="NoopAnimations",o=this._globalRippleOptions,s=r?0:((g=o==null?void 0:o.animation)==null?void 0:g.enterDuration)??Nu.enterDuration,a=r?0:((h=o==null?void 0:o.animation)==null?void 0:h.exitDuration)??Nu.exitDuration,l={rippleDisabled:r||(o==null?void 0:o.disabled)||e.hasAttribute(Ru),rippleConfig:{centered:e.hasAttribute(bD),terminateOnPointerUp:o==null?void 0:o.terminateOnPointerUp,animation:{enterDuration:s,exitDuration:a}}},c=new Pu(l,this._ngZone,i,this._platform,this._injector),d=!l.rippleDisabled;d&&c.setupTriggerEvents(e),this._hosts.set(e,{target:l,renderer:c,hasSetUpEvents:d}),e.removeAttribute(sv)}destroyRipple(e){let i=this._hosts.get(e);i&&(i.renderer._removeTriggerEvents(),this._hosts.delete(e))}static \u0275fac=function(i){return new(i||n)};static \u0275prov=C({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),ED=(()=>{class n{labelPosition;static \u0275fac=function(i){return new(i||n)};static \u0275cmp=A({type:n,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(i,r){i&2&&ce("mdc-form-field--align-end",r.labelPosition==="before")},inputs:{labelPosition:"labelPosition"},attrs:sL,ngContentSelectors:aL,decls:1,vars:0,template:function(i,r){i&1&&(Ze(),he(0))},styles:[".mat-internal-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-flex;align-items:center;vertical-align:middle}.mat-internal-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mat-internal-form-field>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px}.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 .mdc-form-field--align-end label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0}"],encapsulation:2,changeDetection:0})}return n})();var ue=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}(ue||{}),ci="*";function Fn(n,t){return{type:ue.Trigger,name:n,definitions:t,options:{}}}function vn(n,t=null){return{type:ue.Animate,styles:t,timings:n}}function ID(n,t=null){return{type:ue.Sequence,steps:n,options:t}}function rt(n){return{type:ue.Style,styles:n,offset:null}}function _n(n,t,e){return{type:ue.State,name:n,styles:t,options:e}}function Jt(n,t,e=null){return{type:ue.Transition,expr:n,animation:t,options:e}}function MD(n=null){return{type:ue.AnimateChild,options:n}}function SD(n,t,e=null){return{type:ue.Query,selector:n,animation:t,options:e}}var yr=class{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(t=0,e=0){this.totalTime=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){let e=t=="start"?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}},nl=class{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(t){this.players=t;let e=0,i=0,r=0,o=this.players.length;o==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++e==o&&this._onFinish()}),s.onDestroy(()=>{++i==o&&this._onDestroy()}),s.onStart(()=>{++r==o&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){let e=t*this.totalTime;this.players.forEach(i=>{let r=i.totalTime?Math.min(1,e/i.totalTime):1;i.setPosition(r)})}getPosition(){let t=this.players.reduce((e,i)=>e===null||i.totalTime>e.totalTime?i:e,null);return t!=null?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){let e=t=="start"?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}},Vu="!";function mL(n,t){}var Bu=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;width="";height="";minWidth;minHeight;maxWidth;maxHeight;position;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!0;autoFocus="first-tabbable";restoreFocus=!0;delayFocusTrap=!0;scrollStrategy;closeOnNavigation=!0;componentFactoryResolver;enterAnimationDuration;exitAnimationDuration},mv="mdc-dialog--open",TD="mdc-dialog--opening",AD="mdc-dialog--closing",pL=150,gL=75,vL=(()=>{class n extends rv{_animationMode=u(Je,{optional:!0});_animationStateChanged=new $;_animationsEnabled=this._animationMode!=="NoopAnimations";_actionSectionCount=0;_hostElement=this._elementRef.nativeElement;_enterAnimationDuration=this._animationsEnabled?OD(this._config.enterAnimationDuration)??pL:0;_exitAnimationDuration=this._animationsEnabled?OD(this._config.exitAnimationDuration)??gL:0;_animationTimer=null;_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(kD,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(TD,mv)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(mv),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(mv),this._animationsEnabled?(this._hostElement.style.setProperty(kD,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(AD)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(e){this._actionSectionCount+=e,this._changeDetectorRef.markForCheck()}_finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)};_finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})};_clearAnimationClasses(){this._hostElement.classList.remove(TD,AD)}_waitForAnimationToComplete(e,i){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(i,e)}_requestAnimationFrame(e){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(e):e()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer)}attachComponentPortal(e){let i=super.attachComponentPortal(e);return i.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),i}static \u0275fac=(()=>{let e;return function(r){return(e||(e=st(n)))(r||n)}})();static \u0275cmp=A({type:n,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(i,r){i&2&&(dn("id",r._config.id),ye("aria-modal",r._config.ariaModal)("role",r._config.role)("aria-labelledby",r._config.ariaLabel?null:r._ariaLabelledByQueue[0])("aria-label",r._config.ariaLabel)("aria-describedby",r._config.ariaDescribedBy||null),ce("_mat-animation-noopable",!r._animationsEnabled)("mat-mdc-dialog-container-with-actions",r._actionSectionCount>0))},features:[Ve],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,r){i&1&&(m(0,"div",0)(1,"div",1),F(2,mL,0,0,"ng-template",2),p()())},dependencies:[oo],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, 560px);min-width:var(--mat-dialog-container-min-width, 280px)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, calc(100vw - 32px))}}.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, none);border-radius:var(--mdc-dialog-container-shape, var(--mat-sys-corner-extra-large, 4px));background-color:var(--mdc-dialog-container-color, var(--mat-sys-surface, 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;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:var(--mat-dialog-headline-padding, 6px 24px 13px)}.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, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mdc-dialog-subhead-font, var(--mat-sys-headline-small-font, inherit));line-height:var(--mdc-dialog-subhead-line-height, var(--mat-sys-headline-small-line-height, 1.5rem));font-size:var(--mdc-dialog-subhead-size, var(--mat-sys-headline-small-size, 1rem));font-weight:var(--mdc-dialog-subhead-weight, var(--mat-sys-headline-small-weight, 400));letter-spacing:var(--mdc-dialog-subhead-tracking, var(--mat-sys-headline-small-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, var(--mat-sys-on-surface-variant, rgba(0, 0, 0, 0.6)));font-family:var(--mdc-dialog-supporting-text-font, var(--mat-sys-body-medium-font, inherit));line-height:var(--mdc-dialog-supporting-text-line-height, var(--mat-sys-body-medium-line-height, 1.5rem));font-size:var(--mdc-dialog-supporting-text-size, var(--mat-sys-body-medium-size, 1rem));font-weight:var(--mdc-dialog-supporting-text-weight, var(--mat-sys-body-medium-weight, 400));letter-spacing:var(--mdc-dialog-supporting-text-tracking, var(--mat-sys-body-medium-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 0)}.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, 16px 24px);justify-content:var(--mat-dialog-actions-alignment, flex-end)}@media(forced-colors: 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})}return n})(),kD="--mat-dialog-transition-duration";function OD(n){return n==null?null:typeof n=="number"?n:n.endsWith("ms")?cr(n.substring(0,n.length-2)):n.endsWith("s")?cr(n.substring(0,n.length-1))*1e3:n==="0"?0:null}var ju=function(n){return n[n.OPEN=0]="OPEN",n[n.CLOSING=1]="CLOSING",n[n.CLOSED=2]="CLOSED",n}(ju||{}),lo=class{_ref;_containerInstance;componentInstance;componentRef;disableClose;id;_afterOpened=new M;_beforeClosed=new M;_result;_closeFallbackTimeout;_state=ju.OPEN;_closeInteractionType;constructor(t,e,i){this._ref=t,this._containerInstance=i,this.disableClose=e.disableClose,this.id=t.id,t.addPanelClass("mat-mdc-dialog-panel"),i._animationStateChanged.pipe(ne(r=>r.state==="opened"),Be(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),i._animationStateChanged.pipe(ne(r=>r.state==="closed"),Be(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),t.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),bt(this.backdropClick(),this.keydownEvents().pipe(ne(r=>r.keyCode===27&&!this.disableClose&&!pt(r)))).subscribe(r=>{this.disableClose||(r.preventDefault(),RD(this,r.type==="keydown"?"keyboard":"mouse"))})}close(t){this._result=t,this._containerInstance._animationStateChanged.pipe(ne(e=>e.state==="closing"),Be(1)).subscribe(e=>{this._beforeClosed.next(t),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._state=ju.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(t){let e=this._ref.config.positionStrategy;return t&&(t.left||t.right)?t.left?e.left(t.left):e.right(t.right):e.centerHorizontally(),t&&(t.top||t.bottom)?t.top?e.top(t.top):e.bottom(t.bottom):e.centerVertically(),this._ref.updatePosition(),this}updateSize(t="",e=""){return this._ref.updateSize(t,e),this}addPanelClass(t){return this._ref.addPanelClass(t),this}removePanelClass(t){return this._ref.removePanelClass(t),this}getState(){return this._state}_finishDialogClose(){this._state=ju.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};function RD(n,t,e){return n._closeInteractionType=t,n.close(e)}var il=new x("MatMdcDialogData"),_L=new x("mat-mdc-dialog-default-options"),yL=new x("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let n=u(it);return()=>n.scrollStrategies.block()}});var rl=(()=>{class n{_overlay=u(it);_defaultOptions=u(_L,{optional:!0});_scrollStrategy=u(yL);_parentDialog=u(n,{optional:!0,skipSelf:!0});_idGenerator=u($e);_dialog=u(ov);_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new M;_afterOpenedAtThisLevel=new M;dialogConfigClass=Bu;_dialogRefConstructor;_dialogContainerType;_dialogDataToken;get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}afterAllClosed=Un(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Ke(void 0)));constructor(){this._dialogRefConstructor=lo,this._dialogContainerType=vL,this._dialogDataToken=il}open(e,i){let r;i=w(w({},this._defaultOptions||new Bu),i),i.id=i.id||this._idGenerator.getId("mat-mdc-dialog-"),i.scrollStrategy=i.scrollStrategy||this._scrollStrategy();let o=this._dialog.open(e,te(w({},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:gr,useValue:i}]},templateContext:()=>({dialogRef:r}),providers:(s,a,l)=>(r=new this._dialogRefConstructor(s,i,l),r.updatePosition(i==null?void 0:i.position),[{provide:this._dialogContainerType,useValue:l},{provide:this._dialogDataToken,useValue:a.data},{provide:this._dialogRefConstructor,useValue:r}])}));return r.componentRef=o.componentRef,r.componentInstance=o.componentInstance,this.openDialogs.push(r),this.afterOpened.next(r),r.afterClosed().subscribe(()=>{let s=this.openDialogs.indexOf(r);s>-1&&(this.openDialogs.splice(s,1),this.openDialogs.length||this._getAfterAllClosed().next())}),r}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(e){let i=e.length;for(;i--;)e[i].close()}static \u0275fac=function(i){return new(i||n)};static \u0275prov=C({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),zu=(()=>{class n{dialogRef=u(lo,{optional:!0});_elementRef=u(H);_dialog=u(rl);ariaLabel;type="button";dialogResult;_matDialogClose;constructor(){}ngOnInit(){this.dialogRef||(this.dialogRef=PD(this._elementRef,this._dialog.openDialogs))}ngOnChanges(e){let i=e._matDialogClose||e._matDialogCloseResult;i&&(this.dialogResult=i.currentValue)}_onButtonClick(e){RD(this.dialogRef,e.screenX===0&&e.screenY===0?"keyboard":"mouse",this.dialogResult)}static \u0275fac=function(i){return new(i||n)};static \u0275dir=P({type:n,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(i,r){i&1&&B("click",function(s){return r._onButtonClick(s)}),i&2&&ye("aria-label",r.ariaLabel||null)("type",r.type)},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],type:"type",dialogResult:[0,"mat-dialog-close","dialogResult"],_matDialogClose:[0,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[qe]})}return n})(),ND=(()=>{class n{_dialogRef=u(lo,{optional:!0});_elementRef=u(H);_dialog=u(rl);constructor(){}ngOnInit(){this._dialogRef||(this._dialogRef=PD(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()})}static \u0275fac=function(i){return new(i||n)};static \u0275dir=P({type:n})}return n})(),Uu=(()=>{class n extends ND{id=u($e).getId("mat-mdc-dialog-title-");_onAdd(){var e,i;(i=(e=this._dialogRef._containerInstance)==null?void 0:e._addAriaLabelledBy)==null||i.call(e,this.id)}_onRemove(){var e,i,r;(r=(i=(e=this._dialogRef)==null?void 0:e._containerInstance)==null?void 0:i._removeAriaLabelledBy)==null||r.call(i,this.id)}static \u0275fac=(()=>{let e;return function(r){return(e||(e=st(n)))(r||n)}})();static \u0275dir=P({type:n,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(i,r){i&2&&dn("id",r.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],features:[Ve]})}return n})(),Hu=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275dir=P({type:n,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],features:[Aw([Fg])]})}return n})(),$u=(()=>{class n extends ND{align;_onAdd(){var e,i;(i=(e=this._dialogRef._containerInstance)==null?void 0:e._updateActionSectionCount)==null||i.call(e,1)}_onRemove(){var e,i;(i=(e=this._dialogRef._containerInstance)==null?void 0:e._updateActionSectionCount)==null||i.call(e,-1)}static \u0275fac=(()=>{let e;return function(r){return(e||(e=st(n)))(r||n)}})();static \u0275dir=P({type:n,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(i,r){i&2&&ce("mat-mdc-dialog-actions-align-start",r.align==="start")("mat-mdc-dialog-actions-align-center",r.align==="center")("mat-mdc-dialog-actions-align-end",r.align==="end")},inputs:{align:"align"},features:[Ve]})}return n})();function PD(n,t){let e=n.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-mdc-dialog-container");)e=e.parentElement;return e?t.find(i=>i.id===e.id):null}var FD=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=V({type:n});static \u0275inj=L({providers:[rl],imports:[hD,li,Fi,Me,Me]})}return n})();var LD=["mat-button",""],VD=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],jD=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],bL='.mat-mdc-button-base{text-decoration:none}.mdc-button{-webkit-user-select:none;user-select:none;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;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.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__label{position:relative}.mat-mdc-button{padding:0 var(--mat-text-button-horizontal-padding, 12px);height:var(--mdc-text-button-container-height, 40px);font-family:var(--mdc-text-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-text-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-text-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-text-button-label-text-transform);font-weight:var(--mdc-text-button-label-text-weight, var(--mat-sys-label-large-weight))}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, var(--mat-sys-primary))}.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, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 16px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);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, -4px);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, -4px)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity, var(--mat-sys-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, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity, var(--mat-sys-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, block)}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-filled-button-container-height, 40px);font-family:var(--mdc-filled-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-filled-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-filled-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-filled-button-label-text-transform);font-weight:var(--mdc-filled-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-filled-button-horizontal-padding, 24px)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);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, -8px);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, -8px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color, var(--mat-sys-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity, var(--mat-sys-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, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity, var(--mat-sys-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, block)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, var(--mat-sys-on-primary));background-color:var(--mdc-filled-button-container-color, var(--mat-sys-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mat-sys-corner-full))}.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, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-filled-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);box-shadow:var(--mdc-protected-button-container-elevation-shadow, var(--mat-sys-level1));height:var(--mdc-protected-button-container-height, 40px);font-family:var(--mdc-protected-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-protected-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-protected-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-protected-button-label-text-transform);font-weight:var(--mdc-protected-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-protected-button-horizontal-padding, 24px)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);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, -8px);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, -8px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity, var(--mat-sys-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, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity, var(--mat-sys-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, block)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, var(--mat-sys-primary));background-color:var(--mdc-protected-button-container-color, var(--mat-sys-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow, var(--mat-sys-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow, var(--mat-sys-level1))}.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, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-protected-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.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, var(--mat-sys-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-outlined-button-container-height, 40px);font-family:var(--mdc-outlined-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-outlined-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-outlined-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-outlined-button-label-text-transform);font-weight:var(--mdc-outlined-button-label-text-weight, var(--mat-sys-label-large-weight));border-radius:var(--mdc-outlined-button-container-shape, var(--mat-sys-corner-full));border-width:var(--mdc-outlined-button-outline-width, 1px);padding:0 var(--mat-outlined-button-horizontal-padding, 24px)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);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, -8px);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, -8px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity, var(--mat-sys-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, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity, var(--mat-sys-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, block)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, var(--mat-sys-primary));border-color:var(--mdc-outlined-button-outline-color, var(--mat-sys-outline))}.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, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:var(--mdc-outlined-button-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button .mdc-button__ripple{border-width:var(--mdc-outlined-button-outline-width, 1px);border-style:solid;border-color:rgba(0,0,0,0)}.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-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-focus-indicator,.mat-mdc-unelevated-button .mat-focus-indicator,.mat-mdc-raised-button .mat-focus-indicator,.mat-mdc-outlined-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-focus-indicator::before,.mat-mdc-raised-button:focus .mat-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-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}.mat-mdc-unelevated-button .mat-focus-indicator::before,.mat-mdc-raised-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}',BD="@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-icon-button.mat-mdc-icon-button{outline:solid 1px}}";var wL=["mat-icon-button",""],xL=["*"];var CL=new x("MAT_BUTTON_CONFIG");var DL=[{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-base","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],gv=(()=>{class n{_elementRef=u(H);_platform=u(Te);_ngZone=u(R);_animationMode=u(Je,{optional:!0});_focusMonitor=u(Pn);_rippleLoader=u(DD);_isFab=!1;color;get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=e,this._updateRippleDisabled()}_disableRipple=!1;get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._updateRippleDisabled()}_disabled=!1;ariaDisabled;disabledInteractive;constructor(){var o;u(dt).load(Vi);let e=u(CL,{optional:!0}),i=this._elementRef.nativeElement,r=i.classList;this.disabledInteractive=(e==null?void 0:e.disabledInteractive)??!1,this.color=(e==null?void 0:e.color)??null,(o=this._rippleLoader)==null||o.configureRipple(i,{className:"mat-mdc-button-ripple"});for(let{attribute:s,mdcClasses:a}of DL)i.hasAttribute(s)&&r.add(...a)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){var e;this._focusMonitor.stopMonitoring(this._elementRef),(e=this._rippleLoader)==null||e.destroyRipple(this._elementRef.nativeElement)}focus(e="program",i){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,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 e;(e=this._rippleLoader)==null||e.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static \u0275fac=function(i){return new(i||n)};static \u0275dir=P({type:n,inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",q],disabled:[2,"disabled","disabled",q],ariaDisabled:[2,"aria-disabled","ariaDisabled",q],disabledInteractive:[2,"disabledInteractive","disabledInteractive",q]},features:[Oe]})}return n})();var EL=(()=>{class n extends gv{tabIndex;ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}_haltDisabledEvents=e=>{this.disabled&&(e.preventDefault(),e.stopImmediatePropagation())};_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled||null}static \u0275fac=(()=>{let e;return function(r){return(e||(e=st(n)))(r||n)}})();static \u0275dir=P({type:n,inputs:{tabIndex:[2,"tabIndex","tabIndex",e=>e==null?void 0:ii(e)]},features:[Oe,Ve]})}return n})(),di=(()=>{class n extends gv{static \u0275fac=(()=>{let e;return function(r){return(e||(e=st(n)))(r||n)}})();static \u0275cmp=A({type:n,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(i,r){i&2&&(ye("disabled",r._getDisabledAttribute())("aria-disabled",r._getAriaDisabled()),$t(r.color?"mat-"+r.color:""),ce("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("_mat-animation-noopable",r._animationMode==="NoopAnimations")("mat-unthemed",!r.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[Ve],attrs:LD,ngContentSelectors:jD,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,r){i&1&&(Ze(VD),T(0,"span",0),he(1),m(2,"span",1),he(3,1),p(),he(4,2),T(5,"span",2)(6,"span",3)),i&2&&ce("mdc-button__ripple",!r._isFab)("mdc-fab__ripple",r._isFab)},styles:['.mat-mdc-button-base{text-decoration:none}.mdc-button{-webkit-user-select:none;user-select:none;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;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.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__label{position:relative}.mat-mdc-button{padding:0 var(--mat-text-button-horizontal-padding, 12px);height:var(--mdc-text-button-container-height, 40px);font-family:var(--mdc-text-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-text-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-text-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-text-button-label-text-transform);font-weight:var(--mdc-text-button-label-text-weight, var(--mat-sys-label-large-weight))}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, var(--mat-sys-primary))}.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, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 16px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);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, -4px);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, -4px)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity, var(--mat-sys-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, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity, var(--mat-sys-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, block)}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-filled-button-container-height, 40px);font-family:var(--mdc-filled-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-filled-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-filled-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-filled-button-label-text-transform);font-weight:var(--mdc-filled-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-filled-button-horizontal-padding, 24px)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);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, -8px);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, -8px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color, var(--mat-sys-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity, var(--mat-sys-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, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity, var(--mat-sys-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, block)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, var(--mat-sys-on-primary));background-color:var(--mdc-filled-button-container-color, var(--mat-sys-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mat-sys-corner-full))}.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, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-filled-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);box-shadow:var(--mdc-protected-button-container-elevation-shadow, var(--mat-sys-level1));height:var(--mdc-protected-button-container-height, 40px);font-family:var(--mdc-protected-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-protected-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-protected-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-protected-button-label-text-transform);font-weight:var(--mdc-protected-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-protected-button-horizontal-padding, 24px)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);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, -8px);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, -8px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity, var(--mat-sys-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, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity, var(--mat-sys-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, block)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, var(--mat-sys-primary));background-color:var(--mdc-protected-button-container-color, var(--mat-sys-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow, var(--mat-sys-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow, var(--mat-sys-level1))}.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, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-protected-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.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, var(--mat-sys-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-outlined-button-container-height, 40px);font-family:var(--mdc-outlined-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-outlined-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-outlined-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-outlined-button-label-text-transform);font-weight:var(--mdc-outlined-button-label-text-weight, var(--mat-sys-label-large-weight));border-radius:var(--mdc-outlined-button-container-shape, var(--mat-sys-corner-full));border-width:var(--mdc-outlined-button-outline-width, 1px);padding:0 var(--mat-outlined-button-horizontal-padding, 24px)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);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, -8px);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, -8px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity, var(--mat-sys-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, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity, var(--mat-sys-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, block)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, var(--mat-sys-primary));border-color:var(--mdc-outlined-button-outline-color, var(--mat-sys-outline))}.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, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:var(--mdc-outlined-button-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button .mdc-button__ripple{border-width:var(--mdc-outlined-button-outline-width, 1px);border-style:solid;border-color:rgba(0,0,0,0)}.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-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-focus-indicator,.mat-mdc-unelevated-button .mat-focus-indicator,.mat-mdc-raised-button .mat-focus-indicator,.mat-mdc-outlined-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-focus-indicator::before,.mat-mdc-raised-button:focus .mat-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-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}.mat-mdc-unelevated-button .mat-focus-indicator::before,.mat-mdc-raised-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}',"@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-icon-button.mat-mdc-icon-button{outline:solid 1px}}"],encapsulation:2,changeDetection:0})}return n})(),zD=(()=>{class n extends EL{static \u0275fac=(()=>{let e;return function(r){return(e||(e=st(n)))(r||n)}})();static \u0275cmp=A({type:n,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:15,hostBindings:function(i,r){i&2&&(ye("disabled",r._getDisabledAttribute())("tabindex",r.disabled&&!r.disabledInteractive?-1:r.tabIndex)("aria-disabled",r._getAriaDisabled()),$t(r.color?"mat-"+r.color:""),ce("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("_mat-animation-noopable",r._animationMode==="NoopAnimations")("mat-unthemed",!r.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],features:[Ve],attrs:LD,ngContentSelectors:jD,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,r){i&1&&(Ze(VD),T(0,"span",0),he(1),m(2,"span",1),he(3,1),p(),he(4,2),T(5,"span",2)(6,"span",3)),i&2&&ce("mdc-button__ripple",!r._isFab)("mdc-fab__ripple",r._isFab)},styles:[bL,BD],encapsulation:2,changeDetection:0})}return n})();var UD=(()=>{class n extends gv{constructor(){super(),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=A({type:n,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(i,r){i&2&&(ye("disabled",r._getDisabledAttribute())("aria-disabled",r._getAriaDisabled()),$t(r.color?"mat-"+r.color:""),ce("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("_mat-animation-noopable",r._animationMode==="NoopAnimations")("mat-unthemed",!r.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[Ve],attrs:wL,ngContentSelectors:xL,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,r){i&1&&(Ze(),T(0,"span",0),he(1),T(2,"span",1)(3,"span",2))},styles:['.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;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;z-index:0;overflow:visible;border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 40px);height:var(--mdc-icon-button-state-layer-size, 40px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 40px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size, 24px);color:var(--mdc-icon-button-icon-color, var(--mat-sys-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.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,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface-variant) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-sys-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, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-sys-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, block)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.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, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mdc-icon-button-icon-size, 24px);height:var(--mdc-icon-button-icon-size, 24px);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button[hidden]{display:none}.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}',BD],encapsulation:2,changeDetection:0})}return n})();var HD=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=V({type:n});static \u0275inj=L({imports:[Me,tl,Me]})}return n})();var Ue=(()=>{let t=class t{constructor(i){this.el=i}ngOnInit(){this.el.nativeElement.innerHTML=django.gettext(this.el.nativeElement.innerHTML.trim())}};t.\u0275fac=function(r){return new(r||t)(S(H))},t.\u0275dir=P({type:t,selectors:[["uds-translate"]],standalone:!1});let n=t;return n})();var br=(()=>{let t=class t{constructor(i){this.sanitizer=i}transform(i,r){return i=i.replace(/<\s*script\s*/gi,""),i=i.replace(/(on|(on\w+\s*))=\s*['"]?[^'"]*['"]?/gi,""),i=i.replace(/javascript\s*\:/gi,""),this.sanitizer.bypassSecurityTrustHtml(i)}};t.\u0275fac=function(r){return new(r||t)(S(Wp,16))},t.\u0275pipe=cp({name:"safeHtml",type:t,pure:!0,standalone:!1});let n=t;return n})();function IL(n,t){if(n&1){let e=xe();m(0,"button",3),B("click",function(){ie(e);let r=N();return re(r.resolveAndClose(!1))}),m(1,"uds-translate"),b(2,"Close"),p(),b(3),p()}if(n&2){let e=N();y(3),ct(e.extra)}}function ML(n,t){if(n&1){let e=xe();m(0,"button",3),B("click",function(){ie(e);let r=N();return re(r.resolveAndClose(!0))}),m(1,"uds-translate"),b(2,"Yes"),p()()}}function SL(n,t){if(n&1){let e=xe();m(0,"button",3),B("click",function(){ie(e);let r=N();return re(r.resolveAndClose(!1))}),m(1,"uds-translate"),b(2,"No"),p()()}}var ol=function(n){return n[n.alert=0]="alert",n[n.yesno=1]="yesno",n[n.credentials=2]="credentials",n}(ol||{}),vv=(()=>{let t=class t{constructor(i,r){this.dialogRef=i,this.data=r,this.extra="",this.yesno=new Wa}resolveAndClose(i){this.yesno.resolve(i),this.close()}close(){this.dialogRef.close()}setExtra(i){this.extra=" ("+Math.floor(i/1e3)+" "+django.gettext("seconds")+") "}initAlert(){return Se(this,null,function*(){let i=this.data.autoclose||0;i>0&&(this.dialogRef.afterClosed().subscribe(r=>{this.close()}),this.setExtra(i),sh(1e3).subscribe(r=>{let o=i-(r+1)*1e3;this.setExtra(o),o<=0&&this.close()}))})}ngOnInit(){this.data.type===ol.alert&&this.initAlert()}};t.\u0275fac=function(r){return new(r||t)(S(lo),S(il))},t.\u0275cmp=A({type:t,selectors:[["uds-modal"]],standalone:!1,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(r,o){r&1&&(T(0,"h4",0),ti(1,"safeHtml"),T(2,"mat-dialog-content",1),ti(3,"safeHtml"),m(4,"mat-dialog-actions"),F(5,IL,4,1,"button",2)(6,ML,3,0,"button",2)(7,SL,3,0,"button",2),p()),r&2&&(D("innerHtml",ni(1,5,o.data.title),ei),y(2),D("innerHTML",ni(3,7,o.data.body),ei),y(3),D("ngIf",o.data.type===0),y(),D("ngIf",o.data.type===1),y(),D("ngIf",o.data.type===1))},dependencies:[At,di,zu,Uu,$u,Hu,Ue,br],styles:[".uds-modal-footer[_ngcontent-%COMP%]{display:flex;justify-content:left}.mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}"]});let n=t;return n})();var KD=(()=>{class n{_renderer;_elementRef;onChange=e=>{};onTouched=()=>{};constructor(e,i){this._renderer=e,this._elementRef=i}setProperty(e,i){this._renderer.setProperty(this._elementRef.nativeElement,e,i)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}static \u0275fac=function(i){return new(i||n)(S(ir),S(H))};static \u0275dir=P({type:n})}return n})(),TL=(()=>{class n extends KD{static \u0275fac=(()=>{let e;return function(r){return(e||(e=st(n)))(r||n)}})();static \u0275dir=P({type:n,features:[Ve]})}return n})(),nf=new x("");var AL={provide:nf,useExisting:Kn(()=>rf),multi:!0};function kL(){let n=ri()?ri().getUserAgent():"";return/android (\d+)/.test(n.toLowerCase())}var OL=new x(""),rf=(()=>{class n extends KD{_compositionMode;_composing=!1;constructor(e,i,r){super(e,i),this._compositionMode=r,this._compositionMode==null&&(this._compositionMode=!kL())}writeValue(e){let i=e??"";this.setProperty("value",i)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}static \u0275fac=function(i){return new(i||n)(S(ir),S(H),S(OL,8))};static \u0275dir=P({type:n,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,r){i&1&&B("input",function(s){return r._handleInput(s.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(s){return r._compositionEnd(s.target.value)})},standalone:!1,features:[ze([AL]),Ve]})}return n})();function wr(n){return n==null||(typeof n=="string"||Array.isArray(n))&&n.length===0}function XD(n){return n!=null&&typeof n.length=="number"}var ul=new x(""),wv=new x(""),RL=/^(?=.{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])?)*$/,Ss=class{static min(t){return NL(t)}static max(t){return PL(t)}static required(t){return FL(t)}static requiredTrue(t){return LL(t)}static email(t){return VL(t)}static minLength(t){return jL(t)}static maxLength(t){return BL(t)}static pattern(t){return zL(t)}static nullValidator(t){return JD(t)}static compose(t){return oE(t)}static composeAsync(t){return sE(t)}};function NL(n){return t=>{if(wr(t.value)||wr(n))return null;let e=parseFloat(t.value);return!isNaN(e)&&e{if(wr(t.value)||wr(n))return null;let e=parseFloat(t.value);return!isNaN(e)&&e>n?{max:{max:n,actual:t.value}}:null}}function FL(n){return wr(n.value)?{required:!0}:null}function LL(n){return n.value===!0?null:{required:!0}}function VL(n){return wr(n.value)||RL.test(n.value)?null:{email:!0}}function jL(n){return t=>wr(t.value)||!XD(t.value)?null:t.value.lengthXD(t.value)&&t.value.length>n?{maxlength:{requiredLength:n,actualLength:t.value.length}}:null}function zL(n){if(!n)return JD;let t,e;return typeof n=="string"?(e="",n.charAt(0)!=="^"&&(e+="^"),e+=n,n.charAt(n.length-1)!=="$"&&(e+="$"),t=new RegExp(e)):(e=n.toString(),t=n),i=>{if(wr(i.value))return null;let r=i.value;return t.test(r)?null:{pattern:{requiredPattern:e,actualValue:r}}}}function JD(n){return null}function eE(n){return n!=null}function tE(n){return Jr(n)?Fe(n):n}function nE(n){let t={};return n.forEach(e=>{t=e!=null?w(w({},t),e):t}),Object.keys(t).length===0?null:t}function iE(n,t){return t.map(e=>e(n))}function UL(n){return!n.validate}function rE(n){return n.map(t=>UL(t)?t:e=>t.validate(e))}function oE(n){if(!n)return null;let t=n.filter(eE);return t.length==0?null:function(e){return nE(iE(e,t))}}function xv(n){return n!=null?oE(rE(n)):null}function sE(n){if(!n)return null;let t=n.filter(eE);return t.length==0?null:function(e){let i=iE(e,t).map(tE);return oh(i).pipe(Y(nE))}}function Cv(n){return n!=null?sE(rE(n)):null}function $D(n,t){return n===null?[t]:Array.isArray(n)?[...n,t]:[n,t]}function aE(n){return n._rawValidators}function lE(n){return n._rawAsyncValidators}function _v(n){return n?Array.isArray(n)?n:[n]:[]}function qu(n,t){return Array.isArray(n)?n.includes(t):n===t}function GD(n,t){let e=_v(t);return _v(n).forEach(r=>{qu(e,r)||e.push(r)}),e}function WD(n,t){return _v(t).filter(e=>!qu(n,e))}var Yu=class{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}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=xv(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=Cv(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t=void 0){this.control&&this.control.reset(t)}hasError(t,e){return this.control?this.control.hasError(t,e):!1}getError(t,e){return this.control?this.control.getError(t,e):null}},xr=class extends Yu{name;get formDirective(){return null}get path(){return null}},ji=class extends Yu{_parent=null;name=null;valueAccessor=null},Qu=class{_cd;constructor(t){this._cd=t}get isTouched(){var t,e,i,r,o;return(i=(e=(t=this._cd)==null?void 0:t.control)==null?void 0:e._touched)==null||i.call(e),!!((o=(r=this._cd)==null?void 0:r.control)!=null&&o.touched)}get isUntouched(){var t,e;return!!((e=(t=this._cd)==null?void 0:t.control)!=null&&e.untouched)}get isPristine(){var t,e,i,r,o;return(i=(e=(t=this._cd)==null?void 0:t.control)==null?void 0:e._pristine)==null||i.call(e),!!((o=(r=this._cd)==null?void 0:r.control)!=null&&o.pristine)}get isDirty(){var t,e;return!!((e=(t=this._cd)==null?void 0:t.control)!=null&&e.dirty)}get isValid(){var t,e,i,r,o;return(i=(e=(t=this._cd)==null?void 0:t.control)==null?void 0:e._status)==null||i.call(e),!!((o=(r=this._cd)==null?void 0:r.control)!=null&&o.valid)}get isInvalid(){var t,e;return!!((e=(t=this._cd)==null?void 0:t.control)!=null&&e.invalid)}get isPending(){var t,e;return!!((e=(t=this._cd)==null?void 0:t.control)!=null&&e.pending)}get isSubmitted(){var t,e,i;return(e=(t=this._cd)==null?void 0:t._submitted)==null||e.call(t),!!((i=this._cd)!=null&&i.submitted)}},HL={"[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"},c7=te(w({},HL),{"[class.ng-submitted]":"isSubmitted"}),cE=(()=>{class n extends Qu{constructor(e){super(e)}static \u0275fac=function(i){return new(i||n)(S(ji,2))};static \u0275dir=P({type:n,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,r){i&2&&ce("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},standalone:!1,features:[Ve]})}return n})(),Ts=(()=>{class n extends Qu{constructor(e){super(e)}static \u0275fac=function(i){return new(i||n)(S(xr,10))};static \u0275dir=P({type:n,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,r){i&2&&ce("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)("ng-submitted",r.isSubmitted)},standalone:!1,features:[Ve]})}return n})();var sl="VALID",Wu="INVALID",Is="PENDING",al="DISABLED",Cr=class{},Zu=class extends Cr{value;source;constructor(t,e){super(),this.value=t,this.source=e}},cl=class extends Cr{pristine;source;constructor(t,e){super(),this.pristine=t,this.source=e}},dl=class extends Cr{touched;source;constructor(t,e){super(),this.touched=t,this.source=e}},Ms=class extends Cr{status;source;constructor(t,e){super(),this.status=t,this.source=e}},yv=class extends Cr{source;constructor(t){super(),this.source=t}},bv=class extends Cr{source;constructor(t){super(),this.source=t}};function dE(n){return(of(n)?n.validators:n)||null}function $L(n){return Array.isArray(n)?xv(n):n||null}function uE(n,t){return(of(t)?t.asyncValidators:n)||null}function GL(n){return Array.isArray(n)?Cv(n):n||null}function of(n){return n!=null&&!Array.isArray(n)&&typeof n=="object"}function WL(n,t,e){let i=n.controls;if(!(t?Object.keys(i):i).length)throw new E(1e3,"");if(!i[e])throw new E(1001,"")}function qL(n,t,e){n._forEachChild((i,r)=>{if(e[r]===void 0)throw new E(1002,"")})}var Ku=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(t,e){this._assignValidators(t),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get status(){return un(this.statusReactive)}set status(t){un(()=>this.statusReactive.set(t))}_status=Si(()=>this.statusReactive());statusReactive=Mi(void 0);get valid(){return this.status===sl}get invalid(){return this.status===Wu}get pending(){return this.status==Is}get disabled(){return this.status===al}get enabled(){return this.status!==al}errors;get pristine(){return un(this.pristineReactive)}set pristine(t){un(()=>this.pristineReactive.set(t))}_pristine=Si(()=>this.pristineReactive());pristineReactive=Mi(!0);get dirty(){return!this.pristine}get touched(){return un(this.touchedReactive)}set touched(t){un(()=>this.touchedReactive.set(t))}_touched=Si(()=>this.touchedReactive());touchedReactive=Mi(!1);get untouched(){return!this.touched}_events=new M;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(GD(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(GD(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(WD(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(WD(t,this._rawAsyncValidators))}hasValidator(t){return qu(this._rawValidators,t)}hasAsyncValidator(t){return qu(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){let e=this.touched===!1;this.touched=!0;let i=t.sourceControl??this;this._parent&&!t.onlySelf&&this._parent.markAsTouched(te(w({},t),{sourceControl:i})),e&&t.emitEvent!==!1&&this._events.next(new dl(!0,i))}markAllAsTouched(t={}){this.markAsTouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsTouched(t))}markAsUntouched(t={}){let e=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let i=t.sourceControl??this;this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:i})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,i),e&&t.emitEvent!==!1&&this._events.next(new dl(!1,i))}markAsDirty(t={}){let e=this.pristine===!0;this.pristine=!1;let i=t.sourceControl??this;this._parent&&!t.onlySelf&&this._parent.markAsDirty(te(w({},t),{sourceControl:i})),e&&t.emitEvent!==!1&&this._events.next(new cl(!1,i))}markAsPristine(t={}){let e=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let i=t.sourceControl??this;this._forEachChild(r=>{r.markAsPristine({onlySelf:!0,emitEvent:t.emitEvent})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t,i),e&&t.emitEvent!==!1&&this._events.next(new cl(!0,i))}markAsPending(t={}){this.status=Is;let e=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new Ms(this.status,e)),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.markAsPending(te(w({},t),{sourceControl:e}))}disable(t={}){let e=this._parentMarkedDirty(t.onlySelf);this.status=al,this.errors=null,this._forEachChild(r=>{r.disable(te(w({},t),{onlySelf:!0}))}),this._updateValue();let i=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new Zu(this.value,i)),this._events.next(new Ms(this.status,i)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(te(w({},t),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(r=>r(!0))}enable(t={}){let e=this._parentMarkedDirty(t.onlySelf);this.status=sl,this._forEachChild(i=>{i.enable(te(w({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(te(w({},t),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(t,e){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine({},e),this._parent._updateTouched({},e))}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let i=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===sl||this.status===Is)&&this._runAsyncValidator(i,t.emitEvent)}let e=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new Zu(this.value,e)),this._events.next(new Ms(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(te(w({},t),{sourceControl:e}))}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?al:sl}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t,e){if(this.asyncValidator){this.status=Is,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1};let i=tE(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(r=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(r,{emitEvent:e,shouldHaveEmitted:t})})}}_cancelExistingSubscription(){var t;if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let e=((t=this._hasOwnPendingAsyncValidator)==null?void 0:t.emitEvent)??!1;return this._hasOwnPendingAsyncValidator=null,e}return!1}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(e.emitEvent!==!1,this,e.shouldHaveEmitted)}get(t){let e=t;return e==null||(Array.isArray(e)||(e=e.split(".")),e.length===0)?null:e.reduce((i,r)=>i&&i._find(r),this)}getError(t,e){let i=e?this.get(e):this;return i&&i.errors?i.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t,e,i){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),(t||i)&&this._events.next(new Ms(this.status,e)),this._parent&&this._parent._updateControlsErrors(t,e,i)}_initObservables(){this.valueChanges=new $,this.statusChanges=new $}_calculateStatus(){return this._allControlsDisabled()?al:this.errors?Wu:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Is)?Is:this._anyControlsHaveStatus(Wu)?Wu:sl}_anyControlsHaveStatus(t){return this._anyControls(e=>e.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t,e){let i=!this._anyControlsDirty(),r=this.pristine!==i;this.pristine=i,this._parent&&!t.onlySelf&&this._parent._updatePristine(t,e),r&&this._events.next(new cl(this.pristine,e))}_updateTouched(t={},e){this.touched=this._anyControlsTouched(),this._events.next(new dl(this.touched,e)),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,e)}_onDisabledChange=[];_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){of(t)&&t.updateOn!=null&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){let e=this._parent&&this._parent.dirty;return!t&&!!e&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=$L(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=GL(this._rawAsyncValidators)}},Xu=class extends Ku{constructor(t,e,i){super(dE(e),uE(i,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e,i={}){this.registerControl(t,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(t,e,i={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){qL(this,!0,t),Object.keys(t).forEach(i=>{WL(this,!0,i),this.controls[i].setValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){t!=null&&(Object.keys(t).forEach(i=>{let r=this.controls[i];r&&r.patchValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t={},e={}){this._forEachChild((i,r)=>{i.reset(t?t[r]:null,{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,i)=>(t[i]=e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(e,i)=>i._syncPendingControls()?!0:e);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(e=>{let i=this.controls[e];i&&t(i,e)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(let[e,i]of Object.entries(this.controls))if(this.contains(e)&&t(i))return!0;return!1}_reduceValue(){let t={};return this._reduceChildren(t,(e,i,r)=>((i.enabled||this.disabled)&&(e[r]=i.value),e))}_reduceChildren(t,e){let i=t;return this._forEachChild((r,o)=>{i=e(i,r,o)}),i}_allControlsDisabled(){for(let t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}};var sf=new x("CallSetDisabledState",{providedIn:"root",factory:()=>Dv}),Dv="always";function YL(n,t){return[...t.path,n]}function Ju(n,t,e=Dv){var i,r;Ev(n,t),t.valueAccessor.writeValue(n.value),(n.disabled||e==="always")&&((r=(i=t.valueAccessor).setDisabledState)==null||r.call(i,n.disabled)),ZL(n,t),XL(n,t),KL(n,t),QL(n,t)}function qD(n,t,e=!0){let i=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(i),t.valueAccessor.registerOnTouched(i)),tf(n,t),n&&(t._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}))}function ef(n,t){n.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(t)})}function QL(n,t){if(t.valueAccessor.setDisabledState){let e=i=>{t.valueAccessor.setDisabledState(i)};n.registerOnDisabledChange(e),t._registerOnDestroy(()=>{n._unregisterOnDisabledChange(e)})}}function Ev(n,t){let e=aE(n);t.validator!==null?n.setValidators($D(e,t.validator)):typeof e=="function"&&n.setValidators([e]);let i=lE(n);t.asyncValidator!==null?n.setAsyncValidators($D(i,t.asyncValidator)):typeof i=="function"&&n.setAsyncValidators([i]);let r=()=>n.updateValueAndValidity();ef(t._rawValidators,r),ef(t._rawAsyncValidators,r)}function tf(n,t){let e=!1;if(n!==null){if(t.validator!==null){let r=aE(n);if(Array.isArray(r)&&r.length>0){let o=r.filter(s=>s!==t.validator);o.length!==r.length&&(e=!0,n.setValidators(o))}}if(t.asyncValidator!==null){let r=lE(n);if(Array.isArray(r)&&r.length>0){let o=r.filter(s=>s!==t.asyncValidator);o.length!==r.length&&(e=!0,n.setAsyncValidators(o))}}}let i=()=>{};return ef(t._rawValidators,i),ef(t._rawAsyncValidators,i),e}function ZL(n,t){t.valueAccessor.registerOnChange(e=>{n._pendingValue=e,n._pendingChange=!0,n._pendingDirty=!0,n.updateOn==="change"&&fE(n,t)})}function KL(n,t){t.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,n.updateOn==="blur"&&n._pendingChange&&fE(n,t),n.updateOn!=="submit"&&n.markAsTouched()})}function fE(n,t){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function XL(n,t){let e=(i,r)=>{t.valueAccessor.writeValue(i),r&&t.viewToModelUpdate(i)};n.registerOnChange(e),t._registerOnDestroy(()=>{n._unregisterOnChange(e)})}function hE(n,t){n==null,Ev(n,t)}function JL(n,t){return tf(n,t)}function eV(n,t){if(!n.hasOwnProperty("model"))return!1;let e=n.model;return e.isFirstChange()?!0:!Object.is(t,e.currentValue)}function tV(n){return Object.getPrototypeOf(n.constructor)===TL}function mE(n,t){n._syncPendingControls(),t.forEach(e=>{let i=e.control;i.updateOn==="submit"&&i._pendingChange&&(e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}function nV(n,t){if(!t)return null;Array.isArray(t);let e,i,r;return t.forEach(o=>{o.constructor===rf?e=o:tV(o)?i=o:r=o}),r||i||e||null}function iV(n,t){let e=n.indexOf(t);e>-1&&n.splice(e,1)}var rV={provide:xr,useExisting:Kn(()=>Ln)},ll=Promise.resolve(),Ln=(()=>{class n extends xr{callSetDisabledState;get submitted(){return un(this.submittedReactive)}_submitted=Si(()=>this.submittedReactive());submittedReactive=Mi(!1);_directives=new Set;form;ngSubmit=new $;options;constructor(e,i,r){super(),this.callSetDisabledState=r,this.form=new Xu({},xv(e),Cv(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){ll.then(()=>{let i=this._findContainer(e.path);e.control=i.registerControl(e.name,e.control),Ju(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){ll.then(()=>{let i=this._findContainer(e.path);i&&i.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){ll.then(()=>{let i=this._findContainer(e.path),r=new Xu({});hE(r,e),i.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){ll.then(()=>{let i=this._findContainer(e.path);i&&i.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,i){ll.then(()=>{this.form.get(e.path).setValue(i)})}setValue(e){this.control.setValue(e)}onSubmit(e){var i;return this.submittedReactive.set(!0),mE(this.form,this._directives),this.ngSubmit.emit(e),((i=e==null?void 0:e.target)==null?void 0:i.method)==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}static \u0275fac=function(i){return new(i||n)(S(ul,10),S(wv,10),S(sf,8))};static \u0275dir=P({type:n,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,r){i&1&&B("submit",function(s){return r.onSubmit(s)})("reset",function(){return r.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[ze([rV]),Ve]})}return n})();function YD(n,t){let e=n.indexOf(t);e>-1&&n.splice(e,1)}function QD(n){return typeof n=="object"&&n!==null&&Object.keys(n).length===2&&"value"in n&&"disabled"in n}var pE=class extends Ku{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(t=null,e,i){super(dE(e),uE(i,e)),this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),of(e)&&(e.nonNullable||e.initialValueIsDefault)&&(QD(t)?this.defaultValue=t.value:this.defaultValue=t)}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&e.emitModelToViewChange!==!1&&this._onChange.forEach(i=>i(this.value,e.emitViewToModelChange!==!1)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=this.defaultValue,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){YD(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){YD(this._onDisabledChange,t)}_forEachChild(t){}_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(t){QD(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}};var oV=n=>n instanceof pE;var sV={provide:ji,useExisting:Kn(()=>Iv)},ZD=Promise.resolve(),Iv=(()=>{class n extends ji{_changeDetectorRef;callSetDisabledState;control=new pE;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new $;constructor(e,i,r,o,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this._parent=e,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=nV(this,o)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){let i=e.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),eV(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&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(e){ZD.then(()=>{var i;this.control.setValue(e,{emitViewToModelChange:!1}),(i=this._changeDetectorRef)==null||i.markForCheck()})}_updateDisabled(e){let i=e.isDisabled.currentValue,r=i!==0&&q(i);ZD.then(()=>{var o;r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),(o=this._changeDetectorRef)==null||o.markForCheck()})}_getPath(e){return this._parent?YL(e,this._parent):[e]}static \u0275fac=function(i){return new(i||n)(S(xr,9),S(ul,10),S(wv,10),S(nf,10),S(Pe,8),S(sf,8))};static \u0275dir=P({type:n,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"],standalone:!1,features:[ze([sV]),Ve,qe]})}return n})(),As=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275dir=P({type:n,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return n})();var aV={provide:xr,useExisting:Kn(()=>fl)},fl=(()=>{class n extends xr{callSetDisabledState;get submitted(){return un(this._submittedReactive)}set submitted(e){this._submittedReactive.set(e)}_submitted=Si(()=>this._submittedReactive());_submittedReactive=Mi(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];form=null;ngSubmit=new $;constructor(e,i,r){super(),this.callSetDisabledState=r,this._setValidators(e),this._setAsyncValidators(i)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(tf(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){let i=this.form.get(e.path);return Ju(i,e,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),i}getControl(e){return this.form.get(e.path)}removeControl(e){qD(e.control||null,e,!1),iV(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,i){this.form.get(e.path).setValue(i)}onSubmit(e){var i;return this._submittedReactive.set(!0),mE(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new yv(this.control)),((i=e==null?void 0:e.target)==null?void 0:i.method)==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this._submittedReactive.set(!1),this.form._events.next(new bv(this.form))}_updateDomValue(){this.directives.forEach(e=>{let i=e.control,r=this.form.get(e.path);i!==r&&(qD(i||null,e),oV(r)&&(Ju(r,e,this.callSetDisabledState),e.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){let i=this.form.get(e.path);hE(i,e),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){let i=this.form.get(e.path);i&&JL(i,e)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Ev(this.form,this),this._oldForm&&tf(this._oldForm,this)}_checkFormPresent(){this.form}static \u0275fac=function(i){return new(i||n)(S(ul,10),S(wv,10),S(sf,8))};static \u0275dir=P({type:n,selectors:[["","formGroup",""]],hostBindings:function(i,r){i&1&&B("submit",function(s){return r.onSubmit(s)})("reset",function(){return r.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[ze([aV]),Ve,qe]})}return n})();var lV=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=V({type:n});static \u0275inj=L({})}return n})();var gE=(()=>{class n{static withConfig(e){return{ngModule:n,providers:[{provide:sf,useValue:e.callSetDisabledState??Dv}]}}static \u0275fac=function(i){return new(i||n)};static \u0275mod=V({type:n});static \u0275inj=L({imports:[lV]})}return n})();var Mv=class{_box;_destroyed=new M;_resizeSubject=new M;_resizeObserver;_elementObservables=new Map;constructor(t){this._box=t,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(e=>this._resizeSubject.next(e)))}observe(t){return this._elementObservables.has(t)||this._elementObservables.set(t,new le(e=>{var r;let i=this._resizeSubject.subscribe(e);return(r=this._resizeObserver)==null||r.observe(t,{box:this._box}),()=>{var o;(o=this._resizeObserver)==null||o.unobserve(t),i.unsubscribe(),this._elementObservables.delete(t)}}).pipe(ne(e=>e.some(i=>i.target===t)),sc({bufferSize:1,refCount:!0}),we(this._destroyed))),this._elementObservables.get(t)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},vE=(()=>{class n{_observers=new Map;_ngZone=u(R);constructor(){typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,e]of this._observers)e.destroy();this._observers.clear(),typeof ResizeObserver<"u"}observe(e,i){let r=(i==null?void 0:i.box)||"content-box";return this._observers.has(r)||this._observers.set(r,new Mv(r)),this._observers.get(r).observe(e)}static \u0275fac=function(i){return new(i||n)};static \u0275prov=C({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var cV=["notch"],dV=["matFormFieldNotchedOutline",""],uV=["*"],fV=["textField"],hV=["iconPrefixContainer"],mV=["textPrefixContainer"],pV=["iconSuffixContainer"],gV=["textSuffixContainer"],vV=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],_V=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function yV(n,t){n&1&&T(0,"span",21)}function bV(n,t){if(n&1&&(m(0,"label",20),he(1,1),F(2,yV,1,0,"span",21),p()),n&2){let e=N(2);D("floating",e._shouldLabelFloat())("monitorResize",e._hasOutline())("id",e._labelId),ye("for",e._control.disableAutomaticLabeling?null:e._control.id),y(2),He(!e.hideRequiredMarker&&e._control.required?2:-1)}}function wV(n,t){if(n&1&&F(0,bV,3,5,"label",20),n&2){let e=N();He(e._hasFloatingLabel()?0:-1)}}function xV(n,t){n&1&&T(0,"div",7)}function CV(n,t){}function DV(n,t){if(n&1&&F(0,CV,0,0,"ng-template",13),n&2){N(2);let e=St(1);D("ngTemplateOutlet",e)}}function EV(n,t){if(n&1&&(m(0,"div",9),F(1,DV,1,1,null,13),p()),n&2){let e=N();D("matFormFieldNotchedOutlineOpen",e._shouldLabelFloat()),y(),He(e._forceDisplayInfixLabel()?-1:1)}}function IV(n,t){n&1&&(m(0,"div",10,2),he(2,2),p())}function MV(n,t){n&1&&(m(0,"div",11,3),he(2,3),p())}function SV(n,t){}function TV(n,t){if(n&1&&F(0,SV,0,0,"ng-template",13),n&2){N();let e=St(1);D("ngTemplateOutlet",e)}}function AV(n,t){n&1&&(m(0,"div",14,4),he(2,4),p())}function kV(n,t){n&1&&(m(0,"div",15,5),he(2,5),p())}function OV(n,t){n&1&&T(0,"div",16)}function RV(n,t){if(n&1&&(m(0,"div",18),he(1,6),p()),n&2){let e=N();D("@transitionMessages",e._subscriptAnimationState)}}function NV(n,t){if(n&1&&(m(0,"mat-hint",22),b(1),p()),n&2){let e=N(2);D("id",e._hintLabelId),y(),ct(e.hintLabel)}}function PV(n,t){if(n&1&&(m(0,"div",19),F(1,NV,2,2,"mat-hint",22),he(2,7),T(3,"div",23),he(4,8),p()),n&2){let e=N();D("@transitionMessages",e._subscriptAnimationState),y(),He(e.hintLabel?1:-1)}}var ui=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275dir=P({type:n,selectors:[["mat-label"]]})}return n})(),FV=new x("MatError");var _E=(()=>{class n{align="start";id=u($e).getId("mat-mdc-hint-");static \u0275fac=function(i){return new(i||n)};static \u0275dir=P({type:n,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(i,r){i&2&&(dn("id",r.id),ye("align",null),ce("mat-mdc-form-field-hint-end",r.align==="end"))},inputs:{align:"align",id:"id"}})}return n})(),LV=new x("MatPrefix");var EE=new x("MatSuffix"),IE=(()=>{class n{set _isTextSelector(e){this._isText=!0}_isText=!1;static \u0275fac=function(i){return new(i||n)};static \u0275dir=P({type:n,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[0,"matTextSuffix","_isTextSelector"]},features:[ze([{provide:EE,useExisting:n}])]})}return n})(),ME=new x("FloatingLabelParent"),yE=(()=>{class n{_elementRef=u(H);get floating(){return this._floating}set floating(e){this._floating=e,this.monitorResize&&this._handleResize()}_floating=!1;get monitorResize(){return this._monitorResize}set monitorResize(e){this._monitorResize=e,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}_monitorResize=!1;_resizeObserver=u(vE);_ngZone=u(R);_parent=u(ME);_resizeSubscription=new me;constructor(){}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return VV(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())})}static \u0275fac=function(i){return new(i||n)};static \u0275dir=P({type:n,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(i,r){i&2&&ce("mdc-floating-label--float-above",r.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}return n})();function VV(n){let t=n;if(t.offsetParent!==null)return t.scrollWidth;let e=t.cloneNode(!0);e.style.setProperty("position","absolute"),e.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(e);let i=e.scrollWidth;return e.remove(),i}var bE="mdc-line-ripple--active",lf="mdc-line-ripple--deactivating",wE=(()=>{class n{_elementRef=u(H);constructor(){u(R).runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){let e=this._elementRef.nativeElement.classList;e.remove(lf),e.add(bE)}deactivate(){this._elementRef.nativeElement.classList.add(lf)}_handleTransitionEnd=e=>{let i=this._elementRef.nativeElement.classList,r=i.contains(lf);e.propertyName==="opacity"&&r&&i.remove(bE,lf)};ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}static \u0275fac=function(i){return new(i||n)};static \u0275dir=P({type:n,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}return n})(),xE=(()=>{class n{_elementRef=u(H);_ngZone=u(R);open=!1;_notch;constructor(){}ngAfterViewInit(){let e=this._elementRef.nativeElement.querySelector(".mdc-floating-label");e?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(e.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>e.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(e){!this.open||!e?this._notch.nativeElement.style.width="":this._notch.nativeElement.style.width=`calc(${e}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=A({type:n,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(i,r){if(i&1&&Re(cV,5),i&2){let o;oe(o=se())&&(r._notch=o.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(i,r){i&2&&ce("mdc-notched-outline--notched",r.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},attrs:dV,ngContentSelectors:uV,decls:5,vars:0,consts:[["notch",""],[1,"mat-mdc-notch-piece","mdc-notched-outline__leading"],[1,"mat-mdc-notch-piece","mdc-notched-outline__notch"],[1,"mat-mdc-notch-piece","mdc-notched-outline__trailing"]],template:function(i,r){i&1&&(Ze(),T(0,"div",1),m(1,"div",2,0),he(3),p(),T(4,"div",3))},encapsulation:2,changeDetection:0})}return n})(),jV={transitionMessages:Fn("transitionMessages",[_n("enter",rt({opacity:1,transform:"translateY(0%)"})),Jt("void => enter",[rt({opacity:0,transform:"translateY(-5px)"}),vn("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},hl=(()=>{class n{value;stateChanges;id;placeholder;ngControl;focused;empty;shouldLabelFloat;required;disabled;errorState;controlType;autofilled;userAriaDescribedBy;disableAutomaticLabeling;static \u0275fac=function(i){return new(i||n)};static \u0275dir=P({type:n})}return n})();var ml=new x("MatFormField"),Sv=new x("MAT_FORM_FIELD_DEFAULT_OPTIONS"),CE="fill",BV="auto",DE="fixed",zV="translateY(-50%)",Dr=(()=>{class n{_elementRef=u(H);_changeDetectorRef=u(Pe);_dir=u(kt);_platform=u(Te);_idGenerator=u($e);_defaults=u(Sv,{optional:!0});_animationMode=u(Je,{optional:!0});_textField;_iconPrefixContainer;_textPrefixContainer;_iconSuffixContainer;_textSuffixContainer;_floatingLabel;_notchedOutline;_lineRipple;_formFieldControl;_prefixChildren;_suffixChildren;_errorChildren;_hintChildren;_labelChild=Tw(ui);get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=Oi(e)}_hideRequiredMarker=!1;color="primary";get floatLabel(){var e;return this._floatLabel||((e=this._defaults)==null?void 0:e.floatLabel)||BV}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck())}_floatLabel;get appearance(){return this._appearance}set appearance(e){var o;let i=this._appearance,r=e||((o=this._defaults)==null?void 0:o.appearance)||CE;this._appearance=r,this._appearance==="outline"&&this._appearance!==i&&(this._needsOutlineLabelOffsetUpdate=!0)}_appearance=CE;get subscriptSizing(){var e;return this._subscriptSizing||((e=this._defaults)==null?void 0:e.subscriptSizing)||DE}set subscriptSizing(e){var i;this._subscriptSizing=e||((i=this._defaults)==null?void 0:i.subscriptSizing)||DE}_subscriptSizing=null;get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}_hintLabel="";_hasIconPrefix=!1;_hasTextPrefix=!1;_hasIconSuffix=!1;_hasTextSuffix=!1;_labelId=this._idGenerator.getId("mat-mdc-form-field-label-");_hintLabelId=this._idGenerator.getId("mat-mdc-hint-");_subscriptAnimationState="";get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(e){this._explicitFormFieldControl=e}_destroyed=new M;_isFocused=null;_explicitFormFieldControl;_needsOutlineLabelOffsetUpdate=!1;_previousControl=null;_stateChanges;_valueChanges;_describedByChanges;_injector=u(_e);constructor(){let e=this._defaults;e&&(e.appearance&&(this.appearance=e.appearance),this._hideRequiredMarker=!!(e!=null&&e.hideRequiredMarker),e.color&&(this.color=e.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl(),this._control!==this._previousControl&&(this._initializeControl(this._previousControl),this._previousControl=this._control)}ngOnDestroy(){var e,i,r;(e=this._stateChanges)==null||e.unsubscribe(),(i=this._valueChanges)==null||i.unsubscribe(),(r=this._describedByChanges)==null||r.unsubscribe(),this._destroyed.next(),this._destroyed.complete()}getLabelId=Si(()=>this._hasFloatingLabel()?this._labelId:null);getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(e){var o,s,a;let i=this._control,r="mat-mdc-form-field-type-";e&&this._elementRef.nativeElement.classList.remove(r+e.controlType),i.controlType&&this._elementRef.nativeElement.classList.add(r+i.controlType),(o=this._stateChanges)==null||o.unsubscribe(),this._stateChanges=i.stateChanges.subscribe(()=>{this._updateFocusState(),this._changeDetectorRef.markForCheck()}),(s=this._describedByChanges)==null||s.unsubscribe(),this._describedByChanges=i.stateChanges.pipe(Ke([void 0,void 0]),Y(()=>[i.errorState,i.userAriaDescribedBy]),oc(),ne(([[l,c],[d,f]])=>l!==d||c!==f)).subscribe(()=>this._syncDescribedByIds()),(a=this._valueChanges)==null||a.unsubscribe(),i.ngControl&&i.ngControl.valueChanges&&(this._valueChanges=i.ngControl.valueChanges.pipe(we(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()))}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(e=>!e._isText),this._hasTextPrefix=!!this._prefixChildren.find(e=>e._isText),this._hasIconSuffix=!!this._suffixChildren.find(e=>!e._isText),this._hasTextSuffix=!!this._suffixChildren.find(e=>e._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),bt(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 e,i,r;this._control.focused&&!this._isFocused?(this._isFocused=!0,(e=this._lineRipple)==null||e.activate()):!this._control.focused&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,(i=this._lineRipple)==null||i.deactivate()),(r=this._textField)==null||r.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0),ca(()=>{this._needsOutlineLabelOffsetUpdate&&(this._needsOutlineLabelOffsetUpdate=!1,this._updateOutlineLabelOffset())},{injector:this._injector}),this._dir.change.pipe(we(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=Si(()=>!!this._labelChild());_shouldLabelFloat(){return this._hasFloatingLabel()?this._control.shouldLabelFloat||this._shouldAlwaysFloat():!1}_shouldForward(e){let i=this._control?this._control.ngControl:null;return i&&i[e]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){var e,i;!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?(e=this._notchedOutline)==null||e._setNotchWidth(0):(i=this._notchedOutline)==null||i._setNotchWidth(this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&e.push(...this._control.userAriaDescribedBy.split(" ")),this._getDisplayedMessages()==="hint"){let i=this._hintChildren?this._hintChildren.find(o=>o.align==="start"):null,r=this._hintChildren?this._hintChildren.find(o=>o.align==="end"):null;i?e.push(i.id):this._hintLabel&&e.push(this._hintLabelId),r&&e.push(r.id)}else this._errorChildren&&e.push(...this._errorChildren.map(i=>i.id));this._control.setDescribedByIds(e)}}_updateOutlineLabelOffset(){var I,k,ae,z;if(!this._hasOutline()||!this._floatingLabel)return;let e=this._floatingLabel.element;if(!(this._iconPrefixContainer||this._textPrefixContainer)){e.style.transform="";return}if(!this._isAttachedToDom()){this._needsOutlineLabelOffsetUpdate=!0;return}let i=(I=this._iconPrefixContainer)==null?void 0:I.nativeElement,r=(k=this._textPrefixContainer)==null?void 0:k.nativeElement,o=(ae=this._iconSuffixContainer)==null?void 0:ae.nativeElement,s=(z=this._textSuffixContainer)==null?void 0:z.nativeElement,a=(i==null?void 0:i.getBoundingClientRect().width)??0,l=(r==null?void 0:r.getBoundingClientRect().width)??0,c=(o==null?void 0:o.getBoundingClientRect().width)??0,d=(s==null?void 0:s.getBoundingClientRect().width)??0,f=this._dir.value==="rtl"?"-1":"1",g=`${a+l}px`,v=`calc(${f} * (${g} + var(--mat-mdc-form-field-label-offset-x, 0px)))`;e.style.transform=`var( --mat-mdc-form-field-label-transform, - ${kj} translateX(${w}) - )`;let M=l+c+d+u;this._elementRef.nativeElement.style.setProperty("--mat-form-field-notch-max-width",`calc(100% - ${M}px)`)}_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(ye),h(Dv,8),h(We,8),h(W))},e.\u0275cmp=j({type:e,selectors:[["mat-form-field"]],contentQueries:function(i,o,s){if(i&1&&($w(s,o._labelChild,mi,5),lt(s,fl,5),lt(s,Mj,5),lt(s,bE,5),lt(s,Ej,5),lt(s,dE,5)),i&2){Ww();let a;oe(a=se())&&(o._formFieldControl=a.first),oe(a=se())&&(o._prefixChildren=a),oe(a=se())&&(o._suffixChildren=a),oe(a=se())&&(o._errorChildren=a),oe(a=se())&&(o._hintChildren=a)}},viewQuery:function(i,o){if(i&1&&(Re(tj,5),Re(nj,5),Re(ij,5),Re(rj,5),Re(oj,5),Re(uE,5),Re(pE,5),Re(fE,5)),i&2){let s;oe(s=se())&&(o._textField=s.first),oe(s=se())&&(o._iconPrefixContainer=s.first),oe(s=se())&&(o._textPrefixContainer=s.first),oe(s=se())&&(o._iconSuffixContainer=s.first),oe(s=se())&&(o._textSuffixContainer=s.first),oe(s=se())&&(o._floatingLabel=s.first),oe(s=se())&&(o._notchedOutline=s.first),oe(s=se())&&(o._lineRipple=s.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(i,o){i&2&&le("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:pl,useExisting:e},{provide:_E,useExisting:e}]),Ae],ngContentSelectors:aj,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],["textSuffixContainer",""],["iconSuffixContainer",""],[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=De();Je(sj),F(0,dj,1,1,"ng-template",null,0,Yw),m(2,"div",6,1),U("click",function(l){return ie(s),re(o._control.onContainerClick(l))}),F(4,uj,1,0,"div",7),m(5,"div",8),F(6,pj,2,2,"div",9)(7,mj,3,0,"div",10)(8,gj,3,0,"div",11),m(9,"div",12),F(10,bj,1,1,null,13),pe(11),v(),F(12,yj,3,0,"div",14)(13,_j,3,0,"div",15),v(),F(14,wj,1,0,"div",16),v(),m(15,"div",17),F(16,Cj,2,1,"div",18)(17,Dj,5,2,"div",19),v()}if(i&2){let s;_(2),le("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),_(2),Ge(!o._hasOutline()&&!o._control.disabled?4:-1),_(2),Ge(o._hasOutline()?6:-1),_(),Ge(o._hasIconPrefix?7:-1),_(),Ge(o._hasTextPrefix?8:-1),_(2),Ge(!o._hasOutline()||o._forceDisplayInfixLabel()?10:-1),_(2),Ge(o._hasTextSuffix?12:-1),_(),Ge(o._hasIconSuffix?13:-1),_(),Ge(o._hasOutline()?-1:14),_(),le("mat-mdc-form-field-subscript-dynamic-size",o.subscriptSizing==="dynamic"),_(),Ge((s=o._getDisplayedMessages())==="error"?16:s==="hint"?17:-1)}},dependencies:[uE,pE,mC,fE,dE],styles:['.mdc-text-field{display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field__input{width:100%;min-width:0;border:none;border-radius:0;background:none;padding:0;-moz-appearance:none;-webkit-appearance:none;height:28px}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}.mdc-text-field__input::placeholder{opacity:0}.mdc-text-field__input::-moz-placeholder{opacity:0}.mdc-text-field__input::-webkit-input-placeholder{opacity:0}.mdc-text-field__input:-ms-input-placeholder{opacity:0}.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{opacity:1}.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--outlined .mdc-text-field__input,.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color, var(--mat-app-on-surface));caret-color:var(--mdc-filled-text-field-caret-color, var(--mat-app-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.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, var(--mat-app-on-surface-variant))}.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.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color, var(--mat-app-on-surface));caret-color:var(--mdc-outlined-text-field-caret-color, var(--mat-app-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.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, var(--mat-app-on-surface-variant))}.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.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color)}.mdc-text-field--disabled .cdk-high-contrast-active .mdc-text-field__input{background-color:Window}.mdc-text-field--filled{height:56px;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-left-radius:var(--mdc-filled-text-field-container-shape, var(--mat-app-corner-extra-small-top));border-top-right-radius:var(--mdc-filled-text-field-container-shape, var(--mat-app-corner-extra-small-top))}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color, var(--mat-app-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color)}.mdc-text-field--outlined{height:56px;overflow:visible;padding-right:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)));padding-left:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)) + 4px)}[dir=rtl] .mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)) + 4px);padding-left:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)))}.mdc-floating-label{position:absolute;left:0;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{right:0;left:auto;transform-origin:right top;text-align:right}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:auto}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label{left:auto;right:4px}.mdc-text-field--filled .mdc-floating-label{left:16px;right:auto}[dir=rtl] .mdc-text-field--filled .mdc-floating-label{left:auto;right:16px}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.cdk-high-contrast-active .mdc-text-field--disabled .mdc-floating-label{z-index:1}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-filled-text-field-label-text-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mdc-filled-text-field-focus-label-text-color, var(--mat-app-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mdc-filled-text-field-hover-label-text-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-filled-text-field-disabled-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mdc-filled-text-field-error-label-text-color, var(--mat-app-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mdc-filled-text-field-error-focus-label-text-color, var(--mat-app-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mdc-filled-text-field-error-hover-label-text-color, var(--mat-app-on-error-container))}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font, var(--mat-app-body-large-font));font-size:var(--mdc-filled-text-field-label-text-size, var(--mat-app-body-large-size));font-weight:var(--mdc-filled-text-field-label-text-weight, var(--mat-app-body-large-weight));letter-spacing:var(--mdc-filled-text-field-label-text-tracking, var(--mat-app-body-large-tracking))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-outlined-text-field-label-text-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mdc-outlined-text-field-focus-label-text-color, var(--mat-app-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mdc-outlined-text-field-hover-label-text-color, var(--mat-app-on-surface))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-outlined-text-field-disabled-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mdc-outlined-text-field-error-label-text-color, var(--mat-app-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mdc-outlined-text-field-error-focus-label-text-color, var(--mat-app-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mdc-outlined-text-field-error-hover-label-text-color, var(--mat-app-on-error-container))}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font, var(--mat-app-body-large-font));font-size:var(--mdc-outlined-text-field-label-text-size, var(--mat-app-body-large-size));font-weight:var(--mdc-outlined-text-field-label-text-weight, var(--mat-app-body-large-weight));letter-spacing:var(--mdc-outlined-text-field-label-text-tracking, var(--mat-app-body-large-tracking))}.mdc-floating-label--float-above{cursor:auto;transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1);font-size:.75rem}.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-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-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-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::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{text-align:right}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mat-mdc-notch-piece{box-sizing:border-box;height:100%;pointer-events:none;border-top:1px solid;border-bottom:1px solid}.mdc-text-field--focused .mat-mdc-notch-piece{border-width:2px}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-outline-color, var(--mat-app-outline));border-width:var(--mdc-outlined-text-field-outline-width)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-hover-outline-color, var(--mat-app-on-surface))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-focus-outline-color, var(--mat-app-primary))}.mdc-text-field--outlined.mdc-text-field--disabled .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-disabled-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-outline-color, var(--mat-app-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-notched-outline .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-hover-outline-color, var(--mat-app-on-error-container))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-focus-outline-color, var(--mat-app-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mat-mdc-notch-piece{border-width:var(--mdc-outlined-text-field-focus-outline-width)}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small));border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small))}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)))}[dir=rtl] .mdc-notched-outline__leading{border-left:none;border-right:1px solid;border-bottom-left-radius:0;border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small));border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small))}.mdc-notched-outline__trailing{flex-grow:1;border-left:none;border-right:1px solid;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small));border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small))}[dir=rtl] .mdc-notched-outline__trailing{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small));border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small))}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:min(var(--mat-form-field-notch-max-width, 100%),100% - max(12px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)))*2)}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none;--mat-form-field-notch-max-width: 100%}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch{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;border-bottom-width:var(--mdc-filled-text-field-active-indicator-height)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color, var(--mat-app-on-surface-variant))}.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, var(--mat-app-on-surface))}.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:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color, var(--mat-app-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color, var(--mat-app-on-error-container))}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height)}.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, var(--mat-app-primary))}.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, var(--mat-app-error))}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-text-field--disabled{pointer-events:none}.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-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, var(--mat-app-error))}.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, var(--mat-app-body-small-font));line-height:var(--mat-form-field-subscript-text-line-height, var(--mat-app-body-small-line-height));font-size:var(--mat-form-field-subscript-text-size, var(--mat-app-body-small-size));letter-spacing:var(--mat-form-field-subscript-text-tracking, var(--mat-app-body-small-tracking));font-weight:var(--mat-form-field-subscript-text-weight, var(--mat-app-body-small-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, var(--mat-app-on-surface))}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity, var(--mat-app-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, var(--mat-app-on-surface-variant))}[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, var(--mat-app-primary))}.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, var(--mat-app-body-large-font));line-height:var(--mat-form-field-container-text-line-height, var(--mat-app-body-large-line-height));font-size:var(--mat-form-field-container-text-size, var(--mat-app-body-large-size));letter-spacing:var(--mat-form-field-container-text-tracking, var(--mat-app-body-large-tracking));font-weight:var(--mat-form-field-container-text-weight, var(--mat-app-body-large-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, var(--mat-app-on-surface-variant))}.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, var(--mat-app-on-surface-variant))}.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, var(--mat-app-error))}.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, var(--mat-app-on-error-container))}.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, var(--mat-app-error))}.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-infix:has(textarea[cols]){width:auto}.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-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::-moz-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::-webkit-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .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--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-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:[Tj.transitionMessages]},changeDetection:0});let n=e;return n})(),ho=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({imports:[Se,ai,Cu,Se]});let n=e;return n})();var wE=mn({passive:!0}),CE=(()=>{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=pn(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,wE),i.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(i,{subject:s,unlisten:()=>{i.removeEventListener("animationstart",l,wE)}}),s}stopMonitoring(t){let i=pn(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)(b(ye),b(k))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();var xE=(()=>{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 Rj=new D("MAT_INPUT_VALUE_ACCESSOR"),Nj=["button","checkbox","file","hidden","image","radio","range","reset","submit"],Pj=0,xr=(()=>{let e=class e{get disabled(){return this._disabled}set disabled(t){this._disabled=li(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;return this._required??((i=(t=this.ngControl)==null?void 0:t.control)==null?void 0:i.hasValidator(As.required))??!1}set required(t){this._required=li(t)}get type(){return this._type}set type(t){this._type=t||"text",this._validateType(),!this._isTextarea&&Gm().has(this._type)&&(this._elementRef.nativeElement.type=this._type),this._ensureWheelDefaultBehavior()}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=li(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._ngZone=u,this._formField=f,this._uid=`mat-input-${Pj++}`,this._webkitBlinkWheelListenerAttached=!1,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(w=>Gm().has(w)),this._iOSKeyupListener=w=>{let M=w.target;!M.value&&M.selectionStart===0&&M.selectionEnd===0&&(M.setSelectionRange(1,1),M.setSelectionRange(0,0))},this._webkitBlinkWheelListener=()=>{};let p=this._elementRef.nativeElement,g=p.nodeName.toLowerCase();this._inputValueAccessor=c||p,this._previousNativeValue=this.value,this.id=this.id,i.IOS&&u.runOutsideAngular(()=>{t.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._errorStateTracker=new Ms(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=p.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),this._webkitBlinkWheelListenerAttached&&this._elementRef.nativeElement.removeEventListener("wheel",this._webkitBlinkWheelListener)}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(){Nj.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)}_ensureWheelDefaultBehavior(){!this._webkitBlinkWheelListenerAttached&&this._type==="number"&&(this._platform.BLINK||this._platform.WEBKIT)&&(this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("wheel",this._webkitBlinkWheelListener)}),this._webkitBlinkWheelListenerAttached=!0),this._webkitBlinkWheelListenerAttached&&this._type!=="number"&&(this._elementRef.nativeElement.removeEventListener("wheel",this._webkitBlinkWheelListener),this._webkitBlinkWheelListenerAttached=!0)}};e.\u0275fac=function(i){return new(i||e)(h(P),h(ye),h(Bi,10),h(Fn,8),h(hl,8),h(Ru),h(Rj,10),h(CE),h(k),h(pl,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&&U("focus",function(){return o._focusChanged(!0)})("blur",function(){return o._focusChanged(!1)})("input",function(){return o._onInput()}),i&2&&(un("id",o.id)("disabled",o.disabled)("required",o.required),we("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),le("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:fl,useExisting:e}]),$e]});let n=e;return n})(),DE=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({imports:[Se,ho,ho,xE,Se]});let n=e;return n})();var Fj=(n,e,r)=>({username:n,domain:e,password:r,success:!1}),Lj=(n,e,r)=>({username:n,domain:e,password:r,success:!0}),EE=(()=>{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(il))},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&&(m(0,"h2",0)(1,"uds-translate"),C(2,"Please, enter access credentials"),v()(),m(3,"mat-dialog-content")(4,"mat-form-field")(5,"mat-label"),C(6),v(),m(7,"input",1),ha("ngModelChange",function(a){return Md(o.username,a)||(o.username=a),a}),v()(),m(8,"mat-form-field")(9,"mat-label"),C(10),v(),m(11,"input",2),ha("ngModelChange",function(a){return Md(o.password,a)||(o.password=a),a}),v()(),m(12,"mat-form-field")(13,"mat-label"),C(14),v(),m(15,"input",1),ha("ngModelChange",function(a){return Md(o.domain,a)||(o.domain=a),a}),v()()(),m(16,"mat-dialog-actions")(17,"button",3),C(18,"Cancel"),v(),m(19,"button",3),C(20,"Accept"),v()()),i&2&&(_(6),Me(" ",o.labels.username," "),_(),I("placeholder",o.labels.username),ua("ngModel",o.username),_(3),Me(" ",o.labels.password," "),_(),I("placeholder",o.labels.password),ua("ngModel",o.password),_(3),Me(" ",o.labels.domain," "),_(),I("placeholder",o.labels.domain),ua("ngModel",o.domain),_(2),I("mat-dialog-close",hm(11,Fj,o.username,o.domain,o.password)),_(2),I("mat-dialog-close",hm(15,Lj,o.username,o.domain,o.password)))},dependencies:[Ju,tE,Cv,pi,Lu,ju,Bu,Vu,Cr,mi,xr,He],styles:[".mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}"]});let n=e;return n})();var oh=(()=>{let e=class e{constructor(t){this.dialog=t}alert(t,i,o=0){return Oe(this,null,function*(){let s=window.innerWidth<800?"80%":"40%";return this.dialog.open(fv,{width:s,data:{title:t,body:i,autoclose:o,type:ol.alert},disableClose:!0})})}yesno(t,i){let o=window.innerWidth<800?"80%":"40%";return this.dialog.open(fv,{width:o,data:{title:t,body:i,type:ol.yesno},disableClose:!0}).componentInstance.yesno}askCredentials(t,i){let o=this.dialog.open(EE,{data:{username:t,domain:i}});return Bt(o.afterClosed())}};e.\u0275fac=function(i){return new(i||e)(b(rl))},e.\u0275prov=E({token:e,factory:e.\u0275fac});let n=e;return n})();var IE="dark-theme",ME="light-theme";var Vj=eval,ke=(()=>{let e=class e{constructor(t,i,o){this.http=t,this.gui=i,this.router=o,this.transportsWindow=null,this.user=new gu(udsData.profile),this.plugin=new Lx(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 Oe(this,null,function*(){let o=this.config.urls.enabler.replace("param1",t).replace("param2",i);return Bt(this.http.get(o))})}status(t,i){return Oe(this,null,function*(){let o=this.config.urls.status.replace("param1",t).replace("param2",i);return Bt(this.http.get(o))})}action(t,i){return Oe(this,null,function*(){let o=this.config.urls.action.replace("param1",i).replace("param2",t);return Bt(this.http.get(o))})}transportUrl(t){return Oe(this,null,function*(){return Bt(this.http.get(t))})}updateTransportTicket(t,i,o,s,a){return Oe(this,null,function*(){let l=this.config.urls.update_transport_ticket.replace("param1",t).replace("param2",i);return Bt(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 vu.production?this.config.urls.static+t:"/static/"+t}getServicesInformation(){return Oe(this,null,function*(){return Bt(this.http.get(this.config.urls.services))})}getErrorInformation(t){return Oe(this,null,function*(){return Bt(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 Oe(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 Oe(this,null,function*(){return Bt(this.http.get(this.config.urls.custom_auth+t,{responseType:"text"}))})}switchTheme(t){let i=document.getElementsByTagName("html")[0];[IE,ME].forEach(o=>{i.classList.contains(o)&&i.classList.remove(o)}),i.classList.add(t?IE:ME)}putOnStorage(t,i){typeof Storage!==void 0&&sessionStorage.setItem(t,i)}getFromStorage(t){return typeof Storage!==void 0?sessionStorage.getItem(t):null}eval(t){Vj(t)}};e.\u0275fac=function(i){return new(i||e)(b(Om),b(oh),b(ui))},e.\u0275prov=E({token:e,factory:e.\u0275fac});let n=e;return n})();var Ev=(()=>{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)(b(ke))},e.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();var Bj=["trigger"],Uj=["panel"],zj=[[["mat-select-trigger"]],"*"],Hj=["mat-select-trigger","*"];function $j(n,e){if(n&1&&(m(0,"span",4),C(1),v()),n&2){let r=R();_(),ct(r.placeholder)}}function Wj(n,e){n&1&&pe(0)}function Gj(n,e){if(n&1&&(m(0,"span",11),C(1),v()),n&2){let r=R(2);_(),ct(r.triggerValue)}}function qj(n,e){if(n&1&&(m(0,"span",5),F(1,Wj,1,0)(2,Gj,2,1,"span",11),v()),n&2){let r=R();_(),Ge(r.customTrigger?1:2)}}function Yj(n,e){if(n&1){let r=De();m(0,"div",12,1),U("@transformPanel.done",function(i){ie(r);let o=R();return re(o._panelDoneAnimatingStream.next(i.toState))})("keydown",function(i){ie(r);let o=R();return re(o._handleKeydown(i))}),pe(2,1),v()}if(n&2){let r=R();Uw("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",r._getPanelTheme(),""),I("ngClass",r.panelClass)("@transformPanel","showing"),we("id",r.id+"-panel")("aria-multiselectable",r.multiple)("aria-label",r.ariaLabel||null)("aria-labelledby",r._getPanelAriaLabelledby())}}var Zj={transformPanelWrap:Pn("transformPanelWrap",[Zt("* => void",_D("@transformPanel",[yD()],{optional:!0}))]),transformPanel:Pn("transformPanel",[yn("void",rt({opacity:0,transform:"scale(1, 0.8)"})),Zt("void => showing",bn("120ms cubic-bezier(0, 0, 0.2, 1)",rt({opacity:1,transform:"scale(1, 1)"}))),Zt("* => void",bn("100ms linear",rt({opacity:0})))])};var SE=0,TE=new D("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let n=y(qe);return()=>n.scrollStrategies.reposition()}});function Qj(n){return()=>n.scrollStrategies.reposition()}var Kj=new D("MAT_SELECT_CONFIG"),Xj={provide:TE,deps:[qe],useFactory:Qj},Jj=new D("MatSelectTrigger"),Iv=class{constructor(e,r){this.source=e,this.value=r}},AE=(()=>{let e=class e{_scrollOptionIntoView(t){let i=this.options.toArray()[t];if(i){let o=this.panel.nativeElement,s=pD(t,this.options,this.optionGroups),a=i._getHostElement();t===0&&s===1?o.scrollTop=0:o.scrollTop=mD(a.offsetTop,a.offsetHeight,o.scrollTop,o.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(t){return new Iv(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;return this._required??((i=(t=this.ngControl)==null?void 0:t.control)==null?void 0:i.hasValidator(As.required))??!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,p,g,w,M){var T,Y,Z;this._viewportRuler=t,this._changeDetectorRef=i,this._elementRef=a,this._dir=l,this._parentFormField=u,this.ngControl=f,this._liveAnnouncer=w,this._defaultOptions=M,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=(z,Qe)=>z===Qe,this._uid=`mat-select-${SE++}`,this._triggerAriaLabelledBy=null,this._destroy=new A,this.stateChanges=new A,this.disableAutomaticLabeling=!0,this._onChange=()=>{},this._onTouched=()=>{},this._valueId=`mat-select-value-${SE++}`,this._panelDoneAnimatingStream=new A,this._overlayPanelClass=((T=this._defaultOptions)==null?void 0:T.overlayPanelClass)||"",this._focused=!1,this.controlType="mat-select",this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this._hideSingleSelectionIndicator=((Y=this._defaultOptions)==null?void 0:Y.hideSingleSelectionIndicator)??!1,this._multiple=!1,this.disableOptionCentering=((Z=this._defaultOptions)==null?void 0:Z.disableOptionCentering)??!1,this.ariaLabel="",this.panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto",this._initialized=new A,this.optionSelectionChanges=Un(()=>{let z=this.options;return z?z.changes.pipe(st(z),nt(()=>vt(...z.map(Qe=>Qe.onSelectionChange)))):this._initialized.pipe(nt(()=>this.optionSelectionChanges))}),this.openedChange=new $,this._openedStream=this.openedChange.pipe(ce(z=>z),X(()=>{})),this._closedStream=this.openedChange.pipe(ce(z=>!z),X(()=>{})),this.selectionChange=new $,this.valueChange=new $,this._trackedModal=null,this._skipPredicate=z=>this.panelOpen?!1:z.disabled,this.ngControl&&(this.ngControl.valueAccessor=this),(M==null?void 0:M.typeaheadDebounceInterval)!=null&&(this.typeaheadDebounceInterval=M.typeaheadDebounceInterval),this._errorStateTracker=new Ms(s,f,d,c,this.stateChanges),this._scrollStrategyFactory=g,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(p)||0,this.id=this.id}ngOnInit(){this._selectionModel=new bu(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(qi(),xe(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen)),this._viewportRuler.change().pipe(xe(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(xe(this._destroy)).subscribe(t=>{t.added.forEach(i=>i.select()),t.removed.forEach(i=>i.deselect())}),this.options.changes.pipe(st(null),xe(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=`${this.id}-panel`;this._trackedModal&&Tu(this._trackedModal,"aria-owns",i),Zg(t,"aria-owns",i),this._trackedModal=t}_clearFromModal(){if(!this._trackedModal)return;let t=`${this.id}-panel`;Tu(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&&!ft(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&&!ft(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(Ue(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(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 Ya?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 Su(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(xe(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(xe(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(bs),h(Ne),h(k),h(Ru),h(P),h(St,8),h(Fn,8),h(hl,8),h(pl,8),h(Bi,10),Xn("tabindex"),h(TE),h(iD),h(Kj,8))},e.\u0275cmp=j({type:e,selectors:[["mat-select"]],contentQueries:function(i,o,s){if(i&1&&(lt(s,Jj,5),lt(s,Nu,5),lt(s,av,5)),i&2){let a;oe(a=se())&&(o.customTrigger=a.first),oe(a=se())&&(o.options=a),oe(a=se())&&(o.optionGroups=a)}},viewQuery:function(i,o){if(i&1&&(Re(Bj,5),Re(Uj,5),Re(zg,5)),i&2){let s;oe(s=se())&&(o.trigger=s.first),oe(s=se())&&(o.panel=s.first),oe(s=se())&&(o._overlayDir=s.first)}},hostAttrs:["role","combobox","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(i,o){i&1&&U("keydown",function(a){return o._handleKeydown(a)})("focus",function(){return o._onFocus()})("blur",function(){return o._onBlur()}),i&2&&(we("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()),le("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",ne],disableRipple:[2,"disableRipple","disableRipple",ne],tabIndex:[2,"tabIndex","tabIndex",t=>t==null?0:ri(t)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",ne],placeholder:"placeholder",required:[2,"required","required",ne],multiple:[2,"multiple","multiple",ne],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",ne],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",ri],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],standalone:!0,features:[ze([{provide:fl,useExisting:e},{provide:sv,useExisting:e}]),Fe,$e,Ae],ngContentSelectors:Hj,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=De();Je(zj),m(0,"div",2,0),U("click",function(){return ie(s),re(o.open())}),m(3,"div",3),F(4,$j,2,1,"span",4)(5,qj,3,1,"span",5),v(),m(6,"div",6)(7,"div",7),Kn(),m(8,"svg",8),O(9,"path",9),v()()()(),F(10,Yj,3,9,"ng-template",10),U("backdropClick",function(){return ie(s),re(o.close())})("attach",function(){return ie(s),re(o._onAttached())})("detach",function(){return ie(s),re(o.close())})}if(i&2){let s=Et(1);_(3),we("id",o._valueId),_(),Ge(o.empty?4:5),_(6),I("cdkConnectedOverlayPanelClass",o._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",o._scrollStrategy)("cdkConnectedOverlayOrigin",o._preferredOverlayOrigin||s)("cdkConnectedOverlayOpen",o.panelOpen)("cdkConnectedOverlayPositions",o._positions)("cdkConnectedOverlayWidth",o._overlayWidth)}},dependencies:[Ya,zg,es],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, var(--mat-app-on-surface));font-family:var(--mat-select-trigger-text-font, var(--mat-app-body-large-font));line-height:var(--mat-select-trigger-text-line-height, var(--mat-app-body-large-line-height));font-size:var(--mat-select-trigger-text-size, var(--mat-app-body-large-size));font-weight:var(--mat-select-trigger-text-weight, var(--mat-app-body-large-weight));letter-spacing:var(--mat-select-trigger-text-tracking, var(--mat-app-body-large-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, var(--mat-app-error))}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color, var(--mat-app-on-surface-variant))}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color, var(--mat-app-primary))}.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, var(--mat-app-surface-container))}.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, var(--mat-app-on-surface-variant))}._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:[Zj.transformPanel]},changeDetection:0});let n=e;return n})();var kE=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({providers:[Xj],imports:[ai,hi,lv,Se,hr,ho,lv,Se]});let n=e;return n})();function t2(n,e){if(n&1&&(m(0,"mat-option",19),C(1),v()),n&2){let r=e.$implicit;I("value",r.id),_(),Me(" ",r.name," ")}}function n2(n,e){if(n&1){let r=De();m(0,"div",9)(1,"mat-form-field",16)(2,"mat-label")(3,"uds-translate"),C(4,"Authenticator"),v()(),m(5,"mat-select",17),U("selectionChange",function(i){ie(r);let o=R();return re(o.changeAuth(i.value))}),F(6,t2,2,2,"mat-option",18),v()()()}if(n&2){let r=R();_(5),I("value",r.auths[0].id),_(),I("ngForOf",r.auths)}}var Mv=(()=>{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(ke))},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&&(m(0,"form",0),U("ngSubmit",function(){return o.launch()}),O(1,"input",1)(2,"input",2)(3,"input",3),m(4,"div",4)(5,"div",5),O(6,"img",6),v(),m(7,"div",7),C(8),v(),m(9,"div",8)(10,"div",9)(11,"mat-form-field")(12,"mat-label")(13,"uds-translate"),C(14,"Username"),v()(),O(15,"input",10),v()(),m(16,"div",9)(17,"mat-form-field")(18,"mat-label")(19,"uds-translate"),C(20,"Password"),v()(),O(21,"input",11),v()(),F(22,n2,7,2,"div",12),m(23,"div",13)(24,"button",14)(25,"uds-translate"),C(26,"Login"),v()()()(),O(27,"div",15),ni(28,"safeHtml"),v()()),i&2&&(_(6),I("src",o.api.staticURL("modern/img/login-img.png"),ht),_(2),Me(" ",o.title," "),_(14),I("ngIf",o.auths.length>1),_(5),I("innerHTML",ii(28,4,o.api.config.site_information),ei))},dependencies:[It,Mt,Os,ks,Fn,pi,Cr,mi,xr,AE,Nu,He,br],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 i2(n,e){if(n&1){let r=De();m(0,"div",6),U("click",function(){let i=ie(r).$implicit,o=R();return re(o.api.download(i.url))}),m(1,"div",7),O(2,"img",8),v(),m(3,"div",9),C(4),v(),m(5,"div",10),C(6),v()()}if(n&2){let r=e.$implicit,t=R();jt(t.css(r)),_(2),I("src",t.img(r.name),ht),_(2),um(" ",t.legacy(r)," ",r.name," (",r.url.split(".").pop(),") "),_(2),Me(" ",r.description," ")}}var OE=(()=>{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(ke))},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&&(m(0,"div",0)(1,"div",1)(2,"div",2)(3,"h1")(4,"uds-translate"),C(5,"UDS Client"),v()()()(),m(6,"div",3),F(7,i2,7,7,"div",4),v(),m(8,"div",5)(9,"ul")(10,"li")(11,"uds-translate"),C(12,"Download UDS client for your platform"),v()()()()()),i&2&&(_(7),I("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 r2(n,e){if(n&1){let r=De();m(0,"div",6),U("click",function(){let i=ie(r).$implicit,o=R();return re(o.api.download(i.url))}),m(1,"div",7),O(2,"img",8),v(),O(3,"div",9),ni(4,"safeHtml"),O(5,"div",10),ni(6,"safeHtml"),v()}if(n&2){let r=e.$implicit,t=R();jt(t.css(r)),_(2),I("src",t.img(r.name),ht),_(),I("innerHTML",ii(4,5,r.name),ei),_(2),I("innerHTML",ii(6,7,r.description),ei)}}var RE=(()=>{let e=class e{constructor(t){this.api=t,this.actors=[]}ngOnInit(){this.actors=[];let t=[];for(let i of this.api.actors)i.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.legacy&&i.push("legacy"),i}};e.\u0275fac=function(i){return new(i||e)(h(ke))},e.\u0275cmp=j({type:e,selectors:[["uds-downloads"]],decls:13,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&&(m(0,"div",0)(1,"div",1)(2,"div",2)(3,"h1")(4,"uds-translate"),C(5,"Downloads"),v()()()(),m(6,"div",3),F(7,r2,7,9,"div",4),v(),m(8,"div",5)(9,"ul")(10,"li")(11,"uds-translate"),C(12,"Always download the UDS actor matching your platform"),v()()()()()),i&2&&(_(7),I("ngForOf",o.actors))},dependencies:[It,He,br],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 o2=0,Sv=new D("CdkAccordion"),NE=(()=>{let e=class e{constructor(){this._stateChanges=new A,this._openCloseAllActions=new A,this.id=`cdk-accordion-${o2++}`,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",ne]},exportAs:["cdkAccordion"],standalone:!0,features:[ze([{provide:Sv,useExisting:e}]),Fe,$e]});let n=e;return n})(),s2=0,PE=(()=>{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=me.EMPTY,this.closed=new $,this.opened=new $,this.destroyed=new $,this.expandedChange=new $,this.id=`cdk-accordion-child-${s2++}`,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(Sv,12),h(Ne),h(yu))},e.\u0275dir=N({type:e,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:[2,"expanded","expanded",ne],disabled:[2,"disabled","disabled",ne]},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],standalone:!0,features:[ze([{provide:Sv,useValue:void 0}]),Fe]});let n=e;return n})(),FE=(()=>{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 a2=["body"],l2=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],c2=["mat-expansion-panel-header","*","mat-action-row"];function d2(n,e){}var u2=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],h2=["mat-panel-title","mat-panel-description","*"];function f2(n,e){if(n&1&&(m(0,"span",1),Kn(),m(1,"svg",2),O(2,"path",3),v()()),n&2){let r=R();I("@indicatorRotate",r._getExpandedState())}}var Tv=new D("MAT_ACCORDION"),LE="225ms cubic-bezier(0.4,0.0,0.2,1)",VE={indicatorRotate:Pn("indicatorRotate",[yn("collapsed, void",rt({transform:"rotate(0deg)"})),yn("expanded",rt({transform:"rotate(180deg)"})),Zt("expanded <=> collapsed, void => collapsed",bn(LE))]),bodyExpansion:Pn("bodyExpansion",[yn("collapsed, void",rt({height:"0px",visibility:"hidden"})),yn("expanded",rt({height:"*",visibility:""})),Zt("expanded <=> collapsed, void => collapsed",bn(LE))])},BE=new D("MAT_EXPANSION_PANEL"),p2=(()=>{let e=class e{constructor(t,i){this._template=t,this._expansionPanel=i}};e.\u0275fac=function(i){return new(i||e)(h(mt),h(BE,8))},e.\u0275dir=N({type:e,selectors:[["ng-template","matExpansionPanelContent",""]],standalone:!0});let n=e;return n})(),m2=0,UE=new D("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),ml=(()=>{let e=class e extends PE{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-${m2++}`,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(st(null),ce(()=>this.expanded&&!this._portal),Ue(1)).subscribe(()=>{this._portal=new Nn(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;!jE(t)&&!this._animationsDisabled&&this._body&&((i=this._body)==null||i.nativeElement.setAttribute("inert",""))}_animationDone(t){jE(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(Tv,12),h(Ne),h(yu),h(at),h(W),h(We,8),h(UE,8))},e.\u0275cmp=j({type:e,selectors:[["mat-expansion-panel"]],contentQueries:function(i,o,s){if(i&1&<(s,p2,5),i&2){let a;oe(a=se())&&(o._lazyContent=a.first)}},viewQuery:function(i,o){if(i&1&&Re(a2,5),i&2){let s;oe(s=se())&&(o._body=s.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(i,o){i&2&&le("mat-expanded",o.expanded)("_mat-animation-noopable",o._animationsDisabled)("mat-expansion-panel-spacing",o._hasSpacing())},inputs:{hideToggle:[2,"hideToggle","hideToggle",ne],togglePosition:"togglePosition"},outputs:{afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],standalone:!0,features:[ze([{provide:Tv,useValue:void 0},{provide:BE,useExisting:e}]),Fe,Ve,$e,Ae],ngContentSelectors:c2,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=De();Je(l2),pe(0),m(1,"div",1,0),U("@bodyExpansion.start",function(l){return ie(s),re(o._animationStarted(l))})("@bodyExpansion.done",function(l){return ie(s),re(o._animationDone(l))}),m(3,"div",2),pe(4,1),F(5,d2,0,0,"ng-template",3),v(),pe(6,2),v()}i&2&&(_(),I("@bodyExpansion",o._getExpandedState())("id",o.id),we("aria-labelledby",o._headerId),_(4),I("cdkPortalOutlet",o._portal))},dependencies:[io],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, var(--mat-app-surface));color:var(--mat-expansion-container-text-color, var(--mat-app-on-surface));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, var(--mat-app-body-large-font));font-size:var(--mat-expansion-container-text-size, var(--mat-app-body-large-size));font-weight:var(--mat-expansion-container-text-weight, var(--mat-app-body-large-weight));line-height:var(--mat-expansion-container-text-line-height, var(--mat-app-body-large-line-height));letter-spacing:var(--mat-expansion-container-text-tracking, var(--mat-app-body-large-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, var(--mat-app-outline))}.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:[VE.bodyExpansion]},changeDetection:0});let n=e;return n})();function jE(n){return n.fromState==="void"}var gl=(()=>{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=me.EMPTY,this.tabIndex=0;let d=t.accordion?t.accordion._stateChanges.pipe(ce(u=>!!(u.hideToggle||u.togglePosition))):ut;this.tabIndex=parseInt(c||"")||0,this._parentChangeSubscription=vt(t.opened,t.closed,d,t._inputChanges.pipe(ce(u=>!!(u.hideToggle||u.disabled||u.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),t.closed.pipe(ce(()=>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:ft(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(ml,1),h(P),h(Yt),h(Ne),h(UE,8),h(We,8),Xn("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&&U("click",function(){return o._toggle()})("keydown",function(a){return o._keydown(a)}),i&2&&(we("id",o.panel._headerId)("tabindex",o.disabled?-1:o.tabIndex)("aria-controls",o._getPanelId())("aria-expanded",o._isExpanded())("aria-disabled",o.panel.disabled),da("height",o._getHeaderHeight()),le("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:ri(t)]},standalone:!0,features:[Fe,Ae],ngContentSelectors:h2,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(u2),m(0,"span",0),pe(1),pe(2,1),pe(3,2),v(),F(4,f2,3,1,"span",1)),i&2&&(le("mat-content-hide-toggle",!o._showToggle()),_(4),Ge(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, var(--mat-app-title-medium-font));font-size:var(--mat-expansion-header-text-size, var(--mat-app-title-medium-size));font-weight:var(--mat-expansion-header-text-weight, var(--mat-app-title-medium-weight));line-height:var(--mat-expansion-header-text-line-height, var(--mat-app-title-medium-line-height));letter-spacing:var(--mat-expansion-header-text-tracking, var(--mat-app-title-medium-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, var(--mat-app-surface))}}.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, var(--mat-app-on-surface))}.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, var(--mat-app-on-surface-variant))}.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, var(--mat-app-on-surface-variant));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, var(--mat-app-on-surface-variant));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:[VE.indicatorRotate]},changeDetection:0});let n=e;return n})(),sh=(()=>{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})(),ah=(()=>{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})(),lh=(()=>{let e=class e extends NE{constructor(){super(...arguments),this._ownHeaders=new Qn,this.hideToggle=!1,this.displayMode="default",this.togglePosition="after"}ngAfterContentInit(){this._headers.changes.pipe(st(this._headers)).subscribe(t=>{this._ownHeaders.reset(t.filter(i=>i.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new Cs(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=ln(e)))(o||e)}})(),e.\u0275dir=N({type:e,selectors:[["mat-accordion"]],contentQueries:function(i,o,s){if(i&1&<(s,gl,5),i&2){let a;oe(a=se())&&(o._headers=a)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(i,o){i&2&&le("mat-accordion-multi",o.multi)},inputs:{hideToggle:[2,"hideToggle","hideToggle",ne],displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],standalone:!0,features:[ze([{provide:Tv,useExisting:e}]),Fe,Ve]});let n=e;return n})(),zE=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({imports:[Se,FE,Li]});let n=e;return n})();var g2=["mat-menu-item",""],v2=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],b2=["mat-icon, [matMenuItemIcon]","*"];function y2(n,e){n&1&&(Kn(),m(0,"svg",2),O(1,"polygon",3),v())}var _2=["*"];function w2(n,e){if(n&1){let r=De();m(0,"div",0),U("keydown",function(i){ie(r);let o=R();return re(o._handleKeydown(i))})("click",function(){ie(r);let i=R();return re(i.closed.emit("click"))})("@transformMenu.start",function(i){ie(r);let o=R();return re(o._onAnimationStart(i))})("@transformMenu.done",function(i){ie(r);let o=R();return re(o._onAnimationDone(i))}),m(1,"div",1),pe(2),v()()}if(n&2){let r=R();jt(r._classList),I("id",r.panelId)("@transformMenu",r._panelAnimationState),we("aria-label",r.ariaLabel||null)("aria-labelledby",r.ariaLabelledby||null)("aria-describedby",r.ariaDescribedby||null)}}var kv=new D("MAT_MENU_PANEL"),fo=(()=>{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",bn("120ms cubic-bezier(0, 0, 0.2, 1)",rt({opacity:1,transform:"scale(1)"}))),Zt("* => void",bn("100ms 25ms linear",rt({opacity:0})))]),fadeInItems:Pn("fadeInItems",[yn("showing",rt({opacity:1})),Zt("void => *",[rt({opacity:0}),bn("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},xZ=ch.fadeInItems,DZ=ch.transformMenu,x2=0,D2=new D("mat-menu-default-options",{providedIn:"root",factory:E2});function E2(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}var Dr=(()=>{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=x({},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=null,this._directDescendantItems=new Qn,this._classList={},this._panelAnimationState="void",this._animationDone=new A,this.closed=new $,this.close=this.closed,this.panelId=`mat-menu-panel-${x2++}`,this._injector=y(_e),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 Cs(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(st(this._directDescendantItems),nt(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(st(this._directDescendantItems),nt(i=>vt(...i.map(o=>o._hovered))))}addItem(t){}removeItem(t){}_handleKeydown(t){let i=t.keyCode,o=this._keyManager;switch(i){case 27:ft(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=$t(()=>{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){if(this._baseElevation===null){let a=typeof getComputedStyle=="function"?getComputedStyle(this._elementRef.nativeElement):null,l=(a==null?void 0:a.getPropertyValue("--mat-menu-base-elevation-level"))||"8";this._baseElevation=parseInt(l)}let i=Math.min(this._baseElevation+t,24),o=`${this._elevationPrefix}${i}`,s=Object.keys(this._classList).find(a=>a.startsWith(this._elevationPrefix));if(!s||s===this._previousElevation){let a=x({},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=ue(x({},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(st(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(D2),h(Ne))},e.\u0275cmp=j({type:e,selectors:[["mat-menu"]],contentQueries:function(i,o,s){if(i&1&&(lt(s,C2,5),lt(s,fo,5),lt(s,fo,4)),i&2){let a;oe(a=se())&&(o.lazyContent=a.first),oe(a=se())&&(o._allItems=a),oe(a=se())&&(o.items=a)}},viewQuery:function(i,o){if(i&1&&Re(mt,5),i&2){let s;oe(s=se())&&(o.templateRef=s.first)}},hostVars:3,hostBindings:function(i,o){i&2&&we("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",ne],hasBackdrop:[2,"hasBackdrop","hasBackdrop",t=>t==null?null:ne(t)],panelClass:[0,"class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],standalone:!0,features:[ze([{provide:kv,useExisting:e}]),Fe,Ae],ngContentSelectors:_2,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,w2,3,7,"ng-template"))},styles:['mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;outline:0}.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, var(--mat-app-label-large-font));line-height:var(--mat-menu-item-label-text-line-height, var(--mat-app-label-large-line-height));font-size:var(--mat-menu-item-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mat-menu-item-label-text-tracking, var(--mat-app-label-large-tracking));font-weight:var(--mat-menu-item-label-text-weight, var(--mat-app-label-large-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, var(--mat-app-corner-extra-small));background-color:var(--mat-menu-container-color, var(--mat-app-surface-container));will-change:transform,opacity}.mat-mdc-menu-panel.ng-animating{pointer-events:none}.mat-mdc-menu-panel.ng-animating:has(.mat-mdc-menu-content:empty){display:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-mdc-menu-panel .mat-divider{color:var(--mat-menu-divider-color, var(--mat-app-surface-variant));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;min-height:48px}[dir=rtl] .mat-mdc-menu-item{padding-right:var(--mat-menu-item-leading-spacing);padding-left:var(--mat-menu-item-trailing-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]){padding-right:var(--mat-menu-item-with-icon-leading-spacing);padding-left:var(--mat-menu-item-with-icon-trailing-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, var(--mat-app-on-surface))}.mat-mdc-menu-item .mat-icon-no-color,.mat-mdc-menu-item .mat-mdc-menu-submenu-icon{color:var(--mat-menu-item-icon-color, var(--mat-app-on-surface-variant))}.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:focus{outline: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);transform-origin:center}.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:[ch.transformMenu,ch.fadeInItems]},changeDetection:0});let n=e;return n})(),$E=new D("mat-menu-scroll-strategy",{providedIn:"root",factory:()=>{let n=y(qe);return()=>n.scrollStrategies.reposition()}});function I2(n){return()=>n.scrollStrategies.reposition()}var M2={provide:$E,deps:[qe],useFactory:I2},HE=mn({passive:!0});var dh=(()=>{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=me.EMPTY,this._hoverSubscription=me.EMPTY,this._menuCloseSubscription=me.EMPTY,this._changeDetectorRef=y(Ne),this._handleTouchStart=f=>{Ka(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 Dr?a:void 0,i.nativeElement.addEventListener("touchstart",this._handleTouchStart,HE)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,HE),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 Dr&&(t._startAnimation(),t._directDescendantItems.changes.pipe(xe(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 Dr?(i._resetAnimation(),i.lazyContent?i._animationDone.pipe(ce(s=>s.toState==="void"),Ue(1),xe(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 pr({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],p=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}p=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:p},{originX:s,originY:c,overlayX:f,overlayY:a,offsetY:p},{originX:o,originY:d,overlayX:u,overlayY:l,offsetY:-p},{originX:s,originY:d,overlayX:f,overlayY:l,offsetY:-p}])}_menuClosingActions(){let t=this._overlayRef.backdropClick(),i=this._overlayRef.detachments(),o=this._parentMaterialMenu?this._parentMaterialMenu.closed:H(),s=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(ce(a=>a!==this._menuItemInstance),ce(()=>this._menuOpen)):H();return vt(t,o,s,i)}_handleMousedown(t){Qa(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(ce(t=>t===this._menuItemInstance&&!t.disabled),oc(0,$s)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof Dr&&this.menu._isAnimating?this.menu._animationDone.pipe(Ue(1),oc(0,$s),xe(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(t){return(!this._portal||this._portal.templateRef!==t.templateRef)&&(this._portal=new Nn(t.templateRef,this._viewContainerRef)),this._portal}};e.\u0275fac=function(i){return new(i||e)(h(qe),h(P),h(at),h($E),h(kv,8),h(fo,10),h(St,8),h(Yt),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&&U("click",function(a){return o._handleClick(a)})("mousedown",function(a){return o._handleMousedown(a)})("keydown",function(a){return o._handleKeydown(a)}),i&2&&we("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})(),WE=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({providers:[M2],imports:[ai,el,Se,hi,hr,Se]});let n=e;return n})();var S2=["tooltip"],ZE=20;var QE=new D("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{let n=y(qe);return()=>n.scrollStrategies.reposition({scrollThrottle:ZE})}});function T2(n){return()=>n.scrollStrategies.reposition({scrollThrottle:ZE})}var A2={provide:QE,deps:[qe],useFactory:T2};function k2(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}var O2=new D("mat-tooltip-default-options",{providedIn:"root",factory:k2});var qE="tooltip-panel",YE=mn({passive:!0}),R2=8,N2=8,P2=24,F2=200,KE=(()=>{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=li(t),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(t){let i=li(t);this._disabled!==i&&(this._disabled=i,i?this.hide(0):this._setupPointerEnterEventsIfNeeded(),this._syncAriaDescription(this.message))}get showDelay(){return this._showDelay}set showDelay(t){this._showDelay=Ri(t)}get hideDelay(){return this._hideDelay}set hideDelay(t){this._hideDelay=Ri(t),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(t){let i=this._message;this._message=t!=null?String(t).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage()),this._syncAriaDescription(i)}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,p,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=p,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._tooltipComponent=L2,this._viewportMargin=8,this._cssClassPrefix="mat-mdc",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._touchstartTimeout=null,this._destroyed=new A,this._injector=y(_e),this._scrollStrategy=u,this._document=g,p&&(this._showDelay=p.showDelay,this._hideDelay=p.hideDelay,p.position&&(this.position=p.position),p.positionAtOrigin&&(this.positionAtOrigin=p.positionAtOrigin),p.touchGestures&&(this.touchGestures=p.touchGestures),p.tooltipClass&&(this.tooltipClass=p.tooltipClass)),f.change.pipe(xe(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),this._viewportMargin=R2}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(xe(this._destroyed)).subscribe(t=>{t?t==="keyboard"&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){let t=this._elementRef.nativeElement;this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([i,o])=>{t.removeEventListener(i,o,YE)}),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 fr(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(xe(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(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(i);return o.positionChanges.pipe(xe(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:`${this._cssClassPrefix}-${qE}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(xe(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(xe(this._destroyed)).subscribe(()=>{var a;return(a=this._tooltipInstance)==null?void 0:a._handleBodyInteraction()}),this._overlayRef.keydownEvents().pipe(xe(this._destroyed)).subscribe(a=>{this._isTooltipVisible()&&a.keyCode===27&&!ft(a)&&(a.preventDefault(),a.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),(s=this._defaultOptions)!=null&&s.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(t){let i=t.getConfig().positionStrategy,o=this._getOrigin(),s=this._getOverlayPosition();i.withPositions([this._addOffset(x(x({},o.main),s.main)),this._addOffset(x(x({},o.fallback),s.fallback))])}_addOffset(t){let i=N2,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(),$t(()=>{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=`${this._cssClassPrefix}-${qE}-`;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;let i=(a=t.targetTouches)==null?void 0:a[0],o=i?{x:i.clientX,y:i.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),this._touchstartTimeout&&clearTimeout(this._touchstartTimeout);let s=500;this._touchstartTimeout=setTimeout(()=>{this._touchstartTimeout=null,this.show(void 0,o)},this._defaultOptions.touchLongPressShowDelay??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=()=>{this._touchstartTimeout&&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,YE)})}_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"}}_syncAriaDescription(t){this._ariaDescriptionPending||(this._ariaDescriptionPending=!0,this._ariaDescriber.removeDescription(this._elementRef.nativeElement,t,"tooltip"),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriptionPending=!1,this.message&&!this.disabled&&this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}};e.\u0275fac=function(i){return new(i||e)(h(qe),h(P),h(vs),h(at),h(k),h(ye),h(eD),h(Yt),h(QE),h(St),h(O2,8),h(W))},e.\u0275dir=N({type:e,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(i,o){i&2&&le("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})(),L2=(()=>{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>P2&&t.width>=F2}_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(We,8))},e.\u0275cmp=j({type:e,selectors:[["mat-tooltip-component"]],viewQuery:function(i,o){if(i&1&&Re(S2,7),i&2){let s;oe(s=se())&&(o._tooltip=s.first)}},hostAttrs:["aria-hidden","true"],hostBindings:function(i,o){i&1&&U("mouseleave",function(a){return o._handleMouseLeave(a)})},standalone:!0,features:[Ae],decls:4,vars:4,consts:[["tooltip",""],[1,"mdc-tooltip","mat-mdc-tooltip",3,"animationend","ngClass"],[1,"mat-mdc-tooltip-surface","mdc-tooltip__surface"]],template:function(i,o){if(i&1){let s=De();m(0,"div",1,0),U("animationend",function(l){return ie(s),re(o._handleAnimationEnd(l))}),m(2,"div",2),C(3),v()()}i&2&&(le("mdc-tooltip--multiline",o._isMultiline),I("ngClass",o.tooltipClass),_(3),ct(o.message))},dependencies:[es],styles:['.mat-mdc-tooltip{position:relative;transform:scale(0);display:inline-flex}.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-surface{word-break:normal;overflow-wrap:anywhere;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center;will-change:transform,opacity;background-color:var(--mdc-plain-tooltip-container-color, var(--mat-app-inverse-surface));color:var(--mdc-plain-tooltip-supporting-text-color, var(--mat-app-inverse-on-surface));border-radius:var(--mdc-plain-tooltip-container-shape, var(--mat-app-corner-extra-small));font-family:var(--mdc-plain-tooltip-supporting-text-font, var(--mat-app-body-small-font));font-size:var(--mdc-plain-tooltip-supporting-text-size, var(--mat-app-body-small-size));font-weight:var(--mdc-plain-tooltip-supporting-text-weight, var(--mat-app-body-small-weight));line-height:var(--mdc-plain-tooltip-supporting-text-line-height, var(--mat-app-body-small-line-height));letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking, var(--mat-app-body-small-tracking))}.mat-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}.mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:right}.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 XE=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({providers:[A2],imports:[ku,ai,hi,Se,Se,hr]});let n=e;return n})();function V2(n,e){if(n&1){let r=De();m(0,"button",14),U("click",function(){let i=ie(r).$implicit,o=R(2);return re(o.launch(i))}),m(1,"div",15),O(2,"img",9),C(3),v()()}if(n&2){let r=e.$implicit,t=R(2);_(2),I("src",t.getTransportIcon(r.id),ht),_(),Me(" ",r.name," ")}}function B2(n,e){if(n&1){let r=De();m(0,"button",14),U("click",function(){ie(r);let i=R(2);return re(i.action("release"))}),m(1,"i",16),C(2,"delete"),v(),m(3,"uds-translate"),C(4," Release service"),v()()}}function U2(n,e){if(n&1){let r=De();m(0,"button",14),U("click",function(){ie(r);let i=R(2);return re(i.action("reset"))}),m(1,"i",16),C(2,"refresh"),v(),m(3,"uds-translate"),C(4," Reset service"),v()()}}function z2(n,e){if(n&1&&(m(0,"button",17)(1,"uds-translate"),C(2,"Connections"),v()()),n&2){R();let r=Et(2);I("matMenuTriggerFor",r)}}function H2(n,e){if(n&1&&(m(0,"button",17)(1,"uds-translate"),C(2,"Actions"),v()()),n&2){R();let r=Et(5);I("matMenuTriggerFor",r)}}function $2(n,e){if(n&1&&(m(0,"button",18)(1,"i",16),C(2,"menu"),v()()),n&2){R();let r=Et(9);I("matMenuTriggerFor",r)}}function W2(n,e){if(n&1){let r=De();m(0,"div")(1,"mat-menu",null,0),F(3,V2,4,2,"button",4),v(),m(4,"mat-menu",null,1),F(6,B2,5,0,"button",5)(7,U2,5,0,"button",5),v(),m(8,"mat-menu",null,2),F(10,z2,3,1,"button",6)(11,H2,3,1,"button",6),v(),m(12,"div",7)(13,"div",8),U("click",function(){ie(r);let i=R();return re(i.launch(null))}),O(14,"img",9),v(),m(15,"div",10)(16,"span",11),C(17),v()(),m(18,"div",12),F(19,$2,3,1,"button",13),v()()()}if(n&2){let r=R();_(3),I("ngForOf",r.service.transports),_(3),I("ngIf",r.service.allow_users_remove),_(),I("ngIf",r.service.allow_users_reset),_(3),I("ngIf",r.showTransportsMenu()),_(),I("ngIf",r.hasActions()),_(),I("ngClass",r.serviceClass)("matTooltipDisabled",r.serviceTooltip==="")("matTooltip",r.serviceTooltip),_(2),I("src",r.serviceImage,ht),_(2),I("ngClass",r.serviceNameClass),_(),ct(r.serviceName),_(2),I("ngIf",r.hasMenu())}}var JE=32,eI=(()=>{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>JE&&(t=t.substring(0,JE-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 Oe(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.calendar_denied;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 Oe(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(ke))},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,W2,20,12,"div",3),i&2&&I("ngIf",o.service.transports.length>0)},dependencies:[es,It,Mt,ND,Dr,fo,dh,KE,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 q2(n,e){if(n&1&&O(0,"uds-service",8),n&2){let r=e.$implicit;I("service",r)}}function Y2(n,e){if(n&1&&(m(0,"mat-expansion-panel",1)(1,"mat-expansion-panel-header",2)(2,"mat-panel-title")(3,"div",3),O(4,"img",4),C(5),v()(),m(6,"mat-panel-description",5),C(7),v()(),m(8,"div",6),F(9,q2,1,1,"uds-service",7),v()()),n&2){let r=R();I("expanded",r.expanded),_(),I("collapsedHeight","3rem")("expandedHeight","5rem"),_(3),I("src",r.groupImage,ht),_(),Me(" ",r.group.name,""),_(2),Me(" ",r.group.comments," "),_(2),I("ngForOf",r.sortedServices)}}var tI=(()=>{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(ke))},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,J2,38,4,"div",0),i&2&&I("ngIf",o.api.staffInfo)},dependencies:[It,Mt,lh,ml,gl,ah,sh,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 tV=["input"],iI=(()=>{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;vi(t.nativeElement,"keyup").pipe(ce(Boolean),Pr(600),qi(),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&&Re(tV,7),i&2){let s;oe(s=se())&&(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&&(m(0,"div",1)(1,"mat-form-field",2)(2,"mat-label")(3,"uds-translate"),C(4,"Filter"),v()(),O(5,"input",3,0),m(7,"i",4),C(8,"search"),v()()())},dependencies:[Cr,mi,yE,xr,He],styles:[".filter[_ngcontent-%COMP%]{margin-top:.5rem;display:flex;justify-content:flex-end;font-size:.8rem}"]});let n=e;return n})();function iV(n,e){if(n&1){let r=De();m(0,"uds-filter",3),U("updateEvent",function(i){ie(r);let o=R();return re(o.update(i))}),v()}}function rV(n,e){if(n&1&&O(0,"uds-services-group",4),n&2){let r=e.$implicit,t=e.index;I("services",r.services)("group",r.group)("expanded",t===0)}}function oV(n,e){if(n&1){let r=De();m(0,"uds-filter",3),U("updateEvent",function(i){ie(r);let o=R();return re(o.update(i))}),v()}}var Ov=class{constructor(e){this.group=e,this.services=[]}},rI=(()=>{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 Ov(o.group)),i.services.push(o)}),i!==null&&this.group.push(i)}};e.\u0275fac=function(i){return new(i||e)(h(ke))},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,iV,1,0,"uds-filter",0),m(1,"div",1)(2,"mat-accordion"),F(3,rV,1,3,"uds-services-group",2),v()(),F(4,oV,1,0,"uds-filter",0),O(5,"uds-staff-info")),i&2&&(I("ngIf",o.servicesInformation.services.length>=o.api.config.min_for_filter&&o.api.config.site_filter_on_top),_(3),I("ngForOf",o.group),_(),I("ngIf",o.servicesInformation.services.length>=o.api.config.min_for_filter&&!o.api.config.site_filter_on_top))},dependencies:[It,Mt,lh,tI,nI,iI],styles:[".services-groups[_ngcontent-%COMP%]{padding-top:1rem}"]});let n=e;return n})();var oI=(()=>{let e=class e{constructor(t,i){this.api=t,this.route=i,this.error="",this.returnUrl="/"}ngOnInit(){return Oe(this,null,function*(){yield this.getError()})}getError(){return Oe(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(ke),h(Fi))},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&&(m(0,"div",0)(1,"div",1),Kn(),m(2,"svg",2),O(3,"path",3),v(),m(4,"svg",4),O(5,"path",5),v()(),hd(),m(6,"h1",6)(7,"uds-translate"),C(8,"An error has occurred"),v()(),m(9,"p",7),C(10),v(),m(11,"a",8)(12,"uds-translate"),C(13,"Return"),v()()()),i&2&&(_(10),Me(" ",o.error," "),_(),I("routerLink",o.returnUrl))},dependencies:[ms,RD,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 sI=(()=>{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(ke))},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&&(m(0,"div",0)(1,"h1"),C(2),v(),m(3,"h3")(4,"a",1),C(5),v()(),m(6,"h4")(7,"uds-translate"),C(8,"You can access UDS Open Source code at"),v(),C(9,"\xA0"),m(10,"a",2),C(11,"OpenUDS github repository"),v()(),m(12,"div",3)(13,"h2")(14,"uds-translate"),C(15,"UDS has been developed using these components:"),v()(),m(16,"ul")(17,"li")(18,"a",4),C(19,"Python"),v()(),m(20,"li")(21,"a",5),C(22,"TypeScript"),v()(),m(23,"li")(24,"a",6),C(25,"Django"),v()(),m(26,"li")(27,"a",7),C(28,"Angular"),v()(),m(29,"li")(30,"a",8),C(31,"Guacamole"),v()(),m(32,"li")(33,"a",9),C(34,"weasyprint"),v()(),m(35,"li")(36,"a",10),C(37,"Crystal project icons"),v()(),m(38,"li")(39,"a",11),C(40,"Flattr Icons"),v()()(),m(41,"p")(42,"small"),C(43,"* "),m(44,"uds-translate"),C(45,"If you find that we missed any component, please let us know"),v()()()()()),i&2&&(_(2),dm("Universal Desktop Services ",o.api.config.version," build ",o.api.config.version_stamp,""),_(3),Me(" \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 aI=(()=>{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(ke))},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&&(m(0,"div",0)(1,"div",1)(2,"h1")(3,"uds-translate"),C(4,"UDS Service launcher"),v()(),m(5,"h4")(6,"uds-translate"),C(7,"The service you have requested is being launched."),v()(),m(8,"h5")(9,"uds-translate"),C(10,"Please, note that reloading this page will not work."),v()(),m(11,"h5")(12,"uds-translate"),C(13,"To relaunch service, you will have to do it from origin."),v()(),m(14,"h6")(15,"uds-translate"),C(16,"If the service does not launchs automatically, probably you dont have the UDS Client installed"),v()(),m(17,"h6")(18,"uds-translate"),C(19,"You can obtain it from the"),v(),C(20,"\xA0"),m(21,"a",2)(22,"uds-translate"),C(23,"UDS Client download page"),v()()()()())},dependencies:[ms,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 sV=["input"],aV=["label"],lV=["*"],cV=new D("mat-checkbox-default-options",{providedIn:"root",factory:cI});function cI(){return{color:"accent",clickAction:"check-indeterminate",disabledInteractive:!1}}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||{}),dV={provide:Xu,useExisting:xi(()=>uh),multi:!0},Rv=class{},uV=0,lI=cI(),uh=(()=>{let e=class e{focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(t){let i=new Rv;return i.source=this,i.checked=t,i}_getAnimationTargetElement(){var t;return(t=this._inputElement)==null?void 0:t.nativeElement}get inputId(){return`${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||lI,this.color=this._options.color||lI.color,this.tabIndex=parseInt(s)||0,this.id=this._uniqueId=`mat-mdc-checkbox-${++uV}`,this.disabledInteractive=(l==null?void 0:l.disabledInteractive)??!1}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&&this.disabledInteractive||!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),Xn("tabindex"),h(We,8),h(cV,8))},e.\u0275cmp=j({type:e,selectors:[["mat-checkbox"]],viewQuery:function(i,o){if(i&1&&(Re(sV,5),Re(aV,5),Re(lo,5)),i&2){let s;oe(s=se())&&(o._inputElement=s.first),oe(s=se())&&(o._labelElement=s.first),oe(s=se())&&(o.ripple=s.first)}},hostAttrs:[1,"mat-mdc-checkbox"],hostVars:16,hostBindings:function(i,o){i&2&&(un("id",o.id),we("tabindex",null)("aria-label",null)("aria-labelledby",null),jt(o.color?"mat-"+o.color:"mat-accent"),le("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mdc-checkbox--disabled",o.disabled)("mat-mdc-checkbox-disabled",o.disabled)("mat-mdc-checkbox-checked",o.checked)("mat-mdc-checkbox-disabled-interactive",o.disabledInteractive))},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],id:"id",required:[2,"required","required",ne],labelPosition:"labelPosition",name:"name",value:"value",disableRipple:[2,"disableRipple","disableRipple",ne],tabIndex:[2,"tabIndex","tabIndex",t=>t==null?void 0:ri(t)],color:"color",disabledInteractive:[2,"disabledInteractive","disabledInteractive",ne],checked:[2,"checked","checked",ne],disabled:[2,"disabled","disabled",ne],indeterminate:[2,"indeterminate","indeterminate",ne]},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],standalone:!0,features:[ze([dV,{provide:ul,useExisting:e,multi:!0}]),Fe,$e,Ae],ngContentSelectors:lV,decls:15,vars:20,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=De();Je(),m(0,"div",3),U("click",function(l){return ie(s),re(o._preventBubblingFromLabel(l))}),m(1,"div",4,0)(3,"div",5),U("click",function(){return ie(s),re(o._onTouchTargetClick())}),v(),m(4,"input",6,1),U("blur",function(){return ie(s),re(o._onBlur())})("click",function(){return ie(s),re(o._onInputClick())})("change",function(l){return ie(s),re(o._onInteractionEvent(l))}),v(),O(6,"div",7),m(7,"div",8),Kn(),m(8,"svg",9),O(9,"path",10),v(),hd(),O(10,"div",11),v(),O(11,"div",12),v(),m(12,"label",13,2),pe(14),v()()}if(i&2){let s=Et(2);I("labelPosition",o.labelPosition),_(4),le("mdc-checkbox--selected",o.checked),I("checked",o.checked)("indeterminate",o.indeterminate)("disabled",o.disabled&&!o.disabledInteractive)("id",o.inputId)("required",o.required)("tabIndex",o.disabled&&!o.disabledInteractive?-1:o.tabIndex),we("aria-label",o.ariaLabel||null)("aria-labelledby",o.ariaLabelledby)("aria-describedby",o.ariaDescribedby)("aria-checked",o.indeterminate?"mixed":null)("aria-disabled",o.disabled&&o.disabledInteractive?!0:null)("name",o.name)("value",o.value),_(7),I("matRippleTrigger",s)("matRippleDisabled",o.disableRipple||o.disabled)("matRippleCentered",!0),_(),I("for",o.inputId)}},dependencies:[lo,vD],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, var(--mat-app-hover-state-layer-opacity));background-color:var(--mdc-checkbox-unselected-hover-state-layer-color, var(--mat-app-on-surface))}.mdc-checkbox:hover .mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color, var(--mat-app-on-surface))}.mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity));background-color:var(--mdc-checkbox-unselected-focus-state-layer-color, var(--mat-app-on-surface))}.mdc-checkbox .mdc-checkbox__native-control:focus~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-focus-state-layer-color, var(--mat-app-on-surface))}.mdc-checkbox:active .mdc-checkbox__native-control~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity));background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color, var(--mat-app-primary))}.mdc-checkbox:active .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color, var(--mat-app-primary))}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity));background-color:var(--mdc-checkbox-selected-hover-state-layer-color, var(--mat-app-primary))}.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, var(--mat-app-primary))}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity));background-color:var(--mdc-checkbox-selected-focus-state-layer-color, var(--mat-app-primary))}.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, var(--mat-app-primary))}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity));background-color:var(--mdc-checkbox-selected-pressed-state-layer-color, var(--mat-app-on-surface))}.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, var(--mat-app-on-surface))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control~.mdc-checkbox__ripple{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color, var(--mat-app-on-surface))}.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}.cdk-high-contrast-active .mdc-checkbox--disabled{opacity:.5}.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);-webkit-print-color-adjust:exact;color-adjust:exact;border-color:var(--mdc-checkbox-unselected-icon-color, var(--mat-app-on-surface-variant));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, var(--mat-app-primary));background-color:var(--mdc-checkbox-selected-icon-color, var(--mat-app-primary))}.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, var(--mat-app-on-surface));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, var(--mat-app-primary));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mat-app-primary))}.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, var(--mat-app-on-surface))}.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, var(--mat-app-primary));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mat-app-primary))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox:hover .mdc-checkbox__native-control~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color)}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{background-color:var(--mdc-checkbox-disabled-selected-icon-color);border-color:rgba(0,0,0,0)}.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, var(--mat-app-on-primary))}.cdk-high-contrast-active .mdc-checkbox__checkmark{color:CanvasText}.mdc-checkbox--disabled .mdc-checkbox__checkmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color, var(--mat-app-surface))}.cdk-high-contrast-active .mdc-checkbox--disabled .mdc-checkbox__checkmark,.cdk-high-contrast-active .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:CanvasText}.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, var(--mat-app-on-primary))}.cdk-high-contrast-active .mdc-checkbox__mixedmark{margin:0 1px}.mdc-checkbox--disabled .mdc-checkbox__mixedmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color, var(--mat-app-surface))}.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 label{cursor:pointer}.mat-mdc-checkbox .mat-internal-form-field{color:var(--mat-checkbox-label-text-color, var(--mat-app-on-surface));font-family:var(--mat-checkbox-label-text-font, var(--mat-app-body-medium-font));line-height:var(--mat-checkbox-label-text-line-height, var(--mat-app-body-medium-line-height));font-size:var(--mat-checkbox-label-text-size, var(--mat-app-body-medium-size));letter-spacing:var(--mat-checkbox-label-text-tracking, var(--mat-app-body-medium-tracking));font-weight:var(--mat-checkbox-label-text-weight, var(--mat-app-body-medium-weight))}.mat-mdc-checkbox.mat-mdc-checkbox-disabled.mat-mdc-checkbox-disabled-interactive{pointer-events:auto}.mat-mdc-checkbox.mat-mdc-checkbox-disabled.mat-mdc-checkbox-disabled-interactive input{cursor:default}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default;color:var(--mat-checkbox-disabled-label-color)}.mat-mdc-checkbox label:empty{display:none}.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 dI=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({imports:[uh,Se,Se]});let n=e;return n})();function fV(n,e){if(n&1&&(m(0,"div",6)(1,"mat-checkbox",14)(2,"uds-translate"),C(3,"Remember me for"),v(),C(4),v()()),n&2){let r=R();_(4),Me(" ",r.api.config.mfa.remember_device," ")}}function pV(n,e){n&1&&O(0,"input",15)}var uI=(()=>{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(ke))},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&&(m(0,"form",0),U("ngSubmit",function(){return o.launch()}),m(1,"div",1)(2,"div",2),O(3,"img",3),v(),m(4,"div",4)(5,"uds-translate"),C(6,"Login Verification"),v()(),m(7,"div",5)(8,"div",6)(9,"mat-form-field")(10,"mat-label"),C(11),v(),O(12,"input",7),v()(),F(13,fV,5,1,"div",8)(14,pV,1,0,"input",9),m(15,"div",10)(16,"button",11)(17,"uds-translate"),C(18,"Submit"),v()()()()()(),m(19,"div",12),O(20,"div",13),ni(21,"safeHtml"),v()),i&2&&(_(3),I("src",o.api.staticURL("modern/img/login-img.png"),ht),_(8),Me(" ",o.api.config.mfa.label," "),_(2),I("ngIf",o.api.config.mfa.remember_device!==""),_(),I("ngIf",o.api.config.mfa.remember_device===""),_(6),I("innerHtml",ii(21,5,o.api.config.mfa.html),ei))},dependencies:[Mt,Os,ks,Fn,pi,Cr,mi,xr,uh,He,br],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 mV=[{path:"",redirectTo:"services",pathMatch:"full"},{path:"services",component:rI,canActivate:[Ev]},{path:"login",component:Mv},{path:"login/:id",component:Mv},{path:"mfa",component:uI},{path:"client-download",component:OE},{path:"downloads",component:RE,canActivate:[Ev]},{path:"error/:id",component:oI},{path:"about",component:sI},{path:"ticket/launcher",component:aI},{path:"**",redirectTo:"services"}],hI=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({imports:[Ag.forRoot(mV,{}),Ag]});let n=e;return n})();function fI(n){return new S(3e3,!1)}function gV(){return new S(3100,!1)}function vV(){return new S(3101,!1)}function bV(n){return new S(3001,!1)}function yV(n){return new S(3003,!1)}function _V(n){return new S(3004,!1)}function wV(n,e){return new S(3005,!1)}function CV(){return new S(3006,!1)}function xV(){return new S(3007,!1)}function DV(n,e){return new S(3008,!1)}function EV(n){return new S(3002,!1)}function IV(n,e,r,t,i){return new S(3010,!1)}function MV(){return new S(3011,!1)}function SV(){return new S(3012,!1)}function TV(){return new S(3200,!1)}function AV(){return new S(3202,!1)}function kV(){return new S(3013,!1)}function OV(n){return new S(3014,!1)}function RV(n){return new S(3015,!1)}function NV(n){return new S(3016,!1)}function PV(n,e){return new S(3404,!1)}function FV(n){return new S(3502,!1)}function LV(n){return new S(3503,!1)}function jV(){return new S(3300,!1)}function VV(n){return new S(3504,!1)}function BV(n){return new S(3301,!1)}function UV(n,e){return new S(3302,!1)}function zV(n){return new S(3303,!1)}function HV(n,e){return new S(3400,!1)}function $V(n){return new S(3401,!1)}function WV(n){return new S(3402,!1)}function GV(n,e){return new S(3505,!1)}function Er(n){switch(n.length){case 0:return new vr;case 1:return n[0];default:return new tl(n)}}function MI(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,p)=>{let g=p,w=f;if(p!=="offset")switch(g=n.normalizePropertyName(g,i),w){case Pu:w=r.get(p);break;case fi:w=t.get(p);break;default:w=n.normalizeStyleValue(p,g,w,i);break}u.set(g,w)}),d||o.push(u),a=u,s=c}),i.length)throw FV(i);return o}function nb(n,e,r,t){switch(e){case"start":n.onStart(()=>t(r&&Nv(r,"start",n)));break;case"done":n.onDone(()=>t(r&&Nv(r,"done",n)));break;case"destroy":n.onDestroy(()=>t(r&&Nv(r,"destroy",n)));break}}function Nv(n,e,r){let t=r.totalTime,i=!!r.disabled,o=ib(n.element,n.triggerName,n.fromState,n.toState,e||n.phaseName,t??n.totalTime,i),s=n._data;return s!=null&&(o._data=s),o}function ib(n,e,r,t,i="",o=0,s){return{element:n,triggerName:e,fromState:r,toState:t,phaseName:i,totalTime:o,disabled:!!s}}function Xt(n,e,r){let t=n.get(e);return t||n.set(e,t=r),t}function pI(n){let e=n.indexOf(":"),r=n.substring(1,e),t=n.slice(e+1);return[r,t]}var qV=typeof document>"u"?null:document.documentElement;function rb(n){let e=n.parentNode||n.host||null;return e===qV?null:e}function YV(n){return n.substring(1,6)=="ebkit"}var po=null,mI=!1;function ZV(n){po||(po=QV()||{},mI=po.style?"WebkitAppearance"in po.style:!1);let e=!0;return po.style&&!YV(n)&&(e=n in po.style,!e&&mI&&(e="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in po.style)),e}function QV(){return typeof document<"u"?document.body:null}function SI(n,e){for(;e;){if(e===n)return!0;e=rb(e)}return!1}function TI(n,e,r){if(r)return Array.from(n.querySelectorAll(e));let t=n.querySelector(e);return t?[t]:[]}var ob=(()=>{let e=class e{validateStyleProperty(t){return ZV(t)}containsElement(t,i){return SI(t,i)}getParentElement(t){return rb(t)}query(t,i,o){return TI(t,i,o)}computeStyle(t,i,o){return o||""}animate(t,i,o,s,a,l=[],c){return new vr(o,s)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=E({token:e,factory:e.\u0275fac});let n=e;return n})(),cb=class cb{};cb.NOOP=new ob;var vo=cb,bo=class{};var KV=1e3,AI="{{",XV="}}",kI="ng-enter",Bv="ng-leave",hh="ng-trigger",vh=".ng-trigger",gI="ng-animating",Uv=".ng-animating";function Ui(n){if(typeof n=="number")return n;let e=n.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:zv(parseFloat(e[1]),e[2])}function zv(n,e){switch(e){case"s":return n*KV;default:return n}}function bh(n,e,r){return n.hasOwnProperty("duration")?n:JV(n,e,r)}function JV(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(fI(n)),{duration:0,delay:0,easing:""};i=zv(parseFloat(a[1]),a[2]);let l=a[3];l!=null&&(o=zv(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(gV()),a=!0),o<0&&(e.push(vV()),a=!0),a&&e.splice(l,0,fI(n))}return{duration:i,delay:o,easing:s}}function eB(n){return n.length?n[0]instanceof Map?n:n.map(e=>new Map(Object.entries(e))):[]}function gi(n,e,r){e.forEach((t,i)=>{let o=sb(i);r&&!r.has(i)&&r.set(i,n.style[o]),n.style[o]=t})}function go(n,e){e.forEach((r,t)=>{let i=sb(t);n.style[i]=""})}function vl(n){return Array.isArray(n)?n.length==1?n[0]:bD(n):n}function tB(n,e,r){let t=e.params||{},i=OI(n);i.length&&i.forEach(o=>{t.hasOwnProperty(o)||r.push(bV(o))})}var Hv=new RegExp(`${AI}\\s*(.+?)\\s*${XV}`,"g");function OI(n){let e=[];if(typeof n=="string"){let r;for(;r=Hv.exec(n);)e.push(r[1]);Hv.lastIndex=0}return e}function yl(n,e,r){let t=`${n}`,i=t.replace(Hv,(o,s)=>{let a=e[s];return a==null&&(r.push(yV(s)),a=""),a.toString()});return i==t?n:i}var nB=/-+([a-z0-9])/g;function sb(n){return n.replace(nB,(...e)=>e[1].toUpperCase())}function iB(n,e){return n===0||e===0}function rB(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,ab(n,a)))}}return e}function Kt(n,e,r){switch(e.type){case de.Trigger:return n.visitTrigger(e,r);case de.State:return n.visitState(e,r);case de.Transition:return n.visitTransition(e,r);case de.Sequence:return n.visitSequence(e,r);case de.Group:return n.visitGroup(e,r);case de.Animate:return n.visitAnimate(e,r);case de.Keyframes:return n.visitKeyframes(e,r);case de.Style:return n.visitStyle(e,r);case de.Reference:return n.visitReference(e,r);case de.AnimateChild:return n.visitAnimateChild(e,r);case de.AnimateRef:return n.visitAnimateRef(e,r);case de.Query:return n.visitQuery(e,r);case de.Stagger:return n.visitStagger(e,r);default:throw _V(e.type)}}function ab(n,e){return window.getComputedStyle(n)[e]}var oB=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"]),yh=class extends bo{normalizePropertyName(e,r){return sb(e)}normalizeStyleValue(e,r,t,i){let o="",s=t.toString().trim();if(oB.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(wV(e,t))}return s+o}};var _h="*";function sB(n,e){let r=[];return typeof n=="string"?n.split(/\s*,\s*/).forEach(t=>aB(t,r,e)):r.push(n),r}function aB(n,e,r){if(n[0]==":"){let l=lB(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(RV(n)),e;let i=t[1],o=t[2],s=t[3];e.push(vI(i,s));let a=i==_h&&s==_h;o[0]=="<"&&!a&&e.push(vI(s,i))}function lB(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 fh=new Set(["true","1"]),ph=new Set(["false","0"]);function vI(n,e){let r=fh.has(n)||ph.has(n),t=fh.has(e)||ph.has(e);return(i,o)=>{let s=n==_h||n==i,a=e==_h||e==o;return!s&&r&&typeof i=="boolean"&&(s=i?fh.has(n):ph.has(n)),!a&&t&&typeof o=="boolean"&&(a=o?fh.has(e):ph.has(e)),s&&a}}var RI=":self",cB=new RegExp(`s*${RI}s*,?`,"g");function NI(n,e,r,t){return new $v(n).build(e,r,t)}var bI="",$v=class{constructor(e){this._driver=e}build(e,r,t){let i=new Wv(r);return this._resetContextStyleTimingState(i),Kt(this,vl(e),i)}_resetContextStyleTimingState(e){e.currentQuerySelector=bI,e.collectedStyles=new Map,e.collectedStyles.set(bI,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(CV()),e.definitions.forEach(a=>{if(this._resetContextStyleTimingState(r),a.type==de.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==de.Transition){let l=this.visitTransition(a,r);t+=l.queryCount,i+=l.depCount,s.push(l)}else r.errors.push(xV())}),{type:de.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=>{OI(l).forEach(c=>{s.hasOwnProperty(c)||o.add(c)})})}),o.size&&r.errors.push(DV(e.name,[...o.values()]))}return{type:de.State,name:e.name,style:t,options:i?{params:i}:null}}visitTransition(e,r){r.queryCount=0,r.depCount=0;let t=Kt(this,vl(e.animation),r),i=sB(e.expr,r.errors);return{type:de.Transition,matchers:i,animation:t,queryCount:r.queryCount,depCount:r.depCount,options:mo(e.options)}}visitSequence(e,r){return{type:de.Sequence,steps:e.steps.map(t=>Kt(this,t,r)),options:mo(e.options)}}visitGroup(e,r){let t=r.currentTime,i=0,o=e.steps.map(s=>{r.currentTime=t;let a=Kt(this,s,r);return i=Math.max(i,r.currentTime),a});return r.currentTime=i,{type:de.Group,steps:o,options:mo(e.options)}}visitAnimate(e,r){let t=fB(e.timings,r.errors);r.currentAnimateTimings=t;let i,o=e.styles?e.styles:rt({});if(o.type==de.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=rt(c)}r.currentTime+=t.duration+t.delay;let l=this.visitStyle(s,r);l.isEmptyStep=a,i=l}return r.currentAnimateTimings=null,{type:de.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===fi?t.push(a):r.errors.push(EV(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(AI)>=0){o=!0;break}}}),{type:de.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(IV(l,d.startTime,d.endTime,o,i)),u=!1),o=d.startTime),u&&c.set(l,{startTime:o,endTime:i}),r.options&&tB(a,r.options,r.errors)})})}visitKeyframes(e,r){let t={type:de.Keyframes,styles:[],options:null};if(!r.currentAnimateTimings)return r.errors.push(MV()),t;let i=1,o=0,s=[],a=!1,l=!1,c=0,d=e.steps.map(T=>{let Y=this._makeStyleAst(T,r),Z=Y.offset!=null?Y.offset:hB(Y.styles),z=0;return Z!=null&&(o++,z=Y.offset=Z),l=l||z<0||z>1,a=a||z0&&o{let Z=f>0?Y==p?1:f*Y:s[Y],z=Z*M;r.currentTime=g+w.delay+z,w.duration=z,this._validateStyleAst(T,r),T.offset=Z,t.styles.push(T)}),t}visitReference(e,r){return{type:de.Reference,animation:Kt(this,vl(e.animation),r),options:mo(e.options)}}visitAnimateChild(e,r){return r.depCount++,{type:de.AnimateChild,options:mo(e.options)}}visitAnimateRef(e,r){return{type:de.AnimateRef,animation:this.visitReference(e.animation,r),options:mo(e.options)}}visitQuery(e,r){let t=r.currentQuerySelector,i=e.options||{};r.queryCount++,r.currentQuery=e;let[o,s]=dB(e.selector);r.currentQuerySelector=t.length?t+" "+o:o,Xt(r.collectedStyles,r.currentQuerySelector,new Map);let a=Kt(this,vl(e.animation),r);return r.currentQuery=null,r.currentQuerySelector=t,{type:de.Query,selector:o,limit:i.limit||0,optional:!!i.optional,includeSelf:s,animation:a,originalSelector:e.selector,options:mo(e.options)}}visitStagger(e,r){r.currentQuery||r.errors.push(kV());let t=e.timings==="full"?{duration:0,delay:0,easing:"full"}:bh(e.timings,r.errors,!0);return{type:de.Stagger,animation:Kt(this,vl(e.animation),r),timings:t,options:null}}};function dB(n){let e=!!n.split(/\s*,\s*/).find(r=>r==RI);return e&&(n=n.replace(cB,"")),n=n.replace(/@\*/g,vh).replace(/@\w+/g,r=>vh+"-"+r.slice(1)).replace(/:animating/g,Uv),[n,e]}function uB(n){return n?x({},n):null}var Wv=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 hB(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 fB(n,e){if(n.hasOwnProperty("duration"))return n;if(typeof n=="number"){let o=bh(n,e).duration;return Pv(o,0,"")}let r=n;if(r.split(/\s+/).some(o=>o.charAt(0)=="{"&&o.charAt(1)=="{")){let o=Pv(0,0,"");return o.dynamic=!0,o.strValue=r,o}let i=bh(r,e);return Pv(i.duration,i.delay,i.easing)}function mo(n){return n?(n=x({},n),n.params&&(n.params=uB(n.params))):n={},n}function Pv(n,e,r){return{duration:n,delay:e,easing:r}}function lb(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 _l=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()}},pB=1,mB=":enter",gB=new RegExp(mB,"g"),vB=":leave",bB=new RegExp(vB,"g");function PI(n,e,r,t,i,o=new Map,s=new Map,a,l,c=[]){return new Gv().buildKeyframes(n,e,r,t,i,o,s,a,l,c)}var Gv=class{buildKeyframes(e,r,t,i,o,s,a,l,c,d=[]){c=c||new _l;let u=new qv(e,r,c,i,o,d,[]);u.options=l;let f=l.delay?Ui(l.delay):0;u.currentTimeline.delayNextStep(f),u.currentTimeline.setStyles([s],null,u.errors,l),Kt(this,t,u);let p=u.timelines.filter(g=>g.containsAnimation());if(p.length&&a.size){let g;for(let w=p.length-1;w>=0;w--){let M=p[w];if(M.element===r){g=M;break}}g&&!g.allowOnlyTimelineStyles()&&g.setStyles([a],null,u.errors,l)}return p.length?p.map(g=>g.buildKeyframes()):[lb(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){for(let i of e){let o=i==null?void 0:i.delay;if(o){let s=typeof o=="number"?o:Ui(yl(o,(i==null?void 0:i.params)??{},r.errors));t.delayNextStep(s)}}}_visitSubInstructions(e,r,t){let o=r.currentTimeline.currentTime,s=t.duration!=null?Ui(t.duration):null,a=t.delay!=null?Ui(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),Kt(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==de.Style&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=wh);let s=Ui(o.delay);i.delayNextStep(s)}e.steps.length&&(e.steps.forEach(s=>Kt(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?Ui(e.options.delay):0;e.steps.forEach(s=>{let a=r.createSubContext(e.options);o&&a.delayNextStep(o),Kt(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?yl(t,r.params,r.errors):t;return bh(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==de.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?Ui(i.delay):0;o&&(r.previousNode.type===de.Style||t==0&&r.currentTimeline.hasCurrentStyleProperties())&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=wh);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),Kt(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;Kt(this,e.animation,r),r.previousNode=e,t.currentStaggerTime=i.currentTime-u+(i.startTime-t.currentTimeline.startTime)}},wh={},qv=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=wh,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new Ch(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=Ui(t.duration)),t.delay!=null&&(i.delay=Ui(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]=yl(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=wh,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,r,t){let i={duration:r??e.duration,delay:this.currentTimeline.currentTime+(t??0)+e.delay,easing:""},o=new Yv(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(gB,"."+this._enterClassName),e=e.replace(bB,"."+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(OV(r)),a}},Ch=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+=pB,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||fi),this._currentKeyframe.set(r,fi);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,r,t,i){r&&this._previousKeyframe.set("easing",r);let o=i&&i.params||{},s=yB(e,this._globalTimelineStyles);for(let[a,l]of s){let c=yl(l,o,t);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??fi),this._updateStyle(a,c)}}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===Pu?e.add(u):d===fi&&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 lb(this.element,i,o,s,this.duration,this.startTime,this.easing,!1)}},Yv=class extends Ch{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",yI(a)),o.push(c);let d=e.length-1;for(let u=1;u<=d;u++){let f=new Map(e[u]),p=f.get("offset"),g=r+p*t;f.set("offset",yI(g/s)),o.push(f)}t=s,r=0,i="",e=o}return lb(this.element,e,this.preStyleProps,this.postStyleProps,t,r,i,!0)}};function yI(n,e=3){let r=Math.pow(10,e-1);return Math.round(n*r)/r}function yB(n,e){let r=new Map,t;return n.forEach(i=>{if(i==="*"){t??=e.keys();for(let o of t)r.set(o,fi)}else for(let[o,s]of i)r.set(o,s)}),r}function _I(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 Fv={},xh=class{constructor(e,r,t){this._triggerName=e,this.ast=r,this._stateStyles=t}match(e,r,t,i){return _B(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 ot;let u=[],f=this.ast.options&&this.ast.options.params||Fv,p=a&&a.params||Fv,g=this.buildStyles(t,p,u),w=l&&l.params||Fv,M=this.buildStyles(i,w,u),T=new Set,Y=new Map,Z=new Map,z=i==="void",Qe={params:FI(w,f),delay:(ot=this.ast.options)==null?void 0:ot.delay},Be=d?[]:PI(e,r,this.ast.animation,o,s,g,M,Qe,c,u),Te=0;return Be.forEach(Ut=>{Te=Math.max(Ut.duration+Ut.delay,Te)}),u.length?_I(r,this._triggerName,t,i,z,g,M,[],[],Y,Z,Te,u):(Be.forEach(Ut=>{let wn=Ut.element,db=Xt(Y,wn,new Set);Ut.preStyleProps.forEach(Ir=>db.add(Ir));let Ls=Xt(Z,wn,new Set);Ut.postStyleProps.forEach(Ir=>Ls.add(Ir)),wn!==r&&T.add(wn)}),_I(r,this._triggerName,t,i,z,g,M,Be,[...T.values()],Y,Z,Te))}};function _B(n,e,r,t,i){return n.some(o=>o(e,r,t,i))}function FI(n,e){let r=x({},e);return Object.entries(n).forEach(([t,i])=>{i!=null&&(r[t]=i)}),r}var Zv=class{constructor(e,r,t){this.styles=e,this.defaultParams=r,this.normalizer=t}buildStyles(e,r){let t=new Map,i=FI(e,this.defaultParams);return this.styles.styles.forEach(o=>{typeof o!="string"&&o.forEach((s,a)=>{s&&(s=yl(s,i,r));let l=this.normalizer.normalizePropertyName(a,r);s=this.normalizer.normalizeStyleValue(a,l,s,r),t.set(a,s)})}),t}};function wB(n,e,r){return new Qv(n,e,r)}var Qv=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 Zv(i.style,o,t))}),wI(this.states,"true","1"),wI(this.states,"false","0"),r.transitions.forEach(i=>{this.transitionFactories.push(new xh(e,i,this.states))}),this.fallbackTransition=CB(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 CB(n,e,r){let t=[(s,a)=>!0],i={type:de.Sequence,steps:[],options:null},o={type:de.Transition,animation:i,matchers:t,options:null,queryCount:0,depCount:0};return new xh(n,o,e)}function wI(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 xB=new _l,Kv=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=NI(this._driver,r,t,i);if(t.length)throw LV(t);i.length&&void 0,this._animations.set(e,o)}_buildPlayer(e,r,t){let i=e.element,o=MI(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=PI(this._driver,r,o,kI,Bv,new Map,new Map,t,xB,i),s.forEach(d=>{let u=Xt(a,d.element,new Map);d.postStyleProps.forEach(f=>u.set(f,null))})):(i.push(jV()),s=[]),i.length)throw VV(i);a.forEach((d,u)=>{d.forEach((f,p)=>{d.set(p,this._driver.computeStyle(u,p,fi))})});let l=s.map(d=>{let u=a.get(d.element);return this._buildPlayer(d,new Map,u)}),c=Er(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 BV(e);return r}listen(e,r,t,i){let o=ib(r,"","","");return nb(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}}},CI="ng-animate-queued",DB=".ng-animate-queued",Lv="ng-animate-disabled",EB=".ng-animate-disabled",IB="ng-star-inserted",MB=".ng-star-inserted",SB=[],LI={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},TB={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Ln="__ng_removed",wl=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=kB(i),t){let o=e,{value:s}=o,a=Th(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])})}}},bl="void",jv=new wl(bl),Xv=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,_n(r,this._hostClassName)}listen(e,r,t,i){if(!this._triggers.has(r))throw UV(t,r);if(t==null||t.length==0)throw zV(r);if(!OB(t))throw HV(t,r);let o=Xt(this._elementListeners,e,[]),s={name:r,phase:t,callback:i};o.push(s);let a=Xt(this._engine.statesByElement,e,new Map);return a.has(r)||(_n(e,hh),_n(e,hh+"-"+r),a.set(r,jv)),()=>{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 $V(e);return r}trigger(e,r,t,i=!0){let o=this._getTrigger(r),s=new Cl(this.id,r,e),a=this._engine.statesByElement.get(e);a||(_n(e,hh),_n(e,hh+"-"+r),this._engine.statesByElement.set(e,a=new Map));let l=a.get(r),c=new wl(t,this.id);if(!(t&&t.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(r,c),l||(l=jv),!(c.value===bl)&&l.value===c.value){if(!PB(l.params,c.params)){let w=[],M=o.matchStyles(l.value,l.params,w),T=o.matchStyles(c.value,c.params,w);w.length?this._engine.reportError(w):this._engine.afterFlush(()=>{go(e,M),gi(e,T)})}return}let f=Xt(this._engine.playersByElement,e,[]);f.forEach(w=>{w.namespaceId==this.id&&w.triggerName==r&&w.queued&&w.destroy()});let p=o.matchTransition(l.value,c.value,e,c.params),g=!1;if(!p){if(!i)return;p=o.fallbackTransition,g=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:r,transition:p,fromState:l,toState:c,player:s,isFallbackTransition:g}),g||(_n(e,CI),s.onStart(()=>{Ns(e,CI)})),s.onDone(()=>{let w=this.players.indexOf(s);w>=0&&this.players.splice(w,1);let M=this._engine.playersByElement.get(e);if(M){let T=M.indexOf(s);T>=0&&M.splice(T,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,vh,!0);t.forEach(i=>{if(i[Ln])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,bl,i);d&&a.push(d)}}),a.length)return this._engine.markElementAsRemoved(this.id,e,!0,r,s),t&&Er(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)||jv,d=new wl(bl),u=new Cl(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[Ln];(!o||o===LI)&&(t.afterFlush(()=>this.clearElementCache(e)),t.destroyInnerAnimations(e),t._onRemovalComplete(e,r))}}insertNode(e,r){_n(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=ib(o,t.triggerName,t.fromState.value,t.toState.value);l._data=e,nb(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)}},Jv=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 Xv(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(mh(r)){let o=this._fetchNamespace(e);if(o)return o.trigger(r,t,i),!0}return!1}insertNode(e,r,t,i){if(!mh(r))return;let o=r[Ln];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),_n(e,Lv)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Ns(e,Lv))}removeNode(e,r,t){if(mh(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[Ln]={namespaceId:e,setForRemoval:i,hasAnimation:t,removedBeforeQueried:!1,previousTriggersValues:o}}listen(e,r,t,i,o){return mh(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,vh,!0);r.forEach(t=>this.destroyActiveAnimationsForElement(t)),this.playersByQueriedElement.size!=0&&(r=this.driver.query(e,Uv,!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 Er(this.players).onDone(()=>e());e()})}processLeaveNode(e){var t;let r=e[Ln];if(r&&r.setForRemoval){if(e[Ln]=LI,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(Lv)&&this.markElementAsDisabled(e,!1),this.driver.query(e,EB,!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?Er(r).onDone(()=>{t.forEach(i=>i())}):t.forEach(i=>i())}}reportError(e){throw WV(e)}_flushAnimations(e,r){let t=new _l,i=[],o=new Map,s=[],a=new Map,l=new Map,c=new Map,d=new Set;this.disabledNodes.forEach(B=>{d.add(B);let q=this.driver.query(B,DB,!0);for(let Q=0;Q{let Q=kI+w++;g.set(q,Q),B.forEach(Ee=>_n(Ee,Q))});let M=[],T=new Set,Y=new Set;for(let B=0;BT.add(Ee)):Y.add(q))}let Z=new Map,z=EI(f,Array.from(T));z.forEach((B,q)=>{let Q=Bv+w++;Z.set(q,Q),B.forEach(Ee=>_n(Ee,Q))}),e.push(()=>{p.forEach((B,q)=>{let Q=g.get(q);B.forEach(Ee=>Ns(Ee,Q))}),z.forEach((B,q)=>{let Q=Z.get(q);B.forEach(Ee=>Ns(Ee,Q))}),M.forEach(B=>{this.processLeaveNode(B)})});let Qe=[],Be=[];for(let B=this._namespaceList.length-1;B>=0;B--)this._namespaceList[B].drainQueuedTransitions(r).forEach(Q=>{let Ee=Q.player,pt=Q.element;if(Qe.push(Ee),this.collectedEnterElements.length){let wt=pt[Ln];if(wt&&wt.setForMove){if(wt.previousTriggersValues&&wt.previousTriggersValues.has(Q.triggerName)){let Mr=wt.previousTriggersValues.get(Q.triggerName),Jt=this.statesByElement.get(Q.element);if(Jt&&Jt.has(Q.triggerName)){let xl=Jt.get(Q.triggerName);xl.value=Mr,Jt.set(Q.triggerName,xl)}}Ee.destroy();return}}let jn=!u||!this.driver.containsElement(u,pt),zt=Z.get(pt),zi=g.get(pt),Ke=this._buildInstruction(Q,t,zi,zt,jn);if(Ke.errors&&Ke.errors.length){Be.push(Ke);return}if(jn){Ee.onStart(()=>go(pt,Ke.fromStyles)),Ee.onDestroy(()=>gi(pt,Ke.toStyles)),i.push(Ee);return}if(Q.isFallbackTransition){Ee.onStart(()=>go(pt,Ke.fromStyles)),Ee.onDestroy(()=>gi(pt,Ke.toStyles)),i.push(Ee);return}let fb=[];Ke.timelines.forEach(wt=>{wt.stretchStartingKeyframe=!0,this.disabledNodes.has(wt.element)||fb.push(wt)}),Ke.timelines=fb,t.append(pt,Ke.timelines);let QI={instruction:Ke,player:Ee,element:pt};s.push(QI),Ke.queriedElements.forEach(wt=>Xt(a,wt,[]).push(Ee)),Ke.preStyleProps.forEach((wt,Mr)=>{if(wt.size){let Jt=l.get(Mr);Jt||l.set(Mr,Jt=new Set),wt.forEach((xl,Sh)=>Jt.add(Sh))}}),Ke.postStyleProps.forEach((wt,Mr)=>{let Jt=c.get(Mr);Jt||c.set(Mr,Jt=new Set),wt.forEach((xl,Sh)=>Jt.add(Sh))})});if(Be.length){let B=[];Be.forEach(q=>{B.push(GV(q.triggerName,q.errors))}),Qe.forEach(q=>q.destroy()),this.reportError(B)}let Te=new Map,ot=new Map;s.forEach(B=>{let q=B.element;t.has(q)&&(ot.set(q,q),this._beforeAnimationBuild(B.player.namespaceId,B.instruction,Te))}),i.forEach(B=>{let q=B.element;this._getPreviousPlayers(q,!1,B.namespaceId,B.triggerName,null).forEach(Ee=>{Xt(Te,q,[]).push(Ee),Ee.destroy()})});let Ut=M.filter(B=>II(B,l,c)),wn=new Map;DI(wn,this.driver,Y,c,fi).forEach(B=>{II(B,l,c)&&Ut.push(B)});let Ls=new Map;p.forEach((B,q)=>{DI(Ls,this.driver,new Set(B),l,Pu)}),Ut.forEach(B=>{let q=wn.get(B),Q=Ls.get(B);wn.set(B,new Map([...(q==null?void 0:q.entries())??[],...(Q==null?void 0:Q.entries())??[]]))});let Ir=[],ub=[],hb={};s.forEach(B=>{let{element:q,player:Q,instruction:Ee}=B;if(t.has(q)){if(d.has(q)){Q.onDestroy(()=>gi(q,Ee.toStyles)),Q.disabled=!0,Q.overrideTotalTime(Ee.totalTime),i.push(Q);return}let pt=hb;if(ot.size>1){let zt=q,zi=[];for(;zt=zt.parentNode;){let Ke=ot.get(zt);if(Ke){pt=Ke;break}zi.push(zt)}zi.forEach(Ke=>ot.set(Ke,pt))}let jn=this._buildAnimation(Q.namespaceId,Ee,Te,o,Ls,wn);if(Q.setRealPlayer(jn),pt===hb)Ir.push(Q);else{let zt=this.playersByElement.get(pt);zt&&zt.length&&(Q.parentPlayer=Er(zt)),i.push(Q)}}else go(q,Ee.fromStyles),Q.onDestroy(()=>gi(q,Ee.toStyles)),ub.push(Q),d.has(q)&&i.push(Q)}),ub.forEach(B=>{let q=o.get(B.element);if(q&&q.length){let Q=Er(q);B.setRealPlayer(Q)}}),i.forEach(B=>{B.parentPlayer?B.syncPlayerEvents(B.parentPlayer):B.destroy()});for(let B=0;B!jn.destroyed);pt.length?RB(this,q,pt):this.processLeaveNode(q)}return M.length=0,Ir.forEach(B=>{this.players.push(B),B.onDone(()=>{B.destroy();let q=this.players.indexOf(B);this.players.splice(q,1)}),B.play()}),Ir}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==bl;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=Xt(t,c,[]);this._getPreviousPlayers(c,d,s,a,r.toState).forEach(p=>{let g=p.getRealPlayer();g.beforeDestroy&&g.beforeDestroy(),p.destroy(),u.push(p)})}go(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 w=g.element;d.add(w);let M=w[Ln];if(M&&M.removedBeforeQueried)return new vr(g.duration,g.delay);let T=w!==l,Y=NB((t.get(w)||SB).map(Te=>Te.getRealPlayer())).filter(Te=>{let ot=Te;return ot.element?ot.element===w:!1}),Z=o.get(w),z=s.get(w),Qe=MI(this._normalizer,g.keyframes,Z,z),Be=this._buildPlayer(g,Qe,Y);if(g.subTimeline&&i&&u.add(w),T){let Te=new Cl(e,a,w);Te.setRealPlayer(Be),c.push(Te)}return Be});c.forEach(g=>{Xt(this.playersByQueriedElement,g.element,[]).push(g),g.onDone(()=>AB(this.playersByQueriedElement,g.element,g))}),d.forEach(g=>_n(g,gI));let p=Er(f);return p.onDestroy(()=>{d.forEach(g=>Ns(g,gI)),gi(l,r.toStyles)}),u.forEach(g=>{Xt(i,g,[]).push(p)}),p}_buildPlayer(e,r,t){return r.length>0?this.driver.animate(e.element,r,e.duration,e.delay,e.easing,t):new vr(e.duration,e.delay)}},Cl=class{constructor(e,r,t){this.namespaceId=e,this.triggerName=r,this.element=t,this._player=new vr,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=>nb(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){Xt(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 AB(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 kB(n){return n??null}function mh(n){return n&&n.nodeType===1}function OB(n){return n=="start"||n=="done"}function xI(n,e){let r=n.style.display;return n.style.display=e??"none",r}function DI(n,e,r,t,i){let o=[];r.forEach(l=>o.push(xI(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[Ln]=TB,s.push(c))}),n.set(c,d)});let a=0;return r.forEach(l=>xI(l,o[a++])),s}function EI(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 _n(n,e){var r;(r=n.classList)==null||r.add(e)}function Ns(n,e){var r;(r=n.classList)==null||r.remove(e)}function RB(n,e,r){Er(r).onDone(()=>n.processLeaveNode(e))}function NB(n){let e=[];return jI(n,e),e}function jI(n,e){for(let r=0;ri.add(o)):e.set(n,t),r.delete(n),!0}var Fs=class{constructor(e,r,t){this._driver=r,this._normalizer=t,this._triggerCache={},this.onRemovalComplete=(i,o)=>{},this._transitionEngine=new Jv(e.body,r,t),this._timelineEngine=new Kv(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=NI(this._driver,o,l,c);if(l.length)throw PV(i,l);c.length&&void 0,a=wB(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]=pI(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]=pI(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 FB(n,e){let r=null,t=null;return Array.isArray(e)&&e.length?(r=Vv(e[0]),e.length>1&&(t=Vv(e[e.length-1]))):e instanceof Map&&(r=Vv(e)),r||t?new eb(n,r,t):null}var Ps=class Ps{constructor(e,r,t){this._element=e,this._startStyles=r,this._endStyles=t,this._state=0;let i=Ps.initialStylesByElement.get(e);i||Ps.initialStylesByElement.set(e,i=new Map),this._initialStyles=i}start(){this._state<1&&(this._startStyles&&gi(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(gi(this._element,this._initialStyles),this._endStyles&&(gi(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(Ps.initialStylesByElement.delete(this._element),this._startStyles&&(go(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(go(this._element,this._endStyles),this._endStyles=null),gi(this._element,this._initialStyles),this._state=3)}};Ps.initialStylesByElement=new WeakMap;var eb=Ps;function Vv(n){let e=null;return n.forEach((r,t)=>{LB(t)&&(e=e||new Map,e.set(t,r))}),e}function LB(n){return n==="display"||n==="position"}var Dh=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(){return+(this.domPlayer.currentTime??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:ab(this.element,i))}),this.currentSnapshot=e}triggerCallback(e){let r=e==="start"?this._onStartFns:this._onDoneFns;r.forEach(t=>t()),r.length=0}},Eh=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,r){return SI(e,r)}getParentElement(e){return rb(e)}query(e,r,t){return TI(e,r,t)}computeStyle(e,r,t){return ab(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(p=>p instanceof Dh);iB(t,i)&&d.forEach(p=>{p.currentSnapshot.forEach((g,w)=>c.set(w,g))});let u=eB(r).map(p=>new Map(p));u=rB(e,u,c);let f=FB(e,u);return new Dh(e,u,l,f)}};var gh="@",VI="@.disabled",Ih=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.parentNode(r)&&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)==gh&&r==VI?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)}},tb=class extends Ih{constructor(e,r,t,i,o){super(r,t,i,o),this.factory=e,this.namespaceId=r}setProperty(e,r,t){r.charAt(0)==gh?r.charAt(1)=="."&&r==VI?(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)==gh){let i=jB(e),o=r.slice(1),s="";return o.charAt(0)!=gh&&([o,s]=VB(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 jB(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}function VB(n){let e=n.indexOf("."),r=n.substring(0,e),t=n.slice(e+1);return[r,t]}var Mh=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)=>{o==null||o.removeChild(null,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 Ih(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 tb(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 UB=(()=>{let e=class e extends Fs{constructor(t,i,o){super(t,i,o)}ngOnDestroy(){this.flush()}};e.\u0275fac=function(i){return new(i||e)(b(W),b(vo),b(bo))},e.\u0275prov=E({token:e,factory:e.\u0275fac});let n=e;return n})();function zB(){return new yh}function HB(n,e,r){return new Mh(n,e,r)}var UI=[{provide:bo,useFactory:zB},{provide:Fs,useClass:UB},{provide:nr,useFactory:HB,deps:[Wd,Fs,k]}],BI=[{provide:vo,useFactory:()=>new Eh},{provide:We,useValue:"BrowserAnimations"},...UI],$B=[{provide:vo,useClass:ob},{provide:We,useValue:"NoopAnimations"},...UI],zI=(()=>{let e=class e{static withConfig(t){return{ngModule:e,providers:t.disableAnimations?$B:BI}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({providers:BI,imports:[qd]});let n=e;return n})();var WB=["*",[["mat-toolbar-row"]]],GB=["*","mat-toolbar-row"],qB=(()=>{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})(),HI=(()=>{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(ye),h(W))},e.\u0275cmp=j({type:e,selectors:[["mat-toolbar"]],contentQueries:function(i,o,s){if(i&1&<(s,qB,5),i&2){let a;oe(a=se())&&(o._toolbarRows=a)}},hostAttrs:[1,"mat-toolbar"],hostVars:6,hostBindings:function(i,o){i&2&&(jt(o.color?"mat-"+o.color:""),le("mat-toolbar-multiple-rows",o._toolbarRows.length>0)("mat-toolbar-single-row",o._toolbarRows.length===0))},inputs:{color:"color"},exportAs:["matToolbar"],standalone:!0,features:[Ae],ngContentSelectors:GB,decls:2,vars:0,template:function(i,o){i&1&&(Je(WB),pe(0),pe(1,1))},styles:[".mat-toolbar{background:var(--mat-toolbar-container-background-color, var(--mat-app-surface));color:var(--mat-toolbar-container-text-color, var(--mat-app-on-surface))}.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, var(--mat-app-title-large-font));font-size:var(--mat-toolbar-title-text-size, var(--mat-app-title-large-size));line-height:var(--mat-toolbar-title-text-line-height, var(--mat-app-title-large-line-height));font-weight:var(--mat-toolbar-title-text-weight, var(--mat-app-title-large-weight));letter-spacing:var(--mat-toolbar-title-text-tracking, var(--mat-app-title-large-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, var(--mat-app-on-surface));--mdc-outlined-button-label-text-color:var(--mat-toolbar-container-text-color, var(--mat-app-on-surface))}.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 $I=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({imports:[Se,Se]});let n=e;return n})();var WI=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({providers:[{provide:Dv,useValue:{floatLabel:"always"}}],imports:[lE,$I,PD,WE,XE,zE,SD,ho,DE,kE,dI]});let n=e;return n})();function ZB(n,e){if(n&1){let r=De();m(0,"button",10),U("click",function(){let i=ie(r).$implicit,o=R(2);return re(o.changeLang(i))}),C(1),v()}if(n&2){let r=e.$implicit;_(),ct(r.name)}}function QB(n,e){if(n&1){let r=De();m(0,"button",10),U("click",function(){ie(r);let i=R(2);return re(i.admin())}),m(1,"i",24),C(2,"dashboard"),v(),m(3,"uds-translate"),C(4,"Dashboard"),v()()}}function KB(n,e){n&1&&(m(0,"button",29)(1,"i",24),C(2,"file_download"),v(),m(3,"uds-translate"),C(4,"Downloads"),v()())}function XB(n,e){if(n&1&&(m(0,"button",14),C(1),v()),n&2){R();let r=Et(8),t=R();I("matMenuTriggerFor",r),_(),ct(t.api.user.user)}}function JB(n,e){if(n&1&&(m(0,"button",26),C(1),m(2,"i",24),C(3,"arrow_drop_down"),v()()),n&2){R();let r=Et(8),t=R();I("matMenuTriggerFor",r),_(),Me("",t.api.user.user," ")}}function eU(n,e){if(n&1){let r=De();lm(0),m(1,"form",4),O(2,"input",5)(3,"input",6),v(),m(4,"mat-menu",null,0),F(6,ZB,2,1,"button",7),v(),m(7,"mat-menu",null,1),F(9,QB,5,0,"button",8)(10,KB,5,0,"button",9),m(11,"button",10),U("click",function(){ie(r);let i=R();return re(i.logout())}),m(12,"i",11),C(13,"exit_to_app"),v(),m(14,"uds-translate"),C(15,"Logout"),v()()(),m(16,"mat-menu",12,2),F(18,XB,2,2,"button",13),m(19,"button",14),C(20),v(),m(21,"button",15)(22,"uds-translate"),C(23,"UDS Client"),v()(),m(24,"button",16)(25,"uds-translate"),C(26,"About"),v()()(),m(27,"mat-toolbar",17)(28,"button",18)(29,"div",19),O(30,"img",20),C(31),v()(),O(32,"span",21),m(33,"div",22)(34,"button",23)(35,"i",24),C(36,"file_download"),v(),m(37,"uds-translate"),C(38,"UDS Client"),v()(),m(39,"button",25)(40,"i",24),C(41,"info"),v(),m(42,"uds-translate"),C(43,"About"),v()(),m(44,"button",26),C(45),m(46,"i",24),C(47,"arrow_drop_down"),v()(),F(48,JB,4,2,"button",27),v(),m(49,"div",28)(50,"button",26)(51,"i",24),C(52,"menu"),v()()()(),cm()}if(n&2){let r=Et(5),t=Et(17),i=R();_(),Xo("action",i.api.config.urls.change_language,ht),_(),Xo("name",i.api.csrfField),Xo("value",i.api.csrfToken),_(),Xo("value",i.lang.id),_(3),I("ngForOf",i.langs),_(3),I("ngIf",i.api.user.isStaff),_(),I("ngIf",i.api.user.isStaff),_(8),I("ngIf",i.api.user.isLogged),_(),I("matMenuTriggerFor",r),_(),Me("",i.lang.name," "),_(10),I("src",i.api.staticURL("modern/img/udsicon.png"),ht),_(),Me(" ",i.api.config.site_logo_name," "),_(13),I("matMenuTriggerFor",r),_(),Me("",i.lang.name," "),_(3),I("ngIf",i.api.user.isLogged),_(2),I("matMenuTriggerFor",t)}}var GI=(()=>{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(ke))},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,eU,53,16,"ng-container",3),i&2&&I("ngIf",o.api.config.urls.launch==="")},dependencies:[It,Mt,ms,Os,ks,Fn,HI,pi,Dr,fo,dh,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;inset:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_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{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border:var(--mat-focus-indicator-border-width, 3px) var(--mat-focus-indicator-border-style, solid) var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator[_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{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-mdc-focus-indicator-display, none);border:var(--mat-mdc-focus-indicator-border-width, 3px) var(--mat-mdc-focus-indicator-border-style, solid) var(--mat-mdc-focus-indicator-border-color, transparent);border-radius:var(--mat-mdc-focus-indicator-border-radius, 4px)}.mat-mdc-focus-indicator[_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, var(--mat-app-background, transparent));color:var(--mat-app-text-color, var(--mat-app-on-background, inherit))}.mat-elevation-z0[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z0[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-0, none)}.mat-elevation-z1[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z1[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-1, none)}.mat-elevation-z2[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z2[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-2, none)}.mat-elevation-z3[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z3[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-3, none)}.mat-elevation-z4[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z4[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-4, none)}.mat-elevation-z5[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z5[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-5, none)}.mat-elevation-z6[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z6[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-6, none)}.mat-elevation-z7[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z7[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-7, none)}.mat-elevation-z8[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z8[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-8, none)}.mat-elevation-z9[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z9[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-9, none)}.mat-elevation-z10[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z10[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-10, none)}.mat-elevation-z11[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z11[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-11, none)}.mat-elevation-z12[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z12[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-12, none)}.mat-elevation-z13[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z13[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-13, none)}.mat-elevation-z14[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z14[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-14, none)}.mat-elevation-z15[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z15[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-15, none)}.mat-elevation-z16[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z16[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-16, none)}.mat-elevation-z17[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z17[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-17, none)}.mat-elevation-z18[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z18[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-18, none)}.mat-elevation-z19[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z19[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-19, none)}.mat-elevation-z20[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z20[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-20, none)}.mat-elevation-z21[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z21[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-21, none)}.mat-elevation-z22[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z22[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-22, none)}.mat-elevation-z23[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z23[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-23, none)}.mat-elevation-z24[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z24[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-24, none)}.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%]{display:flex;align-items:center}.logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:2rem;margin-right:.5rem}@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 qI=(()=>{let e=class e{constructor(t){this.api=t}ngOnInit(){}};e.\u0275fac=function(i){return new(i||e)(h(ke))},e.\u0275cmp=j({type:e,selectors:[["uds-footer"]],decls:3,vars:2,consts:[[3,"href"]],template:function(i,o){i&1&&(m(0,"div")(1,"a",0),C(2),v()()),i&2&&(_(),I("href",o.api.config.site_copyright_link,ht),_(),ct(o.api.config.site_copyright_info))}});let n=e;return n})();var YI=(()=>{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(ke))},e.\u0275cmp=j({type:e,selectors:[["uds-root"]],hostBindings:function(i,o){i&1&&U("keydown",function(a){return o.handleKeyboardEvent(a)},!1,O0)},decls:6,vars:0,consts:[[1,"page"],[1,"content"],[1,"footer"]],template:function(i,o){i&1&&(O(0,"uds-navbar"),m(1,"div",0)(2,"div",1),O(3,"router-outlet"),v(),m(4,"div",2),O(5,"uds-footer"),v()())},dependencies:[Dg,GI,qI],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 ZI=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e,bootstrap:[YI]}),e.\u0275inj=L({providers:[ke,oh,AC(kC())],imports:[qd,$C,hI,zI,WI]});let n=e;return n})();vu.production&&void 0;jC().bootstrapModule(ZI).catch(n=>console.log(n)); + ${zV} translateX(${v}) + )`;let _=a+l+c+d;this._elementRef.nativeElement.style.setProperty("--mat-form-field-notch-max-width",`calc(100% - ${_}px)`)}_isAttachedToDom(){let e=this._elementRef.nativeElement;if(e.getRootNode){let i=e.getRootNode();return i&&i!==e}return document.documentElement.contains(e)}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=A({type:n,selectors:[["mat-form-field"]],contentQueries:function(i,r,o){if(i&1&&(Qw(o,r._labelChild,ui,5),lt(o,hl,5),lt(o,LV,5),lt(o,EE,5),lt(o,FV,5),lt(o,_E,5)),i&2){Zw();let s;oe(s=se())&&(r._formFieldControl=s.first),oe(s=se())&&(r._prefixChildren=s),oe(s=se())&&(r._suffixChildren=s),oe(s=se())&&(r._errorChildren=s),oe(s=se())&&(r._hintChildren=s)}},viewQuery:function(i,r){if(i&1&&(Re(fV,5),Re(hV,5),Re(mV,5),Re(pV,5),Re(gV,5),Re(yE,5),Re(xE,5),Re(wE,5)),i&2){let o;oe(o=se())&&(r._textField=o.first),oe(o=se())&&(r._iconPrefixContainer=o.first),oe(o=se())&&(r._textPrefixContainer=o.first),oe(o=se())&&(r._iconSuffixContainer=o.first),oe(o=se())&&(r._textSuffixContainer=o.first),oe(o=se())&&(r._floatingLabel=o.first),oe(o=se())&&(r._notchedOutline=o.first),oe(o=se())&&(r._lineRipple=o.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(i,r){i&2&&ce("mat-mdc-form-field-label-always-float",r._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",r._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",r._hasIconSuffix)("mat-form-field-invalid",r._control.errorState)("mat-form-field-disabled",r._control.disabled)("mat-form-field-autofilled",r._control.autofilled)("mat-form-field-no-animations",r._animationMode==="NoopAnimations")("mat-form-field-appearance-fill",r.appearance=="fill")("mat-form-field-appearance-outline",r.appearance=="outline")("mat-form-field-hide-placeholder",r._hasFloatingLabel()&&!r._shouldLabelFloat())("mat-focused",r._control.focused)("mat-primary",r.color!=="accent"&&r.color!=="warn")("mat-accent",r.color==="accent")("mat-warn",r.color==="warn")("ng-untouched",r._shouldForward("untouched"))("ng-touched",r._shouldForward("touched"))("ng-pristine",r._shouldForward("pristine"))("ng-dirty",r._shouldForward("dirty"))("ng-valid",r._shouldForward("valid"))("ng-invalid",r._shouldForward("invalid"))("ng-pending",r._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[ze([{provide:ml,useExisting:n},{provide:ME,useExisting:n}])],ngContentSelectors:_V,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],["textSuffixContainer",""],["iconSuffixContainer",""],[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,r){if(i&1){let o=xe();Ze(vV),F(0,wV,1,1,"ng-template",null,0,Jw),m(2,"div",6,1),B("click",function(a){return ie(o),re(r._control.onContainerClick(a))}),F(4,xV,1,0,"div",7),m(5,"div",8),F(6,EV,2,2,"div",9)(7,IV,3,0,"div",10)(8,MV,3,0,"div",11),m(9,"div",12),F(10,TV,1,1,null,13),he(11),p(),F(12,AV,3,0,"div",14)(13,kV,3,0,"div",15),p(),F(14,OV,1,0,"div",16),p(),m(15,"div",17),F(16,RV,2,1,"div",18)(17,PV,5,2,"div",19),p()}if(i&2){let o;y(2),ce("mdc-text-field--filled",!r._hasOutline())("mdc-text-field--outlined",r._hasOutline())("mdc-text-field--no-label",!r._hasFloatingLabel())("mdc-text-field--disabled",r._control.disabled)("mdc-text-field--invalid",r._control.errorState),y(2),He(!r._hasOutline()&&!r._control.disabled?4:-1),y(2),He(r._hasOutline()?6:-1),y(),He(r._hasIconPrefix?7:-1),y(),He(r._hasTextPrefix?8:-1),y(2),He(!r._hasOutline()||r._forceDisplayInfixLabel()?10:-1),y(2),He(r._hasTextSuffix?12:-1),y(),He(r._hasIconSuffix?13:-1),y(),He(r._hasOutline()?-1:14),y(),ce("mat-mdc-form-field-subscript-dynamic-size",r.subscriptSizing==="dynamic"),y(),He((o=r._getDisplayedMessages())==="error"?16:o==="hint"?17:-1)}},dependencies:[yE,xE,yx,wE,_E],styles:['.mdc-text-field{display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field__input{width:100%;min-width:0;border:none;border-radius:0;background:none;padding:0;-moz-appearance:none;-webkit-appearance:none;height:28px}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}.mdc-text-field__input::placeholder{opacity:0}.mdc-text-field__input::-moz-placeholder{opacity:0}.mdc-text-field__input::-webkit-input-placeholder{opacity:0}.mdc-text-field__input:-ms-input-placeholder{opacity:0}.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{opacity:1}.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--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-moz-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-webkit-input-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive:-ms-input-placeholder{opacity:0}.mdc-text-field--outlined .mdc-text-field__input,.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mdc-filled-text-field-caret-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.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, var(--mat-sys-on-surface-variant))}.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.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mdc-outlined-text-field-caret-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.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, var(--mat-sys-on-surface-variant))}.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.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}}.mdc-text-field--filled{height:56px;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-left-radius:var(--mdc-filled-text-field-container-shape, var(--mat-sys-corner-extra-small));border-top-right-radius:var(--mdc-filled-text-field-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color, var(--mat-sys-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 4%, transparent))}.mdc-text-field--outlined{height:56px;overflow:visible;padding-right:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)));padding-left:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)) + 4px)}[dir=rtl] .mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)) + 4px);padding-left:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)))}.mdc-floating-label{position:absolute;left:0;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{right:0;left:auto;transform-origin:right top;text-align:right}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:auto}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label{left:auto;right:4px}.mdc-text-field--filled .mdc-floating-label{left:16px;right:auto}[dir=rtl] .mdc-text-field--filled .mdc-floating-label{left:auto;right:16px}.mdc-text-field--disabled .mdc-floating-label{cursor:default}@media(forced-colors: active){.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-filled-text-field-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mdc-filled-text-field-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mdc-filled-text-field-hover-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-filled-text-field-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mdc-filled-text-field-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mdc-filled-text-field-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mdc-filled-text-field-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mdc-filled-text-field-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mdc-filled-text-field-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mdc-filled-text-field-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-outlined-text-field-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mdc-outlined-text-field-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mdc-outlined-text-field-hover-label-text-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-outlined-text-field-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mdc-outlined-text-field-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mdc-outlined-text-field-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mdc-outlined-text-field-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mdc-outlined-text-field-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mdc-outlined-text-field-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mdc-outlined-text-field-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-floating-label--float-above{cursor:auto;transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1);font-size:.75rem}.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-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-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-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::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{text-align:right}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mat-mdc-notch-piece{box-sizing:border-box;height:100%;pointer-events:none;border-top:1px solid;border-bottom:1px solid}.mdc-text-field--focused .mat-mdc-notch-piece{border-width:2px}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-outline-color, var(--mat-sys-outline));border-width:var(--mdc-outlined-text-field-outline-width, 1px)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-hover-outline-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-focus-outline-color, var(--mat-sys-primary))}.mdc-text-field--outlined.mdc-text-field--disabled .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-notched-outline .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-hover-outline-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-focus-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mat-mdc-notch-piece{border-width:var(--mdc-outlined-text-field-focus-outline-width, 2px)}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)))}[dir=rtl] .mdc-notched-outline__leading{border-left:none;border-right:1px solid;border-bottom-left-radius:0;border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__trailing{flex-grow:1;border-left:none;border-right:1px solid;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small))}[dir=rtl] .mdc-notched-outline__trailing{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:min(var(--mat-form-field-notch-max-width, 100%),100% - max(12px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)))*2)}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none;--mat-form-field-notch-max-width: 100%}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch{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;border-bottom-width:var(--mdc-filled-text-field-active-indicator-height, 1px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color, var(--mat-sys-on-surface-variant))}.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, var(--mat-sys-on-surface))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color, var(--mat-sys-on-error-container))}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height, 2px)}.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, var(--mat-sys-primary))}.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, var(--mat-sys-error))}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-text-field--disabled{pointer-events:none}.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, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.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-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, 56px);padding-top:var(--mat-form-field-filled-with-label-container-padding-top, 24px);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom, 8px)}.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, 16px);padding-bottom:var(--mat-form-field-container-vertical-padding, 16px)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height, 56px)/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, 56px) / 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, var(--mat-sys-error))}.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, var(--mat-sys-body-small-font));line-height:var(--mat-form-field-subscript-text-line-height, var(--mat-sys-body-small-line-height));font-size:var(--mat-form-field-subscript-text-size, var(--mat-sys-body-small-size));letter-spacing:var(--mat-form-field-subscript-text-tracking, var(--mat-sys-body-small-tracking));font-weight:var(--mat-form-field-subscript-text-weight, var(--mat-sys-body-small-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, var(--mat-sys-on-surface))}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity, var(--mat-sys-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, 0)}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, var(--mat-sys-neutral10))}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, color-mix(in srgb, var(--mat-sys-neutral10) 38%, transparent))}.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, var(--mat-sys-on-surface-variant))}[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, var(--mat-sys-primary))}.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, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.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}@media(forced-colors: active){.mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}}@media(forced-colors: 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, var(--mat-sys-body-large-font));line-height:var(--mat-form-field-container-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-form-field-container-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-form-field-container-text-tracking, var(--mat-sys-body-large-tracking));font-weight:var(--mat-form-field-container-text-weight, var(--mat-sys-body-large-weight))}.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)}[dir=rtl] .mat-mdc-form-field{text-align:right}.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, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color, var(--mat-sys-error))}.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, var(--mat-sys-on-error-container))}.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, var(--mat-sys-error))}.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-infix:has(textarea[cols]){width:auto}.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-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::-moz-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::-webkit-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .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--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-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:[jV.transitionMessages]},changeDetection:0})}return n})(),uo=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=V({type:n});static \u0275inj=L({imports:[Me,xu,Me]})}return n})();var UV=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275cmp=A({type:n,selectors:[["ng-component"]],hostAttrs:["cdk-text-field-style-loader",""],decls:0,vars:0,template:function(i,r){},styles:["textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0 !important;box-sizing:content-box !important;height:auto !important;overflow:hidden !important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0 !important;box-sizing:content-box !important;height:0 !important}@keyframes cdk-text-field-autofill-start{/*!*/}@keyframes cdk-text-field-autofill-end{/*!*/}.cdk-text-field-autofill-monitored:-webkit-autofill{animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){animation:cdk-text-field-autofill-end 0s 1ms}"],encapsulation:2,changeDetection:0})}return n})(),SE=mn({passive:!0}),TE=(()=>{class n{_platform=u(Te);_ngZone=u(R);_styleLoader=u(dt);_monitoredElements=new Map;constructor(){}monitor(e){if(!this._platform.isBrowser)return ft;this._styleLoader.load(UV);let i=hn(e),r=this._monitoredElements.get(i);if(r)return r.subject;let o=new M,s="cdk-text-field-autofilled",a=l=>{l.animationName==="cdk-text-field-autofill-start"&&!i.classList.contains(s)?(i.classList.add(s),this._ngZone.run(()=>o.next({target:l.target,isAutofilled:!0}))):l.animationName==="cdk-text-field-autofill-end"&&i.classList.contains(s)&&(i.classList.remove(s),this._ngZone.run(()=>o.next({target:l.target,isAutofilled:!1})))};return this._ngZone.runOutsideAngular(()=>{i.addEventListener("animationstart",a,SE),i.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(i,{subject:o,unlisten:()=>{i.removeEventListener("animationstart",a,SE)}}),o}stopMonitoring(e){let i=hn(e),r=this._monitoredElements.get(i);r&&(r.unlisten(),r.subject.complete(),i.classList.remove("cdk-text-field-autofill-monitored"),i.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(i))}ngOnDestroy(){this._monitoredElements.forEach((e,i)=>this.stopMonitoring(i))}static \u0275fac=function(i){return new(i||n)};static \u0275prov=C({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var AE=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=V({type:n});static \u0275inj=L({})}return n})();var HV=new x("MAT_INPUT_VALUE_ACCESSOR"),$V=["button","checkbox","file","hidden","image","radio","range","reset","submit"],GV=new x("MAT_INPUT_CONFIG"),Er=(()=>{class n{_elementRef=u(H);_platform=u(Te);ngControl=u(ji,{optional:!0,self:!0});_autofillMonitor=u(TE);_ngZone=u(R);_formField=u(ml,{optional:!0});_uid=u($e).getId("mat-input-");_previousNativeValue;_inputValueAccessor;_signalBasedValueAccessor;_previousPlaceholder;_errorStateTracker;_webkitBlinkWheelListenerAttached=!1;_config=u(GV,{optional:!0});_formFieldDescribedBy;_isServer;_isNativeSelect;_isTextarea;_isInFormField;focused=!1;stateChanges=new M;controlType="mat-input";autofilled=!1;get disabled(){return this._disabled}set disabled(e){this._disabled=Oi(e),this.focused&&(this.focused=!1,this.stateChanges.next())}_disabled=!1;get id(){return this._id}set id(e){this._id=e||this._uid}_id;placeholder;name;get required(){var e,i;return this._required??((i=(e=this.ngControl)==null?void 0:e.control)==null?void 0:i.hasValidator(Ss.required))??!1}set required(e){this._required=Oi(e)}_required;get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&Zp().has(this._type)&&(this._elementRef.nativeElement.type=this._type),this._ensureWheelDefaultBehavior()}_type="text";get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}userAriaDescribedBy;get value(){return this._signalBasedValueAccessor?this._signalBasedValueAccessor.value():this._inputValueAccessor.value}set value(e){e!==this.value&&(this._signalBasedValueAccessor?this._signalBasedValueAccessor.value.set(e):this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=Oi(e)}_readonly=!1;disabledInteractive;get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}_neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(e=>Zp().has(e));constructor(){var l;let e=u(Ln,{optional:!0}),i=u(fl,{optional:!0}),r=u(Fu),o=u(HV,{optional:!0,self:!0}),s=this._elementRef.nativeElement,a=s.nodeName.toLowerCase();o?rr(o.value)?this._signalBasedValueAccessor=o:this._inputValueAccessor=o:this._inputValueAccessor=s,this._previousNativeValue=this.value,this.id=this.id,this._platform.IOS&&this._ngZone.runOutsideAngular(()=>{s.addEventListener("keyup",this._iOSKeyupListener)}),this._errorStateTracker=new Es(r,this.ngControl,i,e,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect=a==="select",this._isTextarea=a==="textarea",this._isInFormField=!!this._formField,this.disabledInteractive=((l=this._config)==null?void 0:l.disabledInteractive)||!1,this._isNativeSelect&&(this.controlType=s.multiple?"mat-native-select-multiple":"mat-native-select"),this._signalBasedValueAccessor&&pa(()=>{this._signalBasedValueAccessor.value(),this.stateChanges.next()})}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener),this._webkitBlinkWheelListenerAttached&&this._elementRef.nativeElement.removeEventListener("wheel",this._webkitBlinkWheelListener)}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(e){this._elementRef.nativeElement.focus(e)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(e){if(e!==this.focused){if(!this._isNativeSelect&&e&&this.disabled&&this.disabledInteractive){let i=this._elementRef.nativeElement;i.type==="number"?(i.type="text",i.setSelectionRange(0,0),i.type="number"):i.setSelectionRange(0,0)}this.focused=e,this.stateChanges.next()}}_onInput(){}_dirtyCheckNativeValue(){let e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_dirtyCheckPlaceholder(){let e=this._getPlaceholder();if(e!==this._previousPlaceholder){let i=this._elementRef.nativeElement;this._previousPlaceholder=e,e?i.setAttribute("placeholder",e):i.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){$V.indexOf(this._type)>-1}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!this._isNeverEmpty()&&!this._elementRef.nativeElement.value&&!this._isBadInput()&&!this.autofilled}get shouldLabelFloat(){if(this._isNativeSelect){let e=this._elementRef.nativeElement,i=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&i&&i.label)}else return this.focused&&!this.disabled||!this.empty}setDescribedByIds(e){let i=this._elementRef.nativeElement,r=i.getAttribute("aria-describedby"),o;if(r){let s=this._formFieldDescribedBy||e;o=e.concat(r.split(" ").filter(a=>a&&!s.includes(a)))}else o=e;this._formFieldDescribedBy=e,o.length?i.setAttribute("aria-describedby",o.join(" ")):i.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){let e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}_iOSKeyupListener=e=>{let i=e.target;!i.value&&i.selectionStart===0&&i.selectionEnd===0&&(i.setSelectionRange(1,1),i.setSelectionRange(0,0))};_webkitBlinkWheelListener=()=>{};_ensureWheelDefaultBehavior(){!this._webkitBlinkWheelListenerAttached&&this._type==="number"&&(this._platform.BLINK||this._platform.WEBKIT)&&(this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("wheel",this._webkitBlinkWheelListener)}),this._webkitBlinkWheelListenerAttached=!0),this._webkitBlinkWheelListenerAttached&&this._type!=="number"&&(this._elementRef.nativeElement.removeEventListener("wheel",this._webkitBlinkWheelListener),this._webkitBlinkWheelListenerAttached=!0)}_getReadonlyAttribute(){return this._isNativeSelect?null:this.readonly||this.disabled&&this.disabledInteractive?"true":null}static \u0275fac=function(i){return new(i||n)};static \u0275dir=P({type:n,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:21,hostBindings:function(i,r){i&1&&B("focus",function(){return r._focusChanged(!0)})("blur",function(){return r._focusChanged(!1)})("input",function(){return r._onInput()}),i&2&&(dn("id",r.id)("disabled",r.disabled&&!r.disabledInteractive)("required",r.required),ye("name",r.name||null)("readonly",r._getReadonlyAttribute())("aria-disabled",r.disabled&&r.disabledInteractive?"true":null)("aria-invalid",r.empty&&r.required?null:r.errorState)("aria-required",r.required)("id",r.id),ce("mat-input-server",r._isServer)("mat-mdc-form-field-textarea-control",r._isInFormField&&r._isTextarea)("mat-mdc-form-field-input-control",r._isInFormField)("mat-mdc-input-disabled-interactive",r.disabledInteractive)("mdc-text-field__input",r._isInFormField)("mat-mdc-native-select-inline",r._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",disabledInteractive:[2,"disabledInteractive","disabledInteractive",q]},exportAs:["matInput"],features:[ze([{provide:hl,useExisting:n}]),Oe,qe]})}return n})(),kE=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=V({type:n});static \u0275inj=L({imports:[Me,uo,uo,AE,Me]})}return n})();var WV=(n,t,e)=>({username:n,domain:t,password:e,success:!1}),qV=(n,t,e)=>({username:n,domain:t,password:e,success:!0}),OE=(()=>{let t=class t{constructor(i){this.data=i,this.labels={username:django.gettext("Username"),password:django.gettext("Password"),domain:django.gettext("Domain")},this.username=i.username,this.domain=i.domain,this.password=""}};t.\u0275fac=function(r){return new(r||t)(S(il))},t.\u0275cmp=A({type:t,selectors:[["uds-credentials-modal"]],standalone:!1,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(r,o){r&1&&(m(0,"h2",0)(1,"uds-translate"),b(2,"Please, enter access credentials"),p()(),m(3,"mat-dialog-content")(4,"mat-form-field")(5,"mat-label"),b(6),p(),m(7,"input",1),ma("ngModelChange",function(a){return Od(o.username,a)||(o.username=a),a}),p()(),m(8,"mat-form-field")(9,"mat-label"),b(10),p(),m(11,"input",2),ma("ngModelChange",function(a){return Od(o.password,a)||(o.password=a),a}),p()(),m(12,"mat-form-field")(13,"mat-label"),b(14),p(),m(15,"input",1),ma("ngModelChange",function(a){return Od(o.domain,a)||(o.domain=a),a}),p()()(),m(16,"mat-dialog-actions")(17,"button",3),b(18,"Cancel"),p(),m(19,"button",3),b(20,"Accept"),p()()),r&2&&(y(6),Ie(" ",o.labels.username," "),y(),D("placeholder",o.labels.username),ha("ngModel",o.username),y(3),Ie(" ",o.labels.password," "),y(),D("placeholder",o.labels.password),ha("ngModel",o.password),y(3),Ie(" ",o.labels.domain," "),y(),D("placeholder",o.labels.domain),ha("ngModel",o.domain),y(2),D("mat-dialog-close",_p(11,WV,o.username,o.domain,o.password)),y(2),D("mat-dialog-close",_p(15,qV,o.username,o.domain,o.password)))},dependencies:[rf,cE,Iv,di,zu,Uu,$u,Hu,Dr,ui,Er,Ue],styles:[".mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}"]});let n=t;return n})();var uf=(()=>{let t=class t{constructor(i){this.dialog=i}alert(i,r,o=0){return Se(this,null,function*(){let s=window.innerWidth<800?"80%":"40%";return this.dialog.open(vv,{width:s,data:{title:i,body:r,autoclose:o,type:ol.alert},disableClose:!0})})}yesno(i,r){let o=window.innerWidth<800?"80%":"40%";return this.dialog.open(vv,{width:o,data:{title:i,body:r,type:ol.yesno},disableClose:!0}).componentInstance.yesno}askCredentials(i,r){let o=this.dialog.open(OE,{data:{username:i,domain:r}});return Gt(o.afterClosed())}};t.\u0275fac=function(r){return new(r||t)(O(rl))},t.\u0275prov=C({token:t,factory:t.\u0275fac});let n=t;return n})();var RE="dark-theme",NE="light-theme";var QV=eval,Ae=(()=>{let t=class t{constructor(i,r,o){this.http=i,this.gui=r,this.router=o,this.transportsWindow=null,this.user=new vu(udsData.profile),this.plugin=new GC(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(i,r){return Se(this,null,function*(){let o=this.config.urls.enabler.replace("param1",i).replace("param2",r);return Gt(this.http.get(o))})}status(i,r){return Se(this,null,function*(){let o=this.config.urls.status.replace("param1",i).replace("param2",r);return Gt(this.http.get(o))})}action(i,r){return Se(this,null,function*(){let o=this.config.urls.action.replace("param1",r).replace("param2",i);return Gt(this.http.get(o))})}transportUrl(i){return Se(this,null,function*(){return Gt(this.http.get(i))})}updateTransportTicket(i,r,o,s,a){return Se(this,null,function*(){let l=this.config.urls.update_transport_ticket.replace("param1",i).replace("param2",r);return Gt(this.http.post(l,{username:o,password:s,domain:a}))})}galleryImageURL(i){return this.config.urls.gallery_image.replace("param1",i)}transportIconURL(i){return this.config.urls.transport_icon.replace("param1",i)}staticURL(i){return _u.production?this.config.urls.static+i:"/static/"+i}getServicesInformation(){return Se(this,null,function*(){return Gt(this.http.get(this.config.urls.services))})}getErrorInformation(i){return Se(this,null,function*(){return Gt(this.http.get(this.config.urls.error.replace("9999",i)))})}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(i){return Se(this,null,function*(){let r=document.getElementById("download-frm");r||(r=document.createElement("iframe"),r.id="download-frm",r.style.display="none",document.body.appendChild(r)),r.src=i,r.onload=()=>{alert("Error downloading file. Please try again later.")}})}sleep(i){return new Promise(r=>setTimeout(r,i))}launchURL(i){this.plugin.launchURL(i)}getAuthCustomJavascript(i){return Se(this,null,function*(){return Gt(this.http.get(this.config.urls.custom_auth+i,{responseType:"text"}))})}switchTheme(i){let r=document.getElementsByTagName("html")[0];[RE,NE].forEach(o=>{r.classList.contains(o)&&r.classList.remove(o)}),r.classList.add(i?RE:NE)}putOnStorage(i,r){typeof Storage!==void 0&&localStorage.setItem(i,r)}getFromStorage(i){return typeof Storage!==void 0?localStorage.getItem(i):null}eval(i){QV(i)}};t.\u0275fac=function(r){return new(r||t)(O(Pp),O(uf),O(ai))},t.\u0275prov=C({token:t,factory:t.\u0275fac});let n=t;return n})();var Tv=(()=>{let t=class t{constructor(i){this.api=i}canActivate(i,r){return this.api.user.isLogged?!0:(this.api.router.navigate(["login"]),!1)}};t.\u0275fac=function(r){return new(r||t)(O(Ae))},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();var ZV=["trigger"],KV=["panel"],XV=[[["mat-select-trigger"]],"*"],JV=["mat-select-trigger","*"];function e2(n,t){if(n&1&&(m(0,"span",4),b(1),p()),n&2){let e=N();y(),ct(e.placeholder)}}function t2(n,t){n&1&&he(0)}function n2(n,t){if(n&1&&(m(0,"span",11),b(1),p()),n&2){let e=N(2);y(),ct(e.triggerValue)}}function i2(n,t){if(n&1&&(m(0,"span",5),F(1,t2,1,0)(2,n2,2,1,"span",11),p()),n&2){let e=N();y(),He(e.customTrigger?1:2)}}function r2(n,t){if(n&1){let e=xe();m(0,"div",12,1),B("@transformPanel.done",function(r){ie(e);let o=N();return re(o._panelDoneAnimatingStream.next(r.toState))})("keydown",function(r){ie(e);let o=N();return re(o._handleKeydown(r))}),he(2,1),p()}if(n&2){let e=N();Ww("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",e._getPanelTheme(),""),D("ngClass",e.panelClass)("@transformPanel","showing"),ye("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}var o2={transformPanelWrap:Fn("transformPanelWrap",[Jt("* => void",SD("@transformPanel",[MD()],{optional:!0}))]),transformPanel:Fn("transformPanel",[_n("void",rt({opacity:0,transform:"scale(1, 0.8)"})),Jt("void => showing",vn("120ms cubic-bezier(0, 0, 0.2, 1)",rt({opacity:1,transform:"scale(1, 1)"}))),Jt("* => void",vn("100ms linear",rt({opacity:0})))])};var PE=new x("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let n=u(it);return()=>n.scrollStrategies.reposition()}});function s2(n){return()=>n.scrollStrategies.reposition()}var a2=new x("MAT_SELECT_CONFIG"),l2={provide:PE,deps:[it],useFactory:s2},c2=new x("MatSelectTrigger"),Av=class{source;value;constructor(t,e){this.source=t,this.value=e}},FE=(()=>{var t,e,i;class n{_viewportRuler=u(gs);_changeDetectorRef=u(Pe);_elementRef=u(H);_dir=u(kt,{optional:!0});_idGenerator=u($e);_parentFormField=u(ml,{optional:!0});ngControl=u(ji,{self:!0,optional:!0});_liveAnnouncer=u(nD);_defaultOptions=u(a2,{optional:!0});options;optionGroups;customTrigger;_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"}];_scrollOptionIntoView(o){let s=this.options.toArray()[o];if(s){let a=this.panel.nativeElement,l=xD(o,this.options,this.optionGroups),c=s._getHostElement();o===0&&l===1?a.scrollTop=0:a.scrollTop=CD(c.offsetTop,c.offsetHeight,a.scrollTop,a.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(o){return new Av(this,o)}_scrollStrategyFactory=u(PE);_panelOpen=!1;_compareWith=(o,s)=>o===s;_uid=this._idGenerator.getId("mat-select-");_triggerAriaLabelledBy=null;_previousControl;_destroy=new M;_errorStateTracker;stateChanges=new M;disableAutomaticLabeling=!0;userAriaDescribedBy;_selectionModel;_keyManager;_preferredOverlayOrigin;_overlayWidth;_onChange=()=>{};_onTouched=()=>{};_valueId=this._idGenerator.getId("mat-select-value-");_panelDoneAnimatingStream=new M;_scrollStrategy;_overlayPanelClass=((t=this._defaultOptions)==null?void 0:t.overlayPanelClass)||"";get focused(){return this._focused||this._panelOpen}_focused=!1;controlType="mat-select";trigger;panel;_overlayDir;panelClass;disabled=!1;disableRipple=!1;tabIndex=0;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(o){this._hideSingleSelectionIndicator=o,this._syncParentProperties()}_hideSingleSelectionIndicator=((e=this._defaultOptions)==null?void 0:e.hideSingleSelectionIndicator)??!1;get placeholder(){return this._placeholder}set placeholder(o){this._placeholder=o,this.stateChanges.next()}_placeholder;get required(){var o,s;return this._required??((s=(o=this.ngControl)==null?void 0:o.control)==null?void 0:s.hasValidator(Ss.required))??!1}set required(o){this._required=o,this.stateChanges.next()}_required;get multiple(){return this._multiple}set multiple(o){this._selectionModel,this._multiple=o}_multiple=!1;disableOptionCentering=((i=this._defaultOptions)==null?void 0:i.disableOptionCentering)??!1;get compareWith(){return this._compareWith}set compareWith(o){this._compareWith=o,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(o){this._assignValue(o)&&this._onChange(o)}_value;ariaLabel="";ariaLabelledby;get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(o){this._errorStateTracker.matcher=o}typeaheadDebounceInterval;sortComparator;get id(){return this._id}set id(o){this._id=o||this._uid,this.stateChanges.next()}_id;get errorState(){return this._errorStateTracker.errorState}set errorState(o){this._errorStateTracker.errorState=o}panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto";_initialized=new M;optionSelectionChanges=Un(()=>{let o=this.options;return o?o.changes.pipe(Ke(o),tt(()=>bt(...o.map(s=>s.onSelectionChange)))):this._initialized.pipe(tt(()=>this.optionSelectionChanges))});openedChange=new $;_openedStream=this.openedChange.pipe(ne(o=>o),Y(()=>{}));_closedStream=this.openedChange.pipe(ne(o=>!o),Y(()=>{}));selectionChange=new $;valueChange=new $;constructor(){var c;let o=u(Fu),s=u(Ln,{optional:!0}),a=u(fl,{optional:!0}),l=u(new yi("tabindex"),{optional:!0});this.ngControl&&(this.ngControl.valueAccessor=this),((c=this._defaultOptions)==null?void 0:c.typeaheadDebounceInterval)!=null&&(this.typeaheadDebounceInterval=this._defaultOptions.typeaheadDebounceInterval),this._errorStateTracker=new Es(o,this.ngControl,a,s,this.stateChanges),this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=l==null?0:parseInt(l)||0,this.id=this.id}ngOnInit(){this._selectionModel=new yu(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(qi(),we(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen)),this._viewportRuler.change().pipe(we(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(we(this._destroy)).subscribe(o=>{o.added.forEach(s=>s.select()),o.removed.forEach(s=>s.deselect())}),this.options.changes.pipe(Ke(null),we(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){let o=this._getTriggerAriaLabelledby(),s=this.ngControl;if(o!==this._triggerAriaLabelledBy){let a=this._elementRef.nativeElement;this._triggerAriaLabelledBy=o,o?a.setAttribute("aria-labelledby",o):a.removeAttribute("aria-labelledby")}s&&(this._previousControl!==s.control&&(this._previousControl!==void 0&&s.disabled!==null&&s.disabled!==this.disabled&&(this.disabled=s.disabled),this._previousControl=s.control),this.updateErrorState())}ngOnChanges(o){(o.disabled||o.userAriaDescribedBy)&&this.stateChanges.next(),o.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)}ngOnDestroy(){var o;(o=this._keyManager)==null||o.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())}_trackedModal=null;_applyModalPanelOwnership(){let o=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!o)return;let s=`${this.id}-panel`;this._trackedModal&&Tu(this._trackedModal,"aria-owns",s),Wg(o,"aria-owns",s),this._trackedModal=o}_clearFromModal(){if(!this._trackedModal)return;let o=`${this.id}-panel`;Tu(this._trackedModal,"aria-owns",o),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(o){this._assignValue(o)}registerOnChange(o){this._onChange=o}registerOnTouched(o){this._onTouched=o}setDisabledState(o){this.disabled=o,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){var o,s;return this.multiple?((o=this._selectionModel)==null?void 0:o.selected)||[]:(s=this._selectionModel)==null?void 0:s.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){let o=this._selectionModel.selected.map(s=>s.viewValue);return this._isRtl()&&o.reverse(),o.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return this._dir?this._dir.value==="rtl":!1}_handleKeydown(o){this.disabled||(this.panelOpen?this._handleOpenKeydown(o):this._handleClosedKeydown(o))}_handleClosedKeydown(o){let s=o.keyCode,a=s===40||s===38||s===37||s===39,l=s===13||s===32,c=this._keyManager;if(!c.isTyping()&&l&&!pt(o)||(this.multiple||o.altKey)&&a)o.preventDefault(),this.open();else if(!this.multiple){let d=this.selected;c.onKeydown(o);let f=this.selected;f&&d!==f&&this._liveAnnouncer.announce(f.viewValue,1e4)}}_handleOpenKeydown(o){let s=this._keyManager,a=o.keyCode,l=a===40||a===38,c=s.isTyping();if(l&&o.altKey)o.preventDefault(),this.close();else if(!c&&(a===13||a===32)&&s.activeItem&&!pt(o))o.preventDefault(),s.activeItem._selectViaInteraction();else if(!c&&this._multiple&&a===65&&o.ctrlKey){o.preventDefault();let d=this.options.some(f=>!f.disabled&&!f.selected);this.options.forEach(f=>{f.disabled||(d?f.select():f.deselect())})}else{let d=s.activeItemIndex;s.onKeydown(o),this._multiple&&l&&o.shiftKey&&s.activeItem&&s.activeItemIndex!==d&&s.activeItem._selectViaInteraction()}}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){var o;this._focused=!1,(o=this._keyManager)==null||o.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe(Be(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(o){if(this.options.forEach(s=>s.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&o)Array.isArray(o),o.forEach(s=>this._selectOptionByValue(s)),this._sortValues();else{let s=this._selectOptionByValue(o);s?this._keyManager.updateActiveItem(s):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(o){let s=this.options.find(a=>{if(this._selectionModel.isSelected(a))return!1;try{return a.value!=null&&this._compareWith(a.value,o)}catch{return!1}});return s&&this._selectionModel.select(s),s}_assignValue(o){return o!==this._value||this._multiple&&Array.isArray(o)?(this.options&&this._setSelectionByValue(o),this._value=o,!0):!1}_skipPredicate=o=>this.panelOpen?!1:o.disabled;_getOverlayWidth(o){return this.panelWidth==="auto"?(o instanceof Xa?o.elementRef:o||this._elementRef).nativeElement.getBoundingClientRect().width:this.panelWidth===null?"":this.panelWidth}_syncParentProperties(){if(this.options)for(let o of this.options)o._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new Su(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 o=bt(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(we(o)).subscribe(s=>{this._onSelect(s.source,s.isUserInput),s.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),bt(...this.options.map(s=>s._stateChanges)).pipe(we(o)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(o,s){let a=this._selectionModel.isSelected(o);o.value==null&&!this._multiple?(o.deselect(),this._selectionModel.clear(),this.value!=null&&this._propagateChanges(o.value)):(a!==o.selected&&(o.selected?this._selectionModel.select(o):this._selectionModel.deselect(o)),s&&this._keyManager.setActiveItem(o),this.multiple&&(this._sortValues(),s&&this.focus())),a!==this._selectionModel.isSelected(o)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){let o=this.options.toArray();this._selectionModel.sort((s,a)=>this.sortComparator?this.sortComparator(s,a,o):o.indexOf(s)-o.indexOf(a)),this.stateChanges.next()}}_propagateChanges(o){let s;this.multiple?s=this.selected.map(a=>a.value):s=this.selected?this.selected.value:o,this._value=s,this.valueChange.emit(s),this._onChange(s),this.selectionChange.emit(this._getChangeEvent(s)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let o=-1;for(let s=0;s0}focus(o){this._elementRef.nativeElement.focus(o)}_getPanelAriaLabelledby(){var a;if(this.ariaLabel)return null;let o=((a=this._parentFormField)==null?void 0:a.getLabelId())||null,s=o?o+" ":"";return this.ariaLabelledby?s+this.ariaLabelledby:o}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){var a;if(this.ariaLabel)return null;let o=(a=this._parentFormField)==null?void 0:a.getLabelId(),s=(o?o+" ":"")+this._valueId;return this.ariaLabelledby&&(s+=" "+this.ariaLabelledby),s}_panelDoneAnimating(o){this.openedChange.emit(o)}setDescribedByIds(o){o.length?this._elementRef.nativeElement.setAttribute("aria-describedby",o.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}static \u0275fac=function(s){return new(s||n)};static \u0275cmp=A({type:n,selectors:[["mat-select"]],contentQueries:function(s,a,l){if(s&1&&(lt(l,c2,5),lt(l,Lu,5),lt(l,fv,5)),s&2){let c;oe(c=se())&&(a.customTrigger=c.first),oe(c=se())&&(a.options=c),oe(c=se())&&(a.optionGroups=c)}},viewQuery:function(s,a){if(s&1&&(Re(ZV,5),Re(KV,5),Re(nv,5)),s&2){let l;oe(l=se())&&(a.trigger=l.first),oe(l=se())&&(a.panel=l.first),oe(l=se())&&(a._overlayDir=l.first)}},hostAttrs:["role","combobox","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(s,a){s&1&&B("keydown",function(c){return a._handleKeydown(c)})("focus",function(){return a._onFocus()})("blur",function(){return a._onBlur()}),s&2&&(ye("id",a.id)("tabindex",a.disabled?-1:a.tabIndex)("aria-controls",a.panelOpen?a.id+"-panel":null)("aria-expanded",a.panelOpen)("aria-label",a.ariaLabel||null)("aria-required",a.required.toString())("aria-disabled",a.disabled.toString())("aria-invalid",a.errorState)("aria-activedescendant",a._getAriaActiveDescendant()),ce("mat-mdc-select-disabled",a.disabled)("mat-mdc-select-invalid",a.errorState)("mat-mdc-select-required",a.required)("mat-mdc-select-empty",a.empty)("mat-mdc-select-multiple",a.multiple))},inputs:{userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[2,"disabled","disabled",q],disableRipple:[2,"disableRipple","disableRipple",q],tabIndex:[2,"tabIndex","tabIndex",o=>o==null?0:ii(o)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",q],placeholder:"placeholder",required:[2,"required","required",q],multiple:[2,"multiple","multiple",q],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",q],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",ii],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[ze([{provide:hl,useExisting:n},{provide:uv,useExisting:n}]),Oe,qe],ngContentSelectors:JV,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(s,a){if(s&1){let l=xe();Ze(XV),m(0,"div",2,0),B("click",function(){return ie(l),re(a.open())}),m(3,"div",3),F(4,e2,2,1,"span",4)(5,i2,3,1,"span",5),p(),m(6,"div",6)(7,"div",7),Xn(),m(8,"svg",8),T(9,"path",9),p()()()(),F(10,r2,3,9,"ng-template",10),B("backdropClick",function(){return ie(l),re(a.close())})("attach",function(){return ie(l),re(a._onAttached())})("detach",function(){return ie(l),re(a.close())})}if(s&2){let l=St(1);y(3),ye("id",a._valueId),y(),He(a.empty?4:5),y(6),D("cdkConnectedOverlayPanelClass",a._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",a._scrollStrategy)("cdkConnectedOverlayOrigin",a._preferredOverlayOrigin||l)("cdkConnectedOverlayOpen",a.panelOpen)("cdkConnectedOverlayPositions",a._positions)("cdkConnectedOverlayWidth",a._overlayWidth)}},dependencies:[Xa,nv,Jo],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, var(--mat-sys-on-surface));font-family:var(--mat-select-trigger-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-select-trigger-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-select-trigger-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-select-trigger-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-select-trigger-text-tracking, var(--mat-sys-body-large-tracking))}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-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-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.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, var(--mat-sys-error))}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color, var(--mat-sys-on-surface-variant))}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}@media(forced-colors: active){.mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .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, var(--mat-sys-surface-container))}@media(forced-colors: 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, var(--mat-sys-on-surface-variant))}._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, translateY(-8px))}'],encapsulation:2,data:{animation:[o2.transformPanel]},changeDetection:0})}return n})();var LE=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=V({type:n});static \u0275inj=L({providers:[l2],imports:[li,hv,Me,hr,uo,hv,Me]})}return n})();function u2(n,t){if(n&1&&(m(0,"mat-option",19),b(1),p()),n&2){let e=t.$implicit;D("value",e.id),y(),Ie(" ",e.name," ")}}function f2(n,t){if(n&1){let e=xe();m(0,"div",9)(1,"mat-form-field",16)(2,"mat-label")(3,"uds-translate"),b(4,"Authenticator"),p()(),m(5,"mat-select",17),B("selectionChange",function(r){ie(e);let o=N();return re(o.changeAuth(r.value))}),F(6,u2,2,2,"mat-option",18),p()()()}if(n&2){let e=N();y(5),D("value",e.auths[0].id),y(),D("ngForOf",e.auths)}}var kv=(()=>{let t=class t{constructor(i){this.api=i,this.auth={},this.title="UDS Enterprise",this.title=i.config.site_name,this.auths=i.config.authenticators.slice(0),this.auths.sort((r,o)=>r.priority-o.priority)}ngOnInit(){let i=document.getElementById("loginform");i.action=this.api.config.urls.login;let r=document.getElementById("token");r.name=this.api.csrfField;let o=document.cookie.split(";").find(s=>s.trim().startsWith("csrftoken="))||"=";r.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(i){this.auth.value=i;let r=o=>{this.api.eval(o)};for(let o of this.auths)o.id===i&&o.is_custom&&(document.getElementsByClassName("login-form")[0].setAttribute("style","display: none;"),this.api.getAuthCustomJavascript(o.id).then(s=>r(s)))}launch(){return document.getElementById("loginform").submit(),!0}};t.\u0275fac=function(r){return new(r||t)(S(Ae))},t.\u0275cmp=A({type:t,selectors:[["uds-login"]],standalone:!1,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(r,o){r&1&&(m(0,"form",0),B("ngSubmit",function(){return o.launch()}),T(1,"input",1)(2,"input",2)(3,"input",3),m(4,"div",4)(5,"div",5),T(6,"img",6),p(),m(7,"div",7),b(8),p(),m(9,"div",8)(10,"div",9)(11,"mat-form-field")(12,"mat-label")(13,"uds-translate"),b(14,"Username"),p()(),T(15,"input",10),p()(),m(16,"div",9)(17,"mat-form-field")(18,"mat-label")(19,"uds-translate"),b(20,"Password"),p()(),T(21,"input",11),p()(),F(22,f2,7,2,"div",12),m(23,"div",13)(24,"button",14)(25,"uds-translate"),b(26,"Login"),p()()()(),T(27,"div",15),ti(28,"safeHtml"),p()()),r&2&&(y(6),D("src",o.api.staticURL("modern/img/login-img.png"),mt),y(2),Ie(" ",o.title," "),y(14),D("ngIf",o.auths.length>1),y(5),D("innerHTML",ni(28,4,o.api.config.site_information),ei))},dependencies:[Tt,At,As,Ts,Ln,di,Dr,ui,Er,FE,Lu,Ue,br],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=t;return n})();function h2(n,t){if(n&1){let e=xe();m(0,"div",6),B("click",function(){let r=ie(e).$implicit,o=N();return re(o.api.download(r.url))}),m(1,"div",7),T(2,"img",8),p(),m(3,"div",9),b(4),p(),m(5,"div",10),b(6),p()()}if(n&2){let e=t.$implicit,i=N();$t(i.css(e)),y(2),D("src",i.img(e.name),mt),y(2),vp(" ",i.legacy(e)," ",e.name," (",e.url.split(".").pop(),") "),y(2),Ie(" ",e.description," ")}}var VE=(()=>{let t=class t{constructor(i){this.api=i}ngOnInit(){}img(i){return this.api.staticURL("modern/img/"+i+".png")}css(i){let r=["plugin"];return i.legacy&&r.push("legacy"),r}legacy(i){return i.legacy?"Legacy":""}};t.\u0275fac=function(r){return new(r||t)(S(Ae))},t.\u0275cmp=A({type:t,selectors:[["uds-client-download"]],standalone:!1,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(r,o){r&1&&(m(0,"div",0)(1,"div",1)(2,"div",2)(3,"h1")(4,"uds-translate"),b(5,"UDS Client"),p()()()(),m(6,"div",3),F(7,h2,7,7,"div",4),p(),m(8,"div",5)(9,"ul")(10,"li")(11,"uds-translate"),b(12,"Download UDS client for your platform"),p()()()()()),r&2&&(y(7),D("ngForOf",o.api.plugins))},dependencies:[Tt,Ue],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=t;return n})();function m2(n,t){if(n&1){let e=xe();m(0,"div",6),B("click",function(){let r=ie(e).$implicit,o=N();return re(o.api.download(r.url))}),m(1,"div",7),T(2,"img",8),p(),T(3,"div",9),ti(4,"safeHtml"),T(5,"div",10),ti(6,"safeHtml"),p()}if(n&2){let e=t.$implicit,i=N();$t(i.css(e)),y(2),D("src",i.img(e.name),mt),y(),D("innerHTML",ni(4,5,e.name),ei),y(2),D("innerHTML",ni(6,7,e.description),ei)}}var jE=(()=>{let t=class t{constructor(i){this.api=i,this.actors=[]}ngOnInit(){this.actors=[];let i=[];for(let r of this.api.actors)r.legacy?i.push(r):this.actors.push(r);for(let r of i)this.actors.push(r)}img(i){let r=(i.split(".").pop()||"").toLowerCase(),o="Linux";return r==="exe"?o="Windows":r==="pkg"&&(o="MacOS"),this.api.staticURL("modern/img/"+o+".png")}css(i){let r=["actor"];return i.legacy&&r.push("legacy"),r}};t.\u0275fac=function(r){return new(r||t)(S(Ae))},t.\u0275cmp=A({type:t,selectors:[["uds-downloads"]],standalone:!1,decls:13,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(r,o){r&1&&(m(0,"div",0)(1,"div",1)(2,"div",2)(3,"h1")(4,"uds-translate"),b(5,"Downloads"),p()()()(),m(6,"div",3),F(7,m2,7,9,"div",4),p(),m(8,"div",5)(9,"ul")(10,"li")(11,"uds-translate"),b(12,"Always download the UDS actor matching your platform"),p()()()()()),r&2&&(y(7),D("ngForOf",o.actors))},dependencies:[Tt,Ue,br],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=t;return n})();var Ov=new x("CdkAccordion"),BE=(()=>{class n{_stateChanges=new M;_openCloseAllActions=new M;id=u($e).getId("cdk-accordion-");multi=!1;openAll(){this.multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(e){this._stateChanges.next(e)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}static \u0275fac=function(i){return new(i||n)};static \u0275dir=P({type:n,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:[2,"multi","multi",q]},exportAs:["cdkAccordion"],features:[ze([{provide:Ov,useExisting:n}]),Oe,qe]})}return n})(),zE=(()=>{class n{accordion=u(Ov,{optional:!0,skipSelf:!0});_changeDetectorRef=u(Pe);_expansionDispatcher=u(bu);_openCloseAllSubscription=me.EMPTY;closed=new $;opened=new $;destroyed=new $;expandedChange=new $;id=u($e).getId("cdk-accordion-child-");get expanded(){return this._expanded}set expanded(e){if(this._expanded!==e){if(this._expanded=e,this.expandedChange.emit(e),e){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()}}_expanded=!1;disabled=!1;_removeUniqueSelectionListener=()=>{};constructor(){}ngOnInit(){this._removeUniqueSelectionListener=this._expansionDispatcher.listen((e,i)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===i&&this.id!==e&&(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(e=>{this.disabled||(this.expanded=e)})}static \u0275fac=function(i){return new(i||n)};static \u0275dir=P({type:n,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:[2,"expanded","expanded",q],disabled:[2,"disabled","disabled",q]},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[ze([{provide:Ov,useValue:void 0}]),Oe]})}return n})(),UE=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=V({type:n});static \u0275inj=L({})}return n})();var p2=["body"],g2=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],v2=["mat-expansion-panel-header","*","mat-action-row"];function _2(n,t){}var y2=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],b2=["mat-panel-title","mat-panel-description","*"];function w2(n,t){if(n&1&&(m(0,"span",1),Xn(),m(1,"svg",2),T(2,"path",3),p()()),n&2){let e=N();D("@indicatorRotate",e._getExpandedState())}}var Rv=new x("MAT_ACCORDION"),HE="225ms cubic-bezier(0.4,0.0,0.2,1)",GE={indicatorRotate:Fn("indicatorRotate",[_n("collapsed, void",rt({transform:"rotate(0deg)"})),_n("expanded",rt({transform:"rotate(180deg)"})),Jt("expanded <=> collapsed, void => collapsed",vn(HE))]),bodyExpansion:Fn("bodyExpansion",[_n("collapsed, void",rt({height:"0px",visibility:"hidden"})),_n("expanded",rt({height:"*",visibility:""})),Jt("expanded <=> collapsed, void => collapsed",vn(HE))])},WE=new x("MAT_EXPANSION_PANEL"),x2=(()=>{class n{_template=u(xt);_expansionPanel=u(WE,{optional:!0});constructor(){}static \u0275fac=function(i){return new(i||n)};static \u0275dir=P({type:n,selectors:[["ng-template","matExpansionPanelContent",""]]})}return n})(),qE=new x("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),pl=(()=>{class n extends zE{_viewContainerRef=u(at);_animationMode=u(Je,{optional:!0});_animationsDisabled;_document=u(J);get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(e){this._hideToggle=e}_hideToggle=!1;get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(e){this._togglePosition=e}_togglePosition;afterExpand=new $;afterCollapse=new $;_inputChanges=new M;accordion=u(Rv,{optional:!0,skipSelf:!0});_lazyContent;_body;_portal;_headerId=u($e).getId("mat-expansion-panel-header-");constructor(){super();let e=u(qE,{optional:!0});this._expansionDispatcher=u(bu),this._animationsDisabled=this._animationMode==="NoopAnimations",e&&(this.hideToggle=e.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(Ke(null),ne(()=>this.expanded&&!this._portal),Be(1)).subscribe(()=>{this._portal=new Nn(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(e){this._inputChanges.next(e)}ngOnDestroy(){super.ngOnDestroy(),this._inputChanges.complete()}_containsFocus(){if(this._body){let e=this._document.activeElement,i=this._body.nativeElement;return e===i||i.contains(e)}return!1}_animationStarted(e){var i;!$E(e)&&!this._animationsDisabled&&this._body&&((i=this._body)==null||i.nativeElement.setAttribute("inert",""))}_animationDone(e){$E(e)||(e.toState==="expanded"?this.afterExpand.emit():e.toState==="collapsed"&&this.afterCollapse.emit(),!this._animationsDisabled&&this._body&&this._body.nativeElement.removeAttribute("inert"))}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=A({type:n,selectors:[["mat-expansion-panel"]],contentQueries:function(i,r,o){if(i&1&<(o,x2,5),i&2){let s;oe(s=se())&&(r._lazyContent=s.first)}},viewQuery:function(i,r){if(i&1&&Re(p2,5),i&2){let o;oe(o=se())&&(r._body=o.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(i,r){i&2&&ce("mat-expanded",r.expanded)("_mat-animation-noopable",r._animationsDisabled)("mat-expansion-panel-spacing",r._hasSpacing())},inputs:{hideToggle:[2,"hideToggle","hideToggle",q],togglePosition:"togglePosition"},outputs:{afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[ze([{provide:Rv,useValue:void 0},{provide:WE,useExisting:n}]),Oe,Ve,qe],ngContentSelectors:v2,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,r){if(i&1){let o=xe();Ze(g2),he(0),m(1,"div",1,0),B("@bodyExpansion.start",function(a){return ie(o),re(r._animationStarted(a))})("@bodyExpansion.done",function(a){return ie(o),re(r._animationDone(a))}),m(3,"div",2),he(4,1),F(5,_2,0,0,"ng-template",3),p(),he(6,2),p()}i&2&&(y(),D("@bodyExpansion",r._getExpandedState())("id",r.id),ye("aria-labelledby",r._headerId),y(4),D("cdkPortalOutlet",r._portal))},dependencies:[oo],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, var(--mat-sys-surface));color:var(--mat-expansion-container-text-color, var(--mat-sys-on-surface));border-radius:var(--mat-expansion-container-shape, 12px)}.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, 12px);border-top-left-radius:var(--mat-expansion-container-shape, 12px)}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:var(--mat-expansion-container-shape, 12px);border-bottom-left-radius:var(--mat-expansion-container-shape, 12px)}@media(forced-colors: 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, var(--mat-sys-body-large-font));font-size:var(--mat-expansion-container-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-expansion-container-text-weight, var(--mat-sys-body-large-weight));line-height:var(--mat-expansion-container-text-line-height, var(--mat-sys-body-large-line-height));letter-spacing:var(--mat-expansion-container-text-tracking, var(--mat-sys-body-large-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, var(--mat-sys-outline))}.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:[GE.bodyExpansion]},changeDetection:0})}return n})();function $E(n){return n.fromState==="void"}var gl=(()=>{class n{panel=u(pl,{host:!0});_element=u(H);_focusMonitor=u(Pn);_changeDetectorRef=u(Pe);_animationMode=u(Je,{optional:!0});_parentChangeSubscription=me.EMPTY;constructor(){u(dt).load(Vi);let e=this.panel,i=u(qE,{optional:!0}),r=u(new yi("tabindex"),{optional:!0}),o=e.accordion?e.accordion._stateChanges.pipe(ne(s=>!!(s.hideToggle||s.togglePosition))):ft;this.tabIndex=parseInt(r||"")||0,this._parentChangeSubscription=bt(e.opened,e.closed,o,e._inputChanges.pipe(ne(s=>!!(s.hideToggle||s.disabled||s.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),e.closed.pipe(ne(()=>e._containsFocus())).subscribe(()=>this._focusMonitor.focusVia(this._element,"program")),i&&(this.expandedHeight=i.expandedHeight,this.collapsedHeight=i.collapsedHeight)}expandedHeight;collapsedHeight;tabIndex=0;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 e=this._isExpanded();return e&&this.expandedHeight?this.expandedHeight:!e&&this.collapsedHeight?this.collapsedHeight:null}_keydown(e){switch(e.keyCode){case 32:case 13:pt(e)||(e.preventDefault(),this._toggle());break;default:this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(e);return}}focus(e,i){e?this._focusMonitor.focusVia(this._element,e,i):this._element.nativeElement.focus(i)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(e=>{e&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=A({type:n,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(i,r){i&1&&B("click",function(){return r._toggle()})("keydown",function(s){return r._keydown(s)}),i&2&&(ye("id",r.panel._headerId)("tabindex",r.disabled?-1:r.tabIndex)("aria-controls",r._getPanelId())("aria-expanded",r._isExpanded())("aria-disabled",r.panel.disabled),fa("height",r._getHeaderHeight()),ce("mat-expanded",r._isExpanded())("mat-expansion-toggle-indicator-after",r._getTogglePosition()==="after")("mat-expansion-toggle-indicator-before",r._getTogglePosition()==="before")("_mat-animation-noopable",r._animationMode==="NoopAnimations"))},inputs:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight",tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:ii(e)]},features:[Oe],ngContentSelectors:b2,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,r){i&1&&(Ze(y2),m(0,"span",0),he(1),he(2,1),he(3,2),p(),F(4,w2,3,1,"span",1)),i&2&&(ce("mat-content-hide-toggle",!r._showToggle()),y(4),He(r._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, 48px);font-family:var(--mat-expansion-header-text-font, var(--mat-sys-title-medium-font));font-size:var(--mat-expansion-header-text-size, var(--mat-sys-title-medium-size));font-weight:var(--mat-expansion-header-text-weight, var(--mat-sys-title-medium-weight));line-height:var(--mat-expansion-header-text-line-height, var(--mat-sys-title-medium-line-height));letter-spacing:var(--mat-expansion-header-text-tracking, var(--mat-sys-title-medium-tracking))}.mat-expansion-panel-header.mat-expanded{height:var(--mat-expansion-header-expanded-state-height, 64px)}.mat-expansion-panel-header[aria-disabled=true]{color:var(--mat-expansion-header-disabled-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.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, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}@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, var(--mat-sys-surface))}}.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, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent))}.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, var(--mat-sys-on-surface))}.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, var(--mat-sys-on-surface-variant))}.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, var(--mat-sys-on-surface-variant));display:var(--mat-expansion-legacy-header-indicator-display, none)}.mat-expansion-indicator svg{width:24px;height:24px;margin:0 -8px;vertical-align:middle;fill:var(--mat-expansion-header-indicator-color, var(--mat-sys-on-surface-variant));display:var(--mat-expansion-header-indicator-display, inline-block)}@media(forced-colors: active){.mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}}'],encapsulation:2,data:{animation:[GE.indicatorRotate]},changeDetection:0})}return n})(),ff=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275dir=P({type:n,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]})}return n})(),hf=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275dir=P({type:n,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]})}return n})(),mf=(()=>{class n extends BE{_keyManager;_ownHeaders=new Qn;_headers;hideToggle=!1;displayMode="default";togglePosition="after";ngAfterContentInit(){this._headers.changes.pipe(Ke(this._headers)).subscribe(e=>{this._ownHeaders.reset(e.filter(i=>i.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new ys(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(e){this._keyManager.onKeydown(e)}_handleHeaderFocus(e){this._keyManager.updateActiveItem(e)}ngOnDestroy(){var e;super.ngOnDestroy(),(e=this._keyManager)==null||e.destroy(),this._ownHeaders.destroy()}static \u0275fac=(()=>{let e;return function(r){return(e||(e=st(n)))(r||n)}})();static \u0275dir=P({type:n,selectors:[["mat-accordion"]],contentQueries:function(i,r,o){if(i&1&<(o,gl,5),i&2){let s;oe(s=se())&&(r._headers=s)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(i,r){i&2&&ce("mat-accordion-multi",r.multi)},inputs:{hideToggle:[2,"hideToggle","hideToggle",q],displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[ze([{provide:Rv,useExisting:n}]),Oe,Ve]})}return n})(),YE=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=V({type:n});static \u0275inj=L({imports:[Me,UE,Fi]})}return n})();var C2=["mat-menu-item",""],D2=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],E2=["mat-icon, [matMenuItemIcon]","*"];function I2(n,t){n&1&&(Xn(),m(0,"svg",2),T(1,"polygon",3),p())}var M2=["*"];function S2(n,t){if(n&1){let e=xe();m(0,"div",0),B("click",function(){ie(e);let r=N();return re(r.closed.emit("click"))})("@transformMenu.start",function(r){ie(e);let o=N();return re(o._onAnimationStart(r))})("@transformMenu.done",function(r){ie(e);let o=N();return re(o._onAnimationDone(r))}),m(1,"div",1),he(2),p()()}if(n&2){let e=N();$t(e._classList),D("id",e.panelId)("@transformMenu",e._panelAnimationState),ye("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby||null)("aria-describedby",e.ariaDescribedby||null)}}var Pv=new x("MAT_MENU_PANEL"),fo=(()=>{class n{_elementRef=u(H);_document=u(J);_focusMonitor=u(Pn);_parentMenu=u(Pv,{optional:!0});_changeDetectorRef=u(Pe);role="menuitem";disabled=!1;disableRipple=!1;_hovered=new M;_focused=new M;_highlighted=!1;_triggersSubmenu=!1;constructor(){var e,i;u(dt).load(Vi),(i=(e=this._parentMenu)==null?void 0:e.addItem)==null||i.call(e,this)}focus(e,i){this._focusMonitor&&e?this._focusMonitor.focusVia(this._getHostElement(),e,i):this._getHostElement().focus(i),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){var r;let e=this._elementRef.nativeElement.cloneNode(!0),i=e.querySelectorAll("mat-icon, .material-icons");for(let o=0;o enter",vn("120ms cubic-bezier(0, 0, 0.2, 1)",rt({opacity:1,transform:"scale(1)"}))),Jt("* => void",vn("100ms 25ms linear",rt({opacity:0})))]),fadeInItems:Fn("fadeInItems",[_n("showing",rt({opacity:1})),Jt("void => *",[rt({opacity:0}),vn("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},ZQ=pf.fadeInItems,KQ=pf.transformMenu,A2=new x("mat-menu-default-options",{providedIn:"root",factory:k2});function k2(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}var Bi=(()=>{class n{_elementRef=u(H);_changeDetectorRef=u(Pe);_keyManager;_xPosition;_yPosition;_firstItemFocusRef;_allItems;_directDescendantItems=new Qn;_classList={};_panelAnimationState="void";_animationDone=new M;_isAnimating;parentMenu;direction;overlayPanelClass;backdropClass;ariaLabel;ariaLabelledby;ariaDescribedby;get xPosition(){return this._xPosition}set xPosition(e){this._xPosition=e,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(e){this._yPosition=e,this.setPositionClasses()}templateRef;items;lazyContent;overlapTrigger;hasBackdrop;set panelClass(e){let i=this._previousPanelClass,r=w({},this._classList);i&&i.length&&i.split(" ").forEach(o=>{r[o]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(o=>{r[o]=!0}),this._elementRef.nativeElement.className=""),this._classList=r}_previousPanelClass;get classList(){return this.panelClass}set classList(e){this.panelClass=e}closed=new $;close=this.closed;panelId=u($e).getId("mat-menu-panel-");_injector=u(_e);constructor(){let e=u(A2);this.overlayPanelClass=e.overlayPanelClass||"",this._xPosition=e.xPosition,this._yPosition=e.yPosition,this.backdropClass=e.backdropClass,this.overlapTrigger=e.overlapTrigger,this.hasBackdrop=e.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new ys(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(Ke(this._directDescendantItems),tt(e=>bt(...e.map(i=>i._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e)),this._directDescendantItems.changes.subscribe(e=>{var r;let i=this._keyManager;if(this._panelAnimationState==="enter"&&((r=i.activeItem)!=null&&r._hasFocus())){let o=e.toArray(),s=Math.max(0,Math.min(o.length-1,i.activeItemIndex||0));o[s]&&!o[s].disabled?i.setActiveItem(s):i.setNextItemActive()}})}ngOnDestroy(){var e,i;(e=this._keyManager)==null||e.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),(i=this._firstItemFocusRef)==null||i.destroy()}_hovered(){return this._directDescendantItems.changes.pipe(Ke(this._directDescendantItems),tt(i=>bt(...i.map(r=>r._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){let i=e.keyCode,r=this._keyManager;switch(i){case 27:pt(e)||(e.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)&&r.setFocusOrigin("keyboard"),r.onKeydown(e);return}}focusFirstItem(e="program"){var i;(i=this._firstItemFocusRef)==null||i.destroy(),this._firstItemFocusRef=Ut(()=>{let r=null;if(this._directDescendantItems.length&&(r=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!r||!r.contains(document.activeElement)){let o=this._keyManager;o.setFocusOrigin(e).setFirstItemActive(),!o.activeItem&&r&&r.focus()}},{injector:this._injector})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){}setPositionClasses(e=this.xPosition,i=this.yPosition){this._classList=te(w({},this._classList),{"mat-menu-before":e==="before","mat-menu-after":e==="after","mat-menu-above":i==="above","mat-menu-below":i==="below"}),this._changeDetectorRef.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(e){this._animationDone.next(e),this._isAnimating=!1}_onAnimationStart(e){this._isAnimating=!0,e.toState==="enter"&&this._keyManager.activeItemIndex===0&&(e.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(Ke(this._allItems)).subscribe(e=>{this._directDescendantItems.reset(e.filter(i=>i._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=A({type:n,selectors:[["mat-menu"]],contentQueries:function(i,r,o){if(i&1&&(lt(o,T2,5),lt(o,fo,5),lt(o,fo,4)),i&2){let s;oe(s=se())&&(r.lazyContent=s.first),oe(s=se())&&(r._allItems=s),oe(s=se())&&(r.items=s)}},viewQuery:function(i,r){if(i&1&&Re(xt,5),i&2){let o;oe(o=se())&&(r.templateRef=o.first)}},hostVars:3,hostBindings:function(i,r){i&2&&ye("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",q],hasBackdrop:[2,"hasBackdrop","hasBackdrop",e=>e==null?null:q(e)],panelClass:[0,"class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],features:[ze([{provide:Pv,useExisting:n}]),Oe],ngContentSelectors:M2,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel",3,"click","id"],[1,"mat-mdc-menu-content"]],template:function(i,r){i&1&&(Ze(),F(0,S2,3,7,"ng-template"))},styles:['mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;outline:0}.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, var(--mat-sys-label-large-font));line-height:var(--mat-menu-item-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-menu-item-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-menu-item-label-text-tracking, var(--mat-sys-label-large-tracking));font-weight:var(--mat-menu-item-label-text-weight, var(--mat-sys-label-large-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, var(--mat-sys-corner-extra-small));background-color:var(--mat-menu-container-color, var(--mat-sys-surface-container));box-shadow:var(--mat-menu-container-elevation-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));will-change:transform,opacity}.mat-mdc-menu-panel.ng-animating{pointer-events:none}.mat-mdc-menu-panel.ng-animating:has(.mat-mdc-menu-content:empty){display:none}@media(forced-colors: active){.mat-mdc-menu-panel{outline:solid 1px}}.mat-mdc-menu-panel .mat-divider{color:var(--mat-menu-divider-color, var(--mat-sys-surface-variant));margin-bottom:var(--mat-menu-divider-bottom-spacing, 8px);margin-top:var(--mat-menu-divider-top-spacing, 8px)}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;min-height:48px;padding-left:var(--mat-menu-item-leading-spacing, 12px);padding-right:var(--mat-menu-item-trailing-spacing, 12px);-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-menu-item::-moz-focus-inner{border:0}[dir=rtl] .mat-mdc-menu-item{padding-left:var(--mat-menu-item-trailing-spacing, 12px);padding-right:var(--mat-menu-item-leading-spacing, 12px)}.mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-left:var(--mat-menu-item-with-icon-leading-spacing, 12px);padding-right:var(--mat-menu-item-with-icon-trailing-spacing, 12px)}[dir=rtl] .mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-left:var(--mat-menu-item-with-icon-trailing-spacing, 12px);padding-right:var(--mat-menu-item-with-icon-leading-spacing, 12px)}.mat-mdc-menu-item,.mat-mdc-menu-item:visited,.mat-mdc-menu-item:link{color:var(--mat-menu-item-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-menu-item .mat-icon-no-color,.mat-mdc-menu-item .mat-mdc-menu-submenu-icon{color:var(--mat-menu-item-icon-color, var(--mat-sys-on-surface-variant))}.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:focus{outline:0}.mat-mdc-menu-item .mat-icon{flex-shrink:0;margin-right:var(--mat-menu-item-spacing, 12px);height:var(--mat-menu-item-icon-size, 24px);width:var(--mat-menu-item-icon-size, 24px)}[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, 12px)}.mat-mdc-menu-item:not([disabled]):hover{background-color:var(--mat-menu-item-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}.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, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent))}@media(forced-colors: active){.mat-mdc-menu-item{margin-top:1px}}.mat-mdc-menu-submenu-icon{width:var(--mat-menu-item-icon-size, 24px);height:10px;fill:currentColor;padding-left:var(--mat-menu-item-spacing, 12px)}[dir=rtl] .mat-mdc-menu-submenu-icon{padding-right:var(--mat-menu-item-spacing, 12px);padding-left:0}[dir=rtl] .mat-mdc-menu-submenu-icon polygon{transform:scaleX(-1);transform-origin:center}@media(forced-colors: 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:[pf.transformMenu,pf.fadeInItems]},changeDetection:0})}return n})(),ZE=new x("mat-menu-scroll-strategy",{providedIn:"root",factory:()=>{let n=u(it);return()=>n.scrollStrategies.reposition()}});function O2(n){return()=>n.scrollStrategies.reposition()}var R2={provide:ZE,deps:[it],useFactory:O2},QE=mn({passive:!0});var gf=(()=>{class n{_overlay=u(it);_element=u(H);_viewContainerRef=u(at);_menuItemInstance=u(fo,{optional:!0,self:!0});_dir=u(kt,{optional:!0});_focusMonitor=u(Pn);_ngZone=u(R);_scrollStrategy=u(ZE);_changeDetectorRef=u(Pe);_portal;_overlayRef=null;_menuOpen=!1;_closingActionsSubscription=me.EMPTY;_hoverSubscription=me.EMPTY;_menuCloseSubscription=me.EMPTY;_parentMaterialMenu;_parentInnerPadding;_handleTouchStart=e=>{Ka(e)||(this._openedBy="touch")};_openedBy=void 0;get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(e){this.menu=e}get menu(){return this._menu}set menu(e){var i;e!==this._menu&&(this._menu=e,this._menuCloseSubscription.unsubscribe(),e&&(this._parentMaterialMenu,this._menuCloseSubscription=e.close.subscribe(r=>{this._destroyMenu(r),(r==="click"||r==="tab")&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(r)})),(i=this._menuItemInstance)==null||i._setTriggersSubmenu(this.triggersSubmenu()))}_menu;menuData;restoreFocus=!0;menuOpened=new $;onMenuOpen=this.menuOpened;menuClosed=new $;onMenuClose=this.menuClosed;constructor(){let e=u(Pv,{optional:!0});this._parentMaterialMenu=e instanceof Bi?e:void 0,this._element.nativeElement.addEventListener("touchstart",this._handleTouchStart,QE)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,QE),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 e=this.menu;if(this._menuOpen||!e)return;let i=this._createOverlay(e),r=i.getConfig(),o=r.positionStrategy;this._setPosition(e,o),r.hasBackdrop=e.hasBackdrop==null?!this.triggersSubmenu():e.hasBackdrop,i.attach(this._getPortal(e)),e.lazyContent&&e.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(e),e instanceof Bi&&(e._startAnimation(),e._directDescendantItems.changes.pipe(we(e.close)).subscribe(()=>{o.withLockedPosition(!1).reapplyLastPosition(),o.withLockedPosition(!0)}))}closeMenu(){var e;(e=this.menu)==null||e.close.emit()}focus(e,i){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,i):this._element.nativeElement.focus(i)}updatePosition(){var e;(e=this._overlayRef)==null||e.updatePosition()}_destroyMenu(e){var r;if(!this._overlayRef||!this.menuOpen)return;let i=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&(e==="keydown"||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,i instanceof Bi?(i._resetAnimation(),i.lazyContent?i._animationDone.pipe(ne(o=>o.toState==="void"),Be(1),we(i.lazyContent._attached)).subscribe({next:()=>i.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),(r=i==null?void 0:i.lazyContent)==null||r.detach())}_initMenu(e){e.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,e.direction=this.dir,e.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setIsMenuOpen(e){e!==this._menuOpen&&(this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(e),this._changeDetectorRef.markForCheck())}_createOverlay(e){if(!this._overlayRef){let i=this._getOverlayConfig(e);this._subscribeToPositions(e,i.positionStrategy),this._overlayRef=this._overlay.create(i),this._overlayRef.keydownEvents().subscribe(r=>{this.menu instanceof Bi&&this.menu._handleKeydown(r)})}return this._overlayRef}_getOverlayConfig(e){return new pr({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:e.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:e.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir||"ltr"})}_subscribeToPositions(e,i){e.setPositionClasses&&i.positionChanges.subscribe(r=>{this._ngZone.run(()=>{let o=r.connectionPair.overlayX==="start"?"after":"before",s=r.connectionPair.overlayY==="top"?"below":"above";e.setPositionClasses(o,s)})})}_setPosition(e,i){let[r,o]=e.xPosition==="before"?["end","start"]:["start","end"],[s,a]=e.yPosition==="above"?["bottom","top"]:["top","bottom"],[l,c]=[s,a],[d,f]=[r,o],g=0;if(this.triggersSubmenu()){if(f=r=e.xPosition==="before"?"start":"end",o=d=r==="end"?"start":"end",this._parentMaterialMenu){if(this._parentInnerPadding==null){let h=this._parentMaterialMenu.items.first;this._parentInnerPadding=h?h._getHostElement().offsetTop:0}g=s==="bottom"?this._parentInnerPadding:-this._parentInnerPadding}}else e.overlapTrigger||(l=s==="top"?"bottom":"top",c=a==="top"?"bottom":"top");i.withPositions([{originX:r,originY:l,overlayX:d,overlayY:s,offsetY:g},{originX:o,originY:l,overlayX:f,overlayY:s,offsetY:g},{originX:r,originY:c,overlayX:d,overlayY:a,offsetY:-g},{originX:o,originY:c,overlayX:f,overlayY:a,offsetY:-g}])}_menuClosingActions(){let e=this._overlayRef.backdropClick(),i=this._overlayRef.detachments(),r=this._parentMaterialMenu?this._parentMaterialMenu.closed:U(),o=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(ne(s=>s!==this._menuItemInstance),ne(()=>this._menuOpen)):U();return bt(e,r,o,i)}_handleMousedown(e){Za(e)||(this._openedBy=e.button===0?"mouse":void 0,this.triggersSubmenu()&&e.preventDefault())}_handleKeydown(e){let i=e.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(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(ne(e=>e===this._menuItemInstance&&!e.disabled),ic(0,zs)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof Bi&&this.menu._isAnimating?this.menu._animationDone.pipe(Be(1),ic(0,zs),we(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(e){return(!this._portal||this._portal.templateRef!==e.templateRef)&&(this._portal=new Nn(e.templateRef,this._viewContainerRef)),this._portal}static \u0275fac=function(i){return new(i||n)};static \u0275dir=P({type:n,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],hostVars:3,hostBindings:function(i,r){i&1&&B("click",function(s){return r._handleClick(s)})("mousedown",function(s){return r._handleMousedown(s)})("keydown",function(s){return r._handleKeydown(s)}),i&2&&ye("aria-haspopup",r.menu?"menu":null)("aria-expanded",r.menuOpen)("aria-controls",r.menuOpen?r.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"]})}return n})(),KE=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=V({type:n});static \u0275inj=L({providers:[R2],imports:[tl,Me,li,hr,Me]})}return n})();var N2=["tooltip"],tI=20;var nI=new x("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{let n=u(it);return()=>n.scrollStrategies.reposition({scrollThrottle:tI})}});function P2(n){return()=>n.scrollStrategies.reposition({scrollThrottle:tI})}var F2={provide:nI,deps:[it],useFactory:P2};function L2(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}var V2=new x("mat-tooltip-default-options",{providedIn:"root",factory:L2});var JE="tooltip-panel",eI=mn({passive:!0}),j2=8,B2=8,z2=24,U2=200,iI=(()=>{class n{_overlay=u(it);_elementRef=u(H);_scrollDispatcher=u(ps);_viewContainerRef=u(at);_ngZone=u(R);_platform=u(Te);_ariaDescriber=u(XC);_focusMonitor=u(Pn);_dir=u(kt);_injector=u(_e);_defaultOptions=u(V2,{optional:!0});_overlayRef;_tooltipInstance;_portal;_position="below";_positionAtOrigin=!1;_disabled=!1;_tooltipClass;_scrollStrategy=u(nI);_viewInitialized=!1;_pointerExitEventsInitialized=!1;_tooltipComponent=H2;_viewportMargin=8;_currentPosition;_cssClassPrefix="mat-mdc";_ariaDescriptionPending;get position(){return this._position}set position(e){var i;e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),(i=this._tooltipInstance)==null||i.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(e){this._positionAtOrigin=Oi(e),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(e){let i=Oi(e);this._disabled!==i&&(this._disabled=i,i?this.hide(0):this._setupPointerEnterEventsIfNeeded(),this._syncAriaDescription(this.message))}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=cr(e)}_showDelay;get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=cr(e),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}_hideDelay;touchGestures="auto";get message(){return this._message}set message(e){let i=this._message;this._message=e!=null?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage()),this._syncAriaDescription(i)}_message="";get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}_passiveListeners=[];_document=u(J);_touchstartTimeout=null;_destroyed=new M;constructor(){let e=this._defaultOptions;e&&(this._showDelay=e.showDelay,this._hideDelay=e.hideDelay,e.position&&(this.position=e.position),e.positionAtOrigin&&(this.positionAtOrigin=e.positionAtOrigin),e.touchGestures&&(this.touchGestures=e.touchGestures),e.tooltipClass&&(this.tooltipClass=e.tooltipClass)),this._dir.change.pipe(we(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),this._viewportMargin=j2}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(we(this._destroyed)).subscribe(e=>{e?e==="keyboard"&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){let e=this._elementRef.nativeElement;this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([i,r])=>{e.removeEventListener(i,r,eI)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay,i){var s;if(this.disabled||!this.message||this._isTooltipVisible()){(s=this._tooltipInstance)==null||s._cancelPendingAnimations();return}let r=this._createOverlay(i);this._detach(),this._portal=this._portal||new mr(this._tooltipComponent,this._viewContainerRef);let o=this._tooltipInstance=r.attach(this._portal).instance;o._triggerElement=this._elementRef.nativeElement,o._mouseLeaveHideDelay=this._hideDelay,o.afterHidden().pipe(we(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),o.show(e)}hide(e=this.hideDelay){let i=this._tooltipInstance;i&&(i.isVisible()?i.hide(e):(i._cancelPendingAnimations(),this._detach()))}toggle(e){this._isTooltipVisible()?this.hide():this.show(void 0,e)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(e){var o;if(this._overlayRef){let s=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!e)&&s._origin instanceof H)return this._overlayRef;this._detach()}let i=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),r=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin?e||this._elementRef:this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(i);return r.positionChanges.pipe(we(this._destroyed)).subscribe(s=>{this._updateCurrentPositionClass(s.connectionPair),this._tooltipInstance&&s.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:r,panelClass:`${this._cssClassPrefix}-${JE}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(we(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(we(this._destroyed)).subscribe(()=>{var s;return(s=this._tooltipInstance)==null?void 0:s._handleBodyInteraction()}),this._overlayRef.keydownEvents().pipe(we(this._destroyed)).subscribe(s=>{this._isTooltipVisible()&&s.keyCode===27&&!pt(s)&&(s.preventDefault(),s.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),(o=this._defaultOptions)!=null&&o.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){let i=e.getConfig().positionStrategy,r=this._getOrigin(),o=this._getOverlayPosition();i.withPositions([this._addOffset(w(w({},r.main),o.main)),this._addOffset(w(w({},r.fallback),o.fallback))])}_addOffset(e){let i=B2,r=!this._dir||this._dir.value=="ltr";return e.originY==="top"?e.offsetY=-i:e.originY==="bottom"?e.offsetY=i:e.originX==="start"?e.offsetX=r?-i:i:e.originX==="end"&&(e.offsetX=r?i:-i),e}_getOrigin(){let e=!this._dir||this._dir.value=="ltr",i=this.position,r;i=="above"||i=="below"?r={originX:"center",originY:i=="above"?"top":"bottom"}:i=="before"||i=="left"&&e||i=="right"&&!e?r={originX:"start",originY:"center"}:(i=="after"||i=="right"&&e||i=="left"&&!e)&&(r={originX:"end",originY:"center"});let{x:o,y:s}=this._invertPosition(r.originX,r.originY);return{main:r,fallback:{originX:o,originY:s}}}_getOverlayPosition(){let e=!this._dir||this._dir.value=="ltr",i=this.position,r;i=="above"?r={overlayX:"center",overlayY:"bottom"}:i=="below"?r={overlayX:"center",overlayY:"top"}:i=="before"||i=="left"&&e||i=="right"&&!e?r={overlayX:"end",overlayY:"center"}:(i=="after"||i=="right"&&e||i=="left"&&!e)&&(r={overlayX:"start",overlayY:"center"});let{x:o,y:s}=this._invertPosition(r.overlayX,r.overlayY);return{main:r,fallback:{overlayX:o,overlayY:s}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),Ut(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()},{injector:this._injector}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,i){return this.position==="above"||this.position==="below"?i==="top"?i="bottom":i==="bottom"&&(i="top"):e==="end"?e="start":e==="start"&&(e="end"),{x:e,y:i}}_updateCurrentPositionClass(e){let{overlayY:i,originX:r,originY:o}=e,s;if(i==="center"?this._dir&&this._dir.value==="rtl"?s=r==="end"?"left":"right":s=r==="start"?"left":"right":s=i==="bottom"&&o==="top"?"above":"below",s!==this._currentPosition){let a=this._overlayRef;if(a){let l=`${this._cssClassPrefix}-${JE}-`;a.removePanelClass(l+this._currentPosition),a.addPanelClass(l+s)}this._currentPosition=s}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",e=>{this._setupPointerExitEventsIfNeeded();let i;e.x!==void 0&&e.y!==void 0&&(i=e),this.show(void 0,i)}]):this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",e=>{var s,a;let i=(s=e.targetTouches)==null?void 0:s[0],r=i?{x:i.clientX,y:i.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),this._touchstartTimeout&&clearTimeout(this._touchstartTimeout);let o=500;this._touchstartTimeout=setTimeout(()=>{this._touchstartTimeout=null,this.show(void 0,r)},((a=this._defaultOptions)==null?void 0:a.touchLongPressShowDelay)??o)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;let e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",i=>{var o;let r=i.relatedTarget;(!r||!((o=this._overlayRef)!=null&&o.overlayElement.contains(r)))&&this.hide()}],["wheel",i=>this._wheelListener(i)]);else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();let i=()=>{var r;this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this.hide((r=this._defaultOptions)==null?void 0:r.touchendHideDelay)};e.push(["touchend",i],["touchcancel",i])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([i,r])=>{this._elementRef.nativeElement.addEventListener(i,r,eI)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){let i=this._document.elementFromPoint(e.clientX,e.clientY),r=this._elementRef.nativeElement;i!==r&&!r.contains(i)&&this.hide()}}_disableNativeGesturesIfNecessary(){let e=this.touchGestures;if(e!=="off"){let i=this._elementRef.nativeElement,r=i.style;(e==="on"||i.nodeName!=="INPUT"&&i.nodeName!=="TEXTAREA")&&(r.userSelect=r.msUserSelect=r.webkitUserSelect=r.MozUserSelect="none"),(e==="on"||!i.draggable)&&(r.webkitUserDrag="none"),r.touchAction="none",r.webkitTapHighlightColor="transparent"}}_syncAriaDescription(e){this._ariaDescriptionPending||(this._ariaDescriptionPending=!0,this._ariaDescriber.removeDescription(this._elementRef.nativeElement,e,"tooltip"),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriptionPending=!1,this.message&&!this.disabled&&this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}static \u0275fac=function(i){return new(i||n)};static \u0275dir=P({type:n,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(i,r){i&2&&ce("mat-mdc-tooltip-disabled",r.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"]})}return n})(),H2=(()=>{class n{_changeDetectorRef=u(Pe);_elementRef=u(H);_isMultiline=!1;message;tooltipClass;_showTimeoutId;_hideTimeoutId;_triggerElement;_mouseLeaveHideDelay;_animationsDisabled;_tooltip;_closeOnInteraction=!1;_isVisible=!1;_onHide=new M;_showAnimation="mat-mdc-tooltip-show";_hideAnimation="mat-mdc-tooltip-hide";constructor(){let e=u(Je,{optional:!0});this._animationsDisabled=e==="NoopAnimations"}show(e){this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},e)}hide(e){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},e)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:e}){(!e||!this._triggerElement.contains(e))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){let e=this._elementRef.nativeElement.getBoundingClientRect();return e.height>z2&&e.width>=U2}_handleAnimationEnd({animationName:e}){(e===this._showAnimation||e===this._hideAnimation)&&this._finalizeAnimation(e===this._showAnimation)}_cancelPendingAnimations(){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(e){e?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(e){let i=this._tooltip.nativeElement,r=this._showAnimation,o=this._hideAnimation;if(i.classList.remove(e?o:r),i.classList.add(e?r:o),this._isVisible!==e&&(this._isVisible=e,this._changeDetectorRef.markForCheck()),e&&!this._animationsDisabled&&typeof getComputedStyle=="function"){let s=getComputedStyle(i);(s.getPropertyValue("animation-duration")==="0s"||s.getPropertyValue("animation-name")==="none")&&(this._animationsDisabled=!0)}e&&this._onShow(),this._animationsDisabled&&(i.classList.add("_mat-animation-noopable"),this._finalizeAnimation(e))}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=A({type:n,selectors:[["mat-tooltip-component"]],viewQuery:function(i,r){if(i&1&&Re(N2,7),i&2){let o;oe(o=se())&&(r._tooltip=o.first)}},hostAttrs:["aria-hidden","true"],hostBindings:function(i,r){i&1&&B("mouseleave",function(s){return r._handleMouseLeave(s)})},decls:4,vars:4,consts:[["tooltip",""],[1,"mdc-tooltip","mat-mdc-tooltip",3,"animationend","ngClass"],[1,"mat-mdc-tooltip-surface","mdc-tooltip__surface"]],template:function(i,r){if(i&1){let o=xe();m(0,"div",1,0),B("animationend",function(a){return ie(o),re(r._handleAnimationEnd(a))}),m(2,"div",2),b(3),p()()}i&2&&(ce("mdc-tooltip--multiline",r._isMultiline),D("ngClass",r.tooltipClass),y(3),ct(r.message))},dependencies:[Jo],styles:['.mat-mdc-tooltip{position:relative;transform:scale(0);display:inline-flex}.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-surface{word-break:normal;overflow-wrap:anywhere;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center;will-change:transform,opacity;background-color:var(--mdc-plain-tooltip-container-color, var(--mat-sys-inverse-surface));color:var(--mdc-plain-tooltip-supporting-text-color, var(--mat-sys-inverse-on-surface));border-radius:var(--mdc-plain-tooltip-container-shape, var(--mat-sys-corner-extra-small));font-family:var(--mdc-plain-tooltip-supporting-text-font, var(--mat-sys-body-small-font));font-size:var(--mdc-plain-tooltip-supporting-text-size, var(--mat-sys-body-small-size));font-weight:var(--mdc-plain-tooltip-supporting-text-weight, var(--mat-sys-body-small-weight));line-height:var(--mdc-plain-tooltip-supporting-text-line-height, var(--mat-sys-body-small-line-height));letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking, var(--mat-sys-body-small-tracking))}.mat-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}.mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:right}.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})}return n})();var rI=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=V({type:n});static \u0275inj=L({providers:[F2],imports:[Au,li,Me,Me,hr]})}return n})();function G2(n,t){if(n&1){let e=xe();m(0,"button",14),B("click",function(){let r=ie(e).$implicit,o=N(2);return re(o.launch(r))}),m(1,"div",15),T(2,"img",9),b(3),p()()}if(n&2){let e=t.$implicit,i=N(2);y(2),D("src",i.getTransportIcon(e.id),mt),y(),Ie(" ",e.name," ")}}function W2(n,t){if(n&1){let e=xe();m(0,"button",14),B("click",function(){ie(e);let r=N(2);return re(r.action("release"))}),m(1,"i",16),b(2,"delete"),p(),m(3,"uds-translate"),b(4," Release service"),p()()}}function q2(n,t){if(n&1){let e=xe();m(0,"button",14),B("click",function(){ie(e);let r=N(2);return re(r.action("reset"))}),m(1,"i",16),b(2,"refresh"),p(),m(3,"uds-translate"),b(4," Reset service"),p()()}}function Y2(n,t){if(n&1&&(m(0,"button",17)(1,"uds-translate"),b(2,"Connections"),p()()),n&2){N();let e=St(2);D("matMenuTriggerFor",e)}}function Q2(n,t){if(n&1&&(m(0,"button",17)(1,"uds-translate"),b(2,"Actions"),p()()),n&2){N();let e=St(5);D("matMenuTriggerFor",e)}}function Z2(n,t){if(n&1&&(m(0,"button",18)(1,"i",16),b(2,"menu"),p()()),n&2){N();let e=St(9);D("matMenuTriggerFor",e)}}function K2(n,t){if(n&1){let e=xe();m(0,"div")(1,"mat-menu",null,0),F(3,G2,4,2,"button",4),p(),m(4,"mat-menu",null,1),F(6,W2,5,0,"button",5)(7,q2,5,0,"button",5),p(),m(8,"mat-menu",null,2),F(10,Y2,3,1,"button",6)(11,Q2,3,1,"button",6),p(),m(12,"div",7)(13,"div",8),B("click",function(){ie(e);let r=N();return re(r.launch(null))}),T(14,"img",9),p(),m(15,"div",10)(16,"span",11),b(17),p()(),m(18,"div",12),F(19,Z2,3,1,"button",13),p()()()}if(n&2){let e=N();y(3),D("ngForOf",e.service.transports),y(3),D("ngIf",e.service.allow_users_remove),y(),D("ngIf",e.service.allow_users_reset),y(3),D("ngIf",e.showTransportsMenu()),y(),D("ngIf",e.hasActions()),y(),D("ngClass",e.serviceClass)("matTooltipDisabled",e.serviceTooltip==="")("matTooltip",e.serviceTooltip),y(2),D("src",e.serviceImage,mt),y(2),D("ngClass",e.serviceNameClass),y(),ct(e.serviceName),y(2),D("ngIf",e.hasMenu())}}var oI=32,sI=(()=>{let t=class t{constructor(i){this.api=i,this.service={}}get serviceImage(){return this.api.galleryImageURL(this.service.imageId)}get serviceName(){let i=this.service.visual_name;return i.length>oI&&(i=i.substring(0,oI-3)+"..."),i}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 i=["service"];return this.service.to_be_replaced!=null?i.push("tobereplaced"):this.service.maintenance?i.push("maintenance"):this.service.not_accesible?i.push("forbidden"):this.service.in_use&&i.push("inuse"),i.length>1&&i.push("alert"),i}get serviceNameClass(){let i=[],r=Math.min(Math.floor((this.service.visual_name.length-1)/4)*4,28);return r>=16&&i.push("small-"+r.toString()),i}ngOnInit(){}getTransportIcon(i){return this.api.transportIconURL(i)}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(i){this.api.gui.alert('

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

",i)}launch(i){return Se(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 r=this.service.custom_calendar_text||this.api.config.messages.calendar_denied;this.notifyNotLaunching('

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

'+r+'

')}else{if((i===null||this.service.show_transports===!1)&&(i=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",i)}this.api.executeCustomJSForServiceLaunch(),this.api.launchURL(i.link)}})}action(i){return Se(this,null,function*(){let r=(i==="release"?django.gettext("Release service: "):django.gettext("Reset service: "))+" "+this.serviceName,o=i==="release"?django.gettext("Service released"):django.gettext("Service reseted");(yield this.api.gui.yesno(r,django.gettext("Are you sure?")))!==!1&&this.api.action(i,this.service.id).then(s=>{s&&this.api.gui.alert(r,o)})})}};t.\u0275fac=function(r){return new(r||t)(S(Ae))},t.\u0275cmp=A({type:t,selectors:[["uds-service"]],inputs:{service:"service"},standalone:!1,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(r,o){r&1&&F(0,K2,20,12,"div",3),r&2&&D("ngIf",o.service.transports.length>0)},dependencies:[Jo,Tt,At,UD,Bi,fo,gf,iI,Ue],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=t;return n})();function J2(n,t){if(n&1&&T(0,"uds-service",8),n&2){let e=t.$implicit;D("service",e)}}function ej(n,t){if(n&1&&(m(0,"mat-expansion-panel",1)(1,"mat-expansion-panel-header",2)(2,"mat-panel-title")(3,"div",3),T(4,"img",4),b(5),p()(),m(6,"mat-panel-description",5),b(7),p()(),m(8,"div",6),F(9,J2,1,1,"uds-service",7),p()()),n&2){let e=N();D("expanded",e.expanded),y(),D("collapsedHeight","3rem")("expandedHeight","5rem"),y(3),D("src",e.groupImage,mt),y(),Ie(" ",e.group.name,""),y(2),Ie(" ",e.group.comments," "),y(2),D("ngForOf",e.sortedServices)}}var aI=(()=>{let t=class t{constructor(i){this.api=i,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((i,r)=>i.name>r.name?1:i.name{let t=class t{constructor(i){this.api=i}ngOnInit(){}};t.\u0275fac=function(r){return new(r||t)(S(Ae))},t.\u0275cmp=A({type:t,selectors:[["uds-staff-info"]],standalone:!1,decls:1,vars:1,consts:[["class","staff-info",4,"ngIf"],[1,"staff-info"],[1,"staff-panel"],[4,"ngIf"],[4,"ngFor","ngForOf"]],template:function(r,o){r&1&&F(0,oj,38,4,"div",0),r&2&&D("ngIf",o.api.staffInfo)},dependencies:[Tt,At,mf,pl,gl,hf,ff,Ue],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=t;return n})();var aj=["input"],cI=(()=>{let t=class t{constructor(){this.updateEvent=new $,this.input=void 0}ngAfterViewInit(){if(this.input===void 0)throw new Error("input atrribute is not provided");let i=this.input;hi(i.nativeElement,"keyup").pipe(ne(Boolean),Lr(600),qi(),Xe(()=>this.update(i.nativeElement.value))).subscribe()}update(i){this.updateEvent.emit(i.toLowerCase())}};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=A({type:t,selectors:[["uds-filter"]],viewQuery:function(r,o){if(r&1&&Re(aj,7),r&2){let s;oe(s=se())&&(o.input=s.first)}},outputs:{updateEvent:"updateEvent"},standalone:!1,decls:9,vars:0,consts:[["input",""],[1,"filter"],["floatLabel","auto",1,"nav-input-field"],["matInput","","type","text"],["matSuffix","",1,"material-icons"]],template:function(r,o){r&1&&(m(0,"div",1)(1,"mat-form-field",2)(2,"mat-label")(3,"uds-translate"),b(4,"Filter"),p()(),T(5,"input",3,0),m(7,"i",4),b(8,"search"),p()()())},dependencies:[Dr,ui,IE,Er,Ue],styles:[".filter[_ngcontent-%COMP%]{margin-top:.5rem;display:flex;justify-content:flex-end;font-size:.8rem}"]});let n=t;return n})();function cj(n,t){if(n&1){let e=xe();m(0,"uds-filter",3),B("updateEvent",function(r){ie(e);let o=N();return re(o.update(r))}),p()}}function dj(n,t){if(n&1&&T(0,"uds-services-group",4),n&2){let e=t.$implicit,i=t.index;D("services",e.services)("group",e.group)("expanded",i===0)}}function uj(n,t){if(n&1){let e=xe();m(0,"uds-filter",3),B("updateEvent",function(r){ie(e);let o=N();return re(o.update(r))}),p()}}var Fv=class{constructor(t){this.group=t,this.services=[]}},dI=(()=>{let t=class t{constructor(i){this.api=i,this.servicesInformation={autorun:!1,ip:"",nets:"",services:[],transports:""},this.group=[]}update(i){this.updateServices(i)}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(i=>{this.servicesInformation=i,this.autorun(),this.updateServices()})}updateServices(i=""){this.group=[];let r=null;this.servicesInformation.services.filter(o=>!i||o.visual_name.toLowerCase().includes(i)||o.group.name.toLowerCase().includes(i)).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{(r===null||o.group.id!==r.group.id)&&(r!==null&&this.group.push(r),r=new Fv(o.group)),r.services.push(o)}),r!==null&&this.group.push(r)}};t.\u0275fac=function(r){return new(r||t)(S(Ae))},t.\u0275cmp=A({type:t,selectors:[["uds-services-page"]],standalone:!1,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(r,o){r&1&&(F(0,cj,1,0,"uds-filter",0),m(1,"div",1)(2,"mat-accordion"),F(3,dj,1,3,"uds-services-group",2),p()(),F(4,uj,1,0,"uds-filter",0),T(5,"uds-staff-info")),r&2&&(D("ngIf",o.servicesInformation.services.length>=o.api.config.min_for_filter&&o.api.config.site_filter_on_top),y(3),D("ngForOf",o.group),y(),D("ngIf",o.servicesInformation.services.length>=o.api.config.min_for_filter&&!o.api.config.site_filter_on_top))},dependencies:[Tt,At,mf,aI,lI,cI],styles:[".services-groups[_ngcontent-%COMP%]{padding-top:1rem}"]});let n=t;return n})();var uI=(()=>{let t=class t{constructor(i,r){this.api=i,this.route=r,this.error="",this.returnUrl="/"}ngOnInit(){return Se(this,null,function*(){yield this.getError()})}getError(){return Se(this,null,function*(){let i=this.route.snapshot.paramMap.get("id")||"-1";i==="19"&&(this.returnUrl="/mfa"),this.error=(yield this.api.getErrorInformation(i)).error})}};t.\u0275fac=function(r){return new(r||t)(S(Ae),S(Pi))},t.\u0275cmp=A({type:t,selectors:[["uds-error"]],standalone:!1,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(r,o){r&1&&(m(0,"div",0)(1,"div",1),Xn(),m(2,"svg",2),T(3,"path",3),p(),m(4,"svg",4),T(5,"path",5),p()(),hd(),m(6,"h1",6)(7,"uds-translate"),b(8,"An error has occurred"),p()(),m(9,"p",7),b(10),p(),m(11,"a",8)(12,"uds-translate"),b(13,"Return"),p()()()),r&2&&(y(10),Ie(" ",o.error," "),y(),D("routerLink",o.returnUrl))},dependencies:[ms,zD,Ue],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=t;return n})();var fI=(()=>{let t=class t{constructor(i){this.api=i,this.year=new Date().getFullYear()}ngOnInit(){this.year<2021&&(this.year=2021)}};t.\u0275fac=function(r){return new(r||t)(S(Ae))},t.\u0275cmp=A({type:t,selectors:[["uds-about"]],standalone:!1,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(r,o){r&1&&(m(0,"div",0)(1,"h1"),b(2),p(),m(3,"h3")(4,"a",1),b(5),p()(),m(6,"h4")(7,"uds-translate"),b(8,"You can access UDS Open Source code at"),p(),b(9,"\xA0"),m(10,"a",2),b(11,"OpenUDS github repository"),p()(),m(12,"div",3)(13,"h2")(14,"uds-translate"),b(15,"UDS has been developed using these components:"),p()(),m(16,"ul")(17,"li")(18,"a",4),b(19,"Python"),p()(),m(20,"li")(21,"a",5),b(22,"TypeScript"),p()(),m(23,"li")(24,"a",6),b(25,"Django"),p()(),m(26,"li")(27,"a",7),b(28,"Angular"),p()(),m(29,"li")(30,"a",8),b(31,"Guacamole"),p()(),m(32,"li")(33,"a",9),b(34,"weasyprint"),p()(),m(35,"li")(36,"a",10),b(37,"Crystal project icons"),p()(),m(38,"li")(39,"a",11),b(40,"Flattr Icons"),p()()(),m(41,"p")(42,"small"),b(43,"* "),m(44,"uds-translate"),b(45,"If you find that we missed any component, please let us know"),p()()()()()),r&2&&(y(2),gp("Universal Desktop Services ",o.api.config.version," build ",o.api.config.version_stamp,""),y(3),Ie(" \xA9 2012-",o.year," Virtual Cable S.L.U."))},dependencies:[Ue],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=t;return n})();var hI=(()=>{let t=class t{constructor(i){this.api=i}ngOnInit(){this.api.config.urls.launch&&this.api.launchURL(this.api.config.urls.launch)}};t.\u0275fac=function(r){return new(r||t)(S(Ae))},t.\u0275cmp=A({type:t,selectors:[["uds-launcher"]],standalone:!1,decls:24,vars:0,consts:[[1,"launcher"],[1,"launcher-box"],["routerLink","/client-download"]],template:function(r,o){r&1&&(m(0,"div",0)(1,"div",1)(2,"h1")(3,"uds-translate"),b(4,"UDS Service launcher"),p()(),m(5,"h4")(6,"uds-translate"),b(7,"The service you have requested is being launched."),p()(),m(8,"h5")(9,"uds-translate"),b(10,"Please, note that reloading this page will not work."),p()(),m(11,"h5")(12,"uds-translate"),b(13,"To relaunch service, you will have to do it from origin."),p()(),m(14,"h6")(15,"uds-translate"),b(16,"If the service does not launchs automatically, probably you dont have the UDS Client installed"),p()(),m(17,"h6")(18,"uds-translate"),b(19,"You can obtain it from the"),p(),b(20,"\xA0"),m(21,"a",2)(22,"uds-translate"),b(23,"UDS Client download page"),p()()()()())},dependencies:[ms,Ue],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=t;return n})();var fj=["input"],hj=["label"],mj=["*"],pj=new x("mat-checkbox-default-options",{providedIn:"root",factory:pI});function pI(){return{color:"accent",clickAction:"check-indeterminate",disabledInteractive:!1}}var Ot=function(n){return n[n.Init=0]="Init",n[n.Checked=1]="Checked",n[n.Unchecked=2]="Unchecked",n[n.Indeterminate=3]="Indeterminate",n}(Ot||{}),gj={provide:nf,useExisting:Kn(()=>vf),multi:!0},Lv=class{source;checked},mI=pI(),vf=(()=>{class n{_elementRef=u(H);_changeDetectorRef=u(Pe);_ngZone=u(R);_animationMode=u(Je,{optional:!0});_options=u(pj,{optional:!0});focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(e){let i=new Lv;return i.source=this,i.checked=e,i}_getAnimationTargetElement(){var e;return(e=this._inputElement)==null?void 0:e.nativeElement}_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"};ariaLabel="";ariaLabelledby=null;ariaDescribedby;ariaExpanded;ariaControls;ariaOwns;_uniqueId;id;get inputId(){return`${this.id||this._uniqueId}-input`}required;labelPosition="after";name=null;change=new $;indeterminateChange=new $;value;disableRipple;_inputElement;_labelElement;tabIndex;color;disabledInteractive;_onTouched=()=>{};_currentAnimationClass="";_currentCheckState=Ot.Init;_controlValueAccessorChangeFn=()=>{};_validatorChangeFn=()=>{};constructor(){var i;u(dt).load(Vi);let e=u(new yi("tabindex"),{optional:!0});this._options=this._options||mI,this.color=this._options.color||mI.color,this.tabIndex=e==null?0:parseInt(e)||0,this.id=this._uniqueId=u($e).getId("mat-mdc-checkbox-"),this.disabledInteractive=((i=this._options)==null?void 0:i.disabledInteractive)??!1}ngOnChanges(e){e.required&&this._validatorChangeFn()}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(e){e!=this.checked&&(this._checked=e,this._changeDetectorRef.markForCheck())}_checked=!1;get disabled(){return this._disabled}set disabled(e){e!==this.disabled&&(this._disabled=e,this._changeDetectorRef.markForCheck())}_disabled=!1;get indeterminate(){return this._indeterminate}set indeterminate(e){let i=e!=this._indeterminate;this._indeterminate=e,i&&(this._indeterminate?this._transitionCheckState(Ot.Indeterminate):this._transitionCheckState(this.checked?Ot.Checked:Ot.Unchecked),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_indeterminate=!1;_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(e){this.checked=!!e}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}validate(e){return this.required&&e.value!==!0?{required:!0}:null}registerOnValidatorChange(e){this._validatorChangeFn=e}_transitionCheckState(e){let i=this._currentCheckState,r=this._getAnimationTargetElement();if(!(i===e||!r)&&(this._currentAnimationClass&&r.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(i,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){r.classList.add(this._currentAnimationClass);let o=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{r.classList.remove(o)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){var i;let e=(i=this._options)==null?void 0:i.clickAction;!this.disabled&&e!=="noop"?(this.indeterminate&&e!=="check"&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?Ot.Checked:Ot.Unchecked),this._emitChangeEvent()):(this.disabled&&this.disabledInteractive||!this.disabled&&e==="noop")&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate)}_onInteractionEvent(e){e.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(e,i){if(this._animationMode==="NoopAnimations")return"";switch(e){case Ot.Init:if(i===Ot.Checked)return this._animationClasses.uncheckedToChecked;if(i==Ot.Indeterminate)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case Ot.Unchecked:return i===Ot.Checked?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case Ot.Checked:return i===Ot.Unchecked?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case Ot.Indeterminate:return i===Ot.Checked?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(e){let i=this._inputElement;i&&(i.nativeElement.indeterminate=e)}_onInputClick(){this._handleInputClick()}_onTouchTargetClick(){this._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(e){e.target&&this._labelElement.nativeElement.contains(e.target)&&e.stopPropagation()}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=A({type:n,selectors:[["mat-checkbox"]],viewQuery:function(i,r){if(i&1&&(Re(fj,5),Re(hj,5)),i&2){let o;oe(o=se())&&(r._inputElement=o.first),oe(o=se())&&(r._labelElement=o.first)}},hostAttrs:[1,"mat-mdc-checkbox"],hostVars:16,hostBindings:function(i,r){i&2&&(dn("id",r.id),ye("tabindex",null)("aria-label",null)("aria-labelledby",null),$t(r.color?"mat-"+r.color:"mat-accent"),ce("_mat-animation-noopable",r._animationMode==="NoopAnimations")("mdc-checkbox--disabled",r.disabled)("mat-mdc-checkbox-disabled",r.disabled)("mat-mdc-checkbox-checked",r.checked)("mat-mdc-checkbox-disabled-interactive",r.disabledInteractive))},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],ariaExpanded:[2,"aria-expanded","ariaExpanded",q],ariaControls:[0,"aria-controls","ariaControls"],ariaOwns:[0,"aria-owns","ariaOwns"],id:"id",required:[2,"required","required",q],labelPosition:"labelPosition",name:"name",value:"value",disableRipple:[2,"disableRipple","disableRipple",q],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?void 0:ii(e)],color:"color",disabledInteractive:[2,"disabledInteractive","disabledInteractive",q],checked:[2,"checked","checked",q],disabled:[2,"disabled","disabled",q],indeterminate:[2,"indeterminate","indeterminate",q]},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[ze([gj,{provide:ul,useExisting:n,multi:!0}]),Oe,qe],ngContentSelectors:mj,decls:15,vars:23,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-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"]],template:function(i,r){if(i&1){let o=xe();Ze(),m(0,"div",3),B("click",function(a){return ie(o),re(r._preventBubblingFromLabel(a))}),m(1,"div",4,0)(3,"div",5),B("click",function(){return ie(o),re(r._onTouchTargetClick())}),p(),m(4,"input",6,1),B("blur",function(){return ie(o),re(r._onBlur())})("click",function(){return ie(o),re(r._onInputClick())})("change",function(a){return ie(o),re(r._onInteractionEvent(a))}),p(),T(6,"div",7),m(7,"div",8),Xn(),m(8,"svg",9),T(9,"path",10),p(),hd(),T(10,"div",11),p(),T(11,"div",12),p(),m(12,"label",13,2),he(14),p()()}if(i&2){let o=St(2);D("labelPosition",r.labelPosition),y(4),ce("mdc-checkbox--selected",r.checked),D("checked",r.checked)("indeterminate",r.indeterminate)("disabled",r.disabled&&!r.disabledInteractive)("id",r.inputId)("required",r.required)("tabIndex",r.disabled&&!r.disabledInteractive?-1:r.tabIndex),ye("aria-label",r.ariaLabel||null)("aria-labelledby",r.ariaLabelledby)("aria-describedby",r.ariaDescribedby)("aria-checked",r.indeterminate?"mixed":null)("aria-controls",r.ariaControls)("aria-disabled",r.disabled&&r.disabledInteractive?!0:null)("aria-expanded",r.ariaExpanded)("aria-owns",r.ariaOwns)("name",r.name)("value",r.value),y(7),D("matRippleTrigger",o)("matRippleDisabled",r.disableRipple||r.disabled)("matRippleCentered",!0),y(),D("for",r.inputId)}},dependencies:[el,ED],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, var(--mat-sys-hover-state-layer-opacity));background-color:var(--mdc-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox:hover .mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));background-color:var(--mdc-checkbox-unselected-focus-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox .mdc-checkbox__native-control:focus~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-focus-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox:active .mdc-checkbox__native-control~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:active .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));background-color:var(--mdc-checkbox-selected-hover-state-layer-color, var(--mat-sys-primary))}.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, var(--mat-sys-primary))}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));background-color:var(--mdc-checkbox-selected-focus-state-layer-color, var(--mat-sys-primary))}.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, var(--mat-sys-primary))}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));background-color:var(--mdc-checkbox-selected-pressed-state-layer-color, var(--mat-sys-on-surface))}.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, var(--mat-sys-on-surface))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control~.mdc-checkbox__ripple{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.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}@media(forced-colors: active){.mdc-checkbox--disabled{opacity:.5}}.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);-webkit-print-color-adjust:exact;color-adjust:exact;border-color:var(--mdc-checkbox-unselected-icon-color, var(--mat-sys-on-surface-variant));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, var(--mat-sys-primary));background-color:var(--mdc-checkbox-selected-icon-color, var(--mat-sys-primary))}.mdc-checkbox--disabled .mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.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, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));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, var(--mat-sys-on-surface));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, var(--mat-sys-primary));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mat-sys-primary))}.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, var(--mat-sys-on-surface))}.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, var(--mat-sys-primary));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mat-sys-primary))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox:hover .mdc-checkbox__native-control~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{background-color:var(--mdc-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:rgba(0,0,0,0)}.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, var(--mat-sys-on-primary))}@media(forced-colors: active){.mdc-checkbox__checkmark{color:CanvasText}}.mdc-checkbox--disabled .mdc-checkbox__checkmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface))}@media(forced-colors: active){.mdc-checkbox--disabled .mdc-checkbox__checkmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:CanvasText}}.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, var(--mat-sys-on-primary))}@media(forced-colors: active){.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled .mdc-checkbox__mixedmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface))}.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 label{cursor:pointer}.mat-mdc-checkbox .mat-internal-form-field{color:var(--mat-checkbox-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-checkbox-label-text-font, var(--mat-sys-body-medium-font));line-height:var(--mat-checkbox-label-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-checkbox-label-text-size, var(--mat-sys-body-medium-size));letter-spacing:var(--mat-checkbox-label-text-tracking, var(--mat-sys-body-medium-tracking));font-weight:var(--mat-checkbox-label-text-weight, var(--mat-sys-body-medium-weight))}.mat-mdc-checkbox.mat-mdc-checkbox-disabled.mat-mdc-checkbox-disabled-interactive{pointer-events:auto}.mat-mdc-checkbox.mat-mdc-checkbox-disabled.mat-mdc-checkbox-disabled-interactive input{cursor:default}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default;color:var(--mat-checkbox-disabled-label-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-checkbox label:empty{display:none}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox .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 .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, block)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return n})();var gI=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=V({type:n});static \u0275inj=L({imports:[vf,Me,Me]})}return n})();function _j(n,t){if(n&1&&(m(0,"div",6)(1,"mat-checkbox",14)(2,"uds-translate"),b(3,"Remember me for"),p(),b(4),p()()),n&2){let e=N();y(4),Ie(" ",e.api.config.mfa.remember_device," ")}}function yj(n,t){n&1&&T(0,"input",15)}var vI=(()=>{let t=class t{constructor(i){this.api=i}ngOnInit(){let i=document.getElementById("mfaform");i.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}};t.\u0275fac=function(r){return new(r||t)(S(Ae))},t.\u0275cmp=A({type:t,selectors:[["uds-mfa"]],standalone:!1,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(r,o){r&1&&(m(0,"form",0),B("ngSubmit",function(){return o.launch()}),m(1,"div",1)(2,"div",2),T(3,"img",3),p(),m(4,"div",4)(5,"uds-translate"),b(6,"Login Verification"),p()(),m(7,"div",5)(8,"div",6)(9,"mat-form-field")(10,"mat-label"),b(11),p(),T(12,"input",7),p()(),F(13,_j,5,1,"div",8)(14,yj,1,0,"input",9),m(15,"div",10)(16,"button",11)(17,"uds-translate"),b(18,"Submit"),p()()()()()(),m(19,"div",12),T(20,"div",13),ti(21,"safeHtml"),p()),r&2&&(y(3),D("src",o.api.staticURL("modern/img/login-img.png"),mt),y(8),Ie(" ",o.api.config.mfa.label," "),y(2),D("ngIf",o.api.config.mfa.remember_device!==""),y(),D("ngIf",o.api.config.mfa.remember_device===""),y(6),D("innerHtml",ni(21,5,o.api.config.mfa.html),ei))},dependencies:[At,As,Ts,Ln,di,Dr,ui,Er,vf,Ue,br],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=t;return n})();var bj=[{path:"",redirectTo:"services",pathMatch:"full"},{path:"services",component:dI,canActivate:[Tv]},{path:"login",component:kv},{path:"login/:id",component:kv},{path:"mfa",component:vI},{path:"client-download",component:VE},{path:"downloads",component:jE,canActivate:[Tv]},{path:"error/:id",component:uI},{path:"about",component:fI},{path:"ticket/launcher",component:hI},{path:"**",redirectTo:"services"}],_I=(()=>{let t=class t{};t.\u0275fac=function(r){return new(r||t)},t.\u0275mod=V({type:t}),t.\u0275inj=L({imports:[Pg.forRoot(bj,{}),Pg]});let n=t;return n})();function yI(n){return new E(3e3,!1)}function wj(){return new E(3100,!1)}function xj(){return new E(3101,!1)}function Cj(n){return new E(3001,!1)}function Dj(n){return new E(3003,!1)}function Ej(n){return new E(3004,!1)}function Ij(n,t){return new E(3005,!1)}function Mj(){return new E(3006,!1)}function Sj(){return new E(3007,!1)}function Tj(n,t){return new E(3008,!1)}function Aj(n){return new E(3002,!1)}function kj(n,t,e,i,r){return new E(3010,!1)}function Oj(){return new E(3011,!1)}function Rj(){return new E(3012,!1)}function Nj(){return new E(3200,!1)}function Pj(){return new E(3202,!1)}function Fj(){return new E(3013,!1)}function Lj(n){return new E(3014,!1)}function Vj(n){return new E(3015,!1)}function jj(n){return new E(3016,!1)}function Bj(n,t){return new E(3404,!1)}function zj(n){return new E(3502,!1)}function Uj(n){return new E(3503,!1)}function Hj(){return new E(3300,!1)}function $j(n){return new E(3504,!1)}function Gj(n){return new E(3301,!1)}function Wj(n,t){return new E(3302,!1)}function qj(n){return new E(3303,!1)}function Yj(n,t){return new E(3400,!1)}function Qj(n){return new E(3401,!1)}function Zj(n){return new E(3402,!1)}function Kj(n,t){return new E(3505,!1)}function Ir(n){switch(n.length){case 0:return new yr;case 1:return n[0];default:return new nl(n)}}function RI(n,t,e=new Map,i=new Map){let r=[],o=[],s=-1,a=null;if(t.forEach(l=>{let c=l.get("offset"),d=c==s,f=d&&a||new Map;l.forEach((g,h)=>{let v=h,_=g;if(h!=="offset")switch(v=n.normalizePropertyName(v,r),_){case Vu:_=e.get(h);break;case ci:_=i.get(h);break;default:_=n.normalizeStyleValue(h,v,_,r);break}f.set(v,_)}),d||o.push(f),a=f,s=c}),r.length)throw zj(r);return o}function o_(n,t,e,i){switch(t){case"start":n.onStart(()=>i(e&&Vv(e,"start",n)));break;case"done":n.onDone(()=>i(e&&Vv(e,"done",n)));break;case"destroy":n.onDestroy(()=>i(e&&Vv(e,"destroy",n)));break}}function Vv(n,t,e){let i=e.totalTime,r=!!e.disabled,o=s_(n.element,n.triggerName,n.fromState,n.toState,t||n.phaseName,i??n.totalTime,r),s=n._data;return s!=null&&(o._data=s),o}function s_(n,t,e,i,r="",o=0,s){return{element:n,triggerName:t,fromState:e,toState:i,phaseName:r,totalTime:o,disabled:!!s}}function nn(n,t,e){let i=n.get(t);return i||n.set(t,i=e),i}function bI(n){let t=n.indexOf(":"),e=n.substring(1,t),i=n.slice(t+1);return[e,i]}var Xj=typeof document>"u"?null:document.documentElement;function a_(n){let t=n.parentNode||n.host||null;return t===Xj?null:t}function Jj(n){return n.substring(1,6)=="ebkit"}var ho=null,wI=!1;function eB(n){ho||(ho=tB()||{},wI=ho.style?"WebkitAppearance"in ho.style:!1);let t=!0;return ho.style&&!Jj(n)&&(t=n in ho.style,!t&&wI&&(t="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in ho.style)),t}function tB(){return typeof document<"u"?document.body:null}function NI(n,t){for(;t;){if(t===n)return!0;t=a_(t)}return!1}function PI(n,t,e){if(e)return Array.from(n.querySelectorAll(t));let i=n.querySelector(t);return i?[i]:[]}var l_=(()=>{class n{validateStyleProperty(e){return eB(e)}containsElement(e,i){return NI(e,i)}getParentElement(e){return a_(e)}query(e,i,r){return PI(e,i,r)}computeStyle(e,i,r){return r||""}animate(e,i,r,o,s,a=[],l){return new yr(r,o)}static \u0275fac=function(i){return new(i||n)};static \u0275prov=C({token:n,factory:n.\u0275fac})}return n})(),go=class{static NOOP=new l_},vo=class{};var nB=1e3,FI="{{",iB="}}",LI="ng-enter",$v="ng-leave",_f="ng-trigger",Cf=".ng-trigger",xI="ng-animating",Gv=".ng-animating";function zi(n){if(typeof n=="number")return n;let t=n.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:Wv(parseFloat(t[1]),t[2])}function Wv(n,t){switch(t){case"s":return n*nB;default:return n}}function Df(n,t,e){return n.hasOwnProperty("duration")?n:rB(n,t,e)}function rB(n,t,e){let i=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,r,o=0,s="";if(typeof n=="string"){let a=n.match(i);if(a===null)return t.push(yI(n)),{duration:0,delay:0,easing:""};r=Wv(parseFloat(a[1]),a[2]);let l=a[3];l!=null&&(o=Wv(parseFloat(l),a[4]));let c=a[5];c&&(s=c)}else r=n;if(!e){let a=!1,l=t.length;r<0&&(t.push(wj()),a=!0),o<0&&(t.push(xj()),a=!0),a&&t.splice(l,0,yI(n))}return{duration:r,delay:o,easing:s}}function oB(n){return n.length?n[0]instanceof Map?n:n.map(t=>new Map(Object.entries(t))):[]}function fi(n,t,e){t.forEach((i,r)=>{let o=c_(r);e&&!e.has(r)&&e.set(r,n.style[o]),n.style[o]=i})}function po(n,t){t.forEach((e,i)=>{let r=c_(i);n.style[r]=""})}function vl(n){return Array.isArray(n)?n.length==1?n[0]:ID(n):n}function sB(n,t,e){let i=t.params||{},r=VI(n);r.length&&r.forEach(o=>{i.hasOwnProperty(o)||e.push(Cj(o))})}var qv=new RegExp(`${FI}\\s*(.+?)\\s*${iB}`,"g");function VI(n){let t=[];if(typeof n=="string"){let e;for(;e=qv.exec(n);)t.push(e[1]);qv.lastIndex=0}return t}function yl(n,t,e){let i=`${n}`,r=i.replace(qv,(o,s)=>{let a=t[s];return a==null&&(e.push(Dj(s)),a=""),a.toString()});return r==i?n:r}var aB=/-+([a-z0-9])/g;function c_(n){return n.replace(aB,(...t)=>t[1].toUpperCase())}function lB(n,t){return n===0||t===0}function cB(n,t,e){if(e.size&&t.length){let i=t[0],r=[];if(e.forEach((o,s)=>{i.has(s)||r.push(s),i.set(s,o)}),r.length)for(let o=1;os.set(a,d_(n,a)))}}return t}function tn(n,t,e){switch(t.type){case ue.Trigger:return n.visitTrigger(t,e);case ue.State:return n.visitState(t,e);case ue.Transition:return n.visitTransition(t,e);case ue.Sequence:return n.visitSequence(t,e);case ue.Group:return n.visitGroup(t,e);case ue.Animate:return n.visitAnimate(t,e);case ue.Keyframes:return n.visitKeyframes(t,e);case ue.Style:return n.visitStyle(t,e);case ue.Reference:return n.visitReference(t,e);case ue.AnimateChild:return n.visitAnimateChild(t,e);case ue.AnimateRef:return n.visitAnimateRef(t,e);case ue.Query:return n.visitQuery(t,e);case ue.Stagger:return n.visitStagger(t,e);default:throw Ej(t.type)}}function d_(n,t){return window.getComputedStyle(n)[t]}var dB=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"]),Ef=class extends vo{normalizePropertyName(t,e){return c_(t)}normalizeStyleValue(t,e,i,r){let o="",s=i.toString().trim();if(dB.has(e)&&i!==0&&i!=="0")if(typeof i=="number")o="px";else{let a=i.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&a[1].length==0&&r.push(Ij(t,i))}return s+o}};var If="*";function uB(n,t){let e=[];return typeof n=="string"?n.split(/\s*,\s*/).forEach(i=>fB(i,e,t)):e.push(n),e}function fB(n,t,e){if(n[0]==":"){let l=hB(n,e);if(typeof l=="function"){t.push(l);return}n=l}let i=n.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(i==null||i.length<4)return e.push(Vj(n)),t;let r=i[1],o=i[2],s=i[3];t.push(CI(r,s));let a=r==If&&s==If;o[0]=="<"&&!a&&t.push(CI(s,r))}function hB(n,t){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,i)=>parseFloat(i)>parseFloat(e);case":decrement":return(e,i)=>parseFloat(i) *"}}var yf=new Set(["true","1"]),bf=new Set(["false","0"]);function CI(n,t){let e=yf.has(n)||bf.has(n),i=yf.has(t)||bf.has(t);return(r,o)=>{let s=n==If||n==r,a=t==If||t==o;return!s&&e&&typeof r=="boolean"&&(s=r?yf.has(n):bf.has(n)),!a&&i&&typeof o=="boolean"&&(a=o?yf.has(t):bf.has(t)),s&&a}}var jI=":self",mB=new RegExp(`s*${jI}s*,?`,"g");function BI(n,t,e,i){return new Yv(n).build(t,e,i)}var DI="",Yv=class{_driver;constructor(t){this._driver=t}build(t,e,i){let r=new Qv(e);return this._resetContextStyleTimingState(r),tn(this,vl(t),r)}_resetContextStyleTimingState(t){t.currentQuerySelector=DI,t.collectedStyles=new Map,t.collectedStyles.set(DI,new Map),t.currentTime=0}visitTrigger(t,e){let i=e.queryCount=0,r=e.depCount=0,o=[],s=[];return t.name.charAt(0)=="@"&&e.errors.push(Mj()),t.definitions.forEach(a=>{if(this._resetContextStyleTimingState(e),a.type==ue.State){let l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(d=>{l.name=d,o.push(this.visitState(l,e))}),l.name=c}else if(a.type==ue.Transition){let l=this.visitTransition(a,e);i+=l.queryCount,r+=l.depCount,s.push(l)}else e.errors.push(Sj())}),{type:ue.Trigger,name:t.name,states:o,transitions:s,queryCount:i,depCount:r,options:null}}visitState(t,e){let i=this.visitStyle(t.styles,e),r=t.options&&t.options.params||null;if(i.containsDynamicStyles){let o=new Set,s=r||{};i.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{VI(l).forEach(c=>{s.hasOwnProperty(c)||o.add(c)})})}),o.size&&e.errors.push(Tj(t.name,[...o.values()]))}return{type:ue.State,name:t.name,style:i,options:r?{params:r}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;let i=tn(this,vl(t.animation),e),r=uB(t.expr,e.errors);return{type:ue.Transition,matchers:r,animation:i,queryCount:e.queryCount,depCount:e.depCount,options:mo(t.options)}}visitSequence(t,e){return{type:ue.Sequence,steps:t.steps.map(i=>tn(this,i,e)),options:mo(t.options)}}visitGroup(t,e){let i=e.currentTime,r=0,o=t.steps.map(s=>{e.currentTime=i;let a=tn(this,s,e);return r=Math.max(r,e.currentTime),a});return e.currentTime=r,{type:ue.Group,steps:o,options:mo(t.options)}}visitAnimate(t,e){let i=_B(t.timings,e.errors);e.currentAnimateTimings=i;let r,o=t.styles?t.styles:rt({});if(o.type==ue.Keyframes)r=this.visitKeyframes(o,e);else{let s=t.styles,a=!1;if(!s){a=!0;let c={};i.easing&&(c.easing=i.easing),s=rt(c)}e.currentTime+=i.duration+i.delay;let l=this.visitStyle(s,e);l.isEmptyStep=a,r=l}return e.currentAnimateTimings=null,{type:ue.Animate,timings:i,style:r,options:null}}visitStyle(t,e){let i=this._makeStyleAst(t,e);return this._validateStyleAst(i,e),i}_makeStyleAst(t,e){let i=[],r=Array.isArray(t.styles)?t.styles:[t.styles];for(let a of r)typeof a=="string"?a===ci?i.push(a):e.errors.push(Aj(a)):i.push(new Map(Object.entries(a)));let o=!1,s=null;return i.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(s=a.get("easing"),a.delete("easing")),!o)){for(let l of a.values())if(l.toString().indexOf(FI)>=0){o=!0;break}}}),{type:ue.Style,styles:i,easing:s,offset:t.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(t,e){let i=e.currentAnimateTimings,r=e.currentTime,o=e.currentTime;i&&o>0&&(o-=i.duration+i.delay),t.styles.forEach(s=>{typeof s!="string"&&s.forEach((a,l)=>{let c=e.collectedStyles.get(e.currentQuerySelector),d=c.get(l),f=!0;d&&(o!=r&&o>=d.startTime&&r<=d.endTime&&(e.errors.push(kj(l,d.startTime,d.endTime,o,r)),f=!1),o=d.startTime),f&&c.set(l,{startTime:o,endTime:r}),e.options&&sB(a,e.options,e.errors)})})}visitKeyframes(t,e){let i={type:ue.Keyframes,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(Oj()),i;let r=1,o=0,s=[],a=!1,l=!1,c=0,d=t.steps.map(k=>{let ae=this._makeStyleAst(k,e),z=ae.offset!=null?ae.offset:vB(ae.styles),Ce=0;return z!=null&&(o++,Ce=ae.offset=z),l=l||Ce<0||Ce>1,a=a||Ce0&&o{let z=g>0?ae==h?1:g*ae:s[ae],Ce=z*I;e.currentTime=v+_.delay+Ce,_.duration=Ce,this._validateStyleAst(k,e),k.offset=z,i.styles.push(k)}),i}visitReference(t,e){return{type:ue.Reference,animation:tn(this,vl(t.animation),e),options:mo(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:ue.AnimateChild,options:mo(t.options)}}visitAnimateRef(t,e){return{type:ue.AnimateRef,animation:this.visitReference(t.animation,e),options:mo(t.options)}}visitQuery(t,e){let i=e.currentQuerySelector,r=t.options||{};e.queryCount++,e.currentQuery=t;let[o,s]=pB(t.selector);e.currentQuerySelector=i.length?i+" "+o:o,nn(e.collectedStyles,e.currentQuerySelector,new Map);let a=tn(this,vl(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=i,{type:ue.Query,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:s,animation:a,originalSelector:t.selector,options:mo(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push(Fj());let i=t.timings==="full"?{duration:0,delay:0,easing:"full"}:Df(t.timings,e.errors,!0);return{type:ue.Stagger,animation:tn(this,vl(t.animation),e),timings:i,options:null}}};function pB(n){let t=!!n.split(/\s*,\s*/).find(e=>e==jI);return t&&(n=n.replace(mB,"")),n=n.replace(/@\*/g,Cf).replace(/@\w+/g,e=>Cf+"-"+e.slice(1)).replace(/:animating/g,Gv),[n,t]}function gB(n){return n?w({},n):null}var Qv=class{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(t){this.errors=t}};function vB(n){if(typeof n=="string")return null;let t=null;if(Array.isArray(n))n.forEach(e=>{if(e instanceof Map&&e.has("offset")){let i=e;t=parseFloat(i.get("offset")),i.delete("offset")}});else if(n instanceof Map&&n.has("offset")){let e=n;t=parseFloat(e.get("offset")),e.delete("offset")}return t}function _B(n,t){if(n.hasOwnProperty("duration"))return n;if(typeof n=="number"){let o=Df(n,t).duration;return jv(o,0,"")}let e=n;if(e.split(/\s+/).some(o=>o.charAt(0)=="{"&&o.charAt(1)=="{")){let o=jv(0,0,"");return o.dynamic=!0,o.strValue=e,o}let r=Df(e,t);return jv(r.duration,r.delay,r.easing)}function mo(n){return n?(n=w({},n),n.params&&(n.params=gB(n.params))):n={},n}function jv(n,t,e){return{duration:n,delay:t,easing:e}}function u_(n,t,e,i,r,o,s=null,a=!1){return{type:1,element:n,keyframes:t,preStyleProps:e,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:s,subTimeline:a}}var bl=class{_map=new Map;get(t){return this._map.get(t)||[]}append(t,e){let i=this._map.get(t);i||this._map.set(t,i=[]),i.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}},yB=1,bB=":enter",wB=new RegExp(bB,"g"),xB=":leave",CB=new RegExp(xB,"g");function zI(n,t,e,i,r,o=new Map,s=new Map,a,l,c=[]){return new Zv().buildKeyframes(n,t,e,i,r,o,s,a,l,c)}var Zv=class{buildKeyframes(t,e,i,r,o,s,a,l,c,d=[]){c=c||new bl;let f=new Kv(t,e,c,r,o,d,[]);f.options=l;let g=l.delay?zi(l.delay):0;f.currentTimeline.delayNextStep(g),f.currentTimeline.setStyles([s],null,f.errors,l),tn(this,i,f);let h=f.timelines.filter(v=>v.containsAnimation());if(h.length&&a.size){let v;for(let _=h.length-1;_>=0;_--){let I=h[_];if(I.element===e){v=I;break}}v&&!v.allowOnlyTimelineStyles()&&v.setStyles([a],null,f.errors,l)}return h.length?h.map(v=>v.buildKeyframes()):[u_(e,[],[],[],0,g,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){let i=e.subInstructions.get(e.element);if(i){let r=e.createSubContext(t.options),o=e.currentTimeline.currentTime,s=this._visitSubInstructions(i,r,r.options);o!=s&&e.transformIntoNewTimeline(s)}e.previousNode=t}visitAnimateRef(t,e){let i=e.createSubContext(t.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([t.options,t.animation.options],e,i),this.visitReference(t.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=t}_applyAnimationRefDelays(t,e,i){for(let r of t){let o=r==null?void 0:r.delay;if(o){let s=typeof o=="number"?o:zi(yl(o,(r==null?void 0:r.params)??{},e.errors));i.delayNextStep(s)}}}_visitSubInstructions(t,e,i){let o=e.currentTimeline.currentTime,s=i.duration!=null?zi(i.duration):null,a=i.delay!=null?zi(i.delay):null;return s!==0&&t.forEach(l=>{let c=e.appendInstructionToTimeline(l,s,a);o=Math.max(o,c.duration+c.delay)}),o}visitReference(t,e){e.updateOptions(t.options,!0),tn(this,t.animation,e),e.previousNode=t}visitSequence(t,e){let i=e.subContextCount,r=e,o=t.options;if(o&&(o.params||o.delay)&&(r=e.createSubContext(o),r.transformIntoNewTimeline(),o.delay!=null)){r.previousNode.type==ue.Style&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=Mf);let s=zi(o.delay);r.delayNextStep(s)}t.steps.length&&(t.steps.forEach(s=>tn(this,s,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){let i=[],r=e.currentTimeline.currentTime,o=t.options&&t.options.delay?zi(t.options.delay):0;t.steps.forEach(s=>{let a=e.createSubContext(t.options);o&&a.delayNextStep(o),tn(this,s,a),r=Math.max(r,a.currentTimeline.currentTime),i.push(a.currentTimeline)}),i.forEach(s=>e.currentTimeline.mergeTimelineCollectedStyles(s)),e.transformIntoNewTimeline(r),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){let i=t.strValue,r=e.params?yl(i,e.params,e.errors):i;return Df(r,e.errors)}else return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){let i=e.currentAnimateTimings=this._visitTiming(t.timings,e),r=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),r.snapshotCurrentStyles());let o=t.style;o.type==ue.Keyframes?this.visitKeyframes(o,e):(e.incrementTime(i.duration),this.visitStyle(o,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){let i=e.currentTimeline,r=e.currentAnimateTimings;!r&&i.hasCurrentStyleProperties()&&i.forwardFrame();let o=r&&r.easing||t.easing;t.isEmptyStep?i.applyEmptyStep(o):i.setStyles(t.styles,o,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){let i=e.currentAnimateTimings,r=e.currentTimeline.duration,o=i.duration,a=e.createSubContext().currentTimeline;a.easing=i.easing,t.styles.forEach(l=>{let c=l.offset||0;a.forwardTime(c*o),a.setStyles(l.styles,l.easing,e.errors,e.options),a.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(a),e.transformIntoNewTimeline(r+o),e.previousNode=t}visitQuery(t,e){let i=e.currentTimeline.currentTime,r=t.options||{},o=r.delay?zi(r.delay):0;o&&(e.previousNode.type===ue.Style||i==0&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=Mf);let s=i,a=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=a.length;let l=null;a.forEach((c,d)=>{e.currentQueryIndex=d;let f=e.createSubContext(t.options,c);o&&f.delayNextStep(o),c===e.element&&(l=f.currentTimeline),tn(this,t.animation,f),f.currentTimeline.applyStylesToKeyframe();let g=f.currentTimeline.currentTime;s=Math.max(s,g)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(s),l&&(e.currentTimeline.mergeTimelineCollectedStyles(l),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){let i=e.parentContext,r=e.currentTimeline,o=t.timings,s=Math.abs(o.duration),a=s*(e.currentQueryTotal-1),l=s*e.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=a-l;break;case"full":l=i.currentStaggerTime;break}let d=e.currentTimeline;l&&d.delayNextStep(l);let f=d.currentTime;tn(this,t.animation,e),e.previousNode=t,i.currentStaggerTime=r.currentTime-f+(r.startTime-i.currentTimeline.startTime)}},Mf={},Kv=class n{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=Mf;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(t,e,i,r,o,s,a,l){this._driver=t,this.element=e,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=o,this.errors=s,this.timelines=a,this.currentTimeline=l||new Sf(this._driver,e,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;let i=t,r=this.options;i.duration!=null&&(r.duration=zi(i.duration)),i.delay!=null&&(r.delay=zi(i.delay));let o=i.params;if(o){let s=r.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!e||!s.hasOwnProperty(a))&&(s[a]=yl(o[a],s,this.errors))})}}_copyOptions(){let t={};if(this.options){let e=this.options.params;if(e){let i=t.params={};Object.keys(e).forEach(r=>{i[r]=e[r]})}}return t}createSubContext(t=null,e,i){let r=e||this.element,o=new n(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(t),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(t){return this.previousNode=Mf,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,i){let r={duration:e??t.duration,delay:this.currentTimeline.currentTime+(i??0)+t.delay,easing:""},o=new Xv(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,r,t.stretchStartingKeyframe);return this.timelines.push(o),r}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,i,r,o,s){let a=[];if(r&&a.push(this.element),t.length>0){t=t.replace(wB,"."+this._enterClassName),t=t.replace(CB,"."+this._leaveClassName);let l=i!=1,c=this._driver.query(this.element,t,l);i!==0&&(c=i<0?c.slice(c.length+i,c.length):c.slice(0,i)),a.push(...c)}return!o&&a.length==0&&s.push(Lj(e)),a}},Sf=class n{_driver;element;startTime;_elementTimelineStylesLookup;duration=0;easing=null;_previousKeyframe=new Map;_currentKeyframe=new Map;_keyframes=new Map;_styleSummary=new Map;_localTimelineStyles=new Map;_globalTimelineStyles;_pendingStyles=new Map;_backFill=new Map;_currentEmptyStepKeyframe=null;constructor(t,e,i,r){this._driver=t,this.element=e,this.startTime=i,this._elementTimelineStylesLookup=r,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(t){let e=this._keyframes.size===1&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new n(this._driver,t,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=yB,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles.set(t,e),this._globalTimelineStyles.set(t,e),this._styleSummary.set(t,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&this._previousKeyframe.set("easing",t);for(let[e,i]of this._globalTimelineStyles)this._backFill.set(e,i||ci),this._currentKeyframe.set(e,ci);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,i,r){e&&this._previousKeyframe.set("easing",e);let o=r&&r.params||{},s=DB(t,this._globalTimelineStyles);for(let[a,l]of s){let c=yl(l,o,i);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??ci),this._updateStyle(a,c)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((t,e)=>{this._currentKeyframe.set(e,t)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((t,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,t)}))}snapshotCurrentStyles(){for(let[t,e]of this._localTimelineStyles)this._pendingStyles.set(t,e),this._updateStyle(t,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){t._styleSummary.forEach((e,i)=>{let r=this._styleSummary.get(i);(!r||e.time>r.time)&&this._updateStyle(i,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();let t=new Set,e=new Set,i=this._keyframes.size===1&&this.duration===0,r=[];this._keyframes.forEach((a,l)=>{let c=new Map([...this._backFill,...a]);c.forEach((d,f)=>{d===Vu?t.add(f):d===ci&&e.add(f)}),i||c.set("offset",l/this.duration),r.push(c)});let o=[...t.values()],s=[...e.values()];if(i){let a=r[0],l=new Map(a);a.set("offset",0),l.set("offset",1),r=[a,l]}return u_(this.element,r,o,s,this.duration,this.startTime,this.easing,!1)}},Xv=class extends Sf{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(t,e,i,r,o,s,a=!1){super(t,e,s.delay),this.keyframes=i,this.preStyleProps=r,this.postStyleProps=o,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:i,easing:r}=this.timings;if(this._stretchStartingKeyframe&&e){let o=[],s=i+e,a=e/s,l=new Map(t[0]);l.set("offset",0),o.push(l);let c=new Map(t[0]);c.set("offset",EI(a)),o.push(c);let d=t.length-1;for(let f=1;f<=d;f++){let g=new Map(t[f]),h=g.get("offset"),v=e+h*i;g.set("offset",EI(v/s)),o.push(g)}i=s,e=0,r="",t=o}return u_(this.element,t,this.preStyleProps,this.postStyleProps,i,e,r,!0)}};function EI(n,t=3){let e=Math.pow(10,t-1);return Math.round(n*e)/e}function DB(n,t){let e=new Map,i;return n.forEach(r=>{if(r==="*"){i??=t.keys();for(let o of i)e.set(o,ci)}else for(let[o,s]of r)e.set(o,s)}),e}function II(n,t,e,i,r,o,s,a,l,c,d,f,g){return{type:0,element:n,triggerName:t,isRemovalTransition:r,fromState:e,fromStyles:o,toState:i,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:d,totalTime:f,errors:g}}var Bv={},Tf=class{_triggerName;ast;_stateStyles;constructor(t,e,i){this._triggerName=t,this.ast=e,this._stateStyles=i}match(t,e,i,r){return EB(this.ast.matchers,t,e,i,r)}buildStyles(t,e,i){let r=this._stateStyles.get("*");return t!==void 0&&(r=this._stateStyles.get(t==null?void 0:t.toString())||r),r?r.buildStyles(e,i):new Map}build(t,e,i,r,o,s,a,l,c,d){var ot;let f=[],g=this.ast.options&&this.ast.options.params||Bv,h=a&&a.params||Bv,v=this.buildStyles(i,h,f),_=l&&l.params||Bv,I=this.buildStyles(r,_,f),k=new Set,ae=new Map,z=new Map,Ce=r==="void",yt={params:UI(_,g),delay:(ot=this.ast.options)==null?void 0:ot.delay},je=d?[]:zI(t,e,this.ast.animation,o,s,v,I,yt,c,f),ke=0;return je.forEach(Wt=>{ke=Math.max(Wt.duration+Wt.delay,ke)}),f.length?II(e,this._triggerName,i,r,Ce,v,I,[],[],ae,z,ke,f):(je.forEach(Wt=>{let bn=Wt.element,f_=nn(ae,bn,new Set);Wt.preStyleProps.forEach(Mr=>f_.add(Mr));let Rs=nn(z,bn,new Set);Wt.postStyleProps.forEach(Mr=>Rs.add(Mr)),bn!==e&&k.add(bn)}),II(e,this._triggerName,i,r,Ce,v,I,je,[...k.values()],ae,z,ke))}};function EB(n,t,e,i,r){return n.some(o=>o(t,e,i,r))}function UI(n,t){let e=w({},t);return Object.entries(n).forEach(([i,r])=>{r!=null&&(e[i]=r)}),e}var Jv=class{styles;defaultParams;normalizer;constructor(t,e,i){this.styles=t,this.defaultParams=e,this.normalizer=i}buildStyles(t,e){let i=new Map,r=UI(t,this.defaultParams);return this.styles.styles.forEach(o=>{typeof o!="string"&&o.forEach((s,a)=>{s&&(s=yl(s,r,e));let l=this.normalizer.normalizePropertyName(a,e);s=this.normalizer.normalizeStyleValue(a,l,s,e),i.set(a,s)})}),i}};function IB(n,t,e){return new e_(n,t,e)}var e_=class{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(t,e,i){this.name=t,this.ast=e,this._normalizer=i,e.states.forEach(r=>{let o=r.options&&r.options.params||{};this.states.set(r.name,new Jv(r.style,o,i))}),MI(this.states,"true","1"),MI(this.states,"false","0"),e.transitions.forEach(r=>{this.transitionFactories.push(new Tf(t,r,this.states))}),this.fallbackTransition=MB(t,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,i,r){return this.transitionFactories.find(s=>s.match(t,e,i,r))||null}matchStyles(t,e,i){return this.fallbackTransition.buildStyles(t,e,i)}};function MB(n,t,e){let i=[(s,a)=>!0],r={type:ue.Sequence,steps:[],options:null},o={type:ue.Transition,animation:r,matchers:i,options:null,queryCount:0,depCount:0};return new Tf(n,o,t)}function MI(n,t,e){n.has(t)?n.has(e)||n.set(e,n.get(t)):n.has(e)&&n.set(t,n.get(e))}var SB=new bl,t_=class{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(t,e,i){this.bodyNode=t,this._driver=e,this._normalizer=i}register(t,e){let i=[],r=[],o=BI(this._driver,e,i,r);if(i.length)throw Uj(i);r.length&&void 0,this._animations.set(t,o)}_buildPlayer(t,e,i){let r=t.element,o=RI(this._normalizer,t.keyframes,e,i);return this._driver.animate(r,o,t.duration,t.delay,t.easing,[],!0)}create(t,e,i={}){let r=[],o=this._animations.get(t),s,a=new Map;if(o?(s=zI(this._driver,e,o,LI,$v,new Map,new Map,i,SB,r),s.forEach(d=>{let f=nn(a,d.element,new Map);d.postStyleProps.forEach(g=>f.set(g,null))})):(r.push(Hj()),s=[]),r.length)throw $j(r);a.forEach((d,f)=>{d.forEach((g,h)=>{d.set(h,this._driver.computeStyle(f,h,ci))})});let l=s.map(d=>{let f=a.get(d.element);return this._buildPlayer(d,new Map,f)}),c=Ir(l);return this._playersById.set(t,c),c.onDestroy(()=>this.destroy(t)),this.players.push(c),c}destroy(t){let e=this._getPlayer(t);e.destroy(),this._playersById.delete(t);let i=this.players.indexOf(e);i>=0&&this.players.splice(i,1)}_getPlayer(t){let e=this._playersById.get(t);if(!e)throw Gj(t);return e}listen(t,e,i,r){let o=s_(e,"","","");return o_(this._getPlayer(t),i,o,r),()=>{}}command(t,e,i,r){if(i=="register"){this.register(t,r[0]);return}if(i=="create"){let s=r[0]||{};this.create(t,e,s);return}let o=this._getPlayer(t);switch(i){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(t);break}}},SI="ng-animate-queued",TB=".ng-animate-queued",zv="ng-animate-disabled",AB=".ng-animate-disabled",kB="ng-star-inserted",OB=".ng-star-inserted",RB=[],HI={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},NB={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Vn="__ng_removed",wl=class{namespaceId;value;options;get params(){return this.options.params}constructor(t,e=""){this.namespaceId=e;let i=t&&t.hasOwnProperty("value"),r=i?t.value:t;if(this.value=FB(r),i){let o=t,{value:s}=o,a=Pf(o,["value"]);this.options=a}else this.options={};this.options.params||(this.options.params={})}absorbOptions(t){let e=t.params;if(e){let i=this.options.params;Object.keys(e).forEach(r=>{i[r]==null&&(i[r]=e[r])})}}},_l="void",Uv=new wl(_l),n_=class{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(t,e,i){this.id=t,this.hostElement=e,this._engine=i,this._hostClassName="ng-tns-"+t,yn(e,this._hostClassName)}listen(t,e,i,r){if(!this._triggers.has(e))throw Wj(i,e);if(i==null||i.length==0)throw qj(e);if(!LB(i))throw Yj(i,e);let o=nn(this._elementListeners,t,[]),s={name:e,phase:i,callback:r};o.push(s);let a=nn(this._engine.statesByElement,t,new Map);return a.has(e)||(yn(t,_f),yn(t,_f+"-"+e),a.set(e,Uv)),()=>{this._engine.afterFlush(()=>{let l=o.indexOf(s);l>=0&&o.splice(l,1),this._triggers.has(e)||a.delete(e)})}}register(t,e){return this._triggers.has(t)?!1:(this._triggers.set(t,e),!0)}_getTrigger(t){let e=this._triggers.get(t);if(!e)throw Qj(t);return e}trigger(t,e,i,r=!0){let o=this._getTrigger(e),s=new xl(this.id,e,t),a=this._engine.statesByElement.get(t);a||(yn(t,_f),yn(t,_f+"-"+e),this._engine.statesByElement.set(t,a=new Map));let l=a.get(e),c=new wl(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(e,c),l||(l=Uv),!(c.value===_l)&&l.value===c.value){if(!BB(l.params,c.params)){let _=[],I=o.matchStyles(l.value,l.params,_),k=o.matchStyles(c.value,c.params,_);_.length?this._engine.reportError(_):this._engine.afterFlush(()=>{po(t,I),fi(t,k)})}return}let g=nn(this._engine.playersByElement,t,[]);g.forEach(_=>{_.namespaceId==this.id&&_.triggerName==e&&_.queued&&_.destroy()});let h=o.matchTransition(l.value,c.value,t,c.params),v=!1;if(!h){if(!r)return;h=o.fallbackTransition,v=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:h,fromState:l,toState:c,player:s,isFallbackTransition:v}),v||(yn(t,SI),s.onStart(()=>{ks(t,SI)})),s.onDone(()=>{let _=this.players.indexOf(s);_>=0&&this.players.splice(_,1);let I=this._engine.playersByElement.get(t);if(I){let k=I.indexOf(s);k>=0&&I.splice(k,1)}}),this.players.push(s),g.push(s),s}deregister(t){this._triggers.delete(t),this._engine.statesByElement.forEach(e=>e.delete(t)),this._elementListeners.forEach((e,i)=>{this._elementListeners.set(i,e.filter(r=>r.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);let e=this._engine.playersByElement.get(t);e&&(e.forEach(i=>i.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){let i=this._engine.driver.query(t,Cf,!0);i.forEach(r=>{if(r[Vn])return;let o=this._engine.fetchNamespacesByElement(r);o.size?o.forEach(s=>s.triggerLeaveAnimation(r,e,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(t,e,i,r){let o=this._engine.statesByElement.get(t),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(t,c,_l,r);d&&a.push(d)}}),a.length)return this._engine.markElementAsRemoved(this.id,t,!0,e,s),i&&Ir(a).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){let e=this._elementListeners.get(t),i=this._engine.statesByElement.get(t);if(e&&i){let r=new Set;e.forEach(o=>{let s=o.name;if(r.has(s))return;r.add(s);let l=this._triggers.get(s).fallbackTransition,c=i.get(s)||Uv,d=new wl(_l),f=new xl(this.id,s,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:s,transition:l,fromState:c,toState:d,player:f,isFallbackTransition:!0})})}}removeNode(t,e){let i=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let r=!1;if(i.totalAnimations){let o=i.players.length?i.playersByQueriedElement.get(t):[];if(o&&o.length)r=!0;else{let s=t;for(;s=s.parentNode;)if(i.statesByElement.get(s)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(t),r)i.markElementAsRemoved(this.id,t,!1,e);else{let o=t[Vn];(!o||o===HI)&&(i.afterFlush(()=>this.clearElementCache(t)),i.destroyInnerAnimations(t),i._onRemovalComplete(t,e))}}insertNode(t,e){yn(t,this._hostClassName)}drainQueuedTransitions(t){let e=[];return this._queue.forEach(i=>{let r=i.player;if(r.destroyed)return;let o=i.element,s=this._elementListeners.get(o);s&&s.forEach(a=>{if(a.name==i.triggerName){let l=s_(o,i.triggerName,i.fromState.value,i.toState.value);l._data=t,o_(i.player,a.phase,l,a.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):e.push(i)}),this._queue=[],e.sort((i,r)=>{let o=i.transition.ast.depCount,s=r.transition.ast.depCount;return o==0||s==0?o-s:this._engine.driver.containsElement(i.element,r.element)?1:-1})}destroy(t){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}},i_=class{bodyNode;driver;_normalizer;players=[];newHostElements=new Map;playersByElement=new Map;playersByQueriedElement=new Map;statesByElement=new Map;disabledNodes=new Set;totalAnimations=0;totalQueuedPlayers=0;_namespaceLookup={};_namespaceList=[];_flushFns=[];_whenQuietFns=[];namespacesByHostElement=new Map;collectedEnterElements=[];collectedLeaveElements=[];onRemovalComplete=(t,e)=>{};_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}constructor(t,e,i){this.bodyNode=t,this.driver=e,this._normalizer=i}get queuedPlayers(){let t=[];return this._namespaceList.forEach(e=>{e.players.forEach(i=>{i.queued&&t.push(i)})}),t}createNamespace(t,e){let i=new n_(t,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(i,e):(this.newHostElements.set(e,i),this.collectEnterElement(e)),this._namespaceLookup[t]=i}_balanceNamespaceList(t,e){let i=this._namespaceList,r=this.namespacesByHostElement;if(i.length-1>=0){let s=!1,a=this.driver.getParentElement(e);for(;a;){let l=r.get(a);if(l){let c=i.indexOf(l);i.splice(c+1,0,t),s=!0;break}a=this.driver.getParentElement(a)}s||i.unshift(t)}else i.push(t);return r.set(e,t),t}register(t,e){let i=this._namespaceLookup[t];return i||(i=this.createNamespace(t,e)),i}registerTrigger(t,e,i){let r=this._namespaceLookup[t];r&&r.register(e,i)&&this.totalAnimations++}destroy(t,e){t&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let i=this._fetchNamespace(t);this.namespacesByHostElement.delete(i.hostElement);let r=this._namespaceList.indexOf(i);r>=0&&this._namespaceList.splice(r,1),i.destroy(e),delete this._namespaceLookup[t]}))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){let e=new Set,i=this.statesByElement.get(t);if(i){for(let r of i.values())if(r.namespaceId){let o=this._fetchNamespace(r.namespaceId);o&&e.add(o)}}return e}trigger(t,e,i,r){if(wf(e)){let o=this._fetchNamespace(t);if(o)return o.trigger(e,i,r),!0}return!1}insertNode(t,e,i,r){if(!wf(e))return;let o=e[Vn];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;let s=this.collectedLeaveElements.indexOf(e);s>=0&&this.collectedLeaveElements.splice(s,1)}if(t){let s=this._fetchNamespace(t);s&&s.insertNode(e,i)}r&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),yn(t,zv)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),ks(t,zv))}removeNode(t,e,i){if(wf(e)){let r=t?this._fetchNamespace(t):null;r?r.removeNode(e,i):this.markElementAsRemoved(t,e,!1,i);let o=this.namespacesByHostElement.get(e);o&&o.id!==t&&o.removeNode(e,i)}else this._onRemovalComplete(e,i)}markElementAsRemoved(t,e,i,r,o){this.collectedLeaveElements.push(e),e[Vn]={namespaceId:t,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:o}}listen(t,e,i,r,o){return wf(e)?this._fetchNamespace(t).listen(e,i,r,o):()=>{}}_buildInstruction(t,e,i,r,o){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,i,r,t.fromState.options,t.toState.options,e,o)}destroyInnerAnimations(t){let e=this.driver.query(t,Cf,!0);e.forEach(i=>this.destroyActiveAnimationsForElement(i)),this.playersByQueriedElement.size!=0&&(e=this.driver.query(t,Gv,!0),e.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(t){let e=this.playersByElement.get(t);e&&e.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(t){let e=this.playersByQueriedElement.get(t);e&&e.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return Ir(this.players).onDone(()=>t());t()})}processLeaveNode(t){var i;let e=t[Vn];if(e&&e.setForRemoval){if(t[Vn]=HI,e.namespaceId){this.destroyInnerAnimations(t);let r=this._fetchNamespace(e.namespaceId);r&&r.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}(i=t.classList)!=null&&i.contains(zv)&&this.markElementAsDisabled(t,!1),this.driver.query(t,AB,!0).forEach(r=>{this.markElementAsDisabled(r,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,r)=>this._balanceNamespaceList(i,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;ii()),this._flushFns=[],this._whenQuietFns.length){let i=this._whenQuietFns;this._whenQuietFns=[],e.length?Ir(e).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(t){throw Zj(t)}_flushAnimations(t,e){let i=new bl,r=[],o=new Map,s=[],a=new Map,l=new Map,c=new Map,d=new Set;this.disabledNodes.forEach(j=>{d.add(j);let W=this.driver.query(j,TB,!0);for(let Q=0;Q{let Q=LI+_++;v.set(W,Q),j.forEach(De=>yn(De,Q))});let I=[],k=new Set,ae=new Set;for(let j=0;jk.add(De)):ae.add(W))}let z=new Map,Ce=kI(g,Array.from(k));Ce.forEach((j,W)=>{let Q=$v+_++;z.set(W,Q),j.forEach(De=>yn(De,Q))}),t.push(()=>{h.forEach((j,W)=>{let Q=v.get(W);j.forEach(De=>ks(De,Q))}),Ce.forEach((j,W)=>{let Q=z.get(W);j.forEach(De=>ks(De,Q))}),I.forEach(j=>{this.processLeaveNode(j)})});let yt=[],je=[];for(let j=this._namespaceList.length-1;j>=0;j--)this._namespaceList[j].drainQueuedTransitions(e).forEach(Q=>{let De=Q.player,gt=Q.element;if(yt.push(De),this.collectedEnterElements.length){let Ct=gt[Vn];if(Ct&&Ct.setForMove){if(Ct.previousTriggersValues&&Ct.previousTriggersValues.has(Q.triggerName)){let Sr=Ct.previousTriggersValues.get(Q.triggerName),rn=this.statesByElement.get(Q.element);if(rn&&rn.has(Q.triggerName)){let Cl=rn.get(Q.triggerName);Cl.value=Sr,rn.set(Q.triggerName,Cl)}}De.destroy();return}}let jn=!f||!this.driver.containsElement(f,gt),qt=z.get(gt),Ui=v.get(gt),Ye=this._buildInstruction(Q,i,Ui,qt,jn);if(Ye.errors&&Ye.errors.length){je.push(Ye);return}if(jn){De.onStart(()=>po(gt,Ye.fromStyles)),De.onDestroy(()=>fi(gt,Ye.toStyles)),r.push(De);return}if(Q.isFallbackTransition){De.onStart(()=>po(gt,Ye.fromStyles)),De.onDestroy(()=>fi(gt,Ye.toStyles)),r.push(De);return}let p_=[];Ye.timelines.forEach(Ct=>{Ct.stretchStartingKeyframe=!0,this.disabledNodes.has(Ct.element)||p_.push(Ct)}),Ye.timelines=p_,i.append(gt,Ye.timelines);let nM={instruction:Ye,player:De,element:gt};s.push(nM),Ye.queriedElements.forEach(Ct=>nn(a,Ct,[]).push(De)),Ye.preStyleProps.forEach((Ct,Sr)=>{if(Ct.size){let rn=l.get(Sr);rn||l.set(Sr,rn=new Set),Ct.forEach((Cl,Nf)=>rn.add(Nf))}}),Ye.postStyleProps.forEach((Ct,Sr)=>{let rn=c.get(Sr);rn||c.set(Sr,rn=new Set),Ct.forEach((Cl,Nf)=>rn.add(Nf))})});if(je.length){let j=[];je.forEach(W=>{j.push(Kj(W.triggerName,W.errors))}),yt.forEach(W=>W.destroy()),this.reportError(j)}let ke=new Map,ot=new Map;s.forEach(j=>{let W=j.element;i.has(W)&&(ot.set(W,W),this._beforeAnimationBuild(j.player.namespaceId,j.instruction,ke))}),r.forEach(j=>{let W=j.element;this._getPreviousPlayers(W,!1,j.namespaceId,j.triggerName,null).forEach(De=>{nn(ke,W,[]).push(De),De.destroy()})});let Wt=I.filter(j=>OI(j,l,c)),bn=new Map;AI(bn,this.driver,ae,c,ci).forEach(j=>{OI(j,l,c)&&Wt.push(j)});let Rs=new Map;h.forEach((j,W)=>{AI(Rs,this.driver,new Set(j),l,Vu)}),Wt.forEach(j=>{let W=bn.get(j),Q=Rs.get(j);bn.set(j,new Map([...(W==null?void 0:W.entries())??[],...(Q==null?void 0:Q.entries())??[]]))});let Mr=[],h_=[],m_={};s.forEach(j=>{let{element:W,player:Q,instruction:De}=j;if(i.has(W)){if(d.has(W)){Q.onDestroy(()=>fi(W,De.toStyles)),Q.disabled=!0,Q.overrideTotalTime(De.totalTime),r.push(Q);return}let gt=m_;if(ot.size>1){let qt=W,Ui=[];for(;qt=qt.parentNode;){let Ye=ot.get(qt);if(Ye){gt=Ye;break}Ui.push(qt)}Ui.forEach(Ye=>ot.set(Ye,gt))}let jn=this._buildAnimation(Q.namespaceId,De,ke,o,Rs,bn);if(Q.setRealPlayer(jn),gt===m_)Mr.push(Q);else{let qt=this.playersByElement.get(gt);qt&&qt.length&&(Q.parentPlayer=Ir(qt)),r.push(Q)}}else po(W,De.fromStyles),Q.onDestroy(()=>fi(W,De.toStyles)),h_.push(Q),d.has(W)&&r.push(Q)}),h_.forEach(j=>{let W=o.get(j.element);if(W&&W.length){let Q=Ir(W);j.setRealPlayer(Q)}}),r.forEach(j=>{j.parentPlayer?j.syncPlayerEvents(j.parentPlayer):j.destroy()});for(let j=0;j!jn.destroyed);gt.length?VB(this,W,gt):this.processLeaveNode(W)}return I.length=0,Mr.forEach(j=>{this.players.push(j),j.onDone(()=>{j.destroy();let W=this.players.indexOf(j);this.players.splice(W,1)}),j.play()}),Mr}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,i,r,o){let s=[];if(e){let a=this.playersByQueriedElement.get(t);a&&(s=a)}else{let a=this.playersByElement.get(t);if(a){let l=!o||o==_l;a.forEach(c=>{c.queued||!l&&c.triggerName!=r||s.push(c)})}}return(i||r)&&(s=s.filter(a=>!(i&&i!=a.namespaceId||r&&r!=a.triggerName))),s}_beforeAnimationBuild(t,e,i){let r=e.triggerName,o=e.element,s=e.isRemovalTransition?void 0:t,a=e.isRemovalTransition?void 0:r;for(let l of e.timelines){let c=l.element,d=c!==o,f=nn(i,c,[]);this._getPreviousPlayers(c,d,s,a,e.toState).forEach(h=>{let v=h.getRealPlayer();v.beforeDestroy&&v.beforeDestroy(),h.destroy(),f.push(h)})}po(o,e.fromStyles)}_buildAnimation(t,e,i,r,o,s){let a=e.triggerName,l=e.element,c=[],d=new Set,f=new Set,g=e.timelines.map(v=>{let _=v.element;d.add(_);let I=_[Vn];if(I&&I.removedBeforeQueried)return new yr(v.duration,v.delay);let k=_!==l,ae=jB((i.get(_)||RB).map(ke=>ke.getRealPlayer())).filter(ke=>{let ot=ke;return ot.element?ot.element===_:!1}),z=o.get(_),Ce=s.get(_),yt=RI(this._normalizer,v.keyframes,z,Ce),je=this._buildPlayer(v,yt,ae);if(v.subTimeline&&r&&f.add(_),k){let ke=new xl(t,a,_);ke.setRealPlayer(je),c.push(ke)}return je});c.forEach(v=>{nn(this.playersByQueriedElement,v.element,[]).push(v),v.onDone(()=>PB(this.playersByQueriedElement,v.element,v))}),d.forEach(v=>yn(v,xI));let h=Ir(g);return h.onDestroy(()=>{d.forEach(v=>ks(v,xI)),fi(l,e.toStyles)}),f.forEach(v=>{nn(r,v,[]).push(h)}),h}_buildPlayer(t,e,i){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,i):new yr(t.duration,t.delay)}},xl=class{namespaceId;triggerName;element;_player=new yr;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(t,e,i){this.namespaceId=t,this.triggerName=e,this.element=i}setRealPlayer(t){this._containsRealPlayer||(this._player=t,this._queuedCallbacks.forEach((e,i)=>{e.forEach(r=>o_(t,i,void 0,r))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){let e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){nn(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}init(){this._player.init()}hasStarted(){return this.queued?!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(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){let e=this._player;e.triggerCallback&&e.triggerCallback(t)}};function PB(n,t,e){let i=n.get(t);if(i){if(i.length){let r=i.indexOf(e);i.splice(r,1)}i.length==0&&n.delete(t)}return i}function FB(n){return n??null}function wf(n){return n&&n.nodeType===1}function LB(n){return n=="start"||n=="done"}function TI(n,t){let e=n.style.display;return n.style.display=t??"none",e}function AI(n,t,e,i,r){let o=[];e.forEach(l=>o.push(TI(l)));let s=[];i.forEach((l,c)=>{let d=new Map;l.forEach(f=>{let g=t.computeStyle(c,f,r);d.set(f,g),(!g||g.length==0)&&(c[Vn]=NB,s.push(c))}),n.set(c,d)});let a=0;return e.forEach(l=>TI(l,o[a++])),s}function kI(n,t){let e=new Map;if(n.forEach(a=>e.set(a,[])),t.length==0)return e;let i=1,r=new Set(t),o=new Map;function s(a){if(!a)return i;let l=o.get(a);if(l)return l;let c=a.parentNode;return e.has(c)?l=c:r.has(c)?l=i:l=s(c),o.set(a,l),l}return t.forEach(a=>{let l=s(a);l!==i&&e.get(l).push(a)}),e}function yn(n,t){var e;(e=n.classList)==null||e.add(t)}function ks(n,t){var e;(e=n.classList)==null||e.remove(t)}function VB(n,t,e){Ir(e).onDone(()=>n.processLeaveNode(t))}function jB(n){let t=[];return $I(n,t),t}function $I(n,t){for(let e=0;er.add(o)):t.set(n,i),e.delete(n),!0}var Os=class{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(t,e)=>{};constructor(t,e,i){this._driver=e,this._normalizer=i,this._transitionEngine=new i_(t.body,e,i),this._timelineEngine=new t_(t.body,e,i),this._transitionEngine.onRemovalComplete=(r,o)=>this.onRemovalComplete(r,o)}registerTrigger(t,e,i,r,o){let s=t+"-"+r,a=this._triggerCache[s];if(!a){let l=[],c=[],d=BI(this._driver,o,l,c);if(l.length)throw Bj(r,l);c.length&&void 0,a=IB(r,d,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(e,r,a)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,i,r){this._transitionEngine.insertNode(t,e,i,r)}onRemove(t,e,i){this._transitionEngine.removeNode(t,e,i)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,i,r){if(i.charAt(0)=="@"){let[o,s]=bI(i),a=r;this._timelineEngine.command(o,e,s,a)}else this._transitionEngine.trigger(t,e,i,r)}listen(t,e,i,r,o){if(i.charAt(0)=="@"){let[s,a]=bI(i);return this._timelineEngine.listen(s,e,a,o)}return this._transitionEngine.listen(t,e,i,r,o)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(t){this._transitionEngine.afterFlushAnimationsDone(t)}};function zB(n,t){let e=null,i=null;return Array.isArray(t)&&t.length?(e=Hv(t[0]),t.length>1&&(i=Hv(t[t.length-1]))):t instanceof Map&&(e=Hv(t)),e||i?new UB(n,e,i):null}var UB=(()=>{class n{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(e,i,r){this._element=e,this._startStyles=i,this._endStyles=r;let o=n.initialStylesByElement.get(e);o||n.initialStylesByElement.set(e,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&fi(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(fi(this._element,this._initialStyles),this._endStyles&&(fi(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(n.initialStylesByElement.delete(this._element),this._startStyles&&(po(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(po(this._element,this._endStyles),this._endStyles=null),fi(this._element,this._initialStyles),this._state=3)}}return n})();function Hv(n){let t=null;return n.forEach((e,i)=>{HB(i)&&(t=t||new Map,t.set(i,e))}),t}function HB(n){return n==="display"||n==="position"}var Af=class{element;keyframes;options;_specialStyles;_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_duration;_delay;_initialized=!1;_finished=!1;_started=!1;_destroyed=!1;_finalKeyframe;_originalOnDoneFns=[];_originalOnStartFns=[];domPlayer;time=0;parentPlayer=null;currentSnapshot=new Map;constructor(t,e,i,r){this.element=t,this.keyframes=e,this.options=i,this._specialStyles=r,this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:new Map;let e=()=>this._onFinish();this.domPlayer.addEventListener("finish",e),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",e)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(t){let e=[];return t.forEach(i=>{e.push(Object.fromEntries(i))}),e}_triggerWebAnimation(t,e,i){return t.animate(this._convertKeyframesToObject(e),i)}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}setPosition(t){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=t*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let t=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,r)=>{r!=="offset"&&t.set(r,this._finished?i:d_(this.element,r))}),this.currentSnapshot=t}triggerCallback(t){let e=t==="start"?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}},kf=class{validateStyleProperty(t){return!0}validateAnimatableStyleProperty(t){return!0}containsElement(t,e){return NI(t,e)}getParentElement(t){return a_(t)}query(t,e,i){return PI(t,e,i)}computeStyle(t,e,i){return d_(t,e)}animate(t,e,i,r,o,s=[]){let a=r==0?"both":"forwards",l={duration:i,delay:r,fill:a};o&&(l.easing=o);let c=new Map,d=s.filter(h=>h instanceof Af);lB(i,r)&&d.forEach(h=>{h.currentSnapshot.forEach((v,_)=>c.set(_,v))});let f=oB(e).map(h=>new Map(h));f=cB(t,f,c);let g=zB(t,f);return new Af(t,f,l,g)}};var xf="@",GI="@.disabled",Of=class{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(t,e,i,r){this.namespaceId=t,this.delegate=e,this.engine=i,this._onDestroy=r}get data(){return this.delegate.data}destroyNode(t){var e,i;(i=(e=this.delegate).destroyNode)==null||i.call(e,t)}destroy(){var t;this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),(t=this._onDestroy)==null||t.call(this)}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,i,r=!0){this.delegate.insertBefore(t,e,i),this.engine.onInsert(this.namespaceId,e,t,r)}removeChild(t,e,i){this.parentNode(e)&&this.engine.onRemove(this.namespaceId,e,this.delegate)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,i,r){this.delegate.setAttribute(t,e,i,r)}removeAttribute(t,e,i){this.delegate.removeAttribute(t,e,i)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,i,r){this.delegate.setStyle(t,e,i,r)}removeStyle(t,e,i){this.delegate.removeStyle(t,e,i)}setProperty(t,e,i){e.charAt(0)==xf&&e==GI?this.disableAnimations(t,!!i):this.delegate.setProperty(t,e,i)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,i){return this.delegate.listen(t,e,i)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}},r_=class extends Of{factory;constructor(t,e,i,r,o){super(e,i,r,o),this.factory=t,this.namespaceId=e}setProperty(t,e,i){e.charAt(0)==xf?e.charAt(1)=="."&&e==GI?(i=i===void 0?!0:!!i,this.disableAnimations(t,i)):this.engine.process(this.namespaceId,t,e.slice(1),i):this.delegate.setProperty(t,e,i)}listen(t,e,i){if(e.charAt(0)==xf){let r=$B(t),o=e.slice(1),s="";return o.charAt(0)!=xf&&([o,s]=GB(o)),this.engine.listen(this.namespaceId,r,o,s,a=>{let l=a._data||-1;this.factory.scheduleListenerCallback(l,i,a)})}return this.delegate.listen(t,e,i)}};function $B(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}function GB(n){let t=n.indexOf("."),e=n.substring(0,t),i=n.slice(t+1);return[e,i]}var Rf=class{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(t,e,i){this.delegate=t,this.engine=e,this._zone=i,e.onRemovalComplete=(r,o)=>{o==null||o.removeChild(null,r)}}createRenderer(t,e){var c;let i="",r=this.delegate.createRenderer(t,e);if(!t||!((c=e==null?void 0:e.data)!=null&&c.animation)){let d=this._rendererCache,f=d.get(r);if(!f){let g=()=>d.delete(r);f=new Of(i,r,this.engine,g),d.set(r,f)}return f}let o=e.id,s=e.id+"-"+this._currentId;this._currentId++,this.engine.register(s,t);let a=d=>{Array.isArray(d)?d.forEach(a):this.engine.registerTrigger(o,s,t,d.name,d)};return e.data.animation.forEach(a),new r_(this,s,r,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(t,e,i){if(t>=0&&te(i));return}let r=this._animationCallbacksBuffer;r.length==0&&queueMicrotask(()=>{this._zone.run(()=>{r.forEach(o=>{let[s,a]=o;s(a)}),this._animationCallbacksBuffer=[]})}),r.push([e,i])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}};var qB=(()=>{class n extends Os{constructor(e,i,r){super(e,i,r)}ngOnDestroy(){this.flush()}static \u0275fac=function(i){return new(i||n)(O(J),O(go),O(vo))};static \u0275prov=C({token:n,factory:n.\u0275fac})}return n})();function YB(){return new Ef}function QB(n,t,e){return new Rf(n,t,e)}var qI=[{provide:vo,useFactory:YB},{provide:Os,useClass:qB},{provide:tr,useFactory:QB,deps:[Wd,Os,R]}],WI=[{provide:go,useFactory:()=>new kf},{provide:Je,useValue:"BrowserAnimations"},...qI],ZB=[{provide:go,useClass:l_},{provide:Je,useValue:"NoopAnimations"},...qI],YI=(()=>{class n{static withConfig(e){return{ngModule:n,providers:e.disableAnimations?ZB:WI}}static \u0275fac=function(i){return new(i||n)};static \u0275mod=V({type:n});static \u0275inj=L({providers:WI,imports:[Yd]})}return n})();var KB=["*",[["mat-toolbar-row"]]],XB=["*","mat-toolbar-row"],JB=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275dir=P({type:n,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]})}return n})(),QI=(()=>{class n{_elementRef=u(H);_platform=u(Te);_document=u(J);color;_toolbarRows;constructor(){}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){this._toolbarRows.length}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=A({type:n,selectors:[["mat-toolbar"]],contentQueries:function(i,r,o){if(i&1&<(o,JB,5),i&2){let s;oe(s=se())&&(r._toolbarRows=s)}},hostAttrs:[1,"mat-toolbar"],hostVars:6,hostBindings:function(i,r){i&2&&($t(r.color?"mat-"+r.color:""),ce("mat-toolbar-multiple-rows",r._toolbarRows.length>0)("mat-toolbar-single-row",r._toolbarRows.length===0))},inputs:{color:"color"},exportAs:["matToolbar"],ngContentSelectors:XB,decls:2,vars:0,template:function(i,r){i&1&&(Ze(KB),he(0),he(1,1))},styles:[".mat-toolbar{background:var(--mat-toolbar-container-background-color, var(--mat-sys-surface));color:var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface))}.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, var(--mat-sys-title-large-font));font-size:var(--mat-toolbar-title-text-size, var(--mat-sys-title-large-size));line-height:var(--mat-toolbar-title-text-line-height, var(--mat-sys-title-large-line-height));font-weight:var(--mat-toolbar-title-text-weight, var(--mat-sys-title-large-weight));letter-spacing:var(--mat-toolbar-title-text-tracking, var(--mat-sys-title-large-tracking));margin:0}@media(forced-colors: 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, var(--mat-sys-on-surface));--mdc-outlined-button-label-text-color:var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface))}.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, 64px)}@media(max-width: 599px){.mat-toolbar-row,.mat-toolbar-single-row{height:var(--mat-toolbar-mobile-height, 56px)}}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%;min-height:var(--mat-toolbar-standard-height, 64px)}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:var(--mat-toolbar-mobile-height, 56px)}}"],encapsulation:2,changeDetection:0})}return n})();var ZI=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=V({type:n});static \u0275inj=L({imports:[Me,Me]})}return n})();var KI=(()=>{let t=class t{};t.\u0275fac=function(r){return new(r||t)},t.\u0275mod=V({type:t}),t.\u0275inj=L({providers:[{provide:Sv,useValue:{floatLabel:"always"}}],imports:[gE,ZI,HD,KE,rI,YE,FD,uo,kE,LE,gI]});let n=t;return n})();function tz(n,t){if(n&1){let e=xe();m(0,"button",10),B("click",function(){let r=ie(e).$implicit,o=N(2);return re(o.changeLang(r))}),b(1),p()}if(n&2){let e=t.$implicit;y(),ct(e.name)}}function nz(n,t){if(n&1){let e=xe();m(0,"button",10),B("click",function(){ie(e);let r=N(2);return re(r.admin())}),m(1,"i",24),b(2,"dashboard"),p(),m(3,"uds-translate"),b(4,"Dashboard"),p()()}}function iz(n,t){n&1&&(m(0,"button",29)(1,"i",24),b(2,"file_download"),p(),m(3,"uds-translate"),b(4,"Downloads"),p()())}function rz(n,t){if(n&1&&(m(0,"button",14),b(1),p()),n&2){N();let e=St(8),i=N();D("matMenuTriggerFor",e),y(),ct(i.api.user.user)}}function oz(n,t){if(n&1&&(m(0,"button",26),b(1),m(2,"i",24),b(3,"arrow_drop_down"),p()()),n&2){N();let e=St(8),i=N();D("matMenuTriggerFor",e),y(),Ie("",i.api.user.user," ")}}function sz(n,t){if(n&1){let e=xe();mp(0),m(1,"form",4),T(2,"input",5)(3,"input",6),p(),m(4,"mat-menu",null,0),F(6,tz,2,1,"button",7),p(),m(7,"mat-menu",null,1),F(9,nz,5,0,"button",8)(10,iz,5,0,"button",9),m(11,"button",10),B("click",function(){ie(e);let r=N();return re(r.logout())}),m(12,"i",11),b(13,"exit_to_app"),p(),m(14,"uds-translate"),b(15,"Logout"),p()()(),m(16,"mat-menu",12,2),F(18,rz,2,2,"button",13),m(19,"button",14),b(20),p(),m(21,"button",15)(22,"uds-translate"),b(23,"UDS Client"),p()(),m(24,"button",16)(25,"uds-translate"),b(26,"About"),p()()(),m(27,"mat-toolbar",17)(28,"button",18)(29,"div",19),T(30,"img",20),b(31),p()(),T(32,"span",21),m(33,"div",22)(34,"button",23)(35,"i",24),b(36,"file_download"),p(),m(37,"uds-translate"),b(38,"UDS Client"),p()(),m(39,"button",25)(40,"i",24),b(41,"info"),p(),m(42,"uds-translate"),b(43,"About"),p()(),m(44,"button",26),b(45),m(46,"i",24),b(47,"arrow_drop_down"),p()(),F(48,oz,4,2,"button",27),p(),m(49,"div",28)(50,"button",26)(51,"i",24),b(52,"menu"),p()()()(),pp()}if(n&2){let e=St(5),i=St(17),r=N();y(),Ko("action",r.api.config.urls.change_language,mt),y(),Ko("name",r.api.csrfField),Ko("value",r.api.csrfToken),y(),Ko("value",r.lang.id),y(3),D("ngForOf",r.langs),y(3),D("ngIf",r.api.user.isStaff),y(),D("ngIf",r.api.user.isStaff),y(8),D("ngIf",r.api.user.isLogged),y(),D("matMenuTriggerFor",e),y(),Ie("",r.lang.name," "),y(10),D("src",r.api.staticURL("modern/img/udsicon.png"),mt),y(),Ie(" ",r.api.config.site_logo_name," "),y(13),D("matMenuTriggerFor",e),y(),Ie("",r.lang.name," "),y(3),D("ngIf",r.api.user.isLogged),y(2),D("matMenuTriggerFor",i)}}var XI=(()=>{let t=class t{constructor(i){this.api=i,this.lang={},this.langs=[],this.style="";let r=i.config.language;this.langs=[];for(let o of i.config.available_languages)o.id===r?this.lang=o:this.langs.push(o)}ngOnInit(){}changeLang(i){this.lang=i;let r=document.getElementById("id_language");r&&r.setAttribute("value",i.id);let o=document.getElementById("form_language");o&&o.submit()}admin(){this.api.gotoAdmin()}logout(){this.api.logout()}};t.\u0275fac=function(r){return new(r||t)(S(Ae))},t.\u0275cmp=A({type:t,selectors:[["uds-navbar"]],standalone:!1,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(r,o){r&1&&F(0,sz,53,16,"ng-container",3),r&2&&D("ngIf",o.api.config.urls.launch==="")},dependencies:[Tt,At,ms,As,Ts,Ln,QI,di,Bi,fo,gf,Ue],styles:[".mat-elevation-z0[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z0[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-0, none)}.mat-elevation-z1[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z1[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-1, none)}.mat-elevation-z2[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z2[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-2, none)}.mat-elevation-z3[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z3[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-3, none)}.mat-elevation-z4[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z4[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-4, none)}.mat-elevation-z5[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z5[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-5, none)}.mat-elevation-z6[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z6[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-6, none)}.mat-elevation-z7[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z7[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-7, none)}.mat-elevation-z8[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z8[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-8, none)}.mat-elevation-z9[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z9[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-9, none)}.mat-elevation-z10[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z10[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-10, none)}.mat-elevation-z11[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z11[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-11, none)}.mat-elevation-z12[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z12[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-12, none)}.mat-elevation-z13[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z13[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-13, none)}.mat-elevation-z14[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z14[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-14, none)}.mat-elevation-z15[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z15[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-15, none)}.mat-elevation-z16[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z16[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-16, none)}.mat-elevation-z17[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z17[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-17, none)}.mat-elevation-z18[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z18[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-18, none)}.mat-elevation-z19[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z19[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-19, none)}.mat-elevation-z20[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z20[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-20, none)}.mat-elevation-z21[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z21[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-21, none)}.mat-elevation-z22[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z22[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-22, none)}.mat-elevation-z23[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z23[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-23, none)}.mat-elevation-z24[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z24[_ngcontent-%COMP%]{box-shadow:var(--mat-app-elevation-shadow-level-24, none)}html[_ngcontent-%COMP%]{--mat-sys-on-surface: initial}.mat-app-background[_ngcontent-%COMP%]{background-color:var(--mat-app-background-color, var(--mat-sys-background, transparent));color:var(--mat-app-text-color, var(--mat-sys-on-background, 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%]{display:flex;align-items:center}.logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:2rem;margin-right:.5rem}@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=t;return n})();var JI=(()=>{let t=class t{constructor(i){this.api=i}ngOnInit(){}};t.\u0275fac=function(r){return new(r||t)(S(Ae))},t.\u0275cmp=A({type:t,selectors:[["uds-footer"]],standalone:!1,decls:3,vars:2,consts:[[3,"href"]],template:function(r,o){r&1&&(m(0,"div")(1,"a",0),b(2),p()()),r&2&&(y(),D("href",o.api.config.site_copyright_link,mt),y(),ct(o.api.config.site_copyright_info))},encapsulation:2});let n=t;return n})();var eM=(()=>{let t=class t{constructor(i){this.api=i,this.title="UDS"}get blackTheme(){return this.api.getFromStorage("blackTheme")==="true"}set blackTheme(i){this.api.putOnStorage("blackTheme",i.toString())}handleKeyboardEvent(i){i.altKey&&i.ctrlKey&&i.key==="b"&&(this.blackTheme=!this.blackTheme,this.api.switchTheme(this.blackTheme))}ngOnInit(){this.api.switchTheme(this.blackTheme);let i=this.api.config.cookies_consent.text||django.gettext("We use cookies to authenticate users and remember preferences.")+"
"+django.gettext("If you do not agree, please")+' '+django.gettext("leave this site")+".";cookieconsent.initialise({palette:{popup:{background:"#343c66",text:"#dfdfe8"},button:{background:"#f71559"}},enabled:this.api.config.cookies_consent.enabled,layout:"basic",position:"bottom-right",theme:"classic",type:"info",content:{message:i,dismiss:django.gettext("I Accept"),link:django.gettext("Learn more"),href:"https://www.cookiesandyou.com",policy:django.gettext("Cookie Policy"),close:"❌",target:"_blank"}})}};t.\u0275fac=function(r){return new(r||t)(S(Ae))},t.\u0275cmp=A({type:t,selectors:[["uds-root"]],hostBindings:function(r,o){r&1&&B("keydown",function(a){return o.handleKeyboardEvent(a)},!1,O0)},standalone:!1,decls:6,vars:0,consts:[[1,"page"],[1,"content"],[1,"footer"]],template:function(r,o){r&1&&(T(0,"uds-navbar"),m(1,"div",0)(2,"div",1),T(3,"router-outlet"),p(),m(4,"div",2),T(5,"uds-footer"),p()())},dependencies:[Tg,XI,JI],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=t;return n})();var tM=(()=>{let t=class t{};t.\u0275fac=function(r){return new(r||t)},t.\u0275mod=V({type:t,bootstrap:[eM]}),t.\u0275inj=L({providers:[Ae,uf,Px(Fx())],imports:[Yd,Kx,_I,YI,KI]});let n=t;return n})();_u.production&&void 0;Gx().bootstrapModule(tM).catch(n=>console.log(n)); diff --git a/server/src/uds/static/modern/styles.css b/server/src/uds/static/modern/styles.css index b39774b90..2ffc10e22 100644 --- a/server/src/uds/static/modern/styles.css +++ b/server/src/uds/static/modern/styles.css @@ -1 +1 @@ -.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);transform:scale3d(0,0,0);background-color:var(--mat-ripple-color, rgba(0, 0, 0, .1))}.cdk-high-contrast-active .mat-ripple-element,.cdk-drag-preview .mat-ripple-element,.cdk-drag-placeholder .mat-ripple-element{display:none}.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;inset:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}.cdk-high-contrast-active .cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}.cdk-overlay-dark-backdrop{background:#00000052}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0!important;box-sizing:content-box!important;height:0!important}@keyframes cdk-text-field-autofill-start{}@keyframes cdk-text-field-autofill-end{}.cdk-text-field-autofill-monitored:-webkit-autofill{animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){animation:cdk-text-field-autofill-end 0s 1ms}.mat-focus-indicator{position:relative}.mat-focus-indicator:before{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border:var(--mat-focus-indicator-border-width, 3px) var(--mat-focus-indicator-border-style, solid) var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus:before{content:""}.cdk-high-contrast-active{--mat-focus-indicator-display: block}.mat-mdc-focus-indicator{position:relative}.mat-mdc-focus-indicator:before{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-mdc-focus-indicator-display, none);border:var(--mat-mdc-focus-indicator-border-width, 3px) var(--mat-mdc-focus-indicator-border-style, solid) var(--mat-mdc-focus-indicator-border-color, transparent);border-radius:var(--mat-mdc-focus-indicator-border-radius, 4px)}.mat-mdc-focus-indicator:focus:before{content:""}.cdk-high-contrast-active{--mat-mdc-focus-indicator-display: block}.mat-app-background{background-color:var(--mat-app-background-color, var(--mat-app-background, transparent));color:var(--mat-app-text-color, var(--mat-app-on-background, inherit))}.mat-elevation-z0,.mat-mdc-elevation-specific.mat-elevation-z0{box-shadow:var(--mat-app-elevation-shadow-level-0, none)}.mat-elevation-z1,.mat-mdc-elevation-specific.mat-elevation-z1{box-shadow:var(--mat-app-elevation-shadow-level-1, none)}.mat-elevation-z2,.mat-mdc-elevation-specific.mat-elevation-z2{box-shadow:var(--mat-app-elevation-shadow-level-2, none)}.mat-elevation-z3,.mat-mdc-elevation-specific.mat-elevation-z3{box-shadow:var(--mat-app-elevation-shadow-level-3, none)}.mat-elevation-z4,.mat-mdc-elevation-specific.mat-elevation-z4{box-shadow:var(--mat-app-elevation-shadow-level-4, none)}.mat-elevation-z5,.mat-mdc-elevation-specific.mat-elevation-z5{box-shadow:var(--mat-app-elevation-shadow-level-5, none)}.mat-elevation-z6,.mat-mdc-elevation-specific.mat-elevation-z6{box-shadow:var(--mat-app-elevation-shadow-level-6, none)}.mat-elevation-z7,.mat-mdc-elevation-specific.mat-elevation-z7{box-shadow:var(--mat-app-elevation-shadow-level-7, none)}.mat-elevation-z8,.mat-mdc-elevation-specific.mat-elevation-z8{box-shadow:var(--mat-app-elevation-shadow-level-8, none)}.mat-elevation-z9,.mat-mdc-elevation-specific.mat-elevation-z9{box-shadow:var(--mat-app-elevation-shadow-level-9, none)}.mat-elevation-z10,.mat-mdc-elevation-specific.mat-elevation-z10{box-shadow:var(--mat-app-elevation-shadow-level-10, none)}.mat-elevation-z11,.mat-mdc-elevation-specific.mat-elevation-z11{box-shadow:var(--mat-app-elevation-shadow-level-11, none)}.mat-elevation-z12,.mat-mdc-elevation-specific.mat-elevation-z12{box-shadow:var(--mat-app-elevation-shadow-level-12, none)}.mat-elevation-z13,.mat-mdc-elevation-specific.mat-elevation-z13{box-shadow:var(--mat-app-elevation-shadow-level-13, none)}.mat-elevation-z14,.mat-mdc-elevation-specific.mat-elevation-z14{box-shadow:var(--mat-app-elevation-shadow-level-14, none)}.mat-elevation-z15,.mat-mdc-elevation-specific.mat-elevation-z15{box-shadow:var(--mat-app-elevation-shadow-level-15, none)}.mat-elevation-z16,.mat-mdc-elevation-specific.mat-elevation-z16{box-shadow:var(--mat-app-elevation-shadow-level-16, none)}.mat-elevation-z17,.mat-mdc-elevation-specific.mat-elevation-z17{box-shadow:var(--mat-app-elevation-shadow-level-17, none)}.mat-elevation-z18,.mat-mdc-elevation-specific.mat-elevation-z18{box-shadow:var(--mat-app-elevation-shadow-level-18, none)}.mat-elevation-z19,.mat-mdc-elevation-specific.mat-elevation-z19{box-shadow:var(--mat-app-elevation-shadow-level-19, none)}.mat-elevation-z20,.mat-mdc-elevation-specific.mat-elevation-z20{box-shadow:var(--mat-app-elevation-shadow-level-20, none)}.mat-elevation-z21,.mat-mdc-elevation-specific.mat-elevation-z21{box-shadow:var(--mat-app-elevation-shadow-level-21, none)}.mat-elevation-z22,.mat-mdc-elevation-specific.mat-elevation-z22{box-shadow:var(--mat-app-elevation-shadow-level-22, none)}.mat-elevation-z23,.mat-mdc-elevation-specific.mat-elevation-z23{box-shadow:var(--mat-app-elevation-shadow-level-23, none)}.mat-elevation-z24,.mat-mdc-elevation-specific.mat-elevation-z24{box-shadow:var(--mat-app-elevation-shadow-level-24, none)}.mat-theme-loaded-marker{display:none}html{--mat-ripple-color: rgba(0, 0, 0, .1)}html{--mat-option-selected-state-label-text-color: #3f51b5;--mat-option-label-text-color: rgba(0, 0, 0, .87);--mat-option-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-option-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-option-selected-state-layer-color: rgba(0, 0, 0, .04)}.mat-accent{--mat-option-selected-state-label-text-color: #ff4081;--mat-option-label-text-color: rgba(0, 0, 0, .87);--mat-option-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-option-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-option-selected-state-layer-color: rgba(0, 0, 0, .04)}.mat-warn{--mat-option-selected-state-label-text-color: #f44336;--mat-option-label-text-color: rgba(0, 0, 0, .87);--mat-option-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-option-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-option-selected-state-layer-color: rgba(0, 0, 0, .04)}html{--mat-optgroup-label-text-color: rgba(0, 0, 0, .87)}.mat-primary{--mat-full-pseudo-checkbox-selected-icon-color: #3f51b5;--mat-full-pseudo-checkbox-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: #b0b0b0;--mat-full-pseudo-checkbox-disabled-selected-icon-color: #b0b0b0;--mat-minimal-pseudo-checkbox-selected-checkmark-color: #3f51b5;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: #b0b0b0}html,.mat-accent{--mat-full-pseudo-checkbox-selected-icon-color: #ff4081;--mat-full-pseudo-checkbox-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: #b0b0b0;--mat-full-pseudo-checkbox-disabled-selected-icon-color: #b0b0b0;--mat-minimal-pseudo-checkbox-selected-checkmark-color: #ff4081;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: #b0b0b0}.mat-warn{--mat-full-pseudo-checkbox-selected-icon-color: #f44336;--mat-full-pseudo-checkbox-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: #b0b0b0;--mat-full-pseudo-checkbox-disabled-selected-icon-color: #b0b0b0;--mat-minimal-pseudo-checkbox-selected-checkmark-color: #f44336;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: #b0b0b0}html{--mat-app-background-color: #fafafa;--mat-app-text-color: rgba(0, 0, 0, .87);--mat-app-elevation-shadow-level-0: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-1: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-2: 0px 3px 1px -2px rgba(0, 0, 0, .2), 0px 2px 2px 0px rgba(0, 0, 0, .14), 0px 1px 5px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-3: 0px 3px 3px -2px rgba(0, 0, 0, .2), 0px 3px 4px 0px rgba(0, 0, 0, .14), 0px 1px 8px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-4: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-5: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 5px 8px 0px rgba(0, 0, 0, .14), 0px 1px 14px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-6: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-7: 0px 4px 5px -2px rgba(0, 0, 0, .2), 0px 7px 10px 1px rgba(0, 0, 0, .14), 0px 2px 16px 1px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-8: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-9: 0px 5px 6px -3px rgba(0, 0, 0, .2), 0px 9px 12px 1px rgba(0, 0, 0, .14), 0px 3px 16px 2px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-10: 0px 6px 6px -3px rgba(0, 0, 0, .2), 0px 10px 14px 1px rgba(0, 0, 0, .14), 0px 4px 18px 3px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-11: 0px 6px 7px -4px rgba(0, 0, 0, .2), 0px 11px 15px 1px rgba(0, 0, 0, .14), 0px 4px 20px 3px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-12: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-13: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 13px 19px 2px rgba(0, 0, 0, .14), 0px 5px 24px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-14: 0px 7px 9px -4px rgba(0, 0, 0, .2), 0px 14px 21px 2px rgba(0, 0, 0, .14), 0px 5px 26px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-15: 0px 8px 9px -5px rgba(0, 0, 0, .2), 0px 15px 22px 2px rgba(0, 0, 0, .14), 0px 6px 28px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-16: 0px 8px 10px -5px rgba(0, 0, 0, .2), 0px 16px 24px 2px rgba(0, 0, 0, .14), 0px 6px 30px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-17: 0px 8px 11px -5px rgba(0, 0, 0, .2), 0px 17px 26px 2px rgba(0, 0, 0, .14), 0px 6px 32px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-18: 0px 9px 11px -5px rgba(0, 0, 0, .2), 0px 18px 28px 2px rgba(0, 0, 0, .14), 0px 7px 34px 6px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-19: 0px 9px 12px -6px rgba(0, 0, 0, .2), 0px 19px 29px 2px rgba(0, 0, 0, .14), 0px 7px 36px 6px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-20: 0px 10px 13px -6px rgba(0, 0, 0, .2), 0px 20px 31px 3px rgba(0, 0, 0, .14), 0px 8px 38px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-21: 0px 10px 13px -6px rgba(0, 0, 0, .2), 0px 21px 33px 3px rgba(0, 0, 0, .14), 0px 8px 40px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-22: 0px 10px 14px -6px rgba(0, 0, 0, .2), 0px 22px 35px 3px rgba(0, 0, 0, .14), 0px 8px 42px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-23: 0px 11px 14px -7px rgba(0, 0, 0, .2), 0px 23px 36px 3px rgba(0, 0, 0, .14), 0px 9px 44px 8px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-24: 0px 11px 15px -7px rgba(0, 0, 0, .2), 0px 24px 38px 3px rgba(0, 0, 0, .14), 0px 9px 46px 8px rgba(0, 0, 0, .12)}html{--mat-option-label-text-font: Roboto, sans-serif;--mat-option-label-text-line-height: 24px;--mat-option-label-text-size: 16px;--mat-option-label-text-tracking: .03125em;--mat-option-label-text-weight: 400}html{--mat-optgroup-label-text-font: Roboto, sans-serif;--mat-optgroup-label-text-line-height: 24px;--mat-optgroup-label-text-size: 16px;--mat-optgroup-label-text-tracking: .03125em;--mat-optgroup-label-text-weight: 400}html{--mdc-elevated-card-container-shape: 4px;--mdc-outlined-card-container-shape: 4px;--mdc-outlined-card-outline-width: 1px}html{--mdc-elevated-card-container-color: white;--mdc-elevated-card-container-elevation: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-outlined-card-container-color: white;--mdc-outlined-card-outline-color: rgba(0, 0, 0, .12);--mdc-outlined-card-container-elevation: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-card-subtitle-text-color: rgba(0, 0, 0, .54)}html{--mat-card-title-text-font: Roboto, sans-serif;--mat-card-title-text-line-height: 32px;--mat-card-title-text-size: 20px;--mat-card-title-text-tracking: .0125em;--mat-card-title-text-weight: 500;--mat-card-subtitle-text-font: Roboto, sans-serif;--mat-card-subtitle-text-line-height: 22px;--mat-card-subtitle-text-size: 14px;--mat-card-subtitle-text-tracking: .0071428571em;--mat-card-subtitle-text-weight: 500}html{--mdc-linear-progress-active-indicator-height: 4px;--mdc-linear-progress-track-height: 4px;--mdc-linear-progress-track-shape: 0}.mat-mdc-progress-bar{--mdc-linear-progress-active-indicator-color: #3f51b5;--mdc-linear-progress-track-color: rgba(63, 81, 181, .25)}.mat-mdc-progress-bar.mat-accent{--mdc-linear-progress-active-indicator-color: #ff4081;--mdc-linear-progress-track-color: rgba(255, 64, 129, .25)}.mat-mdc-progress-bar.mat-warn{--mdc-linear-progress-active-indicator-color: #f44336;--mdc-linear-progress-track-color: rgba(244, 67, 54, .25)}html{--mdc-plain-tooltip-container-shape: 4px;--mdc-plain-tooltip-supporting-text-line-height: 16px}html{--mdc-plain-tooltip-container-color: #616161;--mdc-plain-tooltip-supporting-text-color: #fff}html{--mdc-plain-tooltip-supporting-text-font: Roboto, sans-serif;--mdc-plain-tooltip-supporting-text-size: 12px;--mdc-plain-tooltip-supporting-text-weight: 400;--mdc-plain-tooltip-supporting-text-tracking: .0333333333em}html{--mdc-filled-text-field-active-indicator-height: 1px;--mdc-filled-text-field-focus-active-indicator-height: 2px;--mdc-filled-text-field-container-shape: 4px;--mdc-outlined-text-field-outline-width: 1px;--mdc-outlined-text-field-focus-outline-width: 2px;--mdc-outlined-text-field-container-shape: 4px}html{--mdc-filled-text-field-caret-color: #3f51b5;--mdc-filled-text-field-focus-active-indicator-color: #3f51b5;--mdc-filled-text-field-focus-label-text-color: rgba(63, 81, 181, .87);--mdc-filled-text-field-container-color: whitesmoke;--mdc-filled-text-field-disabled-container-color: #fafafa;--mdc-filled-text-field-label-text-color: rgba(0, 0, 0, .6);--mdc-filled-text-field-hover-label-text-color: rgba(0, 0, 0, .6);--mdc-filled-text-field-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-filled-text-field-input-text-color: rgba(0, 0, 0, .87);--mdc-filled-text-field-disabled-input-text-color: rgba(0, 0, 0, .38);--mdc-filled-text-field-input-text-placeholder-color: rgba(0, 0, 0, .6);--mdc-filled-text-field-error-hover-label-text-color: #f44336;--mdc-filled-text-field-error-focus-label-text-color: #f44336;--mdc-filled-text-field-error-label-text-color: #f44336;--mdc-filled-text-field-error-caret-color: #f44336;--mdc-filled-text-field-active-indicator-color: rgba(0, 0, 0, .42);--mdc-filled-text-field-disabled-active-indicator-color: rgba(0, 0, 0, .06);--mdc-filled-text-field-hover-active-indicator-color: rgba(0, 0, 0, .87);--mdc-filled-text-field-error-active-indicator-color: #f44336;--mdc-filled-text-field-error-focus-active-indicator-color: #f44336;--mdc-filled-text-field-error-hover-active-indicator-color: #f44336;--mdc-outlined-text-field-caret-color: #3f51b5;--mdc-outlined-text-field-focus-outline-color: #3f51b5;--mdc-outlined-text-field-focus-label-text-color: rgba(63, 81, 181, .87);--mdc-outlined-text-field-label-text-color: rgba(0, 0, 0, .6);--mdc-outlined-text-field-hover-label-text-color: rgba(0, 0, 0, .6);--mdc-outlined-text-field-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-outlined-text-field-input-text-color: rgba(0, 0, 0, .87);--mdc-outlined-text-field-disabled-input-text-color: rgba(0, 0, 0, .38);--mdc-outlined-text-field-input-text-placeholder-color: rgba(0, 0, 0, .6);--mdc-outlined-text-field-error-caret-color: #f44336;--mdc-outlined-text-field-error-focus-label-text-color: #f44336;--mdc-outlined-text-field-error-label-text-color: #f44336;--mdc-outlined-text-field-error-hover-label-text-color: #f44336;--mdc-outlined-text-field-outline-color: rgba(0, 0, 0, .38);--mdc-outlined-text-field-disabled-outline-color: rgba(0, 0, 0, .06);--mdc-outlined-text-field-hover-outline-color: rgba(0, 0, 0, .87);--mdc-outlined-text-field-error-focus-outline-color: #f44336;--mdc-outlined-text-field-error-hover-outline-color: #f44336;--mdc-outlined-text-field-error-outline-color: #f44336;--mat-form-field-focus-select-arrow-color: rgba(63, 81, 181, .87);--mat-form-field-disabled-input-text-placeholder-color: rgba(0, 0, 0, .38);--mat-form-field-state-layer-color: rgba(0, 0, 0, .87);--mat-form-field-error-text-color: #f44336;--mat-form-field-select-option-text-color: inherit;--mat-form-field-select-disabled-option-text-color: GrayText;--mat-form-field-leading-icon-color: unset;--mat-form-field-disabled-leading-icon-color: unset;--mat-form-field-trailing-icon-color: unset;--mat-form-field-disabled-trailing-icon-color: unset;--mat-form-field-error-focus-trailing-icon-color: unset;--mat-form-field-error-hover-trailing-icon-color: unset;--mat-form-field-error-trailing-icon-color: unset;--mat-form-field-enabled-select-arrow-color: rgba(0, 0, 0, .54);--mat-form-field-disabled-select-arrow-color: rgba(0, 0, 0, .38);--mat-form-field-hover-state-layer-opacity: .04;--mat-form-field-focus-state-layer-opacity: .08}.mat-mdc-form-field.mat-accent{--mdc-filled-text-field-caret-color: #ff4081;--mdc-filled-text-field-focus-active-indicator-color: #ff4081;--mdc-filled-text-field-focus-label-text-color: rgba(255, 64, 129, .87);--mdc-outlined-text-field-caret-color: #ff4081;--mdc-outlined-text-field-focus-outline-color: #ff4081;--mdc-outlined-text-field-focus-label-text-color: rgba(255, 64, 129, .87);--mat-form-field-focus-select-arrow-color: rgba(255, 64, 129, .87)}.mat-mdc-form-field.mat-warn{--mdc-filled-text-field-caret-color: #f44336;--mdc-filled-text-field-focus-active-indicator-color: #f44336;--mdc-filled-text-field-focus-label-text-color: rgba(244, 67, 54, .87);--mdc-outlined-text-field-caret-color: #f44336;--mdc-outlined-text-field-focus-outline-color: #f44336;--mdc-outlined-text-field-focus-label-text-color: rgba(244, 67, 54, .87);--mat-form-field-focus-select-arrow-color: rgba(244, 67, 54, .87)}html{--mat-form-field-container-height: 56px;--mat-form-field-filled-label-display: block;--mat-form-field-container-vertical-padding: 16px;--mat-form-field-filled-with-label-container-padding-top: 24px;--mat-form-field-filled-with-label-container-padding-bottom: 8px}html{--mdc-filled-text-field-label-text-font: Roboto, sans-serif;--mdc-filled-text-field-label-text-size: 16px;--mdc-filled-text-field-label-text-tracking: .03125em;--mdc-filled-text-field-label-text-weight: 400;--mdc-outlined-text-field-label-text-font: Roboto, sans-serif;--mdc-outlined-text-field-label-text-size: 16px;--mdc-outlined-text-field-label-text-tracking: .03125em;--mdc-outlined-text-field-label-text-weight: 400;--mat-form-field-container-text-font: Roboto, sans-serif;--mat-form-field-container-text-line-height: 24px;--mat-form-field-container-text-size: 16px;--mat-form-field-container-text-tracking: .03125em;--mat-form-field-container-text-weight: 400;--mat-form-field-outlined-label-text-populated-size: 16px;--mat-form-field-subscript-text-font: Roboto, sans-serif;--mat-form-field-subscript-text-line-height: 20px;--mat-form-field-subscript-text-size: 12px;--mat-form-field-subscript-text-tracking: .0333333333em;--mat-form-field-subscript-text-weight: 400}html{--mat-select-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12)}html{--mat-select-panel-background-color: white;--mat-select-enabled-trigger-text-color: rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color: rgba(0, 0, 0, .38);--mat-select-placeholder-text-color: rgba(0, 0, 0, .6);--mat-select-enabled-arrow-color: rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color: rgba(0, 0, 0, .38);--mat-select-focused-arrow-color: rgba(63, 81, 181, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87)}html .mat-mdc-form-field.mat-accent{--mat-select-panel-background-color: white;--mat-select-enabled-trigger-text-color: rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color: rgba(0, 0, 0, .38);--mat-select-placeholder-text-color: rgba(0, 0, 0, .6);--mat-select-enabled-arrow-color: rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color: rgba(0, 0, 0, .38);--mat-select-focused-arrow-color: rgba(255, 64, 129, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87)}html .mat-mdc-form-field.mat-warn{--mat-select-panel-background-color: white;--mat-select-enabled-trigger-text-color: rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color: rgba(0, 0, 0, .38);--mat-select-placeholder-text-color: rgba(0, 0, 0, .6);--mat-select-enabled-arrow-color: rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color: rgba(0, 0, 0, .38);--mat-select-focused-arrow-color: rgba(244, 67, 54, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87)}html{--mat-select-arrow-transform: translateY(-8px)}html{--mat-select-trigger-text-font: Roboto, sans-serif;--mat-select-trigger-text-line-height: 24px;--mat-select-trigger-text-size: 16px;--mat-select-trigger-text-tracking: .03125em;--mat-select-trigger-text-weight: 400}html{--mat-autocomplete-container-shape: 4px;--mat-autocomplete-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12)}html{--mat-autocomplete-background-color: white}html{--mdc-dialog-container-shape: 4px;--mat-dialog-container-elevation-shadow: 0px 11px 15px -7px rgba(0, 0, 0, .2), 0px 24px 38px 3px rgba(0, 0, 0, .14), 0px 9px 46px 8px rgba(0, 0, 0, .12);--mat-dialog-container-max-width: 80vw;--mat-dialog-container-small-max-width: 80vw;--mat-dialog-container-min-width: 0;--mat-dialog-actions-alignment: start;--mat-dialog-actions-padding: 8px;--mat-dialog-content-padding: 20px 24px;--mat-dialog-with-actions-content-padding: 20px 24px;--mat-dialog-headline-padding: 0 24px 9px}html{--mdc-dialog-container-color: white;--mdc-dialog-subhead-color: rgba(0, 0, 0, .87);--mdc-dialog-supporting-text-color: rgba(0, 0, 0, .6)}html{--mdc-dialog-subhead-font: Roboto, sans-serif;--mdc-dialog-subhead-line-height: 32px;--mdc-dialog-subhead-size: 20px;--mdc-dialog-subhead-weight: 500;--mdc-dialog-subhead-tracking: .0125em;--mdc-dialog-supporting-text-font: Roboto, sans-serif;--mdc-dialog-supporting-text-line-height: 24px;--mdc-dialog-supporting-text-size: 16px;--mdc-dialog-supporting-text-weight: 400;--mdc-dialog-supporting-text-tracking: .03125em}.mat-mdc-standard-chip{--mdc-chip-container-shape-radius: 16px;--mdc-chip-with-avatar-avatar-shape-radius: 14px;--mdc-chip-with-avatar-avatar-size: 28px;--mdc-chip-with-icon-icon-size: 18px;--mdc-chip-outline-width: 0;--mdc-chip-outline-color: transparent;--mdc-chip-disabled-outline-color: transparent;--mdc-chip-focus-outline-color: transparent;--mdc-chip-hover-state-layer-opacity: .04;--mdc-chip-with-avatar-disabled-avatar-opacity: 1;--mdc-chip-flat-selected-outline-width: 0;--mdc-chip-selected-hover-state-layer-opacity: .04;--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity: 1;--mdc-chip-with-icon-disabled-icon-opacity: 1;--mat-chip-disabled-container-opacity: .4;--mat-chip-trailing-action-opacity: .54;--mat-chip-trailing-action-focus-opacity: 1;--mat-chip-trailing-action-state-layer-color: transparent;--mat-chip-selected-trailing-action-state-layer-color: transparent;--mat-chip-trailing-action-hover-state-layer-opacity: 0;--mat-chip-trailing-action-focus-state-layer-opacity: 0}.mat-mdc-standard-chip{--mdc-chip-disabled-label-text-color: #212121;--mdc-chip-elevated-container-color: #e0e0e0;--mdc-chip-elevated-selected-container-color: #e0e0e0;--mdc-chip-elevated-disabled-container-color: #e0e0e0;--mdc-chip-flat-disabled-selected-container-color: #e0e0e0;--mdc-chip-focus-state-layer-color: black;--mdc-chip-hover-state-layer-color: black;--mdc-chip-selected-hover-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-selected-focus-state-layer-color: black;--mdc-chip-selected-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: #212121;--mdc-chip-selected-label-text-color: #212121;--mdc-chip-with-icon-icon-color: #212121;--mdc-chip-with-icon-disabled-icon-color: #212121;--mdc-chip-with-icon-selected-icon-color: #212121;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: #212121;--mdc-chip-with-trailing-icon-trailing-icon-color: #212121;--mat-chip-selected-disabled-trailing-icon-color: #212121;--mat-chip-selected-trailing-icon-color: #212121}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-primary,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-primary{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #3f51b5;--mdc-chip-elevated-selected-container-color: #3f51b5;--mdc-chip-elevated-disabled-container-color: #3f51b5;--mdc-chip-flat-disabled-selected-container-color: #3f51b5;--mdc-chip-focus-state-layer-color: black;--mdc-chip-hover-state-layer-color: black;--mdc-chip-selected-hover-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-selected-focus-state-layer-color: black;--mdc-chip-selected-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: white;--mdc-chip-selected-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white;--mat-chip-selected-disabled-trailing-icon-color: white;--mat-chip-selected-trailing-icon-color: white}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-accent,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-accent{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #ff4081;--mdc-chip-elevated-selected-container-color: #ff4081;--mdc-chip-elevated-disabled-container-color: #ff4081;--mdc-chip-flat-disabled-selected-container-color: #ff4081;--mdc-chip-focus-state-layer-color: black;--mdc-chip-hover-state-layer-color: black;--mdc-chip-selected-hover-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-selected-focus-state-layer-color: black;--mdc-chip-selected-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: white;--mdc-chip-selected-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white;--mat-chip-selected-disabled-trailing-icon-color: white;--mat-chip-selected-trailing-icon-color: white}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-warn,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-warn{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #f44336;--mdc-chip-elevated-selected-container-color: #f44336;--mdc-chip-elevated-disabled-container-color: #f44336;--mdc-chip-flat-disabled-selected-container-color: #f44336;--mdc-chip-focus-state-layer-color: black;--mdc-chip-hover-state-layer-color: black;--mdc-chip-selected-hover-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-selected-focus-state-layer-color: black;--mdc-chip-selected-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: white;--mdc-chip-selected-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white;--mat-chip-selected-disabled-trailing-icon-color: white;--mat-chip-selected-trailing-icon-color: white}.mat-mdc-chip.mat-mdc-standard-chip{--mdc-chip-container-height: 32px}.mat-mdc-standard-chip{--mdc-chip-label-text-font: Roboto, sans-serif;--mdc-chip-label-text-line-height: 20px;--mdc-chip-label-text-size: 14px;--mdc-chip-label-text-tracking: .0178571429em;--mdc-chip-label-text-weight: 400}html{--mdc-switch-disabled-selected-icon-opacity: .38;--mdc-switch-disabled-track-opacity: .12;--mdc-switch-disabled-unselected-icon-opacity: .38;--mdc-switch-handle-height: 20px;--mdc-switch-handle-shape: 10px;--mdc-switch-handle-width: 20px;--mdc-switch-selected-icon-size: 18px;--mdc-switch-track-height: 14px;--mdc-switch-track-shape: 7px;--mdc-switch-track-width: 36px;--mdc-switch-unselected-icon-size: 18px;--mdc-switch-selected-focus-state-layer-opacity: .12;--mdc-switch-selected-hover-state-layer-opacity: .04;--mdc-switch-selected-pressed-state-layer-opacity: .1;--mdc-switch-unselected-focus-state-layer-opacity: .12;--mdc-switch-unselected-hover-state-layer-opacity: .04;--mdc-switch-unselected-pressed-state-layer-opacity: .1}html .mat-mdc-slide-toggle{--mat-switch-disabled-selected-handle-opacity: .38;--mat-switch-disabled-unselected-handle-opacity: .38;--mat-switch-unselected-handle-size: 20px;--mat-switch-selected-handle-size: 20px;--mat-switch-pressed-handle-size: 20px;--mat-switch-with-icon-handle-size: 20px;--mat-switch-selected-handle-horizontal-margin: 0;--mat-switch-selected-with-icon-handle-horizontal-margin: 0;--mat-switch-selected-pressed-handle-horizontal-margin: 0;--mat-switch-unselected-handle-horizontal-margin: 0;--mat-switch-unselected-with-icon-handle-horizontal-margin: 0;--mat-switch-unselected-pressed-handle-horizontal-margin: 0;--mat-switch-visible-track-opacity: 1;--mat-switch-hidden-track-opacity: 1;--mat-switch-visible-track-transition: transform 75ms 0ms cubic-bezier(0, 0, .2, 1);--mat-switch-hidden-track-transition: transform 75ms 0ms cubic-bezier(.4, 0, .6, 1);--mat-switch-track-outline-width: 1px;--mat-switch-track-outline-color: transparent;--mat-switch-selected-track-outline-width: 1px;--mat-switch-selected-track-outline-color: transparent;--mat-switch-disabled-unselected-track-outline-width: 1px;--mat-switch-disabled-unselected-track-outline-color: transparent}html{--mdc-switch-selected-focus-state-layer-color: #3949ab;--mdc-switch-selected-handle-color: #3949ab;--mdc-switch-selected-hover-state-layer-color: #3949ab;--mdc-switch-selected-pressed-state-layer-color: #3949ab;--mdc-switch-selected-focus-handle-color: #1a237e;--mdc-switch-selected-hover-handle-color: #1a237e;--mdc-switch-selected-pressed-handle-color: #1a237e;--mdc-switch-selected-focus-track-color: #7986cb;--mdc-switch-selected-hover-track-color: #7986cb;--mdc-switch-selected-pressed-track-color: #7986cb;--mdc-switch-selected-track-color: #7986cb;--mdc-switch-disabled-selected-handle-color: #424242;--mdc-switch-disabled-selected-icon-color: #fff;--mdc-switch-disabled-selected-track-color: #424242;--mdc-switch-disabled-unselected-handle-color: #424242;--mdc-switch-disabled-unselected-icon-color: #fff;--mdc-switch-disabled-unselected-track-color: #424242;--mdc-switch-handle-surface-color: #fff;--mdc-switch-selected-icon-color: #fff;--mdc-switch-unselected-focus-handle-color: #212121;--mdc-switch-unselected-focus-state-layer-color: #424242;--mdc-switch-unselected-focus-track-color: #e0e0e0;--mdc-switch-unselected-handle-color: #616161;--mdc-switch-unselected-hover-handle-color: #212121;--mdc-switch-unselected-hover-state-layer-color: #424242;--mdc-switch-unselected-hover-track-color: #e0e0e0;--mdc-switch-unselected-icon-color: #fff;--mdc-switch-unselected-pressed-handle-color: #212121;--mdc-switch-unselected-pressed-state-layer-color: #424242;--mdc-switch-unselected-pressed-track-color: #e0e0e0;--mdc-switch-unselected-track-color: #e0e0e0;--mdc-switch-handle-elevation-shadow: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-switch-disabled-handle-elevation-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mdc-switch-disabled-label-text-color: rgba(0, 0, 0, .38)}html .mat-mdc-slide-toggle{--mat-switch-label-text-color: rgba(0, 0, 0, .87)}html .mat-mdc-slide-toggle.mat-accent{--mdc-switch-selected-focus-state-layer-color: #d81b60;--mdc-switch-selected-handle-color: #d81b60;--mdc-switch-selected-hover-state-layer-color: #d81b60;--mdc-switch-selected-pressed-state-layer-color: #d81b60;--mdc-switch-selected-focus-handle-color: #880e4f;--mdc-switch-selected-hover-handle-color: #880e4f;--mdc-switch-selected-pressed-handle-color: #880e4f;--mdc-switch-selected-focus-track-color: #f06292;--mdc-switch-selected-hover-track-color: #f06292;--mdc-switch-selected-pressed-track-color: #f06292;--mdc-switch-selected-track-color: #f06292}html .mat-mdc-slide-toggle.mat-warn{--mdc-switch-selected-focus-state-layer-color: #e53935;--mdc-switch-selected-handle-color: #e53935;--mdc-switch-selected-hover-state-layer-color: #e53935;--mdc-switch-selected-pressed-state-layer-color: #e53935;--mdc-switch-selected-focus-handle-color: #b71c1c;--mdc-switch-selected-hover-handle-color: #b71c1c;--mdc-switch-selected-pressed-handle-color: #b71c1c;--mdc-switch-selected-focus-track-color: #e57373;--mdc-switch-selected-hover-track-color: #e57373;--mdc-switch-selected-pressed-track-color: #e57373;--mdc-switch-selected-track-color: #e57373}html{--mdc-switch-state-layer-size: 40px}html .mat-mdc-slide-toggle{--mat-switch-label-text-font: Roboto, sans-serif;--mat-switch-label-text-line-height: 20px;--mat-switch-label-text-size: 14px;--mat-switch-label-text-tracking: .0178571429em;--mat-switch-label-text-weight: 400}html{--mdc-radio-disabled-selected-icon-opacity: .38;--mdc-radio-disabled-unselected-icon-opacity: .38;--mdc-radio-state-layer-size: 40px}.mat-mdc-radio-button.mat-primary{--mdc-radio-disabled-selected-icon-color: black;--mdc-radio-disabled-unselected-icon-color: black;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-focus-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #3f51b5;--mdc-radio-selected-hover-icon-color: #3f51b5;--mdc-radio-selected-icon-color: #3f51b5;--mdc-radio-selected-pressed-icon-color: #3f51b5;--mat-radio-ripple-color: black;--mat-radio-checked-ripple-color: #3f51b5;--mat-radio-disabled-label-color: rgba(0, 0, 0, .38);--mat-radio-label-text-color: rgba(0, 0, 0, .87)}.mat-mdc-radio-button.mat-accent{--mdc-radio-disabled-selected-icon-color: black;--mdc-radio-disabled-unselected-icon-color: black;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-focus-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #ff4081;--mdc-radio-selected-hover-icon-color: #ff4081;--mdc-radio-selected-icon-color: #ff4081;--mdc-radio-selected-pressed-icon-color: #ff4081;--mat-radio-ripple-color: black;--mat-radio-checked-ripple-color: #ff4081;--mat-radio-disabled-label-color: rgba(0, 0, 0, .38);--mat-radio-label-text-color: rgba(0, 0, 0, .87)}.mat-mdc-radio-button.mat-warn{--mdc-radio-disabled-selected-icon-color: black;--mdc-radio-disabled-unselected-icon-color: black;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-focus-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #f44336;--mdc-radio-selected-hover-icon-color: #f44336;--mdc-radio-selected-icon-color: #f44336;--mdc-radio-selected-pressed-icon-color: #f44336;--mat-radio-ripple-color: black;--mat-radio-checked-ripple-color: #f44336;--mat-radio-disabled-label-color: rgba(0, 0, 0, .38);--mat-radio-label-text-color: rgba(0, 0, 0, .87)}html{--mdc-radio-state-layer-size: 40px;--mat-radio-touch-target-display: block}html{--mat-radio-label-text-font: Roboto, sans-serif;--mat-radio-label-text-line-height: 20px;--mat-radio-label-text-size: 14px;--mat-radio-label-text-tracking: .0178571429em;--mat-radio-label-text-weight: 400}html{--mdc-slider-active-track-height: 6px;--mdc-slider-active-track-shape: 9999px;--mdc-slider-handle-height: 20px;--mdc-slider-handle-shape: 50%;--mdc-slider-handle-width: 20px;--mdc-slider-inactive-track-height: 4px;--mdc-slider-inactive-track-shape: 9999px;--mdc-slider-with-overlap-handle-outline-width: 1px;--mdc-slider-with-tick-marks-active-container-opacity: .6;--mdc-slider-with-tick-marks-container-shape: 50%;--mdc-slider-with-tick-marks-container-size: 2px;--mdc-slider-with-tick-marks-inactive-container-opacity: .6;--mdc-slider-handle-elevation: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mat-slider-value-indicator-width: auto;--mat-slider-value-indicator-height: 32px;--mat-slider-value-indicator-caret-display: block;--mat-slider-value-indicator-border-radius: 4px;--mat-slider-value-indicator-padding: 0 12px;--mat-slider-value-indicator-text-transform: none;--mat-slider-value-indicator-container-transform: translateX(-50%)}html{--mdc-slider-handle-color: #3f51b5;--mdc-slider-focus-handle-color: #3f51b5;--mdc-slider-hover-handle-color: #3f51b5;--mdc-slider-active-track-color: #3f51b5;--mdc-slider-inactive-track-color: #3f51b5;--mdc-slider-with-tick-marks-inactive-container-color: #3f51b5;--mdc-slider-with-tick-marks-active-container-color: white;--mdc-slider-disabled-active-track-color: #000;--mdc-slider-disabled-handle-color: #000;--mdc-slider-disabled-inactive-track-color: #000;--mdc-slider-label-container-color: #000;--mdc-slider-label-label-text-color: #fff;--mdc-slider-with-overlap-handle-outline-color: #fff;--mdc-slider-with-tick-marks-disabled-container-color: #000;--mat-slider-ripple-color: #3f51b5;--mat-slider-hover-state-layer-color: rgba(63, 81, 181, .05);--mat-slider-focus-state-layer-color: rgba(63, 81, 181, .2);--mat-slider-value-indicator-opacity: .6}html .mat-accent{--mdc-slider-handle-color: #ff4081;--mdc-slider-focus-handle-color: #ff4081;--mdc-slider-hover-handle-color: #ff4081;--mdc-slider-active-track-color: #ff4081;--mdc-slider-inactive-track-color: #ff4081;--mdc-slider-with-tick-marks-inactive-container-color: #ff4081;--mdc-slider-with-tick-marks-active-container-color: white;--mat-slider-ripple-color: #ff4081;--mat-slider-hover-state-layer-color: rgba(255, 64, 129, .05);--mat-slider-focus-state-layer-color: rgba(255, 64, 129, .2)}html .mat-warn{--mdc-slider-handle-color: #f44336;--mdc-slider-focus-handle-color: #f44336;--mdc-slider-hover-handle-color: #f44336;--mdc-slider-active-track-color: #f44336;--mdc-slider-inactive-track-color: #f44336;--mdc-slider-with-tick-marks-inactive-container-color: #f44336;--mdc-slider-with-tick-marks-active-container-color: white;--mat-slider-ripple-color: #f44336;--mat-slider-hover-state-layer-color: rgba(244, 67, 54, .05);--mat-slider-focus-state-layer-color: rgba(244, 67, 54, .2)}html{--mdc-slider-label-label-text-font: Roboto, sans-serif;--mdc-slider-label-label-text-size: 14px;--mdc-slider-label-label-text-line-height: 22px;--mdc-slider-label-label-text-tracking: .0071428571em;--mdc-slider-label-label-text-weight: 500}html{--mat-menu-container-shape: 4px;--mat-menu-divider-bottom-spacing: 0;--mat-menu-divider-top-spacing: 0;--mat-menu-item-spacing: 16px;--mat-menu-item-icon-size: 24px;--mat-menu-item-leading-spacing: 16px;--mat-menu-item-trailing-spacing: 16px;--mat-menu-item-with-icon-leading-spacing: 16px;--mat-menu-item-with-icon-trailing-spacing: 16px;--mat-menu-base-elevation-level: 8}html{--mat-menu-item-label-text-color: rgba(0, 0, 0, .87);--mat-menu-item-icon-color: rgba(0, 0, 0, .87);--mat-menu-item-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-menu-item-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-menu-container-color: white;--mat-menu-divider-color: rgba(0, 0, 0, .12)}html{--mat-menu-item-label-text-font: Roboto, sans-serif;--mat-menu-item-label-text-size: 16px;--mat-menu-item-label-text-tracking: .03125em;--mat-menu-item-label-text-line-height: 24px;--mat-menu-item-label-text-weight: 400}html{--mdc-list-list-item-container-shape: 0;--mdc-list-list-item-leading-avatar-shape: 50%;--mdc-list-list-item-container-color: transparent;--mdc-list-list-item-selected-container-color: transparent;--mdc-list-list-item-leading-avatar-color: transparent;--mdc-list-list-item-leading-icon-size: 24px;--mdc-list-list-item-leading-avatar-size: 40px;--mdc-list-list-item-trailing-icon-size: 24px;--mdc-list-list-item-disabled-state-layer-color: transparent;--mdc-list-list-item-disabled-state-layer-opacity: 0;--mdc-list-list-item-disabled-label-text-opacity: .38;--mdc-list-list-item-disabled-leading-icon-opacity: .38;--mdc-list-list-item-disabled-trailing-icon-opacity: .38;--mat-list-active-indicator-color: transparent;--mat-list-active-indicator-shape: 4px}html{--mdc-list-list-item-label-text-color: rgba(0, 0, 0, .87);--mdc-list-list-item-supporting-text-color: rgba(0, 0, 0, .54);--mdc-list-list-item-leading-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-trailing-supporting-text-color: rgba(0, 0, 0, .38);--mdc-list-list-item-trailing-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-selected-trailing-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-disabled-label-text-color: black;--mdc-list-list-item-disabled-leading-icon-color: black;--mdc-list-list-item-disabled-trailing-icon-color: black;--mdc-list-list-item-hover-label-text-color: rgba(0, 0, 0, .87);--mdc-list-list-item-hover-leading-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-hover-trailing-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-focus-label-text-color: rgba(0, 0, 0, .87);--mdc-list-list-item-hover-state-layer-color: black;--mdc-list-list-item-hover-state-layer-opacity: .04;--mdc-list-list-item-focus-state-layer-color: black;--mdc-list-list-item-focus-state-layer-opacity: .12}.mdc-list-item__start,.mdc-list-item__end{--mdc-radio-disabled-selected-icon-color: black;--mdc-radio-disabled-unselected-icon-color: black;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-focus-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #3f51b5;--mdc-radio-selected-hover-icon-color: #3f51b5;--mdc-radio-selected-icon-color: #3f51b5;--mdc-radio-selected-pressed-icon-color: #3f51b5}.mat-accent .mdc-list-item__start,.mat-accent .mdc-list-item__end{--mdc-radio-disabled-selected-icon-color: black;--mdc-radio-disabled-unselected-icon-color: black;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-focus-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #ff4081;--mdc-radio-selected-hover-icon-color: #ff4081;--mdc-radio-selected-icon-color: #ff4081;--mdc-radio-selected-pressed-icon-color: #ff4081}.mat-warn .mdc-list-item__start,.mat-warn .mdc-list-item__end{--mdc-radio-disabled-selected-icon-color: black;--mdc-radio-disabled-unselected-icon-color: black;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-focus-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #f44336;--mdc-radio-selected-hover-icon-color: #f44336;--mdc-radio-selected-icon-color: #f44336;--mdc-radio-selected-pressed-icon-color: #f44336}.mat-mdc-list-option{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #3f51b5;--mdc-checkbox-selected-hover-icon-color: #3f51b5;--mdc-checkbox-selected-icon-color: #3f51b5;--mdc-checkbox-selected-pressed-icon-color: #3f51b5;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #3f51b5;--mdc-checkbox-selected-hover-state-layer-color: #3f51b5;--mdc-checkbox-selected-pressed-state-layer-color: #3f51b5;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-list-option.mat-accent{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #ff4081;--mdc-checkbox-selected-hover-icon-color: #ff4081;--mdc-checkbox-selected-icon-color: #ff4081;--mdc-checkbox-selected-pressed-icon-color: #ff4081;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #ff4081;--mdc-checkbox-selected-hover-state-layer-color: #ff4081;--mdc-checkbox-selected-pressed-state-layer-color: #ff4081;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-list-option.mat-warn{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #f44336;--mdc-checkbox-selected-hover-icon-color: #f44336;--mdc-checkbox-selected-icon-color: #f44336;--mdc-checkbox-selected-pressed-icon-color: #f44336;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #f44336;--mdc-checkbox-selected-hover-state-layer-color: #f44336;--mdc-checkbox-selected-pressed-state-layer-color: #f44336;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--selected .mdc-list-item__primary-text,.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--selected .mdc-list-item__start,.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--activated .mdc-list-item__primary-text,.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--activated .mdc-list-item__start{color:#3f51b5}.mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__start,.mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__content,.mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__end{opacity:1}html{--mdc-list-list-item-one-line-container-height: 48px;--mdc-list-list-item-two-line-container-height: 64px;--mdc-list-list-item-three-line-container-height: 88px;--mat-list-list-item-leading-icon-start-space: 16px;--mat-list-list-item-leading-icon-end-space: 32px}.mdc-list-item__start,.mdc-list-item__end{--mdc-radio-state-layer-size: 40px}.mat-mdc-list-item.mdc-list-item--with-leading-avatar.mdc-list-item--with-one-line,.mat-mdc-list-item.mdc-list-item--with-leading-checkbox.mdc-list-item--with-one-line,.mat-mdc-list-item.mdc-list-item--with-leading-icon.mdc-list-item--with-one-line{height:56px}.mat-mdc-list-item.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines,.mat-mdc-list-item.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines,.mat-mdc-list-item.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines{height:72px}html{--mdc-list-list-item-label-text-font: Roboto, sans-serif;--mdc-list-list-item-label-text-line-height: 24px;--mdc-list-list-item-label-text-size: 16px;--mdc-list-list-item-label-text-tracking: .03125em;--mdc-list-list-item-label-text-weight: 400;--mdc-list-list-item-supporting-text-font: Roboto, sans-serif;--mdc-list-list-item-supporting-text-line-height: 20px;--mdc-list-list-item-supporting-text-size: 14px;--mdc-list-list-item-supporting-text-tracking: .0178571429em;--mdc-list-list-item-supporting-text-weight: 400;--mdc-list-list-item-trailing-supporting-text-font: Roboto, sans-serif;--mdc-list-list-item-trailing-supporting-text-line-height: 20px;--mdc-list-list-item-trailing-supporting-text-size: 12px;--mdc-list-list-item-trailing-supporting-text-tracking: .0333333333em;--mdc-list-list-item-trailing-supporting-text-weight: 400}.mdc-list-group__subheader{font:400 16px/28px Roboto,sans-serif;letter-spacing:.009375em}html{--mat-paginator-container-text-color: rgba(0, 0, 0, .87);--mat-paginator-container-background-color: white;--mat-paginator-enabled-icon-color: rgba(0, 0, 0, .54);--mat-paginator-disabled-icon-color: rgba(0, 0, 0, .12)}html{--mat-paginator-container-size: 56px;--mat-paginator-form-field-container-height: 40px;--mat-paginator-form-field-container-vertical-padding: 8px;--mat-paginator-touch-target-display: block}html{--mat-paginator-container-text-font: Roboto, sans-serif;--mat-paginator-container-text-line-height: 20px;--mat-paginator-container-text-size: 12px;--mat-paginator-container-text-tracking: .0333333333em;--mat-paginator-container-text-weight: 400;--mat-paginator-select-trigger-text-size: 12px}html{--mdc-secondary-navigation-tab-container-height: 48px;--mdc-tab-indicator-active-indicator-height: 2px;--mdc-tab-indicator-active-indicator-shape: 0;--mat-tab-header-divider-color: transparent;--mat-tab-header-divider-height: 0}.mat-mdc-tab-group,.mat-mdc-tab-nav-bar{--mdc-tab-indicator-active-indicator-color: #3f51b5;--mat-tab-header-disabled-ripple-color: rgba(0, 0, 0, .38);--mat-tab-header-pagination-icon-color: black;--mat-tab-header-inactive-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-label-text-color: #3f51b5;--mat-tab-header-active-ripple-color: #3f51b5;--mat-tab-header-inactive-ripple-color: #3f51b5;--mat-tab-header-inactive-focus-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-focus-label-text-color: #3f51b5;--mat-tab-header-active-hover-label-text-color: #3f51b5;--mat-tab-header-active-focus-indicator-color: #3f51b5;--mat-tab-header-active-hover-indicator-color: #3f51b5}.mat-mdc-tab-group.mat-accent,.mat-mdc-tab-nav-bar.mat-accent{--mdc-tab-indicator-active-indicator-color: #ff4081;--mat-tab-header-disabled-ripple-color: rgba(0, 0, 0, .38);--mat-tab-header-pagination-icon-color: black;--mat-tab-header-inactive-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-label-text-color: #ff4081;--mat-tab-header-active-ripple-color: #ff4081;--mat-tab-header-inactive-ripple-color: #ff4081;--mat-tab-header-inactive-focus-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-focus-label-text-color: #ff4081;--mat-tab-header-active-hover-label-text-color: #ff4081;--mat-tab-header-active-focus-indicator-color: #ff4081;--mat-tab-header-active-hover-indicator-color: #ff4081}.mat-mdc-tab-group.mat-warn,.mat-mdc-tab-nav-bar.mat-warn{--mdc-tab-indicator-active-indicator-color: #f44336;--mat-tab-header-disabled-ripple-color: rgba(0, 0, 0, .38);--mat-tab-header-pagination-icon-color: black;--mat-tab-header-inactive-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-label-text-color: #f44336;--mat-tab-header-active-ripple-color: #f44336;--mat-tab-header-inactive-ripple-color: #f44336;--mat-tab-header-inactive-focus-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-focus-label-text-color: #f44336;--mat-tab-header-active-hover-label-text-color: #f44336;--mat-tab-header-active-focus-indicator-color: #f44336;--mat-tab-header-active-hover-indicator-color: #f44336}.mat-mdc-tab-group.mat-background-primary,.mat-mdc-tab-nav-bar.mat-background-primary{--mat-tab-header-with-background-background-color: #3f51b5;--mat-tab-header-with-background-foreground-color: white}.mat-mdc-tab-group.mat-background-accent,.mat-mdc-tab-nav-bar.mat-background-accent{--mat-tab-header-with-background-background-color: #ff4081;--mat-tab-header-with-background-foreground-color: white}.mat-mdc-tab-group.mat-background-warn,.mat-mdc-tab-nav-bar.mat-background-warn{--mat-tab-header-with-background-background-color: #f44336;--mat-tab-header-with-background-foreground-color: white}.mat-mdc-tab-header{--mdc-secondary-navigation-tab-container-height: 48px}.mat-mdc-tab-header{--mat-tab-header-label-text-font: Roboto, sans-serif;--mat-tab-header-label-text-size: 14px;--mat-tab-header-label-text-tracking: .0892857143em;--mat-tab-header-label-text-line-height: 36px;--mat-tab-header-label-text-weight: 500}html{--mdc-checkbox-disabled-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-state-layer-opacity: .16;--mdc-checkbox-selected-hover-state-layer-opacity: .04;--mdc-checkbox-selected-pressed-state-layer-opacity: .16;--mdc-checkbox-unselected-focus-state-layer-opacity: .16;--mdc-checkbox-unselected-hover-state-layer-opacity: .04;--mdc-checkbox-unselected-pressed-state-layer-opacity: .16}html{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #ff4081;--mdc-checkbox-selected-hover-icon-color: #ff4081;--mdc-checkbox-selected-icon-color: #ff4081;--mdc-checkbox-selected-pressed-icon-color: #ff4081;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #ff4081;--mdc-checkbox-selected-hover-state-layer-color: #ff4081;--mdc-checkbox-selected-pressed-state-layer-color: #ff4081;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black;--mat-checkbox-disabled-label-color: rgba(0, 0, 0, .38);--mat-checkbox-label-text-color: rgba(0, 0, 0, .87)}.mat-mdc-checkbox.mat-primary{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #3f51b5;--mdc-checkbox-selected-hover-icon-color: #3f51b5;--mdc-checkbox-selected-icon-color: #3f51b5;--mdc-checkbox-selected-pressed-icon-color: #3f51b5;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #3f51b5;--mdc-checkbox-selected-hover-state-layer-color: #3f51b5;--mdc-checkbox-selected-pressed-state-layer-color: #3f51b5;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-checkbox.mat-warn{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #f44336;--mdc-checkbox-selected-hover-icon-color: #f44336;--mdc-checkbox-selected-icon-color: #f44336;--mdc-checkbox-selected-pressed-icon-color: #f44336;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #f44336;--mdc-checkbox-selected-hover-state-layer-color: #f44336;--mdc-checkbox-selected-pressed-state-layer-color: #f44336;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}html{--mdc-checkbox-state-layer-size: 40px;--mat-checkbox-touch-target-display: block}html{--mat-checkbox-label-text-font: Roboto, sans-serif;--mat-checkbox-label-text-line-height: 20px;--mat-checkbox-label-text-size: 14px;--mat-checkbox-label-text-tracking: .0178571429em;--mat-checkbox-label-text-weight: 400}html{--mdc-text-button-container-shape: 4px;--mdc-text-button-keep-touch-target: false;--mdc-filled-button-container-shape: 4px;--mdc-filled-button-keep-touch-target: false;--mdc-protected-button-container-shape: 4px;--mdc-protected-button-container-elevation-shadow: 0px 3px 1px -2px rgba(0, 0, 0, .2), 0px 2px 2px 0px rgba(0, 0, 0, .14), 0px 1px 5px 0px rgba(0, 0, 0, .12);--mdc-protected-button-disabled-container-elevation-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mdc-protected-button-focus-container-elevation-shadow: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mdc-protected-button-hover-container-elevation-shadow: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mdc-protected-button-pressed-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-outlined-button-keep-touch-target: false;--mdc-outlined-button-outline-width: 1px;--mdc-outlined-button-container-shape: 4px;--mat-text-button-horizontal-padding: 8px;--mat-text-button-with-icon-horizontal-padding: 8px;--mat-text-button-icon-spacing: 8px;--mat-text-button-icon-offset: 0;--mat-filled-button-horizontal-padding: 16px;--mat-filled-button-icon-spacing: 8px;--mat-filled-button-icon-offset: -4px;--mat-protected-button-horizontal-padding: 16px;--mat-protected-button-icon-spacing: 8px;--mat-protected-button-icon-offset: -4px;--mat-outlined-button-horizontal-padding: 15px;--mat-outlined-button-icon-spacing: 8px;--mat-outlined-button-icon-offset: -4px}html{--mdc-text-button-label-text-color: black;--mdc-text-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mat-text-button-state-layer-color: black;--mat-text-button-disabled-state-layer-color: black;--mat-text-button-ripple-color: rgba(0, 0, 0, .1);--mat-text-button-hover-state-layer-opacity: .04;--mat-text-button-focus-state-layer-opacity: .12;--mat-text-button-pressed-state-layer-opacity: .12;--mdc-filled-button-container-color: white;--mdc-filled-button-label-text-color: black;--mdc-filled-button-disabled-container-color: rgba(0, 0, 0, .12);--mdc-filled-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mat-filled-button-state-layer-color: black;--mat-filled-button-disabled-state-layer-color: black;--mat-filled-button-ripple-color: rgba(0, 0, 0, .1);--mat-filled-button-hover-state-layer-opacity: .04;--mat-filled-button-focus-state-layer-opacity: .12;--mat-filled-button-pressed-state-layer-opacity: .12;--mdc-protected-button-container-color: white;--mdc-protected-button-label-text-color: black;--mdc-protected-button-disabled-container-color: rgba(0, 0, 0, .12);--mdc-protected-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mat-protected-button-state-layer-color: black;--mat-protected-button-disabled-state-layer-color: black;--mat-protected-button-ripple-color: rgba(0, 0, 0, .1);--mat-protected-button-hover-state-layer-opacity: .04;--mat-protected-button-focus-state-layer-opacity: .12;--mat-protected-button-pressed-state-layer-opacity: .12;--mdc-outlined-button-disabled-outline-color: rgba(0, 0, 0, .12);--mdc-outlined-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-outlined-button-label-text-color: black;--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12);--mat-outlined-button-state-layer-color: black;--mat-outlined-button-disabled-state-layer-color: black;--mat-outlined-button-ripple-color: rgba(0, 0, 0, .1);--mat-outlined-button-hover-state-layer-opacity: .04;--mat-outlined-button-focus-state-layer-opacity: .12;--mat-outlined-button-pressed-state-layer-opacity: .12}.mat-mdc-button.mat-primary{--mdc-text-button-label-text-color: #3f51b5;--mat-text-button-state-layer-color: #3f51b5;--mat-text-button-ripple-color: rgba(63, 81, 181, .1)}.mat-mdc-button.mat-accent{--mdc-text-button-label-text-color: #ff4081;--mat-text-button-state-layer-color: #ff4081;--mat-text-button-ripple-color: rgba(255, 64, 129, .1)}.mat-mdc-button.mat-warn{--mdc-text-button-label-text-color: #f44336;--mat-text-button-state-layer-color: #f44336;--mat-text-button-ripple-color: rgba(244, 67, 54, .1)}.mat-mdc-unelevated-button.mat-primary{--mdc-filled-button-container-color: #3f51b5;--mdc-filled-button-label-text-color: white;--mat-filled-button-state-layer-color: white;--mat-filled-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-unelevated-button.mat-accent{--mdc-filled-button-container-color: #ff4081;--mdc-filled-button-label-text-color: white;--mat-filled-button-state-layer-color: white;--mat-filled-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-unelevated-button.mat-warn{--mdc-filled-button-container-color: #f44336;--mdc-filled-button-label-text-color: white;--mat-filled-button-state-layer-color: white;--mat-filled-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-raised-button.mat-primary{--mdc-protected-button-container-color: #3f51b5;--mdc-protected-button-label-text-color: white;--mat-protected-button-state-layer-color: white;--mat-protected-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-raised-button.mat-accent{--mdc-protected-button-container-color: #ff4081;--mdc-protected-button-label-text-color: white;--mat-protected-button-state-layer-color: white;--mat-protected-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-raised-button.mat-warn{--mdc-protected-button-container-color: #f44336;--mdc-protected-button-label-text-color: white;--mat-protected-button-state-layer-color: white;--mat-protected-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-outlined-button.mat-primary{--mdc-outlined-button-label-text-color: #3f51b5;--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12);--mat-outlined-button-state-layer-color: #3f51b5;--mat-outlined-button-ripple-color: rgba(63, 81, 181, .1)}.mat-mdc-outlined-button.mat-accent{--mdc-outlined-button-label-text-color: #ff4081;--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12);--mat-outlined-button-state-layer-color: #ff4081;--mat-outlined-button-ripple-color: rgba(255, 64, 129, .1)}.mat-mdc-outlined-button.mat-warn{--mdc-outlined-button-label-text-color: #f44336;--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12);--mat-outlined-button-state-layer-color: #f44336;--mat-outlined-button-ripple-color: rgba(244, 67, 54, .1)}html{--mdc-text-button-container-height: 36px;--mdc-filled-button-container-height: 36px;--mdc-protected-button-container-height: 36px;--mdc-outlined-button-container-height: 36px;--mat-text-button-touch-target-display: block;--mat-filled-button-touch-target-display: block;--mat-protected-button-touch-target-display: block;--mat-outlined-button-touch-target-display: block}html{--mdc-text-button-label-text-font: Roboto, sans-serif;--mdc-text-button-label-text-size: 14px;--mdc-text-button-label-text-tracking: .0892857143em;--mdc-text-button-label-text-weight: 500;--mdc-text-button-label-text-transform: none;--mdc-filled-button-label-text-font: Roboto, sans-serif;--mdc-filled-button-label-text-size: 14px;--mdc-filled-button-label-text-tracking: .0892857143em;--mdc-filled-button-label-text-weight: 500;--mdc-filled-button-label-text-transform: none;--mdc-protected-button-label-text-font: Roboto, sans-serif;--mdc-protected-button-label-text-size: 14px;--mdc-protected-button-label-text-tracking: .0892857143em;--mdc-protected-button-label-text-weight: 500;--mdc-protected-button-label-text-transform: none;--mdc-outlined-button-label-text-font: Roboto, sans-serif;--mdc-outlined-button-label-text-size: 14px;--mdc-outlined-button-label-text-tracking: .0892857143em;--mdc-outlined-button-label-text-weight: 500;--mdc-outlined-button-label-text-transform: none}html{--mdc-icon-button-icon-size: 24px}html{--mdc-icon-button-icon-color: inherit;--mdc-icon-button-disabled-icon-color: rgba(0, 0, 0, .38);--mat-icon-button-state-layer-color: black;--mat-icon-button-disabled-state-layer-color: black;--mat-icon-button-ripple-color: rgba(0, 0, 0, .1);--mat-icon-button-hover-state-layer-opacity: .04;--mat-icon-button-focus-state-layer-opacity: .12;--mat-icon-button-pressed-state-layer-opacity: .12}html .mat-mdc-icon-button.mat-primary{--mdc-icon-button-icon-color: #3f51b5;--mat-icon-button-state-layer-color: #3f51b5;--mat-icon-button-ripple-color: rgba(63, 81, 181, .1)}html .mat-mdc-icon-button.mat-accent{--mdc-icon-button-icon-color: #ff4081;--mat-icon-button-state-layer-color: #ff4081;--mat-icon-button-ripple-color: rgba(255, 64, 129, .1)}html .mat-mdc-icon-button.mat-warn{--mdc-icon-button-icon-color: #f44336;--mat-icon-button-state-layer-color: #f44336;--mat-icon-button-ripple-color: rgba(244, 67, 54, .1)}html{--mat-icon-button-touch-target-display: block}.mat-mdc-icon-button.mat-mdc-button-base{--mdc-icon-button-state-layer-size: 48px;width:var(--mdc-icon-button-state-layer-size);height:var(--mdc-icon-button-state-layer-size);padding:12px}html{--mdc-fab-container-shape: 50%;--mdc-fab-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-focus-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-pressed-container-elevation-shadow: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mdc-fab-small-container-shape: 50%;--mdc-fab-small-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-small-focus-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-small-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-small-pressed-container-elevation-shadow: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mdc-extended-fab-container-height: 48px;--mdc-extended-fab-container-shape: 24px;--mdc-extended-fab-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-extended-fab-focus-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-extended-fab-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-extended-fab-pressed-container-elevation-shadow: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12)}html{--mdc-fab-container-color: white;--mat-fab-foreground-color: black;--mat-fab-state-layer-color: black;--mat-fab-disabled-state-layer-color: black;--mat-fab-ripple-color: rgba(0, 0, 0, .1);--mat-fab-hover-state-layer-opacity: .04;--mat-fab-focus-state-layer-opacity: .12;--mat-fab-pressed-state-layer-opacity: .12;--mat-fab-disabled-state-container-color: rgba(0, 0, 0, .12);--mat-fab-disabled-state-foreground-color: rgba(0, 0, 0, .38);--mdc-fab-small-container-color: white;--mat-fab-small-foreground-color: black;--mat-fab-small-state-layer-color: black;--mat-fab-small-disabled-state-layer-color: black;--mat-fab-small-ripple-color: rgba(0, 0, 0, .1);--mat-fab-small-hover-state-layer-opacity: .04;--mat-fab-small-focus-state-layer-opacity: .12;--mat-fab-small-pressed-state-layer-opacity: .12;--mat-fab-small-disabled-state-container-color: rgba(0, 0, 0, .12);--mat-fab-small-disabled-state-foreground-color: rgba(0, 0, 0, .38)}html .mat-mdc-fab.mat-primary{--mdc-fab-container-color: #3f51b5;--mat-fab-foreground-color: white;--mat-fab-state-layer-color: white;--mat-fab-ripple-color: rgba(255, 255, 255, .1)}html .mat-mdc-fab.mat-accent{--mdc-fab-container-color: #ff4081;--mat-fab-foreground-color: white;--mat-fab-state-layer-color: white;--mat-fab-ripple-color: rgba(255, 255, 255, .1)}html .mat-mdc-fab.mat-warn{--mdc-fab-container-color: #f44336;--mat-fab-foreground-color: white;--mat-fab-state-layer-color: white;--mat-fab-ripple-color: rgba(255, 255, 255, .1)}html .mat-mdc-mini-fab.mat-primary{--mdc-fab-small-container-color: #3f51b5;--mat-fab-small-foreground-color: white;--mat-fab-small-state-layer-color: white;--mat-fab-small-ripple-color: rgba(255, 255, 255, .1)}html .mat-mdc-mini-fab.mat-accent{--mdc-fab-small-container-color: #ff4081;--mat-fab-small-foreground-color: white;--mat-fab-small-state-layer-color: white;--mat-fab-small-ripple-color: rgba(255, 255, 255, .1)}html .mat-mdc-mini-fab.mat-warn{--mdc-fab-small-container-color: #f44336;--mat-fab-small-foreground-color: white;--mat-fab-small-state-layer-color: white;--mat-fab-small-ripple-color: rgba(255, 255, 255, .1)}html{--mat-fab-touch-target-display: block;--mat-fab-small-touch-target-display: block}html{--mdc-extended-fab-label-text-font: Roboto, sans-serif;--mdc-extended-fab-label-text-size: 14px;--mdc-extended-fab-label-text-tracking: .0892857143em;--mdc-extended-fab-label-text-weight: 500}html{--mdc-snackbar-container-shape: 4px}html{--mdc-snackbar-container-color: #333333;--mdc-snackbar-supporting-text-color: rgba(255, 255, 255, .87);--mat-snack-bar-button-color: #ff4081}html{--mdc-snackbar-supporting-text-font: Roboto, sans-serif;--mdc-snackbar-supporting-text-line-height: 20px;--mdc-snackbar-supporting-text-size: 14px;--mdc-snackbar-supporting-text-weight: 400}html{--mat-table-row-item-outline-width: 1px}html{--mat-table-background-color: white;--mat-table-header-headline-color: rgba(0, 0, 0, .87);--mat-table-row-item-label-text-color: rgba(0, 0, 0, .87);--mat-table-row-item-outline-color: rgba(0, 0, 0, .12)}html{--mat-table-header-container-height: 56px;--mat-table-footer-container-height: 52px;--mat-table-row-item-container-height: 52px}html{--mat-table-header-headline-font: Roboto, sans-serif;--mat-table-header-headline-line-height: 22px;--mat-table-header-headline-size: 14px;--mat-table-header-headline-weight: 500;--mat-table-header-headline-tracking: .0071428571em;--mat-table-row-item-label-text-font: Roboto, sans-serif;--mat-table-row-item-label-text-line-height: 20px;--mat-table-row-item-label-text-size: 14px;--mat-table-row-item-label-text-weight: 400;--mat-table-row-item-label-text-tracking: .0178571429em;--mat-table-footer-supporting-text-font: Roboto, sans-serif;--mat-table-footer-supporting-text-line-height: 20px;--mat-table-footer-supporting-text-size: 14px;--mat-table-footer-supporting-text-weight: 400;--mat-table-footer-supporting-text-tracking: .0178571429em}html{--mdc-circular-progress-active-indicator-width: 4px;--mdc-circular-progress-size: 48px}html{--mdc-circular-progress-active-indicator-color: #3f51b5}html .mat-accent{--mdc-circular-progress-active-indicator-color: #ff4081}html .mat-warn{--mdc-circular-progress-active-indicator-color: #f44336}html{--mat-badge-container-shape: 50%;--mat-badge-container-size: unset;--mat-badge-small-size-container-size: unset;--mat-badge-large-size-container-size: unset;--mat-badge-legacy-container-size: 22px;--mat-badge-legacy-small-size-container-size: 16px;--mat-badge-legacy-large-size-container-size: 28px;--mat-badge-container-offset: -11px 0;--mat-badge-small-size-container-offset: -8px 0;--mat-badge-large-size-container-offset: -14px 0;--mat-badge-container-overlap-offset: -11px;--mat-badge-small-size-container-overlap-offset: -8px;--mat-badge-large-size-container-overlap-offset: -14px;--mat-badge-container-padding: 0;--mat-badge-small-size-container-padding: 0;--mat-badge-large-size-container-padding: 0}html{--mat-badge-background-color: #3f51b5;--mat-badge-text-color: white;--mat-badge-disabled-state-background-color: #b9b9b9;--mat-badge-disabled-state-text-color: rgba(0, 0, 0, .38)}.mat-badge-accent{--mat-badge-background-color: #ff4081;--mat-badge-text-color: white}.mat-badge-warn{--mat-badge-background-color: #f44336;--mat-badge-text-color: white}html{--mat-badge-text-font: Roboto, sans-serif;--mat-badge-line-height: 22px;--mat-badge-text-size: 12px;--mat-badge-text-weight: 600;--mat-badge-small-size-text-size: 9px;--mat-badge-small-size-line-height: 16px;--mat-badge-large-size-text-size: 24px;--mat-badge-large-size-line-height: 28px}html{--mat-bottom-sheet-container-shape: 4px}html{--mat-bottom-sheet-container-text-color: rgba(0, 0, 0, .87);--mat-bottom-sheet-container-background-color: white}html{--mat-bottom-sheet-container-text-font: Roboto, sans-serif;--mat-bottom-sheet-container-text-line-height: 20px;--mat-bottom-sheet-container-text-size: 14px;--mat-bottom-sheet-container-text-tracking: .0178571429em;--mat-bottom-sheet-container-text-weight: 400}html{--mat-legacy-button-toggle-height: 36px;--mat-legacy-button-toggle-shape: 2px;--mat-legacy-button-toggle-focus-state-layer-opacity: 1;--mat-standard-button-toggle-shape: 4px;--mat-standard-button-toggle-hover-state-layer-opacity: .04;--mat-standard-button-toggle-focus-state-layer-opacity: .12}html{--mat-legacy-button-toggle-text-color: rgba(0, 0, 0, .38);--mat-legacy-button-toggle-state-layer-color: rgba(0, 0, 0, .12);--mat-legacy-button-toggle-selected-state-text-color: rgba(0, 0, 0, .54);--mat-legacy-button-toggle-selected-state-background-color: #e0e0e0;--mat-legacy-button-toggle-disabled-state-text-color: rgba(0, 0, 0, .26);--mat-legacy-button-toggle-disabled-state-background-color: #eeeeee;--mat-legacy-button-toggle-disabled-selected-state-background-color: #bdbdbd;--mat-standard-button-toggle-text-color: rgba(0, 0, 0, .87);--mat-standard-button-toggle-background-color: white;--mat-standard-button-toggle-state-layer-color: black;--mat-standard-button-toggle-selected-state-background-color: #e0e0e0;--mat-standard-button-toggle-selected-state-text-color: rgba(0, 0, 0, .87);--mat-standard-button-toggle-disabled-state-text-color: rgba(0, 0, 0, .26);--mat-standard-button-toggle-disabled-state-background-color: white;--mat-standard-button-toggle-disabled-selected-state-text-color: rgba(0, 0, 0, .87);--mat-standard-button-toggle-disabled-selected-state-background-color: #bdbdbd;--mat-standard-button-toggle-divider-color: #e0e0e0}html{--mat-standard-button-toggle-height: 48px}html{--mat-legacy-button-toggle-label-text-font: Roboto, sans-serif;--mat-legacy-button-toggle-label-text-line-height: 24px;--mat-legacy-button-toggle-label-text-size: 16px;--mat-legacy-button-toggle-label-text-tracking: .03125em;--mat-legacy-button-toggle-label-text-weight: 400;--mat-standard-button-toggle-label-text-font: Roboto, sans-serif;--mat-standard-button-toggle-label-text-line-height: 24px;--mat-standard-button-toggle-label-text-size: 16px;--mat-standard-button-toggle-label-text-tracking: .03125em;--mat-standard-button-toggle-label-text-weight: 400}html{--mat-datepicker-calendar-container-shape: 4px;--mat-datepicker-calendar-container-touch-shape: 4px;--mat-datepicker-calendar-container-elevation-shadow: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mat-datepicker-calendar-container-touch-elevation-shadow: 0px 11px 15px -7px rgba(0, 0, 0, .2), 0px 24px 38px 3px rgba(0, 0, 0, .14), 0px 9px 46px 8px rgba(0, 0, 0, .12)}html{--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #3f51b5;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(63, 81, 181, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: rgba(63, 81, 181, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(63, 81, 181, .3);--mat-datepicker-toggle-active-state-icon-color: #3f51b5;--mat-datepicker-calendar-date-in-range-state-background-color: rgba(63, 81, 181, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: #46a35e;--mat-datepicker-toggle-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-body-label-text-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-period-button-text-color: black;--mat-datepicker-calendar-period-button-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-navigation-button-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-header-divider-color: rgba(0, 0, 0, .12);--mat-datepicker-calendar-header-text-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-date-today-outline-color: rgba(0, 0, 0, .38);--mat-datepicker-calendar-date-today-disabled-state-outline-color: rgba(0, 0, 0, .18);--mat-datepicker-calendar-date-text-color: rgba(0, 0, 0, .87);--mat-datepicker-calendar-date-outline-color: transparent;--mat-datepicker-calendar-date-disabled-state-text-color: rgba(0, 0, 0, .38);--mat-datepicker-calendar-date-preview-state-outline-color: rgba(0, 0, 0, .24);--mat-datepicker-range-input-separator-color: rgba(0, 0, 0, .87);--mat-datepicker-range-input-disabled-state-separator-color: rgba(0, 0, 0, .38);--mat-datepicker-range-input-disabled-state-text-color: rgba(0, 0, 0, .38);--mat-datepicker-calendar-container-background-color: white;--mat-datepicker-calendar-container-text-color: rgba(0, 0, 0, .87)}.mat-datepicker-content.mat-accent{--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #ff4081;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(255, 64, 129, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: rgba(255, 64, 129, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(255, 64, 129, .3);--mat-datepicker-calendar-date-in-range-state-background-color: rgba(255, 64, 129, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: #46a35e}.mat-datepicker-content.mat-warn{--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #f44336;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(244, 67, 54, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: rgba(244, 67, 54, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(244, 67, 54, .3);--mat-datepicker-calendar-date-in-range-state-background-color: rgba(244, 67, 54, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: #46a35e}.mat-datepicker-toggle-active.mat-accent{--mat-datepicker-toggle-active-state-icon-color: #ff4081}.mat-datepicker-toggle-active.mat-warn{--mat-datepicker-toggle-active-state-icon-color: #f44336}.mat-calendar-controls{--mat-icon-button-touch-target-display: none}.mat-calendar-controls .mat-mdc-icon-button.mat-mdc-button-base{--mdc-icon-button-state-layer-size: 40px;width:var(--mdc-icon-button-state-layer-size);height:var(--mdc-icon-button-state-layer-size);padding:8px}html{--mat-datepicker-calendar-text-font: Roboto, sans-serif;--mat-datepicker-calendar-text-size: 13px;--mat-datepicker-calendar-body-label-text-size: 14px;--mat-datepicker-calendar-body-label-text-weight: 500;--mat-datepicker-calendar-period-button-text-size: 14px;--mat-datepicker-calendar-period-button-text-weight: 500;--mat-datepicker-calendar-header-text-size: 11px;--mat-datepicker-calendar-header-text-weight: 400}html{--mat-divider-width: 1px}html{--mat-divider-color: rgba(0, 0, 0, .12)}html{--mat-expansion-container-shape: 4px;--mat-expansion-legacy-header-indicator-display: inline-block;--mat-expansion-header-indicator-display: none}html{--mat-expansion-container-background-color: white;--mat-expansion-container-text-color: rgba(0, 0, 0, .87);--mat-expansion-actions-divider-color: rgba(0, 0, 0, .12);--mat-expansion-header-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-expansion-header-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-expansion-header-disabled-state-text-color: rgba(0, 0, 0, .26);--mat-expansion-header-text-color: rgba(0, 0, 0, .87);--mat-expansion-header-description-color: rgba(0, 0, 0, .54);--mat-expansion-header-indicator-color: rgba(0, 0, 0, .54)}html{--mat-expansion-header-collapsed-state-height: 48px;--mat-expansion-header-expanded-state-height: 64px}html{--mat-expansion-header-text-font: Roboto, sans-serif;--mat-expansion-header-text-size: 14px;--mat-expansion-header-text-weight: 500;--mat-expansion-header-text-line-height: inherit;--mat-expansion-header-text-tracking: inherit;--mat-expansion-container-text-font: Roboto, sans-serif;--mat-expansion-container-text-line-height: 20px;--mat-expansion-container-text-size: 14px;--mat-expansion-container-text-tracking: .0178571429em;--mat-expansion-container-text-weight: 400}html{--mat-grid-list-tile-header-primary-text-size: 14px;--mat-grid-list-tile-header-secondary-text-size: 12px;--mat-grid-list-tile-footer-primary-text-size: 14px;--mat-grid-list-tile-footer-secondary-text-size: 12px}html{--mat-icon-color: inherit}.mat-icon.mat-primary{--mat-icon-color: #3f51b5}.mat-icon.mat-accent{--mat-icon-color: #ff4081}.mat-icon.mat-warn{--mat-icon-color: #f44336}html{--mat-sidenav-container-shape: 0;--mat-sidenav-container-elevation-shadow: 0px 8px 10px -5px rgba(0, 0, 0, .2), 0px 16px 24px 2px rgba(0, 0, 0, .14), 0px 6px 30px 5px rgba(0, 0, 0, .12);--mat-sidenav-container-width: auto}html{--mat-sidenav-container-divider-color: rgba(0, 0, 0, .12);--mat-sidenav-container-background-color: white;--mat-sidenav-container-text-color: rgba(0, 0, 0, .87);--mat-sidenav-content-background-color: #fafafa;--mat-sidenav-content-text-color: rgba(0, 0, 0, .87);--mat-sidenav-scrim-color: rgba(0, 0, 0, .6)}html{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #3f51b5;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #3f51b5;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #3f51b5;--mat-stepper-header-edit-state-icon-foreground-color: white;--mat-stepper-container-color: white;--mat-stepper-line-color: rgba(0, 0, 0, .12);--mat-stepper-header-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-stepper-header-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-stepper-header-label-text-color: rgba(0, 0, 0, .54);--mat-stepper-header-optional-label-text-color: rgba(0, 0, 0, .54);--mat-stepper-header-selected-state-label-text-color: rgba(0, 0, 0, .87);--mat-stepper-header-error-state-label-text-color: #f44336;--mat-stepper-header-icon-background-color: rgba(0, 0, 0, .54);--mat-stepper-header-error-state-icon-foreground-color: #f44336;--mat-stepper-header-error-state-icon-background-color: transparent}html .mat-step-header.mat-accent{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #ff4081;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #ff4081;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #ff4081;--mat-stepper-header-edit-state-icon-foreground-color: white}html .mat-step-header.mat-warn{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #f44336;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #f44336;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #f44336;--mat-stepper-header-edit-state-icon-foreground-color: white}html{--mat-stepper-header-height: 72px}html{--mat-stepper-container-text-font: Roboto, sans-serif;--mat-stepper-header-label-text-font: Roboto, sans-serif;--mat-stepper-header-label-text-size: 14px;--mat-stepper-header-label-text-weight: 400;--mat-stepper-header-error-state-label-text-size: 16px;--mat-stepper-header-selected-state-label-text-size: 16px;--mat-stepper-header-selected-state-label-text-weight: 400}html{--mat-sort-arrow-color: #757575}html{--mat-toolbar-container-background-color: whitesmoke;--mat-toolbar-container-text-color: rgba(0, 0, 0, .87)}.mat-toolbar.mat-primary{--mat-toolbar-container-background-color: #3f51b5;--mat-toolbar-container-text-color: white}.mat-toolbar.mat-accent{--mat-toolbar-container-background-color: #ff4081;--mat-toolbar-container-text-color: white}.mat-toolbar.mat-warn{--mat-toolbar-container-background-color: #f44336;--mat-toolbar-container-text-color: white}html{--mat-toolbar-standard-height: 64px;--mat-toolbar-mobile-height: 56px}html{--mat-toolbar-title-text-font: Roboto, sans-serif;--mat-toolbar-title-text-line-height: 32px;--mat-toolbar-title-text-size: 20px;--mat-toolbar-title-text-tracking: .0125em;--mat-toolbar-title-text-weight: 500}html{--mat-tree-container-background-color: white;--mat-tree-node-text-color: rgba(0, 0, 0, .87)}html{--mat-tree-node-min-height: 48px}html{--mat-tree-node-text-font: Roboto, sans-serif;--mat-tree-node-text-size: 14px;--mat-tree-node-text-weight: 400}html,body{margin:0;font-family:Roboto,Helvetica,Arial,sans-serif;font-size:14px;height:100%}.app-loading .logo{width:113px;height:120px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAMAAAD04JH5AAABhWlDQ1BJQ0MgcHJvZmlsZQAAKJF9kT1Iw0AYht+malUqCnYQcchQnexiRRxLFYtgobQVWnUwufRHaNKQpLg4Cq4FB38Wqw4uzro6uAqC4A+Is4OToouU+F1SaBHjHcc9vPe9L3ffAUKjwlSzKwaommWkE3Exl18RA6/owxDNHkQlZurJzEIWnuPrHj6+30V4lnfdn2NAKZgM8InEMaYbFvE68cympXPeJw6xsqQQnxNPGnRB4keuyy6/cS45LPDMkJFNzxGHiMVSB8sdzMqGSjxNHFZUjfKFnMsK5y3OaqXGWvfkLwwWtOUM12mNIYFFJJGCCBk1bKACCxHaNVJMpOk87uEfdfwpcsnk2gAjxzyqUCE5fvA/+N1bsxidcpOCcaD7xbY/xoHALtCs2/b3sW03TwD/M3Cltf3VBjD7SXq9rYWPgMFt4OK6rcl7wOUOMPKkS4bkSH5aQrEIvJ/RN+WB4Vugf9XtW+scpw9Alnq1dAMcHAITJcpe83h3b2ff/q1p9e8HsopywPmxfBcAAAGDUExURQAAABkMiRwRhiYRgR4WghwdhyUcgSohcycjeiMkhSkmdSopZy8sYBovjzEzVyUykTE3UyQ3kTM1dTM3ZDU9SDZBQCY/lS9DgD9GLT5DazxKMCNOpEFWG0BWLkVQZSVVoUFXKERYFkJYI0ZZEB1ZqztZQD5ZNUZZGD1ZOjxZRTJZbTtZUzVaXjxaS0dbGTdaZyZboSlapkVeFDBZoEldGyxdmDBdiy9cnCJgrDBekjRehjdeeylfpDNfgVFbXDxjdDllfEFkcUJnakdoYTlpkklqW1RtFzxrh01qVk9sT1VuQ1RuSVZvP1pxN2ByKl5zMGR0EmJ0JGN1HWZ2FUR4gmd3F2l5DWl5GWF9Gk18e259E01/eGJ+T2uBFnGGEWqIFmeFSFaIb1qMZ22KPnKOGXSRL3iTE2OUXnOXF3CaRGqbUHibMn2dEnujGn+mDXmqPISrFoGvGYGwNIazEIO2LIu5HJC8DIy/EJLFG5XHCJbIDZjKEZLMEZvMAJbQGZrTB53VAJ6wE90AAAABdFJOUwBA5thmAAALzklEQVR42tVb/VvbRhJ2gHD56EeSNtyFmGJjJyJAQMLYxjYuAQoJ3wad5JQUSBsfoRcgEOMg7erk/uk3uysZ21qBVoHcc/MreTyvZt6ZeWekRCJfYnXbts6ODg/3Xy8sjEeu2ywTmaZpGKaBLNvGZyeHu7uvwRbAxkdHpbjHJOkq/BKnJjGrTsyu1/+qGydHh/u7m+OjUpQZ+JKkUcm1UWITExMuqHCeqVuLPLKJiGFqlmWeney/Hid+2p+Xa42/CwXbQPSxsU3MsjAmCAgghI2T3YVx9uTxS60RESkwBtMyDAORWNsWpj6bDaNqZUFyfcNPJxLjrZbwhob9U8iJdCkGRHyDZ+TxzAyh6u4o8y4lIAyxWF9vq/2jty8WG4B/kgDzJml09AIIEHRkkkwjX/9WbTcRZY8eHYj1Pvzx3nff3G21R0MjI8PPnzzpGxgYcNjZlpG45Ov+gmd3ABwuRBmAaO+9u3du3brV3d3VbLd7UmmwXC6TyRfGhp89jUXbwkCKhRMEA0HosXmJIWNfipLfiD387u6tDmadzLq6Oju6vu3plycVaslkKpvLF4fGRp4PxoAqTTBGvRAwutw7YwAAkOK99/7W1dHlsZvf98utRoDIucLIc8hI/BwDyUNr+G18YegbAE62pShE/5sunnXfT8l8y2bTheHBAYLdRdBCBNO2A7gnAGqV0agE/js6vf4h/VN8/yQj2XSmMBxrikFTNRiWbZiBDOHD8ejAj92c8IN/2ce/i0LODAEEyZsFhJEZEIBdfZ3o/YEH4DL/DEN6bNCtinMEqI7NoAZ9eOHhHc7z3+yRAxhwpPhswM3DhAPAqFumAIL9Z3d4/lNTQRDIipwfdhG4TfHEQCgwAAvVPvzcfaPVfWfX/f5g/kkaMs/dITbKAFSOkUAIELY//tTeBL7tlwObIhefNADQWiztGwIAoB0bHx7d6GwjoIApypCTBKcUSzvHBhZD8PZBR3MMfBuQDwJIgouAAijv1SwkgMCyar/daUJw+/GULGaFWIIBoCxQVf3wTAgBqp++utXRVAGC/pO5wXgzgC11+8gQAQBK7fTn2y6C2/2iAVDSTimyXqRuaYQGIkQ0bOvwp65OtwTEAYz1NQGIaGVNrVSRUAws+8OjThqDm/fFAWQLg1LTUNTKZUJELFiM71gpdAdtgs2Wf5JonokkCdsHZ0IxAHn49sGNLwTgdgK1XFbV7UNBIlq15TugC64CQETb0tTSthgRoR2czHd3dHT39F8BABKD0o4gEbH94afujhAkbAYQZSMZAGglTbAjImx9eBSqDLPFRhW4skgjtVjeP0MiU8Goo3896rgZAsDQ03YAEVXXVLV88FmwHeB3P3T1iDeikVhzI3JCoGtQjEdnIiEgWXj34PvH4q046gEQIQBU0pPF2kG99vbvPaIAck/YhiCNNu8nmg5EhJ4sRETSkH7LK4KCIDcoxb0AyEwAHkApYDEa1N7n+hWxcfw0wQUA/YiWglgMMD79Pd0vFIFMXyLu4QDtBppGp4JYO0Do0++5ZAhFJHmOFTQEVJ4IFuOnNymBJGSH/ACoOnREVa0cm0I0gG3h469ZJTCE9MiAD4CISolYqlRNsVLAgCAwDxqqmHcvoghgKpwJDUaGIBswBEpx0AXAORWBOAEEuiARTfM/6OMbOVA/SCmFvvgFAMqEiCWQJ1gMgYU/vkknlSAAhgacRsi92IFCJKWwK7YukWqEWsgFYaIyFI/7cJBamXXESlUQgYnRpz9+CYAAADgZiPIPlowGIE8EkwAy8fTPN7lkcpLYlO+Qzo5cQAG6LJY0gqAsTERSDJ/+eHnek6a4MDLPLwEQITwEIuoHhjACZJ2dOr/iLwifMQATvgCqB1uqSkrhSEwns2Ko/9X0U8Th5GQLA+TCIAUgTfi8T0HYPtsrkzSUdk5M0RgYyLaM1h9M0WRMNgThWIwB4FchMshrglpFU8loFl0ZqdWR2f6rjBFTDMBwNO7n3zQg6+AfG8c7KkGg7X8WR4Btw/T+9rkkHna0QNTrHuE6PdrC6nkAyxJ0AyCiaDGahmVjbnIdAM8SvAhY2HC8U6lZd5IQiogm8kcwBYo0wZFjn2nqkVvNtdM/326qtB1snyDxLCDb9EEwKRcHE953irsH0HipH/qC7vT9P3Mvlzd12hErVSxORNxeCi4CJVuggrBtEGjblYOaZZFXRnX06f2vvyiPlRerJAKEiLUQpYB9YpBMj9GtqA0A8K28d1QzLHz68d+knSsAdXadhAA04kEIGsCj8BFk2IGqHcAWrOflveMatPKGsEnP0SSIXw7cnshHwORQ2yAgAGA33Xn7Mi03lgyluOgg2KlaYUrB5CKIUQDtg4CoEE3Vl/qbNE1KBhpQIqoVwXXJSQLmMTE6wRuFVIxq+lK2ecFIZmfXdEpEdU/scuDGgFcL8QmeGuICgD16fpMhEFepvlkgalzyaAFouhwAIB4WaRI0SkRxBBYnBPEJCUaxBwDZyjR9NZ9qVdaKQwNV3amGAACl0I4gLiXIxw1xrhDUV1+0bRdKdmadhUAVvKU2RFo7AraU8JWovj7dvt4o6bkN3emIZyE6IrKQEeSzBbYO6GuzacVzzlikLZnt7WYYIgYDQFioby5mPACU4pLeIGKIGNg4YAhIDrTVIufSML1OEajhBiO3FPwA6JvTCueq5vSjkrYfqhtYZpAsUPmhb86leVetRfpXtbQVbjAGowFphrq6yLm5AQ1WzmkQAkHdCJIEtaxDz1mf4ayXijKzxmig7oYR6hgHCwGpA22ee+hIz244NNgLo4+C5YBczHV9KS+neHcdRxuo5YMQtWibgXJACkHfmOOFQJHzS0wihhLqIHiDV+IK9+iopKZXHSLuVE1RbQD7phEwB9COp33OXbPuUKiID0YcsBK3gAWby5kk/8btqBNyuhClQcBWQC72mrYx63PbyS872mD7SDQJ0A0Dz0RdWynIvCQoIFJZEsgpVfSSaQYbCJSH6qs0lwWKPLvGSoHIZMFjrhEwBJSHHmF0rk5UPdQFCwAEKkSmjHRtOcMvhGRmmSEAGiB0HRGAXlBmQ9EnCUWHBuSFP74OALQSYCZN80NAVlbN3VUEkiAAgK4ouraYkX1oML/JJKLQrhK0DNlYJpWwMc9PQirpdAOiDUwU/DO44ACckbA249ORlYKzsmoCRzxsW8EBqOT3dX294EcDZ1dRtcAtGQUch40kUBosFZN+NNhwJvNhwMmMA24nLQg0bZH//kEBdaK6kzlYCIIJEk8MNl7lfPqRSwM92EsFC6OIIACHiLN+/WjaWVlhLl4eA1QX9e+uitr6bJb7JsxdWdXS7uXnI2QJNIG2JOir/BikUo1dZe+ySkB2GP+No806vx0ocmGFffJw2c4M+3ko/+cxKPi8eWHagCYBXVkH8Exmoo9ecN+MJx2JWLrwgwOELSMSGkCZjmZ95UWaw8SUuymUyv7SIHz8XRpQHvCZCC15lVWC77bmdywVbQc+/UBJv2IqWfdZ2r/w+VsQgEJSvC3ZPeXuVDlf4hnYRkbki61MVwVAkPdSMZVly5Kq73NK0bKNK/Dv9ERQiUtFTiXk3Y7sKUVof4YZuRJzsrC5OuMRacncovNex6MMLBEFclkWtmgM9PXZdiK42kTVto9bNDKyw7cf364M43k+3/qtTErOrDgq/aAJAHQfy4hcpWkMgba59KIVgZJd1j0zifyPDRSJXDECes3X1dW5FpWkyMuNdbVRiZZlRq7coCEwLm4sTjdBUORFXXNWNeeLD0j/NfhvTAbalIpARsVphksuAKZPofquOP0eKgITVucyWfL0QIHp1RYA5D0VilyXaU5P0rWNlbminFSSCqgSrQkANP/rc88gbLGC1DdX5menZ+aWmDxnHLCs60p/MxHYGYlWxNqG655VQd0yrci1m+YsLTog0PRzAHtnwU6BV1OQDhvPTS0f2ghHvpIBGdsglOgr/sjXMyjIFgzlneOv6Z5RQXWqkpbAQS3y1U0lZKCmbVUi/xtzLnZq5P/a/gvm8NIms2W1xQAAAABJRU5ErkJggg==)}i.material-icons{vertical-align:middle!important}.highlight{color:red}.mat-mdc-menu-content .mat-mdc-menu-item:hover{background-color:#e8e8e8}.mat-mdc-option:hover:not(.mat-mdc-option-disabled){background:#648cb0!important;color:#fff!important}.dark-theme{--mat-ripple-color: rgba(255, 255, 255, .1);--mat-option-selected-state-label-text-color: #3f51b5;--mat-option-label-text-color: white;--mat-option-hover-state-layer-color: rgba(255, 255, 255, .08);--mat-option-focus-state-layer-color: rgba(255, 255, 255, .08);--mat-option-selected-state-layer-color: rgba(255, 255, 255, .08);--mat-optgroup-label-text-color: white;--mat-full-pseudo-checkbox-selected-icon-color: #ff4081;--mat-full-pseudo-checkbox-selected-checkmark-color: #303030;--mat-full-pseudo-checkbox-unselected-icon-color: rgba(255, 255, 255, .7);--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #303030;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: #686868;--mat-full-pseudo-checkbox-disabled-selected-icon-color: #686868;--mat-minimal-pseudo-checkbox-selected-checkmark-color: #ff4081;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: #686868;--mat-app-background-color: #303030;--mat-app-text-color: white;--mat-app-elevation-shadow-level-0: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-1: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-2: 0px 3px 1px -2px rgba(0, 0, 0, .2), 0px 2px 2px 0px rgba(0, 0, 0, .14), 0px 1px 5px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-3: 0px 3px 3px -2px rgba(0, 0, 0, .2), 0px 3px 4px 0px rgba(0, 0, 0, .14), 0px 1px 8px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-4: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-5: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 5px 8px 0px rgba(0, 0, 0, .14), 0px 1px 14px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-6: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-7: 0px 4px 5px -2px rgba(0, 0, 0, .2), 0px 7px 10px 1px rgba(0, 0, 0, .14), 0px 2px 16px 1px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-8: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-9: 0px 5px 6px -3px rgba(0, 0, 0, .2), 0px 9px 12px 1px rgba(0, 0, 0, .14), 0px 3px 16px 2px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-10: 0px 6px 6px -3px rgba(0, 0, 0, .2), 0px 10px 14px 1px rgba(0, 0, 0, .14), 0px 4px 18px 3px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-11: 0px 6px 7px -4px rgba(0, 0, 0, .2), 0px 11px 15px 1px rgba(0, 0, 0, .14), 0px 4px 20px 3px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-12: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-13: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 13px 19px 2px rgba(0, 0, 0, .14), 0px 5px 24px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-14: 0px 7px 9px -4px rgba(0, 0, 0, .2), 0px 14px 21px 2px rgba(0, 0, 0, .14), 0px 5px 26px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-15: 0px 8px 9px -5px rgba(0, 0, 0, .2), 0px 15px 22px 2px rgba(0, 0, 0, .14), 0px 6px 28px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-16: 0px 8px 10px -5px rgba(0, 0, 0, .2), 0px 16px 24px 2px rgba(0, 0, 0, .14), 0px 6px 30px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-17: 0px 8px 11px -5px rgba(0, 0, 0, .2), 0px 17px 26px 2px rgba(0, 0, 0, .14), 0px 6px 32px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-18: 0px 9px 11px -5px rgba(0, 0, 0, .2), 0px 18px 28px 2px rgba(0, 0, 0, .14), 0px 7px 34px 6px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-19: 0px 9px 12px -6px rgba(0, 0, 0, .2), 0px 19px 29px 2px rgba(0, 0, 0, .14), 0px 7px 36px 6px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-20: 0px 10px 13px -6px rgba(0, 0, 0, .2), 0px 20px 31px 3px rgba(0, 0, 0, .14), 0px 8px 38px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-21: 0px 10px 13px -6px rgba(0, 0, 0, .2), 0px 21px 33px 3px rgba(0, 0, 0, .14), 0px 8px 40px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-22: 0px 10px 14px -6px rgba(0, 0, 0, .2), 0px 22px 35px 3px rgba(0, 0, 0, .14), 0px 8px 42px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-23: 0px 11px 14px -7px rgba(0, 0, 0, .2), 0px 23px 36px 3px rgba(0, 0, 0, .14), 0px 9px 44px 8px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-24: 0px 11px 15px -7px rgba(0, 0, 0, .2), 0px 24px 38px 3px rgba(0, 0, 0, .14), 0px 9px 46px 8px rgba(0, 0, 0, .12);--mdc-elevated-card-container-shape: 4px;--mdc-outlined-card-container-shape: 4px;--mdc-outlined-card-outline-width: 1px;--mdc-elevated-card-container-color: #424242;--mdc-elevated-card-container-elevation: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-outlined-card-container-color: #424242;--mdc-outlined-card-outline-color: rgba(255, 255, 255, .12);--mdc-outlined-card-container-elevation: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-card-subtitle-text-color: rgba(255, 255, 255, .7);--mdc-linear-progress-active-indicator-height: 4px;--mdc-linear-progress-track-height: 4px;--mdc-linear-progress-track-shape: 0;--mdc-plain-tooltip-container-shape: 4px;--mdc-plain-tooltip-supporting-text-line-height: 16px;--mdc-plain-tooltip-container-color: #616161;--mdc-plain-tooltip-supporting-text-color: #fff;--mdc-filled-text-field-active-indicator-height: 1px;--mdc-filled-text-field-focus-active-indicator-height: 2px;--mdc-filled-text-field-container-shape: 4px;--mdc-outlined-text-field-outline-width: 1px;--mdc-outlined-text-field-focus-outline-width: 2px;--mdc-outlined-text-field-container-shape: 4px;--mdc-filled-text-field-caret-color: #3f51b5;--mdc-filled-text-field-focus-active-indicator-color: #3f51b5;--mdc-filled-text-field-focus-label-text-color: rgba(63, 81, 181, .87);--mdc-filled-text-field-container-color: #4a4a4a;--mdc-filled-text-field-disabled-container-color: #464646;--mdc-filled-text-field-label-text-color: rgba(255, 255, 255, .6);--mdc-filled-text-field-hover-label-text-color: rgba(255, 255, 255, .6);--mdc-filled-text-field-disabled-label-text-color: rgba(255, 255, 255, .38);--mdc-filled-text-field-input-text-color: rgba(255, 255, 255, .87);--mdc-filled-text-field-disabled-input-text-color: rgba(255, 255, 255, .38);--mdc-filled-text-field-input-text-placeholder-color: rgba(255, 255, 255, .6);--mdc-filled-text-field-error-hover-label-text-color: #f44336;--mdc-filled-text-field-error-focus-label-text-color: #f44336;--mdc-filled-text-field-error-label-text-color: #f44336;--mdc-filled-text-field-error-caret-color: #f44336;--mdc-filled-text-field-active-indicator-color: rgba(255, 255, 255, .42);--mdc-filled-text-field-disabled-active-indicator-color: rgba(255, 255, 255, .06);--mdc-filled-text-field-hover-active-indicator-color: rgba(255, 255, 255, .87);--mdc-filled-text-field-error-active-indicator-color: #f44336;--mdc-filled-text-field-error-focus-active-indicator-color: #f44336;--mdc-filled-text-field-error-hover-active-indicator-color: #f44336;--mdc-outlined-text-field-caret-color: #3f51b5;--mdc-outlined-text-field-focus-outline-color: #3f51b5;--mdc-outlined-text-field-focus-label-text-color: rgba(63, 81, 181, .87);--mdc-outlined-text-field-label-text-color: rgba(255, 255, 255, .6);--mdc-outlined-text-field-hover-label-text-color: rgba(255, 255, 255, .6);--mdc-outlined-text-field-disabled-label-text-color: rgba(255, 255, 255, .38);--mdc-outlined-text-field-input-text-color: rgba(255, 255, 255, .87);--mdc-outlined-text-field-disabled-input-text-color: rgba(255, 255, 255, .38);--mdc-outlined-text-field-input-text-placeholder-color: rgba(255, 255, 255, .6);--mdc-outlined-text-field-error-caret-color: #f44336;--mdc-outlined-text-field-error-focus-label-text-color: #f44336;--mdc-outlined-text-field-error-label-text-color: #f44336;--mdc-outlined-text-field-error-hover-label-text-color: #f44336;--mdc-outlined-text-field-outline-color: rgba(255, 255, 255, .38);--mdc-outlined-text-field-disabled-outline-color: rgba(255, 255, 255, .06);--mdc-outlined-text-field-hover-outline-color: rgba(255, 255, 255, .87);--mdc-outlined-text-field-error-focus-outline-color: #f44336;--mdc-outlined-text-field-error-hover-outline-color: #f44336;--mdc-outlined-text-field-error-outline-color: #f44336;--mat-form-field-focus-select-arrow-color: rgba(63, 81, 181, .87);--mat-form-field-disabled-input-text-placeholder-color: rgba(255, 255, 255, .38);--mat-form-field-state-layer-color: rgba(255, 255, 255, .87);--mat-form-field-error-text-color: #f44336;--mat-form-field-select-option-text-color: rgba(0, 0, 0, .87);--mat-form-field-select-disabled-option-text-color: rgba(0, 0, 0, .38);--mat-form-field-leading-icon-color: unset;--mat-form-field-disabled-leading-icon-color: unset;--mat-form-field-trailing-icon-color: unset;--mat-form-field-disabled-trailing-icon-color: unset;--mat-form-field-error-focus-trailing-icon-color: unset;--mat-form-field-error-hover-trailing-icon-color: unset;--mat-form-field-error-trailing-icon-color: unset;--mat-form-field-enabled-select-arrow-color: rgba(255, 255, 255, .54);--mat-form-field-disabled-select-arrow-color: rgba(255, 255, 255, .38);--mat-form-field-hover-state-layer-opacity: .08;--mat-form-field-focus-state-layer-opacity: .24;--mat-select-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-select-panel-background-color: #424242;--mat-select-enabled-trigger-text-color: rgba(255, 255, 255, .87);--mat-select-disabled-trigger-text-color: rgba(255, 255, 255, .38);--mat-select-placeholder-text-color: rgba(255, 255, 255, .6);--mat-select-enabled-arrow-color: rgba(255, 255, 255, .54);--mat-select-disabled-arrow-color: rgba(255, 255, 255, .38);--mat-select-focused-arrow-color: rgba(63, 81, 181, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87);--mat-autocomplete-container-shape: 4px;--mat-autocomplete-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-autocomplete-background-color: #424242;--mdc-dialog-container-shape: 4px;--mat-dialog-container-elevation-shadow: 0px 11px 15px -7px rgba(0, 0, 0, .2), 0px 24px 38px 3px rgba(0, 0, 0, .14), 0px 9px 46px 8px rgba(0, 0, 0, .12);--mat-dialog-container-max-width: 80vw;--mat-dialog-container-small-max-width: 80vw;--mat-dialog-container-min-width: 0;--mat-dialog-actions-alignment: start;--mat-dialog-actions-padding: 8px;--mat-dialog-content-padding: 20px 24px;--mat-dialog-with-actions-content-padding: 20px 24px;--mat-dialog-headline-padding: 0 24px 9px;--mdc-dialog-container-color: #424242;--mdc-dialog-subhead-color: rgba(255, 255, 255, .87);--mdc-dialog-supporting-text-color: rgba(255, 255, 255, .6);--mdc-switch-disabled-selected-icon-opacity: .38;--mdc-switch-disabled-track-opacity: .12;--mdc-switch-disabled-unselected-icon-opacity: .38;--mdc-switch-handle-height: 20px;--mdc-switch-handle-shape: 10px;--mdc-switch-handle-width: 20px;--mdc-switch-selected-icon-size: 18px;--mdc-switch-track-height: 14px;--mdc-switch-track-shape: 7px;--mdc-switch-track-width: 36px;--mdc-switch-unselected-icon-size: 18px;--mdc-switch-selected-focus-state-layer-opacity: .12;--mdc-switch-selected-hover-state-layer-opacity: .04;--mdc-switch-selected-pressed-state-layer-opacity: .1;--mdc-switch-unselected-focus-state-layer-opacity: .12;--mdc-switch-unselected-hover-state-layer-opacity: .04;--mdc-switch-unselected-pressed-state-layer-opacity: .1;--mdc-switch-selected-focus-state-layer-color: #7986cb;--mdc-switch-selected-handle-color: #7986cb;--mdc-switch-selected-hover-state-layer-color: #7986cb;--mdc-switch-selected-pressed-state-layer-color: #7986cb;--mdc-switch-selected-focus-handle-color: #9fa8da;--mdc-switch-selected-hover-handle-color: #9fa8da;--mdc-switch-selected-pressed-handle-color: #9fa8da;--mdc-switch-selected-focus-track-color: #3949ab;--mdc-switch-selected-hover-track-color: #3949ab;--mdc-switch-selected-pressed-track-color: #3949ab;--mdc-switch-selected-track-color: #3949ab;--mdc-switch-disabled-selected-handle-color: #000;--mdc-switch-disabled-selected-icon-color: #212121;--mdc-switch-disabled-selected-track-color: #f5f5f5;--mdc-switch-disabled-unselected-handle-color: #000;--mdc-switch-disabled-unselected-icon-color: #212121;--mdc-switch-disabled-unselected-track-color: #f5f5f5;--mdc-switch-handle-surface-color: #fff;--mdc-switch-selected-icon-color: #212121;--mdc-switch-unselected-focus-handle-color: #fafafa;--mdc-switch-unselected-focus-state-layer-color: #f5f5f5;--mdc-switch-unselected-focus-track-color: #616161;--mdc-switch-unselected-handle-color: #9e9e9e;--mdc-switch-unselected-hover-handle-color: #fafafa;--mdc-switch-unselected-hover-state-layer-color: #f5f5f5;--mdc-switch-unselected-hover-track-color: #616161;--mdc-switch-unselected-icon-color: #212121;--mdc-switch-unselected-pressed-handle-color: #fafafa;--mdc-switch-unselected-pressed-state-layer-color: #f5f5f5;--mdc-switch-unselected-pressed-track-color: #616161;--mdc-switch-unselected-track-color: #616161;--mdc-switch-handle-elevation-shadow: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-switch-disabled-handle-elevation-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mdc-switch-disabled-label-text-color: rgba(255, 255, 255, .5);--mdc-radio-disabled-selected-icon-opacity: .38;--mdc-radio-disabled-unselected-icon-opacity: .38;--mdc-radio-state-layer-size: 40px;--mdc-slider-active-track-height: 6px;--mdc-slider-active-track-shape: 9999px;--mdc-slider-handle-height: 20px;--mdc-slider-handle-shape: 50%;--mdc-slider-handle-width: 20px;--mdc-slider-inactive-track-height: 4px;--mdc-slider-inactive-track-shape: 9999px;--mdc-slider-with-overlap-handle-outline-width: 1px;--mdc-slider-with-tick-marks-active-container-opacity: .6;--mdc-slider-with-tick-marks-container-shape: 50%;--mdc-slider-with-tick-marks-container-size: 2px;--mdc-slider-with-tick-marks-inactive-container-opacity: .6;--mdc-slider-handle-elevation: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mat-slider-value-indicator-width: auto;--mat-slider-value-indicator-height: 32px;--mat-slider-value-indicator-caret-display: block;--mat-slider-value-indicator-border-radius: 4px;--mat-slider-value-indicator-padding: 0 12px;--mat-slider-value-indicator-text-transform: none;--mat-slider-value-indicator-container-transform: translateX(-50%);--mdc-slider-handle-color: #3f51b5;--mdc-slider-focus-handle-color: #3f51b5;--mdc-slider-hover-handle-color: #3f51b5;--mdc-slider-active-track-color: #3f51b5;--mdc-slider-inactive-track-color: #3f51b5;--mdc-slider-with-tick-marks-inactive-container-color: #3f51b5;--mdc-slider-with-tick-marks-active-container-color: white;--mdc-slider-disabled-active-track-color: #fff;--mdc-slider-disabled-handle-color: #fff;--mdc-slider-disabled-inactive-track-color: #fff;--mdc-slider-label-container-color: #fff;--mdc-slider-label-label-text-color: #000;--mdc-slider-with-overlap-handle-outline-color: #fff;--mdc-slider-with-tick-marks-disabled-container-color: #fff;--mat-slider-ripple-color: #3f51b5;--mat-slider-hover-state-layer-color: rgba(63, 81, 181, .05);--mat-slider-focus-state-layer-color: rgba(63, 81, 181, .2);--mat-slider-value-indicator-opacity: .9;--mat-menu-container-shape: 4px;--mat-menu-divider-bottom-spacing: 0;--mat-menu-divider-top-spacing: 0;--mat-menu-item-spacing: 16px;--mat-menu-item-icon-size: 24px;--mat-menu-item-leading-spacing: 16px;--mat-menu-item-trailing-spacing: 16px;--mat-menu-item-with-icon-leading-spacing: 16px;--mat-menu-item-with-icon-trailing-spacing: 16px;--mat-menu-base-elevation-level: 8;--mat-menu-item-label-text-color: white;--mat-menu-item-icon-color: white;--mat-menu-item-hover-state-layer-color: rgba(255, 255, 255, .08);--mat-menu-item-focus-state-layer-color: rgba(255, 255, 255, .08);--mat-menu-container-color: #424242;--mat-menu-divider-color: rgba(255, 255, 255, .12);--mdc-list-list-item-container-shape: 0;--mdc-list-list-item-leading-avatar-shape: 50%;--mdc-list-list-item-container-color: transparent;--mdc-list-list-item-selected-container-color: transparent;--mdc-list-list-item-leading-avatar-color: transparent;--mdc-list-list-item-leading-icon-size: 24px;--mdc-list-list-item-leading-avatar-size: 40px;--mdc-list-list-item-trailing-icon-size: 24px;--mdc-list-list-item-disabled-state-layer-color: transparent;--mdc-list-list-item-disabled-state-layer-opacity: 0;--mdc-list-list-item-disabled-label-text-opacity: .38;--mdc-list-list-item-disabled-leading-icon-opacity: .38;--mdc-list-list-item-disabled-trailing-icon-opacity: .38;--mat-list-active-indicator-color: transparent;--mat-list-active-indicator-shape: 4px;--mdc-list-list-item-label-text-color: white;--mdc-list-list-item-supporting-text-color: rgba(255, 255, 255, .7);--mdc-list-list-item-leading-icon-color: rgba(255, 255, 255, .5);--mdc-list-list-item-trailing-supporting-text-color: rgba(255, 255, 255, .5);--mdc-list-list-item-trailing-icon-color: rgba(255, 255, 255, .5);--mdc-list-list-item-selected-trailing-icon-color: rgba(255, 255, 255, .5);--mdc-list-list-item-disabled-label-text-color: white;--mdc-list-list-item-disabled-leading-icon-color: white;--mdc-list-list-item-disabled-trailing-icon-color: white;--mdc-list-list-item-hover-label-text-color: white;--mdc-list-list-item-hover-leading-icon-color: rgba(255, 255, 255, .5);--mdc-list-list-item-hover-trailing-icon-color: rgba(255, 255, 255, .5);--mdc-list-list-item-focus-label-text-color: white;--mdc-list-list-item-hover-state-layer-color: white;--mdc-list-list-item-hover-state-layer-opacity: .08;--mdc-list-list-item-focus-state-layer-color: white;--mdc-list-list-item-focus-state-layer-opacity: .24;--mat-paginator-container-text-color: rgba(255, 255, 255, .87);--mat-paginator-container-background-color: #424242;--mat-paginator-enabled-icon-color: rgba(255, 255, 255, .54);--mat-paginator-disabled-icon-color: rgba(255, 255, 255, .12);--mdc-secondary-navigation-tab-container-height: 48px;--mdc-tab-indicator-active-indicator-height: 2px;--mdc-tab-indicator-active-indicator-shape: 0;--mat-tab-header-divider-color: transparent;--mat-tab-header-divider-height: 0;--mdc-checkbox-disabled-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-state-layer-opacity: .16;--mdc-checkbox-selected-hover-state-layer-opacity: .04;--mdc-checkbox-selected-pressed-state-layer-opacity: .16;--mdc-checkbox-unselected-focus-state-layer-opacity: .16;--mdc-checkbox-unselected-hover-state-layer-opacity: .04;--mdc-checkbox-unselected-pressed-state-layer-opacity: .16;--mdc-checkbox-disabled-selected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #ff4081;--mdc-checkbox-selected-hover-icon-color: #ff4081;--mdc-checkbox-selected-icon-color: #ff4081;--mdc-checkbox-selected-pressed-icon-color: #ff4081;--mdc-checkbox-unselected-focus-icon-color: #eeeeee;--mdc-checkbox-unselected-hover-icon-color: #eeeeee;--mdc-checkbox-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-checkbox-selected-focus-state-layer-color: #ff4081;--mdc-checkbox-selected-hover-state-layer-color: #ff4081;--mdc-checkbox-selected-pressed-state-layer-color: #ff4081;--mdc-checkbox-unselected-focus-state-layer-color: white;--mdc-checkbox-unselected-hover-state-layer-color: white;--mdc-checkbox-unselected-pressed-state-layer-color: white;--mat-checkbox-disabled-label-color: rgba(255, 255, 255, .5);--mat-checkbox-label-text-color: white;--mdc-text-button-container-shape: 4px;--mdc-text-button-keep-touch-target: false;--mdc-filled-button-container-shape: 4px;--mdc-filled-button-keep-touch-target: false;--mdc-protected-button-container-shape: 4px;--mdc-protected-button-container-elevation-shadow: 0px 3px 1px -2px rgba(0, 0, 0, .2), 0px 2px 2px 0px rgba(0, 0, 0, .14), 0px 1px 5px 0px rgba(0, 0, 0, .12);--mdc-protected-button-disabled-container-elevation-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mdc-protected-button-focus-container-elevation-shadow: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mdc-protected-button-hover-container-elevation-shadow: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mdc-protected-button-pressed-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-outlined-button-keep-touch-target: false;--mdc-outlined-button-outline-width: 1px;--mdc-outlined-button-container-shape: 4px;--mat-text-button-horizontal-padding: 8px;--mat-text-button-with-icon-horizontal-padding: 8px;--mat-text-button-icon-spacing: 8px;--mat-text-button-icon-offset: 0;--mat-filled-button-horizontal-padding: 16px;--mat-filled-button-icon-spacing: 8px;--mat-filled-button-icon-offset: -4px;--mat-protected-button-horizontal-padding: 16px;--mat-protected-button-icon-spacing: 8px;--mat-protected-button-icon-offset: -4px;--mat-outlined-button-horizontal-padding: 15px;--mat-outlined-button-icon-spacing: 8px;--mat-outlined-button-icon-offset: -4px;--mdc-text-button-label-text-color: white;--mdc-text-button-disabled-label-text-color: rgba(255, 255, 255, .5);--mat-text-button-state-layer-color: white;--mat-text-button-disabled-state-layer-color: white;--mat-text-button-ripple-color: rgba(255, 255, 255, .1);--mat-text-button-hover-state-layer-opacity: .08;--mat-text-button-focus-state-layer-opacity: .24;--mat-text-button-pressed-state-layer-opacity: .24;--mdc-filled-button-container-color: #424242;--mdc-filled-button-label-text-color: white;--mdc-filled-button-disabled-container-color: rgba(255, 255, 255, .12);--mdc-filled-button-disabled-label-text-color: rgba(255, 255, 255, .5);--mat-filled-button-state-layer-color: white;--mat-filled-button-disabled-state-layer-color: white;--mat-filled-button-ripple-color: rgba(255, 255, 255, .1);--mat-filled-button-hover-state-layer-opacity: .08;--mat-filled-button-focus-state-layer-opacity: .24;--mat-filled-button-pressed-state-layer-opacity: .24;--mdc-protected-button-container-color: #424242;--mdc-protected-button-label-text-color: white;--mdc-protected-button-disabled-container-color: rgba(255, 255, 255, .12);--mdc-protected-button-disabled-label-text-color: rgba(255, 255, 255, .5);--mat-protected-button-state-layer-color: white;--mat-protected-button-disabled-state-layer-color: white;--mat-protected-button-ripple-color: rgba(255, 255, 255, .1);--mat-protected-button-hover-state-layer-opacity: .08;--mat-protected-button-focus-state-layer-opacity: .24;--mat-protected-button-pressed-state-layer-opacity: .24;--mdc-outlined-button-disabled-outline-color: rgba(255, 255, 255, .12);--mdc-outlined-button-disabled-label-text-color: rgba(255, 255, 255, .5);--mdc-outlined-button-label-text-color: white;--mdc-outlined-button-outline-color: rgba(255, 255, 255, .12);--mat-outlined-button-state-layer-color: white;--mat-outlined-button-disabled-state-layer-color: white;--mat-outlined-button-ripple-color: rgba(255, 255, 255, .1);--mat-outlined-button-hover-state-layer-opacity: .08;--mat-outlined-button-focus-state-layer-opacity: .24;--mat-outlined-button-pressed-state-layer-opacity: .24;--mdc-icon-button-icon-size: 24px;--mdc-icon-button-icon-color: inherit;--mdc-icon-button-disabled-icon-color: rgba(255, 255, 255, .5);--mat-icon-button-state-layer-color: white;--mat-icon-button-disabled-state-layer-color: white;--mat-icon-button-ripple-color: rgba(255, 255, 255, .1);--mat-icon-button-hover-state-layer-opacity: .08;--mat-icon-button-focus-state-layer-opacity: .24;--mat-icon-button-pressed-state-layer-opacity: .24;--mdc-fab-container-shape: 50%;--mdc-fab-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-focus-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-pressed-container-elevation-shadow: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mdc-fab-small-container-shape: 50%;--mdc-fab-small-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-small-focus-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-small-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-small-pressed-container-elevation-shadow: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mdc-extended-fab-container-height: 48px;--mdc-extended-fab-container-shape: 24px;--mdc-extended-fab-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-extended-fab-focus-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-extended-fab-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-extended-fab-pressed-container-elevation-shadow: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mdc-fab-container-color: #424242;--mat-fab-foreground-color: white;--mat-fab-state-layer-color: white;--mat-fab-disabled-state-layer-color: white;--mat-fab-ripple-color: rgba(255, 255, 255, .1);--mat-fab-hover-state-layer-opacity: .08;--mat-fab-focus-state-layer-opacity: .24;--mat-fab-pressed-state-layer-opacity: .24;--mat-fab-disabled-state-container-color: rgba(255, 255, 255, .12);--mat-fab-disabled-state-foreground-color: rgba(255, 255, 255, .5);--mdc-fab-small-container-color: #424242;--mat-fab-small-foreground-color: white;--mat-fab-small-state-layer-color: white;--mat-fab-small-disabled-state-layer-color: white;--mat-fab-small-ripple-color: rgba(255, 255, 255, .1);--mat-fab-small-hover-state-layer-opacity: .08;--mat-fab-small-focus-state-layer-opacity: .24;--mat-fab-small-pressed-state-layer-opacity: .24;--mat-fab-small-disabled-state-container-color: rgba(255, 255, 255, .12);--mat-fab-small-disabled-state-foreground-color: rgba(255, 255, 255, .5);--mdc-snackbar-container-shape: 4px;--mdc-snackbar-container-color: #d9d9d9;--mdc-snackbar-supporting-text-color: rgba(66, 66, 66, .87);--mat-snack-bar-button-color: rgba(0, 0, 0, .87);--mat-table-row-item-outline-width: 1px;--mat-table-background-color: #424242;--mat-table-header-headline-color: white;--mat-table-row-item-label-text-color: white;--mat-table-row-item-outline-color: rgba(255, 255, 255, .12);--mdc-circular-progress-active-indicator-width: 4px;--mdc-circular-progress-size: 48px;--mdc-circular-progress-active-indicator-color: #3f51b5;--mat-badge-container-shape: 50%;--mat-badge-container-size: unset;--mat-badge-small-size-container-size: unset;--mat-badge-large-size-container-size: unset;--mat-badge-legacy-container-size: 22px;--mat-badge-legacy-small-size-container-size: 16px;--mat-badge-legacy-large-size-container-size: 28px;--mat-badge-container-offset: -11px 0;--mat-badge-small-size-container-offset: -8px 0;--mat-badge-large-size-container-offset: -14px 0;--mat-badge-container-overlap-offset: -11px;--mat-badge-small-size-container-overlap-offset: -8px;--mat-badge-large-size-container-overlap-offset: -14px;--mat-badge-container-padding: 0;--mat-badge-small-size-container-padding: 0;--mat-badge-large-size-container-padding: 0;--mat-badge-background-color: #3f51b5;--mat-badge-text-color: white;--mat-badge-disabled-state-background-color: #6e6e6e;--mat-badge-disabled-state-text-color: rgba(255, 255, 255, .5);--mat-bottom-sheet-container-shape: 4px;--mat-bottom-sheet-container-text-color: white;--mat-bottom-sheet-container-background-color: #424242;--mat-legacy-button-toggle-height: 36px;--mat-legacy-button-toggle-shape: 2px;--mat-legacy-button-toggle-focus-state-layer-opacity: 1;--mat-standard-button-toggle-shape: 4px;--mat-standard-button-toggle-hover-state-layer-opacity: .04;--mat-standard-button-toggle-focus-state-layer-opacity: .12;--mat-legacy-button-toggle-text-color: rgba(255, 255, 255, .5);--mat-legacy-button-toggle-state-layer-color: rgba(255, 255, 255, .12);--mat-legacy-button-toggle-selected-state-text-color: rgba(255, 255, 255, .7);--mat-legacy-button-toggle-selected-state-background-color: #212121;--mat-legacy-button-toggle-disabled-state-text-color: rgba(255, 255, 255, .3);--mat-legacy-button-toggle-disabled-state-background-color: black;--mat-legacy-button-toggle-disabled-selected-state-background-color: #424242;--mat-standard-button-toggle-text-color: white;--mat-standard-button-toggle-background-color: #424242;--mat-standard-button-toggle-state-layer-color: white;--mat-standard-button-toggle-selected-state-background-color: #212121;--mat-standard-button-toggle-selected-state-text-color: white;--mat-standard-button-toggle-disabled-state-text-color: rgba(255, 255, 255, .3);--mat-standard-button-toggle-disabled-state-background-color: #424242;--mat-standard-button-toggle-disabled-selected-state-text-color: white;--mat-standard-button-toggle-disabled-selected-state-background-color: #424242;--mat-standard-button-toggle-divider-color: #595959;--mat-datepicker-calendar-container-shape: 4px;--mat-datepicker-calendar-container-touch-shape: 4px;--mat-datepicker-calendar-container-elevation-shadow: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mat-datepicker-calendar-container-touch-elevation-shadow: 0px 11px 15px -7px rgba(0, 0, 0, .2), 0px 24px 38px 3px rgba(0, 0, 0, .14), 0px 9px 46px 8px rgba(0, 0, 0, .12);--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #3f51b5;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(63, 81, 181, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: rgba(63, 81, 181, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(63, 81, 181, .3);--mat-datepicker-toggle-active-state-icon-color: #3f51b5;--mat-datepicker-calendar-date-in-range-state-background-color: rgba(63, 81, 181, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: #46a35e;--mat-datepicker-toggle-icon-color: white;--mat-datepicker-calendar-body-label-text-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-period-button-text-color: white;--mat-datepicker-calendar-period-button-icon-color: white;--mat-datepicker-calendar-navigation-button-icon-color: white;--mat-datepicker-calendar-header-divider-color: rgba(255, 255, 255, .12);--mat-datepicker-calendar-header-text-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-date-today-outline-color: rgba(255, 255, 255, .5);--mat-datepicker-calendar-date-today-disabled-state-outline-color: rgba(255, 255, 255, .3);--mat-datepicker-calendar-date-text-color: white;--mat-datepicker-calendar-date-outline-color: transparent;--mat-datepicker-calendar-date-disabled-state-text-color: rgba(255, 255, 255, .5);--mat-datepicker-calendar-date-preview-state-outline-color: rgba(255, 255, 255, .24);--mat-datepicker-range-input-separator-color: white;--mat-datepicker-range-input-disabled-state-separator-color: rgba(255, 255, 255, .5);--mat-datepicker-range-input-disabled-state-text-color: rgba(255, 255, 255, .5);--mat-datepicker-calendar-container-background-color: #424242;--mat-datepicker-calendar-container-text-color: white;--mat-divider-width: 1px;--mat-divider-color: rgba(255, 255, 255, .12);--mat-expansion-container-shape: 4px;--mat-expansion-legacy-header-indicator-display: inline-block;--mat-expansion-header-indicator-display: none;--mat-expansion-container-background-color: #424242;--mat-expansion-container-text-color: white;--mat-expansion-actions-divider-color: rgba(255, 255, 255, .12);--mat-expansion-header-hover-state-layer-color: rgba(255, 255, 255, .04);--mat-expansion-header-focus-state-layer-color: rgba(255, 255, 255, .04);--mat-expansion-header-disabled-state-text-color: rgba(255, 255, 255, .3);--mat-expansion-header-text-color: white;--mat-expansion-header-description-color: rgba(255, 255, 255, .7);--mat-expansion-header-indicator-color: rgba(255, 255, 255, .7);--mat-icon-color: inherit;--mat-sidenav-container-shape: 0;--mat-sidenav-container-elevation-shadow: 0px 8px 10px -5px rgba(0, 0, 0, .2), 0px 16px 24px 2px rgba(0, 0, 0, .14), 0px 6px 30px 5px rgba(0, 0, 0, .12);--mat-sidenav-container-width: auto;--mat-sidenav-container-divider-color: rgba(255, 255, 255, .12);--mat-sidenav-container-background-color: #424242;--mat-sidenav-container-text-color: white;--mat-sidenav-content-background-color: #303030;--mat-sidenav-content-text-color: white;--mat-sidenav-scrim-color: rgba(189, 189, 189, .6);--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #3f51b5;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #3f51b5;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #3f51b5;--mat-stepper-header-edit-state-icon-foreground-color: white;--mat-stepper-container-color: #424242;--mat-stepper-line-color: rgba(255, 255, 255, .12);--mat-stepper-header-hover-state-layer-color: rgba(255, 255, 255, .04);--mat-stepper-header-focus-state-layer-color: rgba(255, 255, 255, .04);--mat-stepper-header-label-text-color: rgba(255, 255, 255, .7);--mat-stepper-header-optional-label-text-color: rgba(255, 255, 255, .7);--mat-stepper-header-selected-state-label-text-color: white;--mat-stepper-header-error-state-label-text-color: #f44336;--mat-stepper-header-icon-background-color: rgba(255, 255, 255, .7);--mat-stepper-header-error-state-icon-foreground-color: #f44336;--mat-stepper-header-error-state-icon-background-color: transparent;--mat-sort-arrow-color: #c6c6c6;--mat-toolbar-container-background-color: #212121;--mat-toolbar-container-text-color: white;--mat-tree-container-background-color: #424242;--mat-tree-node-text-color: white}.dark-theme .mat-accent{--mat-option-selected-state-label-text-color: #ff4081;--mat-option-label-text-color: white;--mat-option-hover-state-layer-color: rgba(255, 255, 255, .08);--mat-option-focus-state-layer-color: rgba(255, 255, 255, .08);--mat-option-selected-state-layer-color: rgba(255, 255, 255, .08)}.dark-theme .mat-warn{--mat-option-selected-state-label-text-color: #f44336;--mat-option-label-text-color: white;--mat-option-hover-state-layer-color: rgba(255, 255, 255, .08);--mat-option-focus-state-layer-color: rgba(255, 255, 255, .08);--mat-option-selected-state-layer-color: rgba(255, 255, 255, .08)}.dark-theme .mat-primary{--mat-full-pseudo-checkbox-selected-icon-color: #3f51b5;--mat-full-pseudo-checkbox-selected-checkmark-color: #303030;--mat-full-pseudo-checkbox-unselected-icon-color: rgba(255, 255, 255, .7);--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #303030;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: #686868;--mat-full-pseudo-checkbox-disabled-selected-icon-color: #686868;--mat-minimal-pseudo-checkbox-selected-checkmark-color: #3f51b5;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: #686868}.dark-theme .mat-accent{--mat-full-pseudo-checkbox-selected-icon-color: #ff4081;--mat-full-pseudo-checkbox-selected-checkmark-color: #303030;--mat-full-pseudo-checkbox-unselected-icon-color: rgba(255, 255, 255, .7);--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #303030;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: #686868;--mat-full-pseudo-checkbox-disabled-selected-icon-color: #686868;--mat-minimal-pseudo-checkbox-selected-checkmark-color: #ff4081;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: #686868}.dark-theme .mat-warn{--mat-full-pseudo-checkbox-selected-icon-color: #f44336;--mat-full-pseudo-checkbox-selected-checkmark-color: #303030;--mat-full-pseudo-checkbox-unselected-icon-color: rgba(255, 255, 255, .7);--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #303030;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: #686868;--mat-full-pseudo-checkbox-disabled-selected-icon-color: #686868;--mat-minimal-pseudo-checkbox-selected-checkmark-color: #f44336;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: #686868}.dark-theme .mat-mdc-progress-bar{--mdc-linear-progress-active-indicator-color: #3f51b5;--mdc-linear-progress-track-color: rgba(63, 81, 181, .25)}.dark-theme .mat-mdc-progress-bar.mat-accent{--mdc-linear-progress-active-indicator-color: #ff4081;--mdc-linear-progress-track-color: rgba(255, 64, 129, .25)}.dark-theme .mat-mdc-progress-bar.mat-warn{--mdc-linear-progress-active-indicator-color: #f44336;--mdc-linear-progress-track-color: rgba(244, 67, 54, .25)}.dark-theme .mat-mdc-form-field.mat-accent{--mdc-filled-text-field-caret-color: #ff4081;--mdc-filled-text-field-focus-active-indicator-color: #ff4081;--mdc-filled-text-field-focus-label-text-color: rgba(255, 64, 129, .87);--mdc-outlined-text-field-caret-color: #ff4081;--mdc-outlined-text-field-focus-outline-color: #ff4081;--mdc-outlined-text-field-focus-label-text-color: rgba(255, 64, 129, .87);--mat-form-field-focus-select-arrow-color: rgba(255, 64, 129, .87)}.dark-theme .mat-mdc-form-field.mat-warn{--mdc-filled-text-field-caret-color: #f44336;--mdc-filled-text-field-focus-active-indicator-color: #f44336;--mdc-filled-text-field-focus-label-text-color: rgba(244, 67, 54, .87);--mdc-outlined-text-field-caret-color: #f44336;--mdc-outlined-text-field-focus-outline-color: #f44336;--mdc-outlined-text-field-focus-label-text-color: rgba(244, 67, 54, .87);--mat-form-field-focus-select-arrow-color: rgba(244, 67, 54, .87)}.dark-theme .mat-mdc-form-field.mat-accent{--mat-select-panel-background-color: #424242;--mat-select-enabled-trigger-text-color: rgba(255, 255, 255, .87);--mat-select-disabled-trigger-text-color: rgba(255, 255, 255, .38);--mat-select-placeholder-text-color: rgba(255, 255, 255, .6);--mat-select-enabled-arrow-color: rgba(255, 255, 255, .54);--mat-select-disabled-arrow-color: rgba(255, 255, 255, .38);--mat-select-focused-arrow-color: rgba(255, 64, 129, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87)}.dark-theme .mat-mdc-form-field.mat-warn{--mat-select-panel-background-color: #424242;--mat-select-enabled-trigger-text-color: rgba(255, 255, 255, .87);--mat-select-disabled-trigger-text-color: rgba(255, 255, 255, .38);--mat-select-placeholder-text-color: rgba(255, 255, 255, .6);--mat-select-enabled-arrow-color: rgba(255, 255, 255, .54);--mat-select-disabled-arrow-color: rgba(255, 255, 255, .38);--mat-select-focused-arrow-color: rgba(244, 67, 54, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87)}.dark-theme .mat-mdc-standard-chip{--mdc-chip-container-shape-radius: 16px;--mdc-chip-with-avatar-avatar-shape-radius: 14px;--mdc-chip-with-avatar-avatar-size: 28px;--mdc-chip-with-icon-icon-size: 18px;--mdc-chip-outline-width: 0;--mdc-chip-outline-color: transparent;--mdc-chip-disabled-outline-color: transparent;--mdc-chip-focus-outline-color: transparent;--mdc-chip-hover-state-layer-opacity: .04;--mdc-chip-with-avatar-disabled-avatar-opacity: 1;--mdc-chip-flat-selected-outline-width: 0;--mdc-chip-selected-hover-state-layer-opacity: .04;--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity: 1;--mdc-chip-with-icon-disabled-icon-opacity: 1;--mat-chip-disabled-container-opacity: .4;--mat-chip-trailing-action-opacity: .54;--mat-chip-trailing-action-focus-opacity: 1;--mat-chip-trailing-action-state-layer-color: transparent;--mat-chip-selected-trailing-action-state-layer-color: transparent;--mat-chip-trailing-action-hover-state-layer-opacity: 0;--mat-chip-trailing-action-focus-state-layer-opacity: 0}.dark-theme .mat-mdc-standard-chip{--mdc-chip-disabled-label-text-color: #fafafa;--mdc-chip-elevated-container-color: #595959;--mdc-chip-elevated-selected-container-color: #595959;--mdc-chip-elevated-disabled-container-color: #595959;--mdc-chip-flat-disabled-selected-container-color: #595959;--mdc-chip-focus-state-layer-color: white;--mdc-chip-hover-state-layer-color: white;--mdc-chip-selected-hover-state-layer-color: white;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-selected-focus-state-layer-color: white;--mdc-chip-selected-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: #fafafa;--mdc-chip-selected-label-text-color: #fafafa;--mdc-chip-with-icon-icon-color: #fafafa;--mdc-chip-with-icon-disabled-icon-color: #fafafa;--mdc-chip-with-icon-selected-icon-color: #fafafa;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: #fafafa;--mdc-chip-with-trailing-icon-trailing-icon-color: #fafafa;--mat-chip-selected-disabled-trailing-icon-color: #fafafa;--mat-chip-selected-trailing-icon-color: #fafafa}.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-selected.mat-primary,.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-primary{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #3f51b5;--mdc-chip-elevated-selected-container-color: #3f51b5;--mdc-chip-elevated-disabled-container-color: #3f51b5;--mdc-chip-flat-disabled-selected-container-color: #3f51b5;--mdc-chip-focus-state-layer-color: white;--mdc-chip-hover-state-layer-color: white;--mdc-chip-selected-hover-state-layer-color: white;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-selected-focus-state-layer-color: white;--mdc-chip-selected-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: white;--mdc-chip-selected-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white;--mat-chip-selected-disabled-trailing-icon-color: white;--mat-chip-selected-trailing-icon-color: white}.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-selected.mat-accent,.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-accent{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #ff4081;--mdc-chip-elevated-selected-container-color: #ff4081;--mdc-chip-elevated-disabled-container-color: #ff4081;--mdc-chip-flat-disabled-selected-container-color: #ff4081;--mdc-chip-focus-state-layer-color: white;--mdc-chip-hover-state-layer-color: white;--mdc-chip-selected-hover-state-layer-color: white;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-selected-focus-state-layer-color: white;--mdc-chip-selected-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: white;--mdc-chip-selected-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white;--mat-chip-selected-disabled-trailing-icon-color: white;--mat-chip-selected-trailing-icon-color: white}.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-selected.mat-warn,.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-warn{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #f44336;--mdc-chip-elevated-selected-container-color: #f44336;--mdc-chip-elevated-disabled-container-color: #f44336;--mdc-chip-flat-disabled-selected-container-color: #f44336;--mdc-chip-focus-state-layer-color: white;--mdc-chip-hover-state-layer-color: white;--mdc-chip-selected-hover-state-layer-color: white;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-selected-focus-state-layer-color: white;--mdc-chip-selected-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: white;--mdc-chip-selected-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white;--mat-chip-selected-disabled-trailing-icon-color: white;--mat-chip-selected-trailing-icon-color: white}.dark-theme .mat-mdc-slide-toggle{--mat-switch-disabled-selected-handle-opacity: .38;--mat-switch-disabled-unselected-handle-opacity: .38;--mat-switch-unselected-handle-size: 20px;--mat-switch-selected-handle-size: 20px;--mat-switch-pressed-handle-size: 20px;--mat-switch-with-icon-handle-size: 20px;--mat-switch-selected-handle-horizontal-margin: 0;--mat-switch-selected-with-icon-handle-horizontal-margin: 0;--mat-switch-selected-pressed-handle-horizontal-margin: 0;--mat-switch-unselected-handle-horizontal-margin: 0;--mat-switch-unselected-with-icon-handle-horizontal-margin: 0;--mat-switch-unselected-pressed-handle-horizontal-margin: 0;--mat-switch-visible-track-opacity: 1;--mat-switch-hidden-track-opacity: 1;--mat-switch-visible-track-transition: transform 75ms 0ms cubic-bezier(0, 0, .2, 1);--mat-switch-hidden-track-transition: transform 75ms 0ms cubic-bezier(.4, 0, .6, 1);--mat-switch-track-outline-width: 1px;--mat-switch-track-outline-color: transparent;--mat-switch-selected-track-outline-width: 1px;--mat-switch-selected-track-outline-color: transparent;--mat-switch-disabled-unselected-track-outline-width: 1px;--mat-switch-disabled-unselected-track-outline-color: transparent}.dark-theme .mat-mdc-slide-toggle{--mat-switch-label-text-color: white}.dark-theme .mat-mdc-slide-toggle.mat-accent{--mdc-switch-selected-focus-state-layer-color: #f06292;--mdc-switch-selected-handle-color: #f06292;--mdc-switch-selected-hover-state-layer-color: #f06292;--mdc-switch-selected-pressed-state-layer-color: #f06292;--mdc-switch-selected-focus-handle-color: #f48fb1;--mdc-switch-selected-hover-handle-color: #f48fb1;--mdc-switch-selected-pressed-handle-color: #f48fb1;--mdc-switch-selected-focus-track-color: #d81b60;--mdc-switch-selected-hover-track-color: #d81b60;--mdc-switch-selected-pressed-track-color: #d81b60;--mdc-switch-selected-track-color: #d81b60}.dark-theme .mat-mdc-slide-toggle.mat-warn{--mdc-switch-selected-focus-state-layer-color: #e57373;--mdc-switch-selected-handle-color: #e57373;--mdc-switch-selected-hover-state-layer-color: #e57373;--mdc-switch-selected-pressed-state-layer-color: #e57373;--mdc-switch-selected-focus-handle-color: #ef9a9a;--mdc-switch-selected-hover-handle-color: #ef9a9a;--mdc-switch-selected-pressed-handle-color: #ef9a9a;--mdc-switch-selected-focus-track-color: #e53935;--mdc-switch-selected-hover-track-color: #e53935;--mdc-switch-selected-pressed-track-color: #e53935;--mdc-switch-selected-track-color: #e53935}.dark-theme .mat-mdc-radio-button.mat-primary{--mdc-radio-disabled-selected-icon-color: white;--mdc-radio-disabled-unselected-icon-color: white;--mdc-radio-unselected-hover-icon-color: #eeeeee;--mdc-radio-unselected-focus-icon-color: #eeeeee;--mdc-radio-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-radio-unselected-pressed-icon-color: rgba(255, 255, 255, .54);--mdc-radio-selected-focus-icon-color: #3f51b5;--mdc-radio-selected-hover-icon-color: #3f51b5;--mdc-radio-selected-icon-color: #3f51b5;--mdc-radio-selected-pressed-icon-color: #3f51b5;--mat-radio-ripple-color: white;--mat-radio-checked-ripple-color: #3f51b5;--mat-radio-disabled-label-color: rgba(255, 255, 255, .5);--mat-radio-label-text-color: white}.dark-theme .mat-mdc-radio-button.mat-accent{--mdc-radio-disabled-selected-icon-color: white;--mdc-radio-disabled-unselected-icon-color: white;--mdc-radio-unselected-hover-icon-color: #eeeeee;--mdc-radio-unselected-focus-icon-color: #eeeeee;--mdc-radio-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-radio-unselected-pressed-icon-color: rgba(255, 255, 255, .54);--mdc-radio-selected-focus-icon-color: #ff4081;--mdc-radio-selected-hover-icon-color: #ff4081;--mdc-radio-selected-icon-color: #ff4081;--mdc-radio-selected-pressed-icon-color: #ff4081;--mat-radio-ripple-color: white;--mat-radio-checked-ripple-color: #ff4081;--mat-radio-disabled-label-color: rgba(255, 255, 255, .5);--mat-radio-label-text-color: white}.dark-theme .mat-mdc-radio-button.mat-warn{--mdc-radio-disabled-selected-icon-color: white;--mdc-radio-disabled-unselected-icon-color: white;--mdc-radio-unselected-hover-icon-color: #eeeeee;--mdc-radio-unselected-focus-icon-color: #eeeeee;--mdc-radio-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-radio-unselected-pressed-icon-color: rgba(255, 255, 255, .54);--mdc-radio-selected-focus-icon-color: #f44336;--mdc-radio-selected-hover-icon-color: #f44336;--mdc-radio-selected-icon-color: #f44336;--mdc-radio-selected-pressed-icon-color: #f44336;--mat-radio-ripple-color: white;--mat-radio-checked-ripple-color: #f44336;--mat-radio-disabled-label-color: rgba(255, 255, 255, .5);--mat-radio-label-text-color: white}.dark-theme .mat-accent{--mdc-slider-handle-color: #ff4081;--mdc-slider-focus-handle-color: #ff4081;--mdc-slider-hover-handle-color: #ff4081;--mdc-slider-active-track-color: #ff4081;--mdc-slider-inactive-track-color: #ff4081;--mdc-slider-with-tick-marks-inactive-container-color: #ff4081;--mdc-slider-with-tick-marks-active-container-color: white;--mat-slider-ripple-color: #ff4081;--mat-slider-hover-state-layer-color: rgba(255, 64, 129, .05);--mat-slider-focus-state-layer-color: rgba(255, 64, 129, .2)}.dark-theme .mat-warn{--mdc-slider-handle-color: #f44336;--mdc-slider-focus-handle-color: #f44336;--mdc-slider-hover-handle-color: #f44336;--mdc-slider-active-track-color: #f44336;--mdc-slider-inactive-track-color: #f44336;--mdc-slider-with-tick-marks-inactive-container-color: #f44336;--mdc-slider-with-tick-marks-active-container-color: white;--mat-slider-ripple-color: #f44336;--mat-slider-hover-state-layer-color: rgba(244, 67, 54, .05);--mat-slider-focus-state-layer-color: rgba(244, 67, 54, .2)}.dark-theme .mdc-list-item__start,.dark-theme .mdc-list-item__end{--mdc-radio-disabled-selected-icon-color: white;--mdc-radio-disabled-unselected-icon-color: white;--mdc-radio-unselected-hover-icon-color: #eeeeee;--mdc-radio-unselected-focus-icon-color: #eeeeee;--mdc-radio-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-radio-unselected-pressed-icon-color: rgba(255, 255, 255, .54);--mdc-radio-selected-focus-icon-color: #3f51b5;--mdc-radio-selected-hover-icon-color: #3f51b5;--mdc-radio-selected-icon-color: #3f51b5;--mdc-radio-selected-pressed-icon-color: #3f51b5}.dark-theme .mat-accent .mdc-list-item__start,.dark-theme .mat-accent .mdc-list-item__end{--mdc-radio-disabled-selected-icon-color: white;--mdc-radio-disabled-unselected-icon-color: white;--mdc-radio-unselected-hover-icon-color: #eeeeee;--mdc-radio-unselected-focus-icon-color: #eeeeee;--mdc-radio-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-radio-unselected-pressed-icon-color: rgba(255, 255, 255, .54);--mdc-radio-selected-focus-icon-color: #ff4081;--mdc-radio-selected-hover-icon-color: #ff4081;--mdc-radio-selected-icon-color: #ff4081;--mdc-radio-selected-pressed-icon-color: #ff4081}.dark-theme .mat-warn .mdc-list-item__start,.dark-theme .mat-warn .mdc-list-item__end{--mdc-radio-disabled-selected-icon-color: white;--mdc-radio-disabled-unselected-icon-color: white;--mdc-radio-unselected-hover-icon-color: #eeeeee;--mdc-radio-unselected-focus-icon-color: #eeeeee;--mdc-radio-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-radio-unselected-pressed-icon-color: rgba(255, 255, 255, .54);--mdc-radio-selected-focus-icon-color: #f44336;--mdc-radio-selected-hover-icon-color: #f44336;--mdc-radio-selected-icon-color: #f44336;--mdc-radio-selected-pressed-icon-color: #f44336}.dark-theme .mat-mdc-list-option{--mdc-checkbox-disabled-selected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #3f51b5;--mdc-checkbox-selected-hover-icon-color: #3f51b5;--mdc-checkbox-selected-icon-color: #3f51b5;--mdc-checkbox-selected-pressed-icon-color: #3f51b5;--mdc-checkbox-unselected-focus-icon-color: #eeeeee;--mdc-checkbox-unselected-hover-icon-color: #eeeeee;--mdc-checkbox-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-checkbox-selected-focus-state-layer-color: #3f51b5;--mdc-checkbox-selected-hover-state-layer-color: #3f51b5;--mdc-checkbox-selected-pressed-state-layer-color: #3f51b5;--mdc-checkbox-unselected-focus-state-layer-color: white;--mdc-checkbox-unselected-hover-state-layer-color: white;--mdc-checkbox-unselected-pressed-state-layer-color: white}.dark-theme .mat-mdc-list-option.mat-accent{--mdc-checkbox-disabled-selected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #ff4081;--mdc-checkbox-selected-hover-icon-color: #ff4081;--mdc-checkbox-selected-icon-color: #ff4081;--mdc-checkbox-selected-pressed-icon-color: #ff4081;--mdc-checkbox-unselected-focus-icon-color: #eeeeee;--mdc-checkbox-unselected-hover-icon-color: #eeeeee;--mdc-checkbox-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-checkbox-selected-focus-state-layer-color: #ff4081;--mdc-checkbox-selected-hover-state-layer-color: #ff4081;--mdc-checkbox-selected-pressed-state-layer-color: #ff4081;--mdc-checkbox-unselected-focus-state-layer-color: white;--mdc-checkbox-unselected-hover-state-layer-color: white;--mdc-checkbox-unselected-pressed-state-layer-color: white}.dark-theme .mat-mdc-list-option.mat-warn{--mdc-checkbox-disabled-selected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #f44336;--mdc-checkbox-selected-hover-icon-color: #f44336;--mdc-checkbox-selected-icon-color: #f44336;--mdc-checkbox-selected-pressed-icon-color: #f44336;--mdc-checkbox-unselected-focus-icon-color: #eeeeee;--mdc-checkbox-unselected-hover-icon-color: #eeeeee;--mdc-checkbox-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-checkbox-selected-focus-state-layer-color: #f44336;--mdc-checkbox-selected-hover-state-layer-color: #f44336;--mdc-checkbox-selected-pressed-state-layer-color: #f44336;--mdc-checkbox-unselected-focus-state-layer-color: white;--mdc-checkbox-unselected-hover-state-layer-color: white;--mdc-checkbox-unselected-pressed-state-layer-color: white}.dark-theme .mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--selected .mdc-list-item__primary-text,.dark-theme .mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--selected .mdc-list-item__start,.dark-theme .mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--activated .mdc-list-item__primary-text,.dark-theme .mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--activated .mdc-list-item__start{color:#3f51b5}.dark-theme .mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__start,.dark-theme .mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__content,.dark-theme .mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__end{opacity:1}.dark-theme .mat-mdc-tab-group,.dark-theme .mat-mdc-tab-nav-bar{--mdc-tab-indicator-active-indicator-color: #3f51b5;--mat-tab-header-disabled-ripple-color: rgba(255, 255, 255, .5);--mat-tab-header-pagination-icon-color: white;--mat-tab-header-inactive-label-text-color: rgba(255, 255, 255, .6);--mat-tab-header-active-label-text-color: #3f51b5;--mat-tab-header-active-ripple-color: #3f51b5;--mat-tab-header-inactive-ripple-color: #3f51b5;--mat-tab-header-inactive-focus-label-text-color: rgba(255, 255, 255, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(255, 255, 255, .6);--mat-tab-header-active-focus-label-text-color: #3f51b5;--mat-tab-header-active-hover-label-text-color: #3f51b5;--mat-tab-header-active-focus-indicator-color: #3f51b5;--mat-tab-header-active-hover-indicator-color: #3f51b5}.dark-theme .mat-mdc-tab-group.mat-accent,.dark-theme .mat-mdc-tab-nav-bar.mat-accent{--mdc-tab-indicator-active-indicator-color: #ff4081;--mat-tab-header-disabled-ripple-color: rgba(255, 255, 255, .5);--mat-tab-header-pagination-icon-color: white;--mat-tab-header-inactive-label-text-color: rgba(255, 255, 255, .6);--mat-tab-header-active-label-text-color: #ff4081;--mat-tab-header-active-ripple-color: #ff4081;--mat-tab-header-inactive-ripple-color: #ff4081;--mat-tab-header-inactive-focus-label-text-color: rgba(255, 255, 255, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(255, 255, 255, .6);--mat-tab-header-active-focus-label-text-color: #ff4081;--mat-tab-header-active-hover-label-text-color: #ff4081;--mat-tab-header-active-focus-indicator-color: #ff4081;--mat-tab-header-active-hover-indicator-color: #ff4081}.dark-theme .mat-mdc-tab-group.mat-warn,.dark-theme .mat-mdc-tab-nav-bar.mat-warn{--mdc-tab-indicator-active-indicator-color: #f44336;--mat-tab-header-disabled-ripple-color: rgba(255, 255, 255, .5);--mat-tab-header-pagination-icon-color: white;--mat-tab-header-inactive-label-text-color: rgba(255, 255, 255, .6);--mat-tab-header-active-label-text-color: #f44336;--mat-tab-header-active-ripple-color: #f44336;--mat-tab-header-inactive-ripple-color: #f44336;--mat-tab-header-inactive-focus-label-text-color: rgba(255, 255, 255, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(255, 255, 255, .6);--mat-tab-header-active-focus-label-text-color: #f44336;--mat-tab-header-active-hover-label-text-color: #f44336;--mat-tab-header-active-focus-indicator-color: #f44336;--mat-tab-header-active-hover-indicator-color: #f44336}.dark-theme .mat-mdc-tab-group.mat-background-primary,.dark-theme .mat-mdc-tab-nav-bar.mat-background-primary{--mat-tab-header-with-background-background-color: #3f51b5;--mat-tab-header-with-background-foreground-color: white}.dark-theme .mat-mdc-tab-group.mat-background-accent,.dark-theme .mat-mdc-tab-nav-bar.mat-background-accent{--mat-tab-header-with-background-background-color: #ff4081;--mat-tab-header-with-background-foreground-color: white}.dark-theme .mat-mdc-tab-group.mat-background-warn,.dark-theme .mat-mdc-tab-nav-bar.mat-background-warn{--mat-tab-header-with-background-background-color: #f44336;--mat-tab-header-with-background-foreground-color: white}.dark-theme .mat-mdc-checkbox.mat-primary{--mdc-checkbox-disabled-selected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #3f51b5;--mdc-checkbox-selected-hover-icon-color: #3f51b5;--mdc-checkbox-selected-icon-color: #3f51b5;--mdc-checkbox-selected-pressed-icon-color: #3f51b5;--mdc-checkbox-unselected-focus-icon-color: #eeeeee;--mdc-checkbox-unselected-hover-icon-color: #eeeeee;--mdc-checkbox-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-checkbox-selected-focus-state-layer-color: #3f51b5;--mdc-checkbox-selected-hover-state-layer-color: #3f51b5;--mdc-checkbox-selected-pressed-state-layer-color: #3f51b5;--mdc-checkbox-unselected-focus-state-layer-color: white;--mdc-checkbox-unselected-hover-state-layer-color: white;--mdc-checkbox-unselected-pressed-state-layer-color: white}.dark-theme .mat-mdc-checkbox.mat-warn{--mdc-checkbox-disabled-selected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #f44336;--mdc-checkbox-selected-hover-icon-color: #f44336;--mdc-checkbox-selected-icon-color: #f44336;--mdc-checkbox-selected-pressed-icon-color: #f44336;--mdc-checkbox-unselected-focus-icon-color: #eeeeee;--mdc-checkbox-unselected-hover-icon-color: #eeeeee;--mdc-checkbox-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-checkbox-selected-focus-state-layer-color: #f44336;--mdc-checkbox-selected-hover-state-layer-color: #f44336;--mdc-checkbox-selected-pressed-state-layer-color: #f44336;--mdc-checkbox-unselected-focus-state-layer-color: white;--mdc-checkbox-unselected-hover-state-layer-color: white;--mdc-checkbox-unselected-pressed-state-layer-color: white}.dark-theme .mat-mdc-button.mat-primary{--mdc-text-button-label-text-color: #3f51b5;--mat-text-button-state-layer-color: #3f51b5;--mat-text-button-ripple-color: rgba(63, 81, 181, .1)}.dark-theme .mat-mdc-button.mat-accent{--mdc-text-button-label-text-color: #ff4081;--mat-text-button-state-layer-color: #ff4081;--mat-text-button-ripple-color: rgba(255, 64, 129, .1)}.dark-theme .mat-mdc-button.mat-warn{--mdc-text-button-label-text-color: #f44336;--mat-text-button-state-layer-color: #f44336;--mat-text-button-ripple-color: rgba(244, 67, 54, .1)}.dark-theme .mat-mdc-unelevated-button.mat-primary{--mdc-filled-button-container-color: #3f51b5;--mdc-filled-button-label-text-color: white;--mat-filled-button-state-layer-color: white;--mat-filled-button-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-unelevated-button.mat-accent{--mdc-filled-button-container-color: #ff4081;--mdc-filled-button-label-text-color: white;--mat-filled-button-state-layer-color: white;--mat-filled-button-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-unelevated-button.mat-warn{--mdc-filled-button-container-color: #f44336;--mdc-filled-button-label-text-color: white;--mat-filled-button-state-layer-color: white;--mat-filled-button-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-raised-button.mat-primary{--mdc-protected-button-container-color: #3f51b5;--mdc-protected-button-label-text-color: white;--mat-protected-button-state-layer-color: white;--mat-protected-button-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-raised-button.mat-accent{--mdc-protected-button-container-color: #ff4081;--mdc-protected-button-label-text-color: white;--mat-protected-button-state-layer-color: white;--mat-protected-button-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-raised-button.mat-warn{--mdc-protected-button-container-color: #f44336;--mdc-protected-button-label-text-color: white;--mat-protected-button-state-layer-color: white;--mat-protected-button-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-outlined-button.mat-primary{--mdc-outlined-button-label-text-color: #3f51b5;--mdc-outlined-button-outline-color: rgba(255, 255, 255, .12);--mat-outlined-button-state-layer-color: #3f51b5;--mat-outlined-button-ripple-color: rgba(63, 81, 181, .1)}.dark-theme .mat-mdc-outlined-button.mat-accent{--mdc-outlined-button-label-text-color: #ff4081;--mdc-outlined-button-outline-color: rgba(255, 255, 255, .12);--mat-outlined-button-state-layer-color: #ff4081;--mat-outlined-button-ripple-color: rgba(255, 64, 129, .1)}.dark-theme .mat-mdc-outlined-button.mat-warn{--mdc-outlined-button-label-text-color: #f44336;--mdc-outlined-button-outline-color: rgba(255, 255, 255, .12);--mat-outlined-button-state-layer-color: #f44336;--mat-outlined-button-ripple-color: rgba(244, 67, 54, .1)}.dark-theme .mat-mdc-icon-button.mat-primary{--mdc-icon-button-icon-color: #3f51b5;--mat-icon-button-state-layer-color: #3f51b5;--mat-icon-button-ripple-color: rgba(63, 81, 181, .1)}.dark-theme .mat-mdc-icon-button.mat-accent{--mdc-icon-button-icon-color: #ff4081;--mat-icon-button-state-layer-color: #ff4081;--mat-icon-button-ripple-color: rgba(255, 64, 129, .1)}.dark-theme .mat-mdc-icon-button.mat-warn{--mdc-icon-button-icon-color: #f44336;--mat-icon-button-state-layer-color: #f44336;--mat-icon-button-ripple-color: rgba(244, 67, 54, .1)}.dark-theme .mat-mdc-fab.mat-primary{--mdc-fab-container-color: #3f51b5;--mat-fab-foreground-color: white;--mat-fab-state-layer-color: white;--mat-fab-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-fab.mat-accent{--mdc-fab-container-color: #ff4081;--mat-fab-foreground-color: white;--mat-fab-state-layer-color: white;--mat-fab-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-fab.mat-warn{--mdc-fab-container-color: #f44336;--mat-fab-foreground-color: white;--mat-fab-state-layer-color: white;--mat-fab-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-mini-fab.mat-primary{--mdc-fab-small-container-color: #3f51b5;--mat-fab-small-foreground-color: white;--mat-fab-small-state-layer-color: white;--mat-fab-small-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-mini-fab.mat-accent{--mdc-fab-small-container-color: #ff4081;--mat-fab-small-foreground-color: white;--mat-fab-small-state-layer-color: white;--mat-fab-small-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-mini-fab.mat-warn{--mdc-fab-small-container-color: #f44336;--mat-fab-small-foreground-color: white;--mat-fab-small-state-layer-color: white;--mat-fab-small-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-accent{--mdc-circular-progress-active-indicator-color: #ff4081}.dark-theme .mat-warn{--mdc-circular-progress-active-indicator-color: #f44336}.dark-theme .mat-badge-accent{--mat-badge-background-color: #ff4081;--mat-badge-text-color: white}.dark-theme .mat-badge-warn{--mat-badge-background-color: #f44336;--mat-badge-text-color: white}.dark-theme .mat-datepicker-content.mat-accent{--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #ff4081;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(255, 64, 129, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: rgba(255, 64, 129, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(255, 64, 129, .3);--mat-datepicker-calendar-date-in-range-state-background-color: rgba(255, 64, 129, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: #46a35e}.dark-theme .mat-datepicker-content.mat-warn{--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #f44336;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(244, 67, 54, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: rgba(244, 67, 54, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(244, 67, 54, .3);--mat-datepicker-calendar-date-in-range-state-background-color: rgba(244, 67, 54, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: #46a35e}.dark-theme .mat-datepicker-toggle-active.mat-accent{--mat-datepicker-toggle-active-state-icon-color: #ff4081}.dark-theme .mat-datepicker-toggle-active.mat-warn{--mat-datepicker-toggle-active-state-icon-color: #f44336}.dark-theme .mat-icon.mat-primary{--mat-icon-color: #3f51b5}.dark-theme .mat-icon.mat-accent{--mat-icon-color: #ff4081}.dark-theme .mat-icon.mat-warn{--mat-icon-color: #f44336}.dark-theme .mat-step-header.mat-accent{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #ff4081;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #ff4081;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #ff4081;--mat-stepper-header-edit-state-icon-foreground-color: white}.dark-theme .mat-step-header.mat-warn{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #f44336;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #f44336;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #f44336;--mat-stepper-header-edit-state-icon-foreground-color: white}.dark-theme .mat-toolbar.mat-primary{--mat-toolbar-container-background-color: #3f51b5;--mat-toolbar-container-text-color: white}.dark-theme .mat-toolbar.mat-accent{--mat-toolbar-container-background-color: #ff4081;--mat-toolbar-container-text-color: white}.dark-theme .mat-toolbar.mat-warn{--mat-toolbar-container-background-color: #f44336;--mat-toolbar-container-text-color: white}.dark-theme html,.dark-theme body{background-color:#303030}.mat-mdc-dialog-container{--mdc-dialog-supporting-text-font: $font-family;--mdc-dialog-subhead-font: $font-family;--mdc-dialog-title-font: $font-family;--mdc-dialog-button-font: $font-family;--mdc-dialog-supporting-text-size: 1rem;--mdc-dialog-subhead-size: 1.25rem;--mdc-dialog-supporting-text-weight: 400;--mdc-dialog-supporting-text-color: rgba(0, 0, 0, 1)}.cc-window{opacity:1;-webkit-transition:opacity 1s ease;transition:opacity 1s ease}.cc-window.cc-invisible{opacity:0}.cc-animate.cc-revoke{-webkit-transition:transform 1s ease;-webkit-transition:-webkit-transform 1s ease;transition:-webkit-transform 1s ease;transition:transform 1s ease;transition:transform 1s ease,-webkit-transform 1s ease}.cc-animate.cc-revoke.cc-top{-webkit-transform:translateY(-2em);transform:translateY(-2em)}.cc-animate.cc-revoke.cc-bottom{-webkit-transform:translateY(2em);transform:translateY(2em)}.cc-animate.cc-revoke.cc-active.cc-top,.cc-animate.cc-revoke.cc-active.cc-bottom,.cc-revoke:hover{-webkit-transform:translateY(0);transform:translateY(0)}.cc-grower{max-height:0;overflow:hidden;-webkit-transition:max-height 1s;transition:max-height 1s}.cc-revoke,.cc-window{position:fixed;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;font-family:Helvetica,Calibri,Arial,sans-serif;font-size:16px;line-height:1.5em;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;z-index:9999}.cc-window.cc-static{position:static}.cc-window.cc-floating{padding:2em;max-width:24em;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.cc-window.cc-banner{padding:1em 1.8em;width:100%;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.cc-revoke{padding:.5em}.cc-revoke:hover{text-decoration:underline}.cc-header{font-size:18px;font-weight:700}.cc-btn,.cc-close,.cc-link,.cc-revoke{cursor:pointer}.cc-link{opacity:.8;display:inline-block;padding:.2em;text-decoration:underline}.cc-link:hover{opacity:1}.cc-link:active,.cc-link:visited{color:initial}.cc-btn{display:block;padding:.4em .8em;font-size:.9em;font-weight:700;border-width:2px;border-style:solid;text-align:center;white-space:nowrap}.cc-highlight .cc-btn:first-child{background-color:transparent;border-color:transparent}.cc-highlight .cc-btn:first-child:focus,.cc-highlight .cc-btn:first-child:hover{background-color:transparent;text-decoration:underline}.cc-close{display:block;position:absolute;top:.5em;right:.5em;font-size:1.6em;opacity:.9;line-height:.75}.cc-close:focus,.cc-close:hover{opacity:1}.cc-revoke.cc-top{top:0;left:3em;border-bottom-left-radius:.5em;border-bottom-right-radius:.5em}.cc-revoke.cc-bottom{bottom:0;left:3em;border-top-left-radius:.5em;border-top-right-radius:.5em}.cc-revoke.cc-left{left:3em;right:unset}.cc-revoke.cc-right{right:3em;left:unset}.cc-top{top:1em}.cc-left{left:1em}.cc-right{right:1em}.cc-bottom{bottom:1em}.cc-floating>.cc-link{margin-bottom:1em}.cc-floating .cc-message{display:block;margin-bottom:1em}.cc-window.cc-floating .cc-compliance{-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto}.cc-window.cc-banner{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.cc-banner.cc-top{left:0;right:0;top:0}.cc-banner.cc-bottom{left:0;right:0;bottom:0}.cc-banner .cc-message{display:block;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;max-width:100%;margin-right:1em}.cc-compliance{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:justify;align-content:space-between}.cc-floating .cc-compliance>.cc-btn{-webkit-box-flex:1;-ms-flex:1;flex:1}.cc-btn+.cc-btn{margin-left:.5em}@media print{.cc-revoke,.cc-window{display:none}}@media screen and (max-width:900px){.cc-btn{white-space:normal}}@media screen and (max-width:414px) and (orientation:portrait),screen and (max-width:736px) and (orientation:landscape){.cc-window.cc-top{top:0}.cc-window.cc-bottom{bottom:0}.cc-window.cc-banner,.cc-window.cc-floating,.cc-window.cc-left,.cc-window.cc-right{left:0;right:0}.cc-window.cc-banner{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.cc-window.cc-banner .cc-compliance{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.cc-window.cc-floating{max-width:none}.cc-window .cc-message{margin-bottom:1em}.cc-window.cc-banner{-webkit-box-align:unset;-ms-flex-align:unset;align-items:unset}.cc-window.cc-banner .cc-message{margin-right:0}}.cc-floating.cc-theme-classic{padding:1.2em;border-radius:5px}.cc-floating.cc-type-info.cc-theme-classic .cc-compliance{text-align:center;display:inline;-webkit-box-flex:0;-ms-flex:none;flex:none}.cc-theme-classic .cc-btn{border-radius:5px}.cc-theme-classic .cc-btn:last-child{min-width:140px}.cc-floating.cc-type-info.cc-theme-classic .cc-btn{display:inline-block}.cc-theme-edgeless.cc-window{padding:0}.cc-floating.cc-theme-edgeless .cc-message{margin:2em 2em 1.5em}.cc-banner.cc-theme-edgeless .cc-btn{margin:0;padding:.8em 1.8em;height:100%}.cc-banner.cc-theme-edgeless .cc-message{margin-left:1em}.cc-floating.cc-theme-edgeless .cc-btn+.cc-btn{margin-left:0} +.mat-elevation-z0,.mat-mdc-elevation-specific.mat-elevation-z0{box-shadow:var(--mat-app-elevation-shadow-level-0, none)}.mat-elevation-z1,.mat-mdc-elevation-specific.mat-elevation-z1{box-shadow:var(--mat-app-elevation-shadow-level-1, none)}.mat-elevation-z2,.mat-mdc-elevation-specific.mat-elevation-z2{box-shadow:var(--mat-app-elevation-shadow-level-2, none)}.mat-elevation-z3,.mat-mdc-elevation-specific.mat-elevation-z3{box-shadow:var(--mat-app-elevation-shadow-level-3, none)}.mat-elevation-z4,.mat-mdc-elevation-specific.mat-elevation-z4{box-shadow:var(--mat-app-elevation-shadow-level-4, none)}.mat-elevation-z5,.mat-mdc-elevation-specific.mat-elevation-z5{box-shadow:var(--mat-app-elevation-shadow-level-5, none)}.mat-elevation-z6,.mat-mdc-elevation-specific.mat-elevation-z6{box-shadow:var(--mat-app-elevation-shadow-level-6, none)}.mat-elevation-z7,.mat-mdc-elevation-specific.mat-elevation-z7{box-shadow:var(--mat-app-elevation-shadow-level-7, none)}.mat-elevation-z8,.mat-mdc-elevation-specific.mat-elevation-z8{box-shadow:var(--mat-app-elevation-shadow-level-8, none)}.mat-elevation-z9,.mat-mdc-elevation-specific.mat-elevation-z9{box-shadow:var(--mat-app-elevation-shadow-level-9, none)}.mat-elevation-z10,.mat-mdc-elevation-specific.mat-elevation-z10{box-shadow:var(--mat-app-elevation-shadow-level-10, none)}.mat-elevation-z11,.mat-mdc-elevation-specific.mat-elevation-z11{box-shadow:var(--mat-app-elevation-shadow-level-11, none)}.mat-elevation-z12,.mat-mdc-elevation-specific.mat-elevation-z12{box-shadow:var(--mat-app-elevation-shadow-level-12, none)}.mat-elevation-z13,.mat-mdc-elevation-specific.mat-elevation-z13{box-shadow:var(--mat-app-elevation-shadow-level-13, none)}.mat-elevation-z14,.mat-mdc-elevation-specific.mat-elevation-z14{box-shadow:var(--mat-app-elevation-shadow-level-14, none)}.mat-elevation-z15,.mat-mdc-elevation-specific.mat-elevation-z15{box-shadow:var(--mat-app-elevation-shadow-level-15, none)}.mat-elevation-z16,.mat-mdc-elevation-specific.mat-elevation-z16{box-shadow:var(--mat-app-elevation-shadow-level-16, none)}.mat-elevation-z17,.mat-mdc-elevation-specific.mat-elevation-z17{box-shadow:var(--mat-app-elevation-shadow-level-17, none)}.mat-elevation-z18,.mat-mdc-elevation-specific.mat-elevation-z18{box-shadow:var(--mat-app-elevation-shadow-level-18, none)}.mat-elevation-z19,.mat-mdc-elevation-specific.mat-elevation-z19{box-shadow:var(--mat-app-elevation-shadow-level-19, none)}.mat-elevation-z20,.mat-mdc-elevation-specific.mat-elevation-z20{box-shadow:var(--mat-app-elevation-shadow-level-20, none)}.mat-elevation-z21,.mat-mdc-elevation-specific.mat-elevation-z21{box-shadow:var(--mat-app-elevation-shadow-level-21, none)}.mat-elevation-z22,.mat-mdc-elevation-specific.mat-elevation-z22{box-shadow:var(--mat-app-elevation-shadow-level-22, none)}.mat-elevation-z23,.mat-mdc-elevation-specific.mat-elevation-z23{box-shadow:var(--mat-app-elevation-shadow-level-23, none)}.mat-elevation-z24,.mat-mdc-elevation-specific.mat-elevation-z24{box-shadow:var(--mat-app-elevation-shadow-level-24, none)}html{--mat-sys-on-surface: initial}.mat-app-background{background-color:var(--mat-app-background-color, var(--mat-sys-background, transparent));color:var(--mat-app-text-color, var(--mat-sys-on-background, inherit))}html{--mat-ripple-color: rgba(0, 0, 0, .1)}html{--mat-option-selected-state-label-text-color: #3f51b5;--mat-option-label-text-color: rgba(0, 0, 0, .87);--mat-option-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-option-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-option-selected-state-layer-color: rgba(0, 0, 0, .04)}.mat-accent{--mat-option-selected-state-label-text-color: #ff4081;--mat-option-label-text-color: rgba(0, 0, 0, .87);--mat-option-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-option-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-option-selected-state-layer-color: rgba(0, 0, 0, .04)}.mat-warn{--mat-option-selected-state-label-text-color: #f44336;--mat-option-label-text-color: rgba(0, 0, 0, .87);--mat-option-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-option-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-option-selected-state-layer-color: rgba(0, 0, 0, .04)}html{--mat-optgroup-label-text-color: rgba(0, 0, 0, .87)}html{--mat-full-pseudo-checkbox-selected-icon-color: #ff4081;--mat-full-pseudo-checkbox-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: #b0b0b0;--mat-full-pseudo-checkbox-disabled-selected-icon-color: #b0b0b0}html{--mat-minimal-pseudo-checkbox-selected-checkmark-color: #ff4081;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: #b0b0b0}.mat-primary{--mat-full-pseudo-checkbox-selected-icon-color: #3f51b5;--mat-full-pseudo-checkbox-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: #b0b0b0;--mat-full-pseudo-checkbox-disabled-selected-icon-color: #b0b0b0}.mat-primary{--mat-minimal-pseudo-checkbox-selected-checkmark-color: #3f51b5;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: #b0b0b0}.mat-accent{--mat-full-pseudo-checkbox-selected-icon-color: #ff4081;--mat-full-pseudo-checkbox-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: #b0b0b0;--mat-full-pseudo-checkbox-disabled-selected-icon-color: #b0b0b0}.mat-accent{--mat-minimal-pseudo-checkbox-selected-checkmark-color: #ff4081;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: #b0b0b0}.mat-warn{--mat-full-pseudo-checkbox-selected-icon-color: #f44336;--mat-full-pseudo-checkbox-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: #b0b0b0;--mat-full-pseudo-checkbox-disabled-selected-icon-color: #b0b0b0}.mat-warn{--mat-minimal-pseudo-checkbox-selected-checkmark-color: #f44336;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: #b0b0b0}html{--mat-app-background-color: #fafafa;--mat-app-text-color: rgba(0, 0, 0, .87);--mat-app-elevation-shadow-level-0: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-1: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-2: 0px 3px 1px -2px rgba(0, 0, 0, .2), 0px 2px 2px 0px rgba(0, 0, 0, .14), 0px 1px 5px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-3: 0px 3px 3px -2px rgba(0, 0, 0, .2), 0px 3px 4px 0px rgba(0, 0, 0, .14), 0px 1px 8px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-4: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-5: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 5px 8px 0px rgba(0, 0, 0, .14), 0px 1px 14px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-6: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-7: 0px 4px 5px -2px rgba(0, 0, 0, .2), 0px 7px 10px 1px rgba(0, 0, 0, .14), 0px 2px 16px 1px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-8: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-9: 0px 5px 6px -3px rgba(0, 0, 0, .2), 0px 9px 12px 1px rgba(0, 0, 0, .14), 0px 3px 16px 2px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-10: 0px 6px 6px -3px rgba(0, 0, 0, .2), 0px 10px 14px 1px rgba(0, 0, 0, .14), 0px 4px 18px 3px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-11: 0px 6px 7px -4px rgba(0, 0, 0, .2), 0px 11px 15px 1px rgba(0, 0, 0, .14), 0px 4px 20px 3px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-12: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-13: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 13px 19px 2px rgba(0, 0, 0, .14), 0px 5px 24px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-14: 0px 7px 9px -4px rgba(0, 0, 0, .2), 0px 14px 21px 2px rgba(0, 0, 0, .14), 0px 5px 26px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-15: 0px 8px 9px -5px rgba(0, 0, 0, .2), 0px 15px 22px 2px rgba(0, 0, 0, .14), 0px 6px 28px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-16: 0px 8px 10px -5px rgba(0, 0, 0, .2), 0px 16px 24px 2px rgba(0, 0, 0, .14), 0px 6px 30px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-17: 0px 8px 11px -5px rgba(0, 0, 0, .2), 0px 17px 26px 2px rgba(0, 0, 0, .14), 0px 6px 32px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-18: 0px 9px 11px -5px rgba(0, 0, 0, .2), 0px 18px 28px 2px rgba(0, 0, 0, .14), 0px 7px 34px 6px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-19: 0px 9px 12px -6px rgba(0, 0, 0, .2), 0px 19px 29px 2px rgba(0, 0, 0, .14), 0px 7px 36px 6px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-20: 0px 10px 13px -6px rgba(0, 0, 0, .2), 0px 20px 31px 3px rgba(0, 0, 0, .14), 0px 8px 38px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-21: 0px 10px 13px -6px rgba(0, 0, 0, .2), 0px 21px 33px 3px rgba(0, 0, 0, .14), 0px 8px 40px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-22: 0px 10px 14px -6px rgba(0, 0, 0, .2), 0px 22px 35px 3px rgba(0, 0, 0, .14), 0px 8px 42px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-23: 0px 11px 14px -7px rgba(0, 0, 0, .2), 0px 23px 36px 3px rgba(0, 0, 0, .14), 0px 9px 44px 8px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-24: 0px 11px 15px -7px rgba(0, 0, 0, .2), 0px 24px 38px 3px rgba(0, 0, 0, .14), 0px 9px 46px 8px rgba(0, 0, 0, .12)}html{--mat-option-label-text-font: Roboto, sans-serif;--mat-option-label-text-line-height: 24px;--mat-option-label-text-size: 16px;--mat-option-label-text-tracking: .03125em;--mat-option-label-text-weight: 400}html{--mat-optgroup-label-text-font: Roboto, sans-serif;--mat-optgroup-label-text-line-height: 24px;--mat-optgroup-label-text-size: 16px;--mat-optgroup-label-text-tracking: .03125em;--mat-optgroup-label-text-weight: 400}html{--mdc-elevated-card-container-shape: 4px}html{--mdc-outlined-card-container-shape: 4px;--mdc-outlined-card-outline-width: 1px}html{--mdc-elevated-card-container-color: white;--mdc-elevated-card-container-elevation: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12)}html{--mdc-outlined-card-container-color: white;--mdc-outlined-card-outline-color: rgba(0, 0, 0, .12);--mdc-outlined-card-container-elevation: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12)}html{--mat-card-subtitle-text-color: rgba(0, 0, 0, .54)}html{--mat-card-title-text-font: Roboto, sans-serif;--mat-card-title-text-line-height: 32px;--mat-card-title-text-size: 20px;--mat-card-title-text-tracking: .0125em;--mat-card-title-text-weight: 500;--mat-card-subtitle-text-font: Roboto, sans-serif;--mat-card-subtitle-text-line-height: 22px;--mat-card-subtitle-text-size: 14px;--mat-card-subtitle-text-tracking: .0071428571em;--mat-card-subtitle-text-weight: 500}html{--mdc-linear-progress-active-indicator-height: 4px;--mdc-linear-progress-track-height: 4px;--mdc-linear-progress-track-shape: 0}.mat-mdc-progress-bar{--mdc-linear-progress-active-indicator-color: #3f51b5;--mdc-linear-progress-track-color: rgba(63, 81, 181, .25)}.mat-mdc-progress-bar.mat-accent{--mdc-linear-progress-active-indicator-color: #ff4081;--mdc-linear-progress-track-color: rgba(255, 64, 129, .25)}.mat-mdc-progress-bar.mat-warn{--mdc-linear-progress-active-indicator-color: #f44336;--mdc-linear-progress-track-color: rgba(244, 67, 54, .25)}html{--mdc-plain-tooltip-container-shape: 4px;--mdc-plain-tooltip-supporting-text-line-height: 16px}html{--mdc-plain-tooltip-container-color: #616161;--mdc-plain-tooltip-supporting-text-color: #fff}html{--mdc-plain-tooltip-supporting-text-font: Roboto, sans-serif;--mdc-plain-tooltip-supporting-text-size: 12px;--mdc-plain-tooltip-supporting-text-weight: 400;--mdc-plain-tooltip-supporting-text-tracking: .0333333333em}html{--mdc-filled-text-field-active-indicator-height: 1px;--mdc-filled-text-field-focus-active-indicator-height: 2px;--mdc-filled-text-field-container-shape: 4px}html{--mdc-outlined-text-field-outline-width: 1px;--mdc-outlined-text-field-focus-outline-width: 2px;--mdc-outlined-text-field-container-shape: 4px}html{--mdc-filled-text-field-caret-color: #3f51b5;--mdc-filled-text-field-focus-active-indicator-color: #3f51b5;--mdc-filled-text-field-focus-label-text-color: rgba(63, 81, 181, .87);--mdc-filled-text-field-container-color: rgb(244.8, 244.8, 244.8);--mdc-filled-text-field-disabled-container-color: rgb(249.9, 249.9, 249.9);--mdc-filled-text-field-label-text-color: rgba(0, 0, 0, .6);--mdc-filled-text-field-hover-label-text-color: rgba(0, 0, 0, .6);--mdc-filled-text-field-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-filled-text-field-input-text-color: rgba(0, 0, 0, .87);--mdc-filled-text-field-disabled-input-text-color: rgba(0, 0, 0, .38);--mdc-filled-text-field-input-text-placeholder-color: rgba(0, 0, 0, .6);--mdc-filled-text-field-error-hover-label-text-color: #f44336;--mdc-filled-text-field-error-focus-label-text-color: #f44336;--mdc-filled-text-field-error-label-text-color: #f44336;--mdc-filled-text-field-error-caret-color: #f44336;--mdc-filled-text-field-active-indicator-color: rgba(0, 0, 0, .42);--mdc-filled-text-field-disabled-active-indicator-color: rgba(0, 0, 0, .06);--mdc-filled-text-field-hover-active-indicator-color: rgba(0, 0, 0, .87);--mdc-filled-text-field-error-active-indicator-color: #f44336;--mdc-filled-text-field-error-focus-active-indicator-color: #f44336;--mdc-filled-text-field-error-hover-active-indicator-color: #f44336}html{--mdc-outlined-text-field-caret-color: #3f51b5;--mdc-outlined-text-field-focus-outline-color: #3f51b5;--mdc-outlined-text-field-focus-label-text-color: rgba(63, 81, 181, .87);--mdc-outlined-text-field-label-text-color: rgba(0, 0, 0, .6);--mdc-outlined-text-field-hover-label-text-color: rgba(0, 0, 0, .6);--mdc-outlined-text-field-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-outlined-text-field-input-text-color: rgba(0, 0, 0, .87);--mdc-outlined-text-field-disabled-input-text-color: rgba(0, 0, 0, .38);--mdc-outlined-text-field-input-text-placeholder-color: rgba(0, 0, 0, .6);--mdc-outlined-text-field-error-caret-color: #f44336;--mdc-outlined-text-field-error-focus-label-text-color: #f44336;--mdc-outlined-text-field-error-label-text-color: #f44336;--mdc-outlined-text-field-error-hover-label-text-color: #f44336;--mdc-outlined-text-field-outline-color: rgba(0, 0, 0, .38);--mdc-outlined-text-field-disabled-outline-color: rgba(0, 0, 0, .06);--mdc-outlined-text-field-hover-outline-color: rgba(0, 0, 0, .87);--mdc-outlined-text-field-error-focus-outline-color: #f44336;--mdc-outlined-text-field-error-hover-outline-color: #f44336;--mdc-outlined-text-field-error-outline-color: #f44336}html{--mat-form-field-focus-select-arrow-color: rgba(63, 81, 181, .87);--mat-form-field-disabled-input-text-placeholder-color: rgba(0, 0, 0, .38);--mat-form-field-state-layer-color: rgba(0, 0, 0, .87);--mat-form-field-error-text-color: #f44336;--mat-form-field-select-option-text-color: inherit;--mat-form-field-select-disabled-option-text-color: GrayText;--mat-form-field-leading-icon-color: unset;--mat-form-field-disabled-leading-icon-color: unset;--mat-form-field-trailing-icon-color: unset;--mat-form-field-disabled-trailing-icon-color: unset;--mat-form-field-error-focus-trailing-icon-color: unset;--mat-form-field-error-hover-trailing-icon-color: unset;--mat-form-field-error-trailing-icon-color: unset;--mat-form-field-enabled-select-arrow-color: rgba(0, 0, 0, .54);--mat-form-field-disabled-select-arrow-color: rgba(0, 0, 0, .38);--mat-form-field-hover-state-layer-opacity: .04;--mat-form-field-focus-state-layer-opacity: .08}.mat-mdc-form-field.mat-accent{--mdc-filled-text-field-caret-color: #ff4081;--mdc-filled-text-field-focus-active-indicator-color: #ff4081;--mdc-filled-text-field-focus-label-text-color: rgba(255, 64, 129, .87)}.mat-mdc-form-field.mat-accent{--mdc-outlined-text-field-caret-color: #ff4081;--mdc-outlined-text-field-focus-outline-color: #ff4081;--mdc-outlined-text-field-focus-label-text-color: rgba(255, 64, 129, .87)}.mat-mdc-form-field.mat-accent{--mat-form-field-focus-select-arrow-color: rgba(255, 64, 129, .87)}.mat-mdc-form-field.mat-warn{--mdc-filled-text-field-caret-color: #f44336;--mdc-filled-text-field-focus-active-indicator-color: #f44336;--mdc-filled-text-field-focus-label-text-color: rgba(244, 67, 54, .87)}.mat-mdc-form-field.mat-warn{--mdc-outlined-text-field-caret-color: #f44336;--mdc-outlined-text-field-focus-outline-color: #f44336;--mdc-outlined-text-field-focus-label-text-color: rgba(244, 67, 54, .87)}.mat-mdc-form-field.mat-warn{--mat-form-field-focus-select-arrow-color: rgba(244, 67, 54, .87)}html{--mat-form-field-container-height: 56px;--mat-form-field-filled-label-display: block;--mat-form-field-container-vertical-padding: 16px;--mat-form-field-filled-with-label-container-padding-top: 24px;--mat-form-field-filled-with-label-container-padding-bottom: 8px}html{--mdc-filled-text-field-label-text-font: Roboto, sans-serif;--mdc-filled-text-field-label-text-size: 16px;--mdc-filled-text-field-label-text-tracking: .03125em;--mdc-filled-text-field-label-text-weight: 400}html{--mdc-outlined-text-field-label-text-font: Roboto, sans-serif;--mdc-outlined-text-field-label-text-size: 16px;--mdc-outlined-text-field-label-text-tracking: .03125em;--mdc-outlined-text-field-label-text-weight: 400}html{--mat-form-field-container-text-font: Roboto, sans-serif;--mat-form-field-container-text-line-height: 24px;--mat-form-field-container-text-size: 16px;--mat-form-field-container-text-tracking: .03125em;--mat-form-field-container-text-weight: 400;--mat-form-field-outlined-label-text-populated-size: 16px;--mat-form-field-subscript-text-font: Roboto, sans-serif;--mat-form-field-subscript-text-line-height: 20px;--mat-form-field-subscript-text-size: 12px;--mat-form-field-subscript-text-tracking: .0333333333em;--mat-form-field-subscript-text-weight: 400}html{--mat-select-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12)}html{--mat-select-panel-background-color: white;--mat-select-enabled-trigger-text-color: rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color: rgba(0, 0, 0, .38);--mat-select-placeholder-text-color: rgba(0, 0, 0, .6);--mat-select-enabled-arrow-color: rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color: rgba(0, 0, 0, .38);--mat-select-focused-arrow-color: rgba(63, 81, 181, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87)}html .mat-mdc-form-field.mat-accent{--mat-select-panel-background-color: white;--mat-select-enabled-trigger-text-color: rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color: rgba(0, 0, 0, .38);--mat-select-placeholder-text-color: rgba(0, 0, 0, .6);--mat-select-enabled-arrow-color: rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color: rgba(0, 0, 0, .38);--mat-select-focused-arrow-color: rgba(255, 64, 129, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87)}html .mat-mdc-form-field.mat-warn{--mat-select-panel-background-color: white;--mat-select-enabled-trigger-text-color: rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color: rgba(0, 0, 0, .38);--mat-select-placeholder-text-color: rgba(0, 0, 0, .6);--mat-select-enabled-arrow-color: rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color: rgba(0, 0, 0, .38);--mat-select-focused-arrow-color: rgba(244, 67, 54, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87)}html{--mat-select-arrow-transform: translateY(-8px)}html{--mat-select-trigger-text-font: Roboto, sans-serif;--mat-select-trigger-text-line-height: 24px;--mat-select-trigger-text-size: 16px;--mat-select-trigger-text-tracking: .03125em;--mat-select-trigger-text-weight: 400}html{--mat-autocomplete-container-shape: 4px;--mat-autocomplete-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12)}html{--mat-autocomplete-background-color: white}html{--mdc-dialog-container-shape: 4px}html{--mat-dialog-container-elevation-shadow: 0px 11px 15px -7px rgba(0, 0, 0, .2), 0px 24px 38px 3px rgba(0, 0, 0, .14), 0px 9px 46px 8px rgba(0, 0, 0, .12);--mat-dialog-container-max-width: 80vw;--mat-dialog-container-small-max-width: 80vw;--mat-dialog-container-min-width: 0;--mat-dialog-actions-alignment: start;--mat-dialog-actions-padding: 8px;--mat-dialog-content-padding: 20px 24px;--mat-dialog-with-actions-content-padding: 20px 24px;--mat-dialog-headline-padding: 0 24px 9px}html{--mdc-dialog-container-color: white;--mdc-dialog-subhead-color: rgba(0, 0, 0, .87);--mdc-dialog-supporting-text-color: rgba(0, 0, 0, .6)}html{--mdc-dialog-subhead-font: Roboto, sans-serif;--mdc-dialog-subhead-line-height: 32px;--mdc-dialog-subhead-size: 20px;--mdc-dialog-subhead-weight: 500;--mdc-dialog-subhead-tracking: .0125em;--mdc-dialog-supporting-text-font: Roboto, sans-serif;--mdc-dialog-supporting-text-line-height: 24px;--mdc-dialog-supporting-text-size: 16px;--mdc-dialog-supporting-text-weight: 400;--mdc-dialog-supporting-text-tracking: .03125em}.mat-mdc-standard-chip{--mdc-chip-container-shape-radius: 16px;--mdc-chip-with-avatar-avatar-shape-radius: 14px;--mdc-chip-with-avatar-avatar-size: 28px;--mdc-chip-with-icon-icon-size: 18px;--mdc-chip-outline-width: 0;--mdc-chip-outline-color: transparent;--mdc-chip-disabled-outline-color: transparent;--mdc-chip-focus-outline-color: transparent;--mdc-chip-hover-state-layer-opacity: .04;--mdc-chip-with-avatar-disabled-avatar-opacity: 1;--mdc-chip-flat-selected-outline-width: 0;--mdc-chip-selected-hover-state-layer-opacity: .04;--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity: 1;--mdc-chip-with-icon-disabled-icon-opacity: 1}.mat-mdc-standard-chip{--mat-chip-disabled-container-opacity: .4;--mat-chip-trailing-action-opacity: .54;--mat-chip-trailing-action-focus-opacity: 1;--mat-chip-trailing-action-state-layer-color: transparent;--mat-chip-selected-trailing-action-state-layer-color: transparent;--mat-chip-trailing-action-hover-state-layer-opacity: 0;--mat-chip-trailing-action-focus-state-layer-opacity: 0}.mat-mdc-standard-chip{--mdc-chip-disabled-label-text-color: #212121;--mdc-chip-elevated-container-color: rgb(224.4, 224.4, 224.4);--mdc-chip-elevated-selected-container-color: rgb(224.4, 224.4, 224.4);--mdc-chip-elevated-disabled-container-color: rgb(224.4, 224.4, 224.4);--mdc-chip-flat-disabled-selected-container-color: rgb(224.4, 224.4, 224.4);--mdc-chip-focus-state-layer-color: black;--mdc-chip-hover-state-layer-color: black;--mdc-chip-selected-hover-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-selected-focus-state-layer-color: black;--mdc-chip-selected-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: #212121;--mdc-chip-selected-label-text-color: #212121;--mdc-chip-with-icon-icon-color: #212121;--mdc-chip-with-icon-disabled-icon-color: #212121;--mdc-chip-with-icon-selected-icon-color: #212121;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: #212121;--mdc-chip-with-trailing-icon-trailing-icon-color: #212121}.mat-mdc-standard-chip{--mat-chip-selected-disabled-trailing-icon-color: #212121;--mat-chip-selected-trailing-icon-color: #212121}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-primary,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-primary{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #3f51b5;--mdc-chip-elevated-selected-container-color: #3f51b5;--mdc-chip-elevated-disabled-container-color: #3f51b5;--mdc-chip-flat-disabled-selected-container-color: #3f51b5;--mdc-chip-focus-state-layer-color: black;--mdc-chip-hover-state-layer-color: black;--mdc-chip-selected-hover-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-selected-focus-state-layer-color: black;--mdc-chip-selected-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: white;--mdc-chip-selected-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-primary,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-primary{--mat-chip-selected-disabled-trailing-icon-color: white;--mat-chip-selected-trailing-icon-color: white}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-accent,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-accent{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #ff4081;--mdc-chip-elevated-selected-container-color: #ff4081;--mdc-chip-elevated-disabled-container-color: #ff4081;--mdc-chip-flat-disabled-selected-container-color: #ff4081;--mdc-chip-focus-state-layer-color: black;--mdc-chip-hover-state-layer-color: black;--mdc-chip-selected-hover-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-selected-focus-state-layer-color: black;--mdc-chip-selected-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: white;--mdc-chip-selected-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-accent,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-accent{--mat-chip-selected-disabled-trailing-icon-color: white;--mat-chip-selected-trailing-icon-color: white}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-warn,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-warn{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #f44336;--mdc-chip-elevated-selected-container-color: #f44336;--mdc-chip-elevated-disabled-container-color: #f44336;--mdc-chip-flat-disabled-selected-container-color: #f44336;--mdc-chip-focus-state-layer-color: black;--mdc-chip-hover-state-layer-color: black;--mdc-chip-selected-hover-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-selected-focus-state-layer-color: black;--mdc-chip-selected-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: white;--mdc-chip-selected-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-warn,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-warn{--mat-chip-selected-disabled-trailing-icon-color: white;--mat-chip-selected-trailing-icon-color: white}.mat-mdc-chip.mat-mdc-standard-chip{--mdc-chip-container-height: 32px}.mat-mdc-standard-chip{--mdc-chip-label-text-font: Roboto, sans-serif;--mdc-chip-label-text-line-height: 20px;--mdc-chip-label-text-size: 14px;--mdc-chip-label-text-tracking: .0178571429em;--mdc-chip-label-text-weight: 400}html{--mdc-switch-disabled-selected-icon-opacity: .38;--mdc-switch-disabled-track-opacity: .12;--mdc-switch-disabled-unselected-icon-opacity: .38;--mdc-switch-handle-height: 20px;--mdc-switch-handle-shape: 10px;--mdc-switch-handle-width: 20px;--mdc-switch-selected-icon-size: 18px;--mdc-switch-track-height: 14px;--mdc-switch-track-shape: 7px;--mdc-switch-track-width: 36px;--mdc-switch-unselected-icon-size: 18px;--mdc-switch-selected-focus-state-layer-opacity: .12;--mdc-switch-selected-hover-state-layer-opacity: .04;--mdc-switch-selected-pressed-state-layer-opacity: .1;--mdc-switch-unselected-focus-state-layer-opacity: .12;--mdc-switch-unselected-hover-state-layer-opacity: .04;--mdc-switch-unselected-pressed-state-layer-opacity: .1}html .mat-mdc-slide-toggle{--mat-switch-disabled-selected-handle-opacity: .38;--mat-switch-disabled-unselected-handle-opacity: .38;--mat-switch-unselected-handle-size: 20px;--mat-switch-selected-handle-size: 20px;--mat-switch-pressed-handle-size: 20px;--mat-switch-with-icon-handle-size: 20px;--mat-switch-selected-handle-horizontal-margin: 0;--mat-switch-selected-with-icon-handle-horizontal-margin: 0;--mat-switch-selected-pressed-handle-horizontal-margin: 0;--mat-switch-unselected-handle-horizontal-margin: 0;--mat-switch-unselected-with-icon-handle-horizontal-margin: 0;--mat-switch-unselected-pressed-handle-horizontal-margin: 0;--mat-switch-visible-track-opacity: 1;--mat-switch-hidden-track-opacity: 1;--mat-switch-visible-track-transition: transform 75ms 0ms cubic-bezier(0, 0, .2, 1);--mat-switch-hidden-track-transition: transform 75ms 0ms cubic-bezier(.4, 0, .6, 1);--mat-switch-track-outline-width: 1px;--mat-switch-track-outline-color: transparent;--mat-switch-selected-track-outline-width: 1px;--mat-switch-selected-track-outline-color: transparent;--mat-switch-disabled-unselected-track-outline-width: 1px;--mat-switch-disabled-unselected-track-outline-color: transparent}html{--mdc-switch-selected-focus-state-layer-color: #3949ab;--mdc-switch-selected-handle-color: #3949ab;--mdc-switch-selected-hover-state-layer-color: #3949ab;--mdc-switch-selected-pressed-state-layer-color: #3949ab;--mdc-switch-selected-focus-handle-color: #1a237e;--mdc-switch-selected-hover-handle-color: #1a237e;--mdc-switch-selected-pressed-handle-color: #1a237e;--mdc-switch-selected-focus-track-color: #7986cb;--mdc-switch-selected-hover-track-color: #7986cb;--mdc-switch-selected-pressed-track-color: #7986cb;--mdc-switch-selected-track-color: #7986cb;--mdc-switch-disabled-selected-handle-color: #424242;--mdc-switch-disabled-selected-icon-color: #fff;--mdc-switch-disabled-selected-track-color: #424242;--mdc-switch-disabled-unselected-handle-color: #424242;--mdc-switch-disabled-unselected-icon-color: #fff;--mdc-switch-disabled-unselected-track-color: #424242;--mdc-switch-handle-surface-color: #fff;--mdc-switch-selected-icon-color: #fff;--mdc-switch-unselected-focus-handle-color: #212121;--mdc-switch-unselected-focus-state-layer-color: #424242;--mdc-switch-unselected-focus-track-color: #e0e0e0;--mdc-switch-unselected-handle-color: #616161;--mdc-switch-unselected-hover-handle-color: #212121;--mdc-switch-unselected-hover-state-layer-color: #424242;--mdc-switch-unselected-hover-track-color: #e0e0e0;--mdc-switch-unselected-icon-color: #fff;--mdc-switch-unselected-pressed-handle-color: #212121;--mdc-switch-unselected-pressed-state-layer-color: #424242;--mdc-switch-unselected-pressed-track-color: #e0e0e0;--mdc-switch-unselected-track-color: #e0e0e0;--mdc-switch-handle-elevation-shadow: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-switch-disabled-handle-elevation-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12)}html{--mdc-switch-disabled-label-text-color: rgba(0, 0, 0, .38)}html .mat-mdc-slide-toggle{--mat-switch-label-text-color: rgba(0, 0, 0, .87)}html .mat-mdc-slide-toggle.mat-accent{--mdc-switch-selected-focus-state-layer-color: #d81b60;--mdc-switch-selected-handle-color: #d81b60;--mdc-switch-selected-hover-state-layer-color: #d81b60;--mdc-switch-selected-pressed-state-layer-color: #d81b60;--mdc-switch-selected-focus-handle-color: #880e4f;--mdc-switch-selected-hover-handle-color: #880e4f;--mdc-switch-selected-pressed-handle-color: #880e4f;--mdc-switch-selected-focus-track-color: #f06292;--mdc-switch-selected-hover-track-color: #f06292;--mdc-switch-selected-pressed-track-color: #f06292;--mdc-switch-selected-track-color: #f06292}html .mat-mdc-slide-toggle.mat-warn{--mdc-switch-selected-focus-state-layer-color: #e53935;--mdc-switch-selected-handle-color: #e53935;--mdc-switch-selected-hover-state-layer-color: #e53935;--mdc-switch-selected-pressed-state-layer-color: #e53935;--mdc-switch-selected-focus-handle-color: #b71c1c;--mdc-switch-selected-hover-handle-color: #b71c1c;--mdc-switch-selected-pressed-handle-color: #b71c1c;--mdc-switch-selected-focus-track-color: #e57373;--mdc-switch-selected-hover-track-color: #e57373;--mdc-switch-selected-pressed-track-color: #e57373;--mdc-switch-selected-track-color: #e57373}html{--mdc-switch-state-layer-size: 40px}html .mat-mdc-slide-toggle{--mat-switch-label-text-font: Roboto, sans-serif;--mat-switch-label-text-line-height: 20px;--mat-switch-label-text-size: 14px;--mat-switch-label-text-tracking: .0178571429em;--mat-switch-label-text-weight: 400}html{--mdc-radio-disabled-selected-icon-opacity: .38;--mdc-radio-disabled-unselected-icon-opacity: .38;--mdc-radio-state-layer-size: 40px}.mat-mdc-radio-button.mat-primary{--mdc-radio-disabled-selected-icon-color: black;--mdc-radio-disabled-unselected-icon-color: black;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-focus-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #3f51b5;--mdc-radio-selected-hover-icon-color: #3f51b5;--mdc-radio-selected-icon-color: #3f51b5;--mdc-radio-selected-pressed-icon-color: #3f51b5}.mat-mdc-radio-button.mat-primary{--mat-radio-ripple-color: black;--mat-radio-checked-ripple-color: #3f51b5;--mat-radio-disabled-label-color: rgba(0, 0, 0, .38);--mat-radio-label-text-color: rgba(0, 0, 0, .87)}.mat-mdc-radio-button.mat-accent{--mdc-radio-disabled-selected-icon-color: black;--mdc-radio-disabled-unselected-icon-color: black;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-focus-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #ff4081;--mdc-radio-selected-hover-icon-color: #ff4081;--mdc-radio-selected-icon-color: #ff4081;--mdc-radio-selected-pressed-icon-color: #ff4081}.mat-mdc-radio-button.mat-accent{--mat-radio-ripple-color: black;--mat-radio-checked-ripple-color: #ff4081;--mat-radio-disabled-label-color: rgba(0, 0, 0, .38);--mat-radio-label-text-color: rgba(0, 0, 0, .87)}.mat-mdc-radio-button.mat-warn{--mdc-radio-disabled-selected-icon-color: black;--mdc-radio-disabled-unselected-icon-color: black;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-focus-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #f44336;--mdc-radio-selected-hover-icon-color: #f44336;--mdc-radio-selected-icon-color: #f44336;--mdc-radio-selected-pressed-icon-color: #f44336}.mat-mdc-radio-button.mat-warn{--mat-radio-ripple-color: black;--mat-radio-checked-ripple-color: #f44336;--mat-radio-disabled-label-color: rgba(0, 0, 0, .38);--mat-radio-label-text-color: rgba(0, 0, 0, .87)}html{--mdc-radio-state-layer-size: 40px}html{--mat-radio-touch-target-display: block}html{--mat-radio-label-text-font: Roboto, sans-serif;--mat-radio-label-text-line-height: 20px;--mat-radio-label-text-size: 14px;--mat-radio-label-text-tracking: .0178571429em;--mat-radio-label-text-weight: 400}html{--mdc-slider-active-track-height: 6px;--mdc-slider-active-track-shape: 9999px;--mdc-slider-handle-height: 20px;--mdc-slider-handle-shape: 50%;--mdc-slider-handle-width: 20px;--mdc-slider-inactive-track-height: 4px;--mdc-slider-inactive-track-shape: 9999px;--mdc-slider-with-overlap-handle-outline-width: 1px;--mdc-slider-with-tick-marks-active-container-opacity: .6;--mdc-slider-with-tick-marks-container-shape: 50%;--mdc-slider-with-tick-marks-container-size: 2px;--mdc-slider-with-tick-marks-inactive-container-opacity: .6;--mdc-slider-handle-elevation: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12)}html{--mat-slider-value-indicator-width: auto;--mat-slider-value-indicator-height: 32px;--mat-slider-value-indicator-caret-display: block;--mat-slider-value-indicator-border-radius: 4px;--mat-slider-value-indicator-padding: 0 12px;--mat-slider-value-indicator-text-transform: none;--mat-slider-value-indicator-container-transform: translateX(-50%)}html{--mdc-slider-handle-color: #3f51b5;--mdc-slider-focus-handle-color: #3f51b5;--mdc-slider-hover-handle-color: #3f51b5;--mdc-slider-active-track-color: #3f51b5;--mdc-slider-inactive-track-color: #3f51b5;--mdc-slider-with-tick-marks-inactive-container-color: #3f51b5;--mdc-slider-with-tick-marks-active-container-color: white;--mdc-slider-disabled-active-track-color: #000;--mdc-slider-disabled-handle-color: #000;--mdc-slider-disabled-inactive-track-color: #000;--mdc-slider-label-container-color: #000;--mdc-slider-label-label-text-color: #fff;--mdc-slider-with-overlap-handle-outline-color: #fff;--mdc-slider-with-tick-marks-disabled-container-color: #000}html{--mat-slider-ripple-color: #3f51b5;--mat-slider-hover-state-layer-color: rgba(63, 81, 181, .05);--mat-slider-focus-state-layer-color: rgba(63, 81, 181, .2);--mat-slider-value-indicator-opacity: .6}html .mat-accent{--mdc-slider-handle-color: #ff4081;--mdc-slider-focus-handle-color: #ff4081;--mdc-slider-hover-handle-color: #ff4081;--mdc-slider-active-track-color: #ff4081;--mdc-slider-inactive-track-color: #ff4081;--mdc-slider-with-tick-marks-inactive-container-color: #ff4081;--mdc-slider-with-tick-marks-active-container-color: white}html .mat-accent{--mat-slider-ripple-color: #ff4081;--mat-slider-hover-state-layer-color: rgba(255, 64, 129, .05);--mat-slider-focus-state-layer-color: rgba(255, 64, 129, .2)}html .mat-warn{--mdc-slider-handle-color: #f44336;--mdc-slider-focus-handle-color: #f44336;--mdc-slider-hover-handle-color: #f44336;--mdc-slider-active-track-color: #f44336;--mdc-slider-inactive-track-color: #f44336;--mdc-slider-with-tick-marks-inactive-container-color: #f44336;--mdc-slider-with-tick-marks-active-container-color: white}html .mat-warn{--mat-slider-ripple-color: #f44336;--mat-slider-hover-state-layer-color: rgba(244, 67, 54, .05);--mat-slider-focus-state-layer-color: rgba(244, 67, 54, .2)}html{--mdc-slider-label-label-text-font: Roboto, sans-serif;--mdc-slider-label-label-text-size: 14px;--mdc-slider-label-label-text-line-height: 22px;--mdc-slider-label-label-text-tracking: .0071428571em;--mdc-slider-label-label-text-weight: 500}html{--mat-menu-container-shape: 4px;--mat-menu-divider-bottom-spacing: 0;--mat-menu-divider-top-spacing: 0;--mat-menu-item-spacing: 16px;--mat-menu-item-icon-size: 24px;--mat-menu-item-leading-spacing: 16px;--mat-menu-item-trailing-spacing: 16px;--mat-menu-item-with-icon-leading-spacing: 16px;--mat-menu-item-with-icon-trailing-spacing: 16px;--mat-menu-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12)}html{--mat-menu-item-label-text-color: rgba(0, 0, 0, .87);--mat-menu-item-icon-color: rgba(0, 0, 0, .87);--mat-menu-item-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-menu-item-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-menu-container-color: white;--mat-menu-divider-color: rgba(0, 0, 0, .12)}html{--mat-menu-item-label-text-font: Roboto, sans-serif;--mat-menu-item-label-text-size: 16px;--mat-menu-item-label-text-tracking: .03125em;--mat-menu-item-label-text-line-height: 24px;--mat-menu-item-label-text-weight: 400}html{--mdc-list-list-item-container-shape: 0;--mdc-list-list-item-leading-avatar-shape: 50%;--mdc-list-list-item-container-color: transparent;--mdc-list-list-item-selected-container-color: transparent;--mdc-list-list-item-leading-avatar-color: transparent;--mdc-list-list-item-leading-icon-size: 24px;--mdc-list-list-item-leading-avatar-size: 40px;--mdc-list-list-item-trailing-icon-size: 24px;--mdc-list-list-item-disabled-state-layer-color: transparent;--mdc-list-list-item-disabled-state-layer-opacity: 0;--mdc-list-list-item-disabled-label-text-opacity: .38;--mdc-list-list-item-disabled-leading-icon-opacity: .38;--mdc-list-list-item-disabled-trailing-icon-opacity: .38}html{--mat-list-active-indicator-color: transparent;--mat-list-active-indicator-shape: 4px}html{--mdc-list-list-item-label-text-color: rgba(0, 0, 0, .87);--mdc-list-list-item-supporting-text-color: rgba(0, 0, 0, .54);--mdc-list-list-item-leading-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-trailing-supporting-text-color: rgba(0, 0, 0, .38);--mdc-list-list-item-trailing-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-selected-trailing-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-disabled-label-text-color: black;--mdc-list-list-item-disabled-leading-icon-color: black;--mdc-list-list-item-disabled-trailing-icon-color: black;--mdc-list-list-item-hover-label-text-color: rgba(0, 0, 0, .87);--mdc-list-list-item-hover-leading-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-hover-trailing-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-focus-label-text-color: rgba(0, 0, 0, .87);--mdc-list-list-item-hover-state-layer-color: black;--mdc-list-list-item-hover-state-layer-opacity: .04;--mdc-list-list-item-focus-state-layer-color: black;--mdc-list-list-item-focus-state-layer-opacity: .12}.mdc-list-item__start,.mdc-list-item__end{--mdc-radio-disabled-selected-icon-color: black;--mdc-radio-disabled-unselected-icon-color: black;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-focus-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #3f51b5;--mdc-radio-selected-hover-icon-color: #3f51b5;--mdc-radio-selected-icon-color: #3f51b5;--mdc-radio-selected-pressed-icon-color: #3f51b5}.mat-accent .mdc-list-item__start,.mat-accent .mdc-list-item__end{--mdc-radio-disabled-selected-icon-color: black;--mdc-radio-disabled-unselected-icon-color: black;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-focus-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #ff4081;--mdc-radio-selected-hover-icon-color: #ff4081;--mdc-radio-selected-icon-color: #ff4081;--mdc-radio-selected-pressed-icon-color: #ff4081}.mat-warn .mdc-list-item__start,.mat-warn .mdc-list-item__end{--mdc-radio-disabled-selected-icon-color: black;--mdc-radio-disabled-unselected-icon-color: black;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-focus-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #f44336;--mdc-radio-selected-hover-icon-color: #f44336;--mdc-radio-selected-icon-color: #f44336;--mdc-radio-selected-pressed-icon-color: #f44336}.mat-mdc-list-option{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #3f51b5;--mdc-checkbox-selected-hover-icon-color: #3f51b5;--mdc-checkbox-selected-icon-color: #3f51b5;--mdc-checkbox-selected-pressed-icon-color: #3f51b5;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #3f51b5;--mdc-checkbox-selected-hover-state-layer-color: #3f51b5;--mdc-checkbox-selected-pressed-state-layer-color: #3f51b5;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-list-option.mat-accent{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #ff4081;--mdc-checkbox-selected-hover-icon-color: #ff4081;--mdc-checkbox-selected-icon-color: #ff4081;--mdc-checkbox-selected-pressed-icon-color: #ff4081;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #ff4081;--mdc-checkbox-selected-hover-state-layer-color: #ff4081;--mdc-checkbox-selected-pressed-state-layer-color: #ff4081;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-list-option.mat-warn{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #f44336;--mdc-checkbox-selected-hover-icon-color: #f44336;--mdc-checkbox-selected-icon-color: #f44336;--mdc-checkbox-selected-pressed-icon-color: #f44336;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #f44336;--mdc-checkbox-selected-hover-state-layer-color: #f44336;--mdc-checkbox-selected-pressed-state-layer-color: #f44336;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--selected .mdc-list-item__primary-text,.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--selected .mdc-list-item__start,.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--activated .mdc-list-item__primary-text,.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--activated .mdc-list-item__start{color:#3f51b5}.mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__start,.mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__content,.mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__end{opacity:1}html{--mdc-list-list-item-one-line-container-height: 48px;--mdc-list-list-item-two-line-container-height: 64px;--mdc-list-list-item-three-line-container-height: 88px}html{--mat-list-list-item-leading-icon-start-space: 16px;--mat-list-list-item-leading-icon-end-space: 32px}.mdc-list-item__start,.mdc-list-item__end{--mdc-radio-state-layer-size: 40px}.mat-mdc-list-item.mdc-list-item--with-leading-avatar.mdc-list-item--with-one-line,.mat-mdc-list-item.mdc-list-item--with-leading-checkbox.mdc-list-item--with-one-line,.mat-mdc-list-item.mdc-list-item--with-leading-icon.mdc-list-item--with-one-line{height:56px}.mat-mdc-list-item.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines,.mat-mdc-list-item.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines,.mat-mdc-list-item.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines{height:72px}html{--mdc-list-list-item-label-text-font: Roboto, sans-serif;--mdc-list-list-item-label-text-line-height: 24px;--mdc-list-list-item-label-text-size: 16px;--mdc-list-list-item-label-text-tracking: .03125em;--mdc-list-list-item-label-text-weight: 400;--mdc-list-list-item-supporting-text-font: Roboto, sans-serif;--mdc-list-list-item-supporting-text-line-height: 20px;--mdc-list-list-item-supporting-text-size: 14px;--mdc-list-list-item-supporting-text-tracking: .0178571429em;--mdc-list-list-item-supporting-text-weight: 400;--mdc-list-list-item-trailing-supporting-text-font: Roboto, sans-serif;--mdc-list-list-item-trailing-supporting-text-line-height: 20px;--mdc-list-list-item-trailing-supporting-text-size: 12px;--mdc-list-list-item-trailing-supporting-text-tracking: .0333333333em;--mdc-list-list-item-trailing-supporting-text-weight: 400}.mdc-list-group__subheader{font:400 16px/28px Roboto,sans-serif;letter-spacing:.009375em}html{--mat-paginator-container-text-color: rgba(0, 0, 0, .87);--mat-paginator-container-background-color: white;--mat-paginator-enabled-icon-color: rgba(0, 0, 0, .54);--mat-paginator-disabled-icon-color: rgba(0, 0, 0, .12)}html{--mat-paginator-container-size: 56px;--mat-paginator-form-field-container-height: 40px;--mat-paginator-form-field-container-vertical-padding: 8px;--mat-paginator-touch-target-display: block}html{--mat-paginator-container-text-font: Roboto, sans-serif;--mat-paginator-container-text-line-height: 20px;--mat-paginator-container-text-size: 12px;--mat-paginator-container-text-tracking: .0333333333em;--mat-paginator-container-text-weight: 400;--mat-paginator-select-trigger-text-size: 12px}html{--mdc-secondary-navigation-tab-container-height: 48px}html{--mdc-tab-indicator-active-indicator-height: 2px;--mdc-tab-indicator-active-indicator-shape: 0}html{--mat-tab-header-divider-color: transparent;--mat-tab-header-divider-height: 0}.mat-mdc-tab-group,.mat-mdc-tab-nav-bar{--mdc-tab-indicator-active-indicator-color: #3f51b5}.mat-mdc-tab-group,.mat-mdc-tab-nav-bar{--mat-tab-header-disabled-ripple-color: rgba(0, 0, 0, .38);--mat-tab-header-pagination-icon-color: black;--mat-tab-header-inactive-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-label-text-color: #3f51b5;--mat-tab-header-active-ripple-color: #3f51b5;--mat-tab-header-inactive-ripple-color: #3f51b5;--mat-tab-header-inactive-focus-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-focus-label-text-color: #3f51b5;--mat-tab-header-active-hover-label-text-color: #3f51b5;--mat-tab-header-active-focus-indicator-color: #3f51b5;--mat-tab-header-active-hover-indicator-color: #3f51b5}.mat-mdc-tab-group.mat-accent,.mat-mdc-tab-nav-bar.mat-accent{--mdc-tab-indicator-active-indicator-color: #ff4081}.mat-mdc-tab-group.mat-accent,.mat-mdc-tab-nav-bar.mat-accent{--mat-tab-header-disabled-ripple-color: rgba(0, 0, 0, .38);--mat-tab-header-pagination-icon-color: black;--mat-tab-header-inactive-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-label-text-color: #ff4081;--mat-tab-header-active-ripple-color: #ff4081;--mat-tab-header-inactive-ripple-color: #ff4081;--mat-tab-header-inactive-focus-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-focus-label-text-color: #ff4081;--mat-tab-header-active-hover-label-text-color: #ff4081;--mat-tab-header-active-focus-indicator-color: #ff4081;--mat-tab-header-active-hover-indicator-color: #ff4081}.mat-mdc-tab-group.mat-warn,.mat-mdc-tab-nav-bar.mat-warn{--mdc-tab-indicator-active-indicator-color: #f44336}.mat-mdc-tab-group.mat-warn,.mat-mdc-tab-nav-bar.mat-warn{--mat-tab-header-disabled-ripple-color: rgba(0, 0, 0, .38);--mat-tab-header-pagination-icon-color: black;--mat-tab-header-inactive-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-label-text-color: #f44336;--mat-tab-header-active-ripple-color: #f44336;--mat-tab-header-inactive-ripple-color: #f44336;--mat-tab-header-inactive-focus-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-focus-label-text-color: #f44336;--mat-tab-header-active-hover-label-text-color: #f44336;--mat-tab-header-active-focus-indicator-color: #f44336;--mat-tab-header-active-hover-indicator-color: #f44336}.mat-mdc-tab-group.mat-background-primary,.mat-mdc-tab-nav-bar.mat-background-primary{--mat-tab-header-with-background-background-color: #3f51b5;--mat-tab-header-with-background-foreground-color: white}.mat-mdc-tab-group.mat-background-accent,.mat-mdc-tab-nav-bar.mat-background-accent{--mat-tab-header-with-background-background-color: #ff4081;--mat-tab-header-with-background-foreground-color: white}.mat-mdc-tab-group.mat-background-warn,.mat-mdc-tab-nav-bar.mat-background-warn{--mat-tab-header-with-background-background-color: #f44336;--mat-tab-header-with-background-foreground-color: white}.mat-mdc-tab-header{--mdc-secondary-navigation-tab-container-height: 48px}.mat-mdc-tab-header{--mat-tab-header-label-text-font: Roboto, sans-serif;--mat-tab-header-label-text-size: 14px;--mat-tab-header-label-text-tracking: .0892857143em;--mat-tab-header-label-text-line-height: 36px;--mat-tab-header-label-text-weight: 500}html{--mdc-checkbox-disabled-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-state-layer-opacity: .16;--mdc-checkbox-selected-hover-state-layer-opacity: .04;--mdc-checkbox-selected-pressed-state-layer-opacity: .16;--mdc-checkbox-unselected-focus-state-layer-opacity: .16;--mdc-checkbox-unselected-hover-state-layer-opacity: .04;--mdc-checkbox-unselected-pressed-state-layer-opacity: .16}html{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #ff4081;--mdc-checkbox-selected-hover-icon-color: #ff4081;--mdc-checkbox-selected-icon-color: #ff4081;--mdc-checkbox-selected-pressed-icon-color: #ff4081;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #ff4081;--mdc-checkbox-selected-hover-state-layer-color: #ff4081;--mdc-checkbox-selected-pressed-state-layer-color: #ff4081;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}html{--mat-checkbox-disabled-label-color: rgba(0, 0, 0, .38);--mat-checkbox-label-text-color: rgba(0, 0, 0, .87)}.mat-mdc-checkbox.mat-primary{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #3f51b5;--mdc-checkbox-selected-hover-icon-color: #3f51b5;--mdc-checkbox-selected-icon-color: #3f51b5;--mdc-checkbox-selected-pressed-icon-color: #3f51b5;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #3f51b5;--mdc-checkbox-selected-hover-state-layer-color: #3f51b5;--mdc-checkbox-selected-pressed-state-layer-color: #3f51b5;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-checkbox.mat-warn{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #f44336;--mdc-checkbox-selected-hover-icon-color: #f44336;--mdc-checkbox-selected-icon-color: #f44336;--mdc-checkbox-selected-pressed-icon-color: #f44336;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #f44336;--mdc-checkbox-selected-hover-state-layer-color: #f44336;--mdc-checkbox-selected-pressed-state-layer-color: #f44336;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}html{--mdc-checkbox-state-layer-size: 40px}html{--mat-checkbox-touch-target-display: block}html{--mat-checkbox-label-text-font: Roboto, sans-serif;--mat-checkbox-label-text-line-height: 20px;--mat-checkbox-label-text-size: 14px;--mat-checkbox-label-text-tracking: .0178571429em;--mat-checkbox-label-text-weight: 400}html{--mdc-text-button-container-shape: 4px;--mdc-text-button-keep-touch-target: false}html{--mdc-filled-button-container-shape: 4px;--mdc-filled-button-keep-touch-target: false}html{--mdc-protected-button-container-shape: 4px;--mdc-protected-button-container-elevation-shadow: 0px 3px 1px -2px rgba(0, 0, 0, .2), 0px 2px 2px 0px rgba(0, 0, 0, .14), 0px 1px 5px 0px rgba(0, 0, 0, .12);--mdc-protected-button-disabled-container-elevation-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mdc-protected-button-focus-container-elevation-shadow: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mdc-protected-button-hover-container-elevation-shadow: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mdc-protected-button-pressed-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12)}html{--mdc-outlined-button-keep-touch-target: false;--mdc-outlined-button-outline-width: 1px;--mdc-outlined-button-container-shape: 4px}html{--mat-text-button-horizontal-padding: 8px;--mat-text-button-with-icon-horizontal-padding: 8px;--mat-text-button-icon-spacing: 8px;--mat-text-button-icon-offset: 0}html{--mat-filled-button-horizontal-padding: 16px;--mat-filled-button-icon-spacing: 8px;--mat-filled-button-icon-offset: -4px}html{--mat-protected-button-horizontal-padding: 16px;--mat-protected-button-icon-spacing: 8px;--mat-protected-button-icon-offset: -4px}html{--mat-outlined-button-horizontal-padding: 15px;--mat-outlined-button-icon-spacing: 8px;--mat-outlined-button-icon-offset: -4px}html{--mdc-text-button-label-text-color: black;--mdc-text-button-disabled-label-text-color: rgba(0, 0, 0, .38)}html{--mat-text-button-state-layer-color: black;--mat-text-button-disabled-state-layer-color: black;--mat-text-button-ripple-color: rgba(0, 0, 0, .1);--mat-text-button-hover-state-layer-opacity: .04;--mat-text-button-focus-state-layer-opacity: .12;--mat-text-button-pressed-state-layer-opacity: .12}html{--mdc-filled-button-container-color: white;--mdc-filled-button-label-text-color: black;--mdc-filled-button-disabled-container-color: rgba(0, 0, 0, .12);--mdc-filled-button-disabled-label-text-color: rgba(0, 0, 0, .38)}html{--mat-filled-button-state-layer-color: black;--mat-filled-button-disabled-state-layer-color: black;--mat-filled-button-ripple-color: rgba(0, 0, 0, .1);--mat-filled-button-hover-state-layer-opacity: .04;--mat-filled-button-focus-state-layer-opacity: .12;--mat-filled-button-pressed-state-layer-opacity: .12}html{--mdc-protected-button-container-color: white;--mdc-protected-button-label-text-color: black;--mdc-protected-button-disabled-container-color: rgba(0, 0, 0, .12);--mdc-protected-button-disabled-label-text-color: rgba(0, 0, 0, .38)}html{--mat-protected-button-state-layer-color: black;--mat-protected-button-disabled-state-layer-color: black;--mat-protected-button-ripple-color: rgba(0, 0, 0, .1);--mat-protected-button-hover-state-layer-opacity: .04;--mat-protected-button-focus-state-layer-opacity: .12;--mat-protected-button-pressed-state-layer-opacity: .12}html{--mdc-outlined-button-disabled-outline-color: rgba(0, 0, 0, .12);--mdc-outlined-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-outlined-button-label-text-color: black;--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12)}html{--mat-outlined-button-state-layer-color: black;--mat-outlined-button-disabled-state-layer-color: black;--mat-outlined-button-ripple-color: rgba(0, 0, 0, .1);--mat-outlined-button-hover-state-layer-opacity: .04;--mat-outlined-button-focus-state-layer-opacity: .12;--mat-outlined-button-pressed-state-layer-opacity: .12}.mat-mdc-button.mat-primary{--mdc-text-button-label-text-color: #3f51b5}.mat-mdc-button.mat-primary{--mat-text-button-state-layer-color: #3f51b5;--mat-text-button-ripple-color: rgba(63, 81, 181, .1)}.mat-mdc-button.mat-accent{--mdc-text-button-label-text-color: #ff4081}.mat-mdc-button.mat-accent{--mat-text-button-state-layer-color: #ff4081;--mat-text-button-ripple-color: rgba(255, 64, 129, .1)}.mat-mdc-button.mat-warn{--mdc-text-button-label-text-color: #f44336}.mat-mdc-button.mat-warn{--mat-text-button-state-layer-color: #f44336;--mat-text-button-ripple-color: rgba(244, 67, 54, .1)}.mat-mdc-unelevated-button.mat-primary{--mdc-filled-button-container-color: #3f51b5;--mdc-filled-button-label-text-color: white}.mat-mdc-unelevated-button.mat-primary{--mat-filled-button-state-layer-color: white;--mat-filled-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-unelevated-button.mat-accent{--mdc-filled-button-container-color: #ff4081;--mdc-filled-button-label-text-color: white}.mat-mdc-unelevated-button.mat-accent{--mat-filled-button-state-layer-color: white;--mat-filled-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-unelevated-button.mat-warn{--mdc-filled-button-container-color: #f44336;--mdc-filled-button-label-text-color: white}.mat-mdc-unelevated-button.mat-warn{--mat-filled-button-state-layer-color: white;--mat-filled-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-raised-button.mat-primary{--mdc-protected-button-container-color: #3f51b5;--mdc-protected-button-label-text-color: white}.mat-mdc-raised-button.mat-primary{--mat-protected-button-state-layer-color: white;--mat-protected-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-raised-button.mat-accent{--mdc-protected-button-container-color: #ff4081;--mdc-protected-button-label-text-color: white}.mat-mdc-raised-button.mat-accent{--mat-protected-button-state-layer-color: white;--mat-protected-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-raised-button.mat-warn{--mdc-protected-button-container-color: #f44336;--mdc-protected-button-label-text-color: white}.mat-mdc-raised-button.mat-warn{--mat-protected-button-state-layer-color: white;--mat-protected-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-outlined-button.mat-primary{--mdc-outlined-button-label-text-color: #3f51b5;--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12)}.mat-mdc-outlined-button.mat-primary{--mat-outlined-button-state-layer-color: #3f51b5;--mat-outlined-button-ripple-color: rgba(63, 81, 181, .1)}.mat-mdc-outlined-button.mat-accent{--mdc-outlined-button-label-text-color: #ff4081;--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12)}.mat-mdc-outlined-button.mat-accent{--mat-outlined-button-state-layer-color: #ff4081;--mat-outlined-button-ripple-color: rgba(255, 64, 129, .1)}.mat-mdc-outlined-button.mat-warn{--mdc-outlined-button-label-text-color: #f44336;--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12)}.mat-mdc-outlined-button.mat-warn{--mat-outlined-button-state-layer-color: #f44336;--mat-outlined-button-ripple-color: rgba(244, 67, 54, .1)}html{--mdc-text-button-container-height: 36px}html{--mdc-filled-button-container-height: 36px}html{--mdc-protected-button-container-height: 36px}html{--mdc-outlined-button-container-height: 36px}html{--mat-text-button-touch-target-display: block}html{--mat-filled-button-touch-target-display: block}html{--mat-protected-button-touch-target-display: block}html{--mat-outlined-button-touch-target-display: block}html{--mdc-text-button-label-text-font: Roboto, sans-serif;--mdc-text-button-label-text-size: 14px;--mdc-text-button-label-text-tracking: .0892857143em;--mdc-text-button-label-text-weight: 500;--mdc-text-button-label-text-transform: none}html{--mdc-filled-button-label-text-font: Roboto, sans-serif;--mdc-filled-button-label-text-size: 14px;--mdc-filled-button-label-text-tracking: .0892857143em;--mdc-filled-button-label-text-weight: 500;--mdc-filled-button-label-text-transform: none}html{--mdc-protected-button-label-text-font: Roboto, sans-serif;--mdc-protected-button-label-text-size: 14px;--mdc-protected-button-label-text-tracking: .0892857143em;--mdc-protected-button-label-text-weight: 500;--mdc-protected-button-label-text-transform: none}html{--mdc-outlined-button-label-text-font: Roboto, sans-serif;--mdc-outlined-button-label-text-size: 14px;--mdc-outlined-button-label-text-tracking: .0892857143em;--mdc-outlined-button-label-text-weight: 500;--mdc-outlined-button-label-text-transform: none}html{--mdc-icon-button-icon-size: 24px}html{--mdc-icon-button-icon-color: inherit;--mdc-icon-button-disabled-icon-color: rgba(0, 0, 0, .38)}html{--mat-icon-button-state-layer-color: black;--mat-icon-button-disabled-state-layer-color: black;--mat-icon-button-ripple-color: rgba(0, 0, 0, .1);--mat-icon-button-hover-state-layer-opacity: .04;--mat-icon-button-focus-state-layer-opacity: .12;--mat-icon-button-pressed-state-layer-opacity: .12}html .mat-mdc-icon-button.mat-primary{--mdc-icon-button-icon-color: #3f51b5}html .mat-mdc-icon-button.mat-primary{--mat-icon-button-state-layer-color: #3f51b5;--mat-icon-button-ripple-color: rgba(63, 81, 181, .1)}html .mat-mdc-icon-button.mat-accent{--mdc-icon-button-icon-color: #ff4081}html .mat-mdc-icon-button.mat-accent{--mat-icon-button-state-layer-color: #ff4081;--mat-icon-button-ripple-color: rgba(255, 64, 129, .1)}html .mat-mdc-icon-button.mat-warn{--mdc-icon-button-icon-color: #f44336}html .mat-mdc-icon-button.mat-warn{--mat-icon-button-state-layer-color: #f44336;--mat-icon-button-ripple-color: rgba(244, 67, 54, .1)}html{--mat-icon-button-touch-target-display: block}.mat-mdc-icon-button.mat-mdc-button-base{--mdc-icon-button-state-layer-size: 48px;width:var(--mdc-icon-button-state-layer-size);height:var(--mdc-icon-button-state-layer-size);padding:12px}html{--mdc-fab-container-shape: 50%;--mdc-fab-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-focus-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-pressed-container-elevation-shadow: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12)}html{--mdc-fab-small-container-shape: 50%;--mdc-fab-small-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-small-focus-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-small-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-small-pressed-container-elevation-shadow: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12)}html{--mdc-extended-fab-container-height: 48px;--mdc-extended-fab-container-shape: 24px;--mdc-extended-fab-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-extended-fab-focus-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-extended-fab-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-extended-fab-pressed-container-elevation-shadow: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12)}html{--mdc-fab-container-color: white}html{--mat-fab-foreground-color: black;--mat-fab-state-layer-color: black;--mat-fab-disabled-state-layer-color: black;--mat-fab-ripple-color: rgba(0, 0, 0, .1);--mat-fab-hover-state-layer-opacity: .04;--mat-fab-focus-state-layer-opacity: .12;--mat-fab-pressed-state-layer-opacity: .12;--mat-fab-disabled-state-container-color: rgba(0, 0, 0, .12);--mat-fab-disabled-state-foreground-color: rgba(0, 0, 0, .38)}html{--mdc-fab-small-container-color: white}html{--mat-fab-small-foreground-color: black;--mat-fab-small-state-layer-color: black;--mat-fab-small-disabled-state-layer-color: black;--mat-fab-small-ripple-color: rgba(0, 0, 0, .1);--mat-fab-small-hover-state-layer-opacity: .04;--mat-fab-small-focus-state-layer-opacity: .12;--mat-fab-small-pressed-state-layer-opacity: .12;--mat-fab-small-disabled-state-container-color: rgba(0, 0, 0, .12);--mat-fab-small-disabled-state-foreground-color: rgba(0, 0, 0, .38)}html .mat-mdc-fab.mat-primary{--mdc-fab-container-color: #3f51b5}html .mat-mdc-fab.mat-primary{--mat-fab-foreground-color: white;--mat-fab-state-layer-color: white;--mat-fab-ripple-color: rgba(255, 255, 255, .1)}html .mat-mdc-fab.mat-accent{--mdc-fab-container-color: #ff4081}html .mat-mdc-fab.mat-accent{--mat-fab-foreground-color: white;--mat-fab-state-layer-color: white;--mat-fab-ripple-color: rgba(255, 255, 255, .1)}html .mat-mdc-fab.mat-warn{--mdc-fab-container-color: #f44336}html .mat-mdc-fab.mat-warn{--mat-fab-foreground-color: white;--mat-fab-state-layer-color: white;--mat-fab-ripple-color: rgba(255, 255, 255, .1)}html .mat-mdc-mini-fab.mat-primary{--mdc-fab-small-container-color: #3f51b5}html .mat-mdc-mini-fab.mat-primary{--mat-fab-small-foreground-color: white;--mat-fab-small-state-layer-color: white;--mat-fab-small-ripple-color: rgba(255, 255, 255, .1)}html .mat-mdc-mini-fab.mat-accent{--mdc-fab-small-container-color: #ff4081}html .mat-mdc-mini-fab.mat-accent{--mat-fab-small-foreground-color: white;--mat-fab-small-state-layer-color: white;--mat-fab-small-ripple-color: rgba(255, 255, 255, .1)}html .mat-mdc-mini-fab.mat-warn{--mdc-fab-small-container-color: #f44336}html .mat-mdc-mini-fab.mat-warn{--mat-fab-small-foreground-color: white;--mat-fab-small-state-layer-color: white;--mat-fab-small-ripple-color: rgba(255, 255, 255, .1)}html{--mat-fab-touch-target-display: block}html{--mat-fab-small-touch-target-display: block}html{--mdc-extended-fab-label-text-font: Roboto, sans-serif;--mdc-extended-fab-label-text-size: 14px;--mdc-extended-fab-label-text-tracking: .0892857143em;--mdc-extended-fab-label-text-weight: 500}html{--mdc-snackbar-container-shape: 4px}html{--mdc-snackbar-container-color: #333333;--mdc-snackbar-supporting-text-color: rgba(255, 255, 255, .87)}html{--mat-snack-bar-button-color: #ff4081}html{--mdc-snackbar-supporting-text-font: Roboto, sans-serif;--mdc-snackbar-supporting-text-line-height: 20px;--mdc-snackbar-supporting-text-size: 14px;--mdc-snackbar-supporting-text-weight: 400}html{--mat-table-row-item-outline-width: 1px}html{--mat-table-background-color: white;--mat-table-header-headline-color: rgba(0, 0, 0, .87);--mat-table-row-item-label-text-color: rgba(0, 0, 0, .87);--mat-table-row-item-outline-color: rgba(0, 0, 0, .12)}html{--mat-table-header-container-height: 56px;--mat-table-footer-container-height: 52px;--mat-table-row-item-container-height: 52px}html{--mat-table-header-headline-font: Roboto, sans-serif;--mat-table-header-headline-line-height: 22px;--mat-table-header-headline-size: 14px;--mat-table-header-headline-weight: 500;--mat-table-header-headline-tracking: .0071428571em;--mat-table-row-item-label-text-font: Roboto, sans-serif;--mat-table-row-item-label-text-line-height: 20px;--mat-table-row-item-label-text-size: 14px;--mat-table-row-item-label-text-weight: 400;--mat-table-row-item-label-text-tracking: .0178571429em;--mat-table-footer-supporting-text-font: Roboto, sans-serif;--mat-table-footer-supporting-text-line-height: 20px;--mat-table-footer-supporting-text-size: 14px;--mat-table-footer-supporting-text-weight: 400;--mat-table-footer-supporting-text-tracking: .0178571429em}html{--mdc-circular-progress-active-indicator-width: 4px;--mdc-circular-progress-size: 48px}html{--mdc-circular-progress-active-indicator-color: #3f51b5}html .mat-accent{--mdc-circular-progress-active-indicator-color: #ff4081}html .mat-warn{--mdc-circular-progress-active-indicator-color: #f44336}html{--mat-badge-container-shape: 50%;--mat-badge-container-size: unset;--mat-badge-small-size-container-size: unset;--mat-badge-large-size-container-size: unset;--mat-badge-legacy-container-size: 22px;--mat-badge-legacy-small-size-container-size: 16px;--mat-badge-legacy-large-size-container-size: 28px;--mat-badge-container-offset: -11px 0;--mat-badge-small-size-container-offset: -8px 0;--mat-badge-large-size-container-offset: -14px 0;--mat-badge-container-overlap-offset: -11px;--mat-badge-small-size-container-overlap-offset: -8px;--mat-badge-large-size-container-overlap-offset: -14px;--mat-badge-container-padding: 0;--mat-badge-small-size-container-padding: 0;--mat-badge-large-size-container-padding: 0}html{--mat-badge-background-color: #3f51b5;--mat-badge-text-color: white;--mat-badge-disabled-state-background-color: #b9b9b9;--mat-badge-disabled-state-text-color: rgba(0, 0, 0, .38)}.mat-badge-accent{--mat-badge-background-color: #ff4081;--mat-badge-text-color: white}.mat-badge-warn{--mat-badge-background-color: #f44336;--mat-badge-text-color: white}html{--mat-badge-text-font: Roboto, sans-serif;--mat-badge-line-height: 22px;--mat-badge-text-size: 12px;--mat-badge-text-weight: 600;--mat-badge-small-size-text-size: 9px;--mat-badge-small-size-line-height: 16px;--mat-badge-large-size-text-size: 24px;--mat-badge-large-size-line-height: 28px}html{--mat-bottom-sheet-container-shape: 4px}html{--mat-bottom-sheet-container-text-color: rgba(0, 0, 0, .87);--mat-bottom-sheet-container-background-color: white}html{--mat-bottom-sheet-container-text-font: Roboto, sans-serif;--mat-bottom-sheet-container-text-line-height: 20px;--mat-bottom-sheet-container-text-size: 14px;--mat-bottom-sheet-container-text-tracking: .0178571429em;--mat-bottom-sheet-container-text-weight: 400}html{--mat-legacy-button-toggle-height: 36px;--mat-legacy-button-toggle-shape: 2px;--mat-legacy-button-toggle-focus-state-layer-opacity: 1}html{--mat-standard-button-toggle-shape: 4px;--mat-standard-button-toggle-hover-state-layer-opacity: .04;--mat-standard-button-toggle-focus-state-layer-opacity: .12}html{--mat-legacy-button-toggle-text-color: rgba(0, 0, 0, .38);--mat-legacy-button-toggle-state-layer-color: rgba(0, 0, 0, .12);--mat-legacy-button-toggle-selected-state-text-color: rgba(0, 0, 0, .54);--mat-legacy-button-toggle-selected-state-background-color: #e0e0e0;--mat-legacy-button-toggle-disabled-state-text-color: rgba(0, 0, 0, .26);--mat-legacy-button-toggle-disabled-state-background-color: #eeeeee;--mat-legacy-button-toggle-disabled-selected-state-background-color: #bdbdbd}html{--mat-standard-button-toggle-text-color: rgba(0, 0, 0, .87);--mat-standard-button-toggle-background-color: white;--mat-standard-button-toggle-state-layer-color: black;--mat-standard-button-toggle-selected-state-background-color: #e0e0e0;--mat-standard-button-toggle-selected-state-text-color: rgba(0, 0, 0, .87);--mat-standard-button-toggle-disabled-state-text-color: rgba(0, 0, 0, .26);--mat-standard-button-toggle-disabled-state-background-color: white;--mat-standard-button-toggle-disabled-selected-state-text-color: rgba(0, 0, 0, .87);--mat-standard-button-toggle-disabled-selected-state-background-color: #bdbdbd;--mat-standard-button-toggle-divider-color: rgb(224.4, 224.4, 224.4)}html{--mat-standard-button-toggle-height: 48px}html{--mat-legacy-button-toggle-label-text-font: Roboto, sans-serif;--mat-legacy-button-toggle-label-text-line-height: 24px;--mat-legacy-button-toggle-label-text-size: 16px;--mat-legacy-button-toggle-label-text-tracking: .03125em;--mat-legacy-button-toggle-label-text-weight: 400}html{--mat-standard-button-toggle-label-text-font: Roboto, sans-serif;--mat-standard-button-toggle-label-text-line-height: 24px;--mat-standard-button-toggle-label-text-size: 16px;--mat-standard-button-toggle-label-text-tracking: .03125em;--mat-standard-button-toggle-label-text-weight: 400}html{--mat-datepicker-calendar-container-shape: 4px;--mat-datepicker-calendar-container-touch-shape: 4px;--mat-datepicker-calendar-container-elevation-shadow: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mat-datepicker-calendar-container-touch-elevation-shadow: 0px 11px 15px -7px rgba(0, 0, 0, .2), 0px 24px 38px 3px rgba(0, 0, 0, .14), 0px 9px 46px 8px rgba(0, 0, 0, .12)}html{--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #3f51b5;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(63, 81, 181, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: rgba(63, 81, 181, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(63, 81, 181, .3);--mat-datepicker-toggle-active-state-icon-color: #3f51b5;--mat-datepicker-calendar-date-in-range-state-background-color: rgba(63, 81, 181, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: rgb(69.5241935484, 163.4758064516, 93.9516129032);--mat-datepicker-toggle-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-body-label-text-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-period-button-text-color: black;--mat-datepicker-calendar-period-button-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-navigation-button-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-header-divider-color: rgba(0, 0, 0, .12);--mat-datepicker-calendar-header-text-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-date-today-outline-color: rgba(0, 0, 0, .38);--mat-datepicker-calendar-date-today-disabled-state-outline-color: rgba(0, 0, 0, .18);--mat-datepicker-calendar-date-text-color: rgba(0, 0, 0, .87);--mat-datepicker-calendar-date-outline-color: transparent;--mat-datepicker-calendar-date-disabled-state-text-color: rgba(0, 0, 0, .38);--mat-datepicker-calendar-date-preview-state-outline-color: rgba(0, 0, 0, .24);--mat-datepicker-range-input-separator-color: rgba(0, 0, 0, .87);--mat-datepicker-range-input-disabled-state-separator-color: rgba(0, 0, 0, .38);--mat-datepicker-range-input-disabled-state-text-color: rgba(0, 0, 0, .38);--mat-datepicker-calendar-container-background-color: white;--mat-datepicker-calendar-container-text-color: rgba(0, 0, 0, .87)}.mat-datepicker-content.mat-accent{--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #ff4081;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(255, 64, 129, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: rgba(255, 64, 129, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(255, 64, 129, .3);--mat-datepicker-calendar-date-in-range-state-background-color: rgba(255, 64, 129, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: rgb(69.5241935484, 163.4758064516, 93.9516129032)}.mat-datepicker-content.mat-warn{--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #f44336;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(244, 67, 54, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: rgba(244, 67, 54, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(244, 67, 54, .3);--mat-datepicker-calendar-date-in-range-state-background-color: rgba(244, 67, 54, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: rgb(69.5241935484, 163.4758064516, 93.9516129032)}.mat-datepicker-toggle-active.mat-accent{--mat-datepicker-toggle-active-state-icon-color: #ff4081}.mat-datepicker-toggle-active.mat-warn{--mat-datepicker-toggle-active-state-icon-color: #f44336}.mat-calendar-controls{--mat-icon-button-touch-target-display: none}.mat-calendar-controls .mat-mdc-icon-button.mat-mdc-button-base{--mdc-icon-button-state-layer-size: 40px;width:var(--mdc-icon-button-state-layer-size);height:var(--mdc-icon-button-state-layer-size);padding:8px}html{--mat-datepicker-calendar-text-font: Roboto, sans-serif;--mat-datepicker-calendar-text-size: 13px;--mat-datepicker-calendar-body-label-text-size: 14px;--mat-datepicker-calendar-body-label-text-weight: 500;--mat-datepicker-calendar-period-button-text-size: 14px;--mat-datepicker-calendar-period-button-text-weight: 500;--mat-datepicker-calendar-header-text-size: 11px;--mat-datepicker-calendar-header-text-weight: 400}html{--mat-divider-width: 1px}html{--mat-divider-color: rgba(0, 0, 0, .12)}html{--mat-expansion-container-shape: 4px;--mat-expansion-legacy-header-indicator-display: inline-block;--mat-expansion-header-indicator-display: none}html{--mat-expansion-container-background-color: white;--mat-expansion-container-text-color: rgba(0, 0, 0, .87);--mat-expansion-actions-divider-color: rgba(0, 0, 0, .12);--mat-expansion-header-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-expansion-header-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-expansion-header-disabled-state-text-color: rgba(0, 0, 0, .26);--mat-expansion-header-text-color: rgba(0, 0, 0, .87);--mat-expansion-header-description-color: rgba(0, 0, 0, .54);--mat-expansion-header-indicator-color: rgba(0, 0, 0, .54)}html{--mat-expansion-header-collapsed-state-height: 48px;--mat-expansion-header-expanded-state-height: 64px}html{--mat-expansion-header-text-font: Roboto, sans-serif;--mat-expansion-header-text-size: 14px;--mat-expansion-header-text-weight: 500;--mat-expansion-header-text-line-height: inherit;--mat-expansion-header-text-tracking: inherit;--mat-expansion-container-text-font: Roboto, sans-serif;--mat-expansion-container-text-line-height: 20px;--mat-expansion-container-text-size: 14px;--mat-expansion-container-text-tracking: .0178571429em;--mat-expansion-container-text-weight: 400}html{--mat-grid-list-tile-header-primary-text-size: 14px;--mat-grid-list-tile-header-secondary-text-size: 12px;--mat-grid-list-tile-footer-primary-text-size: 14px;--mat-grid-list-tile-footer-secondary-text-size: 12px}html{--mat-icon-color: inherit}.mat-icon.mat-primary{--mat-icon-color: #3f51b5}.mat-icon.mat-accent{--mat-icon-color: #ff4081}.mat-icon.mat-warn{--mat-icon-color: #f44336}html{--mat-sidenav-container-shape: 0;--mat-sidenav-container-elevation-shadow: 0px 8px 10px -5px rgba(0, 0, 0, .2), 0px 16px 24px 2px rgba(0, 0, 0, .14), 0px 6px 30px 5px rgba(0, 0, 0, .12);--mat-sidenav-container-width: auto}html{--mat-sidenav-container-divider-color: rgba(0, 0, 0, .12);--mat-sidenav-container-background-color: white;--mat-sidenav-container-text-color: rgba(0, 0, 0, .87);--mat-sidenav-content-background-color: #fafafa;--mat-sidenav-content-text-color: rgba(0, 0, 0, .87);--mat-sidenav-scrim-color: rgba(0, 0, 0, .6)}html{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #3f51b5;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #3f51b5;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #3f51b5;--mat-stepper-header-edit-state-icon-foreground-color: white;--mat-stepper-container-color: white;--mat-stepper-line-color: rgba(0, 0, 0, .12);--mat-stepper-header-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-stepper-header-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-stepper-header-label-text-color: rgba(0, 0, 0, .54);--mat-stepper-header-optional-label-text-color: rgba(0, 0, 0, .54);--mat-stepper-header-selected-state-label-text-color: rgba(0, 0, 0, .87);--mat-stepper-header-error-state-label-text-color: #f44336;--mat-stepper-header-icon-background-color: rgba(0, 0, 0, .54);--mat-stepper-header-error-state-icon-foreground-color: #f44336;--mat-stepper-header-error-state-icon-background-color: transparent}html .mat-step-header.mat-accent{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #ff4081;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #ff4081;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #ff4081;--mat-stepper-header-edit-state-icon-foreground-color: white}html .mat-step-header.mat-warn{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #f44336;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #f44336;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #f44336;--mat-stepper-header-edit-state-icon-foreground-color: white}html{--mat-stepper-header-height: 72px}html{--mat-stepper-container-text-font: Roboto, sans-serif;--mat-stepper-header-label-text-font: Roboto, sans-serif;--mat-stepper-header-label-text-size: 14px;--mat-stepper-header-label-text-weight: 400;--mat-stepper-header-error-state-label-text-size: 16px;--mat-stepper-header-selected-state-label-text-size: 16px;--mat-stepper-header-selected-state-label-text-weight: 400}html{--mat-sort-arrow-color: rgb(117.3, 117.3, 117.3)}html{--mat-toolbar-container-background-color: whitesmoke;--mat-toolbar-container-text-color: rgba(0, 0, 0, .87)}.mat-toolbar.mat-primary{--mat-toolbar-container-background-color: #3f51b5;--mat-toolbar-container-text-color: white}.mat-toolbar.mat-accent{--mat-toolbar-container-background-color: #ff4081;--mat-toolbar-container-text-color: white}.mat-toolbar.mat-warn{--mat-toolbar-container-background-color: #f44336;--mat-toolbar-container-text-color: white}html{--mat-toolbar-standard-height: 64px;--mat-toolbar-mobile-height: 56px}html{--mat-toolbar-title-text-font: Roboto, sans-serif;--mat-toolbar-title-text-line-height: 32px;--mat-toolbar-title-text-size: 20px;--mat-toolbar-title-text-tracking: .0125em;--mat-toolbar-title-text-weight: 500}html{--mat-tree-container-background-color: white;--mat-tree-node-text-color: rgba(0, 0, 0, .87)}html{--mat-tree-node-min-height: 48px}html{--mat-tree-node-text-font: Roboto, sans-serif;--mat-tree-node-text-size: 14px;--mat-tree-node-text-weight: 400}html{--mat-timepicker-container-shape: 4px;--mat-timepicker-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12)}html{--mat-timepicker-container-background-color: white}html,body{margin:0;font-family:Roboto,Helvetica,Arial,sans-serif;font-size:14px;height:100%}.app-loading .logo{width:113px;height:120px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAMAAAD04JH5AAABhWlDQ1BJQ0MgcHJvZmlsZQAAKJF9kT1Iw0AYht+malUqCnYQcchQnexiRRxLFYtgobQVWnUwufRHaNKQpLg4Cq4FB38Wqw4uzro6uAqC4A+Is4OToouU+F1SaBHjHcc9vPe9L3ffAUKjwlSzKwaommWkE3Exl18RA6/owxDNHkQlZurJzEIWnuPrHj6+30V4lnfdn2NAKZgM8InEMaYbFvE68cympXPeJw6xsqQQnxNPGnRB4keuyy6/cS45LPDMkJFNzxGHiMVSB8sdzMqGSjxNHFZUjfKFnMsK5y3OaqXGWvfkLwwWtOUM12mNIYFFJJGCCBk1bKACCxHaNVJMpOk87uEfdfwpcsnk2gAjxzyqUCE5fvA/+N1bsxidcpOCcaD7xbY/xoHALtCs2/b3sW03TwD/M3Cltf3VBjD7SXq9rYWPgMFt4OK6rcl7wOUOMPKkS4bkSH5aQrEIvJ/RN+WB4Vugf9XtW+scpw9Alnq1dAMcHAITJcpe83h3b2ff/q1p9e8HsopywPmxfBcAAAGDUExURQAAABkMiRwRhiYRgR4WghwdhyUcgSohcycjeiMkhSkmdSopZy8sYBovjzEzVyUykTE3UyQ3kTM1dTM3ZDU9SDZBQCY/lS9DgD9GLT5DazxKMCNOpEFWG0BWLkVQZSVVoUFXKERYFkJYI0ZZEB1ZqztZQD5ZNUZZGD1ZOjxZRTJZbTtZUzVaXjxaS0dbGTdaZyZboSlapkVeFDBZoEldGyxdmDBdiy9cnCJgrDBekjRehjdeeylfpDNfgVFbXDxjdDllfEFkcUJnakdoYTlpkklqW1RtFzxrh01qVk9sT1VuQ1RuSVZvP1pxN2ByKl5zMGR0EmJ0JGN1HWZ2FUR4gmd3F2l5DWl5GWF9Gk18e259E01/eGJ+T2uBFnGGEWqIFmeFSFaIb1qMZ22KPnKOGXSRL3iTE2OUXnOXF3CaRGqbUHibMn2dEnujGn+mDXmqPISrFoGvGYGwNIazEIO2LIu5HJC8DIy/EJLFG5XHCJbIDZjKEZLMEZvMAJbQGZrTB53VAJ6wE90AAAABdFJOUwBA5thmAAALzklEQVR42tVb/VvbRhJ2gHD56EeSNtyFmGJjJyJAQMLYxjYuAQoJ3wad5JQUSBsfoRcgEOMg7erk/uk3uysZ21qBVoHcc/MreTyvZt6ZeWekRCJfYnXbts6ODg/3Xy8sjEeu2ywTmaZpGKaBLNvGZyeHu7uvwRbAxkdHpbjHJOkq/BKnJjGrTsyu1/+qGydHh/u7m+OjUpQZ+JKkUcm1UWITExMuqHCeqVuLPLKJiGFqlmWeney/Hid+2p+Xa42/CwXbQPSxsU3MsjAmCAgghI2T3YVx9uTxS60RESkwBtMyDAORWNsWpj6bDaNqZUFyfcNPJxLjrZbwhob9U8iJdCkGRHyDZ+TxzAyh6u4o8y4lIAyxWF9vq/2jty8WG4B/kgDzJml09AIIEHRkkkwjX/9WbTcRZY8eHYj1Pvzx3nff3G21R0MjI8PPnzzpGxgYcNjZlpG45Ov+gmd3ABwuRBmAaO+9u3du3brV3d3VbLd7UmmwXC6TyRfGhp89jUXbwkCKhRMEA0HosXmJIWNfipLfiD387u6tDmadzLq6Oju6vu3plycVaslkKpvLF4fGRp4PxoAqTTBGvRAwutw7YwAAkOK99/7W1dHlsZvf98utRoDIucLIc8hI/BwDyUNr+G18YegbAE62pShE/5sunnXfT8l8y2bTheHBAYLdRdBCBNO2A7gnAGqV0agE/js6vf4h/VN8/yQj2XSmMBxrikFTNRiWbZiBDOHD8ejAj92c8IN/2ce/i0LODAEEyZsFhJEZEIBdfZ3o/YEH4DL/DEN6bNCtinMEqI7NoAZ9eOHhHc7z3+yRAxhwpPhswM3DhAPAqFumAIL9Z3d4/lNTQRDIipwfdhG4TfHEQCgwAAvVPvzcfaPVfWfX/f5g/kkaMs/dITbKAFSOkUAIELY//tTeBL7tlwObIhefNADQWiztGwIAoB0bHx7d6GwjoIApypCTBKcUSzvHBhZD8PZBR3MMfBuQDwJIgouAAijv1SwkgMCyar/daUJw+/GULGaFWIIBoCxQVf3wTAgBqp++utXRVAGC/pO5wXgzgC11+8gQAQBK7fTn2y6C2/2iAVDSTimyXqRuaYQGIkQ0bOvwp65OtwTEAYz1NQGIaGVNrVSRUAws+8OjThqDm/fFAWQLg1LTUNTKZUJELFiM71gpdAdtgs2Wf5JonokkCdsHZ0IxAHn49sGNLwTgdgK1XFbV7UNBIlq15TugC64CQETb0tTSthgRoR2czHd3dHT39F8BABKD0o4gEbH94afujhAkbAYQZSMZAGglTbAjImx9eBSqDLPFRhW4skgjtVjeP0MiU8Goo3896rgZAsDQ03YAEVXXVLV88FmwHeB3P3T1iDeikVhzI3JCoGtQjEdnIiEgWXj34PvH4q046gEQIQBU0pPF2kG99vbvPaIAck/YhiCNNu8nmg5EhJ4sRETSkH7LK4KCIDcoxb0AyEwAHkApYDEa1N7n+hWxcfw0wQUA/YiWglgMMD79Pd0vFIFMXyLu4QDtBppGp4JYO0Do0++5ZAhFJHmOFTQEVJ4IFuOnNymBJGSH/ACoOnREVa0cm0I0gG3h469ZJTCE9MiAD4CISolYqlRNsVLAgCAwDxqqmHcvoghgKpwJDUaGIBswBEpx0AXAORWBOAEEuiARTfM/6OMbOVA/SCmFvvgFAMqEiCWQJ1gMgYU/vkknlSAAhgacRsi92IFCJKWwK7YukWqEWsgFYaIyFI/7cJBamXXESlUQgYnRpz9+CYAAADgZiPIPlowGIE8EkwAy8fTPN7lkcpLYlO+Qzo5cQAG6LJY0gqAsTERSDJ/+eHnek6a4MDLPLwEQITwEIuoHhjACZJ2dOr/iLwifMQATvgCqB1uqSkrhSEwns2Ko/9X0U8Th5GQLA+TCIAUgTfi8T0HYPtsrkzSUdk5M0RgYyLaM1h9M0WRMNgThWIwB4FchMshrglpFU8loFl0ZqdWR2f6rjBFTDMBwNO7n3zQg6+AfG8c7KkGg7X8WR4Btw/T+9rkkHna0QNTrHuE6PdrC6nkAyxJ0AyCiaDGahmVjbnIdAM8SvAhY2HC8U6lZd5IQiogm8kcwBYo0wZFjn2nqkVvNtdM/326qtB1snyDxLCDb9EEwKRcHE953irsH0HipH/qC7vT9P3Mvlzd12hErVSxORNxeCi4CJVuggrBtEGjblYOaZZFXRnX06f2vvyiPlRerJAKEiLUQpYB9YpBMj9GtqA0A8K28d1QzLHz68d+knSsAdXadhAA04kEIGsCj8BFk2IGqHcAWrOflveMatPKGsEnP0SSIXw7cnshHwORQ2yAgAGA33Xn7Mi03lgyluOgg2KlaYUrB5CKIUQDtg4CoEE3Vl/qbNE1KBhpQIqoVwXXJSQLmMTE6wRuFVIxq+lK2ecFIZmfXdEpEdU/scuDGgFcL8QmeGuICgD16fpMhEFepvlkgalzyaAFouhwAIB4WaRI0SkRxBBYnBPEJCUaxBwDZyjR9NZ9qVdaKQwNV3amGAACl0I4gLiXIxw1xrhDUV1+0bRdKdmadhUAVvKU2RFo7AraU8JWovj7dvt4o6bkN3emIZyE6IrKQEeSzBbYO6GuzacVzzlikLZnt7WYYIgYDQFioby5mPACU4pLeIGKIGNg4YAhIDrTVIufSML1OEajhBiO3FPwA6JvTCueq5vSjkrYfqhtYZpAsUPmhb86leVetRfpXtbQVbjAGowFphrq6yLm5AQ1WzmkQAkHdCJIEtaxDz1mf4ayXijKzxmig7oYR6hgHCwGpA22ee+hIz244NNgLo4+C5YBczHV9KS+neHcdRxuo5YMQtWibgXJACkHfmOOFQJHzS0wihhLqIHiDV+IK9+iopKZXHSLuVE1RbQD7phEwB9COp33OXbPuUKiID0YcsBK3gAWby5kk/8btqBNyuhClQcBWQC72mrYx63PbyS872mD7SDQJ0A0Dz0RdWynIvCQoIFJZEsgpVfSSaQYbCJSH6qs0lwWKPLvGSoHIZMFjrhEwBJSHHmF0rk5UPdQFCwAEKkSmjHRtOcMvhGRmmSEAGiB0HRGAXlBmQ9EnCUWHBuSFP74OALQSYCZN80NAVlbN3VUEkiAAgK4ouraYkX1oML/JJKLQrhK0DNlYJpWwMc9PQirpdAOiDUwU/DO44ACckbA249ORlYKzsmoCRzxsW8EBqOT3dX294EcDZ1dRtcAtGQUch40kUBosFZN+NNhwJvNhwMmMA24nLQg0bZH//kEBdaK6kzlYCIIJEk8MNl7lfPqRSwM92EsFC6OIIACHiLN+/WjaWVlhLl4eA1QX9e+uitr6bJb7JsxdWdXS7uXnI2QJNIG2JOir/BikUo1dZe+ySkB2GP+No806vx0ocmGFffJw2c4M+3ko/+cxKPi8eWHagCYBXVkH8Exmoo9ecN+MJx2JWLrwgwOELSMSGkCZjmZ95UWaw8SUuymUyv7SIHz8XRpQHvCZCC15lVWC77bmdywVbQc+/UBJv2IqWfdZ2r/w+VsQgEJSvC3ZPeXuVDlf4hnYRkbki61MVwVAkPdSMZVly5Kq73NK0bKNK/Dv9ERQiUtFTiXk3Y7sKUVof4YZuRJzsrC5OuMRacncovNex6MMLBEFclkWtmgM9PXZdiK42kTVto9bNDKyw7cf364M43k+3/qtTErOrDgq/aAJAHQfy4hcpWkMgba59KIVgZJd1j0zifyPDRSJXDECes3X1dW5FpWkyMuNdbVRiZZlRq7coCEwLm4sTjdBUORFXXNWNeeLD0j/NfhvTAbalIpARsVphksuAKZPofquOP0eKgITVucyWfL0QIHp1RYA5D0VilyXaU5P0rWNlbminFSSCqgSrQkANP/rc88gbLGC1DdX5menZ+aWmDxnHLCs60p/MxHYGYlWxNqG655VQd0yrci1m+YsLTog0PRzAHtnwU6BV1OQDhvPTS0f2ghHvpIBGdsglOgr/sjXMyjIFgzlneOv6Z5RQXWqkpbAQS3y1U0lZKCmbVUi/xtzLnZq5P/a/gvm8NIms2W1xQAAAABJRU5ErkJggg==)}i.material-icons{vertical-align:middle!important}.highlight{color:red}.mat-mdc-menu-content .mat-mdc-menu-item:hover{background-color:#e8e8e8}.mat-mdc-option:hover:not(.mat-mdc-option-disabled){background:#648cb0!important;color:#fff!important}.dark-theme{--mat-ripple-color: rgba(255, 255, 255, .1)}.dark-theme{--mat-option-selected-state-label-text-color: #3f51b5;--mat-option-label-text-color: white;--mat-option-hover-state-layer-color: rgba(255, 255, 255, .08);--mat-option-focus-state-layer-color: rgba(255, 255, 255, .08);--mat-option-selected-state-layer-color: rgba(255, 255, 255, .08)}.dark-theme .mat-accent{--mat-option-selected-state-label-text-color: #ff4081;--mat-option-label-text-color: white;--mat-option-hover-state-layer-color: rgba(255, 255, 255, .08);--mat-option-focus-state-layer-color: rgba(255, 255, 255, .08);--mat-option-selected-state-layer-color: rgba(255, 255, 255, .08)}.dark-theme .mat-warn{--mat-option-selected-state-label-text-color: #f44336;--mat-option-label-text-color: white;--mat-option-hover-state-layer-color: rgba(255, 255, 255, .08);--mat-option-focus-state-layer-color: rgba(255, 255, 255, .08);--mat-option-selected-state-layer-color: rgba(255, 255, 255, .08)}.dark-theme{--mat-optgroup-label-text-color: white}.dark-theme{--mat-full-pseudo-checkbox-selected-icon-color: #ff4081;--mat-full-pseudo-checkbox-selected-checkmark-color: #303030;--mat-full-pseudo-checkbox-unselected-icon-color: rgba(255, 255, 255, .7);--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #303030;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: #686868;--mat-full-pseudo-checkbox-disabled-selected-icon-color: #686868}.dark-theme{--mat-minimal-pseudo-checkbox-selected-checkmark-color: #ff4081;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: #686868}.dark-theme .mat-primary{--mat-full-pseudo-checkbox-selected-icon-color: #3f51b5;--mat-full-pseudo-checkbox-selected-checkmark-color: #303030;--mat-full-pseudo-checkbox-unselected-icon-color: rgba(255, 255, 255, .7);--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #303030;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: #686868;--mat-full-pseudo-checkbox-disabled-selected-icon-color: #686868}.dark-theme .mat-primary{--mat-minimal-pseudo-checkbox-selected-checkmark-color: #3f51b5;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: #686868}.dark-theme .mat-accent{--mat-full-pseudo-checkbox-selected-icon-color: #ff4081;--mat-full-pseudo-checkbox-selected-checkmark-color: #303030;--mat-full-pseudo-checkbox-unselected-icon-color: rgba(255, 255, 255, .7);--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #303030;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: #686868;--mat-full-pseudo-checkbox-disabled-selected-icon-color: #686868}.dark-theme .mat-accent{--mat-minimal-pseudo-checkbox-selected-checkmark-color: #ff4081;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: #686868}.dark-theme .mat-warn{--mat-full-pseudo-checkbox-selected-icon-color: #f44336;--mat-full-pseudo-checkbox-selected-checkmark-color: #303030;--mat-full-pseudo-checkbox-unselected-icon-color: rgba(255, 255, 255, .7);--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #303030;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: #686868;--mat-full-pseudo-checkbox-disabled-selected-icon-color: #686868}.dark-theme .mat-warn{--mat-minimal-pseudo-checkbox-selected-checkmark-color: #f44336;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: #686868}.dark-theme{--mat-app-background-color: #303030;--mat-app-text-color: white;--mat-app-elevation-shadow-level-0: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-1: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-2: 0px 3px 1px -2px rgba(0, 0, 0, .2), 0px 2px 2px 0px rgba(0, 0, 0, .14), 0px 1px 5px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-3: 0px 3px 3px -2px rgba(0, 0, 0, .2), 0px 3px 4px 0px rgba(0, 0, 0, .14), 0px 1px 8px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-4: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-5: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 5px 8px 0px rgba(0, 0, 0, .14), 0px 1px 14px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-6: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-7: 0px 4px 5px -2px rgba(0, 0, 0, .2), 0px 7px 10px 1px rgba(0, 0, 0, .14), 0px 2px 16px 1px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-8: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-9: 0px 5px 6px -3px rgba(0, 0, 0, .2), 0px 9px 12px 1px rgba(0, 0, 0, .14), 0px 3px 16px 2px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-10: 0px 6px 6px -3px rgba(0, 0, 0, .2), 0px 10px 14px 1px rgba(0, 0, 0, .14), 0px 4px 18px 3px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-11: 0px 6px 7px -4px rgba(0, 0, 0, .2), 0px 11px 15px 1px rgba(0, 0, 0, .14), 0px 4px 20px 3px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-12: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-13: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 13px 19px 2px rgba(0, 0, 0, .14), 0px 5px 24px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-14: 0px 7px 9px -4px rgba(0, 0, 0, .2), 0px 14px 21px 2px rgba(0, 0, 0, .14), 0px 5px 26px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-15: 0px 8px 9px -5px rgba(0, 0, 0, .2), 0px 15px 22px 2px rgba(0, 0, 0, .14), 0px 6px 28px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-16: 0px 8px 10px -5px rgba(0, 0, 0, .2), 0px 16px 24px 2px rgba(0, 0, 0, .14), 0px 6px 30px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-17: 0px 8px 11px -5px rgba(0, 0, 0, .2), 0px 17px 26px 2px rgba(0, 0, 0, .14), 0px 6px 32px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-18: 0px 9px 11px -5px rgba(0, 0, 0, .2), 0px 18px 28px 2px rgba(0, 0, 0, .14), 0px 7px 34px 6px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-19: 0px 9px 12px -6px rgba(0, 0, 0, .2), 0px 19px 29px 2px rgba(0, 0, 0, .14), 0px 7px 36px 6px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-20: 0px 10px 13px -6px rgba(0, 0, 0, .2), 0px 20px 31px 3px rgba(0, 0, 0, .14), 0px 8px 38px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-21: 0px 10px 13px -6px rgba(0, 0, 0, .2), 0px 21px 33px 3px rgba(0, 0, 0, .14), 0px 8px 40px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-22: 0px 10px 14px -6px rgba(0, 0, 0, .2), 0px 22px 35px 3px rgba(0, 0, 0, .14), 0px 8px 42px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-23: 0px 11px 14px -7px rgba(0, 0, 0, .2), 0px 23px 36px 3px rgba(0, 0, 0, .14), 0px 9px 44px 8px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-24: 0px 11px 15px -7px rgba(0, 0, 0, .2), 0px 24px 38px 3px rgba(0, 0, 0, .14), 0px 9px 46px 8px rgba(0, 0, 0, .12)}.dark-theme{--mdc-elevated-card-container-shape: 4px}.dark-theme{--mdc-outlined-card-container-shape: 4px;--mdc-outlined-card-outline-width: 1px}.dark-theme{--mdc-elevated-card-container-color: #424242;--mdc-elevated-card-container-elevation: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12)}.dark-theme{--mdc-outlined-card-container-color: #424242;--mdc-outlined-card-outline-color: rgba(255, 255, 255, .12);--mdc-outlined-card-container-elevation: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12)}.dark-theme{--mat-card-subtitle-text-color: rgba(255, 255, 255, .7)}.dark-theme{--mdc-linear-progress-active-indicator-height: 4px;--mdc-linear-progress-track-height: 4px;--mdc-linear-progress-track-shape: 0}.dark-theme .mat-mdc-progress-bar{--mdc-linear-progress-active-indicator-color: #3f51b5;--mdc-linear-progress-track-color: rgba(63, 81, 181, .25)}.dark-theme .mat-mdc-progress-bar.mat-accent{--mdc-linear-progress-active-indicator-color: #ff4081;--mdc-linear-progress-track-color: rgba(255, 64, 129, .25)}.dark-theme .mat-mdc-progress-bar.mat-warn{--mdc-linear-progress-active-indicator-color: #f44336;--mdc-linear-progress-track-color: rgba(244, 67, 54, .25)}.dark-theme{--mdc-plain-tooltip-container-shape: 4px;--mdc-plain-tooltip-supporting-text-line-height: 16px}.dark-theme{--mdc-plain-tooltip-container-color: #616161;--mdc-plain-tooltip-supporting-text-color: #fff}.dark-theme{--mdc-filled-text-field-active-indicator-height: 1px;--mdc-filled-text-field-focus-active-indicator-height: 2px;--mdc-filled-text-field-container-shape: 4px}.dark-theme{--mdc-outlined-text-field-outline-width: 1px;--mdc-outlined-text-field-focus-outline-width: 2px;--mdc-outlined-text-field-container-shape: 4px}.dark-theme{--mdc-filled-text-field-caret-color: #3f51b5;--mdc-filled-text-field-focus-active-indicator-color: #3f51b5;--mdc-filled-text-field-focus-label-text-color: rgba(63, 81, 181, .87);--mdc-filled-text-field-container-color: rgb(73.56, 73.56, 73.56);--mdc-filled-text-field-disabled-container-color: rgb(69.78, 69.78, 69.78);--mdc-filled-text-field-label-text-color: rgba(255, 255, 255, .6);--mdc-filled-text-field-hover-label-text-color: rgba(255, 255, 255, .6);--mdc-filled-text-field-disabled-label-text-color: rgba(255, 255, 255, .38);--mdc-filled-text-field-input-text-color: rgba(255, 255, 255, .87);--mdc-filled-text-field-disabled-input-text-color: rgba(255, 255, 255, .38);--mdc-filled-text-field-input-text-placeholder-color: rgba(255, 255, 255, .6);--mdc-filled-text-field-error-hover-label-text-color: #f44336;--mdc-filled-text-field-error-focus-label-text-color: #f44336;--mdc-filled-text-field-error-label-text-color: #f44336;--mdc-filled-text-field-error-caret-color: #f44336;--mdc-filled-text-field-active-indicator-color: rgba(255, 255, 255, .42);--mdc-filled-text-field-disabled-active-indicator-color: rgba(255, 255, 255, .06);--mdc-filled-text-field-hover-active-indicator-color: rgba(255, 255, 255, .87);--mdc-filled-text-field-error-active-indicator-color: #f44336;--mdc-filled-text-field-error-focus-active-indicator-color: #f44336;--mdc-filled-text-field-error-hover-active-indicator-color: #f44336}.dark-theme{--mdc-outlined-text-field-caret-color: #3f51b5;--mdc-outlined-text-field-focus-outline-color: #3f51b5;--mdc-outlined-text-field-focus-label-text-color: rgba(63, 81, 181, .87);--mdc-outlined-text-field-label-text-color: rgba(255, 255, 255, .6);--mdc-outlined-text-field-hover-label-text-color: rgba(255, 255, 255, .6);--mdc-outlined-text-field-disabled-label-text-color: rgba(255, 255, 255, .38);--mdc-outlined-text-field-input-text-color: rgba(255, 255, 255, .87);--mdc-outlined-text-field-disabled-input-text-color: rgba(255, 255, 255, .38);--mdc-outlined-text-field-input-text-placeholder-color: rgba(255, 255, 255, .6);--mdc-outlined-text-field-error-caret-color: #f44336;--mdc-outlined-text-field-error-focus-label-text-color: #f44336;--mdc-outlined-text-field-error-label-text-color: #f44336;--mdc-outlined-text-field-error-hover-label-text-color: #f44336;--mdc-outlined-text-field-outline-color: rgba(255, 255, 255, .38);--mdc-outlined-text-field-disabled-outline-color: rgba(255, 255, 255, .06);--mdc-outlined-text-field-hover-outline-color: rgba(255, 255, 255, .87);--mdc-outlined-text-field-error-focus-outline-color: #f44336;--mdc-outlined-text-field-error-hover-outline-color: #f44336;--mdc-outlined-text-field-error-outline-color: #f44336}.dark-theme{--mat-form-field-focus-select-arrow-color: rgba(63, 81, 181, .87);--mat-form-field-disabled-input-text-placeholder-color: rgba(255, 255, 255, .38);--mat-form-field-state-layer-color: rgba(255, 255, 255, .87);--mat-form-field-error-text-color: #f44336;--mat-form-field-select-option-text-color: rgba(0, 0, 0, .87);--mat-form-field-select-disabled-option-text-color: rgba(0, 0, 0, .38);--mat-form-field-leading-icon-color: unset;--mat-form-field-disabled-leading-icon-color: unset;--mat-form-field-trailing-icon-color: unset;--mat-form-field-disabled-trailing-icon-color: unset;--mat-form-field-error-focus-trailing-icon-color: unset;--mat-form-field-error-hover-trailing-icon-color: unset;--mat-form-field-error-trailing-icon-color: unset;--mat-form-field-enabled-select-arrow-color: rgba(255, 255, 255, .54);--mat-form-field-disabled-select-arrow-color: rgba(255, 255, 255, .38);--mat-form-field-hover-state-layer-opacity: .08;--mat-form-field-focus-state-layer-opacity: .24}.dark-theme .mat-mdc-form-field.mat-accent{--mdc-filled-text-field-caret-color: #ff4081;--mdc-filled-text-field-focus-active-indicator-color: #ff4081;--mdc-filled-text-field-focus-label-text-color: rgba(255, 64, 129, .87)}.dark-theme .mat-mdc-form-field.mat-accent{--mdc-outlined-text-field-caret-color: #ff4081;--mdc-outlined-text-field-focus-outline-color: #ff4081;--mdc-outlined-text-field-focus-label-text-color: rgba(255, 64, 129, .87)}.dark-theme .mat-mdc-form-field.mat-accent{--mat-form-field-focus-select-arrow-color: rgba(255, 64, 129, .87)}.dark-theme .mat-mdc-form-field.mat-warn{--mdc-filled-text-field-caret-color: #f44336;--mdc-filled-text-field-focus-active-indicator-color: #f44336;--mdc-filled-text-field-focus-label-text-color: rgba(244, 67, 54, .87)}.dark-theme .mat-mdc-form-field.mat-warn{--mdc-outlined-text-field-caret-color: #f44336;--mdc-outlined-text-field-focus-outline-color: #f44336;--mdc-outlined-text-field-focus-label-text-color: rgba(244, 67, 54, .87)}.dark-theme .mat-mdc-form-field.mat-warn{--mat-form-field-focus-select-arrow-color: rgba(244, 67, 54, .87)}.dark-theme{--mat-select-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12)}.dark-theme{--mat-select-panel-background-color: #424242;--mat-select-enabled-trigger-text-color: rgba(255, 255, 255, .87);--mat-select-disabled-trigger-text-color: rgba(255, 255, 255, .38);--mat-select-placeholder-text-color: rgba(255, 255, 255, .6);--mat-select-enabled-arrow-color: rgba(255, 255, 255, .54);--mat-select-disabled-arrow-color: rgba(255, 255, 255, .38);--mat-select-focused-arrow-color: rgba(63, 81, 181, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87)}.dark-theme .mat-mdc-form-field.mat-accent{--mat-select-panel-background-color: #424242;--mat-select-enabled-trigger-text-color: rgba(255, 255, 255, .87);--mat-select-disabled-trigger-text-color: rgba(255, 255, 255, .38);--mat-select-placeholder-text-color: rgba(255, 255, 255, .6);--mat-select-enabled-arrow-color: rgba(255, 255, 255, .54);--mat-select-disabled-arrow-color: rgba(255, 255, 255, .38);--mat-select-focused-arrow-color: rgba(255, 64, 129, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87)}.dark-theme .mat-mdc-form-field.mat-warn{--mat-select-panel-background-color: #424242;--mat-select-enabled-trigger-text-color: rgba(255, 255, 255, .87);--mat-select-disabled-trigger-text-color: rgba(255, 255, 255, .38);--mat-select-placeholder-text-color: rgba(255, 255, 255, .6);--mat-select-enabled-arrow-color: rgba(255, 255, 255, .54);--mat-select-disabled-arrow-color: rgba(255, 255, 255, .38);--mat-select-focused-arrow-color: rgba(244, 67, 54, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87)}.dark-theme{--mat-autocomplete-container-shape: 4px;--mat-autocomplete-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12)}.dark-theme{--mat-autocomplete-background-color: #424242}.dark-theme{--mdc-dialog-container-shape: 4px}.dark-theme{--mat-dialog-container-elevation-shadow: 0px 11px 15px -7px rgba(0, 0, 0, .2), 0px 24px 38px 3px rgba(0, 0, 0, .14), 0px 9px 46px 8px rgba(0, 0, 0, .12);--mat-dialog-container-max-width: 80vw;--mat-dialog-container-small-max-width: 80vw;--mat-dialog-container-min-width: 0;--mat-dialog-actions-alignment: start;--mat-dialog-actions-padding: 8px;--mat-dialog-content-padding: 20px 24px;--mat-dialog-with-actions-content-padding: 20px 24px;--mat-dialog-headline-padding: 0 24px 9px}.dark-theme{--mdc-dialog-container-color: #424242;--mdc-dialog-subhead-color: rgba(255, 255, 255, .87);--mdc-dialog-supporting-text-color: rgba(255, 255, 255, .6)}.dark-theme .mat-mdc-standard-chip{--mdc-chip-container-shape-radius: 16px;--mdc-chip-with-avatar-avatar-shape-radius: 14px;--mdc-chip-with-avatar-avatar-size: 28px;--mdc-chip-with-icon-icon-size: 18px;--mdc-chip-outline-width: 0;--mdc-chip-outline-color: transparent;--mdc-chip-disabled-outline-color: transparent;--mdc-chip-focus-outline-color: transparent;--mdc-chip-hover-state-layer-opacity: .04;--mdc-chip-with-avatar-disabled-avatar-opacity: 1;--mdc-chip-flat-selected-outline-width: 0;--mdc-chip-selected-hover-state-layer-opacity: .04;--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity: 1;--mdc-chip-with-icon-disabled-icon-opacity: 1}.dark-theme .mat-mdc-standard-chip{--mat-chip-disabled-container-opacity: .4;--mat-chip-trailing-action-opacity: .54;--mat-chip-trailing-action-focus-opacity: 1;--mat-chip-trailing-action-state-layer-color: transparent;--mat-chip-selected-trailing-action-state-layer-color: transparent;--mat-chip-trailing-action-hover-state-layer-opacity: 0;--mat-chip-trailing-action-focus-state-layer-opacity: 0}.dark-theme .mat-mdc-standard-chip{--mdc-chip-disabled-label-text-color: #fafafa;--mdc-chip-elevated-container-color: rgb(88.68, 88.68, 88.68);--mdc-chip-elevated-selected-container-color: rgb(88.68, 88.68, 88.68);--mdc-chip-elevated-disabled-container-color: rgb(88.68, 88.68, 88.68);--mdc-chip-flat-disabled-selected-container-color: rgb(88.68, 88.68, 88.68);--mdc-chip-focus-state-layer-color: white;--mdc-chip-hover-state-layer-color: white;--mdc-chip-selected-hover-state-layer-color: white;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-selected-focus-state-layer-color: white;--mdc-chip-selected-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: #fafafa;--mdc-chip-selected-label-text-color: #fafafa;--mdc-chip-with-icon-icon-color: #fafafa;--mdc-chip-with-icon-disabled-icon-color: #fafafa;--mdc-chip-with-icon-selected-icon-color: #fafafa;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: #fafafa;--mdc-chip-with-trailing-icon-trailing-icon-color: #fafafa}.dark-theme .mat-mdc-standard-chip{--mat-chip-selected-disabled-trailing-icon-color: #fafafa;--mat-chip-selected-trailing-icon-color: #fafafa}.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-selected.mat-primary,.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-primary{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #3f51b5;--mdc-chip-elevated-selected-container-color: #3f51b5;--mdc-chip-elevated-disabled-container-color: #3f51b5;--mdc-chip-flat-disabled-selected-container-color: #3f51b5;--mdc-chip-focus-state-layer-color: white;--mdc-chip-hover-state-layer-color: white;--mdc-chip-selected-hover-state-layer-color: white;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-selected-focus-state-layer-color: white;--mdc-chip-selected-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: white;--mdc-chip-selected-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white}.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-selected.mat-primary,.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-primary{--mat-chip-selected-disabled-trailing-icon-color: white;--mat-chip-selected-trailing-icon-color: white}.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-selected.mat-accent,.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-accent{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #ff4081;--mdc-chip-elevated-selected-container-color: #ff4081;--mdc-chip-elevated-disabled-container-color: #ff4081;--mdc-chip-flat-disabled-selected-container-color: #ff4081;--mdc-chip-focus-state-layer-color: white;--mdc-chip-hover-state-layer-color: white;--mdc-chip-selected-hover-state-layer-color: white;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-selected-focus-state-layer-color: white;--mdc-chip-selected-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: white;--mdc-chip-selected-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white}.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-selected.mat-accent,.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-accent{--mat-chip-selected-disabled-trailing-icon-color: white;--mat-chip-selected-trailing-icon-color: white}.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-selected.mat-warn,.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-warn{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #f44336;--mdc-chip-elevated-selected-container-color: #f44336;--mdc-chip-elevated-disabled-container-color: #f44336;--mdc-chip-flat-disabled-selected-container-color: #f44336;--mdc-chip-focus-state-layer-color: white;--mdc-chip-hover-state-layer-color: white;--mdc-chip-selected-hover-state-layer-color: white;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-selected-focus-state-layer-color: white;--mdc-chip-selected-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: white;--mdc-chip-selected-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white}.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-selected.mat-warn,.dark-theme .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-warn{--mat-chip-selected-disabled-trailing-icon-color: white;--mat-chip-selected-trailing-icon-color: white}.dark-theme{--mdc-switch-disabled-selected-icon-opacity: .38;--mdc-switch-disabled-track-opacity: .12;--mdc-switch-disabled-unselected-icon-opacity: .38;--mdc-switch-handle-height: 20px;--mdc-switch-handle-shape: 10px;--mdc-switch-handle-width: 20px;--mdc-switch-selected-icon-size: 18px;--mdc-switch-track-height: 14px;--mdc-switch-track-shape: 7px;--mdc-switch-track-width: 36px;--mdc-switch-unselected-icon-size: 18px;--mdc-switch-selected-focus-state-layer-opacity: .12;--mdc-switch-selected-hover-state-layer-opacity: .04;--mdc-switch-selected-pressed-state-layer-opacity: .1;--mdc-switch-unselected-focus-state-layer-opacity: .12;--mdc-switch-unselected-hover-state-layer-opacity: .04;--mdc-switch-unselected-pressed-state-layer-opacity: .1}.dark-theme .mat-mdc-slide-toggle{--mat-switch-disabled-selected-handle-opacity: .38;--mat-switch-disabled-unselected-handle-opacity: .38;--mat-switch-unselected-handle-size: 20px;--mat-switch-selected-handle-size: 20px;--mat-switch-pressed-handle-size: 20px;--mat-switch-with-icon-handle-size: 20px;--mat-switch-selected-handle-horizontal-margin: 0;--mat-switch-selected-with-icon-handle-horizontal-margin: 0;--mat-switch-selected-pressed-handle-horizontal-margin: 0;--mat-switch-unselected-handle-horizontal-margin: 0;--mat-switch-unselected-with-icon-handle-horizontal-margin: 0;--mat-switch-unselected-pressed-handle-horizontal-margin: 0;--mat-switch-visible-track-opacity: 1;--mat-switch-hidden-track-opacity: 1;--mat-switch-visible-track-transition: transform 75ms 0ms cubic-bezier(0, 0, .2, 1);--mat-switch-hidden-track-transition: transform 75ms 0ms cubic-bezier(.4, 0, .6, 1);--mat-switch-track-outline-width: 1px;--mat-switch-track-outline-color: transparent;--mat-switch-selected-track-outline-width: 1px;--mat-switch-selected-track-outline-color: transparent;--mat-switch-disabled-unselected-track-outline-width: 1px;--mat-switch-disabled-unselected-track-outline-color: transparent}.dark-theme{--mdc-switch-selected-focus-state-layer-color: #7986cb;--mdc-switch-selected-handle-color: #7986cb;--mdc-switch-selected-hover-state-layer-color: #7986cb;--mdc-switch-selected-pressed-state-layer-color: #7986cb;--mdc-switch-selected-focus-handle-color: #9fa8da;--mdc-switch-selected-hover-handle-color: #9fa8da;--mdc-switch-selected-pressed-handle-color: #9fa8da;--mdc-switch-selected-focus-track-color: #3949ab;--mdc-switch-selected-hover-track-color: #3949ab;--mdc-switch-selected-pressed-track-color: #3949ab;--mdc-switch-selected-track-color: #3949ab;--mdc-switch-disabled-selected-handle-color: #000;--mdc-switch-disabled-selected-icon-color: #212121;--mdc-switch-disabled-selected-track-color: #f5f5f5;--mdc-switch-disabled-unselected-handle-color: #000;--mdc-switch-disabled-unselected-icon-color: #212121;--mdc-switch-disabled-unselected-track-color: #f5f5f5;--mdc-switch-handle-surface-color: #fff;--mdc-switch-selected-icon-color: #212121;--mdc-switch-unselected-focus-handle-color: #fafafa;--mdc-switch-unselected-focus-state-layer-color: #f5f5f5;--mdc-switch-unselected-focus-track-color: #616161;--mdc-switch-unselected-handle-color: #9e9e9e;--mdc-switch-unselected-hover-handle-color: #fafafa;--mdc-switch-unselected-hover-state-layer-color: #f5f5f5;--mdc-switch-unselected-hover-track-color: #616161;--mdc-switch-unselected-icon-color: #212121;--mdc-switch-unselected-pressed-handle-color: #fafafa;--mdc-switch-unselected-pressed-state-layer-color: #f5f5f5;--mdc-switch-unselected-pressed-track-color: #616161;--mdc-switch-unselected-track-color: #616161;--mdc-switch-handle-elevation-shadow: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-switch-disabled-handle-elevation-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12)}.dark-theme{--mdc-switch-disabled-label-text-color: rgba(255, 255, 255, .5)}.dark-theme .mat-mdc-slide-toggle{--mat-switch-label-text-color: white}.dark-theme .mat-mdc-slide-toggle.mat-accent{--mdc-switch-selected-focus-state-layer-color: #f06292;--mdc-switch-selected-handle-color: #f06292;--mdc-switch-selected-hover-state-layer-color: #f06292;--mdc-switch-selected-pressed-state-layer-color: #f06292;--mdc-switch-selected-focus-handle-color: #f48fb1;--mdc-switch-selected-hover-handle-color: #f48fb1;--mdc-switch-selected-pressed-handle-color: #f48fb1;--mdc-switch-selected-focus-track-color: #d81b60;--mdc-switch-selected-hover-track-color: #d81b60;--mdc-switch-selected-pressed-track-color: #d81b60;--mdc-switch-selected-track-color: #d81b60}.dark-theme .mat-mdc-slide-toggle.mat-warn{--mdc-switch-selected-focus-state-layer-color: #e57373;--mdc-switch-selected-handle-color: #e57373;--mdc-switch-selected-hover-state-layer-color: #e57373;--mdc-switch-selected-pressed-state-layer-color: #e57373;--mdc-switch-selected-focus-handle-color: #ef9a9a;--mdc-switch-selected-hover-handle-color: #ef9a9a;--mdc-switch-selected-pressed-handle-color: #ef9a9a;--mdc-switch-selected-focus-track-color: #e53935;--mdc-switch-selected-hover-track-color: #e53935;--mdc-switch-selected-pressed-track-color: #e53935;--mdc-switch-selected-track-color: #e53935}.dark-theme{--mdc-radio-disabled-selected-icon-opacity: .38;--mdc-radio-disabled-unselected-icon-opacity: .38;--mdc-radio-state-layer-size: 40px}.dark-theme .mat-mdc-radio-button.mat-primary{--mdc-radio-disabled-selected-icon-color: white;--mdc-radio-disabled-unselected-icon-color: white;--mdc-radio-unselected-hover-icon-color: #eeeeee;--mdc-radio-unselected-focus-icon-color: #eeeeee;--mdc-radio-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-radio-unselected-pressed-icon-color: rgba(255, 255, 255, .54);--mdc-radio-selected-focus-icon-color: #3f51b5;--mdc-radio-selected-hover-icon-color: #3f51b5;--mdc-radio-selected-icon-color: #3f51b5;--mdc-radio-selected-pressed-icon-color: #3f51b5}.dark-theme .mat-mdc-radio-button.mat-primary{--mat-radio-ripple-color: white;--mat-radio-checked-ripple-color: #3f51b5;--mat-radio-disabled-label-color: rgba(255, 255, 255, .5);--mat-radio-label-text-color: white}.dark-theme .mat-mdc-radio-button.mat-accent{--mdc-radio-disabled-selected-icon-color: white;--mdc-radio-disabled-unselected-icon-color: white;--mdc-radio-unselected-hover-icon-color: #eeeeee;--mdc-radio-unselected-focus-icon-color: #eeeeee;--mdc-radio-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-radio-unselected-pressed-icon-color: rgba(255, 255, 255, .54);--mdc-radio-selected-focus-icon-color: #ff4081;--mdc-radio-selected-hover-icon-color: #ff4081;--mdc-radio-selected-icon-color: #ff4081;--mdc-radio-selected-pressed-icon-color: #ff4081}.dark-theme .mat-mdc-radio-button.mat-accent{--mat-radio-ripple-color: white;--mat-radio-checked-ripple-color: #ff4081;--mat-radio-disabled-label-color: rgba(255, 255, 255, .5);--mat-radio-label-text-color: white}.dark-theme .mat-mdc-radio-button.mat-warn{--mdc-radio-disabled-selected-icon-color: white;--mdc-radio-disabled-unselected-icon-color: white;--mdc-radio-unselected-hover-icon-color: #eeeeee;--mdc-radio-unselected-focus-icon-color: #eeeeee;--mdc-radio-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-radio-unselected-pressed-icon-color: rgba(255, 255, 255, .54);--mdc-radio-selected-focus-icon-color: #f44336;--mdc-radio-selected-hover-icon-color: #f44336;--mdc-radio-selected-icon-color: #f44336;--mdc-radio-selected-pressed-icon-color: #f44336}.dark-theme .mat-mdc-radio-button.mat-warn{--mat-radio-ripple-color: white;--mat-radio-checked-ripple-color: #f44336;--mat-radio-disabled-label-color: rgba(255, 255, 255, .5);--mat-radio-label-text-color: white}.dark-theme{--mdc-slider-active-track-height: 6px;--mdc-slider-active-track-shape: 9999px;--mdc-slider-handle-height: 20px;--mdc-slider-handle-shape: 50%;--mdc-slider-handle-width: 20px;--mdc-slider-inactive-track-height: 4px;--mdc-slider-inactive-track-shape: 9999px;--mdc-slider-with-overlap-handle-outline-width: 1px;--mdc-slider-with-tick-marks-active-container-opacity: .6;--mdc-slider-with-tick-marks-container-shape: 50%;--mdc-slider-with-tick-marks-container-size: 2px;--mdc-slider-with-tick-marks-inactive-container-opacity: .6;--mdc-slider-handle-elevation: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12)}.dark-theme{--mat-slider-value-indicator-width: auto;--mat-slider-value-indicator-height: 32px;--mat-slider-value-indicator-caret-display: block;--mat-slider-value-indicator-border-radius: 4px;--mat-slider-value-indicator-padding: 0 12px;--mat-slider-value-indicator-text-transform: none;--mat-slider-value-indicator-container-transform: translateX(-50%)}.dark-theme{--mdc-slider-handle-color: #3f51b5;--mdc-slider-focus-handle-color: #3f51b5;--mdc-slider-hover-handle-color: #3f51b5;--mdc-slider-active-track-color: #3f51b5;--mdc-slider-inactive-track-color: #3f51b5;--mdc-slider-with-tick-marks-inactive-container-color: #3f51b5;--mdc-slider-with-tick-marks-active-container-color: white;--mdc-slider-disabled-active-track-color: #fff;--mdc-slider-disabled-handle-color: #fff;--mdc-slider-disabled-inactive-track-color: #fff;--mdc-slider-label-container-color: #fff;--mdc-slider-label-label-text-color: #000;--mdc-slider-with-overlap-handle-outline-color: #fff;--mdc-slider-with-tick-marks-disabled-container-color: #fff}.dark-theme{--mat-slider-ripple-color: #3f51b5;--mat-slider-hover-state-layer-color: rgba(63, 81, 181, .05);--mat-slider-focus-state-layer-color: rgba(63, 81, 181, .2);--mat-slider-value-indicator-opacity: .9}.dark-theme .mat-accent{--mdc-slider-handle-color: #ff4081;--mdc-slider-focus-handle-color: #ff4081;--mdc-slider-hover-handle-color: #ff4081;--mdc-slider-active-track-color: #ff4081;--mdc-slider-inactive-track-color: #ff4081;--mdc-slider-with-tick-marks-inactive-container-color: #ff4081;--mdc-slider-with-tick-marks-active-container-color: white}.dark-theme .mat-accent{--mat-slider-ripple-color: #ff4081;--mat-slider-hover-state-layer-color: rgba(255, 64, 129, .05);--mat-slider-focus-state-layer-color: rgba(255, 64, 129, .2)}.dark-theme .mat-warn{--mdc-slider-handle-color: #f44336;--mdc-slider-focus-handle-color: #f44336;--mdc-slider-hover-handle-color: #f44336;--mdc-slider-active-track-color: #f44336;--mdc-slider-inactive-track-color: #f44336;--mdc-slider-with-tick-marks-inactive-container-color: #f44336;--mdc-slider-with-tick-marks-active-container-color: white}.dark-theme .mat-warn{--mat-slider-ripple-color: #f44336;--mat-slider-hover-state-layer-color: rgba(244, 67, 54, .05);--mat-slider-focus-state-layer-color: rgba(244, 67, 54, .2)}.dark-theme{--mat-menu-container-shape: 4px;--mat-menu-divider-bottom-spacing: 0;--mat-menu-divider-top-spacing: 0;--mat-menu-item-spacing: 16px;--mat-menu-item-icon-size: 24px;--mat-menu-item-leading-spacing: 16px;--mat-menu-item-trailing-spacing: 16px;--mat-menu-item-with-icon-leading-spacing: 16px;--mat-menu-item-with-icon-trailing-spacing: 16px;--mat-menu-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12)}.dark-theme{--mat-menu-item-label-text-color: white;--mat-menu-item-icon-color: white;--mat-menu-item-hover-state-layer-color: rgba(255, 255, 255, .08);--mat-menu-item-focus-state-layer-color: rgba(255, 255, 255, .08);--mat-menu-container-color: #424242;--mat-menu-divider-color: rgba(255, 255, 255, .12)}.dark-theme{--mdc-list-list-item-container-shape: 0;--mdc-list-list-item-leading-avatar-shape: 50%;--mdc-list-list-item-container-color: transparent;--mdc-list-list-item-selected-container-color: transparent;--mdc-list-list-item-leading-avatar-color: transparent;--mdc-list-list-item-leading-icon-size: 24px;--mdc-list-list-item-leading-avatar-size: 40px;--mdc-list-list-item-trailing-icon-size: 24px;--mdc-list-list-item-disabled-state-layer-color: transparent;--mdc-list-list-item-disabled-state-layer-opacity: 0;--mdc-list-list-item-disabled-label-text-opacity: .38;--mdc-list-list-item-disabled-leading-icon-opacity: .38;--mdc-list-list-item-disabled-trailing-icon-opacity: .38}.dark-theme{--mat-list-active-indicator-color: transparent;--mat-list-active-indicator-shape: 4px}.dark-theme{--mdc-list-list-item-label-text-color: white;--mdc-list-list-item-supporting-text-color: rgba(255, 255, 255, .7);--mdc-list-list-item-leading-icon-color: rgba(255, 255, 255, .5);--mdc-list-list-item-trailing-supporting-text-color: rgba(255, 255, 255, .5);--mdc-list-list-item-trailing-icon-color: rgba(255, 255, 255, .5);--mdc-list-list-item-selected-trailing-icon-color: rgba(255, 255, 255, .5);--mdc-list-list-item-disabled-label-text-color: white;--mdc-list-list-item-disabled-leading-icon-color: white;--mdc-list-list-item-disabled-trailing-icon-color: white;--mdc-list-list-item-hover-label-text-color: white;--mdc-list-list-item-hover-leading-icon-color: rgba(255, 255, 255, .5);--mdc-list-list-item-hover-trailing-icon-color: rgba(255, 255, 255, .5);--mdc-list-list-item-focus-label-text-color: white;--mdc-list-list-item-hover-state-layer-color: white;--mdc-list-list-item-hover-state-layer-opacity: .08;--mdc-list-list-item-focus-state-layer-color: white;--mdc-list-list-item-focus-state-layer-opacity: .24}.dark-theme .mdc-list-item__start,.dark-theme .mdc-list-item__end{--mdc-radio-disabled-selected-icon-color: white;--mdc-radio-disabled-unselected-icon-color: white;--mdc-radio-unselected-hover-icon-color: #eeeeee;--mdc-radio-unselected-focus-icon-color: #eeeeee;--mdc-radio-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-radio-unselected-pressed-icon-color: rgba(255, 255, 255, .54);--mdc-radio-selected-focus-icon-color: #3f51b5;--mdc-radio-selected-hover-icon-color: #3f51b5;--mdc-radio-selected-icon-color: #3f51b5;--mdc-radio-selected-pressed-icon-color: #3f51b5}.dark-theme .mat-accent .mdc-list-item__start,.dark-theme .mat-accent .mdc-list-item__end{--mdc-radio-disabled-selected-icon-color: white;--mdc-radio-disabled-unselected-icon-color: white;--mdc-radio-unselected-hover-icon-color: #eeeeee;--mdc-radio-unselected-focus-icon-color: #eeeeee;--mdc-radio-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-radio-unselected-pressed-icon-color: rgba(255, 255, 255, .54);--mdc-radio-selected-focus-icon-color: #ff4081;--mdc-radio-selected-hover-icon-color: #ff4081;--mdc-radio-selected-icon-color: #ff4081;--mdc-radio-selected-pressed-icon-color: #ff4081}.dark-theme .mat-warn .mdc-list-item__start,.dark-theme .mat-warn .mdc-list-item__end{--mdc-radio-disabled-selected-icon-color: white;--mdc-radio-disabled-unselected-icon-color: white;--mdc-radio-unselected-hover-icon-color: #eeeeee;--mdc-radio-unselected-focus-icon-color: #eeeeee;--mdc-radio-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-radio-unselected-pressed-icon-color: rgba(255, 255, 255, .54);--mdc-radio-selected-focus-icon-color: #f44336;--mdc-radio-selected-hover-icon-color: #f44336;--mdc-radio-selected-icon-color: #f44336;--mdc-radio-selected-pressed-icon-color: #f44336}.dark-theme .mat-mdc-list-option{--mdc-checkbox-disabled-selected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #3f51b5;--mdc-checkbox-selected-hover-icon-color: #3f51b5;--mdc-checkbox-selected-icon-color: #3f51b5;--mdc-checkbox-selected-pressed-icon-color: #3f51b5;--mdc-checkbox-unselected-focus-icon-color: #eeeeee;--mdc-checkbox-unselected-hover-icon-color: #eeeeee;--mdc-checkbox-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-checkbox-selected-focus-state-layer-color: #3f51b5;--mdc-checkbox-selected-hover-state-layer-color: #3f51b5;--mdc-checkbox-selected-pressed-state-layer-color: #3f51b5;--mdc-checkbox-unselected-focus-state-layer-color: white;--mdc-checkbox-unselected-hover-state-layer-color: white;--mdc-checkbox-unselected-pressed-state-layer-color: white}.dark-theme .mat-mdc-list-option.mat-accent{--mdc-checkbox-disabled-selected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #ff4081;--mdc-checkbox-selected-hover-icon-color: #ff4081;--mdc-checkbox-selected-icon-color: #ff4081;--mdc-checkbox-selected-pressed-icon-color: #ff4081;--mdc-checkbox-unselected-focus-icon-color: #eeeeee;--mdc-checkbox-unselected-hover-icon-color: #eeeeee;--mdc-checkbox-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-checkbox-selected-focus-state-layer-color: #ff4081;--mdc-checkbox-selected-hover-state-layer-color: #ff4081;--mdc-checkbox-selected-pressed-state-layer-color: #ff4081;--mdc-checkbox-unselected-focus-state-layer-color: white;--mdc-checkbox-unselected-hover-state-layer-color: white;--mdc-checkbox-unselected-pressed-state-layer-color: white}.dark-theme .mat-mdc-list-option.mat-warn{--mdc-checkbox-disabled-selected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #f44336;--mdc-checkbox-selected-hover-icon-color: #f44336;--mdc-checkbox-selected-icon-color: #f44336;--mdc-checkbox-selected-pressed-icon-color: #f44336;--mdc-checkbox-unselected-focus-icon-color: #eeeeee;--mdc-checkbox-unselected-hover-icon-color: #eeeeee;--mdc-checkbox-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-checkbox-selected-focus-state-layer-color: #f44336;--mdc-checkbox-selected-hover-state-layer-color: #f44336;--mdc-checkbox-selected-pressed-state-layer-color: #f44336;--mdc-checkbox-unselected-focus-state-layer-color: white;--mdc-checkbox-unselected-hover-state-layer-color: white;--mdc-checkbox-unselected-pressed-state-layer-color: white}.dark-theme .mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--selected .mdc-list-item__primary-text,.dark-theme .mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--selected .mdc-list-item__start,.dark-theme .mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--activated .mdc-list-item__primary-text,.dark-theme .mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--activated .mdc-list-item__start{color:#3f51b5}.dark-theme .mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__start,.dark-theme .mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__content,.dark-theme .mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__end{opacity:1}.dark-theme{--mat-paginator-container-text-color: rgba(255, 255, 255, .87);--mat-paginator-container-background-color: #424242;--mat-paginator-enabled-icon-color: rgba(255, 255, 255, .54);--mat-paginator-disabled-icon-color: rgba(255, 255, 255, .12)}.dark-theme{--mdc-secondary-navigation-tab-container-height: 48px}.dark-theme{--mdc-tab-indicator-active-indicator-height: 2px;--mdc-tab-indicator-active-indicator-shape: 0}.dark-theme{--mat-tab-header-divider-color: transparent;--mat-tab-header-divider-height: 0}.dark-theme .mat-mdc-tab-group,.dark-theme .mat-mdc-tab-nav-bar{--mdc-tab-indicator-active-indicator-color: #3f51b5}.dark-theme .mat-mdc-tab-group,.dark-theme .mat-mdc-tab-nav-bar{--mat-tab-header-disabled-ripple-color: rgba(255, 255, 255, .5);--mat-tab-header-pagination-icon-color: white;--mat-tab-header-inactive-label-text-color: rgba(255, 255, 255, .6);--mat-tab-header-active-label-text-color: #3f51b5;--mat-tab-header-active-ripple-color: #3f51b5;--mat-tab-header-inactive-ripple-color: #3f51b5;--mat-tab-header-inactive-focus-label-text-color: rgba(255, 255, 255, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(255, 255, 255, .6);--mat-tab-header-active-focus-label-text-color: #3f51b5;--mat-tab-header-active-hover-label-text-color: #3f51b5;--mat-tab-header-active-focus-indicator-color: #3f51b5;--mat-tab-header-active-hover-indicator-color: #3f51b5}.dark-theme .mat-mdc-tab-group.mat-accent,.dark-theme .mat-mdc-tab-nav-bar.mat-accent{--mdc-tab-indicator-active-indicator-color: #ff4081}.dark-theme .mat-mdc-tab-group.mat-accent,.dark-theme .mat-mdc-tab-nav-bar.mat-accent{--mat-tab-header-disabled-ripple-color: rgba(255, 255, 255, .5);--mat-tab-header-pagination-icon-color: white;--mat-tab-header-inactive-label-text-color: rgba(255, 255, 255, .6);--mat-tab-header-active-label-text-color: #ff4081;--mat-tab-header-active-ripple-color: #ff4081;--mat-tab-header-inactive-ripple-color: #ff4081;--mat-tab-header-inactive-focus-label-text-color: rgba(255, 255, 255, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(255, 255, 255, .6);--mat-tab-header-active-focus-label-text-color: #ff4081;--mat-tab-header-active-hover-label-text-color: #ff4081;--mat-tab-header-active-focus-indicator-color: #ff4081;--mat-tab-header-active-hover-indicator-color: #ff4081}.dark-theme .mat-mdc-tab-group.mat-warn,.dark-theme .mat-mdc-tab-nav-bar.mat-warn{--mdc-tab-indicator-active-indicator-color: #f44336}.dark-theme .mat-mdc-tab-group.mat-warn,.dark-theme .mat-mdc-tab-nav-bar.mat-warn{--mat-tab-header-disabled-ripple-color: rgba(255, 255, 255, .5);--mat-tab-header-pagination-icon-color: white;--mat-tab-header-inactive-label-text-color: rgba(255, 255, 255, .6);--mat-tab-header-active-label-text-color: #f44336;--mat-tab-header-active-ripple-color: #f44336;--mat-tab-header-inactive-ripple-color: #f44336;--mat-tab-header-inactive-focus-label-text-color: rgba(255, 255, 255, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(255, 255, 255, .6);--mat-tab-header-active-focus-label-text-color: #f44336;--mat-tab-header-active-hover-label-text-color: #f44336;--mat-tab-header-active-focus-indicator-color: #f44336;--mat-tab-header-active-hover-indicator-color: #f44336}.dark-theme .mat-mdc-tab-group.mat-background-primary,.dark-theme .mat-mdc-tab-nav-bar.mat-background-primary{--mat-tab-header-with-background-background-color: #3f51b5;--mat-tab-header-with-background-foreground-color: white}.dark-theme .mat-mdc-tab-group.mat-background-accent,.dark-theme .mat-mdc-tab-nav-bar.mat-background-accent{--mat-tab-header-with-background-background-color: #ff4081;--mat-tab-header-with-background-foreground-color: white}.dark-theme .mat-mdc-tab-group.mat-background-warn,.dark-theme .mat-mdc-tab-nav-bar.mat-background-warn{--mat-tab-header-with-background-background-color: #f44336;--mat-tab-header-with-background-foreground-color: white}.dark-theme{--mdc-checkbox-disabled-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-state-layer-opacity: .16;--mdc-checkbox-selected-hover-state-layer-opacity: .04;--mdc-checkbox-selected-pressed-state-layer-opacity: .16;--mdc-checkbox-unselected-focus-state-layer-opacity: .16;--mdc-checkbox-unselected-hover-state-layer-opacity: .04;--mdc-checkbox-unselected-pressed-state-layer-opacity: .16}.dark-theme{--mdc-checkbox-disabled-selected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #ff4081;--mdc-checkbox-selected-hover-icon-color: #ff4081;--mdc-checkbox-selected-icon-color: #ff4081;--mdc-checkbox-selected-pressed-icon-color: #ff4081;--mdc-checkbox-unselected-focus-icon-color: #eeeeee;--mdc-checkbox-unselected-hover-icon-color: #eeeeee;--mdc-checkbox-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-checkbox-selected-focus-state-layer-color: #ff4081;--mdc-checkbox-selected-hover-state-layer-color: #ff4081;--mdc-checkbox-selected-pressed-state-layer-color: #ff4081;--mdc-checkbox-unselected-focus-state-layer-color: white;--mdc-checkbox-unselected-hover-state-layer-color: white;--mdc-checkbox-unselected-pressed-state-layer-color: white}.dark-theme{--mat-checkbox-disabled-label-color: rgba(255, 255, 255, .5);--mat-checkbox-label-text-color: white}.dark-theme .mat-mdc-checkbox.mat-primary{--mdc-checkbox-disabled-selected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #3f51b5;--mdc-checkbox-selected-hover-icon-color: #3f51b5;--mdc-checkbox-selected-icon-color: #3f51b5;--mdc-checkbox-selected-pressed-icon-color: #3f51b5;--mdc-checkbox-unselected-focus-icon-color: #eeeeee;--mdc-checkbox-unselected-hover-icon-color: #eeeeee;--mdc-checkbox-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-checkbox-selected-focus-state-layer-color: #3f51b5;--mdc-checkbox-selected-hover-state-layer-color: #3f51b5;--mdc-checkbox-selected-pressed-state-layer-color: #3f51b5;--mdc-checkbox-unselected-focus-state-layer-color: white;--mdc-checkbox-unselected-hover-state-layer-color: white;--mdc-checkbox-unselected-pressed-state-layer-color: white}.dark-theme .mat-mdc-checkbox.mat-warn{--mdc-checkbox-disabled-selected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(255, 255, 255, .38);--mdc-checkbox-selected-checkmark-color: white;--mdc-checkbox-selected-focus-icon-color: #f44336;--mdc-checkbox-selected-hover-icon-color: #f44336;--mdc-checkbox-selected-icon-color: #f44336;--mdc-checkbox-selected-pressed-icon-color: #f44336;--mdc-checkbox-unselected-focus-icon-color: #eeeeee;--mdc-checkbox-unselected-hover-icon-color: #eeeeee;--mdc-checkbox-unselected-icon-color: rgba(255, 255, 255, .54);--mdc-checkbox-selected-focus-state-layer-color: #f44336;--mdc-checkbox-selected-hover-state-layer-color: #f44336;--mdc-checkbox-selected-pressed-state-layer-color: #f44336;--mdc-checkbox-unselected-focus-state-layer-color: white;--mdc-checkbox-unselected-hover-state-layer-color: white;--mdc-checkbox-unselected-pressed-state-layer-color: white}.dark-theme{--mdc-text-button-container-shape: 4px;--mdc-text-button-keep-touch-target: false}.dark-theme{--mdc-filled-button-container-shape: 4px;--mdc-filled-button-keep-touch-target: false}.dark-theme{--mdc-protected-button-container-shape: 4px;--mdc-protected-button-container-elevation-shadow: 0px 3px 1px -2px rgba(0, 0, 0, .2), 0px 2px 2px 0px rgba(0, 0, 0, .14), 0px 1px 5px 0px rgba(0, 0, 0, .12);--mdc-protected-button-disabled-container-elevation-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mdc-protected-button-focus-container-elevation-shadow: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mdc-protected-button-hover-container-elevation-shadow: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mdc-protected-button-pressed-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12)}.dark-theme{--mdc-outlined-button-keep-touch-target: false;--mdc-outlined-button-outline-width: 1px;--mdc-outlined-button-container-shape: 4px}.dark-theme{--mat-text-button-horizontal-padding: 8px;--mat-text-button-with-icon-horizontal-padding: 8px;--mat-text-button-icon-spacing: 8px;--mat-text-button-icon-offset: 0}.dark-theme{--mat-filled-button-horizontal-padding: 16px;--mat-filled-button-icon-spacing: 8px;--mat-filled-button-icon-offset: -4px}.dark-theme{--mat-protected-button-horizontal-padding: 16px;--mat-protected-button-icon-spacing: 8px;--mat-protected-button-icon-offset: -4px}.dark-theme{--mat-outlined-button-horizontal-padding: 15px;--mat-outlined-button-icon-spacing: 8px;--mat-outlined-button-icon-offset: -4px}.dark-theme{--mdc-text-button-label-text-color: white;--mdc-text-button-disabled-label-text-color: rgba(255, 255, 255, .5)}.dark-theme{--mat-text-button-state-layer-color: white;--mat-text-button-disabled-state-layer-color: white;--mat-text-button-ripple-color: rgba(255, 255, 255, .1);--mat-text-button-hover-state-layer-opacity: .08;--mat-text-button-focus-state-layer-opacity: .24;--mat-text-button-pressed-state-layer-opacity: .24}.dark-theme{--mdc-filled-button-container-color: #424242;--mdc-filled-button-label-text-color: white;--mdc-filled-button-disabled-container-color: rgba(255, 255, 255, .12);--mdc-filled-button-disabled-label-text-color: rgba(255, 255, 255, .5)}.dark-theme{--mat-filled-button-state-layer-color: white;--mat-filled-button-disabled-state-layer-color: white;--mat-filled-button-ripple-color: rgba(255, 255, 255, .1);--mat-filled-button-hover-state-layer-opacity: .08;--mat-filled-button-focus-state-layer-opacity: .24;--mat-filled-button-pressed-state-layer-opacity: .24}.dark-theme{--mdc-protected-button-container-color: #424242;--mdc-protected-button-label-text-color: white;--mdc-protected-button-disabled-container-color: rgba(255, 255, 255, .12);--mdc-protected-button-disabled-label-text-color: rgba(255, 255, 255, .5)}.dark-theme{--mat-protected-button-state-layer-color: white;--mat-protected-button-disabled-state-layer-color: white;--mat-protected-button-ripple-color: rgba(255, 255, 255, .1);--mat-protected-button-hover-state-layer-opacity: .08;--mat-protected-button-focus-state-layer-opacity: .24;--mat-protected-button-pressed-state-layer-opacity: .24}.dark-theme{--mdc-outlined-button-disabled-outline-color: rgba(255, 255, 255, .12);--mdc-outlined-button-disabled-label-text-color: rgba(255, 255, 255, .5);--mdc-outlined-button-label-text-color: white;--mdc-outlined-button-outline-color: rgba(255, 255, 255, .12)}.dark-theme{--mat-outlined-button-state-layer-color: white;--mat-outlined-button-disabled-state-layer-color: white;--mat-outlined-button-ripple-color: rgba(255, 255, 255, .1);--mat-outlined-button-hover-state-layer-opacity: .08;--mat-outlined-button-focus-state-layer-opacity: .24;--mat-outlined-button-pressed-state-layer-opacity: .24}.dark-theme .mat-mdc-button.mat-primary{--mdc-text-button-label-text-color: #3f51b5}.dark-theme .mat-mdc-button.mat-primary{--mat-text-button-state-layer-color: #3f51b5;--mat-text-button-ripple-color: rgba(63, 81, 181, .1)}.dark-theme .mat-mdc-button.mat-accent{--mdc-text-button-label-text-color: #ff4081}.dark-theme .mat-mdc-button.mat-accent{--mat-text-button-state-layer-color: #ff4081;--mat-text-button-ripple-color: rgba(255, 64, 129, .1)}.dark-theme .mat-mdc-button.mat-warn{--mdc-text-button-label-text-color: #f44336}.dark-theme .mat-mdc-button.mat-warn{--mat-text-button-state-layer-color: #f44336;--mat-text-button-ripple-color: rgba(244, 67, 54, .1)}.dark-theme .mat-mdc-unelevated-button.mat-primary{--mdc-filled-button-container-color: #3f51b5;--mdc-filled-button-label-text-color: white}.dark-theme .mat-mdc-unelevated-button.mat-primary{--mat-filled-button-state-layer-color: white;--mat-filled-button-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-unelevated-button.mat-accent{--mdc-filled-button-container-color: #ff4081;--mdc-filled-button-label-text-color: white}.dark-theme .mat-mdc-unelevated-button.mat-accent{--mat-filled-button-state-layer-color: white;--mat-filled-button-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-unelevated-button.mat-warn{--mdc-filled-button-container-color: #f44336;--mdc-filled-button-label-text-color: white}.dark-theme .mat-mdc-unelevated-button.mat-warn{--mat-filled-button-state-layer-color: white;--mat-filled-button-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-raised-button.mat-primary{--mdc-protected-button-container-color: #3f51b5;--mdc-protected-button-label-text-color: white}.dark-theme .mat-mdc-raised-button.mat-primary{--mat-protected-button-state-layer-color: white;--mat-protected-button-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-raised-button.mat-accent{--mdc-protected-button-container-color: #ff4081;--mdc-protected-button-label-text-color: white}.dark-theme .mat-mdc-raised-button.mat-accent{--mat-protected-button-state-layer-color: white;--mat-protected-button-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-raised-button.mat-warn{--mdc-protected-button-container-color: #f44336;--mdc-protected-button-label-text-color: white}.dark-theme .mat-mdc-raised-button.mat-warn{--mat-protected-button-state-layer-color: white;--mat-protected-button-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-outlined-button.mat-primary{--mdc-outlined-button-label-text-color: #3f51b5;--mdc-outlined-button-outline-color: rgba(255, 255, 255, .12)}.dark-theme .mat-mdc-outlined-button.mat-primary{--mat-outlined-button-state-layer-color: #3f51b5;--mat-outlined-button-ripple-color: rgba(63, 81, 181, .1)}.dark-theme .mat-mdc-outlined-button.mat-accent{--mdc-outlined-button-label-text-color: #ff4081;--mdc-outlined-button-outline-color: rgba(255, 255, 255, .12)}.dark-theme .mat-mdc-outlined-button.mat-accent{--mat-outlined-button-state-layer-color: #ff4081;--mat-outlined-button-ripple-color: rgba(255, 64, 129, .1)}.dark-theme .mat-mdc-outlined-button.mat-warn{--mdc-outlined-button-label-text-color: #f44336;--mdc-outlined-button-outline-color: rgba(255, 255, 255, .12)}.dark-theme .mat-mdc-outlined-button.mat-warn{--mat-outlined-button-state-layer-color: #f44336;--mat-outlined-button-ripple-color: rgba(244, 67, 54, .1)}.dark-theme{--mdc-icon-button-icon-size: 24px}.dark-theme{--mdc-icon-button-icon-color: inherit;--mdc-icon-button-disabled-icon-color: rgba(255, 255, 255, .5)}.dark-theme{--mat-icon-button-state-layer-color: white;--mat-icon-button-disabled-state-layer-color: white;--mat-icon-button-ripple-color: rgba(255, 255, 255, .1);--mat-icon-button-hover-state-layer-opacity: .08;--mat-icon-button-focus-state-layer-opacity: .24;--mat-icon-button-pressed-state-layer-opacity: .24}.dark-theme .mat-mdc-icon-button.mat-primary{--mdc-icon-button-icon-color: #3f51b5}.dark-theme .mat-mdc-icon-button.mat-primary{--mat-icon-button-state-layer-color: #3f51b5;--mat-icon-button-ripple-color: rgba(63, 81, 181, .1)}.dark-theme .mat-mdc-icon-button.mat-accent{--mdc-icon-button-icon-color: #ff4081}.dark-theme .mat-mdc-icon-button.mat-accent{--mat-icon-button-state-layer-color: #ff4081;--mat-icon-button-ripple-color: rgba(255, 64, 129, .1)}.dark-theme .mat-mdc-icon-button.mat-warn{--mdc-icon-button-icon-color: #f44336}.dark-theme .mat-mdc-icon-button.mat-warn{--mat-icon-button-state-layer-color: #f44336;--mat-icon-button-ripple-color: rgba(244, 67, 54, .1)}.dark-theme{--mdc-fab-container-shape: 50%;--mdc-fab-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-focus-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-pressed-container-elevation-shadow: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12)}.dark-theme{--mdc-fab-small-container-shape: 50%;--mdc-fab-small-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-small-focus-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-small-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-small-pressed-container-elevation-shadow: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12)}.dark-theme{--mdc-extended-fab-container-height: 48px;--mdc-extended-fab-container-shape: 24px;--mdc-extended-fab-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-extended-fab-focus-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-extended-fab-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-extended-fab-pressed-container-elevation-shadow: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12)}.dark-theme{--mdc-fab-container-color: #424242}.dark-theme{--mat-fab-foreground-color: white;--mat-fab-state-layer-color: white;--mat-fab-disabled-state-layer-color: white;--mat-fab-ripple-color: rgba(255, 255, 255, .1);--mat-fab-hover-state-layer-opacity: .08;--mat-fab-focus-state-layer-opacity: .24;--mat-fab-pressed-state-layer-opacity: .24;--mat-fab-disabled-state-container-color: rgba(255, 255, 255, .12);--mat-fab-disabled-state-foreground-color: rgba(255, 255, 255, .5)}.dark-theme{--mdc-fab-small-container-color: #424242}.dark-theme{--mat-fab-small-foreground-color: white;--mat-fab-small-state-layer-color: white;--mat-fab-small-disabled-state-layer-color: white;--mat-fab-small-ripple-color: rgba(255, 255, 255, .1);--mat-fab-small-hover-state-layer-opacity: .08;--mat-fab-small-focus-state-layer-opacity: .24;--mat-fab-small-pressed-state-layer-opacity: .24;--mat-fab-small-disabled-state-container-color: rgba(255, 255, 255, .12);--mat-fab-small-disabled-state-foreground-color: rgba(255, 255, 255, .5)}.dark-theme .mat-mdc-fab.mat-primary{--mdc-fab-container-color: #3f51b5}.dark-theme .mat-mdc-fab.mat-primary{--mat-fab-foreground-color: white;--mat-fab-state-layer-color: white;--mat-fab-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-fab.mat-accent{--mdc-fab-container-color: #ff4081}.dark-theme .mat-mdc-fab.mat-accent{--mat-fab-foreground-color: white;--mat-fab-state-layer-color: white;--mat-fab-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-fab.mat-warn{--mdc-fab-container-color: #f44336}.dark-theme .mat-mdc-fab.mat-warn{--mat-fab-foreground-color: white;--mat-fab-state-layer-color: white;--mat-fab-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-mini-fab.mat-primary{--mdc-fab-small-container-color: #3f51b5}.dark-theme .mat-mdc-mini-fab.mat-primary{--mat-fab-small-foreground-color: white;--mat-fab-small-state-layer-color: white;--mat-fab-small-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-mini-fab.mat-accent{--mdc-fab-small-container-color: #ff4081}.dark-theme .mat-mdc-mini-fab.mat-accent{--mat-fab-small-foreground-color: white;--mat-fab-small-state-layer-color: white;--mat-fab-small-ripple-color: rgba(255, 255, 255, .1)}.dark-theme .mat-mdc-mini-fab.mat-warn{--mdc-fab-small-container-color: #f44336}.dark-theme .mat-mdc-mini-fab.mat-warn{--mat-fab-small-foreground-color: white;--mat-fab-small-state-layer-color: white;--mat-fab-small-ripple-color: rgba(255, 255, 255, .1)}.dark-theme{--mdc-snackbar-container-shape: 4px}.dark-theme{--mdc-snackbar-container-color: rgb(217.2, 217.2, 217.2);--mdc-snackbar-supporting-text-color: rgba(66, 66, 66, .87)}.dark-theme{--mat-snack-bar-button-color: rgba(0, 0, 0, .87)}.dark-theme{--mat-table-row-item-outline-width: 1px}.dark-theme{--mat-table-background-color: #424242;--mat-table-header-headline-color: white;--mat-table-row-item-label-text-color: white;--mat-table-row-item-outline-color: rgba(255, 255, 255, .12)}.dark-theme{--mdc-circular-progress-active-indicator-width: 4px;--mdc-circular-progress-size: 48px}.dark-theme{--mdc-circular-progress-active-indicator-color: #3f51b5}.dark-theme .mat-accent{--mdc-circular-progress-active-indicator-color: #ff4081}.dark-theme .mat-warn{--mdc-circular-progress-active-indicator-color: #f44336}.dark-theme{--mat-badge-container-shape: 50%;--mat-badge-container-size: unset;--mat-badge-small-size-container-size: unset;--mat-badge-large-size-container-size: unset;--mat-badge-legacy-container-size: 22px;--mat-badge-legacy-small-size-container-size: 16px;--mat-badge-legacy-large-size-container-size: 28px;--mat-badge-container-offset: -11px 0;--mat-badge-small-size-container-offset: -8px 0;--mat-badge-large-size-container-offset: -14px 0;--mat-badge-container-overlap-offset: -11px;--mat-badge-small-size-container-overlap-offset: -8px;--mat-badge-large-size-container-overlap-offset: -14px;--mat-badge-container-padding: 0;--mat-badge-small-size-container-padding: 0;--mat-badge-large-size-container-padding: 0}.dark-theme{--mat-badge-background-color: #3f51b5;--mat-badge-text-color: white;--mat-badge-disabled-state-background-color: rgb(110.1, 110.1, 110.1);--mat-badge-disabled-state-text-color: rgba(255, 255, 255, .5)}.dark-theme .mat-badge-accent{--mat-badge-background-color: #ff4081;--mat-badge-text-color: white}.dark-theme .mat-badge-warn{--mat-badge-background-color: #f44336;--mat-badge-text-color: white}.dark-theme{--mat-bottom-sheet-container-shape: 4px}.dark-theme{--mat-bottom-sheet-container-text-color: white;--mat-bottom-sheet-container-background-color: #424242}.dark-theme{--mat-legacy-button-toggle-height: 36px;--mat-legacy-button-toggle-shape: 2px;--mat-legacy-button-toggle-focus-state-layer-opacity: 1}.dark-theme{--mat-standard-button-toggle-shape: 4px;--mat-standard-button-toggle-hover-state-layer-opacity: .04;--mat-standard-button-toggle-focus-state-layer-opacity: .12}.dark-theme{--mat-legacy-button-toggle-text-color: rgba(255, 255, 255, .5);--mat-legacy-button-toggle-state-layer-color: rgba(255, 255, 255, .12);--mat-legacy-button-toggle-selected-state-text-color: rgba(255, 255, 255, .7);--mat-legacy-button-toggle-selected-state-background-color: #212121;--mat-legacy-button-toggle-disabled-state-text-color: rgba(255, 255, 255, .3);--mat-legacy-button-toggle-disabled-state-background-color: black;--mat-legacy-button-toggle-disabled-selected-state-background-color: #424242}.dark-theme{--mat-standard-button-toggle-text-color: white;--mat-standard-button-toggle-background-color: #424242;--mat-standard-button-toggle-state-layer-color: white;--mat-standard-button-toggle-selected-state-background-color: #212121;--mat-standard-button-toggle-selected-state-text-color: white;--mat-standard-button-toggle-disabled-state-text-color: rgba(255, 255, 255, .3);--mat-standard-button-toggle-disabled-state-background-color: #424242;--mat-standard-button-toggle-disabled-selected-state-text-color: white;--mat-standard-button-toggle-disabled-selected-state-background-color: #424242;--mat-standard-button-toggle-divider-color: rgb(88.68, 88.68, 88.68)}.dark-theme{--mat-datepicker-calendar-container-shape: 4px;--mat-datepicker-calendar-container-touch-shape: 4px;--mat-datepicker-calendar-container-elevation-shadow: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mat-datepicker-calendar-container-touch-elevation-shadow: 0px 11px 15px -7px rgba(0, 0, 0, .2), 0px 24px 38px 3px rgba(0, 0, 0, .14), 0px 9px 46px 8px rgba(0, 0, 0, .12)}.dark-theme{--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #3f51b5;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(63, 81, 181, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: rgba(63, 81, 181, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(63, 81, 181, .3);--mat-datepicker-toggle-active-state-icon-color: #3f51b5;--mat-datepicker-calendar-date-in-range-state-background-color: rgba(63, 81, 181, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: rgb(69.5241935484, 163.4758064516, 93.9516129032);--mat-datepicker-toggle-icon-color: white;--mat-datepicker-calendar-body-label-text-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-period-button-text-color: white;--mat-datepicker-calendar-period-button-icon-color: white;--mat-datepicker-calendar-navigation-button-icon-color: white;--mat-datepicker-calendar-header-divider-color: rgba(255, 255, 255, .12);--mat-datepicker-calendar-header-text-color: rgba(255, 255, 255, .7);--mat-datepicker-calendar-date-today-outline-color: rgba(255, 255, 255, .5);--mat-datepicker-calendar-date-today-disabled-state-outline-color: rgba(255, 255, 255, .3);--mat-datepicker-calendar-date-text-color: white;--mat-datepicker-calendar-date-outline-color: transparent;--mat-datepicker-calendar-date-disabled-state-text-color: rgba(255, 255, 255, .5);--mat-datepicker-calendar-date-preview-state-outline-color: rgba(255, 255, 255, .24);--mat-datepicker-range-input-separator-color: white;--mat-datepicker-range-input-disabled-state-separator-color: rgba(255, 255, 255, .5);--mat-datepicker-range-input-disabled-state-text-color: rgba(255, 255, 255, .5);--mat-datepicker-calendar-container-background-color: #424242;--mat-datepicker-calendar-container-text-color: white}.dark-theme .mat-datepicker-content.mat-accent{--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #ff4081;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(255, 64, 129, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: rgba(255, 64, 129, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(255, 64, 129, .3);--mat-datepicker-calendar-date-in-range-state-background-color: rgba(255, 64, 129, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: rgb(69.5241935484, 163.4758064516, 93.9516129032)}.dark-theme .mat-datepicker-content.mat-warn{--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #f44336;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(244, 67, 54, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: rgba(244, 67, 54, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(244, 67, 54, .3);--mat-datepicker-calendar-date-in-range-state-background-color: rgba(244, 67, 54, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: rgb(69.5241935484, 163.4758064516, 93.9516129032)}.dark-theme .mat-datepicker-toggle-active.mat-accent{--mat-datepicker-toggle-active-state-icon-color: #ff4081}.dark-theme .mat-datepicker-toggle-active.mat-warn{--mat-datepicker-toggle-active-state-icon-color: #f44336}.dark-theme{--mat-divider-width: 1px}.dark-theme{--mat-divider-color: rgba(255, 255, 255, .12)}.dark-theme{--mat-expansion-container-shape: 4px;--mat-expansion-legacy-header-indicator-display: inline-block;--mat-expansion-header-indicator-display: none}.dark-theme{--mat-expansion-container-background-color: #424242;--mat-expansion-container-text-color: white;--mat-expansion-actions-divider-color: rgba(255, 255, 255, .12);--mat-expansion-header-hover-state-layer-color: rgba(255, 255, 255, .04);--mat-expansion-header-focus-state-layer-color: rgba(255, 255, 255, .04);--mat-expansion-header-disabled-state-text-color: rgba(255, 255, 255, .3);--mat-expansion-header-text-color: white;--mat-expansion-header-description-color: rgba(255, 255, 255, .7);--mat-expansion-header-indicator-color: rgba(255, 255, 255, .7)}.dark-theme{--mat-icon-color: inherit}.dark-theme .mat-icon.mat-primary{--mat-icon-color: #3f51b5}.dark-theme .mat-icon.mat-accent{--mat-icon-color: #ff4081}.dark-theme .mat-icon.mat-warn{--mat-icon-color: #f44336}.dark-theme{--mat-sidenav-container-shape: 0;--mat-sidenav-container-elevation-shadow: 0px 8px 10px -5px rgba(0, 0, 0, .2), 0px 16px 24px 2px rgba(0, 0, 0, .14), 0px 6px 30px 5px rgba(0, 0, 0, .12);--mat-sidenav-container-width: auto}.dark-theme{--mat-sidenav-container-divider-color: rgba(255, 255, 255, .12);--mat-sidenav-container-background-color: #424242;--mat-sidenav-container-text-color: white;--mat-sidenav-content-background-color: #303030;--mat-sidenav-content-text-color: white;--mat-sidenav-scrim-color: rgba(189, 189, 189, .6)}.dark-theme{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #3f51b5;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #3f51b5;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #3f51b5;--mat-stepper-header-edit-state-icon-foreground-color: white;--mat-stepper-container-color: #424242;--mat-stepper-line-color: rgba(255, 255, 255, .12);--mat-stepper-header-hover-state-layer-color: rgba(255, 255, 255, .04);--mat-stepper-header-focus-state-layer-color: rgba(255, 255, 255, .04);--mat-stepper-header-label-text-color: rgba(255, 255, 255, .7);--mat-stepper-header-optional-label-text-color: rgba(255, 255, 255, .7);--mat-stepper-header-selected-state-label-text-color: white;--mat-stepper-header-error-state-label-text-color: #f44336;--mat-stepper-header-icon-background-color: rgba(255, 255, 255, .7);--mat-stepper-header-error-state-icon-foreground-color: #f44336;--mat-stepper-header-error-state-icon-background-color: transparent}.dark-theme .mat-step-header.mat-accent{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #ff4081;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #ff4081;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #ff4081;--mat-stepper-header-edit-state-icon-foreground-color: white}.dark-theme .mat-step-header.mat-warn{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #f44336;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #f44336;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #f44336;--mat-stepper-header-edit-state-icon-foreground-color: white}.dark-theme{--mat-sort-arrow-color: rgb(198.3, 198.3, 198.3)}.dark-theme{--mat-toolbar-container-background-color: #212121;--mat-toolbar-container-text-color: white}.dark-theme .mat-toolbar.mat-primary{--mat-toolbar-container-background-color: #3f51b5;--mat-toolbar-container-text-color: white}.dark-theme .mat-toolbar.mat-accent{--mat-toolbar-container-background-color: #ff4081;--mat-toolbar-container-text-color: white}.dark-theme .mat-toolbar.mat-warn{--mat-toolbar-container-background-color: #f44336;--mat-toolbar-container-text-color: white}.dark-theme{--mat-tree-container-background-color: #424242;--mat-tree-node-text-color: white}.dark-theme{--mat-timepicker-container-shape: 4px;--mat-timepicker-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12)}.dark-theme{--mat-timepicker-container-background-color: #424242}.dark-theme html,.dark-theme body{background-color:#303030}.mat-mdc-dialog-container{--mdc-dialog-supporting-text-font: $font-family;--mdc-dialog-subhead-font: $font-family;--mdc-dialog-title-font: $font-family;--mdc-dialog-button-font: $font-family;--mdc-dialog-supporting-text-size: 1rem;--mdc-dialog-subhead-size: 1.25rem;--mdc-dialog-supporting-text-weight: 400;--mdc-dialog-supporting-text-color: rgba(0, 0, 0, 1)}.cc-window{opacity:1;-webkit-transition:opacity 1s ease;transition:opacity 1s ease}.cc-window.cc-invisible{opacity:0}.cc-animate.cc-revoke{-webkit-transition:transform 1s ease;-webkit-transition:-webkit-transform 1s ease;transition:-webkit-transform 1s ease;transition:transform 1s ease;transition:transform 1s ease,-webkit-transform 1s ease}.cc-animate.cc-revoke.cc-top{-webkit-transform:translateY(-2em);transform:translateY(-2em)}.cc-animate.cc-revoke.cc-bottom{-webkit-transform:translateY(2em);transform:translateY(2em)}.cc-animate.cc-revoke.cc-active.cc-top,.cc-animate.cc-revoke.cc-active.cc-bottom,.cc-revoke:hover{-webkit-transform:translateY(0);transform:translateY(0)}.cc-grower{max-height:0;overflow:hidden;-webkit-transition:max-height 1s;transition:max-height 1s}.cc-revoke,.cc-window{position:fixed;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;font-family:Helvetica,Calibri,Arial,sans-serif;font-size:16px;line-height:1.5em;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;z-index:9999}.cc-window.cc-static{position:static}.cc-window.cc-floating{padding:2em;max-width:24em;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.cc-window.cc-banner{padding:1em 1.8em;width:100%;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.cc-revoke{padding:.5em}.cc-revoke:hover{text-decoration:underline}.cc-header{font-size:18px;font-weight:700}.cc-btn,.cc-close,.cc-link,.cc-revoke{cursor:pointer}.cc-link{opacity:.8;display:inline-block;padding:.2em;text-decoration:underline}.cc-link:hover{opacity:1}.cc-link:active,.cc-link:visited{color:initial}.cc-btn{display:block;padding:.4em .8em;font-size:.9em;font-weight:700;border-width:2px;border-style:solid;text-align:center;white-space:nowrap}.cc-highlight .cc-btn:first-child{background-color:transparent;border-color:transparent}.cc-highlight .cc-btn:first-child:focus,.cc-highlight .cc-btn:first-child:hover{background-color:transparent;text-decoration:underline}.cc-close{display:block;position:absolute;top:.5em;right:.5em;font-size:1.6em;opacity:.9;line-height:.75}.cc-close:focus,.cc-close:hover{opacity:1}.cc-revoke.cc-top{top:0;left:3em;border-bottom-left-radius:.5em;border-bottom-right-radius:.5em}.cc-revoke.cc-bottom{bottom:0;left:3em;border-top-left-radius:.5em;border-top-right-radius:.5em}.cc-revoke.cc-left{left:3em;right:unset}.cc-revoke.cc-right{right:3em;left:unset}.cc-top{top:1em}.cc-left{left:1em}.cc-right{right:1em}.cc-bottom{bottom:1em}.cc-floating>.cc-link{margin-bottom:1em}.cc-floating .cc-message{display:block;margin-bottom:1em}.cc-window.cc-floating .cc-compliance{-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto}.cc-window.cc-banner{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.cc-banner.cc-top{left:0;right:0;top:0}.cc-banner.cc-bottom{left:0;right:0;bottom:0}.cc-banner .cc-message{display:block;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;max-width:100%;margin-right:1em}.cc-compliance{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:justify;align-content:space-between}.cc-floating .cc-compliance>.cc-btn{-webkit-box-flex:1;-ms-flex:1;flex:1}.cc-btn+.cc-btn{margin-left:.5em}@media print{.cc-revoke,.cc-window{display:none}}@media screen and (max-width:900px){.cc-btn{white-space:normal}}@media screen and (max-width:414px) and (orientation:portrait),screen and (max-width:736px) and (orientation:landscape){.cc-window.cc-top{top:0}.cc-window.cc-bottom{bottom:0}.cc-window.cc-banner,.cc-window.cc-floating,.cc-window.cc-left,.cc-window.cc-right{left:0;right:0}.cc-window.cc-banner{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.cc-window.cc-banner .cc-compliance{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.cc-window.cc-floating{max-width:none}.cc-window .cc-message{margin-bottom:1em}.cc-window.cc-banner{-webkit-box-align:unset;-ms-flex-align:unset;align-items:unset}.cc-window.cc-banner .cc-message{margin-right:0}}.cc-floating.cc-theme-classic{padding:1.2em;border-radius:5px}.cc-floating.cc-type-info.cc-theme-classic .cc-compliance{text-align:center;display:inline;-webkit-box-flex:0;-ms-flex:none;flex:none}.cc-theme-classic .cc-btn{border-radius:5px}.cc-theme-classic .cc-btn:last-child{min-width:140px}.cc-floating.cc-type-info.cc-theme-classic .cc-btn{display:inline-block}.cc-theme-edgeless.cc-window{padding:0}.cc-floating.cc-theme-edgeless .cc-message{margin:2em 2em 1.5em}.cc-banner.cc-theme-edgeless .cc-btn{margin:0;padding:.8em 1.8em;height:100%}.cc-banner.cc-theme-edgeless .cc-message{margin-left:1em}.cc-floating.cc-theme-edgeless .cc-btn+.cc-btn{margin-left:0} diff --git a/server/src/uds/static/modern/translations-fakejs.js b/server/src/uds/static/modern/translations-fakejs.js index 0f83adbca..880d3fee6 100644 --- a/server/src/uds/static/modern/translations-fakejs.js +++ b/server/src/uds/static/modern/translations-fakejs.js @@ -20,9 +20,14 @@ gettext("Are you sure?"); gettext("Username"); gettext("Password"); gettext("Domain"); -gettext("We use cookies to track usage and preferences"); -gettext("I Understand"); +gettext("We use cookies to authenticate users and remember preferences."); +gettext("If you do not agree, please"); +gettext("leave this site"); +gettext("I Accept"); +gettext("Refuse and leave"); +gettext("I Accept"); gettext("Learn more"); +gettext("Cookie Policy"); gettext("Launching service"); gettext("Invalid UDS URL"); gettext("Please wait until the service is launched."); diff --git a/server/src/uds/templates/uds/admin/index.html b/server/src/uds/templates/uds/admin/index.html index f7cad4553..fe3df008f 100644 --- a/server/src/uds/templates/uds/admin/index.html +++ b/server/src/uds/templates/uds/admin/index.html @@ -1,5 +1,5 @@ {% load i18n %}{% get_current_language as LANGUAGE_CODE %} - + @@ -90,7 +90,7 @@ - + @@ -102,6 +102,6 @@ - + diff --git a/server/src/uds/templates/uds/modern/index.html b/server/src/uds/templates/uds/modern/index.html index dbf48eacf..c926dee20 100644 --- a/server/src/uds/templates/uds/modern/index.html +++ b/server/src/uds/templates/uds/modern/index.html @@ -1,5 +1,5 @@ {% load i18n %}{% get_current_language as LANGUAGE_CODE %} - + @@ -97,7 +97,7 @@ head.appendChild(link); --> - + @@ -109,6 +109,6 @@ - + diff --git a/server/src/uds/web/util/configjs.py b/server/src/uds/web/util/configjs.py index 683c89ca7..7444db823 100644 --- a/server/src/uds/web/util/configjs.py +++ b/server/src/uds/web/util/configjs.py @@ -121,6 +121,10 @@ def _get_auth_info(auth: Authenticator) -> dict[str, typing.Any]: 'site_information': GlobalConfig.SITE_INFO.get(), 'site_filter_on_top': GlobalConfig.SITE_FILTER_ONTOP.as_bool(True), 'launcher_wait_time': 5000, + 'cookies_consent': { + 'text': GlobalConfig.COOKIES_CONSENT_TEXT.get(True), + 'enabled': GlobalConfig.COOKIES_CONSENT_ENABLED.as_bool(True), + }, 'messages': { # Calendar denied message 'calendar_denied': GlobalConfig.LIMITED_BY_CALENDAR_TEXT.get().strip()