import{A as yr,B as Ir,D as xr,Ga as wi,Gb as Ci,H as ae,Ha as wr,Ib as le,J as Ge,K as $e,Kb as Sr,L as Pt,Lb as Lr,Ma as ai,Mb as Vr,O as Er,Oa as Ar,Pa as S,Qa as $,Sa as p,Ta as ce,U as Ye,Ub as Mr,V as kr,Wa as T,Wb as Pr,X as si,Xa as Cr,Z as ni,Za as Rr,_a as Or,a as N,aa as x,b as _r,ba as k,ca as h,da as v,db as Nr,fb as Ze,ga as Dr,gb as Ai,h as b,ha as M,i as Ii,ia as P,jb as B,kb as Oe,la as c,lb as L,mb as l,n as xi,na as u,nb as Ne,o as Vt,oa as Ei,ob as d,pa as J,pb as f,q as F,qa as D,qb as w,r as br,rb as A,ta as ki,ua as y,va as oi,vb as Fr,w as Mt,wa as Tr,x as vr,xa as Di,xb as n,y as ri,ya as ee,z as Q,za as Ti,zb as g}from"./chunk-HBGFPKU2.js";var Z="https://www.ebi.ac.uk/",Ss="https://reactome.org",Ls="https://creativecommons.org/licenses/by/4.0/",Vs="https://ftp.ebi.ac.uk/pub/databases/intact/",Bt=Vs+"complex/",Ms="https://raw.githubusercontent.com/Complex-Portal/complex-portal-documentation/master/",Ps="https://raw.githubusercontent.com/Intact-Portal/intact-portal-documentation/master/",Br={production:!0,evn:"prod",analytics_id:"UA-672146-12",ebi_base_url:Z,license_url:Ls,complex_portal_documentation_url:Ms,intact_portal_documentation_url:Ps,complex_ws_base_url:Z+"intact/complex-ws",europepmc_base_url:Z+"europepmc",pdb_base_url:Z+"pdbe",ols_base_url:Z+"ols4/api/ontologies",ols_go_url:Z+"ols4/ontologies/go/terms?obo_id=",ols_eco_url:Z+"ols4/ontologies/eco/terms?obo_id=",complex_current:Bt+"current",complex_tab:Bt+"current/complextab/",complex_tab_readme:Bt+"current/complextab/README.htm",complex_psi25:Bt+"current/psi25/",complex_psi30:Bt+"current/psi30/",intact_base_url:Z+"intact",complex_portal_support_url:Z+"support/complexportal",training_url:Z+"training/search-results?query=complex%20portal",reactome_base_url:Ss};var Bs=function(r,e,t,i){var s=arguments.length,o=s<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(r,e,t,i);else for(var m=r.length-1;m>=0;m--)(a=r[m])&&(o=(s<3?a(o):s>3?a(e,t,o):a(e,t))||o);return s>3&&o&&Object.defineProperty(e,t,o),o},j,jt=Br.complex_ws_base_url,U,jr=(U=class{constructor(e){b(this,"http");this.http=e}getComplex(e){let t=`${jt}/details/${e}`;return this.http.get(t).pipe(Ge(this.handleError))}getComplexAc(e){let t=`${jt}/complex/${e}`;return this.http.get(t).pipe(Ge(this.handleError))}getComplexOrganisms(){return this.findComplex("*").pipe(Q(e=>e.facets.species_f))}getComplexMIJSON(e){return this.http.get(jt+"/export/"+e).pipe(Ge(this.handleError))}findComplexNoFilters(e,t=1,i=10,s="json"){return this.findComplex(e,[],[],[],[],1,t,i,s)}findComplex(e,t=[],i=[],s=[],o=[],a=1,m=1,C=10,O="json"){let _="";t.length!==0&&(_+=this.buildFilterParam(j.SPECIES_FACET_FIELD,t)),i.length!==0&&(_+=this.buildFilterParam(j.BIO_ROLE_FACET_FIELD,i)),s.length!==0&&(_+=this.buildFilterParam(j.COMPONENT_TYPE_FACET_FIELD,s)),o.length!==0&&(_+=this.buildFilterParam(j.PREDICTED_FACET_FIELD,o)),!isNaN(a)&&a!==1&&(_+=this.buildFilterParam(j.CONFIDENCE_SCORE_FACET_FIELD,[a.toString()]));let ei=new Lr().set("first",(m*C-C).toString()).set("number",C.toString()).set("format",O).set("facets",j.FACETS).set("filters",_);return this.http.get(jt+"/search/"+e,{params:ei}).pipe(ni(vi=>vi.elements.forEach(ti=>ti.interactors.forEach(Ce=>Ce.stoichiometry=Ce.stochiometry||Ce.stoichiometry))),Ge(this.handleError))}buildFilterParam(e,t){return e+':("'+t.join('"OR"')+'"),'}handleError(e){if(e.error instanceof Error)return vr(e);console.error(e.message?e.message:e.toString())}getSimplifiedComplex(e){return this.http.get(`${jt}/complex-simplified/${e}`).pipe(Ge(this.handleError))}},j=U,b(U,"SPECIES_FACET_FIELD","species_f"),b(U,"COMPONENT_TYPE_FACET_FIELD","ptype_f"),b(U,"BIO_ROLE_FACET_FIELD","pbiorole_f"),b(U,"PREDICTED_FACET_FIELD","predicted_complex_f"),b(U,"CONFIDENCE_SCORE_FACET_FIELD","confidence_score_f"),b(U,"FACETS",[j.SPECIES_FACET_FIELD,j.COMPONENT_TYPE_FACET_FIELD,j.BIO_ROLE_FACET_FIELD,j.PREDICTED_FACET_FIELD,j.CONFIDENCE_SCORE_FACET_FIELD].join(",")),b(U,"ctorParameters",()=>[{type:Vr}]),U);jr=j=Bs([u()],jr);var Ur=`<div class="small-5 small-centered columns" [class.modal]="modal()"> <mat-spinner style="margin:0 auto;" [mode]="mode" [color]="color"> </mat-spinner> <div style="text-align: center"> <h4>Loading {{ query() }}</h4> @if (takesLonger) { <p>This takes longer than usual. Bear with us!</p> } </div> </div> `;var zr=`.modal{position:absolute;padding-top:5vh;inset:0;display:flex;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background-color:#ffffff30;width:auto;z-index:999;flex-direction:column;align-content:center;justify-content:flex-start;align-items:center} `;var Oi;try{Oi=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Oi=!1}var Xe=class Xe{constructor(e){this._platformId=e,this.isBrowser=this._platformId?Sr(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||Oi)&&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}};Xe.\u0275fac=d({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:Xe,deps:[{token:Di}],target:c.Injectable}),Xe.\u0275prov=f({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:Xe,providedIn:"root"});var E=Xe;l({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:E,decorators:[{type:u,args:[{providedIn:"root"}]}],ctorParameters:()=>[{type:Object,decorators:[{type:h,args:[Di]}]}]});var de=class de{};de.\u0275fac=d({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:de,deps:[],target:c.NgModule}),de.\u0275mod=A({minVersion:"14.0.0",version:"18.2.0-next.2",ngImport:n,type:de}),de.\u0275inj=w({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:de});var Ni=de;l({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:Ni,decorators:[{type:T,args:[{}]}]});var Ut;function zs(){if(Ut==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Ut=!0}))}finally{Ut=Ut||!1}return Ut}function Qe(r){return zs()?r:!!r.capture}var qe;(function(r){r[r.NORMAL=0]="NORMAL",r[r.NEGATED=1]="NEGATED",r[r.INVERTED=2]="INVERTED"})(qe||(qe={}));var ci,Fe;function bo(){if(Fe==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return Fe=!1,Fe;if("scrollBehavior"in document.documentElement.style)Fe=!0;else{let r=Element.prototype.scrollTo;r?Fe=!/\{\s*\[native code\]\s*\}/.test(r.toString()):Fe=!1}}return Fe}function vo(){if(typeof document!="object"||!document)return qe.NORMAL;if(ci==null){let r=document.createElement("div"),e=r.style;r.dir="rtl",e.width="1px",e.overflow="auto",e.visibility="hidden",e.pointerEvents="none",e.position="absolute";let t=document.createElement("div"),i=t.style;i.width="2px",i.height="1px",r.appendChild(t),document.body.appendChild(r),ci=qe.NORMAL,r.scrollLeft===0&&(r.scrollLeft=1,ci=r.scrollLeft===0?qe.NEGATED:qe.INVERTED),r.remove()}return ci}var Ri;function Ws(){if(Ri==null){let r=typeof document<"u"?document.head:null;Ri=!!(r&&(r.createShadowRoot||r.attachShadow))}return Ri}function Wr(r){if(Ws()){let e=r.getRootNode?r.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}function Kr(){let r=typeof document<"u"&&document?document.activeElement:null;for(;r&&r.shadowRoot;){let e=r.shadowRoot.activeElement;if(e===r)break;r=e}return r}function te(r){return r.composedPath?r.composedPath()[0]:r.target}function Hr(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function li(r,...e){return e.length?e.some(t=>r[t]):r.altKey||r.shiftKey||r.ctrlKey||r.metaKey}function Si(r){return ri(r)?r:Mt(r)}function Ks(r){return r!=null&&`${r}`!="false"}function Li(r,e=0){return Hs(r)?Number(r):arguments.length===2?e:0}function Hs(r){return!isNaN(parseFloat(r))&&!isNaN(Number(r))}function Vi(r){return Array.isArray(r)?r:[r]}function ko(r){return r==null?"":typeof r=="string"?r:`${r}px`}function ie(r){return r instanceof y?r.nativeElement:r}function Gs(r){if(r.type==="characterData"&&r.target instanceof Comment)return!0;if(r.type==="childList"){for(let e=0;e<r.addedNodes.length;e++)if(!(r.addedNodes[e]instanceof Comment))return!1;for(let e=0;e<r.removedNodes.length;e++)if(!(r.removedNodes[e]instanceof Comment))return!1;return!0}return!1}var Je=class Je{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}};Je.\u0275fac=d({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:Je,deps:[],target:c.Injectable}),Je.\u0275prov=f({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:Je,providedIn:"root"});var Se=Je;l({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:Se,decorators:[{type:u,args:[{providedIn:"root"}]}]});var et=class et{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map,this._ngZone=k(D)}ngOnDestroy(){this._observedElements.forEach((e,t)=>this._cleanupObserver(t))}observe(e){let t=ie(e);return new Vt(i=>{let o=this._observeElement(t).pipe(Q(a=>a.filter(m=>!Gs(m))),ae(a=>!!a.length)).subscribe(a=>{this._ngZone.run(()=>{i.next(a)})});return()=>{o.unsubscribe(),this._unobserveElement(t)}})}_observeElement(e){return this._ngZone.runOutsideAngular(()=>{if(this._observedElements.has(e))this._observedElements.get(e).count++;else{let t=new F,i=this._mutationObserverFactory.create(s=>t.next(s));i&&i.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:i,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:i}=this._observedElements.get(e);t&&t.disconnect(),i.complete(),this._observedElements.delete(e)}}};et.\u0275fac=d({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:et,deps:[{token:Se}],target:c.Injectable}),et.\u0275prov=f({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:et,providedIn:"root"});var pe=et;l({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:pe,decorators:[{type:u,args:[{providedIn:"root"}]}],ctorParameters:()=>[{type:Se}]});var tt=class tt{get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=Li(e),this._subscribe()}constructor(e,t){this._contentObserver=e,this._elementRef=t,this.event=new J,this._disabled=!1,this._currentSubscription=null}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($e(this.debounce)):e).subscribe(this.event)}_unsubscribe(){this._currentSubscription?.unsubscribe()}};tt.\u0275fac=d({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:tt,deps:[{token:pe},{token:y}],target:c.Directive}),tt.\u0275dir=L({minVersion:"16.1.0",version:"18.2.0-next.2",type:tt,isStandalone:!0,selector:"[cdkObserveContent]",inputs:{disabled:["cdkObserveContentDisabled","disabled",B],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"],ngImport:n});var Le=tt;l({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:Le,decorators:[{type:S,args:[{selector:"[cdkObserveContent]",exportAs:"cdkObserveContent",standalone:!0}]}],ctorParameters:()=>[{type:pe},{type:y}],propDecorators:{event:[{type:ce,args:["cdkObserveContent"]}],disabled:[{type:p,args:[{alias:"cdkObserveContentDisabled",transform:B}]}],debounce:[{type:p}]}});var me=class me{};me.\u0275fac=d({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:me,deps:[],target:c.NgModule}),me.\u0275mod=A({minVersion:"14.0.0",version:"18.2.0-next.2",ngImport:n,type:me,imports:[Le],exports:[Le]}),me.\u0275inj=w({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:me,providers:[Se]});var Ve=me;l({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:Ve,decorators:[{type:T,args:[{imports:[Le],exports:[Le],providers:[Se]}]}]});var he=class he{};he.\u0275fac=d({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:he,deps:[],target:c.NgModule}),he.\u0275mod=A({minVersion:"14.0.0",version:"18.2.0-next.2",ngImport:n,type:he}),he.\u0275inj=w({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:he});var Mi=he;l({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:Mi,decorators:[{type:T,args:[{}]}]});var Gr=new Set,Me,it=class it{constructor(e,t){this._platform=e,this._nonce=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Zs}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&Ys(e,this._nonce),this._matchMedia(e)}};it.\u0275fac=d({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:it,deps:[{token:E},{token:Ti,optional:!0}],target:c.Injectable}),it.\u0275prov=f({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:it,providedIn:"root"});var zt=it;l({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:zt,decorators:[{type:u,args:[{providedIn:"root"}]}],ctorParameters:()=>[{type:E},{type:void 0,decorators:[{type:v},{type:h,args:[Ti]}]}]});function Ys(r,e){if(!Gr.has(r))try{Me||(Me=document.createElement("style"),e&&Me.setAttribute("nonce",e),Me.setAttribute("type","text/css"),document.head.appendChild(Me)),Me.sheet&&(Me.sheet.insertRule(`@media ${r} {body{ }}`,0),Gr.add(r))}catch(t){console.error(t)}}function Zs(r){return{matches:r==="all"||r==="",media:r,addListener:()=>{},removeListener:()=>{}}}var rt=class rt{constructor(e,t){this._mediaMatcher=e,this._zone=t,this._queries=new Map,this._destroySubject=new F}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return $r(Vi(e)).some(i=>this._registerQuery(i).mql.matches)}observe(e){let i=$r(Vi(e)).map(o=>this._registerQuery(o).observable),s=yr(i);return s=Ir(s.pipe(Pt(1)),s.pipe(Ye(1),$e(0))),s.pipe(Q(o=>{let a={matches:!1,breakpoints:{}};return o.forEach(({matches:m,query:C})=>{a.matches=a.matches||m,a.breakpoints[C]=m}),a}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);let t=this._mediaMatcher.matchMedia(e),s={observable:new Vt(o=>{let a=m=>this._zone.run(()=>o.next(m));return t.addListener(a),()=>{t.removeListener(a)}}).pipe(kr(t),Q(({matches:o})=>({query:e,matches:o})),si(this._destroySubject)),mql:t};return this._queries.set(e,s),s}};rt.\u0275fac=d({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:rt,deps:[{token:zt},{token:D}],target:c.Injectable}),rt.\u0275prov=f({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:rt,providedIn:"root"});var Wt=rt;l({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:Wt,decorators:[{type:u,args:[{providedIn:"root"}]}],ctorParameters:()=>[{type:zt},{type:D}]});function $r(r){return r.map(e=>e.split(",")).reduce((e,t)=>e.concat(t)).map(e=>e.trim())}var Jr=" ";function gn(r,e,t){let i=pi(r,e);t=t.trim(),!i.some(s=>s.trim()===t)&&(i.push(t),r.setAttribute(e,i.join(Jr)))}function fn(r,e,t){let i=pi(r,e);t=t.trim();let s=i.filter(o=>o!==t);s.length?r.setAttribute(e,s.join(Jr)):r.removeAttribute(e)}function pi(r,e){return r.getAttribute(e)?.match(/\S+/g)??[]}var es="cdk-describedby-message",di="cdk-describedby-host",ji=0,nt=class nt{constructor(e,t){this._platform=t,this._messageRegistry=new Map,this._messagesContainer=null,this._id=`${ji++}`,this._document=e,this._id=k(Tr)+"-"+ji++}describe(e,t,i){if(!this._canBeDescribed(e,t))return;let s=Pi(t,i);typeof t!="string"?(Yr(t,this._id),this._messageRegistry.set(s,{messageElement:t,referenceCount:0})):this._messageRegistry.has(s)||this._createMessageElement(t,i),this._isElementDescribedByMessage(e,s)||this._addMessageReference(e,s)}removeDescription(e,t,i){if(!t||!this._isElementNode(e))return;let s=Pi(t,i);if(this._isElementDescribedByMessage(e,s)&&this._removeMessageReference(e,s),typeof t=="string"){let o=this._messageRegistry.get(s);o&&o.referenceCount===0&&this._deleteMessageElement(s)}this._messagesContainer?.childNodes.length===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){let e=this._document.querySelectorAll(`[${di}="${this._id}"]`);for(let t=0;t<e.length;t++)this._removeCdkDescribedByReferenceIds(e[t]),e[t].removeAttribute(di);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(e,t){let i=this._document.createElement("div");Yr(i,this._id),i.textContent=e,t&&i.setAttribute("role",t),this._createMessagesContainer(),this._messagesContainer.appendChild(i),this._messageRegistry.set(Pi(e,t),{messageElement:i,referenceCount:0})}_deleteMessageElement(e){this._messageRegistry.get(e)?.messageElement?.remove(),this._messageRegistry.delete(e)}_createMessagesContainer(){if(this._messagesContainer)return;let e="cdk-describedby-message-container",t=this._document.querySelectorAll(`.${e}[platform="server"]`);for(let s=0;s<t.length;s++)t[s].remove();let i=this._document.createElement("div");i.style.visibility="hidden",i.classList.add(e),i.classList.add("cdk-visually-hidden"),this._platform&&!this._platform.isBrowser&&i.setAttribute("platform","server"),this._document.body.appendChild(i),this._messagesContainer=i}_removeCdkDescribedByReferenceIds(e){let t=pi(e,"aria-describedby").filter(i=>i.indexOf(es)!=0);e.setAttribute("aria-describedby",t.join(" "))}_addMessageReference(e,t){let i=this._messageRegistry.get(t);gn(e,"aria-describedby",i.messageElement.id),e.setAttribute(di,this._id),i.referenceCount++}_removeMessageReference(e,t){let i=this._messageRegistry.get(t);i.referenceCount--,fn(e,"aria-describedby",i.messageElement.id),e.removeAttribute(di)}_isElementDescribedByMessage(e,t){let i=pi(e,"aria-describedby"),s=this._messageRegistry.get(t),o=s&&s.messageElement.id;return!!o&&i.indexOf(o)!=-1}_canBeDescribed(e,t){if(!this._isElementNode(e))return!1;if(t&&typeof t=="object")return!0;let i=t==null?"":`${t}`.trim(),s=e.getAttribute("aria-label");return i?!s||s.trim()!==i:!1}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}};nt.\u0275fac=d({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:nt,deps:[{token:g},{token:E}],target:c.Injectable}),nt.\u0275prov=f({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:nt,providedIn:"root"});var Ui=nt;l({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:Ui,decorators:[{type:u,args:[{providedIn:"root"}]}],ctorParameters:()=>[{type:void 0,decorators:[{type:h,args:[g]}]},{type:E}]});function Pi(r,e){return typeof r=="string"?`${e||""}/${r}`:r}function Yr(r,e){r.id||(r.id=`${es}-${e}-${ji++}`)}var _n=200,hi=class{constructor(e,t){this._letterKeyStream=new F,this._items=[],this._selectedItemIndex=-1,this._pressedLetters=[],this._selectedItem=new F,this.selectedItem=this._selectedItem;let i=typeof t?.debounceInterval=="number"?t.debounceInterval:_n;t?.skipPredicate&&(this._skipPredicateFn=t.skipPredicate),this.setItems(e),this._setupKeyHandler(i)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(e){this._selectedItemIndex=e}setItems(e){this._items=e}handleKey(e){let t=e.keyCode;e.key&&e.key.length===1?this._letterKeyStream.next(e.key.toLocaleUpperCase()):(t>=65&&t<=90||t>=48&&t<=57)&&this._letterKeyStream.next(String.fromCharCode(t))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(e){this._letterKeyStream.pipe(ni(t=>this._pressedLetters.push(t)),$e(e),ae(()=>this._pressedLetters.length>0),Q(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(t=>{for(let i=1;i<this._items.length+1;i++){let s=(this._selectedItemIndex+i)%this._items.length,o=this._items[s];if(!this._skipPredicateFn?.(o)&&o.getLabel?.().toLocaleUpperCase().trim().indexOf(t)===0){this._selectedItem.next(o);break}}this._pressedLetters=[]})}},zi=class{constructor(e,t){this._items=e,this._activeItemIndex=-1,this._activeItem=wr(null),this._wrap=!1,this._typeaheadSubscription=xi.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=i=>i.disabled,this.tabOut=new F,this.change=new F,e instanceof oi?this._itemChangesSubscription=e.changes.subscribe(i=>this._itemsChanged(i.toArray())):wi(e)&&(this._effectRef=Fr(()=>this._itemsChanged(e()),{injector:t}))}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 t=this._getItemsArray();return this._typeahead=new hi(t,{debounceInterval:typeof e=="number"?e:void 0,skipPredicate:i=>this._skipPredicateFn(i)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(i=>{this.setActiveItem(i)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(e=!0){return this._homeAndEnd=e,this}withPageUpDown(e=!0,t=10){return this._pageUpAndDown={enabled:e,delta:t},this}setActiveItem(e){let t=this._activeItem();this.updateActiveItem(e),this._activeItem()!==t&&this.change.next(this._activeItemIndex)}onKeydown(e){let t=e.keyCode,s=["altKey","ctrlKey","metaKey","shiftKey"].every(o=>!e[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(t){case 9:this.tabOut.next();return;case 40:if(this._vertical&&s){this.setNextItemActive();break}else return;case 38:if(this._vertical&&s){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&s){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&s){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&s){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&s){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&s){let o=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&s){let o=this._activeItemIndex+this._pageUpAndDown.delta,a=this._getItemsArray().length;this._setActiveItemByIndex(o<a?o:a-1,-1);break}else return;default:(s||li(e,"shiftKey"))&&this._typeahead?.handleKey(e);return}this._typeahead?.reset(),e.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem()}isTyping(){return!!this._typeahead&&this._typeahead.isTyping()}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._getItemsArray().length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(e){let t=this._getItemsArray(),i=typeof e=="number"?e:t.indexOf(e),s=t[i];this._activeItem.set(s??null),this._activeItemIndex=i,this._typeahead?.setCurrentSelectedItemIndex(i)}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._typeahead?.destroy(),this.tabOut.complete(),this.change.complete()}_setActiveItemByDelta(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}_setActiveInWrapMode(e){let t=this._getItemsArray();for(let i=1;i<=t.length;i++){let s=(this._activeItemIndex+e*i+t.length)%t.length,o=t[s];if(!this._skipPredicateFn(o)){this.setActiveItem(s);return}}}_setActiveInDefaultMode(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}_setActiveItemByIndex(e,t){let i=this._getItemsArray();if(i[e]){for(;this._skipPredicateFn(i[e]);)if(e+=t,!i[e])return;this.setActiveItem(e)}}_getItemsArray(){return wi(this._items)?this._items():this._items instanceof oi?this._items.toArray():this._items}_itemsChanged(e){this._typeahead?.setItems(e);let t=this._activeItem();if(t){let i=e.indexOf(t);i>-1&&i!==this._activeItemIndex&&(this._activeItemIndex=i,this._typeahead?.setCurrentSelectedItemIndex(i))}}};var Zr=class extends zi{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)}},Wi=class{_initializeFocus(){if(this._hasInitialFocused||this._items.length===0)return;let e=0;for(let i=0;i<this._items.length;i++)if(!this._skipPredicateFn(this._items[i])&&!this._isItemDisabled(this._items[i])){e=i;break}let t=this._items[e];t.makeFocusable?(this._activeItem?.unfocus(),this._activeItemIndex=e,this._activeItem=t,this._typeahead?.setCurrentSelectedItemIndex(e),t.makeFocusable()):this.focusItem(e),this._hasInitialFocused=!0}constructor(e,t){this._activeItemIndex=-1,this._activeItem=null,this._shouldActivationFollowFocus=!1,this._horizontalOrientation="ltr",this._skipPredicateFn=i=>!1,this._trackByFn=i=>i,this._items=[],this._typeaheadSubscription=xi.EMPTY,this._hasInitialFocused=!1,this.change=new F,e instanceof oi?(this._items=e.toArray(),e.changes.subscribe(i=>{this._items=i.toArray(),this._typeahead?.setItems(this._items),this._updateActiveItemIndex(this._items),this._initializeFocus()})):ri(e)?e.subscribe(i=>{this._items=i,this._typeahead?.setItems(i),this._updateActiveItemIndex(i),this._initializeFocus()}):(this._items=e,this._initializeFocus()),typeof t.shouldActivationFollowFocus=="boolean"&&(this._shouldActivationFollowFocus=t.shouldActivationFollowFocus),t.horizontalOrientation&&(this._horizontalOrientation=t.horizontalOrientation),t.skipPredicate&&(this._skipPredicateFn=t.skipPredicate),t.trackBy&&(this._trackByFn=t.trackBy),typeof t.typeAheadDebounceInterval<"u"&&this._setTypeAhead(t.typeAheadDebounceInterval)}destroy(){this._typeaheadSubscription.unsubscribe(),this._typeahead?.destroy(),this.change.complete()}onKeydown(e){switch(e.key){case"Tab":return;case"ArrowDown":this._focusNextItem();break;case"ArrowUp":this._focusPreviousItem();break;case"ArrowRight":this._horizontalOrientation==="rtl"?this._collapseCurrentItem():this._expandCurrentItem();break;case"ArrowLeft":this._horizontalOrientation==="rtl"?this._expandCurrentItem():this._collapseCurrentItem();break;case"Home":this._focusFirstItem();break;case"End":this._focusLastItem();break;case"Enter":case" ":this._activateCurrentItem();break;default:if(e.key==="*"){this._expandAllItemsAtCurrentItemLevel();break}this._typeahead?.handleKey(e);return}this._typeahead?.reset(),e.preventDefault()}getActiveItemIndex(){return this._activeItemIndex}getActiveItem(){return this._activeItem}_focusFirstItem(){this.focusItem(this._findNextAvailableItemIndex(-1))}_focusLastItem(){this.focusItem(this._findPreviousAvailableItemIndex(this._items.length))}_focusNextItem(){this.focusItem(this._findNextAvailableItemIndex(this._activeItemIndex))}_focusPreviousItem(){this.focusItem(this._findPreviousAvailableItemIndex(this._activeItemIndex))}focusItem(e,t={}){t.emitChangeEvent??=!0;let i=typeof e=="number"?e:this._items.findIndex(a=>this._trackByFn(a)===this._trackByFn(e));if(i<0||i>=this._items.length)return;let s=this._items[i];if(this._activeItem!==null&&this._trackByFn(s)===this._trackByFn(this._activeItem))return;let o=this._activeItem;this._activeItem=s??null,this._activeItemIndex=i,this._typeahead?.setCurrentSelectedItemIndex(i),this._activeItem?.focus(),o?.unfocus(),t.emitChangeEvent&&this.change.next(this._activeItem),this._shouldActivationFollowFocus&&this._activateCurrentItem()}_updateActiveItemIndex(e){let t=this._activeItem;if(!t)return;let i=e.findIndex(s=>this._trackByFn(s)===this._trackByFn(t));i>-1&&i!==this._activeItemIndex&&(this._activeItemIndex=i,this._typeahead?.setCurrentSelectedItemIndex(i))}_setTypeAhead(e){this._typeahead=new hi(this._items,{debounceInterval:typeof e=="number"?e:void 0,skipPredicate:t=>this._skipPredicateFn(t)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(t=>{this.focusItem(t)})}_findNextAvailableItemIndex(e){for(let t=e+1;t<this._items.length;t++)if(!this._skipPredicateFn(this._items[t]))return t;return e}_findPreviousAvailableItemIndex(e){for(let t=e-1;t>=0;t--)if(!this._skipPredicateFn(this._items[t]))return t;return e}_collapseCurrentItem(){if(this._activeItem)if(this._isCurrentItemExpanded())this._activeItem.collapse();else{let e=this._activeItem.getParent();if(!e||this._skipPredicateFn(e))return;this.focusItem(e)}}_expandCurrentItem(){this._activeItem&&(this._isCurrentItemExpanded()?Si(this._activeItem.getChildren()).pipe(Pt(1)).subscribe(e=>{let t=e.find(i=>!this._skipPredicateFn(i));t&&this.focusItem(t)}):this._activeItem.expand())}_isCurrentItemExpanded(){return this._activeItem?typeof this._activeItem.isExpanded=="boolean"?this._activeItem.isExpanded:this._activeItem.isExpanded():!1}_isItemDisabled(e){return typeof e.isDisabled=="boolean"?e.isDisabled:e.isDisabled?.()}_expandAllItemsAtCurrentItemLevel(){if(!this._activeItem)return;let e=this._activeItem.getParent(),t;e?t=Si(e.getChildren()):t=Mt(this._items.filter(i=>i.getParent()===null)),t.pipe(Pt(1)).subscribe(i=>{for(let s of i)s.expand()})}_activateCurrentItem(){this._activeItem?.activate()}};function bn(){return(r,e)=>new Wi(r,e)}var Ho=new x("tree-key-manager",{providedIn:"root",factory:bn});var ot=class ot{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return yn(e)&&getComputedStyle(e).visibility==="visible"}isTabbable(e){if(!this._platform.isBrowser)return!1;let t=vn(An(e));if(t&&(qr(t)===-1||!this.isVisible(t)))return!1;let i=e.nodeName.toLowerCase(),s=qr(e);return e.hasAttribute("contenteditable")?s!==-1:i==="iframe"||i==="object"||this._platform.WEBKIT&&this._platform.IOS&&!Tn(e)?!1:i==="audio"?e.hasAttribute("controls")?s!==-1:!1:i==="video"?s===-1?!1:s!==null?!0:this._platform.FIREFOX||e.hasAttribute("controls"):e.tabIndex>=0}isFocusable(e,t){return wn(e)&&!this.isDisabled(e)&&(t?.ignoreVisibility||this.isVisible(e))}};ot.\u0275fac=d({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:ot,deps:[{token:E}],target:c.Injectable}),ot.\u0275prov=f({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:ot,providedIn:"root"});var Pe=ot;l({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:Pe,decorators:[{type:u,args:[{providedIn:"root"}]}],ctorParameters:()=>[{type:E}]});function vn(r){try{return r.frameElement}catch{return null}}function yn(r){return!!(r.offsetWidth||r.offsetHeight||typeof r.getClientRects=="function"&&r.getClientRects().length)}function In(r){let e=r.nodeName.toLowerCase();return e==="input"||e==="select"||e==="button"||e==="textarea"}function xn(r){return kn(r)&&r.type=="hidden"}function En(r){return Dn(r)&&r.hasAttribute("href")}function kn(r){return r.nodeName.toLowerCase()=="input"}function Dn(r){return r.nodeName.toLowerCase()=="a"}function ts(r){if(!r.hasAttribute("tabindex")||r.tabIndex===void 0)return!1;let e=r.getAttribute("tabindex");return!!(e&&!isNaN(parseInt(e,10)))}function qr(r){if(!ts(r))return null;let e=parseInt(r.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}function Tn(r){let e=r.nodeName.toLowerCase(),t=e==="input"&&r.type;return t==="text"||t==="password"||e==="select"||e==="textarea"}function wn(r){return xn(r)?!1:In(r)||En(r)||r.hasAttribute("contenteditable")||ts(r)}function An(r){return r.ownerDocument&&r.ownerDocument.defaultView||window}var ui=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,t,i,s,o=!1,a){this._element=e,this._checker=t,this._ngZone=i,this._document=s,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,t=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.remove()),t&&(t.removeEventListener("focus",this.endAnchorListener),t.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(t=>{this._executeOnStable(()=>t(this.focusInitialElement(e)))})}focusFirstTabbableElementWhenReady(e){return new Promise(t=>{this._executeOnStable(()=>t(this.focusFirstTabbableElement(e)))})}focusLastTabbableElementWhenReady(e){return new Promise(t=>{this._executeOnStable(()=>t(this.focusLastTabbableElement(e)))})}_getRegionBoundary(e){let t=this._element.querySelectorAll(`[cdk-focus-region-${e}], [cdkFocusRegion${e}], [cdk-focus-${e}]`);return e=="start"?t.length?t[0]:this._getFirstTabbableElement(this._element):t.length?t[t.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(e){let t=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(t){if(!this._checker.isFocusable(t)){let i=this._getFirstTabbableElement(t);return i?.focus(e),!!i}return t.focus(e),!0}return this.focusFirstTabbableElement(e)}focusFirstTabbableElement(e){let t=this._getRegionBoundary("start");return t&&t.focus(e),!!t}focusLastTabbableElement(e){let t=this._getRegionBoundary("end");return t&&t.focus(e),!!t}hasAttached(){return this._hasAttached}_getFirstTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;let t=e.children;for(let i=0;i<t.length;i++){let s=t[i].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(t[i]):null;if(s)return s}return null}_getLastTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;let t=e.children;for(let i=t.length-1;i>=0;i--){let s=t[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[i]):null;if(s)return s}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,t){e?t.setAttribute("tabindex","0"):t.removeAttribute("tabindex")}toggleAnchors(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}_executeOnStable(e){this._injector?Ar(e,{injector:this._injector}):setTimeout(e)}},at=class at{constructor(e,t,i){this._checker=e,this._ngZone=t,this._injector=k(Ei),this._document=i}create(e,t=!1){return new ui(e,this._checker,this._ngZone,this._document,t,this._injector)}};at.\u0275fac=d({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:at,deps:[{token:Pe},{token:D},{token:g}],target:c.Injectable}),at.\u0275prov=f({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:at,providedIn:"root"});var Ht=at;l({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:Ht,decorators:[{type:u,args:[{providedIn:"root"}]}],ctorParameters:()=>[{type:Pe},{type:D},{type:void 0,decorators:[{type:h,args:[g]}]}]});var ct=class ct{get enabled(){return this.focusTrap?.enabled||!1}set enabled(e){this.focusTrap&&(this.focusTrap.enabled=e)}constructor(e,t,i){this._elementRef=e,this._focusTrapFactory=t,this._previouslyFocusedElement=null,k(E).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=Kr(),this.focusTrap?.focusInitialElementWhenReady()}};ct.\u0275fac=d({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:ct,deps:[{token:y},{token:Ht},{token:g}],target:c.Directive}),ct.\u0275dir=L({minVersion:"16.1.0",version:"18.2.0-next.2",type:ct,isStandalone:!0,selector:"[cdkTrapFocus]",inputs:{enabled:["cdkTrapFocus","enabled",B],autoCapture:["cdkTrapFocusAutoCapture","autoCapture",B]},exportAs:["cdkTrapFocus"],usesOnChanges:!0,ngImport:n});var Be=ct;l({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:Be,decorators:[{type:S,args:[{selector:"[cdkTrapFocus]",exportAs:"cdkTrapFocus",standalone:!0}]}],ctorParameters:()=>[{type:y},{type:Ht},{type:void 0,decorators:[{type:h,args:[g]}]}],propDecorators:{enabled:[{type:p,args:[{alias:"cdkTrapFocus",transform:B}]}],autoCapture:[{type:p,args:[{alias:"cdkTrapFocusAutoCapture",transform:B}]}]}});var Ki=class extends ui{get enabled(){return this._enabled}set enabled(e){this._enabled=e,this._enabled?this._focusTrapManager.register(this):this._focusTrapManager.deregister(this)}constructor(e,t,i,s,o,a,m,C){super(e,t,i,s,m.defer,C),this._focusTrapManager=o,this._inertStrategy=a,this._focusTrapManager.register(this)}destroy(){this._focusTrapManager.deregister(this),super.destroy()}_enable(){this._inertStrategy.preventFocus(this),this.toggleAnchors(!0)}_disable(){this._inertStrategy.allowFocus(this),this.toggleAnchors(!1)}},Hi=class{constructor(){this._listener=null}preventFocus(e){this._listener&&e._document.removeEventListener("focus",this._listener,!0),this._listener=t=>this._trapFocus(e,t),e._ngZone.runOutsideAngular(()=>{e._document.addEventListener("focus",this._listener,!0)})}allowFocus(e){this._listener&&(e._document.removeEventListener("focus",this._listener,!0),this._listener=null)}_trapFocus(e,t){let i=t.target,s=e._element;i&&!s.contains(i)&&!i.closest?.("div.cdk-overlay-pane")&&setTimeout(()=>{e.enabled&&!s.contains(e._document.activeElement)&&e.focusFirstTabbableElement()})}},is=new x("FOCUS_TRAP_INERT_STRATEGY"),lt=class lt{constructor(){this._focusTrapStack=[]}register(e){this._focusTrapStack=this._focusTrapStack.filter(i=>i!==e);let t=this._focusTrapStack;t.length&&t[t.length-1]._disable(),t.push(e),e._enable()}deregister(e){e._disable();let t=this._focusTrapStack,i=t.indexOf(e);i!==-1&&(t.splice(i,1),t.length&&t[t.length-1]._enable())}};lt.\u0275fac=d({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:lt,deps:[],target:c.Injectable}),lt.\u0275prov=f({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:lt,providedIn:"root"});var Gt=lt;l({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:Gt,decorators:[{type:u,args:[{providedIn:"root"}]}]});var dt=class dt{constructor(e,t,i,s,o){this._checker=e,this._ngZone=t,this._focusTrapManager=i,this._injector=k(Ei),this._document=s,this._inertStrategy=o||new Hi}create(e,t={defer:!1}){let i;return typeof t=="boolean"?i={defer:t}:i=t,new Ki(e,this._checker,this._ngZone,this._document,this._focusTrapManager,this._inertStrategy,i,this._injector)}};dt.\u0275fac=d({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:dt,deps:[{token:Pe},{token:D},{token:Gt},{token:g},{token:is,optional:!0}],target:c.Injectable}),dt.\u0275prov=f({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:dt,providedIn:"root"});var Gi=dt;l({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:Gi,decorators:[{type:u,args:[{providedIn:"root"}]}],ctorParameters:()=>[{type:Pe},{type:D},{type:Gt},{type:void 0,decorators:[{type:h,args:[g]}]},{type:void 0,decorators:[{type:v},{type:h,args:[is]}]}]});function Yi(r){return r.buttons===0||r.detail===0}function Zi(r){let e=r.touches&&r.touches[0]||r.changedTouches&&r.changedTouches[0];return!!e&&e.identifier===-1&&(e.radiusX==null||e.radiusX===1)&&(e.radiusY==null||e.radiusY===1)}var rs=new x("cdk-input-modality-detector-options"),Cn={ignoreKeys:[18,17,224,91,16]},ss=650,st=Qe({passive:!0,capture:!0}),mt=class mt{get mostRecentModality(){return this._modality.value}constructor(e,t,i,s){this._platform=e,this._mostRecentTarget=null,this._modality=new br(null),this._lastTouchMs=0,this._onKeydown=o=>{this._options?.ignoreKeys?.some(a=>a===o.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=te(o))},this._onMousedown=o=>{Date.now()-this._lastTouchMs<ss||(this._modality.next(Yi(o)?"keyboard":"mouse"),this._mostRecentTarget=te(o))},this._onTouchstart=o=>{if(Zi(o)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=te(o)},this._options=N(N({},Cn),s),this.modalityDetected=this._modality.pipe(Ye(1)),this.modalityChanged=this.modalityDetected.pipe(Er()),e.isBrowser&&t.runOutsideAngular(()=>{i.addEventListener("keydown",this._onKeydown,st),i.addEventListener("mousedown",this._onMousedown,st),i.addEventListener("touchstart",this._onTouchstart,st)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,st),document.removeEventListener("mousedown",this._onMousedown,st),document.removeEventListener("touchstart",this._onTouchstart,st))}};mt.\u0275fac=d({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:mt,deps:[{token:E},{token:D},{token:g},{token:rs,optional:!0}],target:c.Injectable}),mt.\u0275prov=f({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:mt,providedIn:"root"});var $t=mt;l({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:$t,decorators:[{type:u,args:[{providedIn:"root"}]}],ctorParameters:()=>[{type:E},{type:D},{type:Document,decorators:[{type:h,args:[g]}]},{type:void 0,decorators:[{type:v},{type:h,args:[rs]}]}]});var ns=new x("liveAnnouncerElement",{providedIn:"root",factory:Rn});function Rn(){return null}var os=new x("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),On=0,pt=class pt{constructor(e,t,i,s){this._ngZone=t,this._defaultOptions=s,this._document=i,this._liveElement=e||this._createLiveElement()}announce(e,...t){let i=this._defaultOptions,s,o;return t.length===1&&typeof t[0]=="number"?o=t[0]:[s,o]=t,this.clear(),clearTimeout(this._previousTimeout),s||(s=i&&i.politeness?i.politeness:"polite"),o==null&&i&&(o=i.duration),this._liveElement.setAttribute("aria-live",s),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(()=>{this._liveElement.textContent=e,typeof o=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),o)),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),i=this._document.createElement("div");for(let s=0;s<t.length;s++)t[s].remove();return i.classList.add(e),i.classList.add("cdk-visually-hidden"),i.setAttribute("aria-atomic","true"),i.setAttribute("aria-live","polite"),i.id=`cdk-live-announcer-${On++}`,this._document.body.appendChild(i),i}_exposeAnnouncerToModals(e){let t=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let i=0;i<t.length;i++){let s=t[i],o=s.getAttribute("aria-owns");o?o.indexOf(e)===-1&&s.setAttribute("aria-owns",o+" "+e):s.setAttribute("aria-owns",e)}}};pt.\u0275fac=d({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:pt,deps:[{token:ns,optional:!0},{token:D},{token:g},{token:os,optional:!0}],target:c.Injectable}),pt.\u0275prov=f({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:pt,providedIn:"root"});var Yt=pt;l({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:Yt,decorators:[{type:u,args:[{providedIn:"root"}]}],ctorParameters:()=>[{type:void 0,decorators:[{type:v},{type:h,args:[ns]}]},{type:D},{type:void 0,decorators:[{type:h,args:[g]}]},{type:void 0,decorators:[{type:v},{type:h,args:[os]}]}]});var ht=class ht{get politeness(){return this._politeness}set politeness(e){this._politeness=e==="off"||e==="assertive"?e:"polite",this._politeness==="off"?this._subscription&&(this._subscription.unsubscribe(),this._subscription=null):this._subscription||(this._subscription=this._ngZone.runOutsideAngular(()=>this._contentObserver.observe(this._elementRef).subscribe(()=>{let t=this._elementRef.nativeElement.textContent;t!==this._previousAnnouncedText&&(this._liveAnnouncer.announce(t,this._politeness,this.duration),this._previousAnnouncedText=t)})))}constructor(e,t,i,s){this._elementRef=e,this._liveAnnouncer=t,this._contentObserver=i,this._ngZone=s,this._politeness="polite"}ngOnDestroy(){this._subscription&&this._subscription.unsubscribe()}};ht.\u0275fac=d({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:ht,deps:[{token:y},{token:Yt},{token:pe},{token:D}],target:c.Directive}),ht.\u0275dir=L({minVersion:"14.0.0",version:"18.2.0-next.2",type:ht,isStandalone:!0,selector:"[cdkAriaLive]",inputs:{politeness:["cdkAriaLive","politeness"],duration:["cdkAriaLiveDuration","duration"]},exportAs:["cdkAriaLive"],ngImport:n});var je=ht;l({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:je,decorators:[{type:S,args:[{selector:"[cdkAriaLive]",exportAs:"cdkAriaLive",standalone:!0}]}],ctorParameters:()=>[{type:y},{type:Yt},{type:pe},{type:D}],propDecorators:{politeness:[{type:p,args:["cdkAriaLive"]}],duration:[{type:p,args:["cdkAriaLiveDuration"]}]}});var Kt;(function(r){r[r.IMMEDIATE=0]="IMMEDIATE",r[r.EVENTUAL=1]="EVENTUAL"})(Kt||(Kt={}));var as=new x("cdk-focus-monitor-default-options"),mi=Qe({passive:!0,capture:!0}),ut=class ut{constructor(e,t,i,s,o){this._ngZone=e,this._platform=t,this._inputModalityDetector=i,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 F,this._rootNodeFocusAndBlurListener=a=>{let m=te(a);for(let C=m;C;C=C.parentElement)a.type==="focus"?this._onFocus(a,C):this._onBlur(a,C)},this._document=s,this._detectionMode=o?.detectionMode||Kt.IMMEDIATE}monitor(e,t=!1){let i=ie(e);if(!this._platform.isBrowser||i.nodeType!==1)return Mt();let s=Wr(i)||this._getDocument(),o=this._elementInfo.get(i);if(o)return t&&(o.checkChildren=!0),o.subject;let a={checkChildren:t,subject:new F,rootNode:s};return this._elementInfo.set(i,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(e){let t=ie(e),i=this._elementInfo.get(t);i&&(i.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._removeGlobalListeners(i))}focusVia(e,t,i){let s=ie(e),o=this._getDocument().activeElement;s===o?this._getClosestElementsInfo(s).forEach(([a,m])=>this._originChanged(a,t,m)):(this._setOrigin(t),typeof s.focus=="function"&&s.focus(i))}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===Kt.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===Kt.IMMEDIATE){clearTimeout(this._originTimeoutId);let i=this._originFromTouchInteraction?ss:1;this._originTimeoutId=setTimeout(()=>this._origin=null,i)}})}_onFocus(e,t){let i=this._elementInfo.get(t),s=te(e);!i||!i.checkChildren&&t!==s||this._originChanged(t,this._getFocusOrigin(s),i)}_onBlur(e,t){let i=this._elementInfo.get(t);!i||i.checkChildren&&e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||(this._setClasses(t),this._emitOrigin(i,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,i=this._rootNodeFocusListenerCount.get(t)||0;i||this._ngZone.runOutsideAngular(()=>{t.addEventListener("focus",this._rootNodeFocusAndBlurListener,mi),t.addEventListener("blur",this._rootNodeFocusAndBlurListener,mi)}),this._rootNodeFocusListenerCount.set(t,i+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(si(this._stopInputModalityDetector)).subscribe(s=>{this._setOrigin(s,!0)}))}_removeGlobalListeners(e){let t=e.rootNode;if(this._rootNodeFocusListenerCount.has(t)){let i=this._rootNodeFocusListenerCount.get(t);i>1?this._rootNodeFocusListenerCount.set(t,i-1):(t.removeEventListener("focus",this._rootNodeFocusAndBlurListener,mi),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,mi),this._rootNodeFocusListenerCount.delete(t))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,t,i){this._setClasses(e,t),this._emitOrigin(i,t),this._lastFocusOrigin=t}_getClosestElementsInfo(e){let t=[];return this._elementInfo.forEach((i,s)=>{(s===e||i.checkChildren&&s.contains(e))&&t.push([s,i])}),t}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:t,mostRecentModality:i}=this._inputModalityDetector;if(i!=="mouse"||!t||t===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return!1;let s=e.labels;if(s){for(let o=0;o<s.length;o++)if(s[o].contains(t))return!0}return!1}};ut.\u0275fac=d({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:ut,deps:[{token:D},{token:E},{token:$t},{token:g,optional:!0},{token:as,optional:!0}],target:c.Injectable}),ut.\u0275prov=f({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:ut,providedIn:"root"});var Zt=ut;l({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:Zt,decorators:[{type:u,args:[{providedIn:"root"}]}],ctorParameters:()=>[{type:D},{type:E},{type:$t},{type:void 0,decorators:[{type:v},{type:h,args:[g]}]},{type:void 0,decorators:[{type:v},{type:h,args:[as]}]}]});var gt=class gt{constructor(e,t){this._elementRef=e,this._focusMonitor=t,this._focusOrigin=null,this.cdkFocusChange=new J}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()}};gt.\u0275fac=d({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:gt,deps:[{token:y},{token:Zt}],target:c.Directive}),gt.\u0275dir=L({minVersion:"14.0.0",version:"18.2.0-next.2",type:gt,isStandalone:!0,selector:"[cdkMonitorElementFocus], [cdkMonitorSubtreeFocus]",outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"],ngImport:n});var Ue=gt;l({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:Ue,decorators:[{type:S,args:[{selector:"[cdkMonitorElementFocus], [cdkMonitorSubtreeFocus]",exportAs:"cdkMonitorFocus",standalone:!0}]}],ctorParameters:()=>[{type:y},{type:Zt}],propDecorators:{cdkFocusChange:[{type:ce}]}});var ue;(function(r){r[r.NONE=0]="NONE",r[r.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",r[r.WHITE_ON_BLACK=2]="WHITE_ON_BLACK"})(ue||(ue={}));var Xr="cdk-high-contrast-black-on-white",Qr="cdk-high-contrast-white-on-black",Bi="cdk-high-contrast-active",ft=class ft{constructor(e,t){this._platform=e,this._document=t,this._breakpointSubscription=k(Wt).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return ue.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,i=t&&t.getComputedStyle?t.getComputedStyle(e):null,s=(i&&i.backgroundColor||"").replace(/ /g,"");switch(e.remove(),s){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return ue.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return ue.BLACK_ON_WHITE}return ue.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(Bi,Xr,Qr),this._hasCheckedHighContrastMode=!0;let t=this.getHighContrastMode();t===ue.BLACK_ON_WHITE?e.add(Bi,Xr):t===ue.WHITE_ON_BLACK&&e.add(Bi,Qr)}}};ft.\u0275fac=d({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:ft,deps:[{token:E},{token:g}],target:c.Injectable}),ft.\u0275prov=f({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:ft,providedIn:"root"});var fe=ft;l({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:fe,decorators:[{type:u,args:[{providedIn:"root"}]}],ctorParameters:()=>[{type:E},{type:void 0,decorators:[{type:h,args:[g]}]}]});var ge=class ge{constructor(e){e._applyBodyHighContrastModeCssClasses()}};ge.\u0275fac=d({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:ge,deps:[{token:fe}],target:c.NgModule}),ge.\u0275mod=A({minVersion:"14.0.0",version:"18.2.0-next.2",ngImport:n,type:ge,imports:[Ve,je,Be,Ue],exports:[je,Be,Ue]}),ge.\u0275inj=w({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:ge,imports:[Ve]});var $i=ge;l({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:$i,decorators:[{type:T,args:[{imports:[Ve,je,Be,Ue],exports:[je,Be,Ue]}]}],ctorParameters:()=>[{type:fe}]});var cs=new x("cdk-dir-doc",{providedIn:"root",factory:Fn});function Fn(){return k(g)}var Sn=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function ls(r){let e=r?.toLowerCase()||"";return e==="auto"&&typeof navigator<"u"&&navigator?.language?Sn.test(navigator.language)?"rtl":"ltr":e==="rtl"?"rtl":"ltr"}var _t=class _t{constructor(e){if(this.value="ltr",this.change=new J,e){let t=e.body?e.body.dir:null,i=e.documentElement?e.documentElement.dir:null;this.value=ls(t||i||"ltr")}}ngOnDestroy(){this.change.complete()}};_t.\u0275fac=d({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:_t,deps:[{token:cs,optional:!0}],target:c.Injectable}),_t.\u0275prov=f({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:_t,providedIn:"root"});var qt=_t;l({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:qt,decorators:[{type:u,args:[{providedIn:"root"}]}],ctorParameters:()=>[{type:void 0,decorators:[{type:v},{type:h,args:[cs]}]}]});var ze=class ze{constructor(){this._dir="ltr",this._isInitialized=!1,this.change=new J}get dir(){return this._dir}set dir(e){let t=this._dir;this._dir=ls(e),this._rawDir=e,t!==this._dir&&this._isInitialized&&this.change.emit(this._dir)}get value(){return this.dir}ngAfterContentInit(){this._isInitialized=!0}ngOnDestroy(){this.change.complete()}};ze.\u0275fac=d({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:ze,deps:[],target:c.Directive}),ze.\u0275dir=L({minVersion:"14.0.0",version:"18.2.0-next.2",type:ze,isStandalone:!0,selector:"[dir]",inputs:{dir:"dir"},outputs:{change:"dirChange"},host:{properties:{"attr.dir":"_rawDir"}},providers:[{provide:qt,useExisting:ze}],exportAs:["dir"],ngImport:n});var be=ze;l({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:be,decorators:[{type:S,args:[{selector:"[dir]",providers:[{provide:qt,useExisting:be}],host:{"[attr.dir]":"_rawDir"},exportAs:"dir",standalone:!0}]}],propDecorators:{change:[{type:ce,args:["dirChange"]}],dir:[{type:p}]}});var _e=class _e{};_e.\u0275fac=d({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:_e,deps:[],target:c.NgModule}),_e.\u0275mod=A({minVersion:"14.0.0",version:"18.2.0-next.2",ngImport:n,type:_e,imports:[be],exports:[be]}),_e.\u0275inj=w({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:_e});var q=_e;l({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:q,decorators:[{type:T,args:[{imports:[be],exports:[be]}]}]});var sa=new Cr("18.2.14"),bt=class bt{};bt.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",bt.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",bt.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",bt.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)";var ds=bt,Xt=class Xt{};Xt.COMPLEX="375ms",Xt.ENTERING="225ms",Xt.EXITING="195ms";var ms=Xt;function Mn(){return!0}var ys=new x("mat-sanity-checks",{providedIn:"root",factory:Mn}),ve=class ve{constructor(e,t,i){this._sanityChecks=t,this._document=i,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return Hr()?!1:typeof this._sanityChecks=="boolean"?this._sanityChecks:!!this._sanityChecks[e]}};ve.\u0275fac=d({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:ve,deps:[{token:fe},{token:ys,optional:!0},{token:g}],target:c.NgModule}),ve.\u0275mod=A({minVersion:"14.0.0",version:"18.2.0-next.2",ngImport:n,type:ve,imports:[q],exports:[q]}),ve.\u0275inj=w({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:ve,imports:[q,q]});var I=ve;l({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:I,decorators:[{type:T,args:[{imports:[q],exports:[q]}]}],ctorParameters:()=>[{type:fe},{type:void 0,decorators:[{type:v},{type:h,args:[ys]}]},{type:Document,decorators:[{type:h,args:[g]}]}]});var Ji=new x("MAT_DATE_LOCALE",{providedIn:"root",factory:Pn});function Pn(){return k(Nr)}var At=class{constructor(){this._localeChanges=new F,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,t){return this.getYear(e)-this.getYear(t)||this.getMonth(e)-this.getMonth(t)||this.getDate(e)-this.getDate(t)}sameDate(e,t){if(e&&t){let i=this.isValid(e),s=this.isValid(t);return i&&s?!this.compareDate(e,t):i==s}return e==t}clampDate(e,t,i){return t&&this.compareDate(e,t)<0?t:i&&this.compareDate(e,i)>0?i:e}},Bn=new x("mat-date-formats"),jn=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function qi(r,e){let t=Array(r);for(let i=0;i<r;i++)t[i]=e(i);return t}var vt=class vt extends At{constructor(e){super(),this.useUtcForDisplay=!1,this._matDateLocale=k(Ji,{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 qi(12,i=>this._format(t,new Date(2017,i,1)))}getDateNames(){let e=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return qi(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 qi(7,i=>this._format(t,new Date(2017,0,i+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,i){let s=this._createDateWithOverflow(e,t,i);return s.getMonth()!=t,s}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 i=new Intl.DateTimeFormat(this.locale,_r(N({},t),{timeZone:"utc"}));return this._format(i,e)}addCalendarYears(e,t){return this.addCalendarMonths(e,t*12)}addCalendarMonths(e,t){let i=this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+t,this.getDate(e));return this.getMonth(i)!=((this.getMonth(e)+t)%12+12)%12&&(i=this._createDateWithOverflow(this.getYear(i),this.getMonth(i),0)),i}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(jn.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)}_createDateWithOverflow(e,t,i){let s=new Date;return s.setFullYear(e,t,i),s.setHours(0,0,0,0),s}_2digit(e){return("00"+e).slice(-2)}_format(e,t){let i=new Date;return i.setUTCFullYear(t.getFullYear(),t.getMonth(),t.getDate()),i.setUTCHours(t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()),e.format(i)}};vt.\u0275fac=d({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:vt,deps:[{token:Ji,optional:!0}],target:c.Injectable}),vt.\u0275prov=f({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:vt});var Ct=vt;l({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:Ct,decorators:[{type:u}],ctorParameters:()=>[{type:void 0,decorators:[{type:v},{type:h,args:[Ji]}]}]});var Un={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"}}},ye=class ye{};ye.\u0275fac=d({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:ye,deps:[],target:c.NgModule}),ye.\u0275mod=A({minVersion:"14.0.0",version:"18.2.0-next.2",ngImport:n,type:ye}),ye.\u0275inj=w({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:ye,providers:[{provide:At,useClass:Ct}]});var er=ye;l({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:er,decorators:[{type:T,args:[{providers:[{provide:At,useClass:Ct}]}]}]});var Ie=class Ie{};Ie.\u0275fac=d({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:Ie,deps:[],target:c.NgModule}),Ie.\u0275mod=A({minVersion:"14.0.0",version:"18.2.0-next.2",ngImport:n,type:Ie}),Ie.\u0275inj=w({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:Ie,providers:[Is()]});var tr=Ie;l({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:tr,decorators:[{type:T,args:[{providers:[Is()]}]}]});function Is(r=Un){return[{provide:At,useClass:Ct},{provide:Bn,useValue:r}]}var yt=class yt{isErrorState(e,t){return!!(e&&e.invalid&&(e.dirty||t&&t.submitted))}};yt.\u0275fac=d({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:yt,deps:[],target:c.Injectable}),yt.\u0275prov=f({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:yt});var ir=yt;l({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:ir,decorators:[{type:u}]});var It=class It{isErrorState(e,t){return!!(e&&e.invalid&&(e.touched||t&&t.submitted))}};It.\u0275fac=d({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:It,deps:[],target:c.Injectable}),It.\u0275prov=f({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:It,providedIn:"root"});var rr=It;l({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:rr,decorators:[{type:u,args:[{providedIn:"root"}]}]});var xt=class xt{};xt.\u0275fac=d({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:xt,deps:[],target:c.Directive}),xt.\u0275dir=L({minVersion:"14.0.0",version:"18.2.0-next.2",type:xt,isStandalone:!0,selector:"[mat-line], [matLine]",host:{classAttribute:"mat-line"},ngImport:n});var Ke=xt;l({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:Ke,decorators:[{type:S,args:[{selector:"[mat-line], [matLine]",host:{class:"mat-line"},standalone:!0}]}]});var xe=class xe{};xe.\u0275fac=d({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:xe,deps:[],target:c.NgModule}),xe.\u0275mod=A({minVersion:"14.0.0",version:"18.2.0-next.2",ngImport:n,type:xe,imports:[I,Ke],exports:[Ke,I]}),xe.\u0275inj=w({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:xe,imports:[I,I]});var sr=xe;l({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:sr,decorators:[{type:T,args:[{imports:[I,Ke],exports:[Ke,I]}]}]});var z;(function(r){r[r.FADING_IN=0]="FADING_IN",r[r.VISIBLE=1]="VISIBLE",r[r.FADING_OUT=2]="FADING_OUT",r[r.HIDDEN=3]="HIDDEN"})(z||(z={}));var nr=class{constructor(e,t,i,s=!1){this._renderer=e,this.element=t,this.config=i,this._animationForciblyDisabledThroughCss=s,this.state=z.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}},ps=Qe({passive:!0,capture:!0}),or=class{constructor(){this._events=new Map,this._delegateEventHandler=e=>{let t=te(e);t&&this._events.get(e.type)?.forEach((i,s)=>{(s===t||s.contains(t))&&i.forEach(o=>o.handleEvent(e))})}}addHandler(e,t,i,s){let o=this._events.get(t);if(o){let a=o.get(i);a?a.add(s):o.set(i,new Set([s]))}else this._events.set(t,new Map([[i,new Set([s])]])),e.runOutsideAngular(()=>{document.addEventListener(t,this._delegateEventHandler,ps)})}removeHandler(e,t,i){let s=this._events.get(e);if(!s)return;let o=s.get(t);o&&(o.delete(i),o.size===0&&s.delete(t),s.size===0&&(this._events.delete(e),document.removeEventListener(e,this._delegateEventHandler,ps)))}},hs={enterDuration:225,exitDuration:150},zn=800,us=Qe({passive:!0,capture:!0}),gs=["mousedown","touchstart"],fs=["mouseup","mouseleave","touchend","touchcancel"],Qt=class Qt{constructor(e,t,i,s){this._target=e,this._ngZone=t,this._platform=s,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,s.isBrowser&&(this._containerElement=ie(i))}fadeInRipple(e,t,i={}){let s=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=N(N({},hs),i.animation);i.centered&&(e=s.left+s.width/2,t=s.top+s.height/2);let a=i.radius||Wn(e,t,s),m=e-s.left,C=t-s.top,O=o.enterDuration,_=document.createElement("div");_.classList.add("mat-ripple-element"),_.style.left=`${m-a}px`,_.style.top=`${C-a}px`,_.style.height=`${a*2}px`,_.style.width=`${a*2}px`,i.color!=null&&(_.style.backgroundColor=i.color),_.style.transitionDuration=`${O}ms`,this._containerElement.appendChild(_);let ei=window.getComputedStyle(_),vi=ei.transitionProperty,ti=ei.transitionDuration,Ce=vi==="none"||ti==="0s"||ti==="0s, 0s"||s.width===0&&s.height===0,Re=new nr(this,_,i,Ce);_.style.transform="scale3d(1, 1, 1)",Re.state=z.FADING_IN,i.persistent||(this._mostRecentTransientRipple=Re);let ii=null;return!Ce&&(O||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let gr=()=>{ii&&(ii.fallbackTimer=null),clearTimeout(fr),this._finishRippleTransition(Re)},yi=()=>this._destroyRipple(Re),fr=setTimeout(yi,O+100);_.addEventListener("transitionend",gr),_.addEventListener("transitioncancel",yi),ii={onTransitionEnd:gr,onTransitionCancel:yi,fallbackTimer:fr}}),this._activeRipples.set(Re,ii),(Ce||!O)&&this._finishRippleTransition(Re),Re}fadeOutRipple(e){if(e.state===z.FADING_OUT||e.state===z.HIDDEN)return;let t=e.element,i=N(N({},hs),e.config.animation);t.style.transitionDuration=`${i.exitDuration}ms`,t.style.opacity="0",e.state=z.FADING_OUT,(e._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(e)}fadeOutAll(){this._getActiveRipples().forEach(e=>e.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(e=>{e.config.persistent||e.fadeOut()})}setupTriggerEvents(e){let t=ie(e);!this._platform.isBrowser||!t||t===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=t,gs.forEach(i=>{Qt._eventManager.addHandler(this._ngZone,i,t,this)}))}handleEvent(e){e.type==="mousedown"?this._onMousedown(e):e.type==="touchstart"?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{fs.forEach(t=>{this._triggerElement.addEventListener(t,this,us)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(e){e.state===z.FADING_IN?this._startFadeOutTransition(e):e.state===z.FADING_OUT&&this._destroyRipple(e)}_startFadeOutTransition(e){let t=e===this._mostRecentTransientRipple,{persistent:i}=e.config;e.state=z.VISIBLE,!i&&(!t||!this._isPointerDown)&&e.fadeOut()}_destroyRipple(e){let t=this._activeRipples.get(e)??null;this._activeRipples.delete(e),this._activeRipples.size||(this._containerRect=null),e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),e.state=z.HIDDEN,t!==null&&(e.element.removeEventListener("transitionend",t.onTransitionEnd),e.element.removeEventListener("transitioncancel",t.onTransitionCancel),t.fallbackTimer!==null&&clearTimeout(t.fallbackTimer)),e.element.remove()}_onMousedown(e){let t=Yi(e),i=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+zn;!this._target.rippleDisabled&&!t&&!i&&(this._isPointerDown=!0,this.fadeInRipple(e.clientX,e.clientY,this._target.rippleConfig))}_onTouchStart(e){if(!this._target.rippleDisabled&&!Zi(e)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let t=e.changedTouches;if(t)for(let i=0;i<t.length;i++)this.fadeInRipple(t[i].clientX,t[i].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(e=>{let t=e.state===z.VISIBLE||e.config.terminateOnPointerUp&&e.state===z.FADING_IN;!e.config.persistent&&t&&e.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let e=this._triggerElement;e&&(gs.forEach(t=>Qt._eventManager.removeHandler(t,e,this)),this._pointerUpEventsRegistered&&(fs.forEach(t=>e.removeEventListener(t,this,us)),this._pointerUpEventsRegistered=!1))}};Qt._eventManager=new or;var ar=Qt;function Wn(r,e,t){let i=Math.max(Math.abs(r-t.left),Math.abs(r-t.right)),s=Math.max(Math.abs(e-t.top),Math.abs(e-t.bottom));return Math.sqrt(i*i+s*s)}var pr=new x("mat-ripple-global-options"),Et=class Et{get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}constructor(e,t,i,s,o){this._elementRef=e,this._animationMode=o,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=s||{},this._rippleRenderer=new ar(this,t,e,i)}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:N(N(N({},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,i){return typeof e=="number"?this._rippleRenderer.fadeInRipple(e,t,N(N({},this.rippleConfig),i)):this._rippleRenderer.fadeInRipple(0,0,N(N({},this.rippleConfig),e))}};Et.\u0275fac=d({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:Et,deps:[{token:y},{token:D},{token:E},{token:pr,optional:!0},{token:ee,optional:!0}],target:c.Directive}),Et.\u0275dir=L({minVersion:"14.0.0",version:"18.2.0-next.2",type:Et,isStandalone:!0,selector:"[mat-ripple], [matRipple]",inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},host:{properties:{"class.mat-ripple-unbounded":"unbounded"},classAttribute:"mat-ripple"},exportAs:["matRipple"],ngImport:n});var X=Et;l({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:X,decorators:[{type:S,args:[{selector:"[mat-ripple], [matRipple]",exportAs:"matRipple",host:{class:"mat-ripple","[class.mat-ripple-unbounded]":"unbounded"},standalone:!0}]}],ctorParameters:()=>[{type:y},{type:D},{type:E},{type:void 0,decorators:[{type:v},{type:h,args:[pr]}]},{type:void 0,decorators:[{type:v},{type:h,args:[ee]}]}],propDecorators:{color:[{type:p,args:["matRippleColor"]}],unbounded:[{type:p,args:["matRippleUnbounded"]}],centered:[{type:p,args:["matRippleCentered"]}],radius:[{type:p,args:["matRippleRadius"]}],animation:[{type:p,args:["matRippleAnimation"]}],disabled:[{type:p,args:["matRippleDisabled"]}],trigger:[{type:p,args:["matRippleTrigger"]}]}});var Ee=class Ee{};Ee.\u0275fac=d({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:Ee,deps:[],target:c.NgModule}),Ee.\u0275mod=A({minVersion:"14.0.0",version:"18.2.0-next.2",ngImport:n,type:Ee,imports:[I,X],exports:[X,I]}),Ee.\u0275inj=w({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:Ee,imports:[I,I]});var Rt=Ee;l({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:Rt,decorators:[{type:T,args:[{imports:[I,X],exports:[X,I]}]}]});var kt=class kt{constructor(e){this._animationMode=e,this.state="unchecked",this.disabled=!1,this.appearance="full"}};kt.\u0275fac=d({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:kt,deps:[{token:ee,optional:!0}],target:c.Component}),kt.\u0275cmp=Ne({minVersion:"14.0.0",version:"18.2.0-next.2",type:kt,isStandalone:!0,selector:"mat-pseudo-checkbox",inputs:{state:"state",disabled:"disabled",appearance:"appearance"},host:{properties:{"class.mat-pseudo-checkbox-indeterminate":'state === "indeterminate"',"class.mat-pseudo-checkbox-checked":'state === "checked"',"class.mat-pseudo-checkbox-disabled":"disabled","class.mat-pseudo-checkbox-minimal":'appearance === "minimal"',"class.mat-pseudo-checkbox-full":'appearance === "full"',"class._mat-animation-noopable":'_animationMode === "NoopAnimations"'},classAttribute:"mat-pseudo-checkbox"},ngImport:n,template:"",isInline:!0,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}'],changeDetection:M.OnPush,encapsulation:P.None});var re=kt;l({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:re,decorators:[{type:$,args:[{encapsulation:P.None,changeDetection:M.OnPush,selector:"mat-pseudo-checkbox",template:"",host:{class:"mat-pseudo-checkbox","[class.mat-pseudo-checkbox-indeterminate]":'state === "indeterminate"',"[class.mat-pseudo-checkbox-checked]":'state === "checked"',"[class.mat-pseudo-checkbox-disabled]":"disabled","[class.mat-pseudo-checkbox-minimal]":'appearance === "minimal"',"[class.mat-pseudo-checkbox-full]":'appearance === "full"',"[class._mat-animation-noopable]":'_animationMode === "NoopAnimations"'},standalone:!0,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}']}]}],ctorParameters:()=>[{type:void 0,decorators:[{type:v},{type:h,args:[ee]}]}],propDecorators:{state:[{type:p}],disabled:[{type:p}],appearance:[{type:p}]}});var ke=class ke{};ke.\u0275fac=d({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:ke,deps:[],target:c.NgModule}),ke.\u0275mod=A({minVersion:"14.0.0",version:"18.2.0-next.2",ngImport:n,type:ke,imports:[I,re],exports:[re]}),ke.\u0275inj=w({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:ke,imports:[I]});var Ot=ke;l({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:Ot,decorators:[{type:T,args:[{imports:[I,re],exports:[re]}]}]});var fi=new x("MAT_OPTION_PARENT_COMPONENT"),Kn=0,_i=new x("MatOptgroup"),We=class We{constructor(e){this.disabled=!1,this._labelId=`mat-optgroup-label-${Kn++}`,this._inert=e?.inertGroups??!1}};We.\u0275fac=d({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:We,deps:[{token:fi,optional:!0}],target:c.Component}),We.\u0275cmp=Ne({minVersion:"16.1.0",version:"18.2.0-next.2",type:We,isStandalone:!0,selector:"mat-optgroup",inputs:{label:"label",disabled:["disabled","disabled",B]},host:{properties:{"attr.role":'_inert ? null : "group"',"attr.aria-disabled":"_inert ? null : disabled.toString()","attr.aria-labelledby":"_inert ? null : _labelId"},classAttribute:"mat-mdc-optgroup"},providers:[{provide:_i,useExisting:We}],exportAs:["matOptgroup"],ngImport:n,template:`<span class="mat-mdc-optgroup-label" role="presentation" [class.mdc-list-item--disabled]="disabled" [id]="_labelId"> <span class="mdc-list-item__primary-text">{{ label }} <ng-content></ng-content></span> </span> <ng-content select="mat-option, ng-container"></ng-content> `,styles:[".mat-mdc-optgroup{color:var(--mat-optgroup-label-text-color, var(--mat-app-on-surface-variant));font-family:var(--mat-optgroup-label-text-font, var(--mat-app-title-small-font));line-height:var(--mat-optgroup-label-text-line-height, var(--mat-app-title-small-line-height));font-size:var(--mat-optgroup-label-text-size, var(--mat-app-title-small-size));letter-spacing:var(--mat-optgroup-label-text-tracking, var(--mat-app-title-small-tracking));font-weight:var(--mat-optgroup-label-text-weight, var(--mat-app-title-small-weight))}.mat-mdc-optgroup-label{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;min-height:48px;padding:0 16px;outline:none}.mat-mdc-optgroup-label.mdc-list-item--disabled{opacity:.38}.mat-mdc-optgroup-label .mdc-list-item__primary-text{font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;white-space:normal}"],changeDetection:M.OnPush,encapsulation:P.None});var se=We;l({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:se,decorators:[{type:$,args:[{selector:"mat-optgroup",exportAs:"matOptgroup",encapsulation:P.None,changeDetection:M.OnPush,host:{class:"mat-mdc-optgroup","[attr.role]":'_inert ? null : "group"',"[attr.aria-disabled]":"_inert ? null : disabled.toString()","[attr.aria-labelledby]":"_inert ? null : _labelId"},providers:[{provide:_i,useExisting:se}],standalone:!0,template:`<span class="mat-mdc-optgroup-label" role="presentation" [class.mdc-list-item--disabled]="disabled" [id]="_labelId"> <span class="mdc-list-item__primary-text">{{ label }} <ng-content></ng-content></span> </span> <ng-content select="mat-option, ng-container"></ng-content> `,styles:[".mat-mdc-optgroup{color:var(--mat-optgroup-label-text-color, var(--mat-app-on-surface-variant));font-family:var(--mat-optgroup-label-text-font, var(--mat-app-title-small-font));line-height:var(--mat-optgroup-label-text-line-height, var(--mat-app-title-small-line-height));font-size:var(--mat-optgroup-label-text-size, var(--mat-app-title-small-size));letter-spacing:var(--mat-optgroup-label-text-tracking, var(--mat-app-title-small-tracking));font-weight:var(--mat-optgroup-label-text-weight, var(--mat-app-title-small-weight))}.mat-mdc-optgroup-label{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;min-height:48px;padding:0 16px;outline:none}.mat-mdc-optgroup-label.mdc-list-item--disabled{opacity:.38}.mat-mdc-optgroup-label .mdc-list-item__primary-text{font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;white-space:normal}"]}]}],ctorParameters:()=>[{type:void 0,decorators:[{type:h,args:[fi]},{type:v}]}],propDecorators:{label:[{type:p}],disabled:[{type:p,args:[{transform:B}]}]}});var Hn=0,cr=class{constructor(e,t=!1){this.source=e,this.isUserInput=t}},Dt=class Dt{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(e){this._disabled=e}get disableRipple(){return!!(this._parent&&this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}constructor(e,t,i,s){this._element=e,this._changeDetectorRef=t,this._parent=i,this.group=s,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id=`mat-option-${Hn++}`,this.onSelectionChange=new J,this._stateChanges=new F}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 i=this._getHostElement();typeof i.focus=="function"&&i.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)&&!li(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 cr(this,e))}};Dt.\u0275fac=d({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:Dt,deps:[{token:y},{token:Ai},{token:fi,optional:!0},{token:_i,optional:!0}],target:c.Component}),Dt.\u0275cmp=Ne({minVersion:"17.0.0",version:"18.2.0-next.2",type:Dt,isStandalone:!0,selector:"mat-option",inputs:{value:"value",id:"id",disabled:["disabled","disabled",B]},outputs:{onSelectionChange:"onSelectionChange"},host:{attributes:{role:"option"},listeners:{click:"_selectViaInteraction()",keydown:"_handleKeydown($event)"},properties:{"class.mdc-list-item--selected":"selected","class.mat-mdc-option-multiple":"multiple","class.mat-mdc-option-active":"active","class.mdc-list-item--disabled":"disabled",id:"id","attr.aria-selected":"selected","attr.aria-disabled":"disabled.toString()"},classAttribute:"mat-mdc-option mdc-list-item"},viewQueries:[{propertyName:"_text",first:!0,predicate:["text"],descendants:!0,static:!0}],exportAs:["matOption"],ngImport:n,template:`<!-- Set aria-hidden="true" to this DOM node and other decorative nodes in this file. This might be contributing to issue where sometimes VoiceOver focuses on a TextNode in the a11y tree instead of the Option node (#23202). Most assistive technology will generally ignore non-role, non-text-content elements. Adding aria-hidden seems to make VoiceOver behave more consistently. --> @if (multiple) { <mat-pseudo-checkbox class="mat-mdc-option-pseudo-checkbox" [disabled]="disabled" [state]="selected ? 'checked' : 'unchecked'" aria-hidden="true"></mat-pseudo-checkbox> } <ng-content select="mat-icon"></ng-content> <span class="mdc-list-item__primary-text" #text><ng-content></ng-content></span> <!-- Render checkmark at the end for single-selection. --> @if (!multiple && selected && !hideSingleSelectionIndicator) { <mat-pseudo-checkbox class="mat-mdc-option-pseudo-checkbox" [disabled]="disabled" state="checked" aria-hidden="true" appearance="minimal"></mat-pseudo-checkbox> } <!-- See a11y notes inside optgroup.ts for context behind this element. --> @if (group && group._inert) { <span class="cdk-visually-hidden">({{ group.label }})</span> } <div class="mat-mdc-option-ripple mat-mdc-focus-indicator" aria-hidden="true" mat-ripple [matRippleTrigger]="_getHostElement()" [matRippleDisabled]="disabled || disableRipple"> </div> `,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:""}'],dependencies:[{kind:"component",type:re,selector:"mat-pseudo-checkbox",inputs:["state","disabled","appearance"]},{kind:"directive",type:X,selector:"[mat-ripple], [matRipple]",inputs:["matRippleColor","matRippleUnbounded","matRippleCentered","matRippleRadius","matRippleAnimation","matRippleDisabled","matRippleTrigger"],exportAs:["matRipple"]}],changeDetection:M.OnPush,encapsulation:P.None});var He=Dt;l({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:He,decorators:[{type:$,args:[{selector:"mat-option",exportAs:"matOption",host:{role:"option","[class.mdc-list-item--selected]":"selected","[class.mat-mdc-option-multiple]":"multiple","[class.mat-mdc-option-active]":"active","[class.mdc-list-item--disabled]":"disabled","[id]":"id","[attr.aria-selected]":"selected","[attr.aria-disabled]":"disabled.toString()","(click)":"_selectViaInteraction()","(keydown)":"_handleKeydown($event)",class:"mat-mdc-option mdc-list-item"},encapsulation:P.None,changeDetection:M.OnPush,standalone:!0,imports:[re,X],template:`<!-- Set aria-hidden="true" to this DOM node and other decorative nodes in this file. This might be contributing to issue where sometimes VoiceOver focuses on a TextNode in the a11y tree instead of the Option node (#23202). Most assistive technology will generally ignore non-role, non-text-content elements. Adding aria-hidden seems to make VoiceOver behave more consistently. --> @if (multiple) { <mat-pseudo-checkbox class="mat-mdc-option-pseudo-checkbox" [disabled]="disabled" [state]="selected ? 'checked' : 'unchecked'" aria-hidden="true"></mat-pseudo-checkbox> } <ng-content select="mat-icon"></ng-content> <span class="mdc-list-item__primary-text" #text><ng-content></ng-content></span> <!-- Render checkmark at the end for single-selection. --> @if (!multiple && selected && !hideSingleSelectionIndicator) { <mat-pseudo-checkbox class="mat-mdc-option-pseudo-checkbox" [disabled]="disabled" state="checked" aria-hidden="true" appearance="minimal"></mat-pseudo-checkbox> } <!-- See a11y notes inside optgroup.ts for context behind this element. --> @if (group && group._inert) { <span class="cdk-visually-hidden">({{ group.label }})</span> } <div class="mat-mdc-option-ripple mat-mdc-focus-indicator" aria-hidden="true" mat-ripple [matRippleTrigger]="_getHostElement()" [matRippleDisabled]="disabled || disableRipple"> </div> `,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:""}']}]}],ctorParameters:()=>[{type:y},{type:Ai},{type:void 0,decorators:[{type:v},{type:h,args:[fi]}]},{type:se,decorators:[{type:v},{type:h,args:[_i]}]}],propDecorators:{value:[{type:p}],id:[{type:p}],disabled:[{type:p,args:[{transform:B}]}],onSelectionChange:[{type:ce}],_text:[{type:ai,args:["text",{static:!0}]}]}});var De=class De{};De.\u0275fac=d({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:De,deps:[],target:c.NgModule}),De.\u0275mod=A({minVersion:"14.0.0",version:"18.2.0-next.2",ngImport:n,type:De,imports:[Rt,I,Ot,He,se],exports:[He,se]}),De.\u0275inj=w({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:De,imports:[Rt,I,Ot]});var lr=De;l({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:lr,decorators:[{type:T,args:[{imports:[Rt,I,Ot,He,se],exports:[He,se]}]}]});var _s={capture:!0},bs=["focus","mousedown","mouseenter","touchstart"],Xi="mat-ripple-loader-uninitialized",Qi="mat-ripple-loader-class-name",vs="mat-ripple-loader-centered",gi="mat-ripple-loader-disabled",Tt=class Tt{constructor(){this._document=k(g,{optional:!0}),this._animationMode=k(ee,{optional:!0}),this._globalRippleOptions=k(pr,{optional:!0}),this._platform=k(E),this._ngZone=k(D),this._hosts=new Map,this._onInteraction=e=>{let t=te(e);if(t instanceof HTMLElement){let i=t.closest(`[${Xi}="${this._globalRippleOptions?.namespace??""}"]`);i&&this._createRipple(i)}},this._ngZone.runOutsideAngular(()=>{for(let e of bs)this._document?.addEventListener(e,this._onInteraction,_s)})}ngOnDestroy(){let e=this._hosts.keys();for(let t of e)this.destroyRipple(t);for(let t of bs)this._document?.removeEventListener(t,this._onInteraction,_s)}configureRipple(e,t){e.setAttribute(Xi,this._globalRippleOptions?.namespace??""),(t.className||!e.hasAttribute(Qi))&&e.setAttribute(Qi,t.className||""),t.centered&&e.setAttribute(vs,""),t.disabled&&e.setAttribute(gi,"")}getRipple(e){return this._hosts.get(e)||this._createRipple(e)}setDisabled(e,t){let i=this._hosts.get(e);if(i){i.disabled=t;return}t?e.setAttribute(gi,""):e.removeAttribute(gi)}_createRipple(e){if(!this._document)return;let t=this._hosts.get(e);if(t)return t;e.querySelector(".mat-ripple")?.remove();let i=this._document.createElement("span");i.classList.add("mat-ripple",e.getAttribute(Qi)),e.append(i);let s=new X(new y(i),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return s._isInitialized=!0,s.trigger=e,s.centered=e.hasAttribute(vs),s.disabled=e.hasAttribute(gi),this.attachRipple(e,s),s}attachRipple(e,t){e.removeAttribute(Xi),this._hosts.set(e,t)}destroyRipple(e){let t=this._hosts.get(e);t&&(t.ngOnDestroy(),this._hosts.delete(e))}};Tt.\u0275fac=d({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:Tt,deps:[],target:c.Injectable}),Tt.\u0275prov=f({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:Tt,providedIn:"root"});var dr=Tt;l({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:dr,decorators:[{type:u,args:[{providedIn:"root"}]}],ctorParameters:()=>[]});var wt=class wt{};wt.\u0275fac=d({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:wt,deps:[],target:c.Component}),wt.\u0275cmp=Ne({minVersion:"14.0.0",version:"18.2.0-next.2",type:wt,isStandalone:!0,selector:"div[mat-internal-form-field]",inputs:{labelPosition:"labelPosition"},host:{properties:{"class.mdc-form-field--align-end":'labelPosition === "before"'},classAttribute:"mdc-form-field mat-internal-form-field"},ngImport:n,template:"<ng-content></ng-content>",isInline:!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}"],changeDetection:M.OnPush,encapsulation:P.None});var mr=wt;l({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:mr,decorators:[{type:$,args:[{selector:"div[mat-internal-form-field]",standalone:!0,template:"<ng-content></ng-content>",encapsulation:P.None,changeDetection:M.OnPush,host:{class:"mdc-form-field mat-internal-form-field","[class.mdc-form-field--align-end]":'labelPosition === "before"'},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}"]}]}],propDecorators:{labelPosition:[{type:p,args:[{required:!0}]}]}});var xs=new x("mat-progress-spinner-default-options",{providedIn:"root",factory:Gn});function Gn(){return{diameter:Es}}var Es=100,$n=10,Nt=class Nt{get color(){return this._color||this._defaultColor}set color(e){this._color=e}constructor(e,t,i){this._elementRef=e,this._defaultColor="primary",this._value=0,this._diameter=Es,this._noopAnimations=t==="NoopAnimations"&&!!i&&!i._forceAnimations,this.mode=e.nativeElement.nodeName.toLowerCase()==="mat-spinner"?"indeterminate":"determinate",i&&(i.color&&(this.color=this._defaultColor=i.color),i.diameter&&(this.diameter=i.diameter),i.strokeWidth&&(this.strokeWidth=i.strokeWidth))}get value(){return this.mode==="determinate"?this._value:0}set value(e){this._value=Math.max(0,Math.min(100,e||0))}get diameter(){return this._diameter}set diameter(e){this._diameter=e||0}get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(e){this._strokeWidth=e||0}_circleRadius(){return(this.diameter-$n)/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}};Nt.\u0275fac=d({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:Nt,deps:[{token:y},{token:ee,optional:!0},{token:xs}],target:c.Component}),Nt.\u0275cmp=Ne({minVersion:"16.1.0",version:"18.2.0-next.2",type:Nt,isStandalone:!0,selector:"mat-progress-spinner, mat-spinner",inputs:{color:"color",mode:"mode",value:["value","value",Oe],diameter:["diameter","diameter",Oe],strokeWidth:["strokeWidth","strokeWidth",Oe]},host:{attributes:{role:"progressbar",tabindex:"-1"},properties:{class:'"mat-" + color',"class._mat-animation-noopable":"_noopAnimations","class.mdc-circular-progress--indeterminate":'mode === "indeterminate"',"style.width.px":"diameter","style.height.px":"diameter","style.--mdc-circular-progress-size":'diameter + "px"',"style.--mdc-circular-progress-active-indicator-width":'diameter + "px"',"attr.aria-valuemin":"0","attr.aria-valuemax":"100","attr.aria-valuenow":'mode === "determinate" ? value : null',"attr.mode":"mode"},classAttribute:"mat-mdc-progress-spinner mdc-circular-progress"},viewQueries:[{propertyName:"_determinateCircle",first:!0,predicate:["determinateSpinner"],descendants:!0}],exportAs:["matProgressSpinner"],ngImport:n,template:`<ng-template #circle> <svg [attr.viewBox]="_viewBox()" class="mdc-circular-progress__indeterminate-circle-graphic" xmlns="http://www.w3.org/2000/svg" focusable="false"> <circle [attr.r]="_circleRadius()" [style.stroke-dasharray.px]="_strokeCircumference()" [style.stroke-dashoffset.px]="_strokeCircumference() / 2" [style.stroke-width.%]="_circleStrokeWidth()" cx="50%" cy="50%"/> </svg> </ng-template> <!-- All children need to be hidden for screen readers in order to support ChromeVox. More context in the issue: https://github.com/angular/components/issues/22165. --> <div class="mdc-circular-progress__determinate-container" aria-hidden="true" #determinateSpinner> <svg [attr.viewBox]="_viewBox()" class="mdc-circular-progress__determinate-circle-graphic" xmlns="http://www.w3.org/2000/svg" focusable="false"> <circle [attr.r]="_circleRadius()" [style.stroke-dasharray.px]="_strokeCircumference()" [style.stroke-dashoffset.px]="_strokeDashOffset()" [style.stroke-width.%]="_circleStrokeWidth()" class="mdc-circular-progress__determinate-circle" cx="50%" cy="50%"/> </svg> </div> <!--TODO: figure out why there are 3 separate svgs--> <div class="mdc-circular-progress__indeterminate-container" aria-hidden="true"> <div class="mdc-circular-progress__spinner-layer"> <div class="mdc-circular-progress__circle-clipper mdc-circular-progress__circle-left"> <ng-container [ngTemplateOutlet]="circle"></ng-container> </div> <div class="mdc-circular-progress__gap-patch"> <ng-container [ngTemplateOutlet]="circle"></ng-container> </div> <div class="mdc-circular-progress__circle-clipper mdc-circular-progress__circle-right"> <ng-container [ngTemplateOutlet]="circle"></ng-container> </div> </div> </div> `,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)}}"],dependencies:[{kind:"directive",type:Ci,selector:"[ngTemplateOutlet]",inputs:["ngTemplateOutletContext","ngTemplateOutlet","ngTemplateOutletInjector"]}],changeDetection:M.OnPush,encapsulation:P.None});var we=Nt;l({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:we,decorators:[{type:$,args:[{selector:"mat-progress-spinner, mat-spinner",exportAs:"matProgressSpinner",host:{role:"progressbar",class:"mat-mdc-progress-spinner mdc-circular-progress",tabindex:"-1","[class]":'"mat-" + color',"[class._mat-animation-noopable]":"_noopAnimations","[class.mdc-circular-progress--indeterminate]":'mode === "indeterminate"',"[style.width.px]":"diameter","[style.height.px]":"diameter","[style.--mdc-circular-progress-size]":'diameter + "px"',"[style.--mdc-circular-progress-active-indicator-width]":'diameter + "px"',"[attr.aria-valuemin]":"0","[attr.aria-valuemax]":"100","[attr.aria-valuenow]":'mode === "determinate" ? value : null',"[attr.mode]":"mode"},changeDetection:M.OnPush,encapsulation:P.None,standalone:!0,imports:[Ci],template:`<ng-template #circle> <svg [attr.viewBox]="_viewBox()" class="mdc-circular-progress__indeterminate-circle-graphic" xmlns="http://www.w3.org/2000/svg" focusable="false"> <circle [attr.r]="_circleRadius()" [style.stroke-dasharray.px]="_strokeCircumference()" [style.stroke-dashoffset.px]="_strokeCircumference() / 2" [style.stroke-width.%]="_circleStrokeWidth()" cx="50%" cy="50%"/> </svg> </ng-template> <!-- All children need to be hidden for screen readers in order to support ChromeVox. More context in the issue: https://github.com/angular/components/issues/22165. --> <div class="mdc-circular-progress__determinate-container" aria-hidden="true" #determinateSpinner> <svg [attr.viewBox]="_viewBox()" class="mdc-circular-progress__determinate-circle-graphic" xmlns="http://www.w3.org/2000/svg" focusable="false"> <circle [attr.r]="_circleRadius()" [style.stroke-dasharray.px]="_strokeCircumference()" [style.stroke-dashoffset.px]="_strokeDashOffset()" [style.stroke-width.%]="_circleStrokeWidth()" class="mdc-circular-progress__determinate-circle" cx="50%" cy="50%"/> </svg> </div> <!--TODO: figure out why there are 3 separate svgs--> <div class="mdc-circular-progress__indeterminate-container" aria-hidden="true"> <div class="mdc-circular-progress__spinner-layer"> <div class="mdc-circular-progress__circle-clipper mdc-circular-progress__circle-left"> <ng-container [ngTemplateOutlet]="circle"></ng-container> </div> <div class="mdc-circular-progress__gap-patch"> <ng-container [ngTemplateOutlet]="circle"></ng-container> </div> <div class="mdc-circular-progress__circle-clipper mdc-circular-progress__circle-right"> <ng-container [ngTemplateOutlet]="circle"></ng-container> </div> </div> </div> `,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)}}"]}]}],ctorParameters:()=>[{type:y},{type:void 0,decorators:[{type:v},{type:h,args:[ee]}]},{type:void 0,decorators:[{type:h,args:[xs]}]}],propDecorators:{color:[{type:p}],_determinateCircle:[{type:ai,args:["determinateSpinner"]}],mode:[{type:p}],value:[{type:p,args:[{transform:Oe}]}],diameter:[{type:p,args:[{transform:Oe}]}],strokeWidth:[{type:p,args:[{transform:Oe}]}]}});var bi=we,Te=class Te{};Te.\u0275fac=d({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:Te,deps:[],target:c.NgModule}),Te.\u0275mod=A({minVersion:"14.0.0",version:"18.2.0-next.2",ngImport:n,type:Te,imports:[le,we,bi],exports:[we,bi,I]}),Te.\u0275inj=w({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:Te,imports:[le,I]});var Jt=Te;l({minVersion:"12.0.0",version:"18.2.0-next.2",ngImport:n,type:Jt,decorators:[{type:T,args:[{imports:[le,we,bi],exports:[we,bi,I]}]}]});var Yn=function(r,e,t,i){var s=arguments.length,o=s<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(r,e,t,i);else for(var m=r.length-1;m>=0;m--)(a=r[m])&&(o=(s<3?a(o):s>3?a(e,t,o):a(e,t))||o);return s>3&&o&&Object.defineProperty(e,t,o),o},Ft,ne,ks=(ne=class{constructor(){b(this,"color","primary");b(this,"mode","indeterminate");b(this,"query",ki());b(this,"takesLonger");b(this,"modal",ki(!1));Ft.show=!1}static display(){Ft.show=!0}static hide(){setTimeout(function(){Ft.show=!1},1e3)}ngOnInit(){setTimeout(()=>this.takesLonger=!0,5e3)}get isDisplayed(){return Ft.show}},Ft=ne,b(ne,"show"),b(ne,"ctorParameters",()=>[]),b(ne,"propDecorators",{query:[{type:p,args:[{isSignal:!0,alias:"query",required:!1,transform:void 0}]}],modal:[{type:p,args:[{isSignal:!0,alias:"modal",required:!1,transform:void 0}]}]}),ne);ks=Ft=Yn([$({standalone:!0,imports:[Jt],selector:"cp-progress-spinner",template:Ur,styles:[zr]})],ks);var Ds=`@if (isDisplayed) { <mat-progress-bar [color]="color" [mode]="mode"> </mat-progress-bar> } `;var Ts="";var Xn=function(r,e,t,i){var s=arguments.length,o=s<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(r,e,t,i);else for(var m=r.length-1;m>=0;m--)(a=r[m])&&(o=(s<3?a(o):s>3?a(e,t,o):a(e,t))||o);return s>3&&o&&Object.defineProperty(e,t,o),o},St,Ae,ws=(Ae=class{constructor(){b(this,"_color","primary");b(this,"_mode","query");St.show=!1}static display(){St.show=!0}static hide(){setTimeout(function(){St.show=!1},1e3)}ngOnInit(){}get isDisplayed(){return St.show}get color(){return this._color}set color(e){this._color=e}get mode(){return this._mode}set mode(e){this._mode=e}},St=Ae,b(Ae,"show"),b(Ae,"ctorParameters",()=>[]),Ae);ws=St=Xn([$({selector:"cp-progress-bar",template:Ds,styles:[Ts]})],ws);var V;(function(r){r[r.reactome=0]="reactome",r[r.ols_orphanet=1]="ols_orphanet",r[r.ols_efo=2]="ols_efo",r[r.complexportal_details=3]="complexportal_details",r[r.complexportal_mi=4]="complexportal_mi",r[r.europepmc=5]="europepmc",r[r.ResultFilter=6]="ResultFilter",r[r.InteractionViewer_ExportSVG=7]="InteractionViewer_ExportSVG",r[r.InteractionViewer_SelectedAnno=8]="InteractionViewer_SelectedAnno",r[r.InteractionViewer_ChangeAnno=9]="InteractionViewer_ChangeAnno",r[r.InteractionViewer_Reset=10]="InteractionViewer_Reset",r[r.InteractionViewer_ExpandAll=11]="InteractionViewer_ExpandAll",r[r.InteractionViewer_Interaction=12]="InteractionViewer_Interaction",r[r.PathwayDiagram_Interaction=13]="PathwayDiagram_Interaction",r[r.LiteMolViewer_Interaction=14]="LiteMolViewer_Interaction",r[r.download=15]="download",r[r.organisms=16]="organisms",r[r.species=17]="species",r[r.header=18]="header",r[r.home=19]="home",r[r.details=20]="details",r[r.basket=21]="basket",r[r.search=22]="search",r[r.complexNavigator=23]="complexNavigator",r[r.ols_obo=24]="ols_obo"})(V||(V={}));var W=class{constructor(){}};W.\u0275fac=d({minVersion:"12.0.0",version:"14.0.2",ngImport:n,type:W,deps:[],target:c.Directive});W.\u0275dir=L({minVersion:"14.0.0",version:"14.0.2",type:W,selector:`[gaEvent][gaCategory], [gaCategory]`,inputs:{gaCategory:"gaCategory"},exportAs:["gaCategory"],ngImport:n});l({minVersion:"12.0.0",version:"14.0.2",ngImport:n,type:W,decorators:[{type:S,args:[{selector:`[gaEvent][gaCategory], [gaCategory]`,exportAs:"gaCategory"}]}],ctorParameters:function(){return[]},propDecorators:{gaCategory:[{type:p}]}});var Lt=new x("ngx-google-analytics-settings",{factory:()=>({trackingCode:"",enableTracing:!1})}),Rs=new x("ngx-window",{providedIn:"root",factory:()=>{let{defaultView:r}=k(g);if(!r)throw new Error("Window is not available");return r}});function Qn(r){return r?r.dataLayer=r.dataLayer||[]:null}var Jn=new x("ngx-data-layer",{providedIn:"root",factory:()=>Qn(k(Rs))});function eo(r,e){return r?r.gtag=r.gtag||function(){e.push(arguments)}:null}var hr=new x("ngx-gtag-fn",{providedIn:"root",factory:()=>eo(k(Rs),k(Jn))}),H=class{constructor(e,t,i){this.settings=e,this._document=t,this._gtag=i}get document(){return this._document}throw(e){(this.settings.enableTracing||Ze())&&console&&console.error&&console.error(e)}toKeyValue(e){return e.size>0?Array.from(e).reduce((t,[i,s])=>Object.defineProperty(t,i,{value:s,enumerable:!0}),{}):void 0}gtag(...e){try{this._gtag(...e.filter(t=>t!==void 0))}catch(t){this.throw(t)}}event(e,t,i,s,o,a){try{let m=new Map;t&&m.set("event_category",t),i&&m.set("event_label",i),s&&m.set("value",s),o!==void 0&&m.set("interaction",o),a&&Object.entries(a).map(([O,_])=>m.set(O,_));let C=this.toKeyValue(m);C?this.gtag("event",e,C):this.gtag("event",e)}catch(m){this.throw(m)}}pageView(e,t,i,s){try{let o=new Map([["page_path",e]]);t&&o.set("page_title",t),(i||this.document)&&o.set("page_location",i||this.document.location.href),s&&Object.entries(s).map(([a,m])=>o.set(a,m)),this.gtag("config",this.settings.trackingCode,this.toKeyValue(o))}catch(o){this.throw(o)}}appView(e,t,i,s,o){try{let a=new Map([["screen_name",e],["app_name",t]]);i&&a.set("app_id",i),s&&a.set("app_version",s),o&&a.set("app_installer_id",o),this.gtag("event","screen_view",this.toKeyValue(a))}catch(a){this.throw(a)}}set(...e){try{this._gtag("set",...e)}catch(t){this.throw(t)}}exception(e,t){try{let i=new Map;e&&i.set("description",e),t&&i.set("fatal",t),this.toKeyValue(i)?this.gtag("event","exception",this.toKeyValue(i)):this.gtag("event","exception")}catch(i){this.throw(i)}}};H.\u0275fac=d({minVersion:"12.0.0",version:"14.0.2",ngImport:n,type:H,deps:[{token:Lt},{token:g},{token:hr}],target:c.Injectable});H.\u0275prov=f({minVersion:"12.0.0",version:"14.0.2",ngImport:n,type:H,providedIn:"root"});l({minVersion:"12.0.0",version:"14.0.2",ngImport:n,type:H,decorators:[{type:u,args:[{providedIn:"root"}]}],ctorParameters:function(){return[{type:void 0,decorators:[{type:h,args:[Lt]}]},{type:void 0,decorators:[{type:h,args:[g]}]},{type:void 0,decorators:[{type:h,args:[hr]}]}]}});var K=class{constructor(e,t,i,s){this.gaCategoryDirective=e,this.gaService=t,this.settings=i,this.el=s,this.gaBind="click"}set gaBind(e){this.bindSubscription&&this.bindSubscription.unsubscribe(),this._gaBind=e,this.bindSubscription=xr(this.el.nativeElement,e).subscribe(()=>this.trigger())}get gaBind(){return this._gaBind}ngOnDestroy(){this.bindSubscription&&this.bindSubscription.unsubscribe()}trigger(){try{if(!this.gaAction&&!this.gaEvent)throw new Error("You must provide a gaAction attribute to identify this event.");this.gaService.event(this.gaAction||this.gaEvent,this.gaCategoryDirective?this.gaCategoryDirective.gaCategory:void 0,this.gaLabel||this.label,this.gaValue,this.gaInteraction)}catch(e){this.throw(e)}}throw(e){(Ze()||this.settings.enableTracing)&&console&&console.warn&&console.warn(e)}};K.\u0275fac=d({minVersion:"12.0.0",version:"14.0.2",ngImport:n,type:K,deps:[{token:W,optional:!0},{token:H},{token:Lt},{token:y}],target:c.Directive});K.\u0275dir=L({minVersion:"14.0.0",version:"14.0.2",type:K,selector:"[gaEvent]",inputs:{gaAction:"gaAction",gaLabel:"gaLabel",label:"label",gaValue:"gaValue",gaInteraction:"gaInteraction",gaEvent:"gaEvent",gaBind:"gaBind"},exportAs:["gaEvent"],ngImport:n});l({minVersion:"12.0.0",version:"14.0.2",ngImport:n,type:K,decorators:[{type:S,args:[{selector:"[gaEvent]",exportAs:"gaEvent"}]}],ctorParameters:function(){return[{type:W,decorators:[{type:v}]},{type:H},{type:void 0,decorators:[{type:h,args:[Lt]}]},{type:y}]},propDecorators:{gaAction:[{type:p}],gaLabel:[{type:p}],label:[{type:p}],gaValue:[{type:p}],gaInteraction:[{type:p}],gaEvent:[{type:p}],gaBind:[{type:p}]}});var Y=class{constructor(e){this.gaEvent=e,this.gaBind="focus"}set gaBind(e){this.gaEvent&&(this.gaEvent.gaBind=e)}};Y.\u0275fac=d({minVersion:"12.0.0",version:"14.0.2",ngImport:n,type:Y,deps:[{token:K,host:!0,optional:!0}],target:c.Directive});Y.\u0275dir=L({minVersion:"14.0.0",version:"14.0.2",type:Y,selector:`input[gaEvent], select[gaEvent], textarea[gaEvent]`,inputs:{gaBind:"gaBind"},ngImport:n});l({minVersion:"12.0.0",version:"14.0.2",ngImport:n,type:Y,decorators:[{type:S,args:[{selector:`input[gaEvent], select[gaEvent], textarea[gaEvent]`}]}],ctorParameters:function(){return[{type:K,decorators:[{type:Dr},{type:v}]}]},propDecorators:{gaBind:[{type:p}]}});var As;(function(r){r.ADD_PAYMENT_INFO="add_payment_info",r.ADD_TO_CART="add_to_cart",r.ADD_TO_WISHLIST="add_to_wishlist",r.BEGIN_CHECKOUT="begin_checkout",r.CHECKOUT_PROGRESS="checkout_progress",r.GENERATE_LEAD="generate_lead",r.LOGIN="login",r.PURCHASE="purchase",r.REFUND="refund",r.REMOVE_FROM_CART="remove_from_cart",r.SEARCH="search",r.SELECT_CONTENT="select_content",r.SET_CHECKOUT_OPTION="set_checkout_option",r.SHARE="share",r.SIGN_UP="sign_up",r.VIEW_ITEM="view_item",r.VIEW_ITEM_LIST="view_item_list",r.VIEW_PROMOTION="view_promotion",r.VIEW_SEARCH_RESULT="view_search_results",r.VIEW_SEARCH_RESULTS="view_search_results"})(As||(As={}));var to={provide:Rr,multi:!0,useFactory:io,deps:[Lt,hr,g]};function io(r,e,t){return()=>Ii(this,null,function*(){if(!r.trackingCode){Ze()||console.error("Empty tracking code for Google Analytics. Make sure to provide one when initializing NgxGoogleAnalyticsModule.");return}if(!e){Ze()||console.error("Was not possible create or read gtag() fn. Make sure this module is running on a Browser w/ access to Window interface.");return}t||Ze()||console.error("Was not possible to access Document interface. Make sure this module is running on a Browser w/ access do Document interface."),r.uri=r.uri||`https://www.googletagmanager.com/gtag/js?id=${r.trackingCode}`,r.initCommands=r?.initCommands??[],r.initCommands.find(o=>o.command==="config")||r.initCommands.unshift({command:"config",values:[r.trackingCode]}),r.initCommands.find(o=>o.command==="js")||r.initCommands.unshift({command:"js",values:[new Date]});for(let o of r.initCommands)e(o.command,...o.values);let i=t.createElement("script");i.async=!0,i.src=r.uri,r.nonce&&i.setAttribute("nonce",r.nonce),t.getElementsByTagName("head")[0].appendChild(i)})}var Os=new x("ngx-google-analytics-routing-settings",{factory:()=>({})}),Ns={provide:Or,multi:!0,useFactory:ro,deps:[Os,H]};function ro(r,e){return t=>Ii(this,null,function*(){let i=t.injector.get(Pr),{include:s=[],exclude:o=[]}=r??{},a=Cs(s),m=Cs(o),C=i.events.pipe(ae(O=>O instanceof Mr),Ye(1),ae(O=>a.length>0?a.some(_=>_.test(O.urlAfterRedirects)):!0),ae(O=>m.length>0?!m.some(_=>_.test(O.urlAfterRedirects)):!0)).subscribe(O=>e.pageView(O.urlAfterRedirects,void 0));t.onDestroy(()=>C.unsubscribe())})}function Cs(r){return r.map(e=>e instanceof RegExp?e:new RegExp(`^${e.replace("*",".*")}$`,"i"))}var G=class r{static forRoot(e,t=[],i,s,o){return{ngModule:r,providers:[{provide:Lt,useValue:{trackingCode:e,initCommands:t,uri:i,enableTracing:s,nonce:o}},to]}}};G.\u0275fac=d({minVersion:"12.0.0",version:"14.0.2",ngImport:n,type:G,deps:[],target:c.NgModule});G.\u0275mod=A({minVersion:"14.0.0",version:"14.0.2",ngImport:n,type:G,declarations:[K,W,Y],exports:[K,W,Y]});G.\u0275inj=w({minVersion:"12.0.0",version:"14.0.2",ngImport:n,type:G});l({minVersion:"12.0.0",version:"14.0.2",ngImport:n,type:G,decorators:[{type:T,args:[{imports:[],declarations:[K,W,Y],exports:[K,W,Y]}]}]});var oe=class r{static forRoot(e){return{ngModule:r,providers:[{provide:Os,useValue:e??{}}]}}};oe.\u0275fac=d({minVersion:"12.0.0",version:"14.0.2",ngImport:n,type:oe,deps:[],target:c.NgModule});oe.\u0275mod=A({minVersion:"14.0.0",version:"14.0.2",ngImport:n,type:oe,imports:[le,G]});oe.\u0275inj=w({minVersion:"12.0.0",version:"14.0.2",ngImport:n,type:oe,providers:[Ns],imports:[le,G]});l({minVersion:"12.0.0",version:"14.0.2",ngImport:n,type:oe,decorators:[{type:T,args:[{imports:[le,G],providers:[Ns],declarations:[]}]}]});var R;(function(r){r[r.APIResquestError=0]="APIResquestError",r[r.ChangeResultPage=1]="ChangeResultPage",r[r.FilterByMultipleFields=2]="FilterByMultipleFields",r[r.RemoveResultFilter=3]="RemoveResultFilter",r[r.AddResultFilter=4]="AddResultFilter",r[r.ComplexVisualisation=5]="ComplexVisualisation",r[r.download=6]="download",r[r.externalLink=7]="externalLink",r[r.example=8]="example",r[r.searchInvoker=9]="searchInvoker",r[r.Tile=10]="Tile",r[r.RemoveFromBasket=11]="RemoveFromBasket",r[r.search=12]="search",r[r.AddToBasket=13]="AddToBasket",r[r.GoToMenu=14]="GoToMenu",r[r.RatingComplexNavigator=15]="RatingComplexNavigator",r[r.UseOrthologyButton=16]="UseOrthologyButton",r[r.UseSortingButton=17]="UseSortingButton",r[r.UseGroupingButton=18]="UseGroupingButton"})(R||(R={}));var so=function(r,e,t,i){var s=arguments.length,o=s<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(r,e,t,i);else for(var m=r.length-1;m>=0;m--)(a=r[m])&&(o=(s<3?a(o):s>3?a(e,t,o):a(e,t))||o);return s>3&&o&&Object.defineProperty(e,t,o),o},ur,Fs=(ur=class{constructor(e){b(this,"analytics");this.analytics=e}invokeCustomEvent(e,t,i){this.analytics.event(R[e],V[t],i)}fireDownloadResourceEvent(e,t){this.invokeCustomEvent(R.download,e,t)}fireOpenExternalLinkEvent(e,t){this.invokeCustomEvent(R.externalLink,e,t)}fireClickHomeTileEvent(e){this.invokeCustomEvent(R.Tile,V.home,e)}fireGoToDetailsSectionEvent(e){this.invokeCustomEvent(R.GoToMenu,V.details,e)}fireSearchTermEvent(e,t){this.invokeCustomEvent(R.search,e,t)}fireSearchInvokerEvent(e,t){this.invokeCustomEvent(R.searchInvoker,e,t)}fireAddToBasketEvent(e){this.invokeCustomEvent(R.AddToBasket,V.basket,e)}fireRemoveFromBasketEvent(e){this.invokeCustomEvent(R.RemoveFromBasket,V.basket,e)}fireInteractionWithViewerEvent(e,t){this.invokeCustomEvent(R.ComplexVisualisation,e,t)}fireAddedFilterEvent(e){this.invokeCustomEvent(R.AddResultFilter,V.ResultFilter,e)}fireRemovedFilterEvent(e){this.invokeCustomEvent(R.RemoveResultFilter,V.ResultFilter,e)}fireMultiFilterEvent(e){this.invokeCustomEvent(R.FilterByMultipleFields,V.ResultFilter,e)}fireAPIRequestErrorEvent(e,t){this.invokeCustomEvent(R.APIResquestError,e,t)}rateComplexNavigator(e){this.analytics.event(R[R.RatingComplexNavigator],V[V.complexNavigator],"rating",e)}useComplexNavigatorButton(e){this.analytics.event(R[e],V[V.complexNavigator],"ButtonClicked")}},b(ur,"ctorParameters",()=>[{type:H}]),ur);Fs=so([u()],Fs);export{Br as a,ws as b,V as c,R as d,H as e,G as f,oe as g,Fs as h,jr as i,E as j,Qe as k,qe as l,bo as m,vo as n,Wr as o,te as p,Hr as q,li as r,Ks as s,Li as t,Vi as u,ko as v,ie as w,Le as x,Ui as y,Zr as z,Yi as A,Zi as B,Zt as C,Ue as D,$i as E,qt as F,q as G,I as H,z as I,pr as J,X as K,Rt as L,dr as M,mr as N,ks as O};