diff --git a/404.html b/404.html index eb27570..dba9e18 100644 --- a/404.html +++ b/404.html @@ -15,5 +15,5 @@ - + diff --git a/index.html b/index.html index eb27570..dba9e18 100644 --- a/index.html +++ b/index.html @@ -15,5 +15,5 @@ - + diff --git a/main-VWMWF53E.js b/main-VDMLVGRJ.js similarity index 78% rename from main-VWMWF53E.js rename to main-VDMLVGRJ.js index 91b6343..a7e16bc 100644 --- a/main-VWMWF53E.js +++ b/main-VDMLVGRJ.js @@ -1,8 +1,8 @@ -import{$ as cd,$a as Ma,$b as Td,A as tt,Aa as Mn,Ab as at,Ac as Pa,B as Ia,Ba as ud,Bb as Pt,Bc as Na,C as me,Ca as ue,Cb as nt,D as Ci,Da as _t,Db as U,E as Ui,Ea as Rn,Eb as H,F as Ea,Fa as Wi,Fb as pe,G as rt,Ga as Gi,Gb as C,H as nd,Ha as hd,Hb as be,I as Fo,Ia as fd,Ib as Wt,J as Sn,Ja as pd,Jb as Cd,K as oi,Ka as bd,Kb as kd,L as ri,La as gd,Lb as Id,M as Da,Ma as _d,Mb as st,N as od,Na as vd,Nb as A,O as rd,Oa as te,Ob as Uo,P as ad,Pa as On,Pb as Ed,Q as sd,Qa as v,Qb as Ee,R as Sa,Ra as l,Rb as De,S as Hi,Sa as Fn,Sb as Dd,T as Ft,Ta as Vt,Tb as Ho,U as vt,Ua as yd,Ub as $o,V as dt,Va as qi,Vb as Ra,W as lt,Wa as No,Wb as Oa,X as gt,Xa as Lo,Xb as si,Y as Tt,Ya as Aa,Yb as Fa,Z as x,Za as k,Zb as Sd,_ as P,_a as $t,_b as pt,a as g,aa as y,ab as it,ac as q,b as ht,ba as Ta,bb as ft,bc as ge,ca as u,cb as xd,cc as Ad,d as kt,da as _,db as wd,dc as Yi,e as td,ea as Tn,eb as jo,ec as Md,f as Yt,fa as b,fb as B,fc as Rd,g as wa,ga as T,gb as Y,gc as L,h as Ca,ha as N,hb as j,hc as ci,i as E,ia as I,ib as ai,ic as Wo,j as At,ja as $e,jb as z,jc as Go,k as ce,ka as dd,kb as Mt,kc as Od,l as Ut,la as $i,lb as Q,lc as Xi,m as O,ma as We,mb as Vo,mc as Ge,n as Jt,na as Ct,nb as Ii,nc as Fd,o as ka,oa as $,ob as he,oc as Pn,p as ed,pa as W,pb as fe,pc as qo,q as F,qa as Po,qb as h,qc as Yo,r as wi,ra as ld,rb as f,s as de,sa as jt,sb as M,t as Bi,ta as Pe,tb as mt,tc as Ne,u as le,ua as xt,ub as Xt,uc as Bt,v as Oo,va as ki,vb as Bo,vc as Nn,w as Ht,wa as D,wb as S,x as id,xa as V,xb as zo,xc as It,y as Dt,ya as An,yb as G,yc as Zt,z as zi,za as md,zb as wt,zc as Gt}from"./chunk-V2HD7OKB.js";var jn=class{},Zo=class{},Ei=class n{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(` -`).forEach(r=>{let e=r.indexOf(":");if(e>0){let i=r.slice(0,e),o=i.toLowerCase(),a=r.slice(e+1).trim();this.maybeSetNormalizedName(i,o),this.headers.has(o)?this.headers.get(o).push(a):this.headers.set(o,[a])}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((r,e)=>{this.setHeaderEntries(e,r)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([r,e])=>{this.setHeaderEntries(r,e)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let r=this.headers.get(t.toLowerCase());return r&&r.length>0?r[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,r){return this.clone({name:t,value:r,op:"a"})}set(t,r){return this.clone({name:t,value:r,op:"s"})}delete(t,r){return this.clone({name:t,value:r,op:"d"})}maybeSetNormalizedName(t,r){this.normalizedNames.has(r)||this.normalizedNames.set(r,t)}init(){this.lazyInit&&(this.lazyInit instanceof n?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(r=>{this.headers.set(r,t.headers.get(r)),this.normalizedNames.set(r,t.normalizedNames.get(r))})}clone(t){let r=new n;return r.lazyInit=this.lazyInit&&this.lazyInit instanceof n?this.lazyInit:this,r.lazyUpdate=(this.lazyUpdate||[]).concat([t]),r}applyUpdate(t){let r=t.name.toLowerCase();switch(t.op){case"a":case"s":let e=t.value;if(typeof e=="string"&&(e=[e]),e.length===0)return;this.maybeSetNormalizedName(t.name,r);let i=(t.op==="a"?this.headers.get(r):void 0)||[];i.push(...e),this.headers.set(r,i);break;case"d":let o=t.value;if(!o)this.headers.delete(r),this.normalizedNames.delete(r);else{let a=this.headers.get(r);if(!a)return;a=a.filter(s=>o.indexOf(s)===-1),a.length===0?(this.headers.delete(r),this.normalizedNames.delete(r)):this.headers.set(r,a)}break}}setHeaderEntries(t,r){let e=(Array.isArray(r)?r:[r]).map(o=>o.toString()),i=t.toLowerCase();this.headers.set(i,e),this.maybeSetNormalizedName(t,i)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(r=>t(this.normalizedNames.get(r),this.headers.get(r)))}};var ja=class{encodeKey(t){return Pd(t)}encodeValue(t){return Pd(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function Nh(n,t){let r=new Map;return n.length>0&&n.replace(/^\?/,"").split("&").forEach(i=>{let o=i.indexOf("="),[a,s]=o==-1?[t.decodeKey(i),""]:[t.decodeKey(i.slice(0,o)),t.decodeValue(i.slice(o+1))],c=r.get(a)||[];c.push(s),r.set(a,c)}),r}var Lh=/%(\d[a-f0-9])/gi,jh={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Pd(n){return encodeURIComponent(n).replace(Lh,(t,r)=>jh[r]??t)}function Xo(n){return`${n}`}var di=class n{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new ja,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=Nh(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(r=>{let e=t.fromObject[r],i=Array.isArray(e)?e.map(Xo):[Xo(e)];this.map.set(r,i)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let r=this.map.get(t);return r?r[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,r){return this.clone({param:t,value:r,op:"a"})}appendAll(t){let r=[];return Object.keys(t).forEach(e=>{let i=t[e];Array.isArray(i)?i.forEach(o=>{r.push({param:e,value:o,op:"a"})}):r.push({param:e,value:i,op:"a"})}),this.clone(r)}set(t,r){return this.clone({param:t,value:r,op:"s"})}delete(t,r){return this.clone({param:t,value:r,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let r=this.encoder.encodeKey(t);return this.map.get(t).map(e=>r+"="+this.encoder.encodeValue(e)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let r=new n({encoder:this.encoder});return r.cloneFrom=this.cloneFrom||this,r.updates=(this.updates||[]).concat(t),r}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":let r=(t.op==="a"?this.map.get(t.param):void 0)||[];r.push(Xo(t.value)),this.map.set(t.param,r);break;case"d":if(t.value!==void 0){let e=this.map.get(t.param)||[],i=e.indexOf(Xo(t.value));i!==-1&&e.splice(i,1),e.length>0?this.map.set(t.param,e):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}};var Va=class{constructor(){this.map=new Map}set(t,r){return this.map.set(t,r),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}};function Vh(n){switch(n){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Nd(n){return typeof ArrayBuffer<"u"&&n instanceof ArrayBuffer}function Ld(n){return typeof Blob<"u"&&n instanceof Blob}function jd(n){return typeof FormData<"u"&&n instanceof FormData}function Bh(n){return typeof URLSearchParams<"u"&&n instanceof URLSearchParams}var Ln=class n{constructor(t,r,e,i){this.url=r,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase();let o;if(Vh(this.method)||i?(this.body=e!==void 0?e:null,o=i):o=e,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers??=new Ei,this.context??=new Va,!this.params)this.params=new di,this.urlWithParams=r;else{let a=this.params.toString();if(a.length===0)this.urlWithParams=r;else{let s=r.indexOf("?"),c=s===-1?"?":sw.set(R,t.setHeaders[R]),d)),t.setParams&&(m=Object.keys(t.setParams).reduce((w,R)=>w.set(R,t.setParams[R]),m)),new n(r,e,a,{params:m,headers:d,context:p,reportProgress:c,responseType:i,withCredentials:s,transferCache:o})}},Zi=function(n){return n[n.Sent=0]="Sent",n[n.UploadProgress=1]="UploadProgress",n[n.ResponseHeader=2]="ResponseHeader",n[n.DownloadProgress=3]="DownloadProgress",n[n.Response=4]="Response",n[n.User=5]="User",n}(Zi||{}),Vn=class{constructor(t,r=Ko.Ok,e="OK"){this.headers=t.headers||new Ei,this.status=t.status!==void 0?t.status:r,this.statusText=t.statusText||e,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}},Ba=class n extends Vn{constructor(t={}){super(t),this.type=Zi.ResponseHeader}clone(t={}){return new n({headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},Qo=class n extends Vn{constructor(t={}){super(t),this.type=Zi.Response,this.body=t.body!==void 0?t.body:null}clone(t={}){return new n({body:t.body!==void 0?t.body:this.body,headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},Qi=class extends Vn{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||"(unknown url)"}`:this.message=`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}},Ko=function(n){return n[n.Continue=100]="Continue",n[n.SwitchingProtocols=101]="SwitchingProtocols",n[n.Processing=102]="Processing",n[n.EarlyHints=103]="EarlyHints",n[n.Ok=200]="Ok",n[n.Created=201]="Created",n[n.Accepted=202]="Accepted",n[n.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",n[n.NoContent=204]="NoContent",n[n.ResetContent=205]="ResetContent",n[n.PartialContent=206]="PartialContent",n[n.MultiStatus=207]="MultiStatus",n[n.AlreadyReported=208]="AlreadyReported",n[n.ImUsed=226]="ImUsed",n[n.MultipleChoices=300]="MultipleChoices",n[n.MovedPermanently=301]="MovedPermanently",n[n.Found=302]="Found",n[n.SeeOther=303]="SeeOther",n[n.NotModified=304]="NotModified",n[n.UseProxy=305]="UseProxy",n[n.Unused=306]="Unused",n[n.TemporaryRedirect=307]="TemporaryRedirect",n[n.PermanentRedirect=308]="PermanentRedirect",n[n.BadRequest=400]="BadRequest",n[n.Unauthorized=401]="Unauthorized",n[n.PaymentRequired=402]="PaymentRequired",n[n.Forbidden=403]="Forbidden",n[n.NotFound=404]="NotFound",n[n.MethodNotAllowed=405]="MethodNotAllowed",n[n.NotAcceptable=406]="NotAcceptable",n[n.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",n[n.RequestTimeout=408]="RequestTimeout",n[n.Conflict=409]="Conflict",n[n.Gone=410]="Gone",n[n.LengthRequired=411]="LengthRequired",n[n.PreconditionFailed=412]="PreconditionFailed",n[n.PayloadTooLarge=413]="PayloadTooLarge",n[n.UriTooLong=414]="UriTooLong",n[n.UnsupportedMediaType=415]="UnsupportedMediaType",n[n.RangeNotSatisfiable=416]="RangeNotSatisfiable",n[n.ExpectationFailed=417]="ExpectationFailed",n[n.ImATeapot=418]="ImATeapot",n[n.MisdirectedRequest=421]="MisdirectedRequest",n[n.UnprocessableEntity=422]="UnprocessableEntity",n[n.Locked=423]="Locked",n[n.FailedDependency=424]="FailedDependency",n[n.TooEarly=425]="TooEarly",n[n.UpgradeRequired=426]="UpgradeRequired",n[n.PreconditionRequired=428]="PreconditionRequired",n[n.TooManyRequests=429]="TooManyRequests",n[n.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",n[n.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",n[n.InternalServerError=500]="InternalServerError",n[n.NotImplemented=501]="NotImplemented",n[n.BadGateway=502]="BadGateway",n[n.ServiceUnavailable=503]="ServiceUnavailable",n[n.GatewayTimeout=504]="GatewayTimeout",n[n.HttpVersionNotSupported=505]="HttpVersionNotSupported",n[n.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",n[n.InsufficientStorage=507]="InsufficientStorage",n[n.LoopDetected=508]="LoopDetected",n[n.NotExtended=510]="NotExtended",n[n.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",n}(Ko||{});function La(n,t){return{body:t,headers:n.headers,context:n.context,observe:n.observe,params:n.params,reportProgress:n.reportProgress,responseType:n.responseType,withCredentials:n.withCredentials,transferCache:n.transferCache}}var Di=(()=>{let t=class t{constructor(e){this.handler=e}request(e,i,o={}){let a;if(e instanceof Ln)a=e;else{let d;o.headers instanceof Ei?d=o.headers:d=new Ei(o.headers);let m;o.params&&(o.params instanceof di?m=o.params:m=new di({fromObject:o.params})),a=new Ln(e,i,o.body!==void 0?o.body:null,{headers:d,context:o.context,params:m,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let s=O(a).pipe(Ci(d=>this.handler.handle(d)));if(e instanceof Ln||o.observe==="events")return s;let c=s.pipe(tt(d=>d instanceof Qo));switch(o.observe||"body"){case"body":switch(a.responseType){case"arraybuffer":return c.pipe(F(d=>{if(d.body!==null&&!(d.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return d.body}));case"blob":return c.pipe(F(d=>{if(d.body!==null&&!(d.body instanceof Blob))throw new Error("Response is not a Blob.");return d.body}));case"text":return c.pipe(F(d=>{if(d.body!==null&&typeof d.body!="string")throw new Error("Response is not a string.");return d.body}));case"json":default:return c.pipe(F(d=>d.body))}case"response":return c;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(e,i={}){return this.request("DELETE",e,i)}get(e,i={}){return this.request("GET",e,i)}head(e,i={}){return this.request("HEAD",e,i)}jsonp(e,i){return this.request("JSONP",e,{params:new di().append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,i={}){return this.request("OPTIONS",e,i)}patch(e,i,o={}){return this.request("PATCH",e,La(o,i))}post(e,i,o={}){return this.request("POST",e,La(o,i))}put(e,i,o={}){return this.request("PUT",e,La(o,i))}};t.\u0275fac=function(i){return new(i||t)(u(jn))},t.\u0275prov=x({token:t,factory:t.\u0275fac});let n=t;return n})();function zh(n,t){return t(n)}function Uh(n,t,r){return(e,i)=>We(r,()=>t(e,o=>n(o,i)))}var Ua=new y(""),Hh=new y(""),$h=new y("");var Vd=(()=>{let t=class t extends jn{constructor(e,i){super(),this.backend=e,this.injector=i,this.chain=null,this.pendingTasks=_(jo);let o=_($h,{optional:!0});this.backend=o??e}handle(e){if(this.chain===null){let o=Array.from(new Set([...this.injector.get(Ua),...this.injector.get(Hh,[])]));this.chain=o.reduceRight((a,s)=>Uh(a,s,this.injector),zh)}let i=this.pendingTasks.add();return this.chain(e,o=>this.backend.handle(o)).pipe(oi(()=>this.pendingTasks.remove(i)))}};t.\u0275fac=function(i){return new(i||t)(u(Zo),u($i))},t.\u0275prov=x({token:t,factory:t.\u0275fac});let n=t;return n})();var Wh=/^\)\]\}',?\n/;function Gh(n){return"responseURL"in n&&n.responseURL?n.responseURL:/^X-Request-URL:/m.test(n.getAllResponseHeaders())?n.getResponseHeader("X-Request-URL"):null}var Bd=(()=>{let t=class t{constructor(e){this.xhrFactory=e}handle(e){if(e.method==="JSONP")throw new gt(-2800,!1);let i=this.xhrFactory;return(i.\u0275loadImpl?Ut(i.\u0275loadImpl()):O(null)).pipe(vt(()=>new Yt(a=>{let s=i.build();if(s.open(e.method,e.urlWithParams),e.withCredentials&&(s.withCredentials=!0),e.headers.forEach((ot,ut)=>s.setRequestHeader(ot,ut.join(","))),e.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){let ot=e.detectContentTypeHeader();ot!==null&&s.setRequestHeader("Content-Type",ot)}if(e.responseType){let ot=e.responseType.toLowerCase();s.responseType=ot!=="json"?ot:"text"}let c=e.serializeBody(),d=null,m=()=>{if(d!==null)return d;let ot=s.statusText||"OK",ut=new Ei(s.getAllResponseHeaders()),Ie=Gh(s)||e.url;return d=new Ba({headers:ut,status:s.status,statusText:ot,url:Ie}),d},p=()=>{let{headers:ot,status:ut,statusText:Ie,url:Jc}=m(),qt=null;ut!==Ko.NoContent&&(qt=typeof s.response>"u"?s.responseText:s.response),ut===0&&(ut=qt?Ko.Ok:0);let xa=ut>=200&&ut<300;if(e.responseType==="json"&&typeof qt=="string"){let Ah=qt;qt=qt.replace(Wh,"");try{qt=qt!==""?JSON.parse(qt):null}catch(Mh){qt=Ah,xa&&(xa=!1,qt={error:Mh,text:qt})}}xa?(a.next(new Qo({body:qt,headers:ot,status:ut,statusText:Ie,url:Jc||void 0})),a.complete()):a.error(new Qi({error:qt,headers:ot,status:ut,statusText:Ie,url:Jc||void 0}))},w=ot=>{let{url:ut}=m(),Ie=new Qi({error:ot,status:s.status||0,statusText:s.statusText||"Unknown Error",url:ut||void 0});a.error(Ie)},R=!1,Z=ot=>{R||(a.next(m()),R=!0);let ut={type:Zi.DownloadProgress,loaded:ot.loaded};ot.lengthComputable&&(ut.total=ot.total),e.responseType==="text"&&s.responseText&&(ut.partialText=s.responseText),a.next(ut)},ct=ot=>{let ut={type:Zi.UploadProgress,loaded:ot.loaded};ot.lengthComputable&&(ut.total=ot.total),a.next(ut)};return s.addEventListener("load",p),s.addEventListener("error",w),s.addEventListener("timeout",w),s.addEventListener("abort",w),e.reportProgress&&(s.addEventListener("progress",Z),c!==null&&s.upload&&s.upload.addEventListener("progress",ct)),s.send(c),a.next({type:Zi.Sent}),()=>{s.removeEventListener("error",w),s.removeEventListener("abort",w),s.removeEventListener("load",p),s.removeEventListener("timeout",w),e.reportProgress&&(s.removeEventListener("progress",Z),c!==null&&s.upload&&s.upload.removeEventListener("progress",ct)),s.readyState!==s.DONE&&s.abort()}})))}};t.\u0275fac=function(i){return new(i||t)(u(Yo))},t.\u0275prov=x({token:t,factory:t.\u0275fac});let n=t;return n})(),zd=new y(""),qh="XSRF-TOKEN",Yh=new y("",{providedIn:"root",factory:()=>qh}),Xh="X-XSRF-TOKEN",Zh=new y("",{providedIn:"root",factory:()=>Xh}),Jo=class{},Qh=(()=>{let t=class t{constructor(e,i,o){this.doc=e,this.platform=i,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Wo(e,this.cookieName),this.lastCookieString=e),this.lastToken}};t.\u0275fac=function(i){return new(i||t)(u(L),u(ue),u(Yh))},t.\u0275prov=x({token:t,factory:t.\u0275fac});let n=t;return n})();function Kh(n,t){let r=n.url.toLowerCase();if(!_(zd)||n.method==="GET"||n.method==="HEAD"||r.startsWith("http://")||r.startsWith("https://"))return t(n);let e=_(Jo).getToken(),i=_(Zh);return e!=null&&!n.headers.has(i)&&(n=n.clone({headers:n.headers.set(i,e)})),t(n)}var Ud=function(n){return n[n.Interceptors=0]="Interceptors",n[n.LegacyInterceptors=1]="LegacyInterceptors",n[n.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",n[n.NoXsrfProtection=3]="NoXsrfProtection",n[n.JsonpSupport=4]="JsonpSupport",n[n.RequestsMadeViaParent=5]="RequestsMadeViaParent",n[n.Fetch=6]="Fetch",n}(Ud||{});function Jh(n,t){return{\u0275kind:n,\u0275providers:t}}function Hd(...n){let t=[Di,Bd,Vd,{provide:jn,useExisting:Vd},{provide:Zo,useExisting:Bd},{provide:Ua,useValue:Kh,multi:!0},{provide:zd,useValue:!0},{provide:Jo,useClass:Qh}];for(let r of n)t.push(...r.\u0275providers);return $e(t)}function $d(n){return Jh(Ud.Interceptors,n.map(t=>({provide:Ua,useValue:t,multi:!0})))}var Ga=class extends Rd{constructor(){super(...arguments),this.supportsDOMEvents=!0}},qa=class n extends Ga{static makeCurrent(){Md(new n)}onAndCancel(t,r,e){return t.addEventListener(r,e),()=>{t.removeEventListener(r,e)}}dispatchEvent(t,r){t.dispatchEvent(r)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,r){return r=r||this.getDefaultDocument(),r.createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,r){return r==="window"?window:r==="document"?t:r==="body"?t.body:null}getBaseHref(t){let r=ef();return r==null?null:nf(r)}resetBaseElement(){Bn=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return Wo(document.cookie,t)}},Bn=null;function ef(){return Bn=Bn||document.querySelector("base"),Bn?Bn.getAttribute("href"):null}function nf(n){return new URL(n,document.baseURI).pathname}var of=(()=>{let t=class t{build(){return new XMLHttpRequest}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=x({token:t,factory:t.\u0275fac});let n=t;return n})(),Ya=new y(""),Yd=(()=>{let t=class t{constructor(e,i){this._zone=i,this._eventNameToPlugin=new Map,e.forEach(o=>{o.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,i,o){return this._findPluginFor(i).addEventListener(e,i,o)}getZone(){return this._zone}_findPluginFor(e){let i=this._eventNameToPlugin.get(e);if(i)return i;if(i=this._plugins.find(a=>a.supports(e)),!i)throw new gt(5101,!1);return this._eventNameToPlugin.set(e,i),i}};t.\u0275fac=function(i){return new(i||t)(u(Ya),u(k))},t.\u0275prov=x({token:t,factory:t.\u0275fac});let n=t;return n})(),tr=class{constructor(t){this._doc=t}},$a="ng-app-id",Xd=(()=>{let t=class t{constructor(e,i,o,a={}){this.doc=e,this.appId=i,this.nonce=o,this.platformId=a,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=qo(a),this.resetHostNodes()}addStyles(e){for(let i of e)this.changeUsageCount(i,1)===1&&this.onStyleAdded(i)}removeStyles(e){for(let i of e)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){let e=this.styleNodesInDOM;e&&(e.forEach(i=>i.remove()),e.clear());for(let i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(e){this.hostNodes.add(e);for(let i of this.getAllStyles())this.addStyleToHost(e,i)}removeHost(e){this.hostNodes.delete(e)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(e){for(let i of this.hostNodes)this.addStyleToHost(i,e)}onStyleRemoved(e){let i=this.styleRef;i.get(e)?.elements?.forEach(o=>o.remove()),i.delete(e)}collectServerRenderedStyles(){let e=this.doc.head?.querySelectorAll(`style[${$a}="${this.appId}"]`);if(e?.length){let i=new Map;return e.forEach(o=>{o.textContent!=null&&i.set(o.textContent,o)}),i}return null}changeUsageCount(e,i){let o=this.styleRef;if(o.has(e)){let a=o.get(e);return a.usage+=i,a.usage}return o.set(e,{usage:i,elements:[]}),i}getStyleElement(e,i){let o=this.styleNodesInDOM,a=o?.get(i);if(a?.parentNode===e)return o.delete(i),a.removeAttribute($a),a;{let s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=i,this.platformIsServer&&s.setAttribute($a,this.appId),e.appendChild(s),s}}addStyleToHost(e,i){let o=this.getStyleElement(e,i),a=this.styleRef,s=a.get(i)?.elements;s?s.push(o):a.set(i,{elements:[o],usage:1})}resetHostNodes(){let e=this.hostNodes;e.clear(),e.add(this.doc.head)}};t.\u0275fac=function(i){return new(i||t)(u(L),u(Mn),u(Rn,8),u(ue))},t.\u0275prov=x({token:t,factory:t.\u0275fac});let n=t;return n})(),Wa={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},Qa=/%COMP%/g,Zd="%COMP%",rf=`_nghost-${Zd}`,af=`_ngcontent-${Zd}`,sf=!0,cf=new y("",{providedIn:"root",factory:()=>sf});function df(n){return af.replace(Qa,n)}function lf(n){return rf.replace(Qa,n)}function Qd(n,t){return t.map(r=>r.replace(Qa,n))}var er=(()=>{let t=class t{constructor(e,i,o,a,s,c,d,m=null){this.eventManager=e,this.sharedStylesHost=i,this.appId=o,this.removeStylesOnCompDestroy=a,this.doc=s,this.platformId=c,this.ngZone=d,this.nonce=m,this.rendererByCompId=new Map,this.platformIsServer=qo(c),this.defaultRenderer=new zn(e,s,d,this.platformIsServer)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===Tn.ShadowDom&&(i=ht(g({},i),{encapsulation:Tn.Emulated}));let o=this.getOrCreateRenderer(e,i);return o instanceof ir?o.applyToHost(e):o instanceof Un&&o.applyStyles(),o}getOrCreateRenderer(e,i){let o=this.rendererByCompId,a=o.get(i.id);if(!a){let s=this.doc,c=this.ngZone,d=this.eventManager,m=this.sharedStylesHost,p=this.removeStylesOnCompDestroy,w=this.platformIsServer;switch(i.encapsulation){case Tn.Emulated:a=new ir(d,m,i,this.appId,p,s,c,w);break;case Tn.ShadowDom:return new Xa(d,m,e,i,s,c,this.nonce,w);default:a=new Un(d,m,i,p,s,c,w);break}o.set(i.id,a)}return a}ngOnDestroy(){this.rendererByCompId.clear()}};t.\u0275fac=function(i){return new(i||t)(u(Yd),u(Xd),u(Mn),u(cf),u(L),u(ue),u(k),u(Rn))},t.\u0275prov=x({token:t,factory:t.\u0275fac});let n=t;return n})(),zn=class{constructor(t,r,e,i){this.eventManager=t,this.doc=r,this.ngZone=e,this.platformIsServer=i,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(t,r){return r?this.doc.createElementNS(Wa[r]||r,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,r){(Wd(t)?t.content:t).appendChild(r)}insertBefore(t,r,e){t&&(Wd(t)?t.content:t).insertBefore(r,e)}removeChild(t,r){t&&t.removeChild(r)}selectRootElement(t,r){let e=typeof t=="string"?this.doc.querySelector(t):t;if(!e)throw new gt(-5104,!1);return r||(e.textContent=""),e}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,r,e,i){if(i){r=i+":"+r;let o=Wa[i];o?t.setAttributeNS(o,r,e):t.setAttribute(r,e)}else t.setAttribute(r,e)}removeAttribute(t,r,e){if(e){let i=Wa[e];i?t.removeAttributeNS(i,r):t.removeAttribute(`${e}:${r}`)}else t.removeAttribute(r)}addClass(t,r){t.classList.add(r)}removeClass(t,r){t.classList.remove(r)}setStyle(t,r,e,i){i&(On.DashCase|On.Important)?t.style.setProperty(r,e,i&On.Important?"important":""):t.style[r]=e}removeStyle(t,r,e){e&On.DashCase?t.style.removeProperty(r):t.style[r]=""}setProperty(t,r,e){t!=null&&(t[r]=e)}setValue(t,r){t.nodeValue=r}listen(t,r,e){if(typeof t=="string"&&(t=Yi().getGlobalEventTarget(this.doc,t),!t))throw new Error(`Unsupported event target ${t} for event ${r}`);return this.eventManager.addEventListener(t,r,this.decoratePreventDefault(e))}decoratePreventDefault(t){return r=>{if(r==="__ngUnwrap__")return t;(this.platformIsServer?this.ngZone.runGuarded(()=>t(r)):t(r))===!1&&r.preventDefault()}}};function Wd(n){return n.tagName==="TEMPLATE"&&n.content!==void 0}var Xa=class extends zn{constructor(t,r,e,i,o,a,s,c){super(t,o,a,c),this.sharedStylesHost=r,this.hostEl=e,this.shadowRoot=e.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let d=Qd(i.id,i.styles);for(let m of d){let p=document.createElement("style");s&&p.setAttribute("nonce",s),p.textContent=m,this.shadowRoot.appendChild(p)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,r){return super.appendChild(this.nodeOrShadowRoot(t),r)}insertBefore(t,r,e){return super.insertBefore(this.nodeOrShadowRoot(t),r,e)}removeChild(t,r){return super.removeChild(this.nodeOrShadowRoot(t),r)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Un=class extends zn{constructor(t,r,e,i,o,a,s,c){super(t,o,a,s),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=i,this.styles=c?Qd(c,e.styles):e.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},ir=class extends Un{constructor(t,r,e,i,o,a,s,c){let d=i+"-"+e.id;super(t,r,e,o,a,s,c,d),this.contentAttr=df(d),this.hostAttr=lf(d)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,r){let e=super.createElement(t,r);return super.setAttribute(e,this.contentAttr,""),e}},mf=(()=>{let t=class t extends tr{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,o){return e.addEventListener(i,o,!1),()=>this.removeEventListener(e,i,o)}removeEventListener(e,i,o){return e.removeEventListener(i,o)}};t.\u0275fac=function(i){return new(i||t)(u(L))},t.\u0275prov=x({token:t,factory:t.\u0275fac});let n=t;return n})(),Gd=["alt","control","meta","shift"],uf={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},hf={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey},ff=(()=>{let t=class t extends tr{constructor(e){super(e)}supports(e){return t.parseEventName(e)!=null}addEventListener(e,i,o){let a=t.parseEventName(i),s=t.eventCallback(a.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Yi().onAndCancel(e,a.domEventName,s))}static parseEventName(e){let i=e.toLowerCase().split("."),o=i.shift();if(i.length===0||!(o==="keydown"||o==="keyup"))return null;let a=t._normalizeKey(i.pop()),s="",c=i.indexOf("code");if(c>-1&&(i.splice(c,1),s="code."),Gd.forEach(m=>{let p=i.indexOf(m);p>-1&&(i.splice(p,1),s+=m+".")}),s+=a,i.length!=0||a.length===0)return null;let d={};return d.domEventName=o,d.fullKey=s,d}static matchEventFullKeyCode(e,i){let o=uf[e.key]||e.key,a="";return i.indexOf("code.")>-1&&(o=e.code,a="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),Gd.forEach(s=>{if(s!==o){let c=hf[s];c(e)&&(a+=s+".")}}),a+=o,a===i)}static eventCallback(e,i,o){return a=>{t.matchEventFullKeyCode(a,e)&&o.runGuarded(()=>i(a))}}static _normalizeKey(e){return e==="esc"?"escape":e}};t.\u0275fac=function(i){return new(i||t)(u(L))},t.\u0275prov=x({token:t,factory:t.\u0275fac});let n=t;return n})();function Kd(n,t){return Td(g({rootComponent:n},pf(t)))}function pf(n){return{appProviders:[...yf,...n?.providers??[]],platformProviders:vf}}function bf(){qa.makeCurrent()}function gf(){return new ki}function _f(){return md(document),document}var vf=[{provide:ue,useValue:Fd},{provide:ud,useValue:bf,multi:!0},{provide:L,useFactory:_f,deps:[]}];var yf=[{provide:dd,useValue:"root"},{provide:ki,useFactory:gf,deps:[]},{provide:Ya,useClass:mf,multi:!0,deps:[L,k,ue]},{provide:Ya,useClass:ff,multi:!0,deps:[L]},er,Xd,Yd,{provide:No,useExisting:er},{provide:Yo,useClass:of,deps:[]},[]];var Jd=(()=>{let t=class t{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}};t.\u0275fac=function(i){return new(i||t)(u(L))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();var Ka=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=x({token:t,factory:function(i){let o=null;return i?o=new(i||t):o=u(xf),o},providedIn:"root"});let n=t;return n})(),xf=(()=>{let t=class t extends Ka{constructor(e){super(),this._doc=e}sanitize(e,i){if(i==null)return null;switch(e){case te.NONE:return i;case te.HTML:return Gi(i,"HTML")?Wi(i):vd(this._doc,String(i)).toString();case te.STYLE:return Gi(i,"Style")?Wi(i):i;case te.SCRIPT:if(Gi(i,"Script"))return Wi(i);throw new gt(5200,!1);case te.URL:return Gi(i,"URL")?Wi(i):_d(String(i));case te.RESOURCE_URL:if(Gi(i,"ResourceURL"))return Wi(i);throw new gt(5201,!1);default:throw new gt(5202,!1)}}bypassSecurityTrustHtml(e){return hd(e)}bypassSecurityTrustStyle(e){return fd(e)}bypassSecurityTrustScript(e){return pd(e)}bypassSecurityTrustUrl(e){return bd(e)}bypassSecurityTrustResourceUrl(e){return gd(e)}};t.\u0275fac=function(i){return new(i||t)(u(L))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();var et="primary",no=Symbol("RouteTitle"),ns=class{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){let r=this.params[t];return Array.isArray(r)?r[0]:r}return null}getAll(t){if(this.has(t)){let r=this.params[t];return Array.isArray(r)?r:[r]}return[]}get keys(){return Object.keys(this.params)}};function nn(n){return new ns(n)}function Cf(n,t,r){let e=r.path.split("/");if(e.length>n.length||r.pathMatch==="full"&&(t.hasChildren()||e.lengthe[o]===i)}else return n===t}function sl(n){return n.length>0?n[n.length-1]:null}function ui(n){return ka(n)?n:$o(n)?Ut(Promise.resolve(n)):O(n)}var If={exact:dl,subset:ll},cl={exact:Ef,subset:Df,ignored:()=>!0};function el(n,t,r){return If[r.paths](n.root,t.root,r.matrixParams)&&cl[r.queryParams](n.queryParams,t.queryParams)&&!(r.fragment==="exact"&&n.fragment!==t.fragment)}function Ef(n,t){return Le(n,t)}function dl(n,t,r){if(!Ti(n.segments,t.segments)||!rr(n.segments,t.segments,r)||n.numberOfChildren!==t.numberOfChildren)return!1;for(let e in t.children)if(!n.children[e]||!dl(n.children[e],t.children[e],r))return!1;return!0}function Df(n,t){return Object.keys(t).length<=Object.keys(n).length&&Object.keys(t).every(r=>al(n[r],t[r]))}function ll(n,t,r){return ml(n,t,t.segments,r)}function ml(n,t,r,e){if(n.segments.length>r.length){let i=n.segments.slice(0,r.length);return!(!Ti(i,r)||t.hasChildren()||!rr(i,r,e))}else if(n.segments.length===r.length){if(!Ti(n.segments,r)||!rr(n.segments,r,e))return!1;for(let i in t.children)if(!n.children[i]||!ll(n.children[i],t.children[i],e))return!1;return!0}else{let i=r.slice(0,n.segments.length),o=r.slice(n.segments.length);return!Ti(n.segments,i)||!rr(n.segments,i,e)||!n.children[et]?!1:ml(n.children[et],t,o,e)}}function rr(n,t,r){return t.every((e,i)=>cl[r](n[i].parameters,e.parameters))}var li=class{constructor(t=new bt([],{}),r={},e=null){this.root=t,this.queryParams=r,this.fragment=e}get queryParamMap(){return this._queryParamMap??=nn(this.queryParams),this._queryParamMap}toString(){return Af.serialize(this)}},bt=class{constructor(t,r){this.segments=t,this.children=r,this.parent=null,Object.values(r).forEach(e=>e.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return ar(this)}},Si=class{constructor(t,r){this.path=t,this.parameters=r}get parameterMap(){return this._parameterMap??=nn(this.parameters),this._parameterMap}toString(){return hl(this)}};function Sf(n,t){return Ti(n,t)&&n.every((r,e)=>Le(r.parameters,t[e].parameters))}function Ti(n,t){return n.length!==t.length?!1:n.every((r,e)=>r.path===t[e].path)}function Tf(n,t){let r=[];return Object.entries(n.children).forEach(([e,i])=>{e===et&&(r=r.concat(t(i,e)))}),Object.entries(n.children).forEach(([e,i])=>{e!==et&&(r=r.concat(t(i,e)))}),r}var As=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=x({token:t,factory:()=>new cr,providedIn:"root"});let n=t;return n})(),cr=class{parse(t){let r=new as(t);return new li(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(t){let r=`/${Hn(t.root,!0)}`,e=Of(t.queryParams),i=typeof t.fragment=="string"?`#${Mf(t.fragment)}`:"";return`${r}${e}${i}`}},Af=new cr;function ar(n){return n.segments.map(t=>hl(t)).join("/")}function Hn(n,t){if(!n.hasChildren())return ar(n);if(t){let r=n.children[et]?Hn(n.children[et],!1):"",e=[];return Object.entries(n.children).forEach(([i,o])=>{i!==et&&e.push(`${i}:${Hn(o,!1)}`)}),e.length>0?`${r}(${e.join("//")})`:r}else{let r=Tf(n,(e,i)=>i===et?[Hn(n.children[et],!1)]:[`${i}:${Hn(e,!1)}`]);return Object.keys(n.children).length===1&&n.children[et]!=null?`${ar(n)}/${r[0]}`:`${ar(n)}/(${r.join("//")})`}}function ul(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function nr(n){return ul(n).replace(/%3B/gi,";")}function Mf(n){return encodeURI(n)}function rs(n){return ul(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function sr(n){return decodeURIComponent(n)}function il(n){return sr(n.replace(/\+/g,"%20"))}function hl(n){return`${rs(n.path)}${Rf(n.parameters)}`}function Rf(n){return Object.entries(n).map(([t,r])=>`;${rs(t)}=${rs(r)}`).join("")}function Of(n){let t=Object.entries(n).map(([r,e])=>Array.isArray(e)?e.map(i=>`${nr(r)}=${nr(i)}`).join("&"):`${nr(r)}=${nr(e)}`).filter(r=>r);return t.length?`?${t.join("&")}`:""}var Ff=/^[^\/()?;#]+/;function Ja(n){let t=n.match(Ff);return t?t[0]:""}var Pf=/^[^\/()?;=#]+/;function Nf(n){let t=n.match(Pf);return t?t[0]:""}var Lf=/^[^=?&#]+/;function jf(n){let t=n.match(Lf);return t?t[0]:""}var Vf=/^[^&#]+/;function Bf(n){let t=n.match(Vf);return t?t[0]:""}var as=class{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new bt([],{}):new bt([],this.parseChildren())}parseQueryParams(){let t={};if(this.consumeOptional("?"))do this.parseQueryParam(t);while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0));let e={};return this.peekStartsWith("(")&&(e=this.parseParens(!1)),(t.length>0||Object.keys(r).length>0)&&(e[et]=new bt(t,r)),e}parseSegment(){let t=Ja(this.remaining);if(t===""&&this.peekStartsWith(";"))throw new gt(4009,!1);return this.capture(t),new Si(sr(t),this.parseMatrixParams())}parseMatrixParams(){let t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){let r=Nf(this.remaining);if(!r)return;this.capture(r);let e="";if(this.consumeOptional("=")){let i=Ja(this.remaining);i&&(e=i,this.capture(e))}t[sr(r)]=sr(e)}parseQueryParam(t){let r=jf(this.remaining);if(!r)return;this.capture(r);let e="";if(this.consumeOptional("=")){let a=Bf(this.remaining);a&&(e=a,this.capture(e))}let i=il(r),o=il(e);if(t.hasOwnProperty(i)){let a=t[i];Array.isArray(a)||(a=[a],t[i]=a),a.push(o)}else t[i]=o}parseParens(t){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let e=Ja(this.remaining),i=this.remaining[e.length];if(i!=="/"&&i!==")"&&i!==";")throw new gt(4010,!1);let o;e.indexOf(":")>-1?(o=e.slice(0,e.indexOf(":")),this.capture(o),this.capture(":")):t&&(o=et);let a=this.parseChildren();r[o]=Object.keys(a).length===1?a[et]:new bt([],a),this.consumeOptional("//")}return r}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return this.peekStartsWith(t)?(this.remaining=this.remaining.substring(t.length),!0):!1}capture(t){if(!this.consumeOptional(t))throw new gt(4011,!1)}};function fl(n){return n.segments.length>0?new bt([],{[et]:n}):n}function pl(n){let t={};for(let[e,i]of Object.entries(n.children)){let o=pl(i);if(e===et&&o.segments.length===0&&o.hasChildren())for(let[a,s]of Object.entries(o.children))t[a]=s;else(o.segments.length>0||o.hasChildren())&&(t[e]=o)}let r=new bt(n.segments,t);return zf(r)}function zf(n){if(n.numberOfChildren===1&&n.children[et]){let t=n.children[et];return new bt(n.segments.concat(t.segments),t.children)}return n}function on(n){return n instanceof li}function Uf(n,t,r=null,e=null){let i=bl(n);return gl(i,t,r,e)}function bl(n){let t;function r(o){let a={};for(let c of o.children){let d=r(c);a[c.outlet]=d}let s=new bt(o.url,a);return o===n&&(t=s),s}let e=r(n.root),i=fl(e);return t??i}function gl(n,t,r,e){let i=n;for(;i.parent;)i=i.parent;if(t.length===0)return ts(i,i,i,r,e);let o=Hf(t);if(o.toRoot())return ts(i,i,new bt([],{}),r,e);let a=$f(o,i,n),s=a.processChildren?Gn(a.segmentGroup,a.index,o.commands):vl(a.segmentGroup,a.index,o.commands);return ts(i,a.segmentGroup,s,r,e)}function dr(n){return typeof n=="object"&&n!=null&&!n.outlets&&!n.segmentPath}function Xn(n){return typeof n=="object"&&n!=null&&n.outlets}function ts(n,t,r,e,i){let o={};e&&Object.entries(e).forEach(([c,d])=>{o[c]=Array.isArray(d)?d.map(m=>`${m}`):`${d}`});let a;n===t?a=r:a=_l(n,t,r);let s=fl(pl(a));return new li(s,o,i)}function _l(n,t,r){let e={};return Object.entries(n.children).forEach(([i,o])=>{o===t?e[i]=r:e[i]=_l(o,t,r)}),new bt(n.segments,e)}var lr=class{constructor(t,r,e){if(this.isAbsolute=t,this.numberOfDoubleDots=r,this.commands=e,t&&e.length>0&&dr(e[0]))throw new gt(4003,!1);let i=e.find(Xn);if(i&&i!==sl(e))throw new gt(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function Hf(n){if(typeof n[0]=="string"&&n.length===1&&n[0]==="/")return new lr(!0,0,n);let t=0,r=!1,e=n.reduce((i,o,a)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let s={};return Object.entries(o.outlets).forEach(([c,d])=>{s[c]=typeof d=="string"?d.split("/"):d}),[...i,{outlets:s}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!="string"?[...i,o]:a===0?(o.split("/").forEach((s,c)=>{c==0&&s==="."||(c==0&&s===""?r=!0:s===".."?t++:s!=""&&i.push(s))}),i):[...i,o]},[]);return new lr(r,t,e)}var tn=class{constructor(t,r,e){this.segmentGroup=t,this.processChildren=r,this.index=e}};function $f(n,t,r){if(n.isAbsolute)return new tn(t,!0,0);if(!r)return new tn(t,!1,NaN);if(r.parent===null)return new tn(r,!0,0);let e=dr(n.commands[0])?0:1,i=r.segments.length-1+e;return Wf(r,i,n.numberOfDoubleDots)}function Wf(n,t,r){let e=n,i=t,o=r;for(;o>i;){if(o-=i,e=e.parent,!e)throw new gt(4005,!1);i=e.segments.length}return new tn(e,!1,i-o)}function Gf(n){return Xn(n[0])?n[0].outlets:{[et]:n}}function vl(n,t,r){if(n??=new bt([],{}),n.segments.length===0&&n.hasChildren())return Gn(n,t,r);let e=qf(n,t,r),i=r.slice(e.commandIndex);if(e.match&&e.pathIndexo!==et)&&n.children[et]&&n.numberOfChildren===1&&n.children[et].segments.length===0){let o=Gn(n.children[et],t,r);return new bt(n.segments,o.children)}return Object.entries(e).forEach(([o,a])=>{typeof a=="string"&&(a=[a]),a!==null&&(i[o]=vl(n.children[o],t,a))}),Object.entries(n.children).forEach(([o,a])=>{e[o]===void 0&&(i[o]=a)}),new bt(n.segments,i)}}function qf(n,t,r){let e=0,i=t,o={match:!1,pathIndex:0,commandIndex:0};for(;i=r.length)return o;let a=n.segments[i],s=r[e];if(Xn(s))break;let c=`${s}`,d=e0&&c===void 0)break;if(c&&d&&typeof d=="object"&&d.outlets===void 0){if(!ol(c,d,a))return o;e+=2}else{if(!ol(c,{},a))return o;e++}i++}return{match:!0,pathIndex:i,commandIndex:e}}function ss(n,t,r){let e=n.segments.slice(0,t),i=0;for(;i{typeof e=="string"&&(e=[e]),e!==null&&(t[r]=ss(new bt([],{}),0,e))}),t}function nl(n){let t={};return Object.entries(n).forEach(([r,e])=>t[r]=`${e}`),t}function ol(n,t,r){return n==r.path&&Le(t,r.parameters)}var qn="imperative",Nt=function(n){return n[n.NavigationStart=0]="NavigationStart",n[n.NavigationEnd=1]="NavigationEnd",n[n.NavigationCancel=2]="NavigationCancel",n[n.NavigationError=3]="NavigationError",n[n.RoutesRecognized=4]="RoutesRecognized",n[n.ResolveStart=5]="ResolveStart",n[n.ResolveEnd=6]="ResolveEnd",n[n.GuardsCheckStart=7]="GuardsCheckStart",n[n.GuardsCheckEnd=8]="GuardsCheckEnd",n[n.RouteConfigLoadStart=9]="RouteConfigLoadStart",n[n.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",n[n.ChildActivationStart=11]="ChildActivationStart",n[n.ChildActivationEnd=12]="ChildActivationEnd",n[n.ActivationStart=13]="ActivationStart",n[n.ActivationEnd=14]="ActivationEnd",n[n.Scroll=15]="Scroll",n[n.NavigationSkipped=16]="NavigationSkipped",n}(Nt||{}),_e=class{constructor(t,r){this.id=t,this.url=r}},Zn=class extends _e{constructor(t,r,e="imperative",i=null){super(t,r),this.type=Nt.NavigationStart,this.navigationTrigger=e,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Ai=class extends _e{constructor(t,r,e){super(t,r),this.urlAfterRedirects=e,this.type=Nt.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},ie=function(n){return n[n.Redirect=0]="Redirect",n[n.SupersededByNewNavigation=1]="SupersededByNewNavigation",n[n.NoDataFromResolver=2]="NoDataFromResolver",n[n.GuardRejected=3]="GuardRejected",n}(ie||{}),cs=function(n){return n[n.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",n[n.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",n}(cs||{}),mi=class extends _e{constructor(t,r,e,i){super(t,r),this.reason=e,this.code=i,this.type=Nt.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},Mi=class extends _e{constructor(t,r,e,i){super(t,r),this.reason=e,this.code=i,this.type=Nt.NavigationSkipped}},Qn=class extends _e{constructor(t,r,e,i){super(t,r),this.error=e,this.target=i,this.type=Nt.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},mr=class extends _e{constructor(t,r,e,i){super(t,r),this.urlAfterRedirects=e,this.state=i,this.type=Nt.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ds=class extends _e{constructor(t,r,e,i){super(t,r),this.urlAfterRedirects=e,this.state=i,this.type=Nt.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ls=class extends _e{constructor(t,r,e,i,o){super(t,r),this.urlAfterRedirects=e,this.state=i,this.shouldActivate=o,this.type=Nt.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},ms=class extends _e{constructor(t,r,e,i){super(t,r),this.urlAfterRedirects=e,this.state=i,this.type=Nt.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},us=class extends _e{constructor(t,r,e,i){super(t,r),this.urlAfterRedirects=e,this.state=i,this.type=Nt.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},hs=class{constructor(t){this.route=t,this.type=Nt.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},fs=class{constructor(t){this.route=t,this.type=Nt.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},ps=class{constructor(t){this.snapshot=t,this.type=Nt.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},bs=class{constructor(t){this.snapshot=t,this.type=Nt.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},gs=class{constructor(t){this.snapshot=t,this.type=Nt.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},_s=class{constructor(t){this.snapshot=t,this.type=Nt.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var Kn=class{},Jn=class{constructor(t){this.url=t}};var vs=class{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new gr,this.attachRef=null}},gr=(()=>{let t=class t{constructor(){this.contexts=new Map}onChildOutletCreated(e,i){let o=this.getOrCreateContext(e);o.outlet=i,this.contexts.set(e,o)}onChildOutletDestroyed(e){let i=this.getContext(e);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let i=this.getContext(e);return i||(i=new vs,this.contexts.set(e,i)),i}getContext(e){return this.contexts.get(e)||null}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),ur=class{constructor(t){this._root=t}get root(){return this._root.value}parent(t){let r=this.pathFromRoot(t);return r.length>1?r[r.length-2]:null}children(t){let r=ys(t,this._root);return r?r.children.map(e=>e.value):[]}firstChild(t){let r=ys(t,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(t){let r=xs(t,this._root);return r.length<2?[]:r[r.length-2].children.map(i=>i.value).filter(i=>i!==t)}pathFromRoot(t){return xs(t,this._root).map(r=>r.value)}};function ys(n,t){if(n===t.value)return t;for(let r of t.children){let e=ys(n,r);if(e)return e}return null}function xs(n,t){if(n===t.value)return[t];for(let r of t.children){let e=xs(n,r);if(e.length)return e.unshift(t),e}return[]}var ee=class{constructor(t,r){this.value=t,this.children=r}toString(){return`TreeNode(${this.value})`}};function Ji(n){let t={};return n&&n.children.forEach(r=>t[r.value.outlet]=r),t}var hr=class extends ur{constructor(t,r){super(t),this.snapshot=r,Rs(this,t)}toString(){return this.snapshot.toString()}};function yl(n){let t=Xf(n),r=new At([new Si("",{})]),e=new At({}),i=new At({}),o=new At({}),a=new At(""),s=new rn(r,e,o,a,i,et,n,t.root);return s.snapshot=t.root,new hr(new ee(s,[]),t)}function Xf(n){let t={},r={},e={},i="",o=new to([],t,e,i,r,et,n,null,{});return new fr("",new ee(o,[]))}var rn=class{constructor(t,r,e,i,o,a,s,c){this.urlSubject=t,this.paramsSubject=r,this.queryParamsSubject=e,this.fragmentSubject=i,this.dataSubject=o,this.outlet=a,this.component=s,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(F(d=>d[no]))??O(void 0),this.url=t,this.params=r,this.queryParams=e,this.fragment=i,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(F(t=>nn(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(F(t=>nn(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Ms(n,t,r="emptyOnly"){let e,{routeConfig:i}=n;return t!==null&&(r==="always"||i?.path===""||!t.component&&!t.routeConfig?.loadComponent)?e={params:g(g({},t.params),n.params),data:g(g({},t.data),n.data),resolve:g(g(g(g({},n.data),t.data),i?.data),n._resolvedData)}:e={params:g({},n.params),data:g({},n.data),resolve:g(g({},n.data),n._resolvedData??{})},i&&wl(i)&&(e.resolve[no]=i.title),e}var to=class{get title(){return this.data?.[no]}constructor(t,r,e,i,o,a,s,c,d){this.url=t,this.params=r,this.queryParams=e,this.fragment=i,this.data=o,this.outlet=a,this.component=s,this.routeConfig=c,this._resolve=d}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=nn(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=nn(this.queryParams),this._queryParamMap}toString(){let t=this.url.map(e=>e.toString()).join("/"),r=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${t}', path:'${r}')`}},fr=class extends ur{constructor(t,r){super(r),this.url=t,Rs(this,r)}toString(){return xl(this._root)}};function Rs(n,t){t.value._routerState=n,t.children.forEach(r=>Rs(n,r))}function xl(n){let t=n.children.length>0?` { ${n.children.map(xl).join(", ")} } `:"";return`${n.value}${t}`}function es(n){if(n.snapshot){let t=n.snapshot,r=n._futureSnapshot;n.snapshot=r,Le(t.queryParams,r.queryParams)||n.queryParamsSubject.next(r.queryParams),t.fragment!==r.fragment&&n.fragmentSubject.next(r.fragment),Le(t.params,r.params)||n.paramsSubject.next(r.params),kf(t.url,r.url)||n.urlSubject.next(r.url),Le(t.data,r.data)||n.dataSubject.next(r.data)}else n.snapshot=n._futureSnapshot,n.dataSubject.next(n._futureSnapshot.data)}function ws(n,t){let r=Le(n.params,t.params)&&Sf(n.url,t.url),e=!n.parent!=!t.parent;return r&&!e&&(!n.parent||ws(n.parent,t.parent))}function wl(n){return typeof n.title=="string"||n.title===null}var Os=(()=>{let t=class t{constructor(){this.activated=null,this._activatedRoute=null,this.name=et,this.activateEvents=new V,this.deactivateEvents=new V,this.attachEvents=new V,this.detachEvents=new V,this.parentContexts=_(gr),this.location=_($t),this.changeDetector=_(pt),this.environmentInjector=_($i),this.inputBinder=_(Fs,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(e){if(e.name){let{firstChange:i,previousValue:o}=e.name;if(i)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new gt(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new gt(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new gt(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,i){this.activated=e,this._activatedRoute=i,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){let e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,i){if(this.isActivated)throw new gt(4013,!1);this._activatedRoute=e;let o=this.location,s=e.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,d=new Cs(e,c,o.injector);this.activated=o.createComponent(s,{index:o.length,injector:d,environmentInjector:i??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=I({type:t,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Ct]});let n=t;return n})(),Cs=class n{__ngOutletInjector(t){return new n(this.route,this.childContexts,t)}constructor(t,r,e){this.route=t,this.childContexts=r,this.parent=e}get(t,r){return t===rn?this.route:t===gr?this.childContexts:this.parent.get(t,r)}},Fs=new y("");function Zf(n,t,r){let e=eo(n,t._root,r?r._root:void 0);return new hr(e,t)}function eo(n,t,r){if(r&&n.shouldReuseRoute(t.value,r.value.snapshot)){let e=r.value;e._futureSnapshot=t.value;let i=Qf(n,t,r);return new ee(e,i)}else{if(n.shouldAttach(t.value)){let o=n.retrieve(t.value);if(o!==null){let a=o.route;return a.value._futureSnapshot=t.value,a.children=t.children.map(s=>eo(n,s)),a}}let e=Kf(t.value),i=t.children.map(o=>eo(n,o));return new ee(e,i)}}function Qf(n,t,r){return t.children.map(e=>{for(let i of r.children)if(n.shouldReuseRoute(e.value,i.value.snapshot))return eo(n,e,i);return eo(n,e)})}function Kf(n){return new rn(new At(n.url),new At(n.params),new At(n.queryParams),new At(n.fragment),new At(n.data),n.outlet,n.component,n)}var Cl="ngNavigationCancelingError";function kl(n,t){let{redirectTo:r,navigationBehaviorOptions:e}=on(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,i=Il(!1,ie.Redirect);return i.url=r,i.navigationBehaviorOptions=e,i}function Il(n,t){let r=new Error(`NavigationCancelingError: ${n||""}`);return r[Cl]=!0,r.cancellationCode=t,r}function Jf(n){return El(n)&&on(n.url)}function El(n){return!!n&&n[Cl]}var tp=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275cmp=T({type:t,selectors:[["ng-component"]],standalone:!0,features:[A],decls:1,vars:0,template:function(i,o){i&1&&M(0,"router-outlet")},dependencies:[Os],encapsulation:2});let n=t;return n})();function ep(n,t){return n.providers&&!n._injector&&(n._injector=wd(n.providers,t,`Route: ${n.path}`)),n._injector??t}function Ps(n){let t=n.children&&n.children.map(Ps),r=t?ht(g({},n),{children:t}):g({},n);return!r.component&&!r.loadComponent&&(t||r.loadChildren)&&r.outlet&&r.outlet!==et&&(r.component=tp),r}function je(n){return n.outlet||et}function ip(n,t){let r=n.filter(e=>je(e)===t);return r.push(...n.filter(e=>je(e)!==t)),r}function oo(n){if(!n)return null;if(n.routeConfig?._injector)return n.routeConfig._injector;for(let t=n.parent;t;t=t.parent){let r=t.routeConfig;if(r?._loadedInjector)return r._loadedInjector;if(r?._injector)return r._injector}return null}var np=(n,t,r,e)=>F(i=>(new ks(t,i.targetRouterState,i.currentRouterState,r,e).activate(n),i)),ks=class{constructor(t,r,e,i,o){this.routeReuseStrategy=t,this.futureState=r,this.currState=e,this.forwardEvent=i,this.inputBindingEnabled=o}activate(t){let r=this.futureState._root,e=this.currState?this.currState._root:null;this.deactivateChildRoutes(r,e,t),es(this.futureState.root),this.activateChildRoutes(r,e,t)}deactivateChildRoutes(t,r,e){let i=Ji(r);t.children.forEach(o=>{let a=o.value.outlet;this.deactivateRoutes(o,i[a],e),delete i[a]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,e)})}deactivateRoutes(t,r,e){let i=t.value,o=r?r.value:null;if(i===o)if(i.component){let a=e.getContext(i.outlet);a&&this.deactivateChildRoutes(t,r,a.children)}else this.deactivateChildRoutes(t,r,e);else o&&this.deactivateRouteAndItsChildren(r,e)}deactivateRouteAndItsChildren(t,r){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,r):this.deactivateRouteAndOutlet(t,r)}detachAndStoreRouteSubtree(t,r){let e=r.getContext(t.value.outlet),i=e&&t.value.component?e.children:r,o=Ji(t);for(let a of Object.values(o))this.deactivateRouteAndItsChildren(a,i);if(e&&e.outlet){let a=e.outlet.detach(),s=e.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:a,route:t,contexts:s})}}deactivateRouteAndOutlet(t,r){let e=r.getContext(t.value.outlet),i=e&&t.value.component?e.children:r,o=Ji(t);for(let a of Object.values(o))this.deactivateRouteAndItsChildren(a,i);e&&(e.outlet&&(e.outlet.deactivate(),e.children.onOutletDeactivated()),e.attachRef=null,e.route=null)}activateChildRoutes(t,r,e){let i=Ji(r);t.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],e),this.forwardEvent(new _s(o.value.snapshot))}),t.children.length&&this.forwardEvent(new bs(t.value.snapshot))}activateRoutes(t,r,e){let i=t.value,o=r?r.value:null;if(es(i),i===o)if(i.component){let a=e.getOrCreateContext(i.outlet);this.activateChildRoutes(t,r,a.children)}else this.activateChildRoutes(t,r,e);else if(i.component){let a=e.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let s=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),a.children.onOutletReAttached(s.contexts),a.attachRef=s.componentRef,a.route=s.route.value,a.outlet&&a.outlet.attach(s.componentRef,s.route.value),es(s.route.value),this.activateChildRoutes(t,null,a.children)}else{let s=oo(i.snapshot);a.attachRef=null,a.route=i,a.injector=s,a.outlet&&a.outlet.activateWith(i,a.injector),this.activateChildRoutes(t,null,a.children)}}else this.activateChildRoutes(t,null,e)}},pr=class{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}},en=class{constructor(t,r){this.component=t,this.route=r}};function op(n,t,r){let e=n._root,i=t?t._root:null;return $n(e,i,r,[e.value])}function rp(n){let t=n.routeConfig?n.routeConfig.canActivateChild:null;return!t||t.length===0?null:{node:n,guards:t}}function sn(n,t){let r=Symbol(),e=t.get(n,r);return e===r?typeof n=="function"&&!cd(n)?n:t.get(n):e}function $n(n,t,r,e,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=Ji(t);return n.children.forEach(a=>{ap(a,o[a.value.outlet],r,e.concat([a.value]),i),delete o[a.value.outlet]}),Object.entries(o).forEach(([a,s])=>Yn(s,r.getContext(a),i)),i}function ap(n,t,r,e,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=n.value,a=t?t.value:null,s=r?r.getContext(n.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){let c=sp(a,o,o.routeConfig.runGuardsAndResolvers);c?i.canActivateChecks.push(new pr(e)):(o.data=a.data,o._resolvedData=a._resolvedData),o.component?$n(n,t,s?s.children:null,e,i):$n(n,t,r,e,i),c&&s&&s.outlet&&s.outlet.isActivated&&i.canDeactivateChecks.push(new en(s.outlet.component,a))}else a&&Yn(t,s,i),i.canActivateChecks.push(new pr(e)),o.component?$n(n,null,s?s.children:null,e,i):$n(n,null,r,e,i);return i}function sp(n,t,r){if(typeof r=="function")return r(n,t);switch(r){case"pathParamsChange":return!Ti(n.url,t.url);case"pathParamsOrQueryParamsChange":return!Ti(n.url,t.url)||!Le(n.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!ws(n,t)||!Le(n.queryParams,t.queryParams);case"paramsChange":default:return!ws(n,t)}}function Yn(n,t,r){let e=Ji(n),i=n.value;Object.entries(e).forEach(([o,a])=>{i.component?t?Yn(a,t.children.getContext(o),r):Yn(a,null,r):Yn(a,t,r)}),i.component?t&&t.outlet&&t.outlet.isActivated?r.canDeactivateChecks.push(new en(t.outlet.component,i)):r.canDeactivateChecks.push(new en(null,i)):r.canDeactivateChecks.push(new en(null,i))}function ro(n){return typeof n=="function"}function cp(n){return typeof n=="boolean"}function dp(n){return n&&ro(n.canLoad)}function lp(n){return n&&ro(n.canActivate)}function mp(n){return n&&ro(n.canActivateChild)}function up(n){return n&&ro(n.canDeactivate)}function hp(n){return n&&ro(n.canMatch)}function Dl(n){return n instanceof ed||n?.name==="EmptyError"}var or=Symbol("INITIAL_VALUE");function an(){return vt(n=>wi(n.map(t=>t.pipe(rt(1),Ft(or)))).pipe(F(t=>{for(let r of t)if(r!==!0){if(r===or)return or;if(r===!1||r instanceof li)return r}return!0}),tt(t=>t!==or),rt(1)))}function fp(n,t){return de(r=>{let{targetSnapshot:e,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:a}}=r;return a.length===0&&o.length===0?O(ht(g({},r),{guardsResult:!0})):pp(a,e,i,n).pipe(de(s=>s&&cp(s)?bp(e,o,n,t):O(s)),F(s=>ht(g({},r),{guardsResult:s})))})}function pp(n,t,r,e){return Ut(n).pipe(de(i=>xp(i.component,i.route,r,t,e)),ri(i=>i!==!0,!0))}function bp(n,t,r,e){return Ut(t).pipe(Ci(i=>Bi(_p(i.route.parent,e),gp(i.route,e),yp(n,i.path,r),vp(n,i.route,r))),ri(i=>i!==!0,!0))}function gp(n,t){return n!==null&&t&&t(new gs(n)),O(!0)}function _p(n,t){return n!==null&&t&&t(new ps(n)),O(!0)}function vp(n,t,r){let e=t.routeConfig?t.routeConfig.canActivate:null;if(!e||e.length===0)return O(!0);let i=e.map(o=>le(()=>{let a=oo(t)??r,s=sn(o,a),c=lp(s)?s.canActivate(t,n):We(a,()=>s(t,n));return ui(c).pipe(ri())}));return O(i).pipe(an())}function yp(n,t,r){let e=t[t.length-1],o=t.slice(0,t.length-1).reverse().map(a=>rp(a)).filter(a=>a!==null).map(a=>le(()=>{let s=a.guards.map(c=>{let d=oo(a.node)??r,m=sn(c,d),p=mp(m)?m.canActivateChild(e,n):We(d,()=>m(e,n));return ui(p).pipe(ri())});return O(s).pipe(an())}));return O(o).pipe(an())}function xp(n,t,r,e,i){let o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!o||o.length===0)return O(!0);let a=o.map(s=>{let c=oo(t)??i,d=sn(s,c),m=up(d)?d.canDeactivate(n,t,r,e):We(c,()=>d(n,t,r,e));return ui(m).pipe(ri())});return O(a).pipe(an())}function wp(n,t,r,e){let i=t.canLoad;if(i===void 0||i.length===0)return O(!0);let o=i.map(a=>{let s=sn(a,n),c=dp(s)?s.canLoad(t,r):We(n,()=>s(t,r));return ui(c)});return O(o).pipe(an(),Sl(e))}function Sl(n){return td(lt(t=>{if(on(t))throw kl(n,t)}),F(t=>t===!0))}function Cp(n,t,r,e){let i=t.canMatch;if(!i||i.length===0)return O(!0);let o=i.map(a=>{let s=sn(a,n),c=hp(s)?s.canMatch(t,r):We(n,()=>s(t,r));return ui(c)});return O(o).pipe(an(),Sl(e))}var io=class{constructor(t){this.segmentGroup=t||null}},br=class extends Error{constructor(t){super(),this.urlTree=t}};function Ki(n){return Jt(new io(n))}function kp(n){return Jt(new gt(4e3,!1))}function Ip(n){return Jt(Il(!1,ie.GuardRejected))}var Is=class{constructor(t,r){this.urlSerializer=t,this.urlTree=r}lineralizeSegments(t,r){let e=[],i=r.root;for(;;){if(e=e.concat(i.segments),i.numberOfChildren===0)return O(e);if(i.numberOfChildren>1||!i.children[et])return kp(t.redirectTo);i=i.children[et]}}applyRedirectCommands(t,r,e){let i=this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),t,e);if(r.startsWith("/"))throw new br(i);return i}applyRedirectCreateUrlTree(t,r,e,i){let o=this.createSegmentGroup(t,r.root,e,i);return new li(o,this.createQueryParams(r.queryParams,this.urlTree.queryParams),r.fragment)}createQueryParams(t,r){let e={};return Object.entries(t).forEach(([i,o])=>{if(typeof o=="string"&&o.startsWith(":")){let s=o.substring(1);e[i]=r[s]}else e[i]=o}),e}createSegmentGroup(t,r,e,i){let o=this.createSegments(t,r.segments,e,i),a={};return Object.entries(r.children).forEach(([s,c])=>{a[s]=this.createSegmentGroup(t,c,e,i)}),new bt(o,a)}createSegments(t,r,e,i){return r.map(o=>o.path.startsWith(":")?this.findPosParam(t,o,i):this.findOrReturn(o,e))}findPosParam(t,r,e){let i=e[r.path.substring(1)];if(!i)throw new gt(4001,!1);return i}findOrReturn(t,r){let e=0;for(let i of r){if(i.path===t.path)return r.splice(e),i;e++}return t}},Es={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Ep(n,t,r,e,i){let o=Ns(n,t,r);return o.matched?(e=ep(t,e),Cp(e,t,r,i).pipe(F(a=>a===!0?o:g({},Es)))):O(o)}function Ns(n,t,r){if(t.path==="**")return Dp(r);if(t.path==="")return t.pathMatch==="full"&&(n.hasChildren()||r.length>0)?g({},Es):{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};let i=(t.matcher||Cf)(r,n,t);if(!i)return g({},Es);let o={};Object.entries(i.posParams??{}).forEach(([s,c])=>{o[s]=c.path});let a=i.consumed.length>0?g(g({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:r.slice(i.consumed.length),parameters:a,positionalParamSegments:i.posParams??{}}}function Dp(n){return{matched:!0,parameters:n.length>0?sl(n).parameters:{},consumedSegments:n,remainingSegments:[],positionalParamSegments:{}}}function rl(n,t,r,e){return r.length>0&&Ap(n,r,e)?{segmentGroup:new bt(t,Tp(e,new bt(r,n.children))),slicedSegments:[]}:r.length===0&&Mp(n,r,e)?{segmentGroup:new bt(n.segments,Sp(n,r,e,n.children)),slicedSegments:r}:{segmentGroup:new bt(n.segments,n.children),slicedSegments:r}}function Sp(n,t,r,e){let i={};for(let o of r)if(_r(n,t,o)&&!e[je(o)]){let a=new bt([],{});i[je(o)]=a}return g(g({},e),i)}function Tp(n,t){let r={};r[et]=t;for(let e of n)if(e.path===""&&je(e)!==et){let i=new bt([],{});r[je(e)]=i}return r}function Ap(n,t,r){return r.some(e=>_r(n,t,e)&&je(e)!==et)}function Mp(n,t,r){return r.some(e=>_r(n,t,e))}function _r(n,t,r){return(n.hasChildren()||t.length>0)&&r.pathMatch==="full"?!1:r.path===""}function Rp(n,t,r,e){return je(n)!==e&&(e===et||!_r(t,r,n))?!1:Ns(t,n,r).matched}function Op(n,t,r){return t.length===0&&!n.children[r]}var Ds=class{};function Fp(n,t,r,e,i,o,a="emptyOnly"){return new Ss(n,t,r,e,i,a,o).recognize()}var Pp=31,Ss=class{constructor(t,r,e,i,o,a,s){this.injector=t,this.configLoader=r,this.rootComponentType=e,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=a,this.urlSerializer=s,this.applyRedirects=new Is(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(t){return new gt(4002,`'${t.segmentGroup}'`)}recognize(){let t=rl(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(F(r=>{let e=new to([],Object.freeze({}),Object.freeze(g({},this.urlTree.queryParams)),this.urlTree.fragment,{},et,this.rootComponentType,null,{}),i=new ee(e,r),o=new fr("",i),a=Uf(e,[],this.urlTree.queryParams,this.urlTree.fragment);return a.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(a),this.inheritParamsAndData(o._root,null),{state:o,tree:a}}))}match(t){return this.processSegmentGroup(this.injector,this.config,t,et).pipe(me(e=>{if(e instanceof br)return this.urlTree=e.urlTree,this.match(e.urlTree.root);throw e instanceof io?this.noMatchError(e):e}))}inheritParamsAndData(t,r){let e=t.value,i=Ms(e,r,this.paramsInheritanceStrategy);e.params=Object.freeze(i.params),e.data=Object.freeze(i.data),t.children.forEach(o=>this.inheritParamsAndData(o,e))}processSegmentGroup(t,r,e,i){return e.segments.length===0&&e.hasChildren()?this.processChildren(t,r,e):this.processSegment(t,r,e,e.segments,i,!0).pipe(F(o=>o instanceof ee?[o]:[]))}processChildren(t,r,e){let i=[];for(let o of Object.keys(e.children))o==="primary"?i.unshift(o):i.push(o);return Ut(i).pipe(Ci(o=>{let a=e.children[o],s=ip(r,o);return this.processSegmentGroup(t,s,a,o)}),ad((o,a)=>(o.push(...a),o)),Ea(null),od(),de(o=>{if(o===null)return Ki(e);let a=Tl(o);return Np(a),O(a)}))}processSegment(t,r,e,i,o,a){return Ut(r).pipe(Ci(s=>this.processSegmentAgainstRoute(s._injector??t,r,s,e,i,o,a).pipe(me(c=>{if(c instanceof io)return O(null);throw c}))),ri(s=>!!s),me(s=>{if(Dl(s))return Op(e,i,o)?O(new Ds):Ki(e);throw s}))}processSegmentAgainstRoute(t,r,e,i,o,a,s){return Rp(e,i,o,a)?e.redirectTo===void 0?this.matchSegmentAgainstRoute(t,i,e,o,a):this.allowRedirects&&s?this.expandSegmentAgainstRouteUsingRedirect(t,i,r,e,o,a):Ki(i):Ki(i)}expandSegmentAgainstRouteUsingRedirect(t,r,e,i,o,a){let{matched:s,consumedSegments:c,positionalParamSegments:d,remainingSegments:m}=Ns(r,i,o);if(!s)return Ki(r);i.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>Pp&&(this.allowRedirects=!1));let p=this.applyRedirects.applyRedirectCommands(c,i.redirectTo,d);return this.applyRedirects.lineralizeSegments(i,p).pipe(de(w=>this.processSegment(t,e,r,w.concat(m),a,!1)))}matchSegmentAgainstRoute(t,r,e,i,o){let a=Ep(r,e,i,t,this.urlSerializer);return e.path==="**"&&(r.children={}),a.pipe(vt(s=>s.matched?(t=e._injector??t,this.getChildConfig(t,e,i).pipe(vt(({routes:c})=>{let d=e._loadedInjector??t,{consumedSegments:m,remainingSegments:p,parameters:w}=s,R=new to(m,w,Object.freeze(g({},this.urlTree.queryParams)),this.urlTree.fragment,jp(e),je(e),e.component??e._loadedComponent??null,e,Vp(e)),{segmentGroup:Z,slicedSegments:ct}=rl(r,m,p,c);if(ct.length===0&&Z.hasChildren())return this.processChildren(d,c,Z).pipe(F(ut=>ut===null?null:new ee(R,ut)));if(c.length===0&&ct.length===0)return O(new ee(R,[]));let ot=je(e)===o;return this.processSegment(d,c,Z,ct,ot?et:o,!0).pipe(F(ut=>new ee(R,ut instanceof ee?[ut]:[])))}))):Ki(r)))}getChildConfig(t,r,e){return r.children?O({routes:r.children,injector:t}):r.loadChildren?r._loadedRoutes!==void 0?O({routes:r._loadedRoutes,injector:r._loadedInjector}):wp(t,r,e,this.urlSerializer).pipe(de(i=>i?this.configLoader.loadChildren(t,r).pipe(lt(o=>{r._loadedRoutes=o.routes,r._loadedInjector=o.injector})):Ip(r))):O({routes:[],injector:t})}};function Np(n){n.sort((t,r)=>t.value.outlet===et?-1:r.value.outlet===et?1:t.value.outlet.localeCompare(r.value.outlet))}function Lp(n){let t=n.value.routeConfig;return t&&t.path===""}function Tl(n){let t=[],r=new Set;for(let e of n){if(!Lp(e)){t.push(e);continue}let i=t.find(o=>e.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...e.children),r.add(i)):t.push(e)}for(let e of r){let i=Tl(e.children);t.push(new ee(e.value,i))}return t.filter(e=>!r.has(e))}function jp(n){return n.data||{}}function Vp(n){return n.resolve||{}}function Bp(n,t,r,e,i,o){return de(a=>Fp(n,t,r,e,a.extractedUrl,i,o).pipe(F(({state:s,tree:c})=>ht(g({},a),{targetSnapshot:s,urlAfterRedirects:c}))))}function zp(n,t){return de(r=>{let{targetSnapshot:e,guards:{canActivateChecks:i}}=r;if(!i.length)return O(r);let o=new Set(i.map(c=>c.route)),a=new Set;for(let c of o)if(!a.has(c))for(let d of Al(c))a.add(d);let s=0;return Ut(a).pipe(Ci(c=>o.has(c)?Up(c,e,n,t):(c.data=Ms(c,c.parent,n).resolve,O(void 0))),lt(()=>s++),Da(1),de(c=>s===a.size?O(r):ce))})}function Al(n){let t=n.children.map(r=>Al(r)).flat();return[n,...t]}function Up(n,t,r,e){let i=n.routeConfig,o=n._resolve;return i?.title!==void 0&&!wl(i)&&(o[no]=i.title),Hp(o,n,t,e).pipe(F(a=>(n._resolvedData=a,n.data=Ms(n,n.parent,r).resolve,null)))}function Hp(n,t,r,e){let i=os(n);if(i.length===0)return O({});let o={};return Ut(i).pipe(de(a=>$p(n[a],t,r,e).pipe(ri(),lt(s=>{o[a]=s}))),Da(1),nd(o),me(a=>Dl(a)?ce:Jt(a)))}function $p(n,t,r,e){let i=oo(t)??e,o=sn(n,i),a=o.resolve?o.resolve(t,r):We(i,()=>o(t,r));return ui(a)}function is(n){return vt(t=>{let r=n(t);return r?Ut(r).pipe(F(()=>t)):O(t)})}var Ml=(()=>{let t=class t{buildTitle(e){let i,o=e.root;for(;o!==void 0;)i=this.getResolvedTitleForRoute(o)??i,o=o.children.find(a=>a.outlet===et);return i}getResolvedTitleForRoute(e){return e.data[no]}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=x({token:t,factory:()=>_(Wp),providedIn:"root"});let n=t;return n})(),Wp=(()=>{let t=class t extends Ml{constructor(e){super(),this.title=e}updateTitle(e){let i=this.buildTitle(e);i!==void 0&&this.title.setTitle(i)}};t.\u0275fac=function(i){return new(i||t)(u(Jd))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),Ls=new y("",{providedIn:"root",factory:()=>({})}),js=new y(""),Gp=(()=>{let t=class t{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=_(Fa)}loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return O(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);let i=ui(e.loadComponent()).pipe(F(Rl),lt(a=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=a}),oi(()=>{this.componentLoaders.delete(e)})),o=new Ca(i,()=>new E).pipe(wa());return this.componentLoaders.set(e,o),o}loadChildren(e,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return O({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);let a=qp(i,this.compiler,e,this.onLoadEndListener).pipe(oi(()=>{this.childrenLoaders.delete(i)})),s=new Ca(a,()=>new E).pipe(wa());return this.childrenLoaders.set(i,s),s}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();function qp(n,t,r,e){return ui(n.loadChildren()).pipe(F(Rl),de(i=>i instanceof xd||Array.isArray(i)?O(i):Ut(t.compileModuleAsync(i))),F(i=>{e&&e(n);let o,a,s=!1;return Array.isArray(i)?(a=i,s=!0):(o=i.create(r).injector,a=o.get(js,[],{optional:!0,self:!0}).flat()),{routes:a.map(Ps),injector:o}}))}function Yp(n){return n&&typeof n=="object"&&"default"in n}function Rl(n){return Yp(n)?n.default:n}var Vs=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=x({token:t,factory:()=>_(Xp),providedIn:"root"});let n=t;return n})(),Xp=(()=>{let t=class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,i){return e}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),Zp=new y("");var Qp=(()=>{let t=class t{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new E,this.transitionAbortSubject=new E,this.configLoader=_(Gp),this.environmentInjector=_($i),this.urlSerializer=_(As),this.rootContexts=_(gr),this.location=_(ci),this.inputBindingEnabled=_(Fs,{optional:!0})!==null,this.titleStrategy=_(Ml),this.options=_(Ls,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=_(Vs),this.createViewTransition=_(Zp,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>O(void 0),this.rootComponentType=null;let e=o=>this.events.next(new hs(o)),i=o=>this.events.next(new fs(o));this.configLoader.onLoadEndListener=i,this.configLoader.onLoadStartListener=e}complete(){this.transitions?.complete()}handleNavigationRequest(e){let i=++this.navigationId;this.transitions?.next(ht(g(g({},this.transitions.value),e),{id:i}))}setupNavigations(e,i,o){return this.transitions=new At({id:0,currentUrlTree:i,currentRawUrl:i,extractedUrl:this.urlHandlingStrategy.extract(i),urlAfterRedirects:this.urlHandlingStrategy.extract(i),rawUrl:i,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:qn,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(tt(a=>a.id!==0),F(a=>ht(g({},a),{extractedUrl:this.urlHandlingStrategy.extract(a.rawUrl)})),vt(a=>{let s=!1,c=!1;return O(a).pipe(vt(d=>{if(this.navigationId>a.id)return this.cancelNavigationTransition(a,"",ie.SupersededByNewNavigation),ce;this.currentTransition=a,this.currentNavigation={id:d.id,initialUrl:d.rawUrl,extractedUrl:d.extractedUrl,trigger:d.source,extras:d.extras,previousNavigation:this.lastSuccessfulNavigation?ht(g({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let m=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),p=d.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!m&&p!=="reload"){let w="";return this.events.next(new Mi(d.id,this.urlSerializer.serialize(d.rawUrl),w,cs.IgnoredSameUrlNavigation)),d.resolve(null),ce}if(this.urlHandlingStrategy.shouldProcessUrl(d.rawUrl))return O(d).pipe(vt(w=>{let R=this.transitions?.getValue();return this.events.next(new Zn(w.id,this.urlSerializer.serialize(w.extractedUrl),w.source,w.restoredState)),R!==this.transitions?.getValue()?ce:Promise.resolve(w)}),Bp(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy),lt(w=>{a.targetSnapshot=w.targetSnapshot,a.urlAfterRedirects=w.urlAfterRedirects,this.currentNavigation=ht(g({},this.currentNavigation),{finalUrl:w.urlAfterRedirects});let R=new mr(w.id,this.urlSerializer.serialize(w.extractedUrl),this.urlSerializer.serialize(w.urlAfterRedirects),w.targetSnapshot);this.events.next(R)}));if(m&&this.urlHandlingStrategy.shouldProcessUrl(d.currentRawUrl)){let{id:w,extractedUrl:R,source:Z,restoredState:ct,extras:ot}=d,ut=new Zn(w,this.urlSerializer.serialize(R),Z,ct);this.events.next(ut);let Ie=yl(this.rootComponentType).snapshot;return this.currentTransition=a=ht(g({},d),{targetSnapshot:Ie,urlAfterRedirects:R,extras:ht(g({},ot),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=R,O(a)}else{let w="";return this.events.next(new Mi(d.id,this.urlSerializer.serialize(d.extractedUrl),w,cs.IgnoredByUrlHandlingStrategy)),d.resolve(null),ce}}),lt(d=>{let m=new ds(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(m)}),F(d=>(this.currentTransition=a=ht(g({},d),{guards:op(d.targetSnapshot,d.currentSnapshot,this.rootContexts)}),a)),fp(this.environmentInjector,d=>this.events.next(d)),lt(d=>{if(a.guardsResult=d.guardsResult,on(d.guardsResult))throw kl(this.urlSerializer,d.guardsResult);let m=new ls(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot,!!d.guardsResult);this.events.next(m)}),tt(d=>d.guardsResult?!0:(this.cancelNavigationTransition(d,"",ie.GuardRejected),!1)),is(d=>{if(d.guards.canActivateChecks.length)return O(d).pipe(lt(m=>{let p=new ms(m.id,this.urlSerializer.serialize(m.extractedUrl),this.urlSerializer.serialize(m.urlAfterRedirects),m.targetSnapshot);this.events.next(p)}),vt(m=>{let p=!1;return O(m).pipe(zp(this.paramsInheritanceStrategy,this.environmentInjector),lt({next:()=>p=!0,complete:()=>{p||this.cancelNavigationTransition(m,"",ie.NoDataFromResolver)}}))}),lt(m=>{let p=new us(m.id,this.urlSerializer.serialize(m.extractedUrl),this.urlSerializer.serialize(m.urlAfterRedirects),m.targetSnapshot);this.events.next(p)}))}),is(d=>{let m=p=>{let w=[];p.routeConfig?.loadComponent&&!p.routeConfig._loadedComponent&&w.push(this.configLoader.loadComponent(p.routeConfig).pipe(lt(R=>{p.component=R}),F(()=>{})));for(let R of p.children)w.push(...m(R));return w};return wi(m(d.targetSnapshot.root)).pipe(Ea(null),rt(1))}),is(()=>this.afterPreactivation()),vt(()=>{let{currentSnapshot:d,targetSnapshot:m}=a,p=this.createViewTransition?.(this.environmentInjector,d.root,m.root);return p?Ut(p).pipe(F(()=>a)):O(a)}),F(d=>{let m=Zf(e.routeReuseStrategy,d.targetSnapshot,d.currentRouterState);return this.currentTransition=a=ht(g({},d),{targetRouterState:m}),this.currentNavigation.targetRouterState=m,a}),lt(()=>{this.events.next(new Kn)}),np(this.rootContexts,e.routeReuseStrategy,d=>this.events.next(d),this.inputBindingEnabled),rt(1),lt({next:d=>{s=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Ai(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects))),this.titleStrategy?.updateTitle(d.targetRouterState.snapshot),d.resolve(!0)},complete:()=>{s=!0}}),dt(this.transitionAbortSubject.pipe(lt(d=>{throw d}))),oi(()=>{!s&&!c&&this.cancelNavigationTransition(a,"",ie.SupersededByNewNavigation),this.currentTransition?.id===a.id&&(this.currentNavigation=null,this.currentTransition=null)}),me(d=>{if(c=!0,El(d))this.events.next(new mi(a.id,this.urlSerializer.serialize(a.extractedUrl),d.message,d.cancellationCode)),Jf(d)?this.events.next(new Jn(d.url)):a.resolve(!1);else{this.events.next(new Qn(a.id,this.urlSerializer.serialize(a.extractedUrl),d,a.targetSnapshot??void 0));try{a.resolve(e.errorHandler(d))}catch(m){this.options.resolveNavigationPromiseOnError?a.resolve(!1):a.reject(m)}}return ce}))}))}cancelNavigationTransition(e,i,o){let a=new mi(e.id,this.urlSerializer.serialize(e.extractedUrl),i,o);this.events.next(a),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();function Kp(n){return n!==qn}var Jp=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=x({token:t,factory:()=>_(tb),providedIn:"root"});let n=t;return n})(),Ts=class{shouldDetach(t){return!1}store(t,r){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,r){return t.routeConfig===r.routeConfig}},tb=(()=>{let t=class t extends Ts{};t.\u0275fac=(()=>{let e;return function(o){return(e||(e=jt(t)))(o||t)}})(),t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),Ol=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=x({token:t,factory:()=>_(eb),providedIn:"root"});let n=t;return n})(),eb=(()=>{let t=class t extends Ol{constructor(){super(...arguments),this.location=_(ci),this.urlSerializer=_(As),this.options=_(Ls,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=_(Vs),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new li,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=yl(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(i=>{i.type==="popstate"&&e(i.url,i.state)})}handleRouterEvent(e,i){if(e instanceof Zn)this.stateMemento=this.createStateMemento();else if(e instanceof Mi)this.rawUrlTree=i.initialUrl;else if(e instanceof mr){if(this.urlUpdateStrategy==="eager"&&!i.extras.skipLocationChange){let o=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl);this.setBrowserUrl(o,i)}}else e instanceof Kn?(this.currentUrlTree=i.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl),this.routerState=i.targetRouterState,this.urlUpdateStrategy==="deferred"&&(i.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,i))):e instanceof mi&&(e.code===ie.GuardRejected||e.code===ie.NoDataFromResolver)?this.restoreHistory(i):e instanceof Qn?this.restoreHistory(i,!0):e instanceof Ai&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,i){let o=this.urlSerializer.serialize(e);if(this.location.isCurrentPathEqualTo(o)||i.extras.replaceUrl){let a=this.browserPageId,s=g(g({},i.extras.state),this.generateNgRouterState(i.id,a));this.location.replaceState(o,"",s)}else{let a=g(g({},i.extras.state),this.generateNgRouterState(i.id,this.browserPageId+1));this.location.go(o,"",a)}}restoreHistory(e,i=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,a=this.currentPageId-o;a!==0?this.location.historyGo(a):this.currentUrlTree===e.finalUrl&&a===0&&(this.resetState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(i&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,i){return this.canceledNavigationResolution==="computed"?{navigationId:e,\u0275routerPageId:i}:{navigationId:e}}};t.\u0275fac=(()=>{let e;return function(o){return(e||(e=jt(t)))(o||t)}})(),t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),Wn=function(n){return n[n.COMPLETE=0]="COMPLETE",n[n.FAILED=1]="FAILED",n[n.REDIRECTING=2]="REDIRECTING",n}(Wn||{});function ib(n,t){n.events.pipe(tt(r=>r instanceof Ai||r instanceof mi||r instanceof Qn||r instanceof Mi),F(r=>r instanceof Ai||r instanceof Mi?Wn.COMPLETE:(r instanceof mi?r.code===ie.Redirect||r.code===ie.SupersededByNewNavigation:!1)?Wn.REDIRECTING:Wn.FAILED),tt(r=>r!==Wn.REDIRECTING),rt(1)).subscribe(()=>{t()})}function nb(n){throw n}var ob={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},rb={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},hi=(()=>{let t=class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=_(Ho),this.stateManager=_(Ol),this.options=_(Ls,{optional:!0})||{},this.pendingTasks=_(jo),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=_(Qp),this.urlSerializer=_(As),this.location=_(ci),this.urlHandlingStrategy=_(Vs),this._events=new E,this.errorHandler=this.options.errorHandler||nb,this.navigated=!1,this.routeReuseStrategy=_(Jp),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=_(js,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!_(Fs,{optional:!0}),this.eventsSubscription=new kt,this.isNgZoneEnabled=_(k)instanceof k&&k.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:e=>{this.console.warn(e)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(i=>{try{let o=this.navigationTransitions.currentTransition,a=this.navigationTransitions.currentNavigation;if(o!==null&&a!==null){if(this.stateManager.handleRouterEvent(i,a),i instanceof mi&&i.code!==ie.Redirect&&i.code!==ie.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof Ai)this.navigated=!0;else if(i instanceof Jn){let s=this.urlHandlingStrategy.merge(i.url,o.currentRawUrl),c={info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:this.urlUpdateStrategy==="eager"||Kp(o.source)};this.scheduleNavigation(s,qn,null,c,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}sb(i)&&this._events.next(i)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),qn,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,i)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(e,"popstate",i)},0)})}navigateToSyncWithBrowser(e,i,o){let a={replaceUrl:!0},s=o?.navigationId?o:null;if(o){let d=g({},o);delete d.navigationId,delete d.\u0275routerPageId,Object.keys(d).length!==0&&(a.state=d)}let c=this.parseUrl(e);this.scheduleNavigation(c,i,s,a)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(Ps),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,i={}){let{relativeTo:o,queryParams:a,fragment:s,queryParamsHandling:c,preserveFragment:d}=i,m=d?this.currentUrlTree.fragment:s,p=null;switch(c){case"merge":p=g(g({},this.currentUrlTree.queryParams),a);break;case"preserve":p=this.currentUrlTree.queryParams;break;default:p=a||null}p!==null&&(p=this.removeEmptyProps(p));let w;try{let R=o?o.snapshot:this.routerState.snapshot.root;w=bl(R)}catch{(typeof e[0]!="string"||!e[0].startsWith("/"))&&(e=[]),w=this.currentUrlTree.root}return gl(w,e,p,m??null)}navigateByUrl(e,i={skipLocationChange:!1}){let o=on(e)?e:this.parseUrl(e),a=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(a,qn,null,i)}navigate(e,i={skipLocationChange:!1}){return ab(e),this.navigateByUrl(this.createUrlTree(e,i),i)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch{return this.urlSerializer.parse("/")}}isActive(e,i){let o;if(i===!0?o=g({},ob):i===!1?o=g({},rb):o=i,on(e))return el(this.currentUrlTree,e,o);let a=this.parseUrl(e);return el(this.currentUrlTree,a,o)}removeEmptyProps(e){return Object.entries(e).reduce((i,[o,a])=>(a!=null&&(i[o]=a),i),{})}scheduleNavigation(e,i,o,a,s){if(this.disposed)return Promise.resolve(!1);let c,d,m;s?(c=s.resolve,d=s.reject,m=s.promise):m=new Promise((w,R)=>{c=w,d=R});let p=this.pendingTasks.add();return ib(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(p))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:a,resolve:c,reject:d,promise:m,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),m.catch(w=>Promise.reject(w))}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();function ab(n){for(let t=0;tr.\u0275providers)])}function db(n){return n.routerState.root}function lb(){let n=_(xt);return t=>{let r=n.get(si);if(t!==r.components[0])return;let e=n.get(hi),i=n.get(mb);n.get(ub)===1&&e.initialNavigation(),n.get(hb,null,Ta.Optional)?.setUpPreloading(),n.get(cb,null,Ta.Optional)?.init(),e.resetRootComponentType(r.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var mb=new y("",{factory:()=>new E}),ub=new y("",{providedIn:"root",factory:()=>1});var hb=new y("");var zs;try{zs=typeof Intl<"u"&&Intl.v8BreakIterator}catch{zs=!1}var J=(()=>{let t=class t{constructor(e){this._platformId=e,this.isBrowser=this._platformId?Pn(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||zs)&&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}};t.\u0275fac=function(i){return new(i||t)(u(ue))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();var cn,Nl=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function Us(){if(cn)return cn;if(typeof document!="object"||!document)return cn=new Set(Nl),cn;let n=document.createElement("input");return cn=new Set(Nl.filter(t=>(n.setAttribute("type",t),n.type===t))),cn}var ao;function fb(){if(ao==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>ao=!0}))}finally{ao=ao||!1}return ao}function ve(n){return fb()?n:!!n.capture}var Se=function(n){return n[n.NORMAL=0]="NORMAL",n[n.NEGATED=1]="NEGATED",n[n.INVERTED=2]="INVERTED",n}(Se||{}),vr,Ri;function yr(){if(Ri==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return Ri=!1,Ri;if("scrollBehavior"in document.documentElement.style)Ri=!0;else{let n=Element.prototype.scrollTo;n?Ri=!/\{\s*\[native code\]\s*\}/.test(n.toString()):Ri=!1}}return Ri}function dn(){if(typeof document!="object"||!document)return Se.NORMAL;if(vr==null){let n=document.createElement("div"),t=n.style;n.dir="rtl",t.width="1px",t.overflow="auto",t.visibility="hidden",t.pointerEvents="none",t.position="absolute";let r=document.createElement("div"),e=r.style;e.width="2px",e.height="1px",n.appendChild(r),document.body.appendChild(n),vr=Se.NORMAL,n.scrollLeft===0&&(n.scrollLeft=1,vr=n.scrollLeft===0?Se.NEGATED:Se.INVERTED),n.remove()}return vr}var Bs;function pb(){if(Bs==null){let n=typeof document<"u"?document.head:null;Bs=!!(n&&(n.createShadowRoot||n.attachShadow))}return Bs}function Ll(n){if(pb()){let t=n.getRootNode?n.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}function so(){let n=typeof document<"u"&&document?document.activeElement:null;for(;n&&n.shadowRoot;){let t=n.shadowRoot.activeElement;if(t===n)break;n=t}return n}function ne(n){return n.composedPath?n.composedPath()[0]:n.target}function co(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function Rt(n,...t){return t.length?t.some(r=>n[r]):n.altKey||n.shiftKey||n.ctrlKey||n.metaKey}function re(n){return n!=null&&`${n}`!="false"}function Te(n,t=0){return bb(n)?Number(n):t}function bb(n){return!isNaN(parseFloat(n))&&!isNaN(Number(n))}function ln(n){return Array.isArray(n)?n:[n]}function Et(n){return n==null?"":typeof n=="string"?n:`${n}px`}function Qt(n){return n instanceof D?n.nativeElement:n}function gb(n){if(n.type==="characterData"&&n.target instanceof Comment)return!0;if(n.type==="childList"){for(let t=0;t{let t=class t{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),_b=(()=>{let t=class t{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,i)=>this._cleanupObserver(i))}observe(e){let i=Qt(e);return new Yt(o=>{let s=this._observeElement(i).pipe(F(c=>c.filter(d=>!gb(d))),tt(c=>!!c.length)).subscribe(o);return()=>{s.unsubscribe(),this._unobserveElement(i)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{let i=new E,o=this._mutationObserverFactory.create(a=>i.next(a));o&&o.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:o,stream:i,count:1})}return this._observedElements.get(e).stream}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){let{observer:i,stream:o}=this._observedElements.get(e);i&&i.disconnect(),o.complete(),this._observedElements.delete(e)}}};t.\u0275fac=function(i){return new(i||t)(u(jl))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),Vl=(()=>{let t=class t{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=Te(e),this._subscribe()}constructor(e,i,o){this._contentObserver=e,this._elementRef=i,this._ngZone=o,this.event=new V,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._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?e.pipe(Ui(this.debounce)):e).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}};t.\u0275fac=function(i){return new(i||t)(l(_b),l(D),l(k))},t.\u0275dir=I({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[b.HasDecoratorInputTransform,"cdkObserveContentDisabled","disabled",q],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"],standalone:!0,features:[ft]});let n=t;return n})(),xr=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({providers:[jl]});let n=t;return n})();var Bl=new Set,Oi,vb=(()=>{let t=class t{constructor(e,i){this._platform=e,this._nonce=i,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):xb}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&yb(e,this._nonce),this._matchMedia(e)}};t.\u0275fac=function(i){return new(i||t)(u(J),u(Rn,8))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();function yb(n,t){if(!Bl.has(n))try{Oi||(Oi=document.createElement("style"),t&&Oi.setAttribute("nonce",t),Oi.setAttribute("type","text/css"),document.head.appendChild(Oi)),Oi.sheet&&(Oi.sheet.insertRule(`@media ${n} {body{ }}`,0),Bl.add(n))}catch(r){console.error(r)}}function xb(n){return{matches:n==="all"||n==="",media:n,addListener:()=>{},removeListener:()=>{}}}var mn=(()=>{let t=class t{constructor(e,i){this._mediaMatcher=e,this._zone=i,this._queries=new Map,this._destroySubject=new E}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return zl(ln(e)).some(o=>this._registerQuery(o).mql.matches)}observe(e){let o=zl(ln(e)).map(s=>this._registerQuery(s).observable),a=wi(o);return a=Bi(a.pipe(rt(1)),a.pipe(Hi(1),Ui(0))),a.pipe(F(s=>{let c={matches:!1,breakpoints:{}};return s.forEach(({matches:d,query:m})=>{c.matches=c.matches||d,c.breakpoints[m]=d}),c}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);let i=this._mediaMatcher.matchMedia(e),a={observable:new Yt(s=>{let c=d=>this._zone.run(()=>s.next(d));return i.addListener(c),()=>{i.removeListener(c)}}).pipe(Ft(i),F(({matches:s})=>({query:e,matches:s})),dt(this._destroySubject)),mql:i};return this._queries.set(e,a),a}};t.\u0275fac=function(i){return new(i||t)(u(vb),u(k))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();function zl(n){return n.map(t=>t.split(",")).reduce((t,r)=>t.concat(r)).map(t=>t.trim())}var qe={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"};var ql=" ";function Ar(n,t,r){let e=Ir(n,t);r=r.trim(),!e.some(i=>i.trim()===r)&&(e.push(r),n.setAttribute(t,e.join(ql)))}function lo(n,t,r){let e=Ir(n,t);r=r.trim();let i=e.filter(o=>o!==r);i.length?n.setAttribute(t,i.join(ql)):n.removeAttribute(t)}function Ir(n,t){return n.getAttribute(t)?.match(/\S+/g)??[]}var Yl="cdk-describedby-message",wr="cdk-describedby-host",Ws=0,Xl=(()=>{let t=class t{constructor(e,i){this._platform=i,this._messageRegistry=new Map,this._messagesContainer=null,this._id=`${Ws++}`,this._document=e,this._id=_(Mn)+"-"+Ws++}describe(e,i,o){if(!this._canBeDescribed(e,i))return;let a=Hs(i,o);typeof i!="string"?(Hl(i,this._id),this._messageRegistry.set(a,{messageElement:i,referenceCount:0})):this._messageRegistry.has(a)||this._createMessageElement(i,o),this._isElementDescribedByMessage(e,a)||this._addMessageReference(e,a)}removeDescription(e,i,o){if(!i||!this._isElementNode(e))return;let a=Hs(i,o);if(this._isElementDescribedByMessage(e,a)&&this._removeMessageReference(e,a),typeof i=="string"){let s=this._messageRegistry.get(a);s&&s.referenceCount===0&&this._deleteMessageElement(a)}this._messagesContainer?.childNodes.length===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){let e=this._document.querySelectorAll(`[${wr}="${this._id}"]`);for(let i=0;io.indexOf(Yl)!=0);e.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(e,i){let o=this._messageRegistry.get(i);Ar(e,"aria-describedby",o.messageElement.id),e.setAttribute(wr,this._id),o.referenceCount++}_removeMessageReference(e,i){let o=this._messageRegistry.get(i);o.referenceCount--,lo(e,"aria-describedby",o.messageElement.id),e.removeAttribute(wr)}_isElementDescribedByMessage(e,i){let o=Ir(e,"aria-describedby"),a=this._messageRegistry.get(i),s=a&&a.messageElement.id;return!!s&&o.indexOf(s)!=-1}_canBeDescribed(e,i){if(!this._isElementNode(e))return!1;if(i&&typeof i=="object")return!0;let o=i==null?"":`${i}`.trim(),a=e.getAttribute("aria-label");return o?!a||a.trim()!==o:!1}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}};t.\u0275fac=function(i){return new(i||t)(u(L),u(J))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();function Hs(n,t){return typeof n=="string"?`${t||""}/${n}`:n}function Hl(n,t){n.id||(n.id=`${Yl}-${t}-${Ws++}`)}var Er=class{constructor(t,r){this._items=t,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new E,this._typeaheadSubscription=kt.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new E,this.change=new E,t instanceof An?this._itemChangesSubscription=t.changes.subscribe(e=>this._itemsChanged(e.toArray())):Ma(t)&&(this._effectRef=Ad(()=>this._itemsChanged(t()),{injector:r}))}skipPredicate(t){return this._skipPredicateFn=t,this}withWrap(t=!0){return this._wrap=t,this}withVerticalOrientation(t=!0){return this._vertical=t,this}withHorizontalOrientation(t){return this._horizontal=t,this}withAllowedModifierKeys(t){return this._allowedModifierKeys=t,this}withTypeAhead(t=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(lt(r=>this._pressedLetters.push(r)),Ui(t),tt(()=>this._pressedLetters.length>0),F(()=>this._pressedLetters.join(""))).subscribe(r=>{let e=this._getItemsArray();for(let i=1;i!t[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(r){case 9:this.tabOut.next();return;case 40:if(this._vertical&&i){this.setNextItemActive();break}else return;case 38:if(this._vertical&&i){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&i){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&i){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&i){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&i){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&i){let o=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&i){let o=this._activeItemIndex+this._pageUpAndDown.delta,a=this._getItemsArray().length;this._setActiveItemByIndex(o=65&&r<=90||r>=48&&r<=57)&&this._letterKeyStream.next(String.fromCharCode(r)));return}this._pressedLetters=[],t.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(t){let r=this._getItemsArray(),e=typeof t=="number"?t:r.indexOf(t),i=r[e];this._activeItem=i??null,this._activeItemIndex=e}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}_setActiveInWrapMode(t){let r=this._getItemsArray();for(let e=1;e<=r.length;e++){let i=(this._activeItemIndex+t*e+r.length)%r.length,o=r[i];if(!this._skipPredicateFn(o)){this.setActiveItem(i);return}}}_setActiveInDefaultMode(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)}_setActiveItemByIndex(t,r){let e=this._getItemsArray();if(e[t]){for(;this._skipPredicateFn(e[t]);)if(t+=r,!e[t])return;this.setActiveItem(t)}}_getItemsArray(){return Ma(this._items)?this._items():this._items instanceof An?this._items.toArray():this._items}_itemsChanged(t){if(this._activeItem){let r=t.indexOf(this._activeItem);r>-1&&r!==this._activeItemIndex&&(this._activeItemIndex=r)}}},Dr=class extends Er{setActiveItem(t){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(t),this.activeItem&&this.activeItem.setActiveStyles()}},Sr=class extends Er{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(t){return this._origin=t,this}setActiveItem(t){super.setActiveItem(t),this.activeItem&&this.activeItem.focus(this._origin)}};var Pi=(()=>{let t=class t{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return jb(e)&&getComputedStyle(e).visibility==="visible"}isTabbable(e){if(!this._platform.isBrowser)return!1;let i=Lb(Gb(e));if(i&&($l(i)===-1||!this.isVisible(i)))return!1;let o=e.nodeName.toLowerCase(),a=$l(e);return e.hasAttribute("contenteditable")?a!==-1:o==="iframe"||o==="object"||this._platform.WEBKIT&&this._platform.IOS&&!$b(e)?!1:o==="audio"?e.hasAttribute("controls")?a!==-1:!1:o==="video"?a===-1?!1:a!==null?!0:this._platform.FIREFOX||e.hasAttribute("controls"):e.tabIndex>=0}isFocusable(e,i){return Wb(e)&&!this.isDisabled(e)&&(i?.ignoreVisibility||this.isVisible(e))}};t.\u0275fac=function(i){return new(i||t)(u(J))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();function Lb(n){try{return n.frameElement}catch{return null}}function jb(n){return!!(n.offsetWidth||n.offsetHeight||typeof n.getClientRects=="function"&&n.getClientRects().length)}function Vb(n){let t=n.nodeName.toLowerCase();return t==="input"||t==="select"||t==="button"||t==="textarea"}function Bb(n){return Ub(n)&&n.type=="hidden"}function zb(n){return Hb(n)&&n.hasAttribute("href")}function Ub(n){return n.nodeName.toLowerCase()=="input"}function Hb(n){return n.nodeName.toLowerCase()=="a"}function Zl(n){if(!n.hasAttribute("tabindex")||n.tabIndex===void 0)return!1;let t=n.getAttribute("tabindex");return!!(t&&!isNaN(parseInt(t,10)))}function $l(n){if(!Zl(n))return null;let t=parseInt(n.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}function $b(n){let t=n.nodeName.toLowerCase(),r=t==="input"&&n.type;return r==="text"||r==="password"||t==="select"||t==="textarea"}function Wb(n){return Bb(n)?!1:Vb(n)||zb(n)||n.hasAttribute("contenteditable")||Zl(n)}function Gb(n){return n.ownerDocument&&n.ownerDocument.defaultView||window}var Gs=class{get enabled(){return this._enabled}set enabled(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}constructor(t,r,e,i,o=!1){this._element=t,this._checker=r,this._ngZone=e,this._document=i,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,o||this.attachAnchors()}destroy(){let t=this._startAnchor,r=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.remove()),r&&(r.removeEventListener("focus",this.endAnchorListener),r.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(t){return new Promise(r=>{this._executeOnStable(()=>r(this.focusInitialElement(t)))})}focusFirstTabbableElementWhenReady(t){return new Promise(r=>{this._executeOnStable(()=>r(this.focusFirstTabbableElement(t)))})}focusLastTabbableElementWhenReady(t){return new Promise(r=>{this._executeOnStable(()=>r(this.focusLastTabbableElement(t)))})}_getRegionBoundary(t){let r=this._element.querySelectorAll(`[cdk-focus-region-${t}], [cdkFocusRegion${t}], [cdk-focus-${t}]`);return t=="start"?r.length?r[0]:this._getFirstTabbableElement(this._element):r.length?r[r.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(t){let r=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(r){if(!this._checker.isFocusable(r)){let e=this._getFirstTabbableElement(r);return e?.focus(t),!!e}return r.focus(t),!0}return this.focusFirstTabbableElement(t)}focusFirstTabbableElement(t){let r=this._getRegionBoundary("start");return r&&r.focus(t),!!r}focusLastTabbableElement(t){let r=this._getRegionBoundary("end");return r&&r.focus(t),!!r}hasAttached(){return this._hasAttached}_getFirstTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;let r=t.children;for(let e=0;e=0;e--){let i=r[e].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(r[e]):null;if(i)return i}return null}_createAnchor(){let t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t.setAttribute("aria-hidden","true"),t}_toggleAnchorTabIndex(t,r){t?r.setAttribute("tabindex","0"):r.removeAttribute("tabindex")}toggleAnchors(t){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}_executeOnStable(t){this._ngZone.isStable?t():this._ngZone.onStable.pipe(rt(1)).subscribe(t)}},hn=(()=>{let t=class t{constructor(e,i,o){this._checker=e,this._ngZone=i,this._document=o}create(e,i=!1){return new Gs(e,this._checker,this._ngZone,this._document,i)}};t.\u0275fac=function(i){return new(i||t)(u(Pi),u(k),u(L))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();function Xs(n){return n.buttons===0||n.detail===0}function Zs(n){let t=n.touches&&n.touches[0]||n.changedTouches&&n.changedTouches[0];return!!t&&t.identifier===-1&&(t.radiusX==null||t.radiusX===1)&&(t.radiusY==null||t.radiusY===1)}var qb=new y("cdk-input-modality-detector-options"),Yb={ignoreKeys:[18,17,224,91,16]},Ql=650,un=ve({passive:!0,capture:!0}),Xb=(()=>{let t=class t{get mostRecentModality(){return this._modality.value}constructor(e,i,o,a){this._platform=e,this._mostRecentTarget=null,this._modality=new At(null),this._lastTouchMs=0,this._onKeydown=s=>{this._options?.ignoreKeys?.some(c=>c===s.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=ne(s))},this._onMousedown=s=>{Date.now()-this._lastTouchMs{if(Zs(s)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=ne(s)},this._options=g(g({},Yb),a),this.modalityDetected=this._modality.pipe(Hi(1)),this.modalityChanged=this.modalityDetected.pipe(Sn()),e.isBrowser&&i.runOutsideAngular(()=>{o.addEventListener("keydown",this._onKeydown,un),o.addEventListener("mousedown",this._onMousedown,un),o.addEventListener("touchstart",this._onTouchstart,un)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,un),document.removeEventListener("mousedown",this._onMousedown,un),document.removeEventListener("touchstart",this._onTouchstart,un))}};t.\u0275fac=function(i){return new(i||t)(u(J),u(k),u(L),u(qb,8))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),Zb=new y("liveAnnouncerElement",{providedIn:"root",factory:Qb});function Qb(){return null}var Kb=new y("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),Jb=0,Kl=(()=>{let t=class t{constructor(e,i,o,a){this._ngZone=i,this._defaultOptions=a,this._document=o,this._liveElement=e||this._createLiveElement()}announce(e,...i){let o=this._defaultOptions,a,s;return i.length===1&&typeof i[0]=="number"?s=i[0]:[a,s]=i,this.clear(),clearTimeout(this._previousTimeout),a||(a=o&&o.politeness?o.politeness:"polite"),s==null&&o&&(s=o.duration),this._liveElement.setAttribute("aria-live",a),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(c=>this._currentResolve=c)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,typeof s=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),s)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let e="cdk-live-announcer-element",i=this._document.getElementsByClassName(e),o=this._document.createElement("div");for(let a=0;a .cdk-overlay-container [aria-modal="true"]');for(let o=0;o{let t=class t{constructor(e,i,o,a,s){this._ngZone=e,this._platform=i,this._inputModalityDetector=o,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new E,this._rootNodeFocusAndBlurListener=c=>{let d=ne(c);for(let m=d;m;m=m.parentElement)c.type==="focus"?this._onFocus(c,m):this._onBlur(c,m)},this._document=a,this._detectionMode=s?.detectionMode||kr.IMMEDIATE}monitor(e,i=!1){let o=Qt(e);if(!this._platform.isBrowser||o.nodeType!==1)return O();let a=Ll(o)||this._getDocument(),s=this._elementInfo.get(o);if(s)return i&&(s.checkChildren=!0),s.subject;let c={checkChildren:i,subject:new E,rootNode:a};return this._elementInfo.set(o,c),this._registerGlobalListeners(c),c.subject}stopMonitoring(e){let i=Qt(e),o=this._elementInfo.get(i);o&&(o.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(o))}focusVia(e,i,o){let a=Qt(e),s=this._getDocument().activeElement;a===s?this._getClosestElementsInfo(a).forEach(([c,d])=>this._originChanged(c,i,d)):(this._setOrigin(i),typeof a.focus=="function"&&a.focus(o))}ngOnDestroy(){this._elementInfo.forEach((e,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return this._detectionMode===kr.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,i){e.classList.toggle("cdk-focused",!!i),e.classList.toggle("cdk-touch-focused",i==="touch"),e.classList.toggle("cdk-keyboard-focused",i==="keyboard"),e.classList.toggle("cdk-mouse-focused",i==="mouse"),e.classList.toggle("cdk-program-focused",i==="program")}_setOrigin(e,i=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction=e==="touch"&&i,this._detectionMode===kr.IMMEDIATE){clearTimeout(this._originTimeoutId);let o=this._originFromTouchInteraction?Ql:1;this._originTimeoutId=setTimeout(()=>this._origin=null,o)}})}_onFocus(e,i){let o=this._elementInfo.get(i),a=ne(e);!o||!o.checkChildren&&i!==a||this._originChanged(i,this._getFocusOrigin(a),o)}_onBlur(e,i){let o=this._elementInfo.get(i);!o||o.checkChildren&&e.relatedTarget instanceof Node&&i.contains(e.relatedTarget)||(this._setClasses(i),this._emitOrigin(o,null))}_emitOrigin(e,i){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(i))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;let i=e.rootNode,o=this._rootNodeFocusListenerCount.get(i)||0;o||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,Cr),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,Cr)}),this._rootNodeFocusListenerCount.set(i,o+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(dt(this._stopInputModalityDetector)).subscribe(a=>{this._setOrigin(a,!0)}))}_removeGlobalListeners(e){let i=e.rootNode;if(this._rootNodeFocusListenerCount.has(i)){let o=this._rootNodeFocusListenerCount.get(i);o>1?this._rootNodeFocusListenerCount.set(i,o-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Cr),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Cr),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,i,o){this._setClasses(e,i),this._emitOrigin(o,i),this._lastFocusOrigin=i}_getClosestElementsInfo(e){let i=[];return this._elementInfo.forEach((o,a)=>{(a===e||o.checkChildren&&a.contains(e))&&i.push([a,o])}),i}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:i,mostRecentModality:o}=this._inputModalityDetector;if(o!=="mouse"||!i||i===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return!1;let a=e.labels;if(a){for(let s=0;s{let t=class t{constructor(e,i){this._elementRef=e,this._focusMonitor=i,this._focusOrigin=null,this.cdkFocusChange=new V}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){let e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,e.nodeType===1&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(i=>{this._focusOrigin=i,this.cdkFocusChange.emit(i)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}};t.\u0275fac=function(i){return new(i||t)(l(D),l(ae))},t.\u0275dir=I({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"],standalone:!0});let n=t;return n})(),Fi=function(n){return n[n.NONE=0]="NONE",n[n.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",n[n.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",n}(Fi||{}),Wl="cdk-high-contrast-black-on-white",Gl="cdk-high-contrast-white-on-black",$s="cdk-high-contrast-active",Qs=(()=>{let t=class t{constructor(e,i){this._platform=e,this._document=i,this._breakpointSubscription=_(mn).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Fi.NONE;let e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);let i=this._document.defaultView||window,o=i&&i.getComputedStyle?i.getComputedStyle(e):null,a=(o&&o.backgroundColor||"").replace(/ /g,"");switch(e.remove(),a){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Fi.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Fi.BLACK_ON_WHITE}return Fi.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove($s,Wl,Gl),this._hasCheckedHighContrastMode=!0;let i=this.getHighContrastMode();i===Fi.BLACK_ON_WHITE?e.add($s,Wl):i===Fi.WHITE_ON_BLACK&&e.add($s,Gl)}}};t.\u0275fac=function(i){return new(i||t)(u(J),u(L))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),Mr=(()=>{let t=class t{constructor(e){e._applyBodyHighContrastModeCssClasses()}};t.\u0275fac=function(i){return new(i||t)(u(Qs))},t.\u0275mod=N({type:t}),t.\u0275inj=P({imports:[xr]});let n=t;return n})();var eg=new y("cdk-dir-doc",{providedIn:"root",factory:ig});function ig(){return _(L)}var ng=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function og(n){let t=n?.toLowerCase()||"";return t==="auto"&&typeof navigator<"u"&&navigator?.language?ng.test(navigator.language)?"rtl":"ltr":t==="rtl"?"rtl":"ltr"}var Lt=(()=>{let t=class t{constructor(e){if(this.value="ltr",this.change=new V,e){let i=e.body?e.body.dir:null,o=e.documentElement?e.documentElement.dir:null;this.value=og(i||o||"ltr")}}ngOnDestroy(){this.change.complete()}};t.\u0275fac=function(i){return new(i||t)(u(eg,8))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();var fi=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({});let n=t;return n})();var rg=["text"],ag=[[["mat-icon"]],"*"],sg=["mat-icon","*"];function cg(n,t){if(n&1&&M(0,"mat-pseudo-checkbox",1),n&2){let r=G();j("disabled",r.disabled)("state",r.selected?"checked":"unchecked")}}function dg(n,t){if(n&1&&M(0,"mat-pseudo-checkbox",3),n&2){let r=G();j("disabled",r.disabled)}}function lg(n,t){if(n&1&&(h(0,"span",4),C(1),f()),n&2){let r=G();v(),Wt("(",r.group.label,")")}}var mg=["mat-internal-form-field",""],ug=["*"];var oc=(()=>{let t=class t{};t.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",t.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",t.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",t.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)";let n=t;return n})(),rc=(()=>{let t=class t{};t.COMPLEX="375ms",t.ENTERING="225ms",t.EXITING="195ms";let n=t;return n})();function hg(){return!0}var fg=new y("mat-sanity-checks",{providedIn:"root",factory:hg}),K=(()=>{let t=class t{constructor(e,i,o){this._sanityChecks=i,this._document=o,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return co()?!1:typeof this._sanityChecks=="boolean"?this._sanityChecks:!!this._sanityChecks[e]}};t.\u0275fac=function(i){return new(i||t)(u(Qs),u(fg,8),u(L))},t.\u0275mod=N({type:t}),t.\u0275inj=P({imports:[fi,fi]});let n=t;return n})();var Or=class{constructor(t,r,e,i,o){this._defaultMatcher=t,this.ngControl=r,this._parentFormGroup=e,this._parentForm=i,this._stateChanges=o,this.errorState=!1}updateErrorState(){let t=this.errorState,r=this._parentFormGroup||this._parentForm,e=this.matcher||this._defaultMatcher,i=this.ngControl?this.ngControl.control:null,o=e?.isErrorState(i,r)??!1;o!==t&&(this.errorState=o,this._stateChanges.next())}};var cm=(()=>{let t=class t{isErrorState(e,i){return!!(e&&e.invalid&&(e.touched||i&&i.submitted))}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();var ye=function(n){return n[n.FADING_IN=0]="FADING_IN",n[n.VISIBLE=1]="VISIBLE",n[n.FADING_OUT=2]="FADING_OUT",n[n.HIDDEN=3]="HIDDEN",n}(ye||{}),tc=class{constructor(t,r,e,i=!1){this._renderer=t,this.element=r,this.config=e,this._animationForciblyDisabledThroughCss=i,this.state=ye.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}},tm=ve({passive:!0,capture:!0}),ec=class{constructor(){this._events=new Map,this._delegateEventHandler=t=>{let r=ne(t);r&&this._events.get(t.type)?.forEach((e,i)=>{(i===r||i.contains(r))&&e.forEach(o=>o.handleEvent(t))})}}addHandler(t,r,e,i){let o=this._events.get(r);if(o){let a=o.get(e);a?a.add(i):o.set(e,new Set([i]))}else this._events.set(r,new Map([[e,new Set([i])]])),t.runOutsideAngular(()=>{document.addEventListener(r,this._delegateEventHandler,tm)})}removeHandler(t,r,e){let i=this._events.get(t);if(!i)return;let o=i.get(r);o&&(o.delete(e),o.size===0&&i.delete(r),i.size===0&&(this._events.delete(t),document.removeEventListener(t,this._delegateEventHandler,tm)))}},em={enterDuration:225,exitDuration:150},pg=800,im=ve({passive:!0,capture:!0}),nm=["mousedown","touchstart"],om=["mouseup","mouseleave","touchend","touchcancel"],mo=class mo{constructor(t,r,e,i){this._target=t,this._ngZone=r,this._platform=i,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,i.isBrowser&&(this._containerElement=Qt(e))}fadeInRipple(t,r,e={}){let i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=g(g({},em),e.animation);e.centered&&(t=i.left+i.width/2,r=i.top+i.height/2);let a=e.radius||bg(t,r,i),s=t-i.left,c=r-i.top,d=o.enterDuration,m=document.createElement("div");m.classList.add("mat-ripple-element"),m.style.left=`${s-a}px`,m.style.top=`${c-a}px`,m.style.height=`${a*2}px`,m.style.width=`${a*2}px`,e.color!=null&&(m.style.backgroundColor=e.color),m.style.transitionDuration=`${d}ms`,this._containerElement.appendChild(m);let p=window.getComputedStyle(m),w=p.transitionProperty,R=p.transitionDuration,Z=w==="none"||R==="0s"||R==="0s, 0s"||i.width===0&&i.height===0,ct=new tc(this,m,e,Z);m.style.transform="scale3d(1, 1, 1)",ct.state=ye.FADING_IN,e.persistent||(this._mostRecentTransientRipple=ct);let ot=null;return!Z&&(d||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let ut=()=>this._finishRippleTransition(ct),Ie=()=>this._destroyRipple(ct);m.addEventListener("transitionend",ut),m.addEventListener("transitioncancel",Ie),ot={onTransitionEnd:ut,onTransitionCancel:Ie}}),this._activeRipples.set(ct,ot),(Z||!d)&&this._finishRippleTransition(ct),ct}fadeOutRipple(t){if(t.state===ye.FADING_OUT||t.state===ye.HIDDEN)return;let r=t.element,e=g(g({},em),t.config.animation);r.style.transitionDuration=`${e.exitDuration}ms`,r.style.opacity="0",t.state=ye.FADING_OUT,(t._animationForciblyDisabledThroughCss||!e.exitDuration)&&this._finishRippleTransition(t)}fadeOutAll(){this._getActiveRipples().forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){let r=Qt(t);!this._platform.isBrowser||!r||r===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=r,nm.forEach(e=>{mo._eventManager.addHandler(this._ngZone,e,r,this)}))}handleEvent(t){t.type==="mousedown"?this._onMousedown(t):t.type==="touchstart"?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{om.forEach(r=>{this._triggerElement.addEventListener(r,this,im)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(t){t.state===ye.FADING_IN?this._startFadeOutTransition(t):t.state===ye.FADING_OUT&&this._destroyRipple(t)}_startFadeOutTransition(t){let r=t===this._mostRecentTransientRipple,{persistent:e}=t.config;t.state=ye.VISIBLE,!e&&(!r||!this._isPointerDown)&&t.fadeOut()}_destroyRipple(t){let r=this._activeRipples.get(t)??null;this._activeRipples.delete(t),this._activeRipples.size||(this._containerRect=null),t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),t.state=ye.HIDDEN,r!==null&&(t.element.removeEventListener("transitionend",r.onTransitionEnd),t.element.removeEventListener("transitioncancel",r.onTransitionCancel)),t.element.remove()}_onMousedown(t){let r=Xs(t),e=this._lastTouchStartEvent&&Date.now(){let r=t.state===ye.VISIBLE||t.config.terminateOnPointerUp&&t.state===ye.FADING_IN;!t.config.persistent&&r&&t.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let t=this._triggerElement;t&&(nm.forEach(r=>mo._eventManager.removeHandler(r,t,this)),this._pointerUpEventsRegistered&&om.forEach(r=>t.removeEventListener(r,this,im)))}};mo._eventManager=new ec;var ic=mo;function bg(n,t,r){let e=Math.max(Math.abs(n-r.left),Math.abs(n-r.right)),i=Math.max(Math.abs(t-r.top),Math.abs(t-r.bottom));return Math.sqrt(e*e+i*i)}var ac=new y("mat-ripple-global-options"),Ve=(()=>{let t=class t{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,i,o,a,s){this._elementRef=e,this._animationMode=s,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=a||{},this._rippleRenderer=new ic(this,i,e,o)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:g(g(g({},this._globalOptions.animation),this._animationMode==="NoopAnimations"?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,i=0,o){return typeof e=="number"?this._rippleRenderer.fadeInRipple(e,i,g(g({},this.rippleConfig),o)):this._rippleRenderer.fadeInRipple(0,0,g(g({},this.rippleConfig),e))}};t.\u0275fac=function(i){return new(i||t)(l(D),l(k),l(J),l(ac,8),l(_t,8))},t.\u0275dir=I({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(i,o){i&2&&z("mat-ripple-unbounded",o.unbounded)},inputs:{color:[b.None,"matRippleColor","color"],unbounded:[b.None,"matRippleUnbounded","unbounded"],centered:[b.None,"matRippleCentered","centered"],radius:[b.None,"matRippleRadius","radius"],animation:[b.None,"matRippleAnimation","animation"],disabled:[b.None,"matRippleDisabled","disabled"],trigger:[b.None,"matRippleTrigger","trigger"]},exportAs:["matRipple"],standalone:!0});let n=t;return n})(),sc=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({imports:[K,K]});let n=t;return n})(),gg=(()=>{let t=class t{constructor(e){this._animationMode=e,this.state="unchecked",this.disabled=!1,this.appearance="full"}};t.\u0275fac=function(i){return new(i||t)(l(_t,8))},t.\u0275cmp=T({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(i,o){i&2&&z("mat-pseudo-checkbox-indeterminate",o.state==="indeterminate")("mat-pseudo-checkbox-checked",o.state==="checked")("mat-pseudo-checkbox-disabled",o.disabled)("mat-pseudo-checkbox-minimal",o.appearance==="minimal")("mat-pseudo-checkbox-full",o.appearance==="full")("_mat-animation-noopable",o._animationMode==="NoopAnimations")},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},standalone:!0,features:[A],decls:0,vars:0,template:function(i,o){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-minimal-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color);border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color);border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0});let n=t;return n})(),_g=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({imports:[K]});let n=t;return n})(),cc=new y("MAT_OPTION_PARENT_COMPONENT");var dc=new y("MatOptgroup");var vg=0,uo=class{constructor(t,r=!1){this.source=t,this.isUserInput=r}},Fr=(()=>{let t=class t{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,i,o,a){this._element=e,this._changeDetectorRef=i,this._parent=o,this.group=a,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id=`mat-option-${vg++}`,this.onSelectionChange=new V,this._stateChanges=new E}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,i){let o=this._getHostElement();typeof o.focus=="function"&&o.focus(i)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(e.keyCode===13||e.keyCode===32)&&!Rt(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 uo(this,e))}};t.\u0275fac=function(i){return new(i||t)(l(D),l(pt),l(cc,8),l(dc,8))},t.\u0275cmp=T({type:t,selectors:[["mat-option"]],viewQuery:function(i,o){if(i&1&&nt(rg,7),i&2){let a;U(a=H())&&(o._text=a.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(i,o){i&1&&S("click",function(){return o._selectViaInteraction()})("keydown",function(s){return o._handleKeydown(s)}),i&2&&(Xt("id",o.id),Y("aria-selected",o.selected)("aria-disabled",o.disabled.toString()),z("mdc-list-item--selected",o.selected)("mat-mdc-option-multiple",o.multiple)("mat-mdc-option-active",o.active)("mdc-list-item--disabled",o.disabled))},inputs:{value:"value",id:"id",disabled:[b.HasDecoratorInputTransform,"disabled","disabled",q]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],standalone:!0,features:[ft,A],ngContentSelectors:sg,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(i,o){i&1&&(wt(ag),B(0,cg,1,2,"mat-pseudo-checkbox",1),at(1),h(2,"span",2,0),at(4,1),f(),B(5,dg,1,1,"mat-pseudo-checkbox",3)(6,lg,2,1,"span",4),M(7,"div",5)),i&2&&(Q(0,o.multiple?0:-1),v(5),Q(5,!o.multiple&&o.selected&&!o.hideSingleSelectionIndicator?5:-1),v(),Q(6,o.group&&o.group._inert?6:-1),v(),j("matRippleTrigger",o._getHostElement())("matRippleDisabled",o.disabled||o.disableRipple))},dependencies:[gg,Ve],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color);font-family:var(--mat-option-label-text-font);line-height:var(--mat-option-label-text-line-height);font-size:var(--mat-option-label-text-size);letter-spacing:var(--mat-option-label-text-tracking);font-weight:var(--mat-option-label-text-weight);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color)}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-multiple{--mdc-list-list-item-selected-container-color:var(--mdc-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0});let n=t;return n})();function dm(n,t,r){if(r.length){let e=t.toArray(),i=r.toArray(),o=0;for(let a=0;ar+e?Math.max(0,n-e+t):r}var lc=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({imports:[sc,K,_g]});let n=t;return n})(),rm={capture:!0},am=["focus","click","mouseenter","touchstart"],Ks="mat-ripple-loader-uninitialized",Js="mat-ripple-loader-class-name",sm="mat-ripple-loader-centered",Rr="mat-ripple-loader-disabled",mm=(()=>{let t=class t{constructor(){this._document=_(L,{optional:!0}),this._animationMode=_(_t,{optional:!0}),this._globalRippleOptions=_(ac,{optional:!0}),this._platform=_(J),this._ngZone=_(k),this._hosts=new Map,this._onInteraction=e=>{if(!(e.target instanceof HTMLElement))return;let o=e.target.closest(`[${Ks}]`);o&&this._createRipple(o)},this._ngZone.runOutsideAngular(()=>{for(let e of am)this._document?.addEventListener(e,this._onInteraction,rm)})}ngOnDestroy(){let e=this._hosts.keys();for(let i of e)this.destroyRipple(i);for(let i of am)this._document?.removeEventListener(i,this._onInteraction,rm)}configureRipple(e,i){e.setAttribute(Ks,""),(i.className||!e.hasAttribute(Js))&&e.setAttribute(Js,i.className||""),i.centered&&e.setAttribute(sm,""),i.disabled&&e.setAttribute(Rr,"")}getRipple(e){return this._hosts.get(e)||this._createRipple(e)}setDisabled(e,i){let o=this._hosts.get(e);if(o){o.disabled=i;return}i?e.setAttribute(Rr,""):e.removeAttribute(Rr)}_createRipple(e){if(!this._document)return;let i=this._hosts.get(e);if(i)return i;e.querySelector(".mat-ripple")?.remove();let o=this._document.createElement("span");o.classList.add("mat-ripple",e.getAttribute(Js)),e.append(o);let a=new Ve(new D(o),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return a._isInitialized=!0,a.trigger=e,a.centered=e.hasAttribute(sm),a.disabled=e.hasAttribute(Rr),this.attachRipple(e,a),a}attachRipple(e,i){e.removeAttribute(Ks),this._hosts.set(e,i)}destroyRipple(e){let i=this._hosts.get(e);i&&(i.ngOnDestroy(),this._hosts.delete(e))}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),Pr=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275cmp=T({type:t,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(i,o){i&2&&z("mdc-form-field--align-end",o.labelPosition==="before")},inputs:{labelPosition:"labelPosition"},standalone:!0,features:[A],attrs:mg,ngContentSelectors:ug,decls:1,vars:0,template:function(i,o){i&1&&(wt(),at(0))},styles:[".mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mdc-form-field{font-family:var(--mdc-form-field-label-text-font);line-height:var(--mdc-form-field-label-text-line-height);font-size:var(--mdc-form-field-label-text-size);font-weight:var(--mdc-form-field-label-text-weight);letter-spacing:var(--mdc-form-field-label-text-tracking);color:var(--mdc-form-field-label-text-color)}.mat-internal-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}"],encapsulation:2,changeDetection:0});let n=t;return n})();var yg=new y("MAT_PROGRESS_BAR_DEFAULT_OPTIONS");var fm=(()=>{let t=class t{constructor(e,i,o,a,s){this._elementRef=e,this._ngZone=i,this._changeDetectorRef=o,this._animationMode=a,this._isNoopAnimation=!1,this._defaultColor="primary",this._value=0,this._bufferValue=0,this.animationEnd=new V,this._mode="determinate",this._transitionendHandler=c=>{this.animationEnd.observers.length===0||!c.target||!c.target.classList.contains("mdc-linear-progress__primary-bar")||(this.mode==="determinate"||this.mode==="buffer")&&this._ngZone.run(()=>this.animationEnd.next({value:this.value}))},this._isNoopAnimation=a==="NoopAnimations",s&&(s.color&&(this.color=this._defaultColor=s.color),this.mode=s.mode||this.mode)}get color(){return this._color||this._defaultColor}set color(e){this._color=e}get value(){return this._value}set value(e){this._value=hm(e||0),this._changeDetectorRef.markForCheck()}get bufferValue(){return this._bufferValue||0}set bufferValue(e){this._bufferValue=hm(e||0),this._changeDetectorRef.markForCheck()}get mode(){return this._mode}set mode(e){this._mode=e,this._changeDetectorRef.markForCheck()}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("transitionend",this._transitionendHandler)})}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._transitionendHandler)}_getPrimaryBarTransform(){return`scaleX(${this._isIndeterminate()?1:this.value/100})`}_getBufferBarFlexBasis(){return`${this.mode==="buffer"?this.bufferValue:100}%`}_isIndeterminate(){return this.mode==="indeterminate"||this.mode==="query"}};t.\u0275fac=function(i){return new(i||t)(l(D),l(k),l(pt),l(_t,8),l(yg,8))},t.\u0275cmp=T({type:t,selectors:[["mat-progress-bar"]],hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-mdc-progress-bar","mdc-linear-progress"],hostVars:10,hostBindings:function(i,o){i&2&&(Y("aria-valuenow",o._isIndeterminate()?null:o.value)("mode",o.mode),Mt("mat-"+o.color),z("_mat-animation-noopable",o._isNoopAnimation)("mdc-linear-progress--animation-ready",!o._isNoopAnimation)("mdc-linear-progress--indeterminate",o._isIndeterminate()))},inputs:{color:"color",value:[b.HasDecoratorInputTransform,"value","value",ge],bufferValue:[b.HasDecoratorInputTransform,"bufferValue","bufferValue",ge],mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],standalone:!0,features:[ft,A],decls:7,vars:4,consts:[["aria-hidden","true",1,"mdc-linear-progress__buffer"],[1,"mdc-linear-progress__buffer-bar"],[1,"mdc-linear-progress__buffer-dots"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__primary-bar"],[1,"mdc-linear-progress__bar-inner"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__secondary-bar"]],template:function(i,o){i&1&&(h(0,"div",0),M(1,"div",1)(2,"div",2),f(),h(3,"div",3),M(4,"span",4),f(),h(5,"div",5),M(6,"span",4),f()),i&2&&(v(),ai("flex-basis",o._getBufferBarFlexBasis()),v(2),ai("transform",o._getPrimaryBarTransform()))},styles:[`@keyframes mdc-linear-progress-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(var(--mdc-linear-progress-primary-half))}100%{transform:translateX(var(--mdc-linear-progress-primary-full))}}@keyframes mdc-linear-progress-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(var(--mdc-linear-progress-secondary-quarter))}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(var(--mdc-linear-progress-secondary-half))}100%{transform:translateX(var(--mdc-linear-progress-secondary-full))}}@keyframes mdc-linear-progress-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-primary-indeterminate-translate-reverse{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(var(--mdc-linear-progress-primary-half-neg))}100%{transform:translateX(var(--mdc-linear-progress-primary-full-neg))}}@keyframes mdc-linear-progress-secondary-indeterminate-translate-reverse{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(var(--mdc-linear-progress-secondary-quarter-neg))}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(var(--mdc-linear-progress-secondary-half-neg))}100%{transform:translateX(var(--mdc-linear-progress-secondary-full-neg))}}@keyframes mdc-linear-progress-buffering-reverse{from{transform:translateX(-10px)}}.mdc-linear-progress{position:relative;width:100%;transform:translateZ(0);outline:1px solid rgba(0,0,0,0);overflow-x:hidden;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}@media screen and (forced-colors: active){.mdc-linear-progress{outline-color:CanvasText}}.mdc-linear-progress__bar{position:absolute;top:0;bottom:0;margin:auto 0;width:100%;animation:none;transform-origin:top left;transition:transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-linear-progress__bar-inner{display:inline-block;position:absolute;width:100%;animation:none;border-top-style:solid}.mdc-linear-progress__buffer{display:flex;position:absolute;top:0;bottom:0;margin:auto 0;width:100%;overflow:hidden}.mdc-linear-progress__buffer-dots{background-repeat:repeat-x;flex:auto;transform:rotate(180deg);-webkit-mask-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E");animation:mdc-linear-progress-buffering 250ms infinite linear}.mdc-linear-progress__buffer-bar{flex:0 1 100%;transition:flex-basis 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-linear-progress__primary-bar{transform:scaleX(0)}.mdc-linear-progress__secondary-bar{display:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__bar{transition:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{left:-145.166611%}.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{left:-54.888891%;display:block}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation:mdc-linear-progress-primary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-primary-indeterminate-scale 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation:mdc-linear-progress-secondary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-secondary-indeterminate-scale 2s infinite linear}[dir=rtl] .mdc-linear-progress:not([dir=ltr]) .mdc-linear-progress__bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]) .mdc-linear-progress__bar{right:0;-webkit-transform-origin:center right;transform-origin:center right}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation-name:mdc-linear-progress-primary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation-name:mdc-linear-progress-secondary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress:not([dir=ltr]) .mdc-linear-progress__buffer-dots,.mdc-linear-progress[dir=rtl]:not([dir=ltr]) .mdc-linear-progress__buffer-dots{animation:mdc-linear-progress-buffering-reverse 250ms infinite linear;transform:rotate(0)}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{right:-145.166611%;left:auto}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{right:-54.888891%;left:auto}.mdc-linear-progress--closed{opacity:0}.mdc-linear-progress--closed-animation-off .mdc-linear-progress__buffer-dots{animation:none}.mdc-linear-progress--closed-animation-off.mdc-linear-progress--indeterminate .mdc-linear-progress__bar,.mdc-linear-progress--closed-animation-off.mdc-linear-progress--indeterminate .mdc-linear-progress__bar .mdc-linear-progress__bar-inner{animation:none}@keyframes mdc-linear-progress-buffering{from{transform:rotate(180deg) translateX(calc(var(--mdc-linear-progress-track-height) * -2.5))}}.mdc-linear-progress__bar-inner{border-color:var(--mdc-linear-progress-active-indicator-color)}.mdc-linear-progress__buffer-dots{background-color:var(--mdc-linear-progress-track-color)}@media(forced-colors: active){.mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress__buffer-dots{background-color:rgba(0,0,0,0);background-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(244, 67, 54, 0.25)'/%3E%3C/svg%3E")}}.mdc-linear-progress__buffer-bar{background-color:var(--mdc-linear-progress-track-color)}.mdc-linear-progress{height:max(var(--mdc-linear-progress-track-height), var(--mdc-linear-progress-active-indicator-height))}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress{height:4px}}.mdc-linear-progress__bar{height:var(--mdc-linear-progress-active-indicator-height)}.mdc-linear-progress__bar-inner{border-top-width:var(--mdc-linear-progress-active-indicator-height)}.mdc-linear-progress__buffer{height:var(--mdc-linear-progress-track-height)}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress__buffer-dots{background-size:10px var(--mdc-linear-progress-track-height)}}.mdc-linear-progress__buffer{border-radius:var(--mdc-linear-progress-track-shape)}.mat-mdc-progress-bar{display:block;text-align:start;--mdc-linear-progress-primary-half: 83.67142%;--mdc-linear-progress-primary-full: 200.611057%;--mdc-linear-progress-secondary-quarter: 37.651913%;--mdc-linear-progress-secondary-half: 84.386165%;--mdc-linear-progress-secondary-full: 160.277782%;--mdc-linear-progress-primary-half-neg: -83.67142%;--mdc-linear-progress-primary-full-neg: -200.611057%;--mdc-linear-progress-secondary-quarter-neg: -37.651913%;--mdc-linear-progress-secondary-half-neg: -84.386165%;--mdc-linear-progress-secondary-full-neg: -160.277782%}.mat-mdc-progress-bar[mode=query]{transform:scaleX(-1)}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-dots,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__secondary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__bar-inner.mdc-linear-progress__bar-inner{animation:none}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-bar{transition:transform 1ms}`],encapsulation:2,changeDetection:0});let n=t;return n})();function hm(n,t=0,r=100){return Math.max(t,Math.min(r,n))}var pm=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({imports:[K]});let n=t;return n})();var fo=class{attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;t!=null&&(this._attachedHost=null,t.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(t){this._attachedHost=t}},Ae=class extends fo{constructor(t,r,e,i,o){super(),this.component=t,this.viewContainerRef=r,this.injector=e,this.componentFactoryResolver=i,this.projectableNodes=o}},se=class extends fo{constructor(t,r,e,i){super(),this.templateRef=t,this.viewContainerRef=r,this.context=e,this.injector=i}get origin(){return this.templateRef.elementRef}attach(t,r=this.context){return this.context=r,super.attach(t)}detach(){return this.context=void 0,super.detach()}},mc=class extends fo{constructor(t){super(),this.element=t instanceof D?t.nativeElement:t}},pi=class{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){if(t instanceof Ae)return this._attachedPortal=t,this.attachComponentPortal(t);if(t instanceof se)return this._attachedPortal=t,this.attachTemplatePortal(t);if(this.attachDomPortal&&t instanceof mc)return this._attachedPortal=t,this.attachDomPortal(t)}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}};var Nr=class extends pi{constructor(t,r,e,i,o){super(),this.outletElement=t,this._componentFactoryResolver=r,this._appRef=e,this._defaultInjector=i,this.attachDomPortal=a=>{this._document;let s=a.element;s.parentNode;let c=this._document.createComment("dom-portal");s.parentNode.insertBefore(c,s),this.outletElement.appendChild(s),this._attachedPortal=a,super.setDisposeFn(()=>{c.parentNode&&c.parentNode.replaceChild(s,c)})},this._document=o}attachComponentPortal(t){let e=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),i;return t.viewContainerRef?(i=t.viewContainerRef.createComponent(e,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector,t.projectableNodes||void 0),this.setDisposeFn(()=>i.destroy())):(i=e.create(t.injector||this._defaultInjector||xt.NULL),this._appRef.attachView(i.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(i.hostView),i.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(i)),this._attachedPortal=t,i}attachTemplatePortal(t){let r=t.viewContainerRef,e=r.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return e.rootNodes.forEach(i=>this.outletElement.appendChild(i)),e.detectChanges(),this.setDisposeFn(()=>{let i=r.indexOf(e);i!==-1&&r.remove(i)}),this._attachedPortal=t,e}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(t){return t.hostView.rootNodes[0]}};var bm=(()=>{let t=class t extends se{constructor(e,i){super(e,i)}};t.\u0275fac=function(i){return new(i||t)(l(Vt),l($t))},t.\u0275dir=I({type:t,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],standalone:!0,features:[it]});let n=t;return n})();var Kt=(()=>{let t=class t extends pi{constructor(e,i,o){super(),this._componentFactoryResolver=e,this._viewContainerRef=i,this._isInitialized=!1,this.attached=new V,this.attachDomPortal=a=>{this._document;let s=a.element;s.parentNode;let c=this._document.createComment("dom-portal");a.setAttachedHost(this),s.parentNode.insertBefore(c,s),this._getRootNode().appendChild(s),this._attachedPortal=a,super.setDisposeFn(()=>{c.parentNode&&c.parentNode.replaceChild(s,c)})},this._document=o}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);let i=e.viewContainerRef!=null?e.viewContainerRef:this._viewContainerRef,a=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),s=i.createComponent(a,i.length,e.injector||i.injector,e.projectableNodes||void 0);return i!==this._viewContainerRef&&this._getRootNode().appendChild(s.hostView.rootNodes[0]),super.setDisposeFn(()=>s.destroy()),this._attachedPortal=e,this._attachedRef=s,this.attached.emit(s),s}attachTemplatePortal(e){e.setAttachedHost(this);let i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}_getRootNode(){let e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}};t.\u0275fac=function(i){return new(i||t)(l(qi),l($t),l(L))},t.\u0275dir=I({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[b.None,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],standalone:!0,features:[it]});let n=t;return n})();var Me=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({});let n=t;return n})();var wg=20,bn=(()=>{let t=class t{constructor(e,i,o){this._ngZone=e,this._platform=i,this._scrolled=new E,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=o}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){let i=this.scrollContainers.get(e);i&&(i.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=wg){return this._platform.isBrowser?new Yt(i=>{this._globalSubscription||this._addGlobalListener();let o=e>0?this._scrolled.pipe(Ia(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):O()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(e,i){let o=this.getAncestorScrollContainers(e);return this.scrolled(i).pipe(tt(a=>!a||o.indexOf(a)>-1))}getAncestorScrollContainers(e){let i=[];return this.scrollContainers.forEach((o,a)=>{this._scrollableContainsElement(a,e)&&i.push(a)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,i){let o=Qt(i),a=e.getElementRef().nativeElement;do if(o==a)return!0;while(o=o.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{let e=this._getWindow();return Ht(e.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}};t.\u0275fac=function(i){return new(i||t)(u(k),u(J),u(L,8))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),uc=(()=>{let t=class t{constructor(e,i,o,a){this.elementRef=e,this.scrollDispatcher=i,this.ngZone=o,this.dir=a,this._destroyed=new E,this._elementScrolled=new Yt(s=>this.ngZone.runOutsideAngular(()=>Ht(this.elementRef.nativeElement,"scroll").pipe(dt(this._destroyed)).subscribe(s)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){let i=this.elementRef.nativeElement,o=this.dir&&this.dir.value=="rtl";e.left==null&&(e.left=o?e.end:e.start),e.right==null&&(e.right=o?e.start:e.end),e.bottom!=null&&(e.top=i.scrollHeight-i.clientHeight-e.bottom),o&&dn()!=Se.NORMAL?(e.left!=null&&(e.right=i.scrollWidth-i.clientWidth-e.left),dn()==Se.INVERTED?e.left=e.right:dn()==Se.NEGATED&&(e.left=e.right?-e.right:e.right)):e.right!=null&&(e.left=i.scrollWidth-i.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){let i=this.elementRef.nativeElement;yr()?i.scrollTo(e):(e.top!=null&&(i.scrollTop=e.top),e.left!=null&&(i.scrollLeft=e.left))}measureScrollOffset(e){let i="left",o="right",a=this.elementRef.nativeElement;if(e=="top")return a.scrollTop;if(e=="bottom")return a.scrollHeight-a.clientHeight-a.scrollTop;let s=this.dir&&this.dir.value=="rtl";return e=="start"?e=s?o:i:e=="end"&&(e=s?i:o),s&&dn()==Se.INVERTED?e==i?a.scrollWidth-a.clientWidth-a.scrollLeft:a.scrollLeft:s&&dn()==Se.NEGATED?e==i?a.scrollLeft+a.scrollWidth-a.clientWidth:-a.scrollLeft:e==i?a.scrollLeft:a.scrollWidth-a.clientWidth-a.scrollLeft}};t.\u0275fac=function(i){return new(i||t)(l(D),l(bn),l(k),l(Lt,8))},t.\u0275dir=I({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0});let n=t;return n})(),Cg=20,Ye=(()=>{let t=class t{constructor(e,i,o){this._platform=e,this._change=new E,this._changeListener=a=>{this._change.next(a)},this._document=o,i.runOutsideAngular(()=>{if(e.isBrowser){let a=this._getWindow();a.addEventListener("resize",this._changeListener),a.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){let e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){let e=this.getViewportScrollPosition(),{width:i,height:o}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+o,right:e.left+i,height:o,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let e=this._document,i=this._getWindow(),o=e.documentElement,a=o.getBoundingClientRect(),s=-a.top||e.body.scrollTop||i.scrollY||o.scrollTop||0,c=-a.left||e.body.scrollLeft||i.scrollX||o.scrollLeft||0;return{top:s,left:c}}change(e=Cg){return e>0?this._change.pipe(Ia(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}};t.\u0275fac=function(i){return new(i||t)(u(J),u(k),u(L,8))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();var pn=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({});let n=t;return n})(),hc=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({imports:[fi,pn,fi,pn]});let n=t;return n})();var _c=["*"];function kg(n,t){n&1&&at(0)}var Ig=["tabListContainer"],Eg=["tabList"],Dg=["tabListInner"],Sg=["nextPaginator"],Tg=["previousPaginator"],Ag=n=>({animationDuration:n}),Mg=(n,t)=>({value:n,params:t});function Rg(n,t){}var Og=["tabBodyWrapper"],Fg=["tabHeader"];function Pg(n,t){}function Ng(n,t){if(n&1&&B(0,Pg,0,0,"ng-template",12),n&2){let r=G().$implicit;j("cdkPortalOutlet",r.templateLabel)}}function Lg(n,t){if(n&1&&C(0),n&2){let r=G().$implicit;be(r.textLabel)}}function jg(n,t){if(n&1){let r=mt();h(0,"div",7,2),S("click",function(){let i=$(r),o=i.$implicit,a=i.$index,s=G(),c=pe(1);return W(s._handleClick(o,c,a))})("cdkFocusChange",function(i){let o=$(r).$index,a=G();return W(a._tabFocusChanged(i,o))}),M(2,"span",8)(3,"div",9),h(4,"span",10)(5,"span",11),B(6,Ng,1,1,null,12)(7,Lg,1,1),f()()()}if(n&2){let r=t.$implicit,e=t.$index,i=pe(1),o=G();Mt(r.labelClass),z("mdc-tab--active",o.selectedIndex===e),j("id",o._getTabLabelId(e))("disabled",r.disabled)("fitInkBarToContent",o.fitInkBarToContent),Y("tabIndex",o._getTabIndex(e))("aria-posinset",e+1)("aria-setsize",o._tabs.length)("aria-controls",o._getTabContentId(e))("aria-selected",o.selectedIndex===e)("aria-label",r.ariaLabel||null)("aria-labelledby",!r.ariaLabel&&r.ariaLabelledby?r.ariaLabelledby:null),v(3),j("matRippleTrigger",i)("matRippleDisabled",r.disabled||o.disableRipple),v(3),Q(6,r.templateLabel?6:7)}}function Vg(n,t){n&1&&at(0)}function Bg(n,t){if(n&1){let r=mt();h(0,"mat-tab-body",13),S("_onCentered",function(){$(r);let i=G();return W(i._removeTabBodyWrapperHeight())})("_onCentering",function(i){$(r);let o=G();return W(o._setTabBodyWrapperHeight(i))}),f()}if(n&2){let r=t.$implicit,e=t.$index,i=G();Mt(r.bodyClass),z("mat-mdc-tab-body-active",i.selectedIndex===e),j("id",i._getTabContentId(e))("content",r.content)("position",r.position)("origin",r.origin)("animationDuration",i.animationDuration)("preserveContent",i.preserveContent),Y("tabindex",i.contentTabIndex!=null&&i.selectedIndex===e?i.contentTabIndex:null)("aria-labelledby",i._getTabLabelId(e))("aria-hidden",i.selectedIndex!==e)}}var zg=new y("MatTabContent"),Ug=(()=>{let t=class t{constructor(e){this.template=e}};t.\u0275fac=function(i){return new(i||t)(l(Vt))},t.\u0275dir=I({type:t,selectors:[["","matTabContent",""]],standalone:!0,features:[st([{provide:zg,useExisting:t}])]});let n=t;return n})(),Hg=new y("MatTabLabel"),vm=new y("MAT_TAB"),$g=(()=>{let t=class t extends bm{constructor(e,i,o){super(e,i),this._closestTab=o}};t.\u0275fac=function(i){return new(i||t)(l(Vt),l($t),l(vm,8))},t.\u0275dir=I({type:t,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],standalone:!0,features:[st([{provide:Hg,useExisting:t}]),it]});let n=t;return n})(),ym=new y("MAT_TAB_GROUP"),vc=(()=>{let t=class t{get templateLabel(){return this._templateLabel}set templateLabel(e){this._setTemplateLabelInput(e)}get content(){return this._contentPortal}constructor(e,i){this._viewContainerRef=e,this._closestTabGroup=i,this.disabled=!1,this._explicitContent=void 0,this.textLabel="",this._contentPortal=null,this._stateChanges=new E,this.position=null,this.origin=null,this.isActive=!1}ngOnChanges(e){(e.hasOwnProperty("textLabel")||e.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new se(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(e){e&&e._closestTab===this&&(this._templateLabel=e)}};t.\u0275fac=function(i){return new(i||t)(l($t),l(ym,8))},t.\u0275cmp=T({type:t,selectors:[["mat-tab"]],contentQueries:function(i,o,a){if(i&1&&(Pt(a,$g,5),Pt(a,Ug,7,Vt)),i&2){let s;U(s=H())&&(o.templateLabel=s.first),U(s=H())&&(o._explicitContent=s.first)}},viewQuery:function(i,o){if(i&1&&nt(Vt,7),i&2){let a;U(a=H())&&(o._implicitContent=a.first)}},hostAttrs:["hidden",""],inputs:{disabled:[b.HasDecoratorInputTransform,"disabled","disabled",q],textLabel:[b.None,"label","textLabel"],ariaLabel:[b.None,"aria-label","ariaLabel"],ariaLabelledby:[b.None,"aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],standalone:!0,features:[st([{provide:vm,useExisting:t}]),ft,Ct,A],ngContentSelectors:_c,decls:1,vars:0,template:function(i,o){i&1&&(wt(),B(0,kg,1,0,"ng-template"))},encapsulation:2});let n=t;return n})(),pc="mdc-tab-indicator--active",gm="mdc-tab-indicator--no-transition",bc=class{constructor(t){this._items=t}hide(){this._items.forEach(t=>t.deactivateInkBar())}alignToElement(t){let r=this._items.find(i=>i.elementRef.nativeElement===t),e=this._currentItem;if(r!==e&&(e?.deactivateInkBar(),r)){let i=e?.elementRef.nativeElement.getBoundingClientRect?.();r.activateInkBar(i),this._currentItem=r}}},Wg=(()=>{let t=class t{constructor(){this._elementRef=_(D),this._fitToContent=!1}get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(e){this._fitToContent!==e&&(this._fitToContent=e,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(e){let i=this._elementRef.nativeElement;if(!e||!i.getBoundingClientRect||!this._inkBarContentElement){i.classList.add(pc);return}let o=i.getBoundingClientRect(),a=e.width/o.width,s=e.left-o.left;i.classList.add(gm),this._inkBarContentElement.style.setProperty("transform",`translateX(${s}px) scaleX(${a})`),i.getBoundingClientRect(),i.classList.remove(gm),i.classList.add(pc),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this._elementRef.nativeElement.classList.remove(pc)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){let e=this._elementRef.nativeElement.ownerDocument||document,i=this._inkBarElement=e.createElement("span"),o=this._inkBarContentElement=e.createElement("span");i.className="mdc-tab-indicator",o.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",i.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){this._inkBarElement;let e=this._fitToContent?this._elementRef.nativeElement.querySelector(".mdc-tab__content"):this._elementRef.nativeElement;e.appendChild(this._inkBarElement)}};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=I({type:t,inputs:{fitInkBarToContent:[b.HasDecoratorInputTransform,"fitInkBarToContent","fitInkBarToContent",q]},features:[ft]});let n=t;return n})();var xm=(()=>{let t=class t extends Wg{constructor(e){super(),this.elementRef=e,this.disabled=!1}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}};t.\u0275fac=function(i){return new(i||t)(l(D))},t.\u0275dir=I({type:t,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(i,o){i&2&&(Y("aria-disabled",!!o.disabled),z("mat-mdc-tab-disabled",o.disabled))},inputs:{disabled:[b.HasDecoratorInputTransform,"disabled","disabled",q]},standalone:!0,features:[ft,it]});let n=t;return n})(),_m=ve({passive:!0}),Gg=650,qg=100,Yg=(()=>{let t=class t{get selectedIndex(){return this._selectedIndex}set selectedIndex(e){let i=isNaN(e)?0:e;this._selectedIndex!=i&&(this._selectedIndexChanged=!0,this._selectedIndex=i,this._keyManager&&this._keyManager.updateActiveItem(i))}constructor(e,i,o,a,s,c,d){this._elementRef=e,this._changeDetectorRef=i,this._viewportRuler=o,this._dir=a,this._ngZone=s,this._platform=c,this._animationMode=d,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new E,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new E,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new V,this.indexFocused=new V,s.runOutsideAngular(()=>{Ht(e.nativeElement,"mouseleave").pipe(dt(this._destroyed)).subscribe(()=>{this._stopInterval()})})}ngAfterViewInit(){Ht(this._previousPaginator.nativeElement,"touchstart",_m).pipe(dt(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),Ht(this._nextPaginator.nativeElement,"touchstart",_m).pipe(dt(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){let e=this._dir?this._dir.change:O("ltr"),i=this._viewportRuler.change(150),o=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new Sr(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe(rt(1)).subscribe(o),Dt(e,i,this._items.changes,this._itemsResized()).pipe(dt(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),o()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(a=>{this.indexFocused.emit(a),this._setTabFocus(a)})}_itemsResized(){return typeof ResizeObserver!="function"?ce:this._items.changes.pipe(Ft(this._items),vt(e=>new Yt(i=>this._ngZone.runOutsideAngular(()=>{let o=new ResizeObserver(a=>i.next(a));return e.forEach(a=>o.observe(a.elementRef.nativeElement)),()=>{o.disconnect()}}))),Hi(1),tt(e=>e.some(i=>i.contentRect.width>0&&i.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(e){if(!Rt(e))switch(e.keyCode){case 13:case 32:if(this.focusIndex!==this.selectedIndex){let i=this._items.get(this.focusIndex);i&&!i.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(e))}break;default:this._keyManager.onKeydown(e)}}_onContentChanges(){let e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(e){!this._isValidIndex(e)||this.focusIndex===e||!this._keyManager||this._keyManager.setActiveItem(e)}_isValidIndex(e){return this._items?!!this._items.toArray()[e]:!0}_setTabFocus(e){if(this._showPaginationControls&&this._scrollToLabel(e),this._items&&this._items.length){this._items.toArray()[e].focus();let i=this._tabListContainer.nativeElement;this._getLayoutDirection()=="ltr"?i.scrollLeft=0:i.scrollLeft=i.scrollWidth-i.offsetWidth}}_getLayoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;let e=this.scrollDistance,i=this._getLayoutDirection()==="ltr"?-e:e;this._tabList.nativeElement.style.transform=`translateX(${Math.round(i)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(e){this._scrollTo(e)}_scrollHeader(e){let i=this._tabListContainer.nativeElement.offsetWidth,o=(e=="before"?-1:1)*i/3;return this._scrollTo(this._scrollDistance+o)}_handlePaginatorClick(e){this._stopInterval(),this._scrollHeader(e)}_scrollToLabel(e){if(this.disablePagination)return;let i=this._items?this._items.toArray()[e]:null;if(!i)return;let o=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:a,offsetWidth:s}=i.elementRef.nativeElement,c,d;this._getLayoutDirection()=="ltr"?(c=a,d=c+s):(d=this._tabListInner.nativeElement.offsetWidth-a,c=d-s);let m=this.scrollDistance,p=this.scrollDistance+o;cp&&(this.scrollDistance+=Math.min(d-p,c-m))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{let e=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;e||(this.scrollDistance=0),e!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=e}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=this.scrollDistance==0,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){let e=this._tabListInner.nativeElement.scrollWidth,i=this._tabListContainer.nativeElement.offsetWidth;return e-i||0}_alignInkBarToSelectedTab(){let e=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,i=e?e.elementRef.nativeElement:null;i?this._inkBar.alignToElement(i):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(e,i){i&&i.button!=null&&i.button!==0||(this._stopInterval(),id(Gg,qg).pipe(dt(Dt(this._stopScrolling,this._destroyed))).subscribe(()=>{let{maxScrollDistance:o,distance:a}=this._scrollHeader(e);(a===0||a>=o)&&this._stopInterval()}))}_scrollTo(e){if(this.disablePagination)return{maxScrollDistance:0,distance:0};let i=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(i,e)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:i,distance:this._scrollDistance}}};t.\u0275fac=function(i){return new(i||t)(l(D),l(pt),l(Ye),l(Lt,8),l(k),l(J),l(_t,8))},t.\u0275dir=I({type:t,inputs:{disablePagination:[b.HasDecoratorInputTransform,"disablePagination","disablePagination",q],selectedIndex:[b.HasDecoratorInputTransform,"selectedIndex","selectedIndex",ge]},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[ft]});let n=t;return n})(),Xg=(()=>{let t=class t extends Yg{constructor(e,i,o,a,s,c,d){super(e,i,o,a,s,c,d),this.disableRipple=!1}ngAfterContentInit(){this._inkBar=new bc(this._items),super.ngAfterContentInit()}_itemSelected(e){e.preventDefault()}};t.\u0275fac=function(i){return new(i||t)(l(D),l(pt),l(Ye),l(Lt,8),l(k),l(J),l(_t,8))},t.\u0275cmp=T({type:t,selectors:[["mat-tab-header"]],contentQueries:function(i,o,a){if(i&1&&Pt(a,xm,4),i&2){let s;U(s=H())&&(o._items=s)}},viewQuery:function(i,o){if(i&1&&(nt(Ig,7),nt(Eg,7),nt(Dg,7),nt(Sg,5),nt(Tg,5)),i&2){let a;U(a=H())&&(o._tabListContainer=a.first),U(a=H())&&(o._tabList=a.first),U(a=H())&&(o._tabListInner=a.first),U(a=H())&&(o._nextPaginator=a.first),U(a=H())&&(o._previousPaginator=a.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(i,o){i&2&&z("mat-mdc-tab-header-pagination-controls-enabled",o._showPaginationControls)("mat-mdc-tab-header-rtl",o._getLayoutDirection()=="rtl")},inputs:{disableRipple:[b.HasDecoratorInputTransform,"disableRipple","disableRipple",q]},standalone:!0,features:[ft,it,A],ngContentSelectors:_c,decls:13,vars:10,consts:[["previousPaginator",""],["tabListContainer",""],["tabList",""],["tabListInner",""],["nextPaginator",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"click","mousedown","touchend","matRippleDisabled","disabled"],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],[1,"mat-mdc-tab-labels"],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"mousedown","click","touchend","matRippleDisabled","disabled"]],template:function(i,o){if(i&1){let a=mt();wt(),h(0,"button",5,0),S("click",function(){return $(a),W(o._handlePaginatorClick("before"))})("mousedown",function(c){return $(a),W(o._handlePaginatorPress("before",c))})("touchend",function(){return $(a),W(o._stopInterval())}),M(2,"div",6),f(),h(3,"div",7,1),S("keydown",function(c){return $(a),W(o._handleKeydown(c))}),h(5,"div",8,2),S("cdkObserveContent",function(){return $(a),W(o._onContentChanges())}),h(7,"div",9,3),at(9),f()()(),h(10,"button",10,4),S("mousedown",function(c){return $(a),W(o._handlePaginatorPress("after",c))})("click",function(){return $(a),W(o._handlePaginatorClick("after"))})("touchend",function(){return $(a),W(o._stopInterval())}),M(12,"div",6),f()}i&2&&(z("mat-mdc-tab-header-pagination-disabled",o._disableScrollBefore),j("matRippleDisabled",o._disableScrollBefore||o.disableRipple)("disabled",o._disableScrollBefore||null),v(3),z("_mat-animation-noopable",o._animationMode==="NoopAnimations"),v(7),z("mat-mdc-tab-header-pagination-disabled",o._disableScrollAfter),j("matRippleDisabled",o._disableScrollAfter||o.disableRipple)("disabled",o._disableScrollAfter||null))},dependencies:[Ve,Vl],styles:[".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-header-pagination-icon-color)}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1;border-bottom-style:solid;border-bottom-width:var(--mat-tab-header-divider-height);border-bottom-color:var(--mat-tab-header-divider-color)}.mat-mdc-tab-group-inverted-header .mat-mdc-tab-label-container{border-bottom:none;border-top-style:solid;border-top-width:var(--mat-tab-header-divider-height);border-top-color:var(--mat-tab-header-divider-color)}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.mat-mdc-tab::before{margin:5px}.cdk-high-contrast-active .mat-mdc-tab[aria-disabled=true]{color:GrayText}"],encapsulation:2});let n=t;return n})(),Zg=new y("MAT_TABS_CONFIG"),Qg={translateTab:Ne("translateTab",[Zt("center, void, left-origin-center, right-origin-center",It({transform:"none"})),Zt("left",It({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),Zt("right",It({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),Gt("* => left, * => right, left => center, right => center",Bt("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),Gt("void => left-origin-center",[It({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),Bt("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),Gt("void => right-origin-center",[It({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),Bt("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])},Kg=(()=>{let t=class t extends Kt{constructor(e,i,o,a){super(e,i,a),this._host=o,this._centeringSub=kt.EMPTY,this._leavingSub=kt.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(Ft(this._host._isCenterPosition(this._host._position))).subscribe(e=>{e&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}};t.\u0275fac=function(i){return new(i||t)(l(qi),l($t),l(Tt(()=>wm)),l(L))},t.\u0275dir=I({type:t,selectors:[["","matTabBodyHost",""]],standalone:!0,features:[it]});let n=t;return n})(),wm=(()=>{let t=class t{set position(e){this._positionIndex=e,this._computePositionAnimationState()}constructor(e,i,o){this._elementRef=e,this._dir=i,this._dirChangeSubscription=kt.EMPTY,this._translateTabComplete=new E,this._onCentering=new V,this._beforeCentering=new V,this._afterLeavingCenter=new V,this._onCentered=new V(!0),this.animationDuration="500ms",this.preserveContent=!1,i&&(this._dirChangeSubscription=i.change.subscribe(a=>{this._computePositionAnimationState(a),o.markForCheck()})),this._translateTabComplete.pipe(Sn((a,s)=>a.fromState===s.fromState&&a.toState===s.toState)).subscribe(a=>{this._isCenterPosition(a.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(a.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}ngOnInit(){this._position=="center"&&this.origin!=null&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(e){let i=this._isCenterPosition(e.toState);this._beforeCentering.emit(i),i&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_isCenterPosition(e){return e=="center"||e=="left-origin-center"||e=="right-origin-center"}_computePositionAnimationState(e=this._getLayoutDirection()){this._positionIndex<0?this._position=e=="ltr"?"left":"right":this._positionIndex>0?this._position=e=="ltr"?"right":"left":this._position="center"}_computePositionFromOrigin(e){let i=this._getLayoutDirection();return i=="ltr"&&e<=0||i=="rtl"&&e>0?"left-origin-center":"right-origin-center"}};t.\u0275fac=function(i){return new(i||t)(l(D),l(Lt,8),l(pt))},t.\u0275cmp=T({type:t,selectors:[["mat-tab-body"]],viewQuery:function(i,o){if(i&1&&nt(Kt,5),i&2){let a;U(a=H())&&(o._portalHost=a.first)}},hostAttrs:[1,"mat-mdc-tab-body"],inputs:{_content:[b.None,"content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"},standalone:!0,features:[A],decls:3,vars:6,consts:[["content",""],["cdkScrollable","",1,"mat-mdc-tab-body-content"],["matTabBodyHost",""]],template:function(i,o){if(i&1){let a=mt();h(0,"div",1,0),S("@translateTab.start",function(c){return $(a),W(o._onTranslateTabStarted(c))})("@translateTab.done",function(c){return $(a),W(o._translateTabComplete.next(c))}),B(2,Rg,0,0,"ng-template",2),f()}i&2&&j("@translateTab",Ed(3,Mg,o._position,Uo(1,Ag,o.animationDuration)))},dependencies:[Kg,uc],styles:['.mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-mdc-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[Qg.translateTab]}});let n=t;return n})(),Jg=0,t_=!0,Cm=(()=>{let t=class t{get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(e){this._fitInkBarToContent=e,this._changeDetectorRef.markForCheck()}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){this._indexToSelect=isNaN(e)?null:e}get animationDuration(){return this._animationDuration}set animationDuration(e){let i=e+"";this._animationDuration=/^\d+$/.test(i)?e+"ms":i}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(e){this._contentTabIndex=isNaN(e)?null:e}get backgroundColor(){return this._backgroundColor}set backgroundColor(e){if(!t_)throw new Error("mat-tab-group background color must be set through the Sass theming API");let i=this._elementRef.nativeElement.classList;i.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),e&&i.add("mat-tabs-with-background",`mat-background-${e}`),this._backgroundColor=e}constructor(e,i,o,a){this._elementRef=e,this._changeDetectorRef=i,this._animationMode=a,this._tabs=new An,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=kt.EMPTY,this._tabLabelSubscription=kt.EMPTY,this._fitInkBarToContent=!1,this.stretchTabs=!0,this.dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this.disablePagination=!1,this.disableRipple=!1,this.preserveContent=!1,this.selectedIndexChange=new V,this.focusChange=new V,this.animationDone=new V,this.selectedTabChange=new V(!0),this._isServer=!_(J).isBrowser,this._groupId=Jg++,this.animationDuration=o&&o.animationDuration?o.animationDuration:"500ms",this.disablePagination=o&&o.disablePagination!=null?o.disablePagination:!1,this.dynamicHeight=o&&o.dynamicHeight!=null?o.dynamicHeight:!1,o?.contentTabIndex!=null&&(this.contentTabIndex=o.contentTabIndex),this.preserveContent=!!o?.preserveContent,this.fitInkBarToContent=o&&o.fitInkBarToContent!=null?o.fitInkBarToContent:!1,this.stretchTabs=o&&o.stretchTabs!=null?o.stretchTabs:!0}ngAfterContentChecked(){let e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){let i=this._selectedIndex==null;if(!i){this.selectedTabChange.emit(this._createChangeEvent(e));let o=this._tabBodyWrapper.nativeElement;o.style.minHeight=o.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((o,a)=>o.isActive=a===e),i||(this.selectedIndexChange.emit(e),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((i,o)=>{i.position=o-e,this._selectedIndex!=null&&i.position==0&&!i.origin&&(i.origin=e-this._selectedIndex)}),this._selectedIndex!==e&&(this._selectedIndex=e,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{let e=this._clampTabIndex(this._indexToSelect);if(e===this._selectedIndex){let i=this._tabs.toArray(),o;for(let a=0;a{i[e].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(e))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe(Ft(this._allTabs)).subscribe(e=>{this._tabs.reset(e.filter(i=>i._closestTabGroup===this||!i._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(e){let i=this._tabHeader;i&&(i.focusIndex=e)}_focusChanged(e){this._lastFocusedTabIndex=e,this.focusChange.emit(this._createChangeEvent(e))}_createChangeEvent(e){let i=new gc;return i.index=e,this._tabs&&this._tabs.length&&(i.tab=this._tabs.toArray()[e]),i}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=Dt(...this._tabs.map(e=>e._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(e){return Math.min(this._tabs.length-1,Math.max(e||0,0))}_getTabLabelId(e){return`mat-tab-label-${this._groupId}-${e}`}_getTabContentId(e){return`mat-tab-content-${this._groupId}-${e}`}_setTabBodyWrapperHeight(e){if(!this.dynamicHeight||!this._tabBodyWrapperHeight)return;let i=this._tabBodyWrapper.nativeElement;i.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(i.style.height=e+"px")}_removeTabBodyWrapperHeight(){let e=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=e.clientHeight,e.style.height="",this.animationDone.emit()}_handleClick(e,i,o){i.focusIndex=o,e.disabled||(this.selectedIndex=o)}_getTabIndex(e){let i=this._lastFocusedTabIndex??this.selectedIndex;return e===i?0:-1}_tabFocusChanged(e,i){e&&e!=="mouse"&&e!=="touch"&&(this._tabHeader.focusIndex=i)}};t.\u0275fac=function(i){return new(i||t)(l(D),l(pt),l(Zg,8),l(_t,8))},t.\u0275cmp=T({type:t,selectors:[["mat-tab-group"]],contentQueries:function(i,o,a){if(i&1&&Pt(a,vc,5),i&2){let s;U(s=H())&&(o._allTabs=s)}},viewQuery:function(i,o){if(i&1&&(nt(Og,5),nt(Fg,5)),i&2){let a;U(a=H())&&(o._tabBodyWrapper=a.first),U(a=H())&&(o._tabHeader=a.first)}},hostAttrs:[1,"mat-mdc-tab-group"],hostVars:10,hostBindings:function(i,o){i&2&&(Mt("mat-"+(o.color||"primary")),ai("--mat-tab-animation-duration",o.animationDuration),z("mat-mdc-tab-group-dynamic-height",o.dynamicHeight)("mat-mdc-tab-group-inverted-header",o.headerPosition==="below")("mat-mdc-tab-group-stretch-tabs",o.stretchTabs))},inputs:{color:"color",fitInkBarToContent:[b.HasDecoratorInputTransform,"fitInkBarToContent","fitInkBarToContent",q],stretchTabs:[b.HasDecoratorInputTransform,"mat-stretch-tabs","stretchTabs",q],dynamicHeight:[b.HasDecoratorInputTransform,"dynamicHeight","dynamicHeight",q],selectedIndex:[b.HasDecoratorInputTransform,"selectedIndex","selectedIndex",ge],headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:[b.HasDecoratorInputTransform,"contentTabIndex","contentTabIndex",ge],disablePagination:[b.HasDecoratorInputTransform,"disablePagination","disablePagination",q],disableRipple:[b.HasDecoratorInputTransform,"disableRipple","disableRipple",q],preserveContent:[b.HasDecoratorInputTransform,"preserveContent","preserveContent",q],backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},exportAs:["matTabGroup"],standalone:!0,features:[st([{provide:ym,useExisting:t}]),ft,A],ngContentSelectors:_c,decls:9,vars:6,consts:[["tabHeader",""],["tabBodyWrapper",""],["tabNode",""],[3,"indexFocused","selectFocusedIndex","selectedIndex","disableRipple","disablePagination"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"id","mdc-tab--active","class","disabled","fitInkBarToContent"],[1,"mat-mdc-tab-body-wrapper"],["role","tabpanel",3,"id","mat-mdc-tab-body-active","class","content","position","origin","animationDuration","preserveContent"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"click","cdkFocusChange","id","disabled","fitInkBarToContent"],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"cdkPortalOutlet"],["role","tabpanel",3,"_onCentered","_onCentering","id","content","position","origin","animationDuration","preserveContent"]],template:function(i,o){if(i&1){let a=mt();wt(),h(0,"mat-tab-header",3,0),S("indexFocused",function(c){return $(a),W(o._focusChanged(c))})("selectFocusedIndex",function(c){return $(a),W(o.selectedIndex=c)}),he(2,jg,8,17,"div",4,Ii),f(),B(4,Vg,1,0),h(5,"div",5,1),he(7,Bg,1,13,"mat-tab-body",6,Ii),f()}i&2&&(j("selectedIndex",o.selectedIndex||0)("disableRipple",o.disableRipple)("disablePagination",o.disablePagination),v(2),fe(o._tabs),v(2),Q(4,o._isServer?4:-1),v(),z("_mat-animation-noopable",o._animationMode==="NoopAnimations"),v(2),fe(o._tabs))},dependencies:[Xg,xm,Jl,Ve,Kt,wm],styles:['.mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab[hidden]{display:none}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;font-family:var(--mat-tab-header-label-text-font);font-size:var(--mat-tab-header-label-text-size);letter-spacing:var(--mat-tab-header-label-text-tracking);line-height:var(--mat-tab-header-label-text-line-height);font-weight:var(--mat-tab-header-label-text-weight)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-top-width:var(--mdc-tab-indicator-active-indicator-height)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab:not(.mdc-tab--stacked){height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab:not(:disabled).mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab.mdc-tab{flex-grow:0}.mat-mdc-tab:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color)}.mat-mdc-tab:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color)}.mat-mdc-tab.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color);display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-focus-indicator::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}'],encapsulation:2});let n=t;return n})(),gc=class{};var km=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({imports:[K,K]});let n=t;return n})();var Im=yr(),yc=class{constructor(t,r){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=r}attach(){}enable(){if(this._canBeEnabled()){let t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=Et(-this._previousScrollPosition.left),t.style.top=Et(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let t=this._document.documentElement,r=this._document.body,e=t.style,i=r.style,o=e.scrollBehavior||"",a=i.scrollBehavior||"";this._isEnabled=!1,e.left=this._previousHTMLStyles.left,e.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),Im&&(e.scrollBehavior=i.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Im&&(e.scrollBehavior=o,i.scrollBehavior=a)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let r=this._document.body,e=this._viewportRuler.getViewportSize();return r.scrollHeight>e.height||r.scrollWidth>e.width}};var xc=class{constructor(t,r,e,i){this._scrollDispatcher=t,this._ngZone=r,this._viewportRuler=e,this._config=i,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(t){this._overlayRef,this._overlayRef=t}enable(){if(this._scrollSubscription)return;let t=this._scrollDispatcher.scrolled(0).pipe(tt(r=>!r||!this._overlayRef.overlayElement.contains(r.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{let r=this._viewportRuler.getViewportScrollPosition().top;Math.abs(r-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},Lr=class{enable(){}disable(){}attach(){}};function wc(n,t){return t.some(r=>{let e=n.bottomr.bottom,o=n.rightr.right;return e||i||o||a})}function Em(n,t){return t.some(r=>{let e=n.topr.bottom,o=n.leftr.right;return e||i||o||a})}var Cc=class{constructor(t,r,e,i){this._scrollDispatcher=t,this._viewportRuler=r,this._ngZone=e,this._config=i,this._scrollSubscription=null}attach(t){this._overlayRef,this._overlayRef=t}enable(){if(!this._scrollSubscription){let t=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(t).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let r=this._overlayRef.overlayElement.getBoundingClientRect(),{width:e,height:i}=this._viewportRuler.getViewportSize();wc(r,[{width:e,height:i,bottom:i,right:e,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}})}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},i_=(()=>{let t=class t{constructor(e,i,o,a){this._scrollDispatcher=e,this._viewportRuler=i,this._ngZone=o,this.noop=()=>new Lr,this.close=s=>new xc(this._scrollDispatcher,this._ngZone,this._viewportRuler,s),this.block=()=>new yc(this._viewportRuler,this._document),this.reposition=s=>new Cc(this._scrollDispatcher,this._viewportRuler,this._ngZone,s),this._document=a}};t.\u0275fac=function(i){return new(i||t)(u(bn),u(Ye),u(k),u(L))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),Xe=class{constructor(t){if(this.scrollStrategy=new Lr,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){let r=Object.keys(t);for(let e of r)t[e]!==void 0&&(this[e]=t[e])}}};var kc=class{constructor(t,r){this.connectionPair=t,this.scrollableViewProperties=r}};var Mm=(()=>{let t=class t{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){let i=this._attachedOverlays.indexOf(e);i>-1&&this._attachedOverlays.splice(i,1),this._attachedOverlays.length===0&&this.detach()}};t.\u0275fac=function(i){return new(i||t)(u(L))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),n_=(()=>{let t=class t extends Mm{constructor(e,i){super(e),this._ngZone=i,this._keydownListener=o=>{let a=this._attachedOverlays;for(let s=a.length-1;s>-1;s--)if(a[s]._keydownEvents.observers.length>0){let c=a[s]._keydownEvents;this._ngZone?this._ngZone.run(()=>c.next(o)):c.next(o);break}}}add(e){super.add(e),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}};t.\u0275fac=function(i){return new(i||t)(u(L),u(k,8))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),o_=(()=>{let t=class t extends Mm{constructor(e,i,o){super(e),this._platform=i,this._ngZone=o,this._cursorStyleIsSet=!1,this._pointerDownListener=a=>{this._pointerDownEventTarget=ne(a)},this._clickListener=a=>{let s=ne(a),c=a.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:s;this._pointerDownEventTarget=null;let d=this._attachedOverlays.slice();for(let m=d.length-1;m>-1;m--){let p=d[m];if(p._outsidePointerEvents.observers.length<1||!p.hasAttached())continue;if(p.overlayElement.contains(s)||p.overlayElement.contains(c))break;let w=p._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>w.next(a)):w.next(a)}}}add(e){if(super.add(e),!this._isAttached){let i=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(i)):this._addEventListeners(i),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){let e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(e){e.addEventListener("pointerdown",this._pointerDownListener,!0),e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0)}};t.\u0275fac=function(i){return new(i||t)(u(L),u(J),u(k,8))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),gn=(()=>{let t=class t{constructor(e,i){this._platform=i,this._document=e}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let e="cdk-overlay-container";if(this._platform.isBrowser||co()){let o=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let a=0;athis._backdropClick.next(p),this._backdropTransitionendHandler=p=>{this._disposeBackdrop(p.target)},this._keydownEvents=new E,this._outsidePointerEvents=new E,i.scrollStrategy&&(this._scrollStrategy=i.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=i.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let r=this._portalOutlet.attach(t);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(rt(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof r?.onDestroy=="function"&&r.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),r}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){let t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,t&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config=g(g({},this._config),t),this._updateElementSize()}setDirection(t){this._config=ht(g({},this._config),{direction:t}),this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){let t=this._config.direction;return t?typeof t=="string"?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let t=this._pane.style;t.width=Et(this._config.width),t.height=Et(this._config.height),t.minWidth=Et(this._config.minWidth),t.minHeight=Et(this._config.minHeight),t.maxWidth=Et(this._config.maxWidth),t.maxHeight=Et(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){let t="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(t)})}):this._backdropElement.classList.add(t)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let t=this._backdropElement;if(t){if(this._animationsDisabled){this._disposeBackdrop(t);return}t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{t.addEventListener("transitionend",this._backdropTransitionendHandler)}),t.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(t)},500))}}_toggleClasses(t,r,e){let i=ln(r||[]).filter(o=>!!o);i.length&&(e?t.classList.add(...i):t.classList.remove(...i))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{let t=this._ngZone.onStable.pipe(dt(Dt(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),t.unsubscribe())})})}_disposeScrollStrategy(){let t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}_disposeBackdrop(t){t&&(t.removeEventListener("click",this._backdropClickHandler),t.removeEventListener("transitionend",this._backdropTransitionendHandler),t.remove(),this._backdropElement===t&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}},Dm="cdk-overlay-connected-position-bounding-box",r_=/([A-Za-z%]+)$/,Ic=class{get positions(){return this._preferredPositions}constructor(t,r,e,i,o){this._viewportRuler=r,this._document=e,this._platform=i,this._overlayContainer=o,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new E,this._resizeSubscription=kt.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}attach(t){this._overlayRef&&this._overlayRef,this._validatePositions(),t.hostElement.classList.add(Dm),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let t=this._originRect,r=this._overlayRect,e=this._viewportRect,i=this._containerRect,o=[],a;for(let s of this._preferredPositions){let c=this._getOriginPoint(t,i,s),d=this._getOverlayPoint(c,r,s),m=this._getOverlayFit(d,r,e,s);if(m.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(s,c);return}if(this._canFitWithFlexibleDimensions(m,d,e)){o.push({position:s,origin:c,overlayRect:r,boundingBoxRect:this._calculateBoundingBoxRect(c,s)});continue}(!a||a.overlayFit.visibleAreac&&(c=m,s=d)}this._isPushed=!1,this._applyPosition(s.position,s.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(a.position,a.originPoint);return}this._applyPosition(a.position,a.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Li(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Dm),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let t=this._lastPosition;if(t){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let r=this._getOriginPoint(this._originRect,this._containerRect,t);this._applyPosition(t,r)}else this.apply()}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,t.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,r,e){let i;if(e.originX=="center")i=t.left+t.width/2;else{let a=this._isRtl()?t.right:t.left,s=this._isRtl()?t.left:t.right;i=e.originX=="start"?a:s}r.left<0&&(i-=r.left);let o;return e.originY=="center"?o=t.top+t.height/2:o=e.originY=="top"?t.top:t.bottom,r.top<0&&(o-=r.top),{x:i,y:o}}_getOverlayPoint(t,r,e){let i;e.overlayX=="center"?i=-r.width/2:e.overlayX==="start"?i=this._isRtl()?-r.width:0:i=this._isRtl()?0:-r.width;let o;return e.overlayY=="center"?o=-r.height/2:o=e.overlayY=="top"?0:-r.height,{x:t.x+i,y:t.y+o}}_getOverlayFit(t,r,e,i){let o=Tm(r),{x:a,y:s}=t,c=this._getOffset(i,"x"),d=this._getOffset(i,"y");c&&(a+=c),d&&(s+=d);let m=0-a,p=a+o.width-e.width,w=0-s,R=s+o.height-e.height,Z=this._subtractOverflows(o.width,m,p),ct=this._subtractOverflows(o.height,w,R),ot=Z*ct;return{visibleArea:ot,isCompletelyWithinViewport:o.width*o.height===ot,fitsInViewportVertically:ct===o.height,fitsInViewportHorizontally:Z==o.width}}_canFitWithFlexibleDimensions(t,r,e){if(this._hasFlexibleDimensions){let i=e.bottom-r.y,o=e.right-r.x,a=Sm(this._overlayRef.getConfig().minHeight),s=Sm(this._overlayRef.getConfig().minWidth),c=t.fitsInViewportVertically||a!=null&&a<=i,d=t.fitsInViewportHorizontally||s!=null&&s<=o;return c&&d}return!1}_pushOverlayOnScreen(t,r,e){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};let i=Tm(r),o=this._viewportRect,a=Math.max(t.x+i.width-o.width,0),s=Math.max(t.y+i.height-o.height,0),c=Math.max(o.top-e.top-t.y,0),d=Math.max(o.left-e.left-t.x,0),m=0,p=0;return i.width<=o.width?m=d||-a:m=t.xZ&&!this._isInitialRender&&!this._growAfterOpen&&(a=t.y-Z/2)}let c=r.overlayX==="start"&&!i||r.overlayX==="end"&&i,d=r.overlayX==="end"&&!i||r.overlayX==="start"&&i,m,p,w;if(d)w=e.width-t.x+this._viewportMargin*2,m=t.x-this._viewportMargin;else if(c)p=t.x,m=e.right-t.x;else{let R=Math.min(e.right-t.x+e.left,t.x),Z=this._lastBoundingBoxSize.width;m=R*2,p=t.x-R,m>Z&&!this._isInitialRender&&!this._growAfterOpen&&(p=t.x-Z/2)}return{top:a,left:p,bottom:s,right:w,width:m,height:o}}_setBoundingBoxStyles(t,r){let e=this._calculateBoundingBoxRect(t,r);!this._isInitialRender&&!this._growAfterOpen&&(e.height=Math.min(e.height,this._lastBoundingBoxSize.height),e.width=Math.min(e.width,this._lastBoundingBoxSize.width));let i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{let o=this._overlayRef.getConfig().maxHeight,a=this._overlayRef.getConfig().maxWidth;i.height=Et(e.height),i.top=Et(e.top),i.bottom=Et(e.bottom),i.width=Et(e.width),i.left=Et(e.left),i.right=Et(e.right),r.overlayX==="center"?i.alignItems="center":i.alignItems=r.overlayX==="end"?"flex-end":"flex-start",r.overlayY==="center"?i.justifyContent="center":i.justifyContent=r.overlayY==="bottom"?"flex-end":"flex-start",o&&(i.maxHeight=Et(o)),a&&(i.maxWidth=Et(a))}this._lastBoundingBoxSize=e,Li(this._boundingBox.style,i)}_resetBoundingBoxStyles(){Li(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Li(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,r){let e={},i=this._hasExactPosition(),o=this._hasFlexibleDimensions,a=this._overlayRef.getConfig();if(i){let m=this._viewportRuler.getViewportScrollPosition();Li(e,this._getExactOverlayY(r,t,m)),Li(e,this._getExactOverlayX(r,t,m))}else e.position="static";let s="",c=this._getOffset(r,"x"),d=this._getOffset(r,"y");c&&(s+=`translateX(${c}px) `),d&&(s+=`translateY(${d}px)`),e.transform=s.trim(),a.maxHeight&&(i?e.maxHeight=Et(a.maxHeight):o&&(e.maxHeight="")),a.maxWidth&&(i?e.maxWidth=Et(a.maxWidth):o&&(e.maxWidth="")),Li(this._pane.style,e)}_getExactOverlayY(t,r,e){let i={top:"",bottom:""},o=this._getOverlayPoint(r,this._overlayRect,t);if(this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,e)),t.overlayY==="bottom"){let a=this._document.documentElement.clientHeight;i.bottom=`${a-(o.y+this._overlayRect.height)}px`}else i.top=Et(o.y);return i}_getExactOverlayX(t,r,e){let i={left:"",right:""},o=this._getOverlayPoint(r,this._overlayRect,t);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,e));let a;if(this._isRtl()?a=t.overlayX==="end"?"left":"right":a=t.overlayX==="end"?"right":"left",a==="right"){let s=this._document.documentElement.clientWidth;i.right=`${s-(o.x+this._overlayRect.width)}px`}else i.left=Et(o.x);return i}_getScrollVisibility(){let t=this._getOriginRect(),r=this._pane.getBoundingClientRect(),e=this._scrollables.map(i=>i.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Em(t,e),isOriginOutsideView:wc(t,e),isOverlayClipped:Em(r,e),isOverlayOutsideView:wc(r,e)}}_subtractOverflows(t,...r){return r.reduce((e,i)=>e-Math.max(i,0),t)}_getNarrowedViewportRect(){let t=this._document.documentElement.clientWidth,r=this._document.documentElement.clientHeight,e=this._viewportRuler.getViewportScrollPosition();return{top:e.top+this._viewportMargin,left:e.left+this._viewportMargin,right:e.left+t-this._viewportMargin,bottom:e.top+r-this._viewportMargin,width:t-2*this._viewportMargin,height:r-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,r){return r==="x"?t.offsetX==null?this._offsetX:t.offsetX:t.offsetY==null?this._offsetY:t.offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&ln(t).forEach(r=>{r!==""&&this._appliedPanelClasses.indexOf(r)===-1&&(this._appliedPanelClasses.push(r),this._pane.classList.add(r))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){let t=this._origin;if(t instanceof D)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();let r=t.width||0,e=t.height||0;return{top:t.y,bottom:t.y+e,left:t.x,right:t.x+r,height:e,width:r}}};function Li(n,t){for(let r in t)t.hasOwnProperty(r)&&(n[r]=t[r]);return n}function Sm(n){if(typeof n!="number"&&n!=null){let[t,r]=n.split(r_);return!r||r==="px"?parseFloat(t):null}return n||null}function Tm(n){return{top:Math.floor(n.top),right:Math.floor(n.right),bottom:Math.floor(n.bottom),left:Math.floor(n.left),width:Math.floor(n.width),height:Math.floor(n.height)}}function a_(n,t){return n===t?!0:n.isOriginClipped===t.isOriginClipped&&n.isOriginOutsideView===t.isOriginOutsideView&&n.isOverlayClipped===t.isOverlayClipped&&n.isOverlayOutsideView===t.isOverlayOutsideView}var Am="cdk-global-overlay-wrapper",Ec=class{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(t){let r=t.getConfig();this._overlayRef=t,this._width&&!r.width&&t.updateSize({width:this._width}),this._height&&!r.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(Am),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._xOffset=t,this._xPosition="left",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._xOffset=t,this._xPosition="right",this}start(t=""){return this._xOffset=t,this._xPosition="start",this}end(t=""){return this._xOffset=t,this._xPosition="end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._xPosition="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let t=this._overlayRef.overlayElement.style,r=this._overlayRef.hostElement.style,e=this._overlayRef.getConfig(),{width:i,height:o,maxWidth:a,maxHeight:s}=e,c=(i==="100%"||i==="100vw")&&(!a||a==="100%"||a==="100vw"),d=(o==="100%"||o==="100vh")&&(!s||s==="100%"||s==="100vh"),m=this._xPosition,p=this._xOffset,w=this._overlayRef.getConfig().direction==="rtl",R="",Z="",ct="";c?ct="flex-start":m==="center"?(ct="center",w?Z=p:R=p):w?m==="left"||m==="end"?(ct="flex-end",R=p):(m==="right"||m==="start")&&(ct="flex-start",Z=p):m==="left"||m==="start"?(ct="flex-start",R=p):(m==="right"||m==="end")&&(ct="flex-end",Z=p),t.position=this._cssPosition,t.marginLeft=c?"0":R,t.marginTop=d?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=c?"0":Z,r.justifyContent=ct,r.alignItems=d?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let t=this._overlayRef.overlayElement.style,r=this._overlayRef.hostElement,e=r.style;r.classList.remove(Am),e.justifyContent=e.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}},s_=(()=>{let t=class t{constructor(e,i,o,a){this._viewportRuler=e,this._document=i,this._platform=o,this._overlayContainer=a}global(){return new Ec}flexibleConnectedTo(e){return new Ic(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}};t.\u0275fac=function(i){return new(i||t)(u(Ye),u(L),u(J),u(gn))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),c_=0,yt=(()=>{let t=class t{constructor(e,i,o,a,s,c,d,m,p,w,R,Z){this.scrollStrategies=e,this._overlayContainer=i,this._componentFactoryResolver=o,this._positionBuilder=a,this._keyboardDispatcher=s,this._injector=c,this._ngZone=d,this._document=m,this._directionality=p,this._location=w,this._outsideClickDispatcher=R,this._animationsModuleType=Z}create(e){let i=this._createHostElement(),o=this._createPaneElement(i),a=this._createPortalOutlet(o),s=new Xe(e);return s.direction=s.direction||this._directionality.value,new Re(a,i,o,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations")}position(){return this._positionBuilder}_createPaneElement(e){let i=this._document.createElement("div");return i.id=`cdk-overlay-${c_++}`,i.classList.add("cdk-overlay-pane"),e.appendChild(i),i}_createHostElement(){let e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(si)),new Nr(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}};t.\u0275fac=function(i){return new(i||t)(u(i_),u(gn),u(qi),u(s_),u(n_),u(xt),u(k),u(L),u(Lt),u(ci),u(o_),u(_t,8))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();var d_=new y("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let n=_(yt);return()=>n.scrollStrategies.reposition()}});function l_(n){return()=>n.scrollStrategies.reposition()}var m_={provide:d_,deps:[yt],useFactory:l_},Be=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({providers:[yt,m_],imports:[fi,Me,hc,hc]});let n=t;return n})();function u_(n,t){}var Ze=class{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0,this.closeOnOverlayDetachments=!0}};var bo=(()=>{let t=class t extends pi{constructor(e,i,o,a,s,c,d,m){super(),this._elementRef=e,this._focusTrapFactory=i,this._config=a,this._interactivityChecker=s,this._ngZone=c,this._overlayRef=d,this._focusMonitor=m,this._platform=_(J),this._focusTrap=null,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this._ariaLabelledByQueue=[],this._changeDetectorRef=_(pt),this.attachDomPortal=p=>{this._portalOutlet.hasAttached();let w=this._portalOutlet.attachDomPortal(p);return this._contentAttached(),w},this._document=o,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(e){this._ariaLabelledByQueue.push(e),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(e){let i=this._ariaLabelledByQueue.indexOf(e);i>-1&&(this._ariaLabelledByQueue.splice(i,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(e){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachComponentPortal(e);return this._contentAttached(),i}attachTemplatePortal(e){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachTemplatePortal(e);return this._contentAttached(),i}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,i){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let o=()=>{e.removeEventListener("blur",o),e.removeEventListener("mousedown",o),e.removeAttribute("tabindex")};e.addEventListener("blur",o),e.addEventListener("mousedown",o)})),e.focus(i)}_focusByCssSelector(e,i){let o=this._elementRef.nativeElement.querySelector(e);o&&this._forceFocus(o,i)}_trapFocus(){let e=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||e.focus();break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElementWhenReady().then(i=>{i||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus);break}}_restoreFocus(){let e=this._config.restoreFocus,i=null;if(typeof e=="string"?i=this._document.querySelector(e):typeof e=="boolean"?i=e?this._elementFocusedBeforeDialogWasOpened:null:e&&(i=e),this._config.restoreFocus&&i&&typeof i.focus=="function"){let o=so(),a=this._elementRef.nativeElement;(!o||o===this._document.body||o===a||a.contains(o))&&(this._focusMonitor?(this._focusMonitor.focusVia(i,this._closeInteractionType),this._closeInteractionType=null):i.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){let e=this._elementRef.nativeElement,i=so();return e===i||e.contains(i)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=so()))}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}};t.\u0275fac=function(i){return new(i||t)(l(D),l(hn),l(L,8),l(Ze),l(Pi),l(k),l(Re),l(ae))},t.\u0275cmp=T({type:t,selectors:[["cdk-dialog-container"]],viewQuery:function(i,o){if(i&1&&nt(Kt,7),i&2){let a;U(a=H())&&(o._portalOutlet=a.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(i,o){i&2&&Y("id",o._config.id||null)("role",o._config.role)("aria-modal",o._config.ariaModal)("aria-labelledby",o._config.ariaLabel?null:o._ariaLabelledByQueue[0])("aria-label",o._config.ariaLabel)("aria-describedby",o._config.ariaDescribedBy||null)},standalone:!0,features:[it,A],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(i,o){i&1&&B(0,u_,0,0,"ng-template",0)},dependencies:[Kt],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2});let n=t;return n})(),po=class{constructor(t,r){this.overlayRef=t,this.config=r,this.closed=new E,this.disableClose=r.disableClose,this.backdropClick=t.backdropClick(),this.keydownEvents=t.keydownEvents(),this.outsidePointerEvents=t.outsidePointerEvents(),this.id=r.id,this.keydownEvents.subscribe(e=>{e.keyCode===27&&!this.disableClose&&!Rt(e)&&(e.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=t.detachments().subscribe(()=>{r.closeOnOverlayDetachments!==!1&&this.close()})}close(t,r){if(this.containerInstance){let e=this.closed;this.containerInstance._closeInteractionType=r?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),e.next(t),e.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(t="",r=""){return this.overlayRef.updateSize({width:t,height:r}),this}addPanelClass(t){return this.overlayRef.addPanelClass(t),this}removePanelClass(t){return this.overlayRef.removePanelClass(t),this}},h_=new y("DialogScrollStrategy",{providedIn:"root",factory:()=>{let n=_(yt);return()=>n.scrollStrategies.block()}}),f_=new y("DialogData"),p_=new y("DefaultDialogConfig");var b_=0,go=(()=>{let t=class t{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(e,i,o,a,s,c){this._overlay=e,this._injector=i,this._defaultOptions=o,this._parentDialog=a,this._overlayContainer=s,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new E,this._afterOpenedAtThisLevel=new E,this._ariaHiddenElements=new Map,this.afterAllClosed=le(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Ft(void 0))),this._scrollStrategy=c}open(e,i){let o=this._defaultOptions||new Ze;i=g(g({},o),i),i.id=i.id||`cdk-dialog-${b_++}`,i.id&&this.getDialogById(i.id);let a=this._getOverlayConfig(i),s=this._overlay.create(a),c=new po(s,i),d=this._attachContainer(s,c,i);return c.containerInstance=d,this._attachDialogContent(e,c,d,i),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(c),c.closed.subscribe(()=>this._removeOpenDialog(c,!0)),this.afterOpened.next(c),c}closeAll(){Dc(this.openDialogs,e=>e.close())}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){Dc(this._openDialogsAtThisLevel,e=>{e.config.closeOnDestroy===!1&&this._removeOpenDialog(e,!1)}),Dc(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(e){let i=new Xe({positionStrategy:e.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,width:e.width,height:e.height,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(i.backdropClass=e.backdropClass),i}_attachContainer(e,i,o){let a=o.injector||o.viewContainerRef?.injector,s=[{provide:Ze,useValue:o},{provide:po,useValue:i},{provide:Re,useValue:e}],c;o.container?typeof o.container=="function"?c=o.container:(c=o.container.type,s.push(...o.container.providers(o))):c=bo;let d=new Ae(c,o.viewContainerRef,xt.create({parent:a||this._injector,providers:s}),o.componentFactoryResolver);return e.attach(d).instance}_attachDialogContent(e,i,o,a){if(e instanceof Vt){let s=this._createInjector(a,i,o,void 0),c={$implicit:a.data,dialogRef:i};a.templateContext&&(c=g(g({},c),typeof a.templateContext=="function"?a.templateContext():a.templateContext)),o.attachTemplatePortal(new se(e,null,c,s))}else{let s=this._createInjector(a,i,o,this._injector),c=o.attachComponentPortal(new Ae(e,a.viewContainerRef,s,a.componentFactoryResolver));i.componentRef=c,i.componentInstance=c.instance}}_createInjector(e,i,o,a){let s=e.injector||e.viewContainerRef?.injector,c=[{provide:f_,useValue:e.data},{provide:po,useValue:i}];return e.providers&&(typeof e.providers=="function"?c.push(...e.providers(i,e,o)):c.push(...e.providers)),e.direction&&(!s||!s.get(Lt,null,{optional:!0}))&&c.push({provide:Lt,useValue:{value:e.direction,change:O()}}),xt.create({parent:s||a,providers:c})}_removeOpenDialog(e,i){let o=this.openDialogs.indexOf(e);o>-1&&(this.openDialogs.splice(o,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((a,s)=>{a?s.setAttribute("aria-hidden",a):s.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),i&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){let e=this._overlayContainer.getContainerElement();if(e.parentElement){let i=e.parentElement.children;for(let o=i.length-1;o>-1;o--){let a=i[o];a!==e&&a.nodeName!=="SCRIPT"&&a.nodeName!=="STYLE"&&!a.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(a,a.getAttribute("aria-hidden")),a.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}};t.\u0275fac=function(i){return new(i||t)(u(yt),u(xt),u(p_,8),u(t,12),u(gn),u(h_))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();function Dc(n,t){let r=n.length;for(;r--;)t(n[r])}var jr=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({providers:[go],imports:[Be,Me,Mr,Me]});let n=t;return n})();function __(n,t){}var v_={bottomSheetState:Ne("state",[Zt("void, hidden",It({transform:"translateY(100%)"})),Zt("visible",It({transform:"translateY(0%)"})),Gt("visible => void, visible => hidden",Nn([Bt(`${rc.COMPLEX} ${oc.ACCELERATION_CURVE}`),Na("@*",Pa(),{optional:!0})])),Gt("void => visible",Nn([Bt(`${rc.EXITING} ${oc.DECELERATION_CURVE}`),Na("@*",Pa(),{optional:!0})]))])},y_=(()=>{let t=class t extends bo{constructor(e,i,o,a,s,c,d,m,p){super(e,i,o,a,s,c,d,p),this._animationState="void",this._animationStateChanged=new V,this._breakpointSubscription=m.observe([qe.Medium,qe.Large,qe.XLarge]).subscribe(()=>{this._toggleClass("mat-bottom-sheet-container-medium",m.isMatched(qe.Medium)),this._toggleClass("mat-bottom-sheet-container-large",m.isMatched(qe.Large)),this._toggleClass("mat-bottom-sheet-container-xlarge",m.isMatched(qe.XLarge))})}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges())}exit(){this._destroyed||(this._animationState="hidden",this._changeDetectorRef.markForCheck())}ngOnDestroy(){super.ngOnDestroy(),this._breakpointSubscription.unsubscribe(),this._destroyed=!0}_onAnimationDone(e){e.toState==="visible"&&this._trapFocus(),this._animationStateChanged.emit(e)}_onAnimationStart(e){this._animationStateChanged.emit(e)}_captureInitialFocus(){}_toggleClass(e,i){this._elementRef.nativeElement.classList.toggle(e,i)}};t.\u0275fac=function(i){return new(i||t)(l(D),l(hn),l(L,8),l(Ze),l(Pi),l(k),l(Re),l(mn),l(ae))},t.\u0275cmp=T({type:t,selectors:[["mat-bottom-sheet-container"]],hostAttrs:["tabindex","-1",1,"mat-bottom-sheet-container"],hostVars:4,hostBindings:function(i,o){i&1&&zo("@state.start",function(s){return o._onAnimationStart(s)})("@state.done",function(s){return o._onAnimationDone(s)}),i&2&&(Bo("@state",o._animationState),Y("role",o._config.role)("aria-modal",o._config.ariaModal)("aria-label",o._config.ariaLabel))},standalone:!0,features:[it,A],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(i,o){i&1&&B(0,__,0,0,"ng-template",0)},dependencies:[Kt],styles:[".mat-bottom-sheet-container{box-shadow:0px 8px 10px -5px rgba(0, 0, 0, 0.2), 0px 16px 24px 2px rgba(0, 0, 0, 0.14), 0px 6px 30px 5px rgba(0, 0, 0, 0.12);padding:8px 16px;min-width:100vw;box-sizing:border-box;display:block;outline:0;max-height:80vh;overflow:auto;background:var(--mat-bottom-sheet-container-background-color);color:var(--mat-bottom-sheet-container-text-color);font-family:var(--mat-bottom-sheet-container-text-font);font-size:var(--mat-bottom-sheet-container-text-size);line-height:var(--mat-bottom-sheet-container-text-line-height);font-weight:var(--mat-bottom-sheet-container-text-weight);letter-spacing:var(--mat-bottom-sheet-container-text-tracking)}.cdk-high-contrast-active .mat-bottom-sheet-container{outline:1px solid}.mat-bottom-sheet-container-xlarge,.mat-bottom-sheet-container-large,.mat-bottom-sheet-container-medium{border-top-left-radius:var(--mat-bottom-sheet-container-shape);border-top-right-radius:var(--mat-bottom-sheet-container-shape)}.mat-bottom-sheet-container-medium{min-width:384px;max-width:calc(100vw - 128px)}.mat-bottom-sheet-container-large{min-width:512px;max-width:calc(100vw - 256px)}.mat-bottom-sheet-container-xlarge{min-width:576px;max-width:calc(100vw - 384px)}"],encapsulation:2,data:{animation:[v_.bottomSheetState]}});let n=t;return n})(),Tc=new y("MatBottomSheetData"),Sc=class{constructor(){this.data=null,this.hasBackdrop=!0,this.disableClose=!1,this.ariaLabel=null,this.ariaModal=!0,this.closeOnNavigation=!0,this.autoFocus="dialog",this.restoreFocus=!0}},vn=class{get instance(){return this._ref.componentInstance}get componentRef(){return this._ref.componentRef}constructor(t,r,e){this._ref=t,this._afterOpened=new E,this.containerInstance=e,this.disableClose=r.disableClose,e._animationStateChanged.pipe(tt(i=>i.phaseName==="done"&&i.toState==="visible"),rt(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),e._animationStateChanged.pipe(tt(i=>i.phaseName==="done"&&i.toState==="hidden"),rt(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._ref.close(this._result)}),t.overlayRef.detachments().subscribe(()=>{this._ref.close(this._result)}),Dt(this.backdropClick(),this.keydownEvents().pipe(tt(i=>i.keyCode===27))).subscribe(i=>{!this.disableClose&&(i.type!=="keydown"||!Rt(i))&&(i.preventDefault(),this.dismiss())})}dismiss(t){this.containerInstance&&(this.containerInstance._animationStateChanged.pipe(tt(r=>r.phaseName==="start"),rt(1)).subscribe(r=>{this._closeFallbackTimeout=setTimeout(()=>{this._ref.close(this._result)},r.totalTime+100),this._ref.overlayRef.detachBackdrop()}),this._result=t,this.containerInstance.exit(),this.containerInstance=null)}afterDismissed(){return this._ref.closed}afterOpened(){return this._afterOpened}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}},x_=new y("mat-bottom-sheet-default-options"),_o=(()=>{let t=class t{get _openedBottomSheetRef(){let e=this._parentBottomSheet;return e?e._openedBottomSheetRef:this._bottomSheetRefAtThisLevel}set _openedBottomSheetRef(e){this._parentBottomSheet?this._parentBottomSheet._openedBottomSheetRef=e:this._bottomSheetRefAtThisLevel=e}constructor(e,i,o,a){this._overlay=e,this._parentBottomSheet=o,this._defaultOptions=a,this._bottomSheetRefAtThisLevel=null,this._dialog=i.get(go)}open(e,i){let o=g(g({},this._defaultOptions||new Sc),i),a;return this._dialog.open(e,ht(g({},o),{disableClose:!0,closeOnOverlayDetachments:!1,maxWidth:"100%",container:y_,scrollStrategy:o.scrollStrategy||this._overlay.scrollStrategies.block(),positionStrategy:this._overlay.position().global().centerHorizontally().bottom("0"),templateContext:()=>({bottomSheetRef:a}),providers:(s,c,d)=>(a=new vn(s,o,d),[{provide:vn,useValue:a},{provide:Tc,useValue:o.data}])})),a.afterDismissed().subscribe(()=>{this._openedBottomSheetRef===a&&(this._openedBottomSheetRef=null)}),this._openedBottomSheetRef?(this._openedBottomSheetRef.afterDismissed().subscribe(()=>a.containerInstance?.enter()),this._openedBottomSheetRef.dismiss()):a.containerInstance.enter(),this._openedBottomSheetRef=a,a}dismiss(e){this._openedBottomSheetRef&&this._openedBottomSheetRef.dismiss(e)}ngOnDestroy(){this._bottomSheetRefAtThisLevel&&this._bottomSheetRefAtThisLevel.dismiss()}};t.\u0275fac=function(i){return new(i||t)(u(yt),u(xt),u(t,12),u(x_,8))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),Vr=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({providers:[_o],imports:[jr,K,Me,K]});let n=t;return n})();var w_=["mat-button",""],Om=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],Fm=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"];var C_=".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}",k_=["mat-fab",""];var I_=["mat-icon-button",""],E_=["*"];var D_=new y("MAT_BUTTON_CONFIG");var S_=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],Mc=(()=>{let t=class t{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(e){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,e)}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=e,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._updateRippleDisabled()}constructor(e,i,o,a){this._elementRef=e,this._platform=i,this._ngZone=o,this._animationMode=a,this._focusMonitor=_(ae),this._rippleLoader=_(mm),this._isFab=!1,this._disableRipple=!1,this._disabled=!1;let s=_(D_,{optional:!0}),c=e.nativeElement,d=c.classList;this.disabledInteractive=s?.disabledInteractive??!1,this._rippleLoader?.configureRipple(c,{className:"mat-mdc-button-ripple"});for(let{attribute:m,mdcClasses:p}of S_)c.hasAttribute(m)&&d.add(...p)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(e="program",i){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,i):this._elementRef.nativeElement.focus(i)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}};t.\u0275fac=function(i){Fn()},t.\u0275dir=I({type:t,inputs:{color:"color",disableRipple:[b.HasDecoratorInputTransform,"disableRipple","disableRipple",q],disabled:[b.HasDecoratorInputTransform,"disabled","disabled",q],ariaDisabled:[b.HasDecoratorInputTransform,"aria-disabled","ariaDisabled",q],disabledInteractive:[b.HasDecoratorInputTransform,"disabledInteractive","disabledInteractive",q]},features:[ft]});let n=t;return n})();var xe=(()=>{let t=class t extends Mc{constructor(e,i,o,a){super(e,i,o,a)}};t.\u0275fac=function(i){return new(i||t)(l(D),l(J),l(k),l(_t,8))},t.\u0275cmp=T({type:t,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(i,o){i&2&&(Y("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled()),Mt(o.color?"mat-"+o.color:""),z("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[it,A],attrs:w_,ngContentSelectors:Fm,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,o){i&1&&(wt(Om),M(0,"span",0),at(1),h(2,"span",1),at(3,1),f(),at(4,2),M(5,"span",2)(6,"span",3)),i&2&&z("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px);display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{font-family:var(--mdc-text-button-label-text-font);font-size:var(--mdc-text-button-label-text-size);letter-spacing:var(--mdc-text-button-label-text-tracking);font-weight:var(--mdc-text-button-label-text-weight);text-transform:var(--mdc-text-button-label-text-transform);height:var(--mdc-text-button-container-height);border-radius:var(--mdc-text-button-container-shape);padding:0 var(--mat-text-button-horizontal-padding, 8px)}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape)}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 8px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color)}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity)}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity)}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity)}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display)}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-unelevated-button{font-family:var(--mdc-filled-button-label-text-font);font-size:var(--mdc-filled-button-label-text-size);letter-spacing:var(--mdc-filled-button-label-text-tracking);font-weight:var(--mdc-filled-button-label-text-weight);text-transform:var(--mdc-filled-button-label-text-transform);height:var(--mdc-filled-button-container-height);border-radius:var(--mdc-filled-button-container-shape);padding:0 var(--mat-filled-button-horizontal-padding, 16px)}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color)}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color)}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity)}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity)}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity)}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display)}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{font-family:var(--mdc-protected-button-label-text-font);font-size:var(--mdc-protected-button-label-text-size);letter-spacing:var(--mdc-protected-button-label-text-tracking);font-weight:var(--mdc-protected-button-label-text-weight);text-transform:var(--mdc-protected-button-label-text-transform);height:var(--mdc-protected-button-container-height);border-radius:var(--mdc-protected-button-container-shape);padding:0 var(--mat-protected-button-horizontal-padding, 16px);box-shadow:var(--mdc-protected-button-container-elevation-shadow)}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color)}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color)}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity)}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity)}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity)}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display)}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow)}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow)}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow)}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow)}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{font-family:var(--mdc-outlined-button-label-text-font);font-size:var(--mdc-outlined-button-label-text-size);letter-spacing:var(--mdc-outlined-button-label-text-tracking);font-weight:var(--mdc-outlined-button-label-text-weight);text-transform:var(--mdc-outlined-button-label-text-transform);height:var(--mdc-outlined-button-container-height);border-radius:var(--mdc-outlined-button-container-shape);padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width);padding:0 var(--mat-outlined-button-horizontal-padding, 15px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color)}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape)}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color)}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width))}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color)}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity)}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity)}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity)}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display)}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button-base{text-decoration:none}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px)*-1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0});let n=t;return n})();var T_=new y("mat-mdc-fab-default-options",{providedIn:"root",factory:Pm});function Pm(){return{color:"accent"}}var Rm=Pm(),Nm=(()=>{let t=class t extends Mc{constructor(e,i,o,a,s){super(e,i,o,a),this._options=s,this._isFab=!0,this._options=this._options||Rm,this.color=this._options.color||Rm.color}};t.\u0275fac=function(i){return new(i||t)(l(D),l(J),l(k),l(_t,8),l(T_,8))},t.\u0275cmp=T({type:t,selectors:[["button","mat-fab",""]],hostVars:18,hostBindings:function(i,o){i&2&&(Y("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled()),Mt(o.color?"mat-"+o.color:""),z("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0)("mdc-fab--extended",o.extended)("mat-mdc-extended-fab",o.extended))},inputs:{extended:[b.HasDecoratorInputTransform,"extended","extended",q]},exportAs:["matButton"],standalone:!0,features:[ft,it,A],attrs:k_,ngContentSelectors:Fm,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,o){i&1&&(wt(Om),M(0,"span",0),at(1),h(2,"span",1),at(3,1),f(),at(4,2),M(5,"span",2)(6,"span",3)),i&2&&z("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-fab{background-color:var(--mdc-fab-container-color)}.mat-mdc-fab .mdc-fab__icon{width:var(--mdc-fab-icon-size);height:var(--mdc-fab-icon-size);font-size:var(--mdc-fab-icon-size)}.mat-mdc-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape)}.mat-mdc-mini-fab{background-color:var(--mdc-fab-small-container-color)}.mat-mdc-mini-fab .mdc-fab__icon{width:var(--mdc-fab-small-icon-size);height:var(--mdc-fab-small-icon-size);font-size:var(--mdc-fab-small-icon-size)}.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-small-container-shape)}.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-small-container-shape)}.mat-mdc-extended-fab{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mdc-extended-fab-container-height);border-radius:var(--mdc-extended-fab-container-shape);font-family:var(--mdc-extended-fab-label-text-font);font-size:var(--mdc-extended-fab-label-text-size);font-weight:var(--mdc-extended-fab-label-text-weight);letter-spacing:var(--mdc-extended-fab-label-text-tracking)}.mat-mdc-extended-fab .mdc-fab__ripple{border-radius:var(--mdc-extended-fab-container-shape)}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);flex-shrink:0}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-mini-fab:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}.mat-mdc-fab .mat-icon,.mat-mdc-fab .material-icons,.mat-mdc-mini-fab .mat-icon,.mat-mdc-mini-fab .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled,.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-fab[disabled],.mat-mdc-fab[disabled]:focus,.mat-mdc-fab.mat-mdc-button-disabled,.mat-mdc-fab.mat-mdc-button-disabled:focus,.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab[disabled]:focus,.mat-mdc-mini-fab.mat-mdc-button-disabled,.mat-mdc-mini-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-fab.mat-mdc-button-disabled-interactive,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab{color:var(--mat-fab-foreground-color, inherit);box-shadow:var(--mdc-fab-container-elevation-shadow)}.mat-mdc-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-touch-target-display)}.mat-mdc-fab .mat-ripple-element{background-color:var(--mat-fab-ripple-color)}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-state-layer-color)}.mat-mdc-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-disabled-state-layer-color)}.mat-mdc-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-hover-state-layer-opacity)}.mat-mdc-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-focus-state-layer-opacity)}.mat-mdc-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-pressed-state-layer-opacity)}.mat-mdc-fab:hover{box-shadow:var(--mdc-fab-hover-container-elevation-shadow)}.mat-mdc-fab:focus{box-shadow:var(--mdc-fab-focus-container-elevation-shadow)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active{box-shadow:var(--mdc-fab-pressed-container-elevation-shadow)}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-disabled-state-foreground-color);background-color:var(--mat-fab-disabled-state-container-color)}.mat-mdc-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-mini-fab{color:var(--mat-fab-small-foreground-color, inherit);box-shadow:var(--mdc-fab-small-container-elevation-shadow)}.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-small-touch-target-display)}.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-fab-small-ripple-color)}.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-state-layer-color)}.mat-mdc-mini-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-disabled-state-layer-color)}.mat-mdc-mini-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-hover-state-layer-opacity)}.mat-mdc-mini-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-focus-state-layer-opacity)}.mat-mdc-mini-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-pressed-state-layer-opacity)}.mat-mdc-mini-fab:hover{box-shadow:var(--mdc-fab-small-hover-container-elevation-shadow)}.mat-mdc-mini-fab:focus{box-shadow:var(--mdc-fab-small-focus-container-elevation-shadow)}.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:var(--mdc-fab-small-pressed-container-elevation-shadow)}.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-small-disabled-state-foreground-color);background-color:var(--mat-fab-small-disabled-state-container-color)}.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-extended-fab{box-shadow:var(--mdc-extended-fab-container-elevation-shadow)}.mat-mdc-extended-fab:hover{box-shadow:var(--mdc-extended-fab-hover-container-elevation-shadow)}.mat-mdc-extended-fab:focus{box-shadow:var(--mdc-extended-fab-focus-container-elevation-shadow)}.mat-mdc-extended-fab:active,.mat-mdc-extended-fab:focus:active{box-shadow:var(--mdc-extended-fab-pressed-container-elevation-shadow)}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab[disabled]:focus,.mat-mdc-extended-fab.mat-mdc-button-disabled,.mat-mdc-extended-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-extended-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}'],encapsulation:2,changeDetection:0});let n=t;return n})();var bi=(()=>{let t=class t extends Mc{constructor(e,i,o,a){super(e,i,o,a),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}};t.\u0275fac=function(i){return new(i||t)(l(D),l(J),l(k),l(_t,8))},t.\u0275cmp=T({type:t,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(i,o){i&2&&(Y("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled()),Mt(o.color?"mat-"+o.color:""),z("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[it,A],attrs:I_,ngContentSelectors:E_,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,o){i&1&&(wt(),M(0,"span",0),at(1),M(2,"span",1)(3,"span",2))},styles:['.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{color:var(--mdc-icon-button-icon-color)}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 48px);height:var(--mdc-icon-button-state-layer-size, 48px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 48px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size);-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color)}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color)}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity)}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity)}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity)}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',C_],encapsulation:2,changeDetection:0});let n=t;return n})();var St=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({imports:[K,sc,K]});let n=t;return n})();var A_=["*"],Br;function M_(){if(Br===void 0&&(Br=null,typeof window<"u")){let n=window;n.trustedTypes!==void 0&&(Br=n.trustedTypes.createPolicy("angular#components",{createHTML:t=>t}))}return Br}function vo(n){return M_()?.createHTML(n)||n}function Lm(n){return Error(`Unable to find icon with the name "${n}"`)}function R_(){return Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.")}function jm(n){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${n}".`)}function Vm(n){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${n}".`)}var Ke=class{constructor(t,r,e){this.url=t,this.svgText=r,this.options=e}},O_=(()=>{let t=class t{constructor(e,i,o,a){this._httpClient=e,this._sanitizer=i,this._errorHandler=a,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=o}addSvgIcon(e,i,o){return this.addSvgIconInNamespace("",e,i,o)}addSvgIconLiteral(e,i,o){return this.addSvgIconLiteralInNamespace("",e,i,o)}addSvgIconInNamespace(e,i,o,a){return this._addSvgIconConfig(e,i,new Ke(o,null,a))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,i,o,a){let s=this._sanitizer.sanitize(te.HTML,o);if(!s)throw Vm(o);let c=vo(s);return this._addSvgIconConfig(e,i,new Ke("",c,a))}addSvgIconSet(e,i){return this.addSvgIconSetInNamespace("",e,i)}addSvgIconSetLiteral(e,i){return this.addSvgIconSetLiteralInNamespace("",e,i)}addSvgIconSetInNamespace(e,i,o){return this._addSvgIconSetConfig(e,new Ke(i,null,o))}addSvgIconSetLiteralInNamespace(e,i,o){let a=this._sanitizer.sanitize(te.HTML,i);if(!a)throw Vm(i);let s=vo(a);return this._addSvgIconSetConfig(e,new Ke("",s,o))}registerFontClassAlias(e,i=e){return this._fontCssClassesByAlias.set(e,i),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(...e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){let i=this._sanitizer.sanitize(te.RESOURCE_URL,e);if(!i)throw jm(e);let o=this._cachedIconsByUrl.get(i);return o?O(zr(o)):this._loadSvgIconFromConfig(new Ke(e,null)).pipe(lt(a=>this._cachedIconsByUrl.set(i,a)),F(a=>zr(a)))}getNamedSvgIcon(e,i=""){let o=Bm(i,e),a=this._svgIconConfigs.get(o);if(a)return this._getSvgFromConfig(a);if(a=this._getIconConfigFromResolvers(i,e),a)return this._svgIconConfigs.set(o,a),this._getSvgFromConfig(a);let s=this._iconSetConfigs.get(i);return s?this._getSvgFromIconSetConfigs(e,s):Jt(Lm(o))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?O(zr(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(F(i=>zr(i)))}_getSvgFromIconSetConfigs(e,i){let o=this._extractIconWithNameFromAnySet(e,i);if(o)return O(o);let a=i.filter(s=>!s.svgText).map(s=>this._loadSvgIconSetFromConfig(s).pipe(me(c=>{let m=`Loading icon set URL: ${this._sanitizer.sanitize(te.RESOURCE_URL,s.url)} failed: ${c.message}`;return this._errorHandler.handleError(new Error(m)),O(null)})));return Oo(a).pipe(F(()=>{let s=this._extractIconWithNameFromAnySet(e,i);if(!s)throw Lm(e);return s}))}_extractIconWithNameFromAnySet(e,i){for(let o=i.length-1;o>=0;o--){let a=i[o];if(a.svgText&&a.svgText.toString().indexOf(e)>-1){let s=this._svgElementFromConfig(a),c=this._extractSvgIconFromSet(s,e,a.options);if(c)return c}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(lt(i=>e.svgText=i),F(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?O(null):this._fetchIcon(e).pipe(lt(i=>e.svgText=i))}_extractSvgIconFromSet(e,i,o){let a=e.querySelector(`[id="${i}"]`);if(!a)return null;let s=a.cloneNode(!0);if(s.removeAttribute("id"),s.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(s,o);if(s.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(s),o);let c=this._svgElementFromString(vo(""));return c.appendChild(s),this._setSvgAttributes(c,o)}_svgElementFromString(e){let i=this._document.createElement("DIV");i.innerHTML=e;let o=i.querySelector("svg");if(!o)throw Error(" tag not found");return o}_toSvgElement(e){let i=this._svgElementFromString(vo("")),o=e.attributes;for(let a=0;avo(m)),oi(()=>this._inProgressUrlFetches.delete(s)),sd());return this._inProgressUrlFetches.set(s,d),d}_addSvgIconConfig(e,i,o){return this._svgIconConfigs.set(Bm(e,i),o),this}_addSvgIconSetConfig(e,i){let o=this._iconSetConfigs.get(e);return o?o.push(i):this._iconSetConfigs.set(e,[i]),this}_svgElementFromConfig(e){if(!e.svgElement){let i=this._svgElementFromString(e.svgText);this._setSvgAttributes(i,e.options),e.svgElement=i}return e.svgElement}_getIconConfigFromResolvers(e,i){for(let o=0;ot?t.pathname+t.search:""}}var zm=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],j_=zm.map(n=>`[${n}]`).join(", "),V_=/^url\(['"]?#(.*?)['"]?\)$/,gi=(()=>{let t=class t{get color(){return this._color||this._defaultColor}set color(e){this._color=e}get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}get fontSet(){return this._fontSet}set fontSet(e){let i=this._cleanupFontValue(e);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(e){let i=this._cleanupFontValue(e);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}constructor(e,i,o,a,s,c){this._elementRef=e,this._iconRegistry=i,this._location=a,this._errorHandler=s,this.inline=!1,this._previousFontSetClass=[],this._currentIconFetch=kt.EMPTY,c&&(c.color&&(this.color=this._defaultColor=c.color),c.fontSet&&(this.fontSet=c.fontSet)),o||e.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(e){if(!e)return["",""];let i=e.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let e=this._elementsWithExternalReferences;if(e&&e.size){let i=this._location.getPathname();i!==this._previousPath&&(this._previousPath=i,this._prependPathToReferences(i))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();let i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){let e=this._elementRef.nativeElement,i=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){let o=e.childNodes[i];(o.nodeType!==1||o.nodeName.toLowerCase()==="svg")&&o.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let e=this._elementRef.nativeElement,i=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(o=>o.length>0);this._previousFontSetClass.forEach(o=>e.classList.remove(o)),i.forEach(o=>e.classList.add(o)),this._previousFontSetClass=i,this.fontIcon!==this._previousFontIconClass&&!i.includes("mat-ligature-font")&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return typeof e=="string"?e.trim().split(" ")[0]:e}_prependPathToReferences(e){let i=this._elementsWithExternalReferences;i&&i.forEach((o,a)=>{o.forEach(s=>{a.setAttribute(s.name,`url('${e}#${s.value}')`)})})}_cacheChildrenWithExternalReferences(e){let i=e.querySelectorAll(j_),o=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let a=0;a{let c=i[a],d=c.getAttribute(s),m=d?d.match(V_):null;if(m){let p=o.get(c);p||(p=[],o.set(c,p)),p.push({name:s,value:m[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){let[i,o]=this._splitIconName(e);i&&(this._svgNamespace=i),o&&(this._svgName=o),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(o,i).pipe(rt(1)).subscribe(a=>this._setSvgElement(a),a=>{let s=`Error retrieving icon ${i}:${o}! ${a.message}`;this._errorHandler.handleError(new Error(s))})}}};t.\u0275fac=function(i){return new(i||t)(l(D),l(O_),Pe("aria-hidden"),l(N_),l(ki),l(P_,8))},t.\u0275cmp=T({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(i,o){i&2&&(Y("data-mat-icon-type",o._usingFontIcon()?"font":"svg")("data-mat-icon-name",o._svgName||o.fontIcon)("data-mat-icon-namespace",o._svgNamespace||o.fontSet)("fontIcon",o._usingFontIcon()?o.fontIcon:null),Mt(o.color?"mat-"+o.color:""),z("mat-icon-inline",o.inline)("mat-icon-no-color",o.color!=="primary"&&o.color!=="accent"&&o.color!=="warn"))},inputs:{color:"color",inline:[b.HasDecoratorInputTransform,"inline","inline",q],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],standalone:!0,features:[ft,A],ngContentSelectors:A_,decls:1,vars:0,template:function(i,o){i&1&&(wt(),at(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0});let n=t;return n})(),Ue=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({imports:[K,K]});let n=t;return n})();var Um=ve({passive:!0}),Hm=(()=>{let t=class t{constructor(e,i){this._platform=e,this._ngZone=i,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return ce;let i=Qt(e),o=this._monitoredElements.get(i);if(o)return o.subject;let a=new E,s="cdk-text-field-autofilled",c=d=>{d.animationName==="cdk-text-field-autofill-start"&&!i.classList.contains(s)?(i.classList.add(s),this._ngZone.run(()=>a.next({target:d.target,isAutofilled:!0}))):d.animationName==="cdk-text-field-autofill-end"&&i.classList.contains(s)&&(i.classList.remove(s),this._ngZone.run(()=>a.next({target:d.target,isAutofilled:!1})))};return this._ngZone.runOutsideAngular(()=>{i.addEventListener("animationstart",c,Um),i.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(i,{subject:a,unlisten:()=>{i.removeEventListener("animationstart",c,Um)}}),a}stopMonitoring(e){let i=Qt(e),o=this._monitoredElements.get(i);o&&(o.unlisten(),o.subject.complete(),i.classList.remove("cdk-text-field-autofill-monitored"),i.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(i))}ngOnDestroy(){this._monitoredElements.forEach((e,i)=>this.stopMonitoring(i))}};t.\u0275fac=function(i){return new(i||t)(u(J),u(k))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();var $m=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({});let n=t;return n})();var Km=(()=>{let t=class t{constructor(e,i){this._renderer=e,this._elementRef=i,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(e,i){this._renderer.setProperty(this._elementRef.nativeElement,e,i)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}};t.\u0275fac=function(i){return new(i||t)(l(Lo),l(D))},t.\u0275dir=I({type:t});let n=t;return n})(),Jm=(()=>{let t=class t extends Km{};t.\u0275fac=(()=>{let e;return function(o){return(e||(e=jt(t)))(o||t)}})(),t.\u0275dir=I({type:t,features:[it]});let n=t;return n})(),He=new y("");var z_={provide:He,useExisting:Tt(()=>xn),multi:!0};function U_(){let n=Yi()?Yi().getUserAgent():"";return/android (\d+)/.test(n.toLowerCase())}var H_=new y(""),xn=(()=>{let t=class t extends Km{constructor(e,i,o){super(e,i),this._compositionMode=o,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!U_())}writeValue(e){let i=e??"";this.setProperty("value",i)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}};t.\u0275fac=function(i){return new(i||t)(l(Lo),l(D),l(H_,8))},t.\u0275dir=I({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(i,o){i&1&&S("input",function(s){return o._handleInput(s.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(s){return o._compositionEnd(s.target.value)})},features:[st([z_]),it]});let n=t;return n})();function _i(n){return n==null||(typeof n=="string"||Array.isArray(n))&&n.length===0}function tu(n){return n!=null&&typeof n.length=="number"}var we=new y(""),Kr=new y(""),$_=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,ji=class{static min(t){return eu(t)}static max(t){return iu(t)}static required(t){return nu(t)}static requiredTrue(t){return W_(t)}static email(t){return G_(t)}static minLength(t){return q_(t)}static maxLength(t){return ou(t)}static pattern(t){return Y_(t)}static nullValidator(t){return $r(t)}static compose(t){return lu(t)}static composeAsync(t){return mu(t)}};function eu(n){return t=>{if(_i(t.value)||_i(n))return null;let r=parseFloat(t.value);return!isNaN(r)&&r{if(_i(t.value)||_i(n))return null;let r=parseFloat(t.value);return!isNaN(r)&&r>n?{max:{max:n,actual:t.value}}:null}}function nu(n){return _i(n.value)?{required:!0}:null}function W_(n){return n.value===!0?null:{required:!0}}function G_(n){return _i(n.value)||$_.test(n.value)?null:{email:!0}}function q_(n){return t=>_i(t.value)||!tu(t.value)?null:t.value.lengthtu(t.value)&&t.value.length>n?{maxlength:{requiredLength:n,actualLength:t.value.length}}:null}function Y_(n){if(!n)return $r;let t,r;return typeof n=="string"?(r="",n.charAt(0)!=="^"&&(r+="^"),r+=n,n.charAt(n.length-1)!=="$"&&(r+="$"),t=new RegExp(r)):(r=n.toString(),t=n),e=>{if(_i(e.value))return null;let i=e.value;return t.test(i)?null:{pattern:{requiredPattern:r,actualValue:i}}}}function $r(n){return null}function ru(n){return n!=null}function au(n){return $o(n)?Ut(n):n}function su(n){let t={};return n.forEach(r=>{t=r!=null?g(g({},t),r):t}),Object.keys(t).length===0?null:t}function cu(n,t){return t.map(r=>r(n))}function X_(n){return!n.validate}function du(n){return n.map(t=>X_(t)?t:r=>t.validate(r))}function lu(n){if(!n)return null;let t=n.filter(ru);return t.length==0?null:function(r){return su(cu(r,t))}}function Oc(n){return n!=null?lu(du(n)):null}function mu(n){if(!n)return null;let t=n.filter(ru);return t.length==0?null:function(r){let e=cu(r,t).map(au);return Oo(e).pipe(F(su))}}function Fc(n){return n!=null?mu(du(n)):null}function Wm(n,t){return n===null?[t]:Array.isArray(n)?[...n,t]:[n,t]}function uu(n){return n._rawValidators}function hu(n){return n._rawAsyncValidators}function Rc(n){return n?Array.isArray(n)?n:[n]:[]}function Wr(n,t){return Array.isArray(n)?n.includes(t):n===t}function Gm(n,t){let r=Rc(t);return Rc(n).forEach(i=>{Wr(r,i)||r.push(i)}),r}function qm(n,t){return Rc(t).filter(r=>!Wr(n,r))}var Gr=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=Oc(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=Fc(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t=void 0){this.control&&this.control.reset(t)}hasError(t,r){return this.control?this.control.hasError(t,r):!1}getError(t,r){return this.control?this.control.getError(t,r):null}},Je=class extends Gr{get formDirective(){return null}get path(){return null}},ti=class extends Gr{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},qr=class{constructor(t){this._cd=t}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}},Z_={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},KI=ht(g({},Z_),{"[class.ng-submitted]":"isSubmitted"}),Jr=(()=>{let t=class t extends qr{constructor(e){super(e)}};t.\u0275fac=function(i){return new(i||t)(l(ti,2))},t.\u0275dir=I({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,o){i&2&&z("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[it]});let n=t;return n})(),ta=(()=>{let t=class t extends qr{constructor(e){super(e)}};t.\u0275fac=function(i){return new(i||t)(l(Je,10))},t.\u0275dir=I({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,o){i&2&&z("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)("ng-submitted",o.isSubmitted)},features:[it]});let n=t;return n})();var yo="VALID",Hr="INVALID",yn="PENDING",xo="DISABLED";function fu(n){return(ea(n)?n.validators:n)||null}function Q_(n){return Array.isArray(n)?Oc(n):n||null}function pu(n,t){return(ea(t)?t.asyncValidators:n)||null}function K_(n){return Array.isArray(n)?Fc(n):n||null}function ea(n){return n!=null&&!Array.isArray(n)&&typeof n=="object"}function J_(n,t,r){let e=n.controls;if(!(t?Object.keys(e):e).length)throw new gt(1e3,"");if(!e[r])throw new gt(1001,"")}function tv(n,t,r){n._forEachChild((e,i)=>{if(r[i]===void 0)throw new gt(1002,"")})}var Yr=class{constructor(t,r){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(t),this._assignAsyncValidators(r)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===yo}get invalid(){return this.status===Hr}get pending(){return this.status==yn}get disabled(){return this.status===xo}get enabled(){return this.status!==xo}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(Gm(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(Gm(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(qm(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(qm(t,this._rawAsyncValidators))}hasValidator(t){return Wr(this._rawValidators,t)}hasAsyncValidator(t){return Wr(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(r=>{r.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=yn,t.emitEvent!==!1&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){let r=this._parentMarkedDirty(t.onlySelf);this.status=xo,this.errors=null,this._forEachChild(e=>{e.disable(ht(g({},t),{onlySelf:!0}))}),this._updateValue(),t.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(ht(g({},t),{skipPristineCheck:r})),this._onDisabledChange.forEach(e=>e(!0))}enable(t={}){let r=this._parentMarkedDirty(t.onlySelf);this.status=yo,this._forEachChild(e=>{e.enable(ht(g({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(ht(g({},t),{skipPristineCheck:r})),this._onDisabledChange.forEach(e=>e(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===yo||this.status===yn)&&this._runAsyncValidator(t.emitEvent)),t.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(r=>r._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?xo:yo}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=yn,this._hasOwnPendingAsyncValidator=!0;let r=au(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(e=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(e,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,r={}){this.errors=t,this._updateControlsErrors(r.emitEvent!==!1)}get(t){let r=t;return r==null||(Array.isArray(r)||(r=r.split(".")),r.length===0)?null:r.reduce((e,i)=>e&&e._find(i),this)}getError(t,r){let e=r?this.get(r):this;return e&&e.errors?e.errors[t]:null}hasError(t,r){return!!this.getError(t,r)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new V,this.statusChanges=new V}_calculateStatus(){return this._allControlsDisabled()?xo:this.errors?Hr:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(yn)?yn:this._anyControlsHaveStatus(Hr)?Hr:yo}_anyControlsHaveStatus(t){return this._anyControls(r=>r.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){ea(t)&&t.updateOn!=null&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){let r=this._parent&&this._parent.dirty;return!t&&!!r&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=Q_(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=K_(this._rawAsyncValidators)}},vi=class extends Yr{constructor(t,r,e){super(fu(r),pu(e,r)),this.controls=t,this._initObservables(),this._setUpdateStrategy(r),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,r){return this.controls[t]?this.controls[t]:(this.controls[t]=r,r.setParent(this),r._registerOnCollectionChange(this._onCollectionChange),r)}addControl(t,r,e={}){this.registerControl(t,r),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}removeControl(t,r={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}setControl(t,r,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],r&&this.registerControl(t,r),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,r={}){tv(this,!0,t),Object.keys(t).forEach(e=>{J_(this,!0,e),this.controls[e].setValue(t[e],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r)}patchValue(t,r={}){t!=null&&(Object.keys(t).forEach(e=>{let i=this.controls[e];i&&i.patchValue(t[e],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r))}reset(t={},r={}){this._forEachChild((e,i)=>{e.reset(t?t[i]:null,{onlySelf:!0,emitEvent:r.emitEvent})}),this._updatePristine(r),this._updateTouched(r),this.updateValueAndValidity(r)}getRawValue(){return this._reduceChildren({},(t,r,e)=>(t[e]=r.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(r,e)=>e._syncPendingControls()?!0:r);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(r=>{let e=this.controls[r];e&&t(e,r)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(let[r,e]of Object.entries(this.controls))if(this.contains(r)&&t(e))return!0;return!1}_reduceValue(){let t={};return this._reduceChildren(t,(r,e,i)=>((e.enabled||this.disabled)&&(r[i]=e.value),r))}_reduceChildren(t,r){let e=t;return this._forEachChild((i,o)=>{e=r(e,i,o)}),e}_allControlsDisabled(){for(let t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}};var Co=new y("CallSetDisabledState",{providedIn:"root",factory:()=>ia}),ia="always";function bu(n,t){return[...t.path,n]}function Xr(n,t,r=ia){Pc(n,t),t.valueAccessor.writeValue(n.value),(n.disabled||r==="always")&&t.valueAccessor.setDisabledState?.(n.disabled),iv(n,t),ov(n,t),nv(n,t),ev(n,t)}function Ym(n,t,r=!0){let e=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(e),t.valueAccessor.registerOnTouched(e)),Qr(n,t),n&&(t._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}))}function Zr(n,t){n.forEach(r=>{r.registerOnValidatorChange&&r.registerOnValidatorChange(t)})}function ev(n,t){if(t.valueAccessor.setDisabledState){let r=e=>{t.valueAccessor.setDisabledState(e)};n.registerOnDisabledChange(r),t._registerOnDestroy(()=>{n._unregisterOnDisabledChange(r)})}}function Pc(n,t){let r=uu(n);t.validator!==null?n.setValidators(Wm(r,t.validator)):typeof r=="function"&&n.setValidators([r]);let e=hu(n);t.asyncValidator!==null?n.setAsyncValidators(Wm(e,t.asyncValidator)):typeof e=="function"&&n.setAsyncValidators([e]);let i=()=>n.updateValueAndValidity();Zr(t._rawValidators,i),Zr(t._rawAsyncValidators,i)}function Qr(n,t){let r=!1;if(n!==null){if(t.validator!==null){let i=uu(n);if(Array.isArray(i)&&i.length>0){let o=i.filter(a=>a!==t.validator);o.length!==i.length&&(r=!0,n.setValidators(o))}}if(t.asyncValidator!==null){let i=hu(n);if(Array.isArray(i)&&i.length>0){let o=i.filter(a=>a!==t.asyncValidator);o.length!==i.length&&(r=!0,n.setAsyncValidators(o))}}}let e=()=>{};return Zr(t._rawValidators,e),Zr(t._rawAsyncValidators,e),r}function iv(n,t){t.valueAccessor.registerOnChange(r=>{n._pendingValue=r,n._pendingChange=!0,n._pendingDirty=!0,n.updateOn==="change"&&gu(n,t)})}function nv(n,t){t.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,n.updateOn==="blur"&&n._pendingChange&&gu(n,t),n.updateOn!=="submit"&&n.markAsTouched()})}function gu(n,t){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function ov(n,t){let r=(e,i)=>{t.valueAccessor.writeValue(e),i&&t.viewToModelUpdate(e)};n.registerOnChange(r),t._registerOnDestroy(()=>{n._unregisterOnChange(r)})}function _u(n,t){n==null,Pc(n,t)}function rv(n,t){return Qr(n,t)}function vu(n,t){if(!n.hasOwnProperty("model"))return!1;let r=n.model;return r.isFirstChange()?!0:!Object.is(t,r.currentValue)}function av(n){return Object.getPrototypeOf(n.constructor)===Jm}function yu(n,t){n._syncPendingControls(),t.forEach(r=>{let e=r.control;e.updateOn==="submit"&&e._pendingChange&&(r.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})}function xu(n,t){if(!t)return null;Array.isArray(t);let r,e,i;return t.forEach(o=>{o.constructor===xn?r=o:av(o)?e=o:i=o}),i||e||r||null}function sv(n,t){let r=n.indexOf(t);r>-1&&n.splice(r,1)}var cv={provide:Je,useExisting:Tt(()=>Nc)},wo=Promise.resolve(),Nc=(()=>{let t=class t extends Je{constructor(e,i,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._directives=new Set,this.ngSubmit=new V,this.form=new vi({},Oc(e),Fc(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){wo.then(()=>{let i=this._findContainer(e.path);e.control=i.registerControl(e.name,e.control),Xr(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){wo.then(()=>{let i=this._findContainer(e.path);i&&i.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){wo.then(()=>{let i=this._findContainer(e.path),o=new vi({});_u(o,e),i.registerControl(e.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){wo.then(()=>{let i=this._findContainer(e.path);i&&i.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,i){wo.then(()=>{this.form.get(e.path).setValue(i)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,yu(this.form,this._directives),this.ngSubmit.emit(e),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}};t.\u0275fac=function(i){return new(i||t)(l(we,10),l(Kr,10),l(Co,8))},t.\u0275dir=I({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,o){i&1&&S("submit",function(s){return o.onSubmit(s)})("reset",function(){return o.onReset()})},inputs:{options:[b.None,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[st([cv]),it]});let n=t;return n})();function Xm(n,t){let r=n.indexOf(t);r>-1&&n.splice(r,1)}function Zm(n){return typeof n=="object"&&n!==null&&Object.keys(n).length===2&&"value"in n&&"disabled"in n}var ei=class extends Yr{constructor(t=null,r,e){super(fu(r),pu(e,r)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(r),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),ea(r)&&(r.nonNullable||r.initialValueIsDefault)&&(Zm(t)?this.defaultValue=t.value:this.defaultValue=t)}setValue(t,r={}){this.value=this._pendingValue=t,this._onChange.length&&r.emitModelToViewChange!==!1&&this._onChange.forEach(e=>e(this.value,r.emitViewToModelChange!==!1)),this.updateValueAndValidity(r)}patchValue(t,r={}){this.setValue(t,r)}reset(t=this.defaultValue,r={}){this._applyFormState(t),this.markAsPristine(r),this.markAsUntouched(r),this.setValue(this.value,r),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){Xm(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){Xm(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(t){Zm(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}};var dv=n=>n instanceof ei;var lv={provide:ti,useExisting:Tt(()=>Lc)},Qm=Promise.resolve(),Lc=(()=>{let t=class t extends ti{constructor(e,i,o,a,s,c){super(),this._changeDetectorRef=s,this.callSetDisabledState=c,this.control=new ei,this._registered=!1,this.name="",this.update=new V,this._parent=e,this._setValidators(i),this._setAsyncValidators(o),this.valueAccessor=xu(this,a)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){let i=e.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),vu(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){Xr(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(e){Qm.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){let i=e.isDisabled.currentValue,o=i!==0&&q(i);Qm.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?bu(e,this._parent):[e]}};t.\u0275fac=function(i){return new(i||t)(l(Je,9),l(we,10),l(Kr,10),l(He,10),l(pt,8),l(Co,8))},t.\u0275dir=I({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[b.None,"disabled","isDisabled"],model:[b.None,"ngModel","model"],options:[b.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[st([lv]),it,Ct]});let n=t;return n})(),wu=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=I({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]});let n=t;return n})(),mv={provide:He,useExisting:Tt(()=>jc),multi:!0},jc=(()=>{let t=class t extends Jm{writeValue(e){let i=e??"";this.setProperty("value",i)}registerOnChange(e){this.onChange=i=>{e(i==""?null:parseFloat(i))}}};t.\u0275fac=(()=>{let e;return function(o){return(e||(e=jt(t)))(o||t)}})(),t.\u0275dir=I({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(i,o){i&1&&S("input",function(s){return o.onChange(s.target.value)})("blur",function(){return o.onTouched()})},features:[st([mv]),it]});let n=t;return n})();var Cu=new y("");var uv={provide:Je,useExisting:Tt(()=>Vi)},Vi=(()=>{let t=class t extends Je{constructor(e,i,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new V,this._setValidators(e),this._setAsyncValidators(i)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Qr(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){let i=this.form.get(e.path);return Xr(i,e,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),i}getControl(e){return this.form.get(e.path)}removeControl(e){Ym(e.control||null,e,!1),sv(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,i){this.form.get(e.path).setValue(i)}onSubmit(e){return this.submitted=!0,yu(this.form,this.directives),this.ngSubmit.emit(e),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{let i=e.control,o=this.form.get(e.path);i!==o&&(Ym(i||null,e),dv(o)&&(Xr(o,e,this.callSetDisabledState),e.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){let i=this.form.get(e.path);_u(i,e),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){let i=this.form.get(e.path);i&&rv(i,e)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Pc(this.form,this),this._oldForm&&Qr(this._oldForm,this)}_checkFormPresent(){this.form}};t.\u0275fac=function(i){return new(i||t)(l(we,10),l(Kr,10),l(Co,8))},t.\u0275dir=I({type:t,selectors:[["","formGroup",""]],hostBindings:function(i,o){i&1&&S("submit",function(s){return o.onSubmit(s)})("reset",function(){return o.onReset()})},inputs:{form:[b.None,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[st([uv]),it,Ct]});let n=t;return n})();var hv={provide:ti,useExisting:Tt(()=>ko)},ko=(()=>{let t=class t extends ti{set isDisabled(e){}constructor(e,i,o,a,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.name=null,this.update=new V,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(i),this._setAsyncValidators(o),this.valueAccessor=xu(this,a)}ngOnChanges(e){this._added||this._setUpControl(),vu(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return bu(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}};t._ngModelWarningSentOnce=!1,t.\u0275fac=function(i){return new(i||t)(l(Je,13),l(we,10),l(Kr,10),l(He,10),l(Cu,8))},t.\u0275dir=I({type:t,selectors:[["","formControlName",""]],inputs:{name:[b.None,"formControlName","name"],isDisabled:[b.None,"disabled","isDisabled"],model:[b.None,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[st([hv]),it,Ct]});let n=t;return n})();function fv(n){return typeof n=="number"?n:parseInt(n,10)}function ku(n){return typeof n=="number"?n:parseFloat(n)}var na=(()=>{let t=class t{constructor(){this._validator=$r}ngOnChanges(e){if(this.inputName in e){let i=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(i),this._validator=this._enabled?this.createValidator(i):$r,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return e!=null}};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=I({type:t,features:[Ct]});let n=t;return n})(),pv={provide:we,useExisting:Tt(()=>Vc),multi:!0},Vc=(()=>{let t=class t extends na{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=e=>ku(e),this.createValidator=e=>iu(e)}};t.\u0275fac=(()=>{let e;return function(o){return(e||(e=jt(t)))(o||t)}})(),t.\u0275dir=I({type:t,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(i,o){i&2&&Y("max",o._enabled?o.max:null)},inputs:{max:"max"},features:[st([pv]),it]});let n=t;return n})(),bv={provide:we,useExisting:Tt(()=>Bc),multi:!0},Bc=(()=>{let t=class t extends na{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=e=>ku(e),this.createValidator=e=>eu(e)}};t.\u0275fac=(()=>{let e;return function(o){return(e||(e=jt(t)))(o||t)}})(),t.\u0275dir=I({type:t,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(i,o){i&2&&Y("min",o._enabled?o.min:null)},inputs:{min:"min"},features:[st([bv]),it]});let n=t;return n})(),gv={provide:we,useExisting:Tt(()=>Io),multi:!0};var Io=(()=>{let t=class t extends na{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=q,this.createValidator=e=>nu}enabled(e){return e}};t.\u0275fac=(()=>{let e;return function(o){return(e||(e=jt(t)))(o||t)}})(),t.\u0275dir=I({type:t,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(i,o){i&2&&Y("required",o._enabled?"":null)},inputs:{required:"required"},features:[st([gv]),it]});let n=t;return n})();var _v={provide:we,useExisting:Tt(()=>zc),multi:!0},zc=(()=>{let t=class t extends na{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=e=>fv(e),this.createValidator=e=>ou(e)}};t.\u0275fac=(()=>{let e;return function(o){return(e||(e=jt(t)))(o||t)}})(),t.\u0275dir=I({type:t,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(i,o){i&2&&Y("maxlength",o._enabled?o.maxlength:null)},inputs:{maxlength:"maxlength"},features:[st([_v]),it]});let n=t;return n})();var Iu=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({});let n=t;return n})();var wn=(()=>{let t=class t{static withConfig(e){return{ngModule:t,providers:[{provide:Co,useValue:e.callSetDisabledState??ia}]}}};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({imports:[Iu]});let n=t;return n})(),oa=(()=>{let t=class t{static withConfig(e){return{ngModule:t,providers:[{provide:Cu,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:Co,useValue:e.callSetDisabledState??ia}]}}};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({imports:[Iu]});let n=t;return n})();var Hc=class{constructor(t){this._box=t,this._destroyed=new E,this._resizeSubject=new E,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(r=>this._resizeSubject.next(r)))}observe(t){return this._elementObservables.has(t)||this._elementObservables.set(t,new Yt(r=>{let e=this._resizeSubject.subscribe(r);return this._resizeObserver?.observe(t,{box:this._box}),()=>{this._resizeObserver?.unobserve(t),e.unsubscribe(),this._elementObservables.delete(t)}}).pipe(tt(r=>r.some(e=>e.target===t)),Sa({bufferSize:1,refCount:!0}),dt(this._destroyed))),this._elementObservables.get(t)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},Eu=(()=>{let t=class t{constructor(){this._observers=new Map,this._ngZone=_(k),typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,e]of this._observers)e.destroy();this._observers.clear(),typeof ResizeObserver<"u"}observe(e,i){let o=i?.box||"content-box";return this._observers.has(o)||this._observers.set(o,new Hc(o)),this._observers.get(o).observe(e)}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();var vv=["notch"],yv=["matFormFieldNotchedOutline",""],xv=["*"],wv=["textField"],Cv=["iconPrefixContainer"],kv=["textPrefixContainer"],Iv=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],Ev=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function Dv(n,t){n&1&&M(0,"span",17)}function Sv(n,t){if(n&1&&(h(0,"label",16),at(1,1),B(2,Dv,1,0,"span",17),f()),n&2){let r=G(2);j("floating",r._shouldLabelFloat())("monitorResize",r._hasOutline())("id",r._labelId),Y("for",r._control.id),v(2),Q(2,!r.hideRequiredMarker&&r._control.required?2:-1)}}function Tv(n,t){if(n&1&&B(0,Sv,3,5,"label",16),n&2){let r=G();Q(0,r._hasFloatingLabel()?0:-1)}}function Av(n,t){n&1&&M(0,"div",5)}function Mv(n,t){}function Rv(n,t){if(n&1&&B(0,Mv,0,0,"ng-template",11),n&2){G(2);let r=pe(1);j("ngTemplateOutlet",r)}}function Ov(n,t){if(n&1&&(h(0,"div",7),B(1,Rv,1,1,null,11),f()),n&2){let r=G();j("matFormFieldNotchedOutlineOpen",r._shouldLabelFloat()),v(),Q(1,r._forceDisplayInfixLabel()?-1:1)}}function Fv(n,t){n&1&&(h(0,"div",8,2),at(2,2),f())}function Pv(n,t){n&1&&(h(0,"div",9,3),at(2,3),f())}function Nv(n,t){}function Lv(n,t){if(n&1&&B(0,Nv,0,0,"ng-template",11),n&2){G();let r=pe(1);j("ngTemplateOutlet",r)}}function jv(n,t){n&1&&(h(0,"div",12),at(1,4),f())}function Vv(n,t){n&1&&(h(0,"div",13),at(1,5),f())}function Bv(n,t){n&1&&M(0,"div",14)}function zv(n,t){if(n&1&&(h(0,"div",18),at(1,6),f()),n&2){let r=G();j("@transitionMessages",r._subscriptAnimationState)}}function Uv(n,t){if(n&1&&(h(0,"mat-hint",20),C(1),f()),n&2){let r=G(2);j("id",r._hintLabelId),v(),be(r.hintLabel)}}function Hv(n,t){if(n&1&&(h(0,"div",19),B(1,Uv,2,2,"mat-hint",20),at(2,7),M(3,"div",21),at(4,8),f()),n&2){let r=G();j("@transitionMessages",r._subscriptAnimationState),v(),Q(1,r.hintLabel?1:-1)}}var yi=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=I({type:t,selectors:[["mat-label"]],standalone:!0});let n=t;return n})(),$v=0,Fu=new y("MatError"),sa=(()=>{let t=class t{constructor(e,i){this.id=`mat-mdc-error-${$v++}`,e||i.nativeElement.setAttribute("aria-live","polite")}};t.\u0275fac=function(i){return new(i||t)(Pe("aria-live"),l(D))},t.\u0275dir=I({type:t,selectors:[["mat-error"],["","matError",""]],hostAttrs:["aria-atomic","true",1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(i,o){i&2&&Xt("id",o.id)},inputs:{id:"id"},standalone:!0,features:[st([{provide:Fu,useExisting:t}])]});let n=t;return n})(),Wv=0,aa=(()=>{let t=class t{constructor(){this.align="start",this.id=`mat-mdc-hint-${Wv++}`}};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=I({type:t,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(i,o){i&2&&(Xt("id",o.id),Y("align",null),z("mat-mdc-form-field-hint-end",o.align==="end"))},inputs:{align:"align",id:"id"},standalone:!0});let n=t;return n})(),Gv=new y("MatPrefix");var Pu=new y("MatSuffix"),Nu=(()=>{let t=class t{constructor(){this._isText=!1}set _isTextSelector(e){this._isText=!0}};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=I({type:t,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[b.None,"matTextSuffix","_isTextSelector"]},standalone:!0,features:[st([{provide:Pu,useExisting:t}])]});let n=t;return n})(),Lu=new y("FloatingLabelParent"),Du=(()=>{let t=class t{get floating(){return this._floating}set floating(e){this._floating=e,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(e){this._monitorResize=e,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(e){this._elementRef=e,this._floating=!1,this._monitorResize=!1,this._resizeObserver=_(Eu),this._ngZone=_(k),this._parent=_(Lu),this._resizeSubscription=new kt}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return qv(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}};t.\u0275fac=function(i){return new(i||t)(l(D))},t.\u0275dir=I({type:t,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(i,o){i&2&&z("mdc-floating-label--float-above",o.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"},standalone:!0});let n=t;return n})();function qv(n){let t=n;if(t.offsetParent!==null)return t.scrollWidth;let r=t.cloneNode(!0);r.style.setProperty("position","absolute"),r.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(r);let e=r.scrollWidth;return r.remove(),e}var Su="mdc-line-ripple--active",ra="mdc-line-ripple--deactivating",Tu=(()=>{let t=class t{constructor(e,i){this._elementRef=e,this._handleTransitionEnd=o=>{let a=this._elementRef.nativeElement.classList,s=a.contains(ra);o.propertyName==="opacity"&&s&&a.remove(Su,ra)},i.runOutsideAngular(()=>{e.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){let e=this._elementRef.nativeElement.classList;e.remove(ra),e.add(Su)}deactivate(){this._elementRef.nativeElement.classList.add(ra)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}};t.\u0275fac=function(i){return new(i||t)(l(D),l(k))},t.\u0275dir=I({type:t,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"],standalone:!0});let n=t;return n})(),Au=(()=>{let t=class t{constructor(e,i){this._elementRef=e,this._ngZone=i,this.open=!1}ngAfterViewInit(){let e=this._elementRef.nativeElement.querySelector(".mdc-floating-label");e?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(e.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>e.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(e){!this.open||!e?this._notch.nativeElement.style.width="":this._notch.nativeElement.style.width=`calc(${e}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}};t.\u0275fac=function(i){return new(i||t)(l(D),l(k))},t.\u0275cmp=T({type:t,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(i,o){if(i&1&&nt(vv,5),i&2){let a;U(a=H())&&(o._notch=a.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(i,o){i&2&&z("mdc-notched-outline--notched",o.open)},inputs:{open:[b.None,"matFormFieldNotchedOutlineOpen","open"]},standalone:!0,features:[A],attrs:yv,ngContentSelectors:xv,decls:5,vars:0,consts:[["notch",""],[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],[1,"mdc-notched-outline__trailing"]],template:function(i,o){i&1&&(wt(),M(0,"div",1),h(1,"div",2,0),at(3),f(),M(4,"div",3))},encapsulation:2,changeDetection:0});let n=t;return n})(),Yv={transitionMessages:Ne("transitionMessages",[Zt("enter",It({opacity:1,transform:"translateY(0%)"})),Gt("void => enter",[It({opacity:0,transform:"translateY(-5px)"}),Bt("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},$c=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=I({type:t});let n=t;return n})();var Eo=new y("MatFormField"),Xv=new y("MAT_FORM_FIELD_DEFAULT_OPTIONS"),Mu=0,Ru="fill",Zv="auto",Ou="fixed",Qv="translateY(-50%)",Cn=(()=>{let t=class t{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=re(e)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||Zv}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(e){let i=this._appearance,o=e||this._defaults?.appearance||Ru;this._appearance=o,this._appearance==="outline"&&this._appearance!==i&&(this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||Ou}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||Ou}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(e){this._explicitFormFieldControl=e}constructor(e,i,o,a,s,c,d,m){this._elementRef=e,this._changeDetectorRef=i,this._ngZone=o,this._dir=a,this._platform=s,this._defaults=c,this._animationMode=d,this._hideRequiredMarker=!1,this.color="primary",this._appearance=Ru,this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId=`mat-mdc-form-field-label-${Mu++}`,this._hintLabelId=`mat-mdc-hint-${Mu++}`,this._subscriptAnimationState="",this._destroyed=new E,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,c&&(c.appearance&&(this.appearance=c.appearance),this._hideRequiredMarker=!!c?.hideRequiredMarker,c.color&&(this.color=c.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){let e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${e.controlType}`),e.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(dt(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(e=>!e._isText),this._hasTextPrefix=!!this._prefixChildren.find(e=>e._isText),this._hasIconSuffix=!!this._suffixChildren.find(e=>!e._isText),this._hasTextSuffix=!!this._suffixChildren.find(e=>e._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),Dt(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){this._control}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(dt(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe(dt(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0)}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(e){let i=this._control?this._control.ngControl:null;return i&&i[e]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(0):this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&e.push(...this._control.userAriaDescribedBy.split(" ")),this._getDisplayedMessages()==="hint"){let i=this._hintChildren?this._hintChildren.find(a=>a.align==="start"):null,o=this._hintChildren?this._hintChildren.find(a=>a.align==="end"):null;i?e.push(i.id):this._hintLabel&&e.push(this._hintLabelId),o&&e.push(o.id)}else this._errorChildren&&e.push(...this._errorChildren.map(i=>i.id));this._control.setDescribedByIds(e)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;let e=this._floatingLabel.element;if(!(this._iconPrefixContainer||this._textPrefixContainer)){e.style.transform="";return}if(!this._isAttachedToDom()){this._needsOutlineLabelOffsetUpdateOnStable=!0;return}let i=this._iconPrefixContainer?.nativeElement,o=this._textPrefixContainer?.nativeElement,a=i?.getBoundingClientRect().width??0,s=o?.getBoundingClientRect().width??0,c=this._dir.value==="rtl"?"-1":"1",d=`${a+s}px`,p=`calc(${c} * (${d} + var(--mat-mdc-form-field-label-offset-x, 0px)))`;e.style.transform=`var( +import{$ as cd,$a as Ma,$b as Td,A as tt,Aa as On,Ab as at,Ac as Pa,B as Ia,Ba as ud,Bb as Pt,Bc as Na,C as me,Ca as ue,Cb as nt,D as Ci,Da as _t,Db as U,E as Ui,Ea as Fn,Eb as H,F as Ea,Fa as Wi,Fb as pe,G as rt,Ga as Gi,Gb as C,H as nd,Ha as hd,Hb as be,I as Lo,Ia as fd,Ib as Wt,J as An,Ja as pd,Jb as Cd,K as ri,Ka as bd,Kb as kd,L as ai,La as gd,Lb as Id,M as Da,Ma as _d,Mb as st,N as od,Na as vd,Nb as A,O as rd,Oa as te,Ob as Yi,P as ad,Pa as Pn,Pb as Ed,Q as sd,Qa as v,Qb as De,R as Sa,Ra as l,Rb as Se,S as Hi,Sa as Nn,Sb as Dd,T as Ft,Ta as Vt,Tb as Wo,U as vt,Ua as yd,Ub as Go,V as dt,Va as qi,Vb as Ra,W as lt,Wa as Vo,Wb as Oa,X as gt,Xa as Bo,Xb as ci,Y as Tt,Ya as Aa,Yb as Fa,Z as x,Za as k,Zb as Sd,_ as P,_a as $t,_b as pt,a as g,aa as y,ab as it,ac as q,b as ht,ba as Ta,bb as ft,bc as ge,ca as u,cb as xd,cc as Ad,d as It,da as _,db as wd,dc as Xi,e as td,ea as Mn,eb as zo,ec as Md,f as Yt,fa as b,fb as B,fc as Rd,g as wa,ga as T,gb as Y,gc as j,h as Ca,ha as N,hb as L,hc as di,i as E,ia as I,ib as si,ic as qo,j as At,ja as Ge,jb as z,jc as Zi,k as ce,ka as dd,kb as Mt,kc as Od,l as Ut,la as $i,lb as Q,lc as Qi,m as O,ma as qe,mb as Uo,mc as Ye,n as Jt,na as Ct,nb as Ii,nc as Fd,o as ka,oa as $,ob as he,oc as Ln,p as ed,pa as W,pb as fe,pc as Yo,q as F,qa as jo,qb as h,qc as Xo,r as wi,ra as ld,rb as f,s as de,sa as jt,sb as M,t as Bi,ta as Ne,tb as mt,tc as Le,u as le,ua as xt,ub as Xt,uc as Bt,v as No,va as ki,vb as Ho,vc as jn,w as Ht,wa as D,wb as S,x as id,xa as V,xb as $o,xc as Et,y as St,ya as Rn,yb as G,yc as Zt,z as zi,za as md,zb as wt,zc as Gt}from"./chunk-V2HD7OKB.js";var Bn=class{},Qo=class{},Ei=class n{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(` +`).forEach(r=>{let e=r.indexOf(":");if(e>0){let i=r.slice(0,e),o=i.toLowerCase(),a=r.slice(e+1).trim();this.maybeSetNormalizedName(i,o),this.headers.has(o)?this.headers.get(o).push(a):this.headers.set(o,[a])}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((r,e)=>{this.setHeaderEntries(e,r)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([r,e])=>{this.setHeaderEntries(r,e)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let r=this.headers.get(t.toLowerCase());return r&&r.length>0?r[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,r){return this.clone({name:t,value:r,op:"a"})}set(t,r){return this.clone({name:t,value:r,op:"s"})}delete(t,r){return this.clone({name:t,value:r,op:"d"})}maybeSetNormalizedName(t,r){this.normalizedNames.has(r)||this.normalizedNames.set(r,t)}init(){this.lazyInit&&(this.lazyInit instanceof n?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(r=>{this.headers.set(r,t.headers.get(r)),this.normalizedNames.set(r,t.normalizedNames.get(r))})}clone(t){let r=new n;return r.lazyInit=this.lazyInit&&this.lazyInit instanceof n?this.lazyInit:this,r.lazyUpdate=(this.lazyUpdate||[]).concat([t]),r}applyUpdate(t){let r=t.name.toLowerCase();switch(t.op){case"a":case"s":let e=t.value;if(typeof e=="string"&&(e=[e]),e.length===0)return;this.maybeSetNormalizedName(t.name,r);let i=(t.op==="a"?this.headers.get(r):void 0)||[];i.push(...e),this.headers.set(r,i);break;case"d":let o=t.value;if(!o)this.headers.delete(r),this.normalizedNames.delete(r);else{let a=this.headers.get(r);if(!a)return;a=a.filter(s=>o.indexOf(s)===-1),a.length===0?(this.headers.delete(r),this.normalizedNames.delete(r)):this.headers.set(r,a)}break}}setHeaderEntries(t,r){let e=(Array.isArray(r)?r:[r]).map(o=>o.toString()),i=t.toLowerCase();this.headers.set(i,e),this.maybeSetNormalizedName(t,i)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(r=>t(this.normalizedNames.get(r),this.headers.get(r)))}};var ja=class{encodeKey(t){return Pd(t)}encodeValue(t){return Pd(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function Lh(n,t){let r=new Map;return n.length>0&&n.replace(/^\?/,"").split("&").forEach(i=>{let o=i.indexOf("="),[a,s]=o==-1?[t.decodeKey(i),""]:[t.decodeKey(i.slice(0,o)),t.decodeValue(i.slice(o+1))],c=r.get(a)||[];c.push(s),r.set(a,c)}),r}var jh=/%(\d[a-f0-9])/gi,Vh={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Pd(n){return encodeURIComponent(n).replace(jh,(t,r)=>Vh[r]??t)}function Zo(n){return`${n}`}var li=class n{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new ja,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=Lh(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(r=>{let e=t.fromObject[r],i=Array.isArray(e)?e.map(Zo):[Zo(e)];this.map.set(r,i)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let r=this.map.get(t);return r?r[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,r){return this.clone({param:t,value:r,op:"a"})}appendAll(t){let r=[];return Object.keys(t).forEach(e=>{let i=t[e];Array.isArray(i)?i.forEach(o=>{r.push({param:e,value:o,op:"a"})}):r.push({param:e,value:i,op:"a"})}),this.clone(r)}set(t,r){return this.clone({param:t,value:r,op:"s"})}delete(t,r){return this.clone({param:t,value:r,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let r=this.encoder.encodeKey(t);return this.map.get(t).map(e=>r+"="+this.encoder.encodeValue(e)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let r=new n({encoder:this.encoder});return r.cloneFrom=this.cloneFrom||this,r.updates=(this.updates||[]).concat(t),r}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":let r=(t.op==="a"?this.map.get(t.param):void 0)||[];r.push(Zo(t.value)),this.map.set(t.param,r);break;case"d":if(t.value!==void 0){let e=this.map.get(t.param)||[],i=e.indexOf(Zo(t.value));i!==-1&&e.splice(i,1),e.length>0?this.map.set(t.param,e):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}};var Va=class{constructor(){this.map=new Map}set(t,r){return this.map.set(t,r),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}};function Bh(n){switch(n){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Nd(n){return typeof ArrayBuffer<"u"&&n instanceof ArrayBuffer}function Ld(n){return typeof Blob<"u"&&n instanceof Blob}function jd(n){return typeof FormData<"u"&&n instanceof FormData}function zh(n){return typeof URLSearchParams<"u"&&n instanceof URLSearchParams}var Vn=class n{constructor(t,r,e,i){this.url=r,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase();let o;if(Bh(this.method)||i?(this.body=e!==void 0?e:null,o=i):o=e,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers??=new Ei,this.context??=new Va,!this.params)this.params=new li,this.urlWithParams=r;else{let a=this.params.toString();if(a.length===0)this.urlWithParams=r;else{let s=r.indexOf("?"),c=s===-1?"?":sw.set(R,t.setHeaders[R]),d)),t.setParams&&(m=Object.keys(t.setParams).reduce((w,R)=>w.set(R,t.setParams[R]),m)),new n(r,e,a,{params:m,headers:d,context:p,reportProgress:c,responseType:i,withCredentials:s,transferCache:o})}},Ki=function(n){return n[n.Sent=0]="Sent",n[n.UploadProgress=1]="UploadProgress",n[n.ResponseHeader=2]="ResponseHeader",n[n.DownloadProgress=3]="DownloadProgress",n[n.Response=4]="Response",n[n.User=5]="User",n}(Ki||{}),zn=class{constructor(t,r=Jo.Ok,e="OK"){this.headers=t.headers||new Ei,this.status=t.status!==void 0?t.status:r,this.statusText=t.statusText||e,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}},Ba=class n extends zn{constructor(t={}){super(t),this.type=Ki.ResponseHeader}clone(t={}){return new n({headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},Ko=class n extends zn{constructor(t={}){super(t),this.type=Ki.Response,this.body=t.body!==void 0?t.body:null}clone(t={}){return new n({body:t.body!==void 0?t.body:this.body,headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},Ji=class extends zn{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||"(unknown url)"}`:this.message=`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}},Jo=function(n){return n[n.Continue=100]="Continue",n[n.SwitchingProtocols=101]="SwitchingProtocols",n[n.Processing=102]="Processing",n[n.EarlyHints=103]="EarlyHints",n[n.Ok=200]="Ok",n[n.Created=201]="Created",n[n.Accepted=202]="Accepted",n[n.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",n[n.NoContent=204]="NoContent",n[n.ResetContent=205]="ResetContent",n[n.PartialContent=206]="PartialContent",n[n.MultiStatus=207]="MultiStatus",n[n.AlreadyReported=208]="AlreadyReported",n[n.ImUsed=226]="ImUsed",n[n.MultipleChoices=300]="MultipleChoices",n[n.MovedPermanently=301]="MovedPermanently",n[n.Found=302]="Found",n[n.SeeOther=303]="SeeOther",n[n.NotModified=304]="NotModified",n[n.UseProxy=305]="UseProxy",n[n.Unused=306]="Unused",n[n.TemporaryRedirect=307]="TemporaryRedirect",n[n.PermanentRedirect=308]="PermanentRedirect",n[n.BadRequest=400]="BadRequest",n[n.Unauthorized=401]="Unauthorized",n[n.PaymentRequired=402]="PaymentRequired",n[n.Forbidden=403]="Forbidden",n[n.NotFound=404]="NotFound",n[n.MethodNotAllowed=405]="MethodNotAllowed",n[n.NotAcceptable=406]="NotAcceptable",n[n.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",n[n.RequestTimeout=408]="RequestTimeout",n[n.Conflict=409]="Conflict",n[n.Gone=410]="Gone",n[n.LengthRequired=411]="LengthRequired",n[n.PreconditionFailed=412]="PreconditionFailed",n[n.PayloadTooLarge=413]="PayloadTooLarge",n[n.UriTooLong=414]="UriTooLong",n[n.UnsupportedMediaType=415]="UnsupportedMediaType",n[n.RangeNotSatisfiable=416]="RangeNotSatisfiable",n[n.ExpectationFailed=417]="ExpectationFailed",n[n.ImATeapot=418]="ImATeapot",n[n.MisdirectedRequest=421]="MisdirectedRequest",n[n.UnprocessableEntity=422]="UnprocessableEntity",n[n.Locked=423]="Locked",n[n.FailedDependency=424]="FailedDependency",n[n.TooEarly=425]="TooEarly",n[n.UpgradeRequired=426]="UpgradeRequired",n[n.PreconditionRequired=428]="PreconditionRequired",n[n.TooManyRequests=429]="TooManyRequests",n[n.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",n[n.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",n[n.InternalServerError=500]="InternalServerError",n[n.NotImplemented=501]="NotImplemented",n[n.BadGateway=502]="BadGateway",n[n.ServiceUnavailable=503]="ServiceUnavailable",n[n.GatewayTimeout=504]="GatewayTimeout",n[n.HttpVersionNotSupported=505]="HttpVersionNotSupported",n[n.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",n[n.InsufficientStorage=507]="InsufficientStorage",n[n.LoopDetected=508]="LoopDetected",n[n.NotExtended=510]="NotExtended",n[n.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",n}(Jo||{});function La(n,t){return{body:t,headers:n.headers,context:n.context,observe:n.observe,params:n.params,reportProgress:n.reportProgress,responseType:n.responseType,withCredentials:n.withCredentials,transferCache:n.transferCache}}var Di=(()=>{let t=class t{constructor(e){this.handler=e}request(e,i,o={}){let a;if(e instanceof Vn)a=e;else{let d;o.headers instanceof Ei?d=o.headers:d=new Ei(o.headers);let m;o.params&&(o.params instanceof li?m=o.params:m=new li({fromObject:o.params})),a=new Vn(e,i,o.body!==void 0?o.body:null,{headers:d,context:o.context,params:m,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let s=O(a).pipe(Ci(d=>this.handler.handle(d)));if(e instanceof Vn||o.observe==="events")return s;let c=s.pipe(tt(d=>d instanceof Ko));switch(o.observe||"body"){case"body":switch(a.responseType){case"arraybuffer":return c.pipe(F(d=>{if(d.body!==null&&!(d.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return d.body}));case"blob":return c.pipe(F(d=>{if(d.body!==null&&!(d.body instanceof Blob))throw new Error("Response is not a Blob.");return d.body}));case"text":return c.pipe(F(d=>{if(d.body!==null&&typeof d.body!="string")throw new Error("Response is not a string.");return d.body}));case"json":default:return c.pipe(F(d=>d.body))}case"response":return c;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(e,i={}){return this.request("DELETE",e,i)}get(e,i={}){return this.request("GET",e,i)}head(e,i={}){return this.request("HEAD",e,i)}jsonp(e,i){return this.request("JSONP",e,{params:new li().append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,i={}){return this.request("OPTIONS",e,i)}patch(e,i,o={}){return this.request("PATCH",e,La(o,i))}post(e,i,o={}){return this.request("POST",e,La(o,i))}put(e,i,o={}){return this.request("PUT",e,La(o,i))}};t.\u0275fac=function(i){return new(i||t)(u(Bn))},t.\u0275prov=x({token:t,factory:t.\u0275fac});let n=t;return n})();function Uh(n,t){return t(n)}function Hh(n,t,r){return(e,i)=>qe(r,()=>t(e,o=>n(o,i)))}var Ua=new y(""),$h=new y(""),Wh=new y("");var Vd=(()=>{let t=class t extends Bn{constructor(e,i){super(),this.backend=e,this.injector=i,this.chain=null,this.pendingTasks=_(zo);let o=_(Wh,{optional:!0});this.backend=o??e}handle(e){if(this.chain===null){let o=Array.from(new Set([...this.injector.get(Ua),...this.injector.get($h,[])]));this.chain=o.reduceRight((a,s)=>Hh(a,s,this.injector),Uh)}let i=this.pendingTasks.add();return this.chain(e,o=>this.backend.handle(o)).pipe(ri(()=>this.pendingTasks.remove(i)))}};t.\u0275fac=function(i){return new(i||t)(u(Qo),u($i))},t.\u0275prov=x({token:t,factory:t.\u0275fac});let n=t;return n})();var Gh=/^\)\]\}',?\n/;function qh(n){return"responseURL"in n&&n.responseURL?n.responseURL:/^X-Request-URL:/m.test(n.getAllResponseHeaders())?n.getResponseHeader("X-Request-URL"):null}var Bd=(()=>{let t=class t{constructor(e){this.xhrFactory=e}handle(e){if(e.method==="JSONP")throw new gt(-2800,!1);let i=this.xhrFactory;return(i.\u0275loadImpl?Ut(i.\u0275loadImpl()):O(null)).pipe(vt(()=>new Yt(a=>{let s=i.build();if(s.open(e.method,e.urlWithParams),e.withCredentials&&(s.withCredentials=!0),e.headers.forEach((ot,ut)=>s.setRequestHeader(ot,ut.join(","))),e.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){let ot=e.detectContentTypeHeader();ot!==null&&s.setRequestHeader("Content-Type",ot)}if(e.responseType){let ot=e.responseType.toLowerCase();s.responseType=ot!=="json"?ot:"text"}let c=e.serializeBody(),d=null,m=()=>{if(d!==null)return d;let ot=s.statusText||"OK",ut=new Ei(s.getAllResponseHeaders()),Ee=qh(s)||e.url;return d=new Ba({headers:ut,status:s.status,statusText:ot,url:Ee}),d},p=()=>{let{headers:ot,status:ut,statusText:Ee,url:Jc}=m(),qt=null;ut!==Jo.NoContent&&(qt=typeof s.response>"u"?s.responseText:s.response),ut===0&&(ut=qt?Jo.Ok:0);let xa=ut>=200&&ut<300;if(e.responseType==="json"&&typeof qt=="string"){let Mh=qt;qt=qt.replace(Gh,"");try{qt=qt!==""?JSON.parse(qt):null}catch(Rh){qt=Mh,xa&&(xa=!1,qt={error:Rh,text:qt})}}xa?(a.next(new Ko({body:qt,headers:ot,status:ut,statusText:Ee,url:Jc||void 0})),a.complete()):a.error(new Ji({error:qt,headers:ot,status:ut,statusText:Ee,url:Jc||void 0}))},w=ot=>{let{url:ut}=m(),Ee=new Ji({error:ot,status:s.status||0,statusText:s.statusText||"Unknown Error",url:ut||void 0});a.error(Ee)},R=!1,Z=ot=>{R||(a.next(m()),R=!0);let ut={type:Ki.DownloadProgress,loaded:ot.loaded};ot.lengthComputable&&(ut.total=ot.total),e.responseType==="text"&&s.responseText&&(ut.partialText=s.responseText),a.next(ut)},ct=ot=>{let ut={type:Ki.UploadProgress,loaded:ot.loaded};ot.lengthComputable&&(ut.total=ot.total),a.next(ut)};return s.addEventListener("load",p),s.addEventListener("error",w),s.addEventListener("timeout",w),s.addEventListener("abort",w),e.reportProgress&&(s.addEventListener("progress",Z),c!==null&&s.upload&&s.upload.addEventListener("progress",ct)),s.send(c),a.next({type:Ki.Sent}),()=>{s.removeEventListener("error",w),s.removeEventListener("abort",w),s.removeEventListener("load",p),s.removeEventListener("timeout",w),e.reportProgress&&(s.removeEventListener("progress",Z),c!==null&&s.upload&&s.upload.removeEventListener("progress",ct)),s.readyState!==s.DONE&&s.abort()}})))}};t.\u0275fac=function(i){return new(i||t)(u(Xo))},t.\u0275prov=x({token:t,factory:t.\u0275fac});let n=t;return n})(),zd=new y(""),Yh="XSRF-TOKEN",Xh=new y("",{providedIn:"root",factory:()=>Yh}),Zh="X-XSRF-TOKEN",Qh=new y("",{providedIn:"root",factory:()=>Zh}),tr=class{},Kh=(()=>{let t=class t{constructor(e,i,o){this.doc=e,this.platform=i,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=qo(e,this.cookieName),this.lastCookieString=e),this.lastToken}};t.\u0275fac=function(i){return new(i||t)(u(j),u(ue),u(Xh))},t.\u0275prov=x({token:t,factory:t.\u0275fac});let n=t;return n})();function Jh(n,t){let r=n.url.toLowerCase();if(!_(zd)||n.method==="GET"||n.method==="HEAD"||r.startsWith("http://")||r.startsWith("https://"))return t(n);let e=_(tr).getToken(),i=_(Qh);return e!=null&&!n.headers.has(i)&&(n=n.clone({headers:n.headers.set(i,e)})),t(n)}var Ud=function(n){return n[n.Interceptors=0]="Interceptors",n[n.LegacyInterceptors=1]="LegacyInterceptors",n[n.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",n[n.NoXsrfProtection=3]="NoXsrfProtection",n[n.JsonpSupport=4]="JsonpSupport",n[n.RequestsMadeViaParent=5]="RequestsMadeViaParent",n[n.Fetch=6]="Fetch",n}(Ud||{});function tf(n,t){return{\u0275kind:n,\u0275providers:t}}function Hd(...n){let t=[Di,Bd,Vd,{provide:Bn,useExisting:Vd},{provide:Qo,useExisting:Bd},{provide:Ua,useValue:Jh,multi:!0},{provide:zd,useValue:!0},{provide:tr,useClass:Kh}];for(let r of n)t.push(...r.\u0275providers);return Ge(t)}function $d(n){return tf(Ud.Interceptors,n.map(t=>({provide:Ua,useValue:t,multi:!0})))}var Ga=class extends Rd{constructor(){super(...arguments),this.supportsDOMEvents=!0}},qa=class n extends Ga{static makeCurrent(){Md(new n)}onAndCancel(t,r,e){return t.addEventListener(r,e),()=>{t.removeEventListener(r,e)}}dispatchEvent(t,r){t.dispatchEvent(r)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,r){return r=r||this.getDefaultDocument(),r.createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,r){return r==="window"?window:r==="document"?t:r==="body"?t.body:null}getBaseHref(t){let r=nf();return r==null?null:of(r)}resetBaseElement(){Un=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return qo(document.cookie,t)}},Un=null;function nf(){return Un=Un||document.querySelector("base"),Un?Un.getAttribute("href"):null}function of(n){return new URL(n,document.baseURI).pathname}var rf=(()=>{let t=class t{build(){return new XMLHttpRequest}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=x({token:t,factory:t.\u0275fac});let n=t;return n})(),Ya=new y(""),Yd=(()=>{let t=class t{constructor(e,i){this._zone=i,this._eventNameToPlugin=new Map,e.forEach(o=>{o.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,i,o){return this._findPluginFor(i).addEventListener(e,i,o)}getZone(){return this._zone}_findPluginFor(e){let i=this._eventNameToPlugin.get(e);if(i)return i;if(i=this._plugins.find(a=>a.supports(e)),!i)throw new gt(5101,!1);return this._eventNameToPlugin.set(e,i),i}};t.\u0275fac=function(i){return new(i||t)(u(Ya),u(k))},t.\u0275prov=x({token:t,factory:t.\u0275fac});let n=t;return n})(),er=class{constructor(t){this._doc=t}},$a="ng-app-id",Xd=(()=>{let t=class t{constructor(e,i,o,a={}){this.doc=e,this.appId=i,this.nonce=o,this.platformId=a,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Yo(a),this.resetHostNodes()}addStyles(e){for(let i of e)this.changeUsageCount(i,1)===1&&this.onStyleAdded(i)}removeStyles(e){for(let i of e)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){let e=this.styleNodesInDOM;e&&(e.forEach(i=>i.remove()),e.clear());for(let i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(e){this.hostNodes.add(e);for(let i of this.getAllStyles())this.addStyleToHost(e,i)}removeHost(e){this.hostNodes.delete(e)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(e){for(let i of this.hostNodes)this.addStyleToHost(i,e)}onStyleRemoved(e){let i=this.styleRef;i.get(e)?.elements?.forEach(o=>o.remove()),i.delete(e)}collectServerRenderedStyles(){let e=this.doc.head?.querySelectorAll(`style[${$a}="${this.appId}"]`);if(e?.length){let i=new Map;return e.forEach(o=>{o.textContent!=null&&i.set(o.textContent,o)}),i}return null}changeUsageCount(e,i){let o=this.styleRef;if(o.has(e)){let a=o.get(e);return a.usage+=i,a.usage}return o.set(e,{usage:i,elements:[]}),i}getStyleElement(e,i){let o=this.styleNodesInDOM,a=o?.get(i);if(a?.parentNode===e)return o.delete(i),a.removeAttribute($a),a;{let s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=i,this.platformIsServer&&s.setAttribute($a,this.appId),e.appendChild(s),s}}addStyleToHost(e,i){let o=this.getStyleElement(e,i),a=this.styleRef,s=a.get(i)?.elements;s?s.push(o):a.set(i,{elements:[o],usage:1})}resetHostNodes(){let e=this.hostNodes;e.clear(),e.add(this.doc.head)}};t.\u0275fac=function(i){return new(i||t)(u(j),u(On),u(Fn,8),u(ue))},t.\u0275prov=x({token:t,factory:t.\u0275fac});let n=t;return n})(),Wa={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},Qa=/%COMP%/g,Zd="%COMP%",af=`_nghost-${Zd}`,sf=`_ngcontent-${Zd}`,cf=!0,df=new y("",{providedIn:"root",factory:()=>cf});function lf(n){return sf.replace(Qa,n)}function mf(n){return af.replace(Qa,n)}function Qd(n,t){return t.map(r=>r.replace(Qa,n))}var ir=(()=>{let t=class t{constructor(e,i,o,a,s,c,d,m=null){this.eventManager=e,this.sharedStylesHost=i,this.appId=o,this.removeStylesOnCompDestroy=a,this.doc=s,this.platformId=c,this.ngZone=d,this.nonce=m,this.rendererByCompId=new Map,this.platformIsServer=Yo(c),this.defaultRenderer=new Hn(e,s,d,this.platformIsServer)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===Mn.ShadowDom&&(i=ht(g({},i),{encapsulation:Mn.Emulated}));let o=this.getOrCreateRenderer(e,i);return o instanceof nr?o.applyToHost(e):o instanceof $n&&o.applyStyles(),o}getOrCreateRenderer(e,i){let o=this.rendererByCompId,a=o.get(i.id);if(!a){let s=this.doc,c=this.ngZone,d=this.eventManager,m=this.sharedStylesHost,p=this.removeStylesOnCompDestroy,w=this.platformIsServer;switch(i.encapsulation){case Mn.Emulated:a=new nr(d,m,i,this.appId,p,s,c,w);break;case Mn.ShadowDom:return new Xa(d,m,e,i,s,c,this.nonce,w);default:a=new $n(d,m,i,p,s,c,w);break}o.set(i.id,a)}return a}ngOnDestroy(){this.rendererByCompId.clear()}};t.\u0275fac=function(i){return new(i||t)(u(Yd),u(Xd),u(On),u(df),u(j),u(ue),u(k),u(Fn))},t.\u0275prov=x({token:t,factory:t.\u0275fac});let n=t;return n})(),Hn=class{constructor(t,r,e,i){this.eventManager=t,this.doc=r,this.ngZone=e,this.platformIsServer=i,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(t,r){return r?this.doc.createElementNS(Wa[r]||r,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,r){(Wd(t)?t.content:t).appendChild(r)}insertBefore(t,r,e){t&&(Wd(t)?t.content:t).insertBefore(r,e)}removeChild(t,r){t&&t.removeChild(r)}selectRootElement(t,r){let e=typeof t=="string"?this.doc.querySelector(t):t;if(!e)throw new gt(-5104,!1);return r||(e.textContent=""),e}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,r,e,i){if(i){r=i+":"+r;let o=Wa[i];o?t.setAttributeNS(o,r,e):t.setAttribute(r,e)}else t.setAttribute(r,e)}removeAttribute(t,r,e){if(e){let i=Wa[e];i?t.removeAttributeNS(i,r):t.removeAttribute(`${e}:${r}`)}else t.removeAttribute(r)}addClass(t,r){t.classList.add(r)}removeClass(t,r){t.classList.remove(r)}setStyle(t,r,e,i){i&(Pn.DashCase|Pn.Important)?t.style.setProperty(r,e,i&Pn.Important?"important":""):t.style[r]=e}removeStyle(t,r,e){e&Pn.DashCase?t.style.removeProperty(r):t.style[r]=""}setProperty(t,r,e){t!=null&&(t[r]=e)}setValue(t,r){t.nodeValue=r}listen(t,r,e){if(typeof t=="string"&&(t=Xi().getGlobalEventTarget(this.doc,t),!t))throw new Error(`Unsupported event target ${t} for event ${r}`);return this.eventManager.addEventListener(t,r,this.decoratePreventDefault(e))}decoratePreventDefault(t){return r=>{if(r==="__ngUnwrap__")return t;(this.platformIsServer?this.ngZone.runGuarded(()=>t(r)):t(r))===!1&&r.preventDefault()}}};function Wd(n){return n.tagName==="TEMPLATE"&&n.content!==void 0}var Xa=class extends Hn{constructor(t,r,e,i,o,a,s,c){super(t,o,a,c),this.sharedStylesHost=r,this.hostEl=e,this.shadowRoot=e.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let d=Qd(i.id,i.styles);for(let m of d){let p=document.createElement("style");s&&p.setAttribute("nonce",s),p.textContent=m,this.shadowRoot.appendChild(p)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,r){return super.appendChild(this.nodeOrShadowRoot(t),r)}insertBefore(t,r,e){return super.insertBefore(this.nodeOrShadowRoot(t),r,e)}removeChild(t,r){return super.removeChild(this.nodeOrShadowRoot(t),r)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},$n=class extends Hn{constructor(t,r,e,i,o,a,s,c){super(t,o,a,s),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=i,this.styles=c?Qd(c,e.styles):e.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},nr=class extends $n{constructor(t,r,e,i,o,a,s,c){let d=i+"-"+e.id;super(t,r,e,o,a,s,c,d),this.contentAttr=lf(d),this.hostAttr=mf(d)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,r){let e=super.createElement(t,r);return super.setAttribute(e,this.contentAttr,""),e}},uf=(()=>{let t=class t extends er{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,o){return e.addEventListener(i,o,!1),()=>this.removeEventListener(e,i,o)}removeEventListener(e,i,o){return e.removeEventListener(i,o)}};t.\u0275fac=function(i){return new(i||t)(u(j))},t.\u0275prov=x({token:t,factory:t.\u0275fac});let n=t;return n})(),Gd=["alt","control","meta","shift"],hf={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},ff={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey},pf=(()=>{let t=class t extends er{constructor(e){super(e)}supports(e){return t.parseEventName(e)!=null}addEventListener(e,i,o){let a=t.parseEventName(i),s=t.eventCallback(a.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Xi().onAndCancel(e,a.domEventName,s))}static parseEventName(e){let i=e.toLowerCase().split("."),o=i.shift();if(i.length===0||!(o==="keydown"||o==="keyup"))return null;let a=t._normalizeKey(i.pop()),s="",c=i.indexOf("code");if(c>-1&&(i.splice(c,1),s="code."),Gd.forEach(m=>{let p=i.indexOf(m);p>-1&&(i.splice(p,1),s+=m+".")}),s+=a,i.length!=0||a.length===0)return null;let d={};return d.domEventName=o,d.fullKey=s,d}static matchEventFullKeyCode(e,i){let o=hf[e.key]||e.key,a="";return i.indexOf("code.")>-1&&(o=e.code,a="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),Gd.forEach(s=>{if(s!==o){let c=ff[s];c(e)&&(a+=s+".")}}),a+=o,a===i)}static eventCallback(e,i,o){return a=>{t.matchEventFullKeyCode(a,e)&&o.runGuarded(()=>i(a))}}static _normalizeKey(e){return e==="esc"?"escape":e}};t.\u0275fac=function(i){return new(i||t)(u(j))},t.\u0275prov=x({token:t,factory:t.\u0275fac});let n=t;return n})();function Kd(n,t){return Td(g({rootComponent:n},bf(t)))}function bf(n){return{appProviders:[...xf,...n?.providers??[]],platformProviders:yf}}function gf(){qa.makeCurrent()}function _f(){return new ki}function vf(){return md(document),document}var yf=[{provide:ue,useValue:Fd},{provide:ud,useValue:gf,multi:!0},{provide:j,useFactory:vf,deps:[]}];var xf=[{provide:dd,useValue:"root"},{provide:ki,useFactory:_f,deps:[]},{provide:Ya,useClass:uf,multi:!0,deps:[j,k,ue]},{provide:Ya,useClass:pf,multi:!0,deps:[j]},ir,Xd,Yd,{provide:Vo,useExisting:ir},{provide:Xo,useClass:rf,deps:[]},[]];var Jd=(()=>{let t=class t{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}};t.\u0275fac=function(i){return new(i||t)(u(j))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();var Ka=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=x({token:t,factory:function(i){let o=null;return i?o=new(i||t):o=u(wf),o},providedIn:"root"});let n=t;return n})(),wf=(()=>{let t=class t extends Ka{constructor(e){super(),this._doc=e}sanitize(e,i){if(i==null)return null;switch(e){case te.NONE:return i;case te.HTML:return Gi(i,"HTML")?Wi(i):vd(this._doc,String(i)).toString();case te.STYLE:return Gi(i,"Style")?Wi(i):i;case te.SCRIPT:if(Gi(i,"Script"))return Wi(i);throw new gt(5200,!1);case te.URL:return Gi(i,"URL")?Wi(i):_d(String(i));case te.RESOURCE_URL:if(Gi(i,"ResourceURL"))return Wi(i);throw new gt(5201,!1);default:throw new gt(5202,!1)}}bypassSecurityTrustHtml(e){return hd(e)}bypassSecurityTrustStyle(e){return fd(e)}bypassSecurityTrustScript(e){return pd(e)}bypassSecurityTrustUrl(e){return bd(e)}bypassSecurityTrustResourceUrl(e){return gd(e)}};t.\u0275fac=function(i){return new(i||t)(u(j))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();var et="primary",ro=Symbol("RouteTitle"),ns=class{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){let r=this.params[t];return Array.isArray(r)?r[0]:r}return null}getAll(t){if(this.has(t)){let r=this.params[t];return Array.isArray(r)?r:[r]}return[]}get keys(){return Object.keys(this.params)}};function rn(n){return new ns(n)}function kf(n,t,r){let e=r.path.split("/");if(e.length>n.length||r.pathMatch==="full"&&(t.hasChildren()||e.lengthe[o]===i)}else return n===t}function sl(n){return n.length>0?n[n.length-1]:null}function hi(n){return ka(n)?n:Go(n)?Ut(Promise.resolve(n)):O(n)}var Ef={exact:dl,subset:ll},cl={exact:Df,subset:Sf,ignored:()=>!0};function el(n,t,r){return Ef[r.paths](n.root,t.root,r.matrixParams)&&cl[r.queryParams](n.queryParams,t.queryParams)&&!(r.fragment==="exact"&&n.fragment!==t.fragment)}function Df(n,t){return je(n,t)}function dl(n,t,r){if(!Ti(n.segments,t.segments)||!ar(n.segments,t.segments,r)||n.numberOfChildren!==t.numberOfChildren)return!1;for(let e in t.children)if(!n.children[e]||!dl(n.children[e],t.children[e],r))return!1;return!0}function Sf(n,t){return Object.keys(t).length<=Object.keys(n).length&&Object.keys(t).every(r=>al(n[r],t[r]))}function ll(n,t,r){return ml(n,t,t.segments,r)}function ml(n,t,r,e){if(n.segments.length>r.length){let i=n.segments.slice(0,r.length);return!(!Ti(i,r)||t.hasChildren()||!ar(i,r,e))}else if(n.segments.length===r.length){if(!Ti(n.segments,r)||!ar(n.segments,r,e))return!1;for(let i in t.children)if(!n.children[i]||!ll(n.children[i],t.children[i],e))return!1;return!0}else{let i=r.slice(0,n.segments.length),o=r.slice(n.segments.length);return!Ti(n.segments,i)||!ar(n.segments,i,e)||!n.children[et]?!1:ml(n.children[et],t,o,e)}}function ar(n,t,r){return t.every((e,i)=>cl[r](n[i].parameters,e.parameters))}var mi=class{constructor(t=new bt([],{}),r={},e=null){this.root=t,this.queryParams=r,this.fragment=e}get queryParamMap(){return this._queryParamMap??=rn(this.queryParams),this._queryParamMap}toString(){return Mf.serialize(this)}},bt=class{constructor(t,r){this.segments=t,this.children=r,this.parent=null,Object.values(r).forEach(e=>e.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return sr(this)}},Si=class{constructor(t,r){this.path=t,this.parameters=r}get parameterMap(){return this._parameterMap??=rn(this.parameters),this._parameterMap}toString(){return hl(this)}};function Tf(n,t){return Ti(n,t)&&n.every((r,e)=>je(r.parameters,t[e].parameters))}function Ti(n,t){return n.length!==t.length?!1:n.every((r,e)=>r.path===t[e].path)}function Af(n,t){let r=[];return Object.entries(n.children).forEach(([e,i])=>{e===et&&(r=r.concat(t(i,e)))}),Object.entries(n.children).forEach(([e,i])=>{e!==et&&(r=r.concat(t(i,e)))}),r}var As=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=x({token:t,factory:()=>new dr,providedIn:"root"});let n=t;return n})(),dr=class{parse(t){let r=new as(t);return new mi(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(t){let r=`/${Wn(t.root,!0)}`,e=Ff(t.queryParams),i=typeof t.fragment=="string"?`#${Rf(t.fragment)}`:"";return`${r}${e}${i}`}},Mf=new dr;function sr(n){return n.segments.map(t=>hl(t)).join("/")}function Wn(n,t){if(!n.hasChildren())return sr(n);if(t){let r=n.children[et]?Wn(n.children[et],!1):"",e=[];return Object.entries(n.children).forEach(([i,o])=>{i!==et&&e.push(`${i}:${Wn(o,!1)}`)}),e.length>0?`${r}(${e.join("//")})`:r}else{let r=Af(n,(e,i)=>i===et?[Wn(n.children[et],!1)]:[`${i}:${Wn(e,!1)}`]);return Object.keys(n.children).length===1&&n.children[et]!=null?`${sr(n)}/${r[0]}`:`${sr(n)}/(${r.join("//")})`}}function ul(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function or(n){return ul(n).replace(/%3B/gi,";")}function Rf(n){return encodeURI(n)}function rs(n){return ul(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function cr(n){return decodeURIComponent(n)}function il(n){return cr(n.replace(/\+/g,"%20"))}function hl(n){return`${rs(n.path)}${Of(n.parameters)}`}function Of(n){return Object.entries(n).map(([t,r])=>`;${rs(t)}=${rs(r)}`).join("")}function Ff(n){let t=Object.entries(n).map(([r,e])=>Array.isArray(e)?e.map(i=>`${or(r)}=${or(i)}`).join("&"):`${or(r)}=${or(e)}`).filter(r=>r);return t.length?`?${t.join("&")}`:""}var Pf=/^[^\/()?;#]+/;function Ja(n){let t=n.match(Pf);return t?t[0]:""}var Nf=/^[^\/()?;=#]+/;function Lf(n){let t=n.match(Nf);return t?t[0]:""}var jf=/^[^=?&#]+/;function Vf(n){let t=n.match(jf);return t?t[0]:""}var Bf=/^[^&#]+/;function zf(n){let t=n.match(Bf);return t?t[0]:""}var as=class{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new bt([],{}):new bt([],this.parseChildren())}parseQueryParams(){let t={};if(this.consumeOptional("?"))do this.parseQueryParam(t);while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0));let e={};return this.peekStartsWith("(")&&(e=this.parseParens(!1)),(t.length>0||Object.keys(r).length>0)&&(e[et]=new bt(t,r)),e}parseSegment(){let t=Ja(this.remaining);if(t===""&&this.peekStartsWith(";"))throw new gt(4009,!1);return this.capture(t),new Si(cr(t),this.parseMatrixParams())}parseMatrixParams(){let t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){let r=Lf(this.remaining);if(!r)return;this.capture(r);let e="";if(this.consumeOptional("=")){let i=Ja(this.remaining);i&&(e=i,this.capture(e))}t[cr(r)]=cr(e)}parseQueryParam(t){let r=Vf(this.remaining);if(!r)return;this.capture(r);let e="";if(this.consumeOptional("=")){let a=zf(this.remaining);a&&(e=a,this.capture(e))}let i=il(r),o=il(e);if(t.hasOwnProperty(i)){let a=t[i];Array.isArray(a)||(a=[a],t[i]=a),a.push(o)}else t[i]=o}parseParens(t){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let e=Ja(this.remaining),i=this.remaining[e.length];if(i!=="/"&&i!==")"&&i!==";")throw new gt(4010,!1);let o;e.indexOf(":")>-1?(o=e.slice(0,e.indexOf(":")),this.capture(o),this.capture(":")):t&&(o=et);let a=this.parseChildren();r[o]=Object.keys(a).length===1?a[et]:new bt([],a),this.consumeOptional("//")}return r}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return this.peekStartsWith(t)?(this.remaining=this.remaining.substring(t.length),!0):!1}capture(t){if(!this.consumeOptional(t))throw new gt(4011,!1)}};function fl(n){return n.segments.length>0?new bt([],{[et]:n}):n}function pl(n){let t={};for(let[e,i]of Object.entries(n.children)){let o=pl(i);if(e===et&&o.segments.length===0&&o.hasChildren())for(let[a,s]of Object.entries(o.children))t[a]=s;else(o.segments.length>0||o.hasChildren())&&(t[e]=o)}let r=new bt(n.segments,t);return Uf(r)}function Uf(n){if(n.numberOfChildren===1&&n.children[et]){let t=n.children[et];return new bt(n.segments.concat(t.segments),t.children)}return n}function an(n){return n instanceof mi}function Hf(n,t,r=null,e=null){let i=bl(n);return gl(i,t,r,e)}function bl(n){let t;function r(o){let a={};for(let c of o.children){let d=r(c);a[c.outlet]=d}let s=new bt(o.url,a);return o===n&&(t=s),s}let e=r(n.root),i=fl(e);return t??i}function gl(n,t,r,e){let i=n;for(;i.parent;)i=i.parent;if(t.length===0)return ts(i,i,i,r,e);let o=$f(t);if(o.toRoot())return ts(i,i,new bt([],{}),r,e);let a=Wf(o,i,n),s=a.processChildren?Yn(a.segmentGroup,a.index,o.commands):vl(a.segmentGroup,a.index,o.commands);return ts(i,a.segmentGroup,s,r,e)}function lr(n){return typeof n=="object"&&n!=null&&!n.outlets&&!n.segmentPath}function Qn(n){return typeof n=="object"&&n!=null&&n.outlets}function ts(n,t,r,e,i){let o={};e&&Object.entries(e).forEach(([c,d])=>{o[c]=Array.isArray(d)?d.map(m=>`${m}`):`${d}`});let a;n===t?a=r:a=_l(n,t,r);let s=fl(pl(a));return new mi(s,o,i)}function _l(n,t,r){let e={};return Object.entries(n.children).forEach(([i,o])=>{o===t?e[i]=r:e[i]=_l(o,t,r)}),new bt(n.segments,e)}var mr=class{constructor(t,r,e){if(this.isAbsolute=t,this.numberOfDoubleDots=r,this.commands=e,t&&e.length>0&&lr(e[0]))throw new gt(4003,!1);let i=e.find(Qn);if(i&&i!==sl(e))throw new gt(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function $f(n){if(typeof n[0]=="string"&&n.length===1&&n[0]==="/")return new mr(!0,0,n);let t=0,r=!1,e=n.reduce((i,o,a)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let s={};return Object.entries(o.outlets).forEach(([c,d])=>{s[c]=typeof d=="string"?d.split("/"):d}),[...i,{outlets:s}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!="string"?[...i,o]:a===0?(o.split("/").forEach((s,c)=>{c==0&&s==="."||(c==0&&s===""?r=!0:s===".."?t++:s!=""&&i.push(s))}),i):[...i,o]},[]);return new mr(r,t,e)}var nn=class{constructor(t,r,e){this.segmentGroup=t,this.processChildren=r,this.index=e}};function Wf(n,t,r){if(n.isAbsolute)return new nn(t,!0,0);if(!r)return new nn(t,!1,NaN);if(r.parent===null)return new nn(r,!0,0);let e=lr(n.commands[0])?0:1,i=r.segments.length-1+e;return Gf(r,i,n.numberOfDoubleDots)}function Gf(n,t,r){let e=n,i=t,o=r;for(;o>i;){if(o-=i,e=e.parent,!e)throw new gt(4005,!1);i=e.segments.length}return new nn(e,!1,i-o)}function qf(n){return Qn(n[0])?n[0].outlets:{[et]:n}}function vl(n,t,r){if(n??=new bt([],{}),n.segments.length===0&&n.hasChildren())return Yn(n,t,r);let e=Yf(n,t,r),i=r.slice(e.commandIndex);if(e.match&&e.pathIndexo!==et)&&n.children[et]&&n.numberOfChildren===1&&n.children[et].segments.length===0){let o=Yn(n.children[et],t,r);return new bt(n.segments,o.children)}return Object.entries(e).forEach(([o,a])=>{typeof a=="string"&&(a=[a]),a!==null&&(i[o]=vl(n.children[o],t,a))}),Object.entries(n.children).forEach(([o,a])=>{e[o]===void 0&&(i[o]=a)}),new bt(n.segments,i)}}function Yf(n,t,r){let e=0,i=t,o={match:!1,pathIndex:0,commandIndex:0};for(;i=r.length)return o;let a=n.segments[i],s=r[e];if(Qn(s))break;let c=`${s}`,d=e0&&c===void 0)break;if(c&&d&&typeof d=="object"&&d.outlets===void 0){if(!ol(c,d,a))return o;e+=2}else{if(!ol(c,{},a))return o;e++}i++}return{match:!0,pathIndex:i,commandIndex:e}}function ss(n,t,r){let e=n.segments.slice(0,t),i=0;for(;i{typeof e=="string"&&(e=[e]),e!==null&&(t[r]=ss(new bt([],{}),0,e))}),t}function nl(n){let t={};return Object.entries(n).forEach(([r,e])=>t[r]=`${e}`),t}function ol(n,t,r){return n==r.path&&je(t,r.parameters)}var Xn="imperative",Nt=function(n){return n[n.NavigationStart=0]="NavigationStart",n[n.NavigationEnd=1]="NavigationEnd",n[n.NavigationCancel=2]="NavigationCancel",n[n.NavigationError=3]="NavigationError",n[n.RoutesRecognized=4]="RoutesRecognized",n[n.ResolveStart=5]="ResolveStart",n[n.ResolveEnd=6]="ResolveEnd",n[n.GuardsCheckStart=7]="GuardsCheckStart",n[n.GuardsCheckEnd=8]="GuardsCheckEnd",n[n.RouteConfigLoadStart=9]="RouteConfigLoadStart",n[n.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",n[n.ChildActivationStart=11]="ChildActivationStart",n[n.ChildActivationEnd=12]="ChildActivationEnd",n[n.ActivationStart=13]="ActivationStart",n[n.ActivationEnd=14]="ActivationEnd",n[n.Scroll=15]="Scroll",n[n.NavigationSkipped=16]="NavigationSkipped",n}(Nt||{}),_e=class{constructor(t,r){this.id=t,this.url=r}},Kn=class extends _e{constructor(t,r,e="imperative",i=null){super(t,r),this.type=Nt.NavigationStart,this.navigationTrigger=e,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Ai=class extends _e{constructor(t,r,e){super(t,r),this.urlAfterRedirects=e,this.type=Nt.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},ie=function(n){return n[n.Redirect=0]="Redirect",n[n.SupersededByNewNavigation=1]="SupersededByNewNavigation",n[n.NoDataFromResolver=2]="NoDataFromResolver",n[n.GuardRejected=3]="GuardRejected",n}(ie||{}),cs=function(n){return n[n.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",n[n.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",n}(cs||{}),ui=class extends _e{constructor(t,r,e,i){super(t,r),this.reason=e,this.code=i,this.type=Nt.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},Mi=class extends _e{constructor(t,r,e,i){super(t,r),this.reason=e,this.code=i,this.type=Nt.NavigationSkipped}},Jn=class extends _e{constructor(t,r,e,i){super(t,r),this.error=e,this.target=i,this.type=Nt.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},ur=class extends _e{constructor(t,r,e,i){super(t,r),this.urlAfterRedirects=e,this.state=i,this.type=Nt.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ds=class extends _e{constructor(t,r,e,i){super(t,r),this.urlAfterRedirects=e,this.state=i,this.type=Nt.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ls=class extends _e{constructor(t,r,e,i,o){super(t,r),this.urlAfterRedirects=e,this.state=i,this.shouldActivate=o,this.type=Nt.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},ms=class extends _e{constructor(t,r,e,i){super(t,r),this.urlAfterRedirects=e,this.state=i,this.type=Nt.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},us=class extends _e{constructor(t,r,e,i){super(t,r),this.urlAfterRedirects=e,this.state=i,this.type=Nt.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},hs=class{constructor(t){this.route=t,this.type=Nt.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},fs=class{constructor(t){this.route=t,this.type=Nt.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},ps=class{constructor(t){this.snapshot=t,this.type=Nt.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},bs=class{constructor(t){this.snapshot=t,this.type=Nt.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},gs=class{constructor(t){this.snapshot=t,this.type=Nt.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},_s=class{constructor(t){this.snapshot=t,this.type=Nt.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var to=class{},eo=class{constructor(t){this.url=t}};var vs=class{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new _r,this.attachRef=null}},_r=(()=>{let t=class t{constructor(){this.contexts=new Map}onChildOutletCreated(e,i){let o=this.getOrCreateContext(e);o.outlet=i,this.contexts.set(e,o)}onChildOutletDestroyed(e){let i=this.getContext(e);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let i=this.getContext(e);return i||(i=new vs,this.contexts.set(e,i)),i}getContext(e){return this.contexts.get(e)||null}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),hr=class{constructor(t){this._root=t}get root(){return this._root.value}parent(t){let r=this.pathFromRoot(t);return r.length>1?r[r.length-2]:null}children(t){let r=ys(t,this._root);return r?r.children.map(e=>e.value):[]}firstChild(t){let r=ys(t,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(t){let r=xs(t,this._root);return r.length<2?[]:r[r.length-2].children.map(i=>i.value).filter(i=>i!==t)}pathFromRoot(t){return xs(t,this._root).map(r=>r.value)}};function ys(n,t){if(n===t.value)return t;for(let r of t.children){let e=ys(n,r);if(e)return e}return null}function xs(n,t){if(n===t.value)return[t];for(let r of t.children){let e=xs(n,r);if(e.length)return e.unshift(t),e}return[]}var ee=class{constructor(t,r){this.value=t,this.children=r}toString(){return`TreeNode(${this.value})`}};function en(n){let t={};return n&&n.children.forEach(r=>t[r.value.outlet]=r),t}var fr=class extends hr{constructor(t,r){super(t),this.snapshot=r,Rs(this,t)}toString(){return this.snapshot.toString()}};function yl(n){let t=Zf(n),r=new At([new Si("",{})]),e=new At({}),i=new At({}),o=new At({}),a=new At(""),s=new sn(r,e,o,a,i,et,n,t.root);return s.snapshot=t.root,new fr(new ee(s,[]),t)}function Zf(n){let t={},r={},e={},i="",o=new io([],t,e,i,r,et,n,null,{});return new pr("",new ee(o,[]))}var sn=class{constructor(t,r,e,i,o,a,s,c){this.urlSubject=t,this.paramsSubject=r,this.queryParamsSubject=e,this.fragmentSubject=i,this.dataSubject=o,this.outlet=a,this.component=s,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(F(d=>d[ro]))??O(void 0),this.url=t,this.params=r,this.queryParams=e,this.fragment=i,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(F(t=>rn(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(F(t=>rn(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Ms(n,t,r="emptyOnly"){let e,{routeConfig:i}=n;return t!==null&&(r==="always"||i?.path===""||!t.component&&!t.routeConfig?.loadComponent)?e={params:g(g({},t.params),n.params),data:g(g({},t.data),n.data),resolve:g(g(g(g({},n.data),t.data),i?.data),n._resolvedData)}:e={params:g({},n.params),data:g({},n.data),resolve:g(g({},n.data),n._resolvedData??{})},i&&wl(i)&&(e.resolve[ro]=i.title),e}var io=class{get title(){return this.data?.[ro]}constructor(t,r,e,i,o,a,s,c,d){this.url=t,this.params=r,this.queryParams=e,this.fragment=i,this.data=o,this.outlet=a,this.component=s,this.routeConfig=c,this._resolve=d}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=rn(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=rn(this.queryParams),this._queryParamMap}toString(){let t=this.url.map(e=>e.toString()).join("/"),r=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${t}', path:'${r}')`}},pr=class extends hr{constructor(t,r){super(r),this.url=t,Rs(this,r)}toString(){return xl(this._root)}};function Rs(n,t){t.value._routerState=n,t.children.forEach(r=>Rs(n,r))}function xl(n){let t=n.children.length>0?` { ${n.children.map(xl).join(", ")} } `:"";return`${n.value}${t}`}function es(n){if(n.snapshot){let t=n.snapshot,r=n._futureSnapshot;n.snapshot=r,je(t.queryParams,r.queryParams)||n.queryParamsSubject.next(r.queryParams),t.fragment!==r.fragment&&n.fragmentSubject.next(r.fragment),je(t.params,r.params)||n.paramsSubject.next(r.params),If(t.url,r.url)||n.urlSubject.next(r.url),je(t.data,r.data)||n.dataSubject.next(r.data)}else n.snapshot=n._futureSnapshot,n.dataSubject.next(n._futureSnapshot.data)}function ws(n,t){let r=je(n.params,t.params)&&Tf(n.url,t.url),e=!n.parent!=!t.parent;return r&&!e&&(!n.parent||ws(n.parent,t.parent))}function wl(n){return typeof n.title=="string"||n.title===null}var Os=(()=>{let t=class t{constructor(){this.activated=null,this._activatedRoute=null,this.name=et,this.activateEvents=new V,this.deactivateEvents=new V,this.attachEvents=new V,this.detachEvents=new V,this.parentContexts=_(_r),this.location=_($t),this.changeDetector=_(pt),this.environmentInjector=_($i),this.inputBinder=_(Fs,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(e){if(e.name){let{firstChange:i,previousValue:o}=e.name;if(i)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new gt(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new gt(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new gt(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,i){this.activated=e,this._activatedRoute=i,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){let e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,i){if(this.isActivated)throw new gt(4013,!1);this._activatedRoute=e;let o=this.location,s=e.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,d=new Cs(e,c,o.injector);this.activated=o.createComponent(s,{index:o.length,injector:d,environmentInjector:i??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=I({type:t,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Ct]});let n=t;return n})(),Cs=class n{__ngOutletInjector(t){return new n(this.route,this.childContexts,t)}constructor(t,r,e){this.route=t,this.childContexts=r,this.parent=e}get(t,r){return t===sn?this.route:t===_r?this.childContexts:this.parent.get(t,r)}},Fs=new y("");function Qf(n,t,r){let e=no(n,t._root,r?r._root:void 0);return new fr(e,t)}function no(n,t,r){if(r&&n.shouldReuseRoute(t.value,r.value.snapshot)){let e=r.value;e._futureSnapshot=t.value;let i=Kf(n,t,r);return new ee(e,i)}else{if(n.shouldAttach(t.value)){let o=n.retrieve(t.value);if(o!==null){let a=o.route;return a.value._futureSnapshot=t.value,a.children=t.children.map(s=>no(n,s)),a}}let e=Jf(t.value),i=t.children.map(o=>no(n,o));return new ee(e,i)}}function Kf(n,t,r){return t.children.map(e=>{for(let i of r.children)if(n.shouldReuseRoute(e.value,i.value.snapshot))return no(n,e,i);return no(n,e)})}function Jf(n){return new sn(new At(n.url),new At(n.params),new At(n.queryParams),new At(n.fragment),new At(n.data),n.outlet,n.component,n)}var Cl="ngNavigationCancelingError";function kl(n,t){let{redirectTo:r,navigationBehaviorOptions:e}=an(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,i=Il(!1,ie.Redirect);return i.url=r,i.navigationBehaviorOptions=e,i}function Il(n,t){let r=new Error(`NavigationCancelingError: ${n||""}`);return r[Cl]=!0,r.cancellationCode=t,r}function tp(n){return El(n)&&an(n.url)}function El(n){return!!n&&n[Cl]}var ep=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275cmp=T({type:t,selectors:[["ng-component"]],standalone:!0,features:[A],decls:1,vars:0,template:function(i,o){i&1&&M(0,"router-outlet")},dependencies:[Os],encapsulation:2});let n=t;return n})();function ip(n,t){return n.providers&&!n._injector&&(n._injector=wd(n.providers,t,`Route: ${n.path}`)),n._injector??t}function Ps(n){let t=n.children&&n.children.map(Ps),r=t?ht(g({},n),{children:t}):g({},n);return!r.component&&!r.loadComponent&&(t||r.loadChildren)&&r.outlet&&r.outlet!==et&&(r.component=ep),r}function Ve(n){return n.outlet||et}function np(n,t){let r=n.filter(e=>Ve(e)===t);return r.push(...n.filter(e=>Ve(e)!==t)),r}function ao(n){if(!n)return null;if(n.routeConfig?._injector)return n.routeConfig._injector;for(let t=n.parent;t;t=t.parent){let r=t.routeConfig;if(r?._loadedInjector)return r._loadedInjector;if(r?._injector)return r._injector}return null}var op=(n,t,r,e)=>F(i=>(new ks(t,i.targetRouterState,i.currentRouterState,r,e).activate(n),i)),ks=class{constructor(t,r,e,i,o){this.routeReuseStrategy=t,this.futureState=r,this.currState=e,this.forwardEvent=i,this.inputBindingEnabled=o}activate(t){let r=this.futureState._root,e=this.currState?this.currState._root:null;this.deactivateChildRoutes(r,e,t),es(this.futureState.root),this.activateChildRoutes(r,e,t)}deactivateChildRoutes(t,r,e){let i=en(r);t.children.forEach(o=>{let a=o.value.outlet;this.deactivateRoutes(o,i[a],e),delete i[a]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,e)})}deactivateRoutes(t,r,e){let i=t.value,o=r?r.value:null;if(i===o)if(i.component){let a=e.getContext(i.outlet);a&&this.deactivateChildRoutes(t,r,a.children)}else this.deactivateChildRoutes(t,r,e);else o&&this.deactivateRouteAndItsChildren(r,e)}deactivateRouteAndItsChildren(t,r){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,r):this.deactivateRouteAndOutlet(t,r)}detachAndStoreRouteSubtree(t,r){let e=r.getContext(t.value.outlet),i=e&&t.value.component?e.children:r,o=en(t);for(let a of Object.values(o))this.deactivateRouteAndItsChildren(a,i);if(e&&e.outlet){let a=e.outlet.detach(),s=e.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:a,route:t,contexts:s})}}deactivateRouteAndOutlet(t,r){let e=r.getContext(t.value.outlet),i=e&&t.value.component?e.children:r,o=en(t);for(let a of Object.values(o))this.deactivateRouteAndItsChildren(a,i);e&&(e.outlet&&(e.outlet.deactivate(),e.children.onOutletDeactivated()),e.attachRef=null,e.route=null)}activateChildRoutes(t,r,e){let i=en(r);t.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],e),this.forwardEvent(new _s(o.value.snapshot))}),t.children.length&&this.forwardEvent(new bs(t.value.snapshot))}activateRoutes(t,r,e){let i=t.value,o=r?r.value:null;if(es(i),i===o)if(i.component){let a=e.getOrCreateContext(i.outlet);this.activateChildRoutes(t,r,a.children)}else this.activateChildRoutes(t,r,e);else if(i.component){let a=e.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let s=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),a.children.onOutletReAttached(s.contexts),a.attachRef=s.componentRef,a.route=s.route.value,a.outlet&&a.outlet.attach(s.componentRef,s.route.value),es(s.route.value),this.activateChildRoutes(t,null,a.children)}else{let s=ao(i.snapshot);a.attachRef=null,a.route=i,a.injector=s,a.outlet&&a.outlet.activateWith(i,a.injector),this.activateChildRoutes(t,null,a.children)}}else this.activateChildRoutes(t,null,e)}},br=class{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}},on=class{constructor(t,r){this.component=t,this.route=r}};function rp(n,t,r){let e=n._root,i=t?t._root:null;return Gn(e,i,r,[e.value])}function ap(n){let t=n.routeConfig?n.routeConfig.canActivateChild:null;return!t||t.length===0?null:{node:n,guards:t}}function dn(n,t){let r=Symbol(),e=t.get(n,r);return e===r?typeof n=="function"&&!cd(n)?n:t.get(n):e}function Gn(n,t,r,e,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=en(t);return n.children.forEach(a=>{sp(a,o[a.value.outlet],r,e.concat([a.value]),i),delete o[a.value.outlet]}),Object.entries(o).forEach(([a,s])=>Zn(s,r.getContext(a),i)),i}function sp(n,t,r,e,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=n.value,a=t?t.value:null,s=r?r.getContext(n.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){let c=cp(a,o,o.routeConfig.runGuardsAndResolvers);c?i.canActivateChecks.push(new br(e)):(o.data=a.data,o._resolvedData=a._resolvedData),o.component?Gn(n,t,s?s.children:null,e,i):Gn(n,t,r,e,i),c&&s&&s.outlet&&s.outlet.isActivated&&i.canDeactivateChecks.push(new on(s.outlet.component,a))}else a&&Zn(t,s,i),i.canActivateChecks.push(new br(e)),o.component?Gn(n,null,s?s.children:null,e,i):Gn(n,null,r,e,i);return i}function cp(n,t,r){if(typeof r=="function")return r(n,t);switch(r){case"pathParamsChange":return!Ti(n.url,t.url);case"pathParamsOrQueryParamsChange":return!Ti(n.url,t.url)||!je(n.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!ws(n,t)||!je(n.queryParams,t.queryParams);case"paramsChange":default:return!ws(n,t)}}function Zn(n,t,r){let e=en(n),i=n.value;Object.entries(e).forEach(([o,a])=>{i.component?t?Zn(a,t.children.getContext(o),r):Zn(a,null,r):Zn(a,t,r)}),i.component?t&&t.outlet&&t.outlet.isActivated?r.canDeactivateChecks.push(new on(t.outlet.component,i)):r.canDeactivateChecks.push(new on(null,i)):r.canDeactivateChecks.push(new on(null,i))}function so(n){return typeof n=="function"}function dp(n){return typeof n=="boolean"}function lp(n){return n&&so(n.canLoad)}function mp(n){return n&&so(n.canActivate)}function up(n){return n&&so(n.canActivateChild)}function hp(n){return n&&so(n.canDeactivate)}function fp(n){return n&&so(n.canMatch)}function Dl(n){return n instanceof ed||n?.name==="EmptyError"}var rr=Symbol("INITIAL_VALUE");function cn(){return vt(n=>wi(n.map(t=>t.pipe(rt(1),Ft(rr)))).pipe(F(t=>{for(let r of t)if(r!==!0){if(r===rr)return rr;if(r===!1||r instanceof mi)return r}return!0}),tt(t=>t!==rr),rt(1)))}function pp(n,t){return de(r=>{let{targetSnapshot:e,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:a}}=r;return a.length===0&&o.length===0?O(ht(g({},r),{guardsResult:!0})):bp(a,e,i,n).pipe(de(s=>s&&dp(s)?gp(e,o,n,t):O(s)),F(s=>ht(g({},r),{guardsResult:s})))})}function bp(n,t,r,e){return Ut(n).pipe(de(i=>wp(i.component,i.route,r,t,e)),ai(i=>i!==!0,!0))}function gp(n,t,r,e){return Ut(t).pipe(Ci(i=>Bi(vp(i.route.parent,e),_p(i.route,e),xp(n,i.path,r),yp(n,i.route,r))),ai(i=>i!==!0,!0))}function _p(n,t){return n!==null&&t&&t(new gs(n)),O(!0)}function vp(n,t){return n!==null&&t&&t(new ps(n)),O(!0)}function yp(n,t,r){let e=t.routeConfig?t.routeConfig.canActivate:null;if(!e||e.length===0)return O(!0);let i=e.map(o=>le(()=>{let a=ao(t)??r,s=dn(o,a),c=mp(s)?s.canActivate(t,n):qe(a,()=>s(t,n));return hi(c).pipe(ai())}));return O(i).pipe(cn())}function xp(n,t,r){let e=t[t.length-1],o=t.slice(0,t.length-1).reverse().map(a=>ap(a)).filter(a=>a!==null).map(a=>le(()=>{let s=a.guards.map(c=>{let d=ao(a.node)??r,m=dn(c,d),p=up(m)?m.canActivateChild(e,n):qe(d,()=>m(e,n));return hi(p).pipe(ai())});return O(s).pipe(cn())}));return O(o).pipe(cn())}function wp(n,t,r,e,i){let o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!o||o.length===0)return O(!0);let a=o.map(s=>{let c=ao(t)??i,d=dn(s,c),m=hp(d)?d.canDeactivate(n,t,r,e):qe(c,()=>d(n,t,r,e));return hi(m).pipe(ai())});return O(a).pipe(cn())}function Cp(n,t,r,e){let i=t.canLoad;if(i===void 0||i.length===0)return O(!0);let o=i.map(a=>{let s=dn(a,n),c=lp(s)?s.canLoad(t,r):qe(n,()=>s(t,r));return hi(c)});return O(o).pipe(cn(),Sl(e))}function Sl(n){return td(lt(t=>{if(an(t))throw kl(n,t)}),F(t=>t===!0))}function kp(n,t,r,e){let i=t.canMatch;if(!i||i.length===0)return O(!0);let o=i.map(a=>{let s=dn(a,n),c=fp(s)?s.canMatch(t,r):qe(n,()=>s(t,r));return hi(c)});return O(o).pipe(cn(),Sl(e))}var oo=class{constructor(t){this.segmentGroup=t||null}},gr=class extends Error{constructor(t){super(),this.urlTree=t}};function tn(n){return Jt(new oo(n))}function Ip(n){return Jt(new gt(4e3,!1))}function Ep(n){return Jt(Il(!1,ie.GuardRejected))}var Is=class{constructor(t,r){this.urlSerializer=t,this.urlTree=r}lineralizeSegments(t,r){let e=[],i=r.root;for(;;){if(e=e.concat(i.segments),i.numberOfChildren===0)return O(e);if(i.numberOfChildren>1||!i.children[et])return Ip(t.redirectTo);i=i.children[et]}}applyRedirectCommands(t,r,e){let i=this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),t,e);if(r.startsWith("/"))throw new gr(i);return i}applyRedirectCreateUrlTree(t,r,e,i){let o=this.createSegmentGroup(t,r.root,e,i);return new mi(o,this.createQueryParams(r.queryParams,this.urlTree.queryParams),r.fragment)}createQueryParams(t,r){let e={};return Object.entries(t).forEach(([i,o])=>{if(typeof o=="string"&&o.startsWith(":")){let s=o.substring(1);e[i]=r[s]}else e[i]=o}),e}createSegmentGroup(t,r,e,i){let o=this.createSegments(t,r.segments,e,i),a={};return Object.entries(r.children).forEach(([s,c])=>{a[s]=this.createSegmentGroup(t,c,e,i)}),new bt(o,a)}createSegments(t,r,e,i){return r.map(o=>o.path.startsWith(":")?this.findPosParam(t,o,i):this.findOrReturn(o,e))}findPosParam(t,r,e){let i=e[r.path.substring(1)];if(!i)throw new gt(4001,!1);return i}findOrReturn(t,r){let e=0;for(let i of r){if(i.path===t.path)return r.splice(e),i;e++}return t}},Es={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Dp(n,t,r,e,i){let o=Ns(n,t,r);return o.matched?(e=ip(t,e),kp(e,t,r,i).pipe(F(a=>a===!0?o:g({},Es)))):O(o)}function Ns(n,t,r){if(t.path==="**")return Sp(r);if(t.path==="")return t.pathMatch==="full"&&(n.hasChildren()||r.length>0)?g({},Es):{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};let i=(t.matcher||kf)(r,n,t);if(!i)return g({},Es);let o={};Object.entries(i.posParams??{}).forEach(([s,c])=>{o[s]=c.path});let a=i.consumed.length>0?g(g({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:r.slice(i.consumed.length),parameters:a,positionalParamSegments:i.posParams??{}}}function Sp(n){return{matched:!0,parameters:n.length>0?sl(n).parameters:{},consumedSegments:n,remainingSegments:[],positionalParamSegments:{}}}function rl(n,t,r,e){return r.length>0&&Mp(n,r,e)?{segmentGroup:new bt(t,Ap(e,new bt(r,n.children))),slicedSegments:[]}:r.length===0&&Rp(n,r,e)?{segmentGroup:new bt(n.segments,Tp(n,r,e,n.children)),slicedSegments:r}:{segmentGroup:new bt(n.segments,n.children),slicedSegments:r}}function Tp(n,t,r,e){let i={};for(let o of r)if(vr(n,t,o)&&!e[Ve(o)]){let a=new bt([],{});i[Ve(o)]=a}return g(g({},e),i)}function Ap(n,t){let r={};r[et]=t;for(let e of n)if(e.path===""&&Ve(e)!==et){let i=new bt([],{});r[Ve(e)]=i}return r}function Mp(n,t,r){return r.some(e=>vr(n,t,e)&&Ve(e)!==et)}function Rp(n,t,r){return r.some(e=>vr(n,t,e))}function vr(n,t,r){return(n.hasChildren()||t.length>0)&&r.pathMatch==="full"?!1:r.path===""}function Op(n,t,r,e){return Ve(n)!==e&&(e===et||!vr(t,r,n))?!1:Ns(t,n,r).matched}function Fp(n,t,r){return t.length===0&&!n.children[r]}var Ds=class{};function Pp(n,t,r,e,i,o,a="emptyOnly"){return new Ss(n,t,r,e,i,a,o).recognize()}var Np=31,Ss=class{constructor(t,r,e,i,o,a,s){this.injector=t,this.configLoader=r,this.rootComponentType=e,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=a,this.urlSerializer=s,this.applyRedirects=new Is(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(t){return new gt(4002,`'${t.segmentGroup}'`)}recognize(){let t=rl(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(F(r=>{let e=new io([],Object.freeze({}),Object.freeze(g({},this.urlTree.queryParams)),this.urlTree.fragment,{},et,this.rootComponentType,null,{}),i=new ee(e,r),o=new pr("",i),a=Hf(e,[],this.urlTree.queryParams,this.urlTree.fragment);return a.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(a),this.inheritParamsAndData(o._root,null),{state:o,tree:a}}))}match(t){return this.processSegmentGroup(this.injector,this.config,t,et).pipe(me(e=>{if(e instanceof gr)return this.urlTree=e.urlTree,this.match(e.urlTree.root);throw e instanceof oo?this.noMatchError(e):e}))}inheritParamsAndData(t,r){let e=t.value,i=Ms(e,r,this.paramsInheritanceStrategy);e.params=Object.freeze(i.params),e.data=Object.freeze(i.data),t.children.forEach(o=>this.inheritParamsAndData(o,e))}processSegmentGroup(t,r,e,i){return e.segments.length===0&&e.hasChildren()?this.processChildren(t,r,e):this.processSegment(t,r,e,e.segments,i,!0).pipe(F(o=>o instanceof ee?[o]:[]))}processChildren(t,r,e){let i=[];for(let o of Object.keys(e.children))o==="primary"?i.unshift(o):i.push(o);return Ut(i).pipe(Ci(o=>{let a=e.children[o],s=np(r,o);return this.processSegmentGroup(t,s,a,o)}),ad((o,a)=>(o.push(...a),o)),Ea(null),od(),de(o=>{if(o===null)return tn(e);let a=Tl(o);return Lp(a),O(a)}))}processSegment(t,r,e,i,o,a){return Ut(r).pipe(Ci(s=>this.processSegmentAgainstRoute(s._injector??t,r,s,e,i,o,a).pipe(me(c=>{if(c instanceof oo)return O(null);throw c}))),ai(s=>!!s),me(s=>{if(Dl(s))return Fp(e,i,o)?O(new Ds):tn(e);throw s}))}processSegmentAgainstRoute(t,r,e,i,o,a,s){return Op(e,i,o,a)?e.redirectTo===void 0?this.matchSegmentAgainstRoute(t,i,e,o,a):this.allowRedirects&&s?this.expandSegmentAgainstRouteUsingRedirect(t,i,r,e,o,a):tn(i):tn(i)}expandSegmentAgainstRouteUsingRedirect(t,r,e,i,o,a){let{matched:s,consumedSegments:c,positionalParamSegments:d,remainingSegments:m}=Ns(r,i,o);if(!s)return tn(r);i.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>Np&&(this.allowRedirects=!1));let p=this.applyRedirects.applyRedirectCommands(c,i.redirectTo,d);return this.applyRedirects.lineralizeSegments(i,p).pipe(de(w=>this.processSegment(t,e,r,w.concat(m),a,!1)))}matchSegmentAgainstRoute(t,r,e,i,o){let a=Dp(r,e,i,t,this.urlSerializer);return e.path==="**"&&(r.children={}),a.pipe(vt(s=>s.matched?(t=e._injector??t,this.getChildConfig(t,e,i).pipe(vt(({routes:c})=>{let d=e._loadedInjector??t,{consumedSegments:m,remainingSegments:p,parameters:w}=s,R=new io(m,w,Object.freeze(g({},this.urlTree.queryParams)),this.urlTree.fragment,Vp(e),Ve(e),e.component??e._loadedComponent??null,e,Bp(e)),{segmentGroup:Z,slicedSegments:ct}=rl(r,m,p,c);if(ct.length===0&&Z.hasChildren())return this.processChildren(d,c,Z).pipe(F(ut=>ut===null?null:new ee(R,ut)));if(c.length===0&&ct.length===0)return O(new ee(R,[]));let ot=Ve(e)===o;return this.processSegment(d,c,Z,ct,ot?et:o,!0).pipe(F(ut=>new ee(R,ut instanceof ee?[ut]:[])))}))):tn(r)))}getChildConfig(t,r,e){return r.children?O({routes:r.children,injector:t}):r.loadChildren?r._loadedRoutes!==void 0?O({routes:r._loadedRoutes,injector:r._loadedInjector}):Cp(t,r,e,this.urlSerializer).pipe(de(i=>i?this.configLoader.loadChildren(t,r).pipe(lt(o=>{r._loadedRoutes=o.routes,r._loadedInjector=o.injector})):Ep(r))):O({routes:[],injector:t})}};function Lp(n){n.sort((t,r)=>t.value.outlet===et?-1:r.value.outlet===et?1:t.value.outlet.localeCompare(r.value.outlet))}function jp(n){let t=n.value.routeConfig;return t&&t.path===""}function Tl(n){let t=[],r=new Set;for(let e of n){if(!jp(e)){t.push(e);continue}let i=t.find(o=>e.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...e.children),r.add(i)):t.push(e)}for(let e of r){let i=Tl(e.children);t.push(new ee(e.value,i))}return t.filter(e=>!r.has(e))}function Vp(n){return n.data||{}}function Bp(n){return n.resolve||{}}function zp(n,t,r,e,i,o){return de(a=>Pp(n,t,r,e,a.extractedUrl,i,o).pipe(F(({state:s,tree:c})=>ht(g({},a),{targetSnapshot:s,urlAfterRedirects:c}))))}function Up(n,t){return de(r=>{let{targetSnapshot:e,guards:{canActivateChecks:i}}=r;if(!i.length)return O(r);let o=new Set(i.map(c=>c.route)),a=new Set;for(let c of o)if(!a.has(c))for(let d of Al(c))a.add(d);let s=0;return Ut(a).pipe(Ci(c=>o.has(c)?Hp(c,e,n,t):(c.data=Ms(c,c.parent,n).resolve,O(void 0))),lt(()=>s++),Da(1),de(c=>s===a.size?O(r):ce))})}function Al(n){let t=n.children.map(r=>Al(r)).flat();return[n,...t]}function Hp(n,t,r,e){let i=n.routeConfig,o=n._resolve;return i?.title!==void 0&&!wl(i)&&(o[ro]=i.title),$p(o,n,t,e).pipe(F(a=>(n._resolvedData=a,n.data=Ms(n,n.parent,r).resolve,null)))}function $p(n,t,r,e){let i=os(n);if(i.length===0)return O({});let o={};return Ut(i).pipe(de(a=>Wp(n[a],t,r,e).pipe(ai(),lt(s=>{o[a]=s}))),Da(1),nd(o),me(a=>Dl(a)?ce:Jt(a)))}function Wp(n,t,r,e){let i=ao(t)??e,o=dn(n,i),a=o.resolve?o.resolve(t,r):qe(i,()=>o(t,r));return hi(a)}function is(n){return vt(t=>{let r=n(t);return r?Ut(r).pipe(F(()=>t)):O(t)})}var Ml=(()=>{let t=class t{buildTitle(e){let i,o=e.root;for(;o!==void 0;)i=this.getResolvedTitleForRoute(o)??i,o=o.children.find(a=>a.outlet===et);return i}getResolvedTitleForRoute(e){return e.data[ro]}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=x({token:t,factory:()=>_(Gp),providedIn:"root"});let n=t;return n})(),Gp=(()=>{let t=class t extends Ml{constructor(e){super(),this.title=e}updateTitle(e){let i=this.buildTitle(e);i!==void 0&&this.title.setTitle(i)}};t.\u0275fac=function(i){return new(i||t)(u(Jd))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),Ls=new y("",{providedIn:"root",factory:()=>({})}),js=new y(""),qp=(()=>{let t=class t{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=_(Fa)}loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return O(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);let i=hi(e.loadComponent()).pipe(F(Rl),lt(a=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=a}),ri(()=>{this.componentLoaders.delete(e)})),o=new Ca(i,()=>new E).pipe(wa());return this.componentLoaders.set(e,o),o}loadChildren(e,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return O({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);let a=Yp(i,this.compiler,e,this.onLoadEndListener).pipe(ri(()=>{this.childrenLoaders.delete(i)})),s=new Ca(a,()=>new E).pipe(wa());return this.childrenLoaders.set(i,s),s}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();function Yp(n,t,r,e){return hi(n.loadChildren()).pipe(F(Rl),de(i=>i instanceof xd||Array.isArray(i)?O(i):Ut(t.compileModuleAsync(i))),F(i=>{e&&e(n);let o,a,s=!1;return Array.isArray(i)?(a=i,s=!0):(o=i.create(r).injector,a=o.get(js,[],{optional:!0,self:!0}).flat()),{routes:a.map(Ps),injector:o}}))}function Xp(n){return n&&typeof n=="object"&&"default"in n}function Rl(n){return Xp(n)?n.default:n}var Vs=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=x({token:t,factory:()=>_(Zp),providedIn:"root"});let n=t;return n})(),Zp=(()=>{let t=class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,i){return e}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),Qp=new y("");var Kp=(()=>{let t=class t{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new E,this.transitionAbortSubject=new E,this.configLoader=_(qp),this.environmentInjector=_($i),this.urlSerializer=_(As),this.rootContexts=_(_r),this.location=_(di),this.inputBindingEnabled=_(Fs,{optional:!0})!==null,this.titleStrategy=_(Ml),this.options=_(Ls,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=_(Vs),this.createViewTransition=_(Qp,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>O(void 0),this.rootComponentType=null;let e=o=>this.events.next(new hs(o)),i=o=>this.events.next(new fs(o));this.configLoader.onLoadEndListener=i,this.configLoader.onLoadStartListener=e}complete(){this.transitions?.complete()}handleNavigationRequest(e){let i=++this.navigationId;this.transitions?.next(ht(g(g({},this.transitions.value),e),{id:i}))}setupNavigations(e,i,o){return this.transitions=new At({id:0,currentUrlTree:i,currentRawUrl:i,extractedUrl:this.urlHandlingStrategy.extract(i),urlAfterRedirects:this.urlHandlingStrategy.extract(i),rawUrl:i,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Xn,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(tt(a=>a.id!==0),F(a=>ht(g({},a),{extractedUrl:this.urlHandlingStrategy.extract(a.rawUrl)})),vt(a=>{let s=!1,c=!1;return O(a).pipe(vt(d=>{if(this.navigationId>a.id)return this.cancelNavigationTransition(a,"",ie.SupersededByNewNavigation),ce;this.currentTransition=a,this.currentNavigation={id:d.id,initialUrl:d.rawUrl,extractedUrl:d.extractedUrl,trigger:d.source,extras:d.extras,previousNavigation:this.lastSuccessfulNavigation?ht(g({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let m=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),p=d.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!m&&p!=="reload"){let w="";return this.events.next(new Mi(d.id,this.urlSerializer.serialize(d.rawUrl),w,cs.IgnoredSameUrlNavigation)),d.resolve(null),ce}if(this.urlHandlingStrategy.shouldProcessUrl(d.rawUrl))return O(d).pipe(vt(w=>{let R=this.transitions?.getValue();return this.events.next(new Kn(w.id,this.urlSerializer.serialize(w.extractedUrl),w.source,w.restoredState)),R!==this.transitions?.getValue()?ce:Promise.resolve(w)}),zp(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy),lt(w=>{a.targetSnapshot=w.targetSnapshot,a.urlAfterRedirects=w.urlAfterRedirects,this.currentNavigation=ht(g({},this.currentNavigation),{finalUrl:w.urlAfterRedirects});let R=new ur(w.id,this.urlSerializer.serialize(w.extractedUrl),this.urlSerializer.serialize(w.urlAfterRedirects),w.targetSnapshot);this.events.next(R)}));if(m&&this.urlHandlingStrategy.shouldProcessUrl(d.currentRawUrl)){let{id:w,extractedUrl:R,source:Z,restoredState:ct,extras:ot}=d,ut=new Kn(w,this.urlSerializer.serialize(R),Z,ct);this.events.next(ut);let Ee=yl(this.rootComponentType).snapshot;return this.currentTransition=a=ht(g({},d),{targetSnapshot:Ee,urlAfterRedirects:R,extras:ht(g({},ot),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=R,O(a)}else{let w="";return this.events.next(new Mi(d.id,this.urlSerializer.serialize(d.extractedUrl),w,cs.IgnoredByUrlHandlingStrategy)),d.resolve(null),ce}}),lt(d=>{let m=new ds(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(m)}),F(d=>(this.currentTransition=a=ht(g({},d),{guards:rp(d.targetSnapshot,d.currentSnapshot,this.rootContexts)}),a)),pp(this.environmentInjector,d=>this.events.next(d)),lt(d=>{if(a.guardsResult=d.guardsResult,an(d.guardsResult))throw kl(this.urlSerializer,d.guardsResult);let m=new ls(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot,!!d.guardsResult);this.events.next(m)}),tt(d=>d.guardsResult?!0:(this.cancelNavigationTransition(d,"",ie.GuardRejected),!1)),is(d=>{if(d.guards.canActivateChecks.length)return O(d).pipe(lt(m=>{let p=new ms(m.id,this.urlSerializer.serialize(m.extractedUrl),this.urlSerializer.serialize(m.urlAfterRedirects),m.targetSnapshot);this.events.next(p)}),vt(m=>{let p=!1;return O(m).pipe(Up(this.paramsInheritanceStrategy,this.environmentInjector),lt({next:()=>p=!0,complete:()=>{p||this.cancelNavigationTransition(m,"",ie.NoDataFromResolver)}}))}),lt(m=>{let p=new us(m.id,this.urlSerializer.serialize(m.extractedUrl),this.urlSerializer.serialize(m.urlAfterRedirects),m.targetSnapshot);this.events.next(p)}))}),is(d=>{let m=p=>{let w=[];p.routeConfig?.loadComponent&&!p.routeConfig._loadedComponent&&w.push(this.configLoader.loadComponent(p.routeConfig).pipe(lt(R=>{p.component=R}),F(()=>{})));for(let R of p.children)w.push(...m(R));return w};return wi(m(d.targetSnapshot.root)).pipe(Ea(null),rt(1))}),is(()=>this.afterPreactivation()),vt(()=>{let{currentSnapshot:d,targetSnapshot:m}=a,p=this.createViewTransition?.(this.environmentInjector,d.root,m.root);return p?Ut(p).pipe(F(()=>a)):O(a)}),F(d=>{let m=Qf(e.routeReuseStrategy,d.targetSnapshot,d.currentRouterState);return this.currentTransition=a=ht(g({},d),{targetRouterState:m}),this.currentNavigation.targetRouterState=m,a}),lt(()=>{this.events.next(new to)}),op(this.rootContexts,e.routeReuseStrategy,d=>this.events.next(d),this.inputBindingEnabled),rt(1),lt({next:d=>{s=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Ai(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects))),this.titleStrategy?.updateTitle(d.targetRouterState.snapshot),d.resolve(!0)},complete:()=>{s=!0}}),dt(this.transitionAbortSubject.pipe(lt(d=>{throw d}))),ri(()=>{!s&&!c&&this.cancelNavigationTransition(a,"",ie.SupersededByNewNavigation),this.currentTransition?.id===a.id&&(this.currentNavigation=null,this.currentTransition=null)}),me(d=>{if(c=!0,El(d))this.events.next(new ui(a.id,this.urlSerializer.serialize(a.extractedUrl),d.message,d.cancellationCode)),tp(d)?this.events.next(new eo(d.url)):a.resolve(!1);else{this.events.next(new Jn(a.id,this.urlSerializer.serialize(a.extractedUrl),d,a.targetSnapshot??void 0));try{a.resolve(e.errorHandler(d))}catch(m){this.options.resolveNavigationPromiseOnError?a.resolve(!1):a.reject(m)}}return ce}))}))}cancelNavigationTransition(e,i,o){let a=new ui(e.id,this.urlSerializer.serialize(e.extractedUrl),i,o);this.events.next(a),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();function Jp(n){return n!==Xn}var tb=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=x({token:t,factory:()=>_(eb),providedIn:"root"});let n=t;return n})(),Ts=class{shouldDetach(t){return!1}store(t,r){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,r){return t.routeConfig===r.routeConfig}},eb=(()=>{let t=class t extends Ts{};t.\u0275fac=(()=>{let e;return function(o){return(e||(e=jt(t)))(o||t)}})(),t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),Ol=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=x({token:t,factory:()=>_(ib),providedIn:"root"});let n=t;return n})(),ib=(()=>{let t=class t extends Ol{constructor(){super(...arguments),this.location=_(di),this.urlSerializer=_(As),this.options=_(Ls,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=_(Vs),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new mi,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=yl(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(i=>{i.type==="popstate"&&e(i.url,i.state)})}handleRouterEvent(e,i){if(e instanceof Kn)this.stateMemento=this.createStateMemento();else if(e instanceof Mi)this.rawUrlTree=i.initialUrl;else if(e instanceof ur){if(this.urlUpdateStrategy==="eager"&&!i.extras.skipLocationChange){let o=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl);this.setBrowserUrl(o,i)}}else e instanceof to?(this.currentUrlTree=i.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl),this.routerState=i.targetRouterState,this.urlUpdateStrategy==="deferred"&&(i.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,i))):e instanceof ui&&(e.code===ie.GuardRejected||e.code===ie.NoDataFromResolver)?this.restoreHistory(i):e instanceof Jn?this.restoreHistory(i,!0):e instanceof Ai&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,i){let o=this.urlSerializer.serialize(e);if(this.location.isCurrentPathEqualTo(o)||i.extras.replaceUrl){let a=this.browserPageId,s=g(g({},i.extras.state),this.generateNgRouterState(i.id,a));this.location.replaceState(o,"",s)}else{let a=g(g({},i.extras.state),this.generateNgRouterState(i.id,this.browserPageId+1));this.location.go(o,"",a)}}restoreHistory(e,i=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,a=this.currentPageId-o;a!==0?this.location.historyGo(a):this.currentUrlTree===e.finalUrl&&a===0&&(this.resetState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(i&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,i){return this.canceledNavigationResolution==="computed"?{navigationId:e,\u0275routerPageId:i}:{navigationId:e}}};t.\u0275fac=(()=>{let e;return function(o){return(e||(e=jt(t)))(o||t)}})(),t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),qn=function(n){return n[n.COMPLETE=0]="COMPLETE",n[n.FAILED=1]="FAILED",n[n.REDIRECTING=2]="REDIRECTING",n}(qn||{});function nb(n,t){n.events.pipe(tt(r=>r instanceof Ai||r instanceof ui||r instanceof Jn||r instanceof Mi),F(r=>r instanceof Ai||r instanceof Mi?qn.COMPLETE:(r instanceof ui?r.code===ie.Redirect||r.code===ie.SupersededByNewNavigation:!1)?qn.REDIRECTING:qn.FAILED),tt(r=>r!==qn.REDIRECTING),rt(1)).subscribe(()=>{t()})}function ob(n){throw n}var rb={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},ab={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},fi=(()=>{let t=class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=_(Wo),this.stateManager=_(Ol),this.options=_(Ls,{optional:!0})||{},this.pendingTasks=_(zo),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=_(Kp),this.urlSerializer=_(As),this.location=_(di),this.urlHandlingStrategy=_(Vs),this._events=new E,this.errorHandler=this.options.errorHandler||ob,this.navigated=!1,this.routeReuseStrategy=_(tb),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=_(js,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!_(Fs,{optional:!0}),this.eventsSubscription=new It,this.isNgZoneEnabled=_(k)instanceof k&&k.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:e=>{this.console.warn(e)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(i=>{try{let o=this.navigationTransitions.currentTransition,a=this.navigationTransitions.currentNavigation;if(o!==null&&a!==null){if(this.stateManager.handleRouterEvent(i,a),i instanceof ui&&i.code!==ie.Redirect&&i.code!==ie.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof Ai)this.navigated=!0;else if(i instanceof eo){let s=this.urlHandlingStrategy.merge(i.url,o.currentRawUrl),c={info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:this.urlUpdateStrategy==="eager"||Jp(o.source)};this.scheduleNavigation(s,Xn,null,c,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}cb(i)&&this._events.next(i)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Xn,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,i)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(e,"popstate",i)},0)})}navigateToSyncWithBrowser(e,i,o){let a={replaceUrl:!0},s=o?.navigationId?o:null;if(o){let d=g({},o);delete d.navigationId,delete d.\u0275routerPageId,Object.keys(d).length!==0&&(a.state=d)}let c=this.parseUrl(e);this.scheduleNavigation(c,i,s,a)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(Ps),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,i={}){let{relativeTo:o,queryParams:a,fragment:s,queryParamsHandling:c,preserveFragment:d}=i,m=d?this.currentUrlTree.fragment:s,p=null;switch(c){case"merge":p=g(g({},this.currentUrlTree.queryParams),a);break;case"preserve":p=this.currentUrlTree.queryParams;break;default:p=a||null}p!==null&&(p=this.removeEmptyProps(p));let w;try{let R=o?o.snapshot:this.routerState.snapshot.root;w=bl(R)}catch{(typeof e[0]!="string"||!e[0].startsWith("/"))&&(e=[]),w=this.currentUrlTree.root}return gl(w,e,p,m??null)}navigateByUrl(e,i={skipLocationChange:!1}){let o=an(e)?e:this.parseUrl(e),a=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(a,Xn,null,i)}navigate(e,i={skipLocationChange:!1}){return sb(e),this.navigateByUrl(this.createUrlTree(e,i),i)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch{return this.urlSerializer.parse("/")}}isActive(e,i){let o;if(i===!0?o=g({},rb):i===!1?o=g({},ab):o=i,an(e))return el(this.currentUrlTree,e,o);let a=this.parseUrl(e);return el(this.currentUrlTree,a,o)}removeEmptyProps(e){return Object.entries(e).reduce((i,[o,a])=>(a!=null&&(i[o]=a),i),{})}scheduleNavigation(e,i,o,a,s){if(this.disposed)return Promise.resolve(!1);let c,d,m;s?(c=s.resolve,d=s.reject,m=s.promise):m=new Promise((w,R)=>{c=w,d=R});let p=this.pendingTasks.add();return nb(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(p))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:a,resolve:c,reject:d,promise:m,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),m.catch(w=>Promise.reject(w))}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();function sb(n){for(let t=0;tr.\u0275providers)])}function lb(n){return n.routerState.root}function mb(){let n=_(xt);return t=>{let r=n.get(ci);if(t!==r.components[0])return;let e=n.get(fi),i=n.get(ub);n.get(hb)===1&&e.initialNavigation(),n.get(fb,null,Ta.Optional)?.setUpPreloading(),n.get(db,null,Ta.Optional)?.init(),e.resetRootComponentType(r.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var ub=new y("",{factory:()=>new E}),hb=new y("",{providedIn:"root",factory:()=>1});var fb=new y("");var zs;try{zs=typeof Intl<"u"&&Intl.v8BreakIterator}catch{zs=!1}var J=(()=>{let t=class t{constructor(e){this._platformId=e,this.isBrowser=this._platformId?Ln(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||zs)&&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}};t.\u0275fac=function(i){return new(i||t)(u(ue))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();var ln,Nl=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function Us(){if(ln)return ln;if(typeof document!="object"||!document)return ln=new Set(Nl),ln;let n=document.createElement("input");return ln=new Set(Nl.filter(t=>(n.setAttribute("type",t),n.type===t))),ln}var co;function pb(){if(co==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>co=!0}))}finally{co=co||!1}return co}function ve(n){return pb()?n:!!n.capture}var Te=function(n){return n[n.NORMAL=0]="NORMAL",n[n.NEGATED=1]="NEGATED",n[n.INVERTED=2]="INVERTED",n}(Te||{}),yr,Ri;function xr(){if(Ri==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return Ri=!1,Ri;if("scrollBehavior"in document.documentElement.style)Ri=!0;else{let n=Element.prototype.scrollTo;n?Ri=!/\{\s*\[native code\]\s*\}/.test(n.toString()):Ri=!1}}return Ri}function mn(){if(typeof document!="object"||!document)return Te.NORMAL;if(yr==null){let n=document.createElement("div"),t=n.style;n.dir="rtl",t.width="1px",t.overflow="auto",t.visibility="hidden",t.pointerEvents="none",t.position="absolute";let r=document.createElement("div"),e=r.style;e.width="2px",e.height="1px",n.appendChild(r),document.body.appendChild(n),yr=Te.NORMAL,n.scrollLeft===0&&(n.scrollLeft=1,yr=n.scrollLeft===0?Te.NEGATED:Te.INVERTED),n.remove()}return yr}var Bs;function bb(){if(Bs==null){let n=typeof document<"u"?document.head:null;Bs=!!(n&&(n.createShadowRoot||n.attachShadow))}return Bs}function Ll(n){if(bb()){let t=n.getRootNode?n.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}function lo(){let n=typeof document<"u"&&document?document.activeElement:null;for(;n&&n.shadowRoot;){let t=n.shadowRoot.activeElement;if(t===n)break;n=t}return n}function ne(n){return n.composedPath?n.composedPath()[0]:n.target}function mo(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function Rt(n,...t){return t.length?t.some(r=>n[r]):n.altKey||n.shiftKey||n.ctrlKey||n.metaKey}function re(n){return n!=null&&`${n}`!="false"}function Ae(n,t=0){return gb(n)?Number(n):t}function gb(n){return!isNaN(parseFloat(n))&&!isNaN(Number(n))}function un(n){return Array.isArray(n)?n:[n]}function Dt(n){return n==null?"":typeof n=="string"?n:`${n}px`}function Qt(n){return n instanceof D?n.nativeElement:n}function _b(n){if(n.type==="characterData"&&n.target instanceof Comment)return!0;if(n.type==="childList"){for(let t=0;t{let t=class t{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),vb=(()=>{let t=class t{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,i)=>this._cleanupObserver(i))}observe(e){let i=Qt(e);return new Yt(o=>{let s=this._observeElement(i).pipe(F(c=>c.filter(d=>!_b(d))),tt(c=>!!c.length)).subscribe(o);return()=>{s.unsubscribe(),this._unobserveElement(i)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{let i=new E,o=this._mutationObserverFactory.create(a=>i.next(a));o&&o.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:o,stream:i,count:1})}return this._observedElements.get(e).stream}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){let{observer:i,stream:o}=this._observedElements.get(e);i&&i.disconnect(),o.complete(),this._observedElements.delete(e)}}};t.\u0275fac=function(i){return new(i||t)(u(jl))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),Vl=(()=>{let t=class t{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=Ae(e),this._subscribe()}constructor(e,i,o){this._contentObserver=e,this._elementRef=i,this._ngZone=o,this.event=new V,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._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?e.pipe(Ui(this.debounce)):e).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}};t.\u0275fac=function(i){return new(i||t)(l(vb),l(D),l(k))},t.\u0275dir=I({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[b.HasDecoratorInputTransform,"cdkObserveContentDisabled","disabled",q],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"],standalone:!0,features:[ft]});let n=t;return n})(),wr=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({providers:[jl]});let n=t;return n})();var Bl=new Set,Oi,yb=(()=>{let t=class t{constructor(e,i){this._platform=e,this._nonce=i,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):wb}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&xb(e,this._nonce),this._matchMedia(e)}};t.\u0275fac=function(i){return new(i||t)(u(J),u(Fn,8))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();function xb(n,t){if(!Bl.has(n))try{Oi||(Oi=document.createElement("style"),t&&Oi.setAttribute("nonce",t),Oi.setAttribute("type","text/css"),document.head.appendChild(Oi)),Oi.sheet&&(Oi.sheet.insertRule(`@media ${n} {body{ }}`,0),Bl.add(n))}catch(r){console.error(r)}}function wb(n){return{matches:n==="all"||n==="",media:n,addListener:()=>{},removeListener:()=>{}}}var hn=(()=>{let t=class t{constructor(e,i){this._mediaMatcher=e,this._zone=i,this._queries=new Map,this._destroySubject=new E}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return zl(un(e)).some(o=>this._registerQuery(o).mql.matches)}observe(e){let o=zl(un(e)).map(s=>this._registerQuery(s).observable),a=wi(o);return a=Bi(a.pipe(rt(1)),a.pipe(Hi(1),Ui(0))),a.pipe(F(s=>{let c={matches:!1,breakpoints:{}};return s.forEach(({matches:d,query:m})=>{c.matches=c.matches||d,c.breakpoints[m]=d}),c}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);let i=this._mediaMatcher.matchMedia(e),a={observable:new Yt(s=>{let c=d=>this._zone.run(()=>s.next(d));return i.addListener(c),()=>{i.removeListener(c)}}).pipe(Ft(i),F(({matches:s})=>({query:e,matches:s})),dt(this._destroySubject)),mql:i};return this._queries.set(e,a),a}};t.\u0275fac=function(i){return new(i||t)(u(yb),u(k))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();function zl(n){return n.map(t=>t.split(",")).reduce((t,r)=>t.concat(r)).map(t=>t.trim())}var Xe={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"};var ql=" ";function Mr(n,t,r){let e=Er(n,t);r=r.trim(),!e.some(i=>i.trim()===r)&&(e.push(r),n.setAttribute(t,e.join(ql)))}function uo(n,t,r){let e=Er(n,t);r=r.trim();let i=e.filter(o=>o!==r);i.length?n.setAttribute(t,i.join(ql)):n.removeAttribute(t)}function Er(n,t){return n.getAttribute(t)?.match(/\S+/g)??[]}var Yl="cdk-describedby-message",Cr="cdk-describedby-host",Ws=0,Xl=(()=>{let t=class t{constructor(e,i){this._platform=i,this._messageRegistry=new Map,this._messagesContainer=null,this._id=`${Ws++}`,this._document=e,this._id=_(On)+"-"+Ws++}describe(e,i,o){if(!this._canBeDescribed(e,i))return;let a=Hs(i,o);typeof i!="string"?(Hl(i,this._id),this._messageRegistry.set(a,{messageElement:i,referenceCount:0})):this._messageRegistry.has(a)||this._createMessageElement(i,o),this._isElementDescribedByMessage(e,a)||this._addMessageReference(e,a)}removeDescription(e,i,o){if(!i||!this._isElementNode(e))return;let a=Hs(i,o);if(this._isElementDescribedByMessage(e,a)&&this._removeMessageReference(e,a),typeof i=="string"){let s=this._messageRegistry.get(a);s&&s.referenceCount===0&&this._deleteMessageElement(a)}this._messagesContainer?.childNodes.length===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){let e=this._document.querySelectorAll(`[${Cr}="${this._id}"]`);for(let i=0;io.indexOf(Yl)!=0);e.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(e,i){let o=this._messageRegistry.get(i);Mr(e,"aria-describedby",o.messageElement.id),e.setAttribute(Cr,this._id),o.referenceCount++}_removeMessageReference(e,i){let o=this._messageRegistry.get(i);o.referenceCount--,uo(e,"aria-describedby",o.messageElement.id),e.removeAttribute(Cr)}_isElementDescribedByMessage(e,i){let o=Er(e,"aria-describedby"),a=this._messageRegistry.get(i),s=a&&a.messageElement.id;return!!s&&o.indexOf(s)!=-1}_canBeDescribed(e,i){if(!this._isElementNode(e))return!1;if(i&&typeof i=="object")return!0;let o=i==null?"":`${i}`.trim(),a=e.getAttribute("aria-label");return o?!a||a.trim()!==o:!1}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}};t.\u0275fac=function(i){return new(i||t)(u(j),u(J))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();function Hs(n,t){return typeof n=="string"?`${t||""}/${n}`:n}function Hl(n,t){n.id||(n.id=`${Yl}-${t}-${Ws++}`)}var Dr=class{constructor(t,r){this._items=t,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new E,this._typeaheadSubscription=It.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new E,this.change=new E,t instanceof Rn?this._itemChangesSubscription=t.changes.subscribe(e=>this._itemsChanged(e.toArray())):Ma(t)&&(this._effectRef=Ad(()=>this._itemsChanged(t()),{injector:r}))}skipPredicate(t){return this._skipPredicateFn=t,this}withWrap(t=!0){return this._wrap=t,this}withVerticalOrientation(t=!0){return this._vertical=t,this}withHorizontalOrientation(t){return this._horizontal=t,this}withAllowedModifierKeys(t){return this._allowedModifierKeys=t,this}withTypeAhead(t=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(lt(r=>this._pressedLetters.push(r)),Ui(t),tt(()=>this._pressedLetters.length>0),F(()=>this._pressedLetters.join(""))).subscribe(r=>{let e=this._getItemsArray();for(let i=1;i!t[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(r){case 9:this.tabOut.next();return;case 40:if(this._vertical&&i){this.setNextItemActive();break}else return;case 38:if(this._vertical&&i){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&i){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&i){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&i){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&i){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&i){let o=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&i){let o=this._activeItemIndex+this._pageUpAndDown.delta,a=this._getItemsArray().length;this._setActiveItemByIndex(o=65&&r<=90||r>=48&&r<=57)&&this._letterKeyStream.next(String.fromCharCode(r)));return}this._pressedLetters=[],t.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(t){let r=this._getItemsArray(),e=typeof t=="number"?t:r.indexOf(t),i=r[e];this._activeItem=i??null,this._activeItemIndex=e}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}_setActiveInWrapMode(t){let r=this._getItemsArray();for(let e=1;e<=r.length;e++){let i=(this._activeItemIndex+t*e+r.length)%r.length,o=r[i];if(!this._skipPredicateFn(o)){this.setActiveItem(i);return}}}_setActiveInDefaultMode(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)}_setActiveItemByIndex(t,r){let e=this._getItemsArray();if(e[t]){for(;this._skipPredicateFn(e[t]);)if(t+=r,!e[t])return;this.setActiveItem(t)}}_getItemsArray(){return Ma(this._items)?this._items():this._items instanceof Rn?this._items.toArray():this._items}_itemsChanged(t){if(this._activeItem){let r=t.indexOf(this._activeItem);r>-1&&r!==this._activeItemIndex&&(this._activeItemIndex=r)}}},Sr=class extends Dr{setActiveItem(t){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(t),this.activeItem&&this.activeItem.setActiveStyles()}},Tr=class extends Dr{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(t){return this._origin=t,this}setActiveItem(t){super.setActiveItem(t),this.activeItem&&this.activeItem.focus(this._origin)}};var Pi=(()=>{let t=class t{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return Vb(e)&&getComputedStyle(e).visibility==="visible"}isTabbable(e){if(!this._platform.isBrowser)return!1;let i=jb(qb(e));if(i&&($l(i)===-1||!this.isVisible(i)))return!1;let o=e.nodeName.toLowerCase(),a=$l(e);return e.hasAttribute("contenteditable")?a!==-1:o==="iframe"||o==="object"||this._platform.WEBKIT&&this._platform.IOS&&!Wb(e)?!1:o==="audio"?e.hasAttribute("controls")?a!==-1:!1:o==="video"?a===-1?!1:a!==null?!0:this._platform.FIREFOX||e.hasAttribute("controls"):e.tabIndex>=0}isFocusable(e,i){return Gb(e)&&!this.isDisabled(e)&&(i?.ignoreVisibility||this.isVisible(e))}};t.\u0275fac=function(i){return new(i||t)(u(J))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();function jb(n){try{return n.frameElement}catch{return null}}function Vb(n){return!!(n.offsetWidth||n.offsetHeight||typeof n.getClientRects=="function"&&n.getClientRects().length)}function Bb(n){let t=n.nodeName.toLowerCase();return t==="input"||t==="select"||t==="button"||t==="textarea"}function zb(n){return Hb(n)&&n.type=="hidden"}function Ub(n){return $b(n)&&n.hasAttribute("href")}function Hb(n){return n.nodeName.toLowerCase()=="input"}function $b(n){return n.nodeName.toLowerCase()=="a"}function Zl(n){if(!n.hasAttribute("tabindex")||n.tabIndex===void 0)return!1;let t=n.getAttribute("tabindex");return!!(t&&!isNaN(parseInt(t,10)))}function $l(n){if(!Zl(n))return null;let t=parseInt(n.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}function Wb(n){let t=n.nodeName.toLowerCase(),r=t==="input"&&n.type;return r==="text"||r==="password"||t==="select"||t==="textarea"}function Gb(n){return zb(n)?!1:Bb(n)||Ub(n)||n.hasAttribute("contenteditable")||Zl(n)}function qb(n){return n.ownerDocument&&n.ownerDocument.defaultView||window}var Gs=class{get enabled(){return this._enabled}set enabled(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}constructor(t,r,e,i,o=!1){this._element=t,this._checker=r,this._ngZone=e,this._document=i,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,o||this.attachAnchors()}destroy(){let t=this._startAnchor,r=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.remove()),r&&(r.removeEventListener("focus",this.endAnchorListener),r.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(t){return new Promise(r=>{this._executeOnStable(()=>r(this.focusInitialElement(t)))})}focusFirstTabbableElementWhenReady(t){return new Promise(r=>{this._executeOnStable(()=>r(this.focusFirstTabbableElement(t)))})}focusLastTabbableElementWhenReady(t){return new Promise(r=>{this._executeOnStable(()=>r(this.focusLastTabbableElement(t)))})}_getRegionBoundary(t){let r=this._element.querySelectorAll(`[cdk-focus-region-${t}], [cdkFocusRegion${t}], [cdk-focus-${t}]`);return t=="start"?r.length?r[0]:this._getFirstTabbableElement(this._element):r.length?r[r.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(t){let r=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(r){if(!this._checker.isFocusable(r)){let e=this._getFirstTabbableElement(r);return e?.focus(t),!!e}return r.focus(t),!0}return this.focusFirstTabbableElement(t)}focusFirstTabbableElement(t){let r=this._getRegionBoundary("start");return r&&r.focus(t),!!r}focusLastTabbableElement(t){let r=this._getRegionBoundary("end");return r&&r.focus(t),!!r}hasAttached(){return this._hasAttached}_getFirstTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;let r=t.children;for(let e=0;e=0;e--){let i=r[e].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(r[e]):null;if(i)return i}return null}_createAnchor(){let t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t.setAttribute("aria-hidden","true"),t}_toggleAnchorTabIndex(t,r){t?r.setAttribute("tabindex","0"):r.removeAttribute("tabindex")}toggleAnchors(t){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}_executeOnStable(t){this._ngZone.isStable?t():this._ngZone.onStable.pipe(rt(1)).subscribe(t)}},pn=(()=>{let t=class t{constructor(e,i,o){this._checker=e,this._ngZone=i,this._document=o}create(e,i=!1){return new Gs(e,this._checker,this._ngZone,this._document,i)}};t.\u0275fac=function(i){return new(i||t)(u(Pi),u(k),u(j))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();function Xs(n){return n.buttons===0||n.detail===0}function Zs(n){let t=n.touches&&n.touches[0]||n.changedTouches&&n.changedTouches[0];return!!t&&t.identifier===-1&&(t.radiusX==null||t.radiusX===1)&&(t.radiusY==null||t.radiusY===1)}var Yb=new y("cdk-input-modality-detector-options"),Xb={ignoreKeys:[18,17,224,91,16]},Ql=650,fn=ve({passive:!0,capture:!0}),Zb=(()=>{let t=class t{get mostRecentModality(){return this._modality.value}constructor(e,i,o,a){this._platform=e,this._mostRecentTarget=null,this._modality=new At(null),this._lastTouchMs=0,this._onKeydown=s=>{this._options?.ignoreKeys?.some(c=>c===s.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=ne(s))},this._onMousedown=s=>{Date.now()-this._lastTouchMs{if(Zs(s)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=ne(s)},this._options=g(g({},Xb),a),this.modalityDetected=this._modality.pipe(Hi(1)),this.modalityChanged=this.modalityDetected.pipe(An()),e.isBrowser&&i.runOutsideAngular(()=>{o.addEventListener("keydown",this._onKeydown,fn),o.addEventListener("mousedown",this._onMousedown,fn),o.addEventListener("touchstart",this._onTouchstart,fn)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,fn),document.removeEventListener("mousedown",this._onMousedown,fn),document.removeEventListener("touchstart",this._onTouchstart,fn))}};t.\u0275fac=function(i){return new(i||t)(u(J),u(k),u(j),u(Yb,8))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),Qb=new y("liveAnnouncerElement",{providedIn:"root",factory:Kb});function Kb(){return null}var Jb=new y("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),tg=0,Kl=(()=>{let t=class t{constructor(e,i,o,a){this._ngZone=i,this._defaultOptions=a,this._document=o,this._liveElement=e||this._createLiveElement()}announce(e,...i){let o=this._defaultOptions,a,s;return i.length===1&&typeof i[0]=="number"?s=i[0]:[a,s]=i,this.clear(),clearTimeout(this._previousTimeout),a||(a=o&&o.politeness?o.politeness:"polite"),s==null&&o&&(s=o.duration),this._liveElement.setAttribute("aria-live",a),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(c=>this._currentResolve=c)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,typeof s=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),s)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let e="cdk-live-announcer-element",i=this._document.getElementsByClassName(e),o=this._document.createElement("div");for(let a=0;a .cdk-overlay-container [aria-modal="true"]');for(let o=0;o{let t=class t{constructor(e,i,o,a,s){this._ngZone=e,this._platform=i,this._inputModalityDetector=o,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new E,this._rootNodeFocusAndBlurListener=c=>{let d=ne(c);for(let m=d;m;m=m.parentElement)c.type==="focus"?this._onFocus(c,m):this._onBlur(c,m)},this._document=a,this._detectionMode=s?.detectionMode||Ir.IMMEDIATE}monitor(e,i=!1){let o=Qt(e);if(!this._platform.isBrowser||o.nodeType!==1)return O();let a=Ll(o)||this._getDocument(),s=this._elementInfo.get(o);if(s)return i&&(s.checkChildren=!0),s.subject;let c={checkChildren:i,subject:new E,rootNode:a};return this._elementInfo.set(o,c),this._registerGlobalListeners(c),c.subject}stopMonitoring(e){let i=Qt(e),o=this._elementInfo.get(i);o&&(o.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(o))}focusVia(e,i,o){let a=Qt(e),s=this._getDocument().activeElement;a===s?this._getClosestElementsInfo(a).forEach(([c,d])=>this._originChanged(c,i,d)):(this._setOrigin(i),typeof a.focus=="function"&&a.focus(o))}ngOnDestroy(){this._elementInfo.forEach((e,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return this._detectionMode===Ir.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,i){e.classList.toggle("cdk-focused",!!i),e.classList.toggle("cdk-touch-focused",i==="touch"),e.classList.toggle("cdk-keyboard-focused",i==="keyboard"),e.classList.toggle("cdk-mouse-focused",i==="mouse"),e.classList.toggle("cdk-program-focused",i==="program")}_setOrigin(e,i=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction=e==="touch"&&i,this._detectionMode===Ir.IMMEDIATE){clearTimeout(this._originTimeoutId);let o=this._originFromTouchInteraction?Ql:1;this._originTimeoutId=setTimeout(()=>this._origin=null,o)}})}_onFocus(e,i){let o=this._elementInfo.get(i),a=ne(e);!o||!o.checkChildren&&i!==a||this._originChanged(i,this._getFocusOrigin(a),o)}_onBlur(e,i){let o=this._elementInfo.get(i);!o||o.checkChildren&&e.relatedTarget instanceof Node&&i.contains(e.relatedTarget)||(this._setClasses(i),this._emitOrigin(o,null))}_emitOrigin(e,i){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(i))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;let i=e.rootNode,o=this._rootNodeFocusListenerCount.get(i)||0;o||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,kr),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,kr)}),this._rootNodeFocusListenerCount.set(i,o+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(dt(this._stopInputModalityDetector)).subscribe(a=>{this._setOrigin(a,!0)}))}_removeGlobalListeners(e){let i=e.rootNode;if(this._rootNodeFocusListenerCount.has(i)){let o=this._rootNodeFocusListenerCount.get(i);o>1?this._rootNodeFocusListenerCount.set(i,o-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,kr),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,kr),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,i,o){this._setClasses(e,i),this._emitOrigin(o,i),this._lastFocusOrigin=i}_getClosestElementsInfo(e){let i=[];return this._elementInfo.forEach((o,a)=>{(a===e||o.checkChildren&&a.contains(e))&&i.push([a,o])}),i}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:i,mostRecentModality:o}=this._inputModalityDetector;if(o!=="mouse"||!i||i===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return!1;let a=e.labels;if(a){for(let s=0;s{let t=class t{constructor(e,i){this._elementRef=e,this._focusMonitor=i,this._focusOrigin=null,this.cdkFocusChange=new V}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){let e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,e.nodeType===1&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(i=>{this._focusOrigin=i,this.cdkFocusChange.emit(i)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}};t.\u0275fac=function(i){return new(i||t)(l(D),l(ae))},t.\u0275dir=I({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"],standalone:!0});let n=t;return n})(),Fi=function(n){return n[n.NONE=0]="NONE",n[n.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",n[n.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",n}(Fi||{}),Wl="cdk-high-contrast-black-on-white",Gl="cdk-high-contrast-white-on-black",$s="cdk-high-contrast-active",Qs=(()=>{let t=class t{constructor(e,i){this._platform=e,this._document=i,this._breakpointSubscription=_(hn).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Fi.NONE;let e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);let i=this._document.defaultView||window,o=i&&i.getComputedStyle?i.getComputedStyle(e):null,a=(o&&o.backgroundColor||"").replace(/ /g,"");switch(e.remove(),a){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Fi.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Fi.BLACK_ON_WHITE}return Fi.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove($s,Wl,Gl),this._hasCheckedHighContrastMode=!0;let i=this.getHighContrastMode();i===Fi.BLACK_ON_WHITE?e.add($s,Wl):i===Fi.WHITE_ON_BLACK&&e.add($s,Gl)}}};t.\u0275fac=function(i){return new(i||t)(u(J),u(j))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),Rr=(()=>{let t=class t{constructor(e){e._applyBodyHighContrastModeCssClasses()}};t.\u0275fac=function(i){return new(i||t)(u(Qs))},t.\u0275mod=N({type:t}),t.\u0275inj=P({imports:[wr]});let n=t;return n})();var ig=new y("cdk-dir-doc",{providedIn:"root",factory:ng});function ng(){return _(j)}var og=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function rg(n){let t=n?.toLowerCase()||"";return t==="auto"&&typeof navigator<"u"&&navigator?.language?og.test(navigator.language)?"rtl":"ltr":t==="rtl"?"rtl":"ltr"}var Lt=(()=>{let t=class t{constructor(e){if(this.value="ltr",this.change=new V,e){let i=e.body?e.body.dir:null,o=e.documentElement?e.documentElement.dir:null;this.value=rg(i||o||"ltr")}}ngOnDestroy(){this.change.complete()}};t.\u0275fac=function(i){return new(i||t)(u(ig,8))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();var pi=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({});let n=t;return n})();var ag=["text"],sg=[[["mat-icon"]],"*"],cg=["mat-icon","*"];function dg(n,t){if(n&1&&M(0,"mat-pseudo-checkbox",1),n&2){let r=G();L("disabled",r.disabled)("state",r.selected?"checked":"unchecked")}}function lg(n,t){if(n&1&&M(0,"mat-pseudo-checkbox",3),n&2){let r=G();L("disabled",r.disabled)}}function mg(n,t){if(n&1&&(h(0,"span",4),C(1),f()),n&2){let r=G();v(),Wt("(",r.group.label,")")}}var ug=["mat-internal-form-field",""],hg=["*"];var oc=(()=>{let t=class t{};t.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",t.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",t.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",t.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)";let n=t;return n})(),rc=(()=>{let t=class t{};t.COMPLEX="375ms",t.ENTERING="225ms",t.EXITING="195ms";let n=t;return n})();function fg(){return!0}var pg=new y("mat-sanity-checks",{providedIn:"root",factory:fg}),K=(()=>{let t=class t{constructor(e,i,o){this._sanityChecks=i,this._document=o,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return mo()?!1:typeof this._sanityChecks=="boolean"?this._sanityChecks:!!this._sanityChecks[e]}};t.\u0275fac=function(i){return new(i||t)(u(Qs),u(pg,8),u(j))},t.\u0275mod=N({type:t}),t.\u0275inj=P({imports:[pi,pi]});let n=t;return n})();var Fr=class{constructor(t,r,e,i,o){this._defaultMatcher=t,this.ngControl=r,this._parentFormGroup=e,this._parentForm=i,this._stateChanges=o,this.errorState=!1}updateErrorState(){let t=this.errorState,r=this._parentFormGroup||this._parentForm,e=this.matcher||this._defaultMatcher,i=this.ngControl?this.ngControl.control:null,o=e?.isErrorState(i,r)??!1;o!==t&&(this.errorState=o,this._stateChanges.next())}};var cm=(()=>{let t=class t{isErrorState(e,i){return!!(e&&e.invalid&&(e.touched||i&&i.submitted))}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();var ye=function(n){return n[n.FADING_IN=0]="FADING_IN",n[n.VISIBLE=1]="VISIBLE",n[n.FADING_OUT=2]="FADING_OUT",n[n.HIDDEN=3]="HIDDEN",n}(ye||{}),tc=class{constructor(t,r,e,i=!1){this._renderer=t,this.element=r,this.config=e,this._animationForciblyDisabledThroughCss=i,this.state=ye.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}},tm=ve({passive:!0,capture:!0}),ec=class{constructor(){this._events=new Map,this._delegateEventHandler=t=>{let r=ne(t);r&&this._events.get(t.type)?.forEach((e,i)=>{(i===r||i.contains(r))&&e.forEach(o=>o.handleEvent(t))})}}addHandler(t,r,e,i){let o=this._events.get(r);if(o){let a=o.get(e);a?a.add(i):o.set(e,new Set([i]))}else this._events.set(r,new Map([[e,new Set([i])]])),t.runOutsideAngular(()=>{document.addEventListener(r,this._delegateEventHandler,tm)})}removeHandler(t,r,e){let i=this._events.get(t);if(!i)return;let o=i.get(r);o&&(o.delete(e),o.size===0&&i.delete(r),i.size===0&&(this._events.delete(t),document.removeEventListener(t,this._delegateEventHandler,tm)))}},em={enterDuration:225,exitDuration:150},bg=800,im=ve({passive:!0,capture:!0}),nm=["mousedown","touchstart"],om=["mouseup","mouseleave","touchend","touchcancel"],ho=class ho{constructor(t,r,e,i){this._target=t,this._ngZone=r,this._platform=i,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,i.isBrowser&&(this._containerElement=Qt(e))}fadeInRipple(t,r,e={}){let i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=g(g({},em),e.animation);e.centered&&(t=i.left+i.width/2,r=i.top+i.height/2);let a=e.radius||gg(t,r,i),s=t-i.left,c=r-i.top,d=o.enterDuration,m=document.createElement("div");m.classList.add("mat-ripple-element"),m.style.left=`${s-a}px`,m.style.top=`${c-a}px`,m.style.height=`${a*2}px`,m.style.width=`${a*2}px`,e.color!=null&&(m.style.backgroundColor=e.color),m.style.transitionDuration=`${d}ms`,this._containerElement.appendChild(m);let p=window.getComputedStyle(m),w=p.transitionProperty,R=p.transitionDuration,Z=w==="none"||R==="0s"||R==="0s, 0s"||i.width===0&&i.height===0,ct=new tc(this,m,e,Z);m.style.transform="scale3d(1, 1, 1)",ct.state=ye.FADING_IN,e.persistent||(this._mostRecentTransientRipple=ct);let ot=null;return!Z&&(d||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let ut=()=>this._finishRippleTransition(ct),Ee=()=>this._destroyRipple(ct);m.addEventListener("transitionend",ut),m.addEventListener("transitioncancel",Ee),ot={onTransitionEnd:ut,onTransitionCancel:Ee}}),this._activeRipples.set(ct,ot),(Z||!d)&&this._finishRippleTransition(ct),ct}fadeOutRipple(t){if(t.state===ye.FADING_OUT||t.state===ye.HIDDEN)return;let r=t.element,e=g(g({},em),t.config.animation);r.style.transitionDuration=`${e.exitDuration}ms`,r.style.opacity="0",t.state=ye.FADING_OUT,(t._animationForciblyDisabledThroughCss||!e.exitDuration)&&this._finishRippleTransition(t)}fadeOutAll(){this._getActiveRipples().forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){let r=Qt(t);!this._platform.isBrowser||!r||r===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=r,nm.forEach(e=>{ho._eventManager.addHandler(this._ngZone,e,r,this)}))}handleEvent(t){t.type==="mousedown"?this._onMousedown(t):t.type==="touchstart"?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{om.forEach(r=>{this._triggerElement.addEventListener(r,this,im)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(t){t.state===ye.FADING_IN?this._startFadeOutTransition(t):t.state===ye.FADING_OUT&&this._destroyRipple(t)}_startFadeOutTransition(t){let r=t===this._mostRecentTransientRipple,{persistent:e}=t.config;t.state=ye.VISIBLE,!e&&(!r||!this._isPointerDown)&&t.fadeOut()}_destroyRipple(t){let r=this._activeRipples.get(t)??null;this._activeRipples.delete(t),this._activeRipples.size||(this._containerRect=null),t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),t.state=ye.HIDDEN,r!==null&&(t.element.removeEventListener("transitionend",r.onTransitionEnd),t.element.removeEventListener("transitioncancel",r.onTransitionCancel)),t.element.remove()}_onMousedown(t){let r=Xs(t),e=this._lastTouchStartEvent&&Date.now(){let r=t.state===ye.VISIBLE||t.config.terminateOnPointerUp&&t.state===ye.FADING_IN;!t.config.persistent&&r&&t.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let t=this._triggerElement;t&&(nm.forEach(r=>ho._eventManager.removeHandler(r,t,this)),this._pointerUpEventsRegistered&&om.forEach(r=>t.removeEventListener(r,this,im)))}};ho._eventManager=new ec;var ic=ho;function gg(n,t,r){let e=Math.max(Math.abs(n-r.left),Math.abs(n-r.right)),i=Math.max(Math.abs(t-r.top),Math.abs(t-r.bottom));return Math.sqrt(e*e+i*i)}var ac=new y("mat-ripple-global-options"),Be=(()=>{let t=class t{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,i,o,a,s){this._elementRef=e,this._animationMode=s,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=a||{},this._rippleRenderer=new ic(this,i,e,o)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:g(g(g({},this._globalOptions.animation),this._animationMode==="NoopAnimations"?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,i=0,o){return typeof e=="number"?this._rippleRenderer.fadeInRipple(e,i,g(g({},this.rippleConfig),o)):this._rippleRenderer.fadeInRipple(0,0,g(g({},this.rippleConfig),e))}};t.\u0275fac=function(i){return new(i||t)(l(D),l(k),l(J),l(ac,8),l(_t,8))},t.\u0275dir=I({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(i,o){i&2&&z("mat-ripple-unbounded",o.unbounded)},inputs:{color:[b.None,"matRippleColor","color"],unbounded:[b.None,"matRippleUnbounded","unbounded"],centered:[b.None,"matRippleCentered","centered"],radius:[b.None,"matRippleRadius","radius"],animation:[b.None,"matRippleAnimation","animation"],disabled:[b.None,"matRippleDisabled","disabled"],trigger:[b.None,"matRippleTrigger","trigger"]},exportAs:["matRipple"],standalone:!0});let n=t;return n})(),sc=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({imports:[K,K]});let n=t;return n})(),_g=(()=>{let t=class t{constructor(e){this._animationMode=e,this.state="unchecked",this.disabled=!1,this.appearance="full"}};t.\u0275fac=function(i){return new(i||t)(l(_t,8))},t.\u0275cmp=T({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(i,o){i&2&&z("mat-pseudo-checkbox-indeterminate",o.state==="indeterminate")("mat-pseudo-checkbox-checked",o.state==="checked")("mat-pseudo-checkbox-disabled",o.disabled)("mat-pseudo-checkbox-minimal",o.appearance==="minimal")("mat-pseudo-checkbox-full",o.appearance==="full")("_mat-animation-noopable",o._animationMode==="NoopAnimations")},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},standalone:!0,features:[A],decls:0,vars:0,template:function(i,o){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-minimal-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color);border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color);border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0});let n=t;return n})(),vg=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({imports:[K]});let n=t;return n})(),cc=new y("MAT_OPTION_PARENT_COMPONENT");var dc=new y("MatOptgroup");var yg=0,fo=class{constructor(t,r=!1){this.source=t,this.isUserInput=r}},Pr=(()=>{let t=class t{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,i,o,a){this._element=e,this._changeDetectorRef=i,this._parent=o,this.group=a,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id=`mat-option-${yg++}`,this.onSelectionChange=new V,this._stateChanges=new E}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,i){let o=this._getHostElement();typeof o.focus=="function"&&o.focus(i)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(e.keyCode===13||e.keyCode===32)&&!Rt(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 fo(this,e))}};t.\u0275fac=function(i){return new(i||t)(l(D),l(pt),l(cc,8),l(dc,8))},t.\u0275cmp=T({type:t,selectors:[["mat-option"]],viewQuery:function(i,o){if(i&1&&nt(ag,7),i&2){let a;U(a=H())&&(o._text=a.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(i,o){i&1&&S("click",function(){return o._selectViaInteraction()})("keydown",function(s){return o._handleKeydown(s)}),i&2&&(Xt("id",o.id),Y("aria-selected",o.selected)("aria-disabled",o.disabled.toString()),z("mdc-list-item--selected",o.selected)("mat-mdc-option-multiple",o.multiple)("mat-mdc-option-active",o.active)("mdc-list-item--disabled",o.disabled))},inputs:{value:"value",id:"id",disabled:[b.HasDecoratorInputTransform,"disabled","disabled",q]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],standalone:!0,features:[ft,A],ngContentSelectors:cg,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(i,o){i&1&&(wt(sg),B(0,dg,1,2,"mat-pseudo-checkbox",1),at(1),h(2,"span",2,0),at(4,1),f(),B(5,lg,1,1,"mat-pseudo-checkbox",3)(6,mg,2,1,"span",4),M(7,"div",5)),i&2&&(Q(0,o.multiple?0:-1),v(5),Q(5,!o.multiple&&o.selected&&!o.hideSingleSelectionIndicator?5:-1),v(),Q(6,o.group&&o.group._inert?6:-1),v(),L("matRippleTrigger",o._getHostElement())("matRippleDisabled",o.disabled||o.disableRipple))},dependencies:[_g,Be],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color);font-family:var(--mat-option-label-text-font);line-height:var(--mat-option-label-text-line-height);font-size:var(--mat-option-label-text-size);letter-spacing:var(--mat-option-label-text-tracking);font-weight:var(--mat-option-label-text-weight);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color)}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-multiple{--mdc-list-list-item-selected-container-color:var(--mdc-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0});let n=t;return n})();function dm(n,t,r){if(r.length){let e=t.toArray(),i=r.toArray(),o=0;for(let a=0;ar+e?Math.max(0,n-e+t):r}var lc=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({imports:[sc,K,vg]});let n=t;return n})(),rm={capture:!0},am=["focus","click","mouseenter","touchstart"],Ks="mat-ripple-loader-uninitialized",Js="mat-ripple-loader-class-name",sm="mat-ripple-loader-centered",Or="mat-ripple-loader-disabled",mm=(()=>{let t=class t{constructor(){this._document=_(j,{optional:!0}),this._animationMode=_(_t,{optional:!0}),this._globalRippleOptions=_(ac,{optional:!0}),this._platform=_(J),this._ngZone=_(k),this._hosts=new Map,this._onInteraction=e=>{if(!(e.target instanceof HTMLElement))return;let o=e.target.closest(`[${Ks}]`);o&&this._createRipple(o)},this._ngZone.runOutsideAngular(()=>{for(let e of am)this._document?.addEventListener(e,this._onInteraction,rm)})}ngOnDestroy(){let e=this._hosts.keys();for(let i of e)this.destroyRipple(i);for(let i of am)this._document?.removeEventListener(i,this._onInteraction,rm)}configureRipple(e,i){e.setAttribute(Ks,""),(i.className||!e.hasAttribute(Js))&&e.setAttribute(Js,i.className||""),i.centered&&e.setAttribute(sm,""),i.disabled&&e.setAttribute(Or,"")}getRipple(e){return this._hosts.get(e)||this._createRipple(e)}setDisabled(e,i){let o=this._hosts.get(e);if(o){o.disabled=i;return}i?e.setAttribute(Or,""):e.removeAttribute(Or)}_createRipple(e){if(!this._document)return;let i=this._hosts.get(e);if(i)return i;e.querySelector(".mat-ripple")?.remove();let o=this._document.createElement("span");o.classList.add("mat-ripple",e.getAttribute(Js)),e.append(o);let a=new Be(new D(o),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return a._isInitialized=!0,a.trigger=e,a.centered=e.hasAttribute(sm),a.disabled=e.hasAttribute(Or),this.attachRipple(e,a),a}attachRipple(e,i){e.removeAttribute(Ks),this._hosts.set(e,i)}destroyRipple(e){let i=this._hosts.get(e);i&&(i.ngOnDestroy(),this._hosts.delete(e))}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),Nr=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275cmp=T({type:t,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(i,o){i&2&&z("mdc-form-field--align-end",o.labelPosition==="before")},inputs:{labelPosition:"labelPosition"},standalone:!0,features:[A],attrs:ug,ngContentSelectors:hg,decls:1,vars:0,template:function(i,o){i&1&&(wt(),at(0))},styles:[".mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mdc-form-field{font-family:var(--mdc-form-field-label-text-font);line-height:var(--mdc-form-field-label-text-line-height);font-size:var(--mdc-form-field-label-text-size);font-weight:var(--mdc-form-field-label-text-weight);letter-spacing:var(--mdc-form-field-label-text-tracking);color:var(--mdc-form-field-label-text-color)}.mat-internal-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}"],encapsulation:2,changeDetection:0});let n=t;return n})();var xg=new y("MAT_PROGRESS_BAR_DEFAULT_OPTIONS");var fm=(()=>{let t=class t{constructor(e,i,o,a,s){this._elementRef=e,this._ngZone=i,this._changeDetectorRef=o,this._animationMode=a,this._isNoopAnimation=!1,this._defaultColor="primary",this._value=0,this._bufferValue=0,this.animationEnd=new V,this._mode="determinate",this._transitionendHandler=c=>{this.animationEnd.observers.length===0||!c.target||!c.target.classList.contains("mdc-linear-progress__primary-bar")||(this.mode==="determinate"||this.mode==="buffer")&&this._ngZone.run(()=>this.animationEnd.next({value:this.value}))},this._isNoopAnimation=a==="NoopAnimations",s&&(s.color&&(this.color=this._defaultColor=s.color),this.mode=s.mode||this.mode)}get color(){return this._color||this._defaultColor}set color(e){this._color=e}get value(){return this._value}set value(e){this._value=hm(e||0),this._changeDetectorRef.markForCheck()}get bufferValue(){return this._bufferValue||0}set bufferValue(e){this._bufferValue=hm(e||0),this._changeDetectorRef.markForCheck()}get mode(){return this._mode}set mode(e){this._mode=e,this._changeDetectorRef.markForCheck()}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("transitionend",this._transitionendHandler)})}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._transitionendHandler)}_getPrimaryBarTransform(){return`scaleX(${this._isIndeterminate()?1:this.value/100})`}_getBufferBarFlexBasis(){return`${this.mode==="buffer"?this.bufferValue:100}%`}_isIndeterminate(){return this.mode==="indeterminate"||this.mode==="query"}};t.\u0275fac=function(i){return new(i||t)(l(D),l(k),l(pt),l(_t,8),l(xg,8))},t.\u0275cmp=T({type:t,selectors:[["mat-progress-bar"]],hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-mdc-progress-bar","mdc-linear-progress"],hostVars:10,hostBindings:function(i,o){i&2&&(Y("aria-valuenow",o._isIndeterminate()?null:o.value)("mode",o.mode),Mt("mat-"+o.color),z("_mat-animation-noopable",o._isNoopAnimation)("mdc-linear-progress--animation-ready",!o._isNoopAnimation)("mdc-linear-progress--indeterminate",o._isIndeterminate()))},inputs:{color:"color",value:[b.HasDecoratorInputTransform,"value","value",ge],bufferValue:[b.HasDecoratorInputTransform,"bufferValue","bufferValue",ge],mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],standalone:!0,features:[ft,A],decls:7,vars:4,consts:[["aria-hidden","true",1,"mdc-linear-progress__buffer"],[1,"mdc-linear-progress__buffer-bar"],[1,"mdc-linear-progress__buffer-dots"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__primary-bar"],[1,"mdc-linear-progress__bar-inner"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__secondary-bar"]],template:function(i,o){i&1&&(h(0,"div",0),M(1,"div",1)(2,"div",2),f(),h(3,"div",3),M(4,"span",4),f(),h(5,"div",5),M(6,"span",4),f()),i&2&&(v(),si("flex-basis",o._getBufferBarFlexBasis()),v(2),si("transform",o._getPrimaryBarTransform()))},styles:[`@keyframes mdc-linear-progress-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(var(--mdc-linear-progress-primary-half))}100%{transform:translateX(var(--mdc-linear-progress-primary-full))}}@keyframes mdc-linear-progress-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(var(--mdc-linear-progress-secondary-quarter))}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(var(--mdc-linear-progress-secondary-half))}100%{transform:translateX(var(--mdc-linear-progress-secondary-full))}}@keyframes mdc-linear-progress-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-primary-indeterminate-translate-reverse{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(var(--mdc-linear-progress-primary-half-neg))}100%{transform:translateX(var(--mdc-linear-progress-primary-full-neg))}}@keyframes mdc-linear-progress-secondary-indeterminate-translate-reverse{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(var(--mdc-linear-progress-secondary-quarter-neg))}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(var(--mdc-linear-progress-secondary-half-neg))}100%{transform:translateX(var(--mdc-linear-progress-secondary-full-neg))}}@keyframes mdc-linear-progress-buffering-reverse{from{transform:translateX(-10px)}}.mdc-linear-progress{position:relative;width:100%;transform:translateZ(0);outline:1px solid rgba(0,0,0,0);overflow-x:hidden;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}@media screen and (forced-colors: active){.mdc-linear-progress{outline-color:CanvasText}}.mdc-linear-progress__bar{position:absolute;top:0;bottom:0;margin:auto 0;width:100%;animation:none;transform-origin:top left;transition:transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-linear-progress__bar-inner{display:inline-block;position:absolute;width:100%;animation:none;border-top-style:solid}.mdc-linear-progress__buffer{display:flex;position:absolute;top:0;bottom:0;margin:auto 0;width:100%;overflow:hidden}.mdc-linear-progress__buffer-dots{background-repeat:repeat-x;flex:auto;transform:rotate(180deg);-webkit-mask-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E");animation:mdc-linear-progress-buffering 250ms infinite linear}.mdc-linear-progress__buffer-bar{flex:0 1 100%;transition:flex-basis 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-linear-progress__primary-bar{transform:scaleX(0)}.mdc-linear-progress__secondary-bar{display:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__bar{transition:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{left:-145.166611%}.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{left:-54.888891%;display:block}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation:mdc-linear-progress-primary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-primary-indeterminate-scale 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation:mdc-linear-progress-secondary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-secondary-indeterminate-scale 2s infinite linear}[dir=rtl] .mdc-linear-progress:not([dir=ltr]) .mdc-linear-progress__bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]) .mdc-linear-progress__bar{right:0;-webkit-transform-origin:center right;transform-origin:center right}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation-name:mdc-linear-progress-primary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation-name:mdc-linear-progress-secondary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress:not([dir=ltr]) .mdc-linear-progress__buffer-dots,.mdc-linear-progress[dir=rtl]:not([dir=ltr]) .mdc-linear-progress__buffer-dots{animation:mdc-linear-progress-buffering-reverse 250ms infinite linear;transform:rotate(0)}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{right:-145.166611%;left:auto}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{right:-54.888891%;left:auto}.mdc-linear-progress--closed{opacity:0}.mdc-linear-progress--closed-animation-off .mdc-linear-progress__buffer-dots{animation:none}.mdc-linear-progress--closed-animation-off.mdc-linear-progress--indeterminate .mdc-linear-progress__bar,.mdc-linear-progress--closed-animation-off.mdc-linear-progress--indeterminate .mdc-linear-progress__bar .mdc-linear-progress__bar-inner{animation:none}@keyframes mdc-linear-progress-buffering{from{transform:rotate(180deg) translateX(calc(var(--mdc-linear-progress-track-height) * -2.5))}}.mdc-linear-progress__bar-inner{border-color:var(--mdc-linear-progress-active-indicator-color)}.mdc-linear-progress__buffer-dots{background-color:var(--mdc-linear-progress-track-color)}@media(forced-colors: active){.mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress__buffer-dots{background-color:rgba(0,0,0,0);background-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(244, 67, 54, 0.25)'/%3E%3C/svg%3E")}}.mdc-linear-progress__buffer-bar{background-color:var(--mdc-linear-progress-track-color)}.mdc-linear-progress{height:max(var(--mdc-linear-progress-track-height), var(--mdc-linear-progress-active-indicator-height))}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress{height:4px}}.mdc-linear-progress__bar{height:var(--mdc-linear-progress-active-indicator-height)}.mdc-linear-progress__bar-inner{border-top-width:var(--mdc-linear-progress-active-indicator-height)}.mdc-linear-progress__buffer{height:var(--mdc-linear-progress-track-height)}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress__buffer-dots{background-size:10px var(--mdc-linear-progress-track-height)}}.mdc-linear-progress__buffer{border-radius:var(--mdc-linear-progress-track-shape)}.mat-mdc-progress-bar{display:block;text-align:start;--mdc-linear-progress-primary-half: 83.67142%;--mdc-linear-progress-primary-full: 200.611057%;--mdc-linear-progress-secondary-quarter: 37.651913%;--mdc-linear-progress-secondary-half: 84.386165%;--mdc-linear-progress-secondary-full: 160.277782%;--mdc-linear-progress-primary-half-neg: -83.67142%;--mdc-linear-progress-primary-full-neg: -200.611057%;--mdc-linear-progress-secondary-quarter-neg: -37.651913%;--mdc-linear-progress-secondary-half-neg: -84.386165%;--mdc-linear-progress-secondary-full-neg: -160.277782%}.mat-mdc-progress-bar[mode=query]{transform:scaleX(-1)}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-dots,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__secondary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__bar-inner.mdc-linear-progress__bar-inner{animation:none}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-bar{transition:transform 1ms}`],encapsulation:2,changeDetection:0});let n=t;return n})();function hm(n,t=0,r=100){return Math.max(t,Math.min(r,n))}var pm=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({imports:[K]});let n=t;return n})();var bo=class{attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;t!=null&&(this._attachedHost=null,t.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(t){this._attachedHost=t}},Me=class extends bo{constructor(t,r,e,i,o){super(),this.component=t,this.viewContainerRef=r,this.injector=e,this.componentFactoryResolver=i,this.projectableNodes=o}},se=class extends bo{constructor(t,r,e,i){super(),this.templateRef=t,this.viewContainerRef=r,this.context=e,this.injector=i}get origin(){return this.templateRef.elementRef}attach(t,r=this.context){return this.context=r,super.attach(t)}detach(){return this.context=void 0,super.detach()}},mc=class extends bo{constructor(t){super(),this.element=t instanceof D?t.nativeElement:t}},bi=class{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){if(t instanceof Me)return this._attachedPortal=t,this.attachComponentPortal(t);if(t instanceof se)return this._attachedPortal=t,this.attachTemplatePortal(t);if(this.attachDomPortal&&t instanceof mc)return this._attachedPortal=t,this.attachDomPortal(t)}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}};var Lr=class extends bi{constructor(t,r,e,i,o){super(),this.outletElement=t,this._componentFactoryResolver=r,this._appRef=e,this._defaultInjector=i,this.attachDomPortal=a=>{this._document;let s=a.element;s.parentNode;let c=this._document.createComment("dom-portal");s.parentNode.insertBefore(c,s),this.outletElement.appendChild(s),this._attachedPortal=a,super.setDisposeFn(()=>{c.parentNode&&c.parentNode.replaceChild(s,c)})},this._document=o}attachComponentPortal(t){let e=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),i;return t.viewContainerRef?(i=t.viewContainerRef.createComponent(e,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector,t.projectableNodes||void 0),this.setDisposeFn(()=>i.destroy())):(i=e.create(t.injector||this._defaultInjector||xt.NULL),this._appRef.attachView(i.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(i.hostView),i.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(i)),this._attachedPortal=t,i}attachTemplatePortal(t){let r=t.viewContainerRef,e=r.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return e.rootNodes.forEach(i=>this.outletElement.appendChild(i)),e.detectChanges(),this.setDisposeFn(()=>{let i=r.indexOf(e);i!==-1&&r.remove(i)}),this._attachedPortal=t,e}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(t){return t.hostView.rootNodes[0]}};var bm=(()=>{let t=class t extends se{constructor(e,i){super(e,i)}};t.\u0275fac=function(i){return new(i||t)(l(Vt),l($t))},t.\u0275dir=I({type:t,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],standalone:!0,features:[it]});let n=t;return n})();var Kt=(()=>{let t=class t extends bi{constructor(e,i,o){super(),this._componentFactoryResolver=e,this._viewContainerRef=i,this._isInitialized=!1,this.attached=new V,this.attachDomPortal=a=>{this._document;let s=a.element;s.parentNode;let c=this._document.createComment("dom-portal");a.setAttachedHost(this),s.parentNode.insertBefore(c,s),this._getRootNode().appendChild(s),this._attachedPortal=a,super.setDisposeFn(()=>{c.parentNode&&c.parentNode.replaceChild(s,c)})},this._document=o}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);let i=e.viewContainerRef!=null?e.viewContainerRef:this._viewContainerRef,a=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),s=i.createComponent(a,i.length,e.injector||i.injector,e.projectableNodes||void 0);return i!==this._viewContainerRef&&this._getRootNode().appendChild(s.hostView.rootNodes[0]),super.setDisposeFn(()=>s.destroy()),this._attachedPortal=e,this._attachedRef=s,this.attached.emit(s),s}attachTemplatePortal(e){e.setAttachedHost(this);let i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}_getRootNode(){let e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}};t.\u0275fac=function(i){return new(i||t)(l(qi),l($t),l(j))},t.\u0275dir=I({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[b.None,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],standalone:!0,features:[it]});let n=t;return n})();var Re=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({});let n=t;return n})();var Cg=20,_n=(()=>{let t=class t{constructor(e,i,o){this._ngZone=e,this._platform=i,this._scrolled=new E,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=o}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){let i=this.scrollContainers.get(e);i&&(i.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=Cg){return this._platform.isBrowser?new Yt(i=>{this._globalSubscription||this._addGlobalListener();let o=e>0?this._scrolled.pipe(Ia(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):O()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(e,i){let o=this.getAncestorScrollContainers(e);return this.scrolled(i).pipe(tt(a=>!a||o.indexOf(a)>-1))}getAncestorScrollContainers(e){let i=[];return this.scrollContainers.forEach((o,a)=>{this._scrollableContainsElement(a,e)&&i.push(a)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,i){let o=Qt(i),a=e.getElementRef().nativeElement;do if(o==a)return!0;while(o=o.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{let e=this._getWindow();return Ht(e.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}};t.\u0275fac=function(i){return new(i||t)(u(k),u(J),u(j,8))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),uc=(()=>{let t=class t{constructor(e,i,o,a){this.elementRef=e,this.scrollDispatcher=i,this.ngZone=o,this.dir=a,this._destroyed=new E,this._elementScrolled=new Yt(s=>this.ngZone.runOutsideAngular(()=>Ht(this.elementRef.nativeElement,"scroll").pipe(dt(this._destroyed)).subscribe(s)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){let i=this.elementRef.nativeElement,o=this.dir&&this.dir.value=="rtl";e.left==null&&(e.left=o?e.end:e.start),e.right==null&&(e.right=o?e.start:e.end),e.bottom!=null&&(e.top=i.scrollHeight-i.clientHeight-e.bottom),o&&mn()!=Te.NORMAL?(e.left!=null&&(e.right=i.scrollWidth-i.clientWidth-e.left),mn()==Te.INVERTED?e.left=e.right:mn()==Te.NEGATED&&(e.left=e.right?-e.right:e.right)):e.right!=null&&(e.left=i.scrollWidth-i.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){let i=this.elementRef.nativeElement;xr()?i.scrollTo(e):(e.top!=null&&(i.scrollTop=e.top),e.left!=null&&(i.scrollLeft=e.left))}measureScrollOffset(e){let i="left",o="right",a=this.elementRef.nativeElement;if(e=="top")return a.scrollTop;if(e=="bottom")return a.scrollHeight-a.clientHeight-a.scrollTop;let s=this.dir&&this.dir.value=="rtl";return e=="start"?e=s?o:i:e=="end"&&(e=s?i:o),s&&mn()==Te.INVERTED?e==i?a.scrollWidth-a.clientWidth-a.scrollLeft:a.scrollLeft:s&&mn()==Te.NEGATED?e==i?a.scrollLeft+a.scrollWidth-a.clientWidth:-a.scrollLeft:e==i?a.scrollLeft:a.scrollWidth-a.clientWidth-a.scrollLeft}};t.\u0275fac=function(i){return new(i||t)(l(D),l(_n),l(k),l(Lt,8))},t.\u0275dir=I({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0});let n=t;return n})(),kg=20,Ze=(()=>{let t=class t{constructor(e,i,o){this._platform=e,this._change=new E,this._changeListener=a=>{this._change.next(a)},this._document=o,i.runOutsideAngular(()=>{if(e.isBrowser){let a=this._getWindow();a.addEventListener("resize",this._changeListener),a.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){let e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){let e=this.getViewportScrollPosition(),{width:i,height:o}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+o,right:e.left+i,height:o,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let e=this._document,i=this._getWindow(),o=e.documentElement,a=o.getBoundingClientRect(),s=-a.top||e.body.scrollTop||i.scrollY||o.scrollTop||0,c=-a.left||e.body.scrollLeft||i.scrollX||o.scrollLeft||0;return{top:s,left:c}}change(e=kg){return e>0?this._change.pipe(Ia(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}};t.\u0275fac=function(i){return new(i||t)(u(J),u(k),u(j,8))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();var gn=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({});let n=t;return n})(),hc=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({imports:[pi,gn,pi,gn]});let n=t;return n})();var _c=["*"];function Ig(n,t){n&1&&at(0)}var Eg=["tabListContainer"],Dg=["tabList"],Sg=["tabListInner"],Tg=["nextPaginator"],Ag=["previousPaginator"],Mg=n=>({animationDuration:n}),Rg=(n,t)=>({value:n,params:t});function Og(n,t){}var Fg=["tabBodyWrapper"],Pg=["tabHeader"];function Ng(n,t){}function Lg(n,t){if(n&1&&B(0,Ng,0,0,"ng-template",12),n&2){let r=G().$implicit;L("cdkPortalOutlet",r.templateLabel)}}function jg(n,t){if(n&1&&C(0),n&2){let r=G().$implicit;be(r.textLabel)}}function Vg(n,t){if(n&1){let r=mt();h(0,"div",7,2),S("click",function(){let i=$(r),o=i.$implicit,a=i.$index,s=G(),c=pe(1);return W(s._handleClick(o,c,a))})("cdkFocusChange",function(i){let o=$(r).$index,a=G();return W(a._tabFocusChanged(i,o))}),M(2,"span",8)(3,"div",9),h(4,"span",10)(5,"span",11),B(6,Lg,1,1,null,12)(7,jg,1,1),f()()()}if(n&2){let r=t.$implicit,e=t.$index,i=pe(1),o=G();Mt(r.labelClass),z("mdc-tab--active",o.selectedIndex===e),L("id",o._getTabLabelId(e))("disabled",r.disabled)("fitInkBarToContent",o.fitInkBarToContent),Y("tabIndex",o._getTabIndex(e))("aria-posinset",e+1)("aria-setsize",o._tabs.length)("aria-controls",o._getTabContentId(e))("aria-selected",o.selectedIndex===e)("aria-label",r.ariaLabel||null)("aria-labelledby",!r.ariaLabel&&r.ariaLabelledby?r.ariaLabelledby:null),v(3),L("matRippleTrigger",i)("matRippleDisabled",r.disabled||o.disableRipple),v(3),Q(6,r.templateLabel?6:7)}}function Bg(n,t){n&1&&at(0)}function zg(n,t){if(n&1){let r=mt();h(0,"mat-tab-body",13),S("_onCentered",function(){$(r);let i=G();return W(i._removeTabBodyWrapperHeight())})("_onCentering",function(i){$(r);let o=G();return W(o._setTabBodyWrapperHeight(i))}),f()}if(n&2){let r=t.$implicit,e=t.$index,i=G();Mt(r.bodyClass),z("mat-mdc-tab-body-active",i.selectedIndex===e),L("id",i._getTabContentId(e))("content",r.content)("position",r.position)("origin",r.origin)("animationDuration",i.animationDuration)("preserveContent",i.preserveContent),Y("tabindex",i.contentTabIndex!=null&&i.selectedIndex===e?i.contentTabIndex:null)("aria-labelledby",i._getTabLabelId(e))("aria-hidden",i.selectedIndex!==e)}}var Ug=new y("MatTabContent"),Hg=(()=>{let t=class t{constructor(e){this.template=e}};t.\u0275fac=function(i){return new(i||t)(l(Vt))},t.\u0275dir=I({type:t,selectors:[["","matTabContent",""]],standalone:!0,features:[st([{provide:Ug,useExisting:t}])]});let n=t;return n})(),$g=new y("MatTabLabel"),vm=new y("MAT_TAB"),Wg=(()=>{let t=class t extends bm{constructor(e,i,o){super(e,i),this._closestTab=o}};t.\u0275fac=function(i){return new(i||t)(l(Vt),l($t),l(vm,8))},t.\u0275dir=I({type:t,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],standalone:!0,features:[st([{provide:$g,useExisting:t}]),it]});let n=t;return n})(),ym=new y("MAT_TAB_GROUP"),vc=(()=>{let t=class t{get templateLabel(){return this._templateLabel}set templateLabel(e){this._setTemplateLabelInput(e)}get content(){return this._contentPortal}constructor(e,i){this._viewContainerRef=e,this._closestTabGroup=i,this.disabled=!1,this._explicitContent=void 0,this.textLabel="",this._contentPortal=null,this._stateChanges=new E,this.position=null,this.origin=null,this.isActive=!1}ngOnChanges(e){(e.hasOwnProperty("textLabel")||e.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new se(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(e){e&&e._closestTab===this&&(this._templateLabel=e)}};t.\u0275fac=function(i){return new(i||t)(l($t),l(ym,8))},t.\u0275cmp=T({type:t,selectors:[["mat-tab"]],contentQueries:function(i,o,a){if(i&1&&(Pt(a,Wg,5),Pt(a,Hg,7,Vt)),i&2){let s;U(s=H())&&(o.templateLabel=s.first),U(s=H())&&(o._explicitContent=s.first)}},viewQuery:function(i,o){if(i&1&&nt(Vt,7),i&2){let a;U(a=H())&&(o._implicitContent=a.first)}},hostAttrs:["hidden",""],inputs:{disabled:[b.HasDecoratorInputTransform,"disabled","disabled",q],textLabel:[b.None,"label","textLabel"],ariaLabel:[b.None,"aria-label","ariaLabel"],ariaLabelledby:[b.None,"aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],standalone:!0,features:[st([{provide:vm,useExisting:t}]),ft,Ct,A],ngContentSelectors:_c,decls:1,vars:0,template:function(i,o){i&1&&(wt(),B(0,Ig,1,0,"ng-template"))},encapsulation:2});let n=t;return n})(),pc="mdc-tab-indicator--active",gm="mdc-tab-indicator--no-transition",bc=class{constructor(t){this._items=t}hide(){this._items.forEach(t=>t.deactivateInkBar())}alignToElement(t){let r=this._items.find(i=>i.elementRef.nativeElement===t),e=this._currentItem;if(r!==e&&(e?.deactivateInkBar(),r)){let i=e?.elementRef.nativeElement.getBoundingClientRect?.();r.activateInkBar(i),this._currentItem=r}}},Gg=(()=>{let t=class t{constructor(){this._elementRef=_(D),this._fitToContent=!1}get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(e){this._fitToContent!==e&&(this._fitToContent=e,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(e){let i=this._elementRef.nativeElement;if(!e||!i.getBoundingClientRect||!this._inkBarContentElement){i.classList.add(pc);return}let o=i.getBoundingClientRect(),a=e.width/o.width,s=e.left-o.left;i.classList.add(gm),this._inkBarContentElement.style.setProperty("transform",`translateX(${s}px) scaleX(${a})`),i.getBoundingClientRect(),i.classList.remove(gm),i.classList.add(pc),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this._elementRef.nativeElement.classList.remove(pc)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){let e=this._elementRef.nativeElement.ownerDocument||document,i=this._inkBarElement=e.createElement("span"),o=this._inkBarContentElement=e.createElement("span");i.className="mdc-tab-indicator",o.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",i.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){this._inkBarElement;let e=this._fitToContent?this._elementRef.nativeElement.querySelector(".mdc-tab__content"):this._elementRef.nativeElement;e.appendChild(this._inkBarElement)}};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=I({type:t,inputs:{fitInkBarToContent:[b.HasDecoratorInputTransform,"fitInkBarToContent","fitInkBarToContent",q]},features:[ft]});let n=t;return n})();var xm=(()=>{let t=class t extends Gg{constructor(e){super(),this.elementRef=e,this.disabled=!1}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}};t.\u0275fac=function(i){return new(i||t)(l(D))},t.\u0275dir=I({type:t,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(i,o){i&2&&(Y("aria-disabled",!!o.disabled),z("mat-mdc-tab-disabled",o.disabled))},inputs:{disabled:[b.HasDecoratorInputTransform,"disabled","disabled",q]},standalone:!0,features:[ft,it]});let n=t;return n})(),_m=ve({passive:!0}),qg=650,Yg=100,Xg=(()=>{let t=class t{get selectedIndex(){return this._selectedIndex}set selectedIndex(e){let i=isNaN(e)?0:e;this._selectedIndex!=i&&(this._selectedIndexChanged=!0,this._selectedIndex=i,this._keyManager&&this._keyManager.updateActiveItem(i))}constructor(e,i,o,a,s,c,d){this._elementRef=e,this._changeDetectorRef=i,this._viewportRuler=o,this._dir=a,this._ngZone=s,this._platform=c,this._animationMode=d,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new E,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new E,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new V,this.indexFocused=new V,s.runOutsideAngular(()=>{Ht(e.nativeElement,"mouseleave").pipe(dt(this._destroyed)).subscribe(()=>{this._stopInterval()})})}ngAfterViewInit(){Ht(this._previousPaginator.nativeElement,"touchstart",_m).pipe(dt(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),Ht(this._nextPaginator.nativeElement,"touchstart",_m).pipe(dt(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){let e=this._dir?this._dir.change:O("ltr"),i=this._viewportRuler.change(150),o=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new Tr(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe(rt(1)).subscribe(o),St(e,i,this._items.changes,this._itemsResized()).pipe(dt(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),o()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(a=>{this.indexFocused.emit(a),this._setTabFocus(a)})}_itemsResized(){return typeof ResizeObserver!="function"?ce:this._items.changes.pipe(Ft(this._items),vt(e=>new Yt(i=>this._ngZone.runOutsideAngular(()=>{let o=new ResizeObserver(a=>i.next(a));return e.forEach(a=>o.observe(a.elementRef.nativeElement)),()=>{o.disconnect()}}))),Hi(1),tt(e=>e.some(i=>i.contentRect.width>0&&i.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(e){if(!Rt(e))switch(e.keyCode){case 13:case 32:if(this.focusIndex!==this.selectedIndex){let i=this._items.get(this.focusIndex);i&&!i.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(e))}break;default:this._keyManager.onKeydown(e)}}_onContentChanges(){let e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(e){!this._isValidIndex(e)||this.focusIndex===e||!this._keyManager||this._keyManager.setActiveItem(e)}_isValidIndex(e){return this._items?!!this._items.toArray()[e]:!0}_setTabFocus(e){if(this._showPaginationControls&&this._scrollToLabel(e),this._items&&this._items.length){this._items.toArray()[e].focus();let i=this._tabListContainer.nativeElement;this._getLayoutDirection()=="ltr"?i.scrollLeft=0:i.scrollLeft=i.scrollWidth-i.offsetWidth}}_getLayoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;let e=this.scrollDistance,i=this._getLayoutDirection()==="ltr"?-e:e;this._tabList.nativeElement.style.transform=`translateX(${Math.round(i)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(e){this._scrollTo(e)}_scrollHeader(e){let i=this._tabListContainer.nativeElement.offsetWidth,o=(e=="before"?-1:1)*i/3;return this._scrollTo(this._scrollDistance+o)}_handlePaginatorClick(e){this._stopInterval(),this._scrollHeader(e)}_scrollToLabel(e){if(this.disablePagination)return;let i=this._items?this._items.toArray()[e]:null;if(!i)return;let o=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:a,offsetWidth:s}=i.elementRef.nativeElement,c,d;this._getLayoutDirection()=="ltr"?(c=a,d=c+s):(d=this._tabListInner.nativeElement.offsetWidth-a,c=d-s);let m=this.scrollDistance,p=this.scrollDistance+o;cp&&(this.scrollDistance+=Math.min(d-p,c-m))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{let e=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;e||(this.scrollDistance=0),e!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=e}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=this.scrollDistance==0,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){let e=this._tabListInner.nativeElement.scrollWidth,i=this._tabListContainer.nativeElement.offsetWidth;return e-i||0}_alignInkBarToSelectedTab(){let e=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,i=e?e.elementRef.nativeElement:null;i?this._inkBar.alignToElement(i):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(e,i){i&&i.button!=null&&i.button!==0||(this._stopInterval(),id(qg,Yg).pipe(dt(St(this._stopScrolling,this._destroyed))).subscribe(()=>{let{maxScrollDistance:o,distance:a}=this._scrollHeader(e);(a===0||a>=o)&&this._stopInterval()}))}_scrollTo(e){if(this.disablePagination)return{maxScrollDistance:0,distance:0};let i=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(i,e)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:i,distance:this._scrollDistance}}};t.\u0275fac=function(i){return new(i||t)(l(D),l(pt),l(Ze),l(Lt,8),l(k),l(J),l(_t,8))},t.\u0275dir=I({type:t,inputs:{disablePagination:[b.HasDecoratorInputTransform,"disablePagination","disablePagination",q],selectedIndex:[b.HasDecoratorInputTransform,"selectedIndex","selectedIndex",ge]},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[ft]});let n=t;return n})(),Zg=(()=>{let t=class t extends Xg{constructor(e,i,o,a,s,c,d){super(e,i,o,a,s,c,d),this.disableRipple=!1}ngAfterContentInit(){this._inkBar=new bc(this._items),super.ngAfterContentInit()}_itemSelected(e){e.preventDefault()}};t.\u0275fac=function(i){return new(i||t)(l(D),l(pt),l(Ze),l(Lt,8),l(k),l(J),l(_t,8))},t.\u0275cmp=T({type:t,selectors:[["mat-tab-header"]],contentQueries:function(i,o,a){if(i&1&&Pt(a,xm,4),i&2){let s;U(s=H())&&(o._items=s)}},viewQuery:function(i,o){if(i&1&&(nt(Eg,7),nt(Dg,7),nt(Sg,7),nt(Tg,5),nt(Ag,5)),i&2){let a;U(a=H())&&(o._tabListContainer=a.first),U(a=H())&&(o._tabList=a.first),U(a=H())&&(o._tabListInner=a.first),U(a=H())&&(o._nextPaginator=a.first),U(a=H())&&(o._previousPaginator=a.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(i,o){i&2&&z("mat-mdc-tab-header-pagination-controls-enabled",o._showPaginationControls)("mat-mdc-tab-header-rtl",o._getLayoutDirection()=="rtl")},inputs:{disableRipple:[b.HasDecoratorInputTransform,"disableRipple","disableRipple",q]},standalone:!0,features:[ft,it,A],ngContentSelectors:_c,decls:13,vars:10,consts:[["previousPaginator",""],["tabListContainer",""],["tabList",""],["tabListInner",""],["nextPaginator",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"click","mousedown","touchend","matRippleDisabled","disabled"],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],[1,"mat-mdc-tab-labels"],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"mousedown","click","touchend","matRippleDisabled","disabled"]],template:function(i,o){if(i&1){let a=mt();wt(),h(0,"button",5,0),S("click",function(){return $(a),W(o._handlePaginatorClick("before"))})("mousedown",function(c){return $(a),W(o._handlePaginatorPress("before",c))})("touchend",function(){return $(a),W(o._stopInterval())}),M(2,"div",6),f(),h(3,"div",7,1),S("keydown",function(c){return $(a),W(o._handleKeydown(c))}),h(5,"div",8,2),S("cdkObserveContent",function(){return $(a),W(o._onContentChanges())}),h(7,"div",9,3),at(9),f()()(),h(10,"button",10,4),S("mousedown",function(c){return $(a),W(o._handlePaginatorPress("after",c))})("click",function(){return $(a),W(o._handlePaginatorClick("after"))})("touchend",function(){return $(a),W(o._stopInterval())}),M(12,"div",6),f()}i&2&&(z("mat-mdc-tab-header-pagination-disabled",o._disableScrollBefore),L("matRippleDisabled",o._disableScrollBefore||o.disableRipple)("disabled",o._disableScrollBefore||null),v(3),z("_mat-animation-noopable",o._animationMode==="NoopAnimations"),v(7),z("mat-mdc-tab-header-pagination-disabled",o._disableScrollAfter),L("matRippleDisabled",o._disableScrollAfter||o.disableRipple)("disabled",o._disableScrollAfter||null))},dependencies:[Be,Vl],styles:[".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-header-pagination-icon-color)}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1;border-bottom-style:solid;border-bottom-width:var(--mat-tab-header-divider-height);border-bottom-color:var(--mat-tab-header-divider-color)}.mat-mdc-tab-group-inverted-header .mat-mdc-tab-label-container{border-bottom:none;border-top-style:solid;border-top-width:var(--mat-tab-header-divider-height);border-top-color:var(--mat-tab-header-divider-color)}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.mat-mdc-tab::before{margin:5px}.cdk-high-contrast-active .mat-mdc-tab[aria-disabled=true]{color:GrayText}"],encapsulation:2});let n=t;return n})(),Qg=new y("MAT_TABS_CONFIG"),Kg={translateTab:Le("translateTab",[Zt("center, void, left-origin-center, right-origin-center",Et({transform:"none"})),Zt("left",Et({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),Zt("right",Et({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),Gt("* => left, * => right, left => center, right => center",Bt("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),Gt("void => left-origin-center",[Et({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),Bt("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),Gt("void => right-origin-center",[Et({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),Bt("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])},Jg=(()=>{let t=class t extends Kt{constructor(e,i,o,a){super(e,i,a),this._host=o,this._centeringSub=It.EMPTY,this._leavingSub=It.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(Ft(this._host._isCenterPosition(this._host._position))).subscribe(e=>{e&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}};t.\u0275fac=function(i){return new(i||t)(l(qi),l($t),l(Tt(()=>wm)),l(j))},t.\u0275dir=I({type:t,selectors:[["","matTabBodyHost",""]],standalone:!0,features:[it]});let n=t;return n})(),wm=(()=>{let t=class t{set position(e){this._positionIndex=e,this._computePositionAnimationState()}constructor(e,i,o){this._elementRef=e,this._dir=i,this._dirChangeSubscription=It.EMPTY,this._translateTabComplete=new E,this._onCentering=new V,this._beforeCentering=new V,this._afterLeavingCenter=new V,this._onCentered=new V(!0),this.animationDuration="500ms",this.preserveContent=!1,i&&(this._dirChangeSubscription=i.change.subscribe(a=>{this._computePositionAnimationState(a),o.markForCheck()})),this._translateTabComplete.pipe(An((a,s)=>a.fromState===s.fromState&&a.toState===s.toState)).subscribe(a=>{this._isCenterPosition(a.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(a.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}ngOnInit(){this._position=="center"&&this.origin!=null&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(e){let i=this._isCenterPosition(e.toState);this._beforeCentering.emit(i),i&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_isCenterPosition(e){return e=="center"||e=="left-origin-center"||e=="right-origin-center"}_computePositionAnimationState(e=this._getLayoutDirection()){this._positionIndex<0?this._position=e=="ltr"?"left":"right":this._positionIndex>0?this._position=e=="ltr"?"right":"left":this._position="center"}_computePositionFromOrigin(e){let i=this._getLayoutDirection();return i=="ltr"&&e<=0||i=="rtl"&&e>0?"left-origin-center":"right-origin-center"}};t.\u0275fac=function(i){return new(i||t)(l(D),l(Lt,8),l(pt))},t.\u0275cmp=T({type:t,selectors:[["mat-tab-body"]],viewQuery:function(i,o){if(i&1&&nt(Kt,5),i&2){let a;U(a=H())&&(o._portalHost=a.first)}},hostAttrs:[1,"mat-mdc-tab-body"],inputs:{_content:[b.None,"content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"},standalone:!0,features:[A],decls:3,vars:6,consts:[["content",""],["cdkScrollable","",1,"mat-mdc-tab-body-content"],["matTabBodyHost",""]],template:function(i,o){if(i&1){let a=mt();h(0,"div",1,0),S("@translateTab.start",function(c){return $(a),W(o._onTranslateTabStarted(c))})("@translateTab.done",function(c){return $(a),W(o._translateTabComplete.next(c))}),B(2,Og,0,0,"ng-template",2),f()}i&2&&L("@translateTab",Ed(3,Rg,o._position,Yi(1,Mg,o.animationDuration)))},dependencies:[Jg,uc],styles:['.mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-mdc-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[Kg.translateTab]}});let n=t;return n})(),t_=0,e_=!0,Cm=(()=>{let t=class t{get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(e){this._fitInkBarToContent=e,this._changeDetectorRef.markForCheck()}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){this._indexToSelect=isNaN(e)?null:e}get animationDuration(){return this._animationDuration}set animationDuration(e){let i=e+"";this._animationDuration=/^\d+$/.test(i)?e+"ms":i}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(e){this._contentTabIndex=isNaN(e)?null:e}get backgroundColor(){return this._backgroundColor}set backgroundColor(e){if(!e_)throw new Error("mat-tab-group background color must be set through the Sass theming API");let i=this._elementRef.nativeElement.classList;i.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),e&&i.add("mat-tabs-with-background",`mat-background-${e}`),this._backgroundColor=e}constructor(e,i,o,a){this._elementRef=e,this._changeDetectorRef=i,this._animationMode=a,this._tabs=new Rn,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=It.EMPTY,this._tabLabelSubscription=It.EMPTY,this._fitInkBarToContent=!1,this.stretchTabs=!0,this.dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this.disablePagination=!1,this.disableRipple=!1,this.preserveContent=!1,this.selectedIndexChange=new V,this.focusChange=new V,this.animationDone=new V,this.selectedTabChange=new V(!0),this._isServer=!_(J).isBrowser,this._groupId=t_++,this.animationDuration=o&&o.animationDuration?o.animationDuration:"500ms",this.disablePagination=o&&o.disablePagination!=null?o.disablePagination:!1,this.dynamicHeight=o&&o.dynamicHeight!=null?o.dynamicHeight:!1,o?.contentTabIndex!=null&&(this.contentTabIndex=o.contentTabIndex),this.preserveContent=!!o?.preserveContent,this.fitInkBarToContent=o&&o.fitInkBarToContent!=null?o.fitInkBarToContent:!1,this.stretchTabs=o&&o.stretchTabs!=null?o.stretchTabs:!0}ngAfterContentChecked(){let e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){let i=this._selectedIndex==null;if(!i){this.selectedTabChange.emit(this._createChangeEvent(e));let o=this._tabBodyWrapper.nativeElement;o.style.minHeight=o.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((o,a)=>o.isActive=a===e),i||(this.selectedIndexChange.emit(e),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((i,o)=>{i.position=o-e,this._selectedIndex!=null&&i.position==0&&!i.origin&&(i.origin=e-this._selectedIndex)}),this._selectedIndex!==e&&(this._selectedIndex=e,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{let e=this._clampTabIndex(this._indexToSelect);if(e===this._selectedIndex){let i=this._tabs.toArray(),o;for(let a=0;a{i[e].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(e))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe(Ft(this._allTabs)).subscribe(e=>{this._tabs.reset(e.filter(i=>i._closestTabGroup===this||!i._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(e){let i=this._tabHeader;i&&(i.focusIndex=e)}_focusChanged(e){this._lastFocusedTabIndex=e,this.focusChange.emit(this._createChangeEvent(e))}_createChangeEvent(e){let i=new gc;return i.index=e,this._tabs&&this._tabs.length&&(i.tab=this._tabs.toArray()[e]),i}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=St(...this._tabs.map(e=>e._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(e){return Math.min(this._tabs.length-1,Math.max(e||0,0))}_getTabLabelId(e){return`mat-tab-label-${this._groupId}-${e}`}_getTabContentId(e){return`mat-tab-content-${this._groupId}-${e}`}_setTabBodyWrapperHeight(e){if(!this.dynamicHeight||!this._tabBodyWrapperHeight)return;let i=this._tabBodyWrapper.nativeElement;i.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(i.style.height=e+"px")}_removeTabBodyWrapperHeight(){let e=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=e.clientHeight,e.style.height="",this.animationDone.emit()}_handleClick(e,i,o){i.focusIndex=o,e.disabled||(this.selectedIndex=o)}_getTabIndex(e){let i=this._lastFocusedTabIndex??this.selectedIndex;return e===i?0:-1}_tabFocusChanged(e,i){e&&e!=="mouse"&&e!=="touch"&&(this._tabHeader.focusIndex=i)}};t.\u0275fac=function(i){return new(i||t)(l(D),l(pt),l(Qg,8),l(_t,8))},t.\u0275cmp=T({type:t,selectors:[["mat-tab-group"]],contentQueries:function(i,o,a){if(i&1&&Pt(a,vc,5),i&2){let s;U(s=H())&&(o._allTabs=s)}},viewQuery:function(i,o){if(i&1&&(nt(Fg,5),nt(Pg,5)),i&2){let a;U(a=H())&&(o._tabBodyWrapper=a.first),U(a=H())&&(o._tabHeader=a.first)}},hostAttrs:[1,"mat-mdc-tab-group"],hostVars:10,hostBindings:function(i,o){i&2&&(Mt("mat-"+(o.color||"primary")),si("--mat-tab-animation-duration",o.animationDuration),z("mat-mdc-tab-group-dynamic-height",o.dynamicHeight)("mat-mdc-tab-group-inverted-header",o.headerPosition==="below")("mat-mdc-tab-group-stretch-tabs",o.stretchTabs))},inputs:{color:"color",fitInkBarToContent:[b.HasDecoratorInputTransform,"fitInkBarToContent","fitInkBarToContent",q],stretchTabs:[b.HasDecoratorInputTransform,"mat-stretch-tabs","stretchTabs",q],dynamicHeight:[b.HasDecoratorInputTransform,"dynamicHeight","dynamicHeight",q],selectedIndex:[b.HasDecoratorInputTransform,"selectedIndex","selectedIndex",ge],headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:[b.HasDecoratorInputTransform,"contentTabIndex","contentTabIndex",ge],disablePagination:[b.HasDecoratorInputTransform,"disablePagination","disablePagination",q],disableRipple:[b.HasDecoratorInputTransform,"disableRipple","disableRipple",q],preserveContent:[b.HasDecoratorInputTransform,"preserveContent","preserveContent",q],backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},exportAs:["matTabGroup"],standalone:!0,features:[st([{provide:ym,useExisting:t}]),ft,A],ngContentSelectors:_c,decls:9,vars:6,consts:[["tabHeader",""],["tabBodyWrapper",""],["tabNode",""],[3,"indexFocused","selectFocusedIndex","selectedIndex","disableRipple","disablePagination"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"id","mdc-tab--active","class","disabled","fitInkBarToContent"],[1,"mat-mdc-tab-body-wrapper"],["role","tabpanel",3,"id","mat-mdc-tab-body-active","class","content","position","origin","animationDuration","preserveContent"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"click","cdkFocusChange","id","disabled","fitInkBarToContent"],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"cdkPortalOutlet"],["role","tabpanel",3,"_onCentered","_onCentering","id","content","position","origin","animationDuration","preserveContent"]],template:function(i,o){if(i&1){let a=mt();wt(),h(0,"mat-tab-header",3,0),S("indexFocused",function(c){return $(a),W(o._focusChanged(c))})("selectFocusedIndex",function(c){return $(a),W(o.selectedIndex=c)}),he(2,Vg,8,17,"div",4,Ii),f(),B(4,Bg,1,0),h(5,"div",5,1),he(7,zg,1,13,"mat-tab-body",6,Ii),f()}i&2&&(L("selectedIndex",o.selectedIndex||0)("disableRipple",o.disableRipple)("disablePagination",o.disablePagination),v(2),fe(o._tabs),v(2),Q(4,o._isServer?4:-1),v(),z("_mat-animation-noopable",o._animationMode==="NoopAnimations"),v(2),fe(o._tabs))},dependencies:[Zg,xm,Jl,Be,Kt,wm],styles:['.mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab[hidden]{display:none}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;font-family:var(--mat-tab-header-label-text-font);font-size:var(--mat-tab-header-label-text-size);letter-spacing:var(--mat-tab-header-label-text-tracking);line-height:var(--mat-tab-header-label-text-line-height);font-weight:var(--mat-tab-header-label-text-weight)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-top-width:var(--mdc-tab-indicator-active-indicator-height)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab:not(.mdc-tab--stacked){height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab:not(:disabled).mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab.mdc-tab{flex-grow:0}.mat-mdc-tab:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color)}.mat-mdc-tab:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color)}.mat-mdc-tab.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color);display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-focus-indicator::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}'],encapsulation:2});let n=t;return n})(),gc=class{};var km=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({imports:[K,K]});let n=t;return n})();var Im=xr(),yc=class{constructor(t,r){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=r}attach(){}enable(){if(this._canBeEnabled()){let t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=Dt(-this._previousScrollPosition.left),t.style.top=Dt(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let t=this._document.documentElement,r=this._document.body,e=t.style,i=r.style,o=e.scrollBehavior||"",a=i.scrollBehavior||"";this._isEnabled=!1,e.left=this._previousHTMLStyles.left,e.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),Im&&(e.scrollBehavior=i.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Im&&(e.scrollBehavior=o,i.scrollBehavior=a)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let r=this._document.body,e=this._viewportRuler.getViewportSize();return r.scrollHeight>e.height||r.scrollWidth>e.width}};var xc=class{constructor(t,r,e,i){this._scrollDispatcher=t,this._ngZone=r,this._viewportRuler=e,this._config=i,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(t){this._overlayRef,this._overlayRef=t}enable(){if(this._scrollSubscription)return;let t=this._scrollDispatcher.scrolled(0).pipe(tt(r=>!r||!this._overlayRef.overlayElement.contains(r.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{let r=this._viewportRuler.getViewportScrollPosition().top;Math.abs(r-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},jr=class{enable(){}disable(){}attach(){}};function wc(n,t){return t.some(r=>{let e=n.bottomr.bottom,o=n.rightr.right;return e||i||o||a})}function Em(n,t){return t.some(r=>{let e=n.topr.bottom,o=n.leftr.right;return e||i||o||a})}var Cc=class{constructor(t,r,e,i){this._scrollDispatcher=t,this._viewportRuler=r,this._ngZone=e,this._config=i,this._scrollSubscription=null}attach(t){this._overlayRef,this._overlayRef=t}enable(){if(!this._scrollSubscription){let t=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(t).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let r=this._overlayRef.overlayElement.getBoundingClientRect(),{width:e,height:i}=this._viewportRuler.getViewportSize();wc(r,[{width:e,height:i,bottom:i,right:e,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}})}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},n_=(()=>{let t=class t{constructor(e,i,o,a){this._scrollDispatcher=e,this._viewportRuler=i,this._ngZone=o,this.noop=()=>new jr,this.close=s=>new xc(this._scrollDispatcher,this._ngZone,this._viewportRuler,s),this.block=()=>new yc(this._viewportRuler,this._document),this.reposition=s=>new Cc(this._scrollDispatcher,this._viewportRuler,this._ngZone,s),this._document=a}};t.\u0275fac=function(i){return new(i||t)(u(_n),u(Ze),u(k),u(j))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),Qe=class{constructor(t){if(this.scrollStrategy=new jr,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){let r=Object.keys(t);for(let e of r)t[e]!==void 0&&(this[e]=t[e])}}};var kc=class{constructor(t,r){this.connectionPair=t,this.scrollableViewProperties=r}};var Mm=(()=>{let t=class t{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){let i=this._attachedOverlays.indexOf(e);i>-1&&this._attachedOverlays.splice(i,1),this._attachedOverlays.length===0&&this.detach()}};t.\u0275fac=function(i){return new(i||t)(u(j))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),o_=(()=>{let t=class t extends Mm{constructor(e,i){super(e),this._ngZone=i,this._keydownListener=o=>{let a=this._attachedOverlays;for(let s=a.length-1;s>-1;s--)if(a[s]._keydownEvents.observers.length>0){let c=a[s]._keydownEvents;this._ngZone?this._ngZone.run(()=>c.next(o)):c.next(o);break}}}add(e){super.add(e),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}};t.\u0275fac=function(i){return new(i||t)(u(j),u(k,8))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),r_=(()=>{let t=class t extends Mm{constructor(e,i,o){super(e),this._platform=i,this._ngZone=o,this._cursorStyleIsSet=!1,this._pointerDownListener=a=>{this._pointerDownEventTarget=ne(a)},this._clickListener=a=>{let s=ne(a),c=a.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:s;this._pointerDownEventTarget=null;let d=this._attachedOverlays.slice();for(let m=d.length-1;m>-1;m--){let p=d[m];if(p._outsidePointerEvents.observers.length<1||!p.hasAttached())continue;if(p.overlayElement.contains(s)||p.overlayElement.contains(c))break;let w=p._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>w.next(a)):w.next(a)}}}add(e){if(super.add(e),!this._isAttached){let i=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(i)):this._addEventListeners(i),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){let e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(e){e.addEventListener("pointerdown",this._pointerDownListener,!0),e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0)}};t.\u0275fac=function(i){return new(i||t)(u(j),u(J),u(k,8))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),vn=(()=>{let t=class t{constructor(e,i){this._platform=i,this._document=e}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let e="cdk-overlay-container";if(this._platform.isBrowser||mo()){let o=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let a=0;athis._backdropClick.next(p),this._backdropTransitionendHandler=p=>{this._disposeBackdrop(p.target)},this._keydownEvents=new E,this._outsidePointerEvents=new E,i.scrollStrategy&&(this._scrollStrategy=i.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=i.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let r=this._portalOutlet.attach(t);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(rt(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof r?.onDestroy=="function"&&r.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),r}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){let t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,t&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config=g(g({},this._config),t),this._updateElementSize()}setDirection(t){this._config=ht(g({},this._config),{direction:t}),this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){let t=this._config.direction;return t?typeof t=="string"?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let t=this._pane.style;t.width=Dt(this._config.width),t.height=Dt(this._config.height),t.minWidth=Dt(this._config.minWidth),t.minHeight=Dt(this._config.minHeight),t.maxWidth=Dt(this._config.maxWidth),t.maxHeight=Dt(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){let t="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(t)})}):this._backdropElement.classList.add(t)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let t=this._backdropElement;if(t){if(this._animationsDisabled){this._disposeBackdrop(t);return}t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{t.addEventListener("transitionend",this._backdropTransitionendHandler)}),t.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(t)},500))}}_toggleClasses(t,r,e){let i=un(r||[]).filter(o=>!!o);i.length&&(e?t.classList.add(...i):t.classList.remove(...i))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{let t=this._ngZone.onStable.pipe(dt(St(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),t.unsubscribe())})})}_disposeScrollStrategy(){let t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}_disposeBackdrop(t){t&&(t.removeEventListener("click",this._backdropClickHandler),t.removeEventListener("transitionend",this._backdropTransitionendHandler),t.remove(),this._backdropElement===t&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}},Dm="cdk-overlay-connected-position-bounding-box",a_=/([A-Za-z%]+)$/,Ic=class{get positions(){return this._preferredPositions}constructor(t,r,e,i,o){this._viewportRuler=r,this._document=e,this._platform=i,this._overlayContainer=o,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new E,this._resizeSubscription=It.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}attach(t){this._overlayRef&&this._overlayRef,this._validatePositions(),t.hostElement.classList.add(Dm),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let t=this._originRect,r=this._overlayRect,e=this._viewportRect,i=this._containerRect,o=[],a;for(let s of this._preferredPositions){let c=this._getOriginPoint(t,i,s),d=this._getOverlayPoint(c,r,s),m=this._getOverlayFit(d,r,e,s);if(m.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(s,c);return}if(this._canFitWithFlexibleDimensions(m,d,e)){o.push({position:s,origin:c,overlayRect:r,boundingBoxRect:this._calculateBoundingBoxRect(c,s)});continue}(!a||a.overlayFit.visibleAreac&&(c=m,s=d)}this._isPushed=!1,this._applyPosition(s.position,s.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(a.position,a.originPoint);return}this._applyPosition(a.position,a.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Li(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Dm),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let t=this._lastPosition;if(t){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let r=this._getOriginPoint(this._originRect,this._containerRect,t);this._applyPosition(t,r)}else this.apply()}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,t.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,r,e){let i;if(e.originX=="center")i=t.left+t.width/2;else{let a=this._isRtl()?t.right:t.left,s=this._isRtl()?t.left:t.right;i=e.originX=="start"?a:s}r.left<0&&(i-=r.left);let o;return e.originY=="center"?o=t.top+t.height/2:o=e.originY=="top"?t.top:t.bottom,r.top<0&&(o-=r.top),{x:i,y:o}}_getOverlayPoint(t,r,e){let i;e.overlayX=="center"?i=-r.width/2:e.overlayX==="start"?i=this._isRtl()?-r.width:0:i=this._isRtl()?0:-r.width;let o;return e.overlayY=="center"?o=-r.height/2:o=e.overlayY=="top"?0:-r.height,{x:t.x+i,y:t.y+o}}_getOverlayFit(t,r,e,i){let o=Tm(r),{x:a,y:s}=t,c=this._getOffset(i,"x"),d=this._getOffset(i,"y");c&&(a+=c),d&&(s+=d);let m=0-a,p=a+o.width-e.width,w=0-s,R=s+o.height-e.height,Z=this._subtractOverflows(o.width,m,p),ct=this._subtractOverflows(o.height,w,R),ot=Z*ct;return{visibleArea:ot,isCompletelyWithinViewport:o.width*o.height===ot,fitsInViewportVertically:ct===o.height,fitsInViewportHorizontally:Z==o.width}}_canFitWithFlexibleDimensions(t,r,e){if(this._hasFlexibleDimensions){let i=e.bottom-r.y,o=e.right-r.x,a=Sm(this._overlayRef.getConfig().minHeight),s=Sm(this._overlayRef.getConfig().minWidth),c=t.fitsInViewportVertically||a!=null&&a<=i,d=t.fitsInViewportHorizontally||s!=null&&s<=o;return c&&d}return!1}_pushOverlayOnScreen(t,r,e){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};let i=Tm(r),o=this._viewportRect,a=Math.max(t.x+i.width-o.width,0),s=Math.max(t.y+i.height-o.height,0),c=Math.max(o.top-e.top-t.y,0),d=Math.max(o.left-e.left-t.x,0),m=0,p=0;return i.width<=o.width?m=d||-a:m=t.xZ&&!this._isInitialRender&&!this._growAfterOpen&&(a=t.y-Z/2)}let c=r.overlayX==="start"&&!i||r.overlayX==="end"&&i,d=r.overlayX==="end"&&!i||r.overlayX==="start"&&i,m,p,w;if(d)w=e.width-t.x+this._viewportMargin*2,m=t.x-this._viewportMargin;else if(c)p=t.x,m=e.right-t.x;else{let R=Math.min(e.right-t.x+e.left,t.x),Z=this._lastBoundingBoxSize.width;m=R*2,p=t.x-R,m>Z&&!this._isInitialRender&&!this._growAfterOpen&&(p=t.x-Z/2)}return{top:a,left:p,bottom:s,right:w,width:m,height:o}}_setBoundingBoxStyles(t,r){let e=this._calculateBoundingBoxRect(t,r);!this._isInitialRender&&!this._growAfterOpen&&(e.height=Math.min(e.height,this._lastBoundingBoxSize.height),e.width=Math.min(e.width,this._lastBoundingBoxSize.width));let i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{let o=this._overlayRef.getConfig().maxHeight,a=this._overlayRef.getConfig().maxWidth;i.height=Dt(e.height),i.top=Dt(e.top),i.bottom=Dt(e.bottom),i.width=Dt(e.width),i.left=Dt(e.left),i.right=Dt(e.right),r.overlayX==="center"?i.alignItems="center":i.alignItems=r.overlayX==="end"?"flex-end":"flex-start",r.overlayY==="center"?i.justifyContent="center":i.justifyContent=r.overlayY==="bottom"?"flex-end":"flex-start",o&&(i.maxHeight=Dt(o)),a&&(i.maxWidth=Dt(a))}this._lastBoundingBoxSize=e,Li(this._boundingBox.style,i)}_resetBoundingBoxStyles(){Li(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Li(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,r){let e={},i=this._hasExactPosition(),o=this._hasFlexibleDimensions,a=this._overlayRef.getConfig();if(i){let m=this._viewportRuler.getViewportScrollPosition();Li(e,this._getExactOverlayY(r,t,m)),Li(e,this._getExactOverlayX(r,t,m))}else e.position="static";let s="",c=this._getOffset(r,"x"),d=this._getOffset(r,"y");c&&(s+=`translateX(${c}px) `),d&&(s+=`translateY(${d}px)`),e.transform=s.trim(),a.maxHeight&&(i?e.maxHeight=Dt(a.maxHeight):o&&(e.maxHeight="")),a.maxWidth&&(i?e.maxWidth=Dt(a.maxWidth):o&&(e.maxWidth="")),Li(this._pane.style,e)}_getExactOverlayY(t,r,e){let i={top:"",bottom:""},o=this._getOverlayPoint(r,this._overlayRect,t);if(this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,e)),t.overlayY==="bottom"){let a=this._document.documentElement.clientHeight;i.bottom=`${a-(o.y+this._overlayRect.height)}px`}else i.top=Dt(o.y);return i}_getExactOverlayX(t,r,e){let i={left:"",right:""},o=this._getOverlayPoint(r,this._overlayRect,t);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,e));let a;if(this._isRtl()?a=t.overlayX==="end"?"left":"right":a=t.overlayX==="end"?"right":"left",a==="right"){let s=this._document.documentElement.clientWidth;i.right=`${s-(o.x+this._overlayRect.width)}px`}else i.left=Dt(o.x);return i}_getScrollVisibility(){let t=this._getOriginRect(),r=this._pane.getBoundingClientRect(),e=this._scrollables.map(i=>i.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Em(t,e),isOriginOutsideView:wc(t,e),isOverlayClipped:Em(r,e),isOverlayOutsideView:wc(r,e)}}_subtractOverflows(t,...r){return r.reduce((e,i)=>e-Math.max(i,0),t)}_getNarrowedViewportRect(){let t=this._document.documentElement.clientWidth,r=this._document.documentElement.clientHeight,e=this._viewportRuler.getViewportScrollPosition();return{top:e.top+this._viewportMargin,left:e.left+this._viewportMargin,right:e.left+t-this._viewportMargin,bottom:e.top+r-this._viewportMargin,width:t-2*this._viewportMargin,height:r-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,r){return r==="x"?t.offsetX==null?this._offsetX:t.offsetX:t.offsetY==null?this._offsetY:t.offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&un(t).forEach(r=>{r!==""&&this._appliedPanelClasses.indexOf(r)===-1&&(this._appliedPanelClasses.push(r),this._pane.classList.add(r))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){let t=this._origin;if(t instanceof D)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();let r=t.width||0,e=t.height||0;return{top:t.y,bottom:t.y+e,left:t.x,right:t.x+r,height:e,width:r}}};function Li(n,t){for(let r in t)t.hasOwnProperty(r)&&(n[r]=t[r]);return n}function Sm(n){if(typeof n!="number"&&n!=null){let[t,r]=n.split(a_);return!r||r==="px"?parseFloat(t):null}return n||null}function Tm(n){return{top:Math.floor(n.top),right:Math.floor(n.right),bottom:Math.floor(n.bottom),left:Math.floor(n.left),width:Math.floor(n.width),height:Math.floor(n.height)}}function s_(n,t){return n===t?!0:n.isOriginClipped===t.isOriginClipped&&n.isOriginOutsideView===t.isOriginOutsideView&&n.isOverlayClipped===t.isOverlayClipped&&n.isOverlayOutsideView===t.isOverlayOutsideView}var Am="cdk-global-overlay-wrapper",Ec=class{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(t){let r=t.getConfig();this._overlayRef=t,this._width&&!r.width&&t.updateSize({width:this._width}),this._height&&!r.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(Am),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._xOffset=t,this._xPosition="left",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._xOffset=t,this._xPosition="right",this}start(t=""){return this._xOffset=t,this._xPosition="start",this}end(t=""){return this._xOffset=t,this._xPosition="end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._xPosition="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let t=this._overlayRef.overlayElement.style,r=this._overlayRef.hostElement.style,e=this._overlayRef.getConfig(),{width:i,height:o,maxWidth:a,maxHeight:s}=e,c=(i==="100%"||i==="100vw")&&(!a||a==="100%"||a==="100vw"),d=(o==="100%"||o==="100vh")&&(!s||s==="100%"||s==="100vh"),m=this._xPosition,p=this._xOffset,w=this._overlayRef.getConfig().direction==="rtl",R="",Z="",ct="";c?ct="flex-start":m==="center"?(ct="center",w?Z=p:R=p):w?m==="left"||m==="end"?(ct="flex-end",R=p):(m==="right"||m==="start")&&(ct="flex-start",Z=p):m==="left"||m==="start"?(ct="flex-start",R=p):(m==="right"||m==="end")&&(ct="flex-end",Z=p),t.position=this._cssPosition,t.marginLeft=c?"0":R,t.marginTop=d?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=c?"0":Z,r.justifyContent=ct,r.alignItems=d?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let t=this._overlayRef.overlayElement.style,r=this._overlayRef.hostElement,e=r.style;r.classList.remove(Am),e.justifyContent=e.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}},c_=(()=>{let t=class t{constructor(e,i,o,a){this._viewportRuler=e,this._document=i,this._platform=o,this._overlayContainer=a}global(){return new Ec}flexibleConnectedTo(e){return new Ic(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}};t.\u0275fac=function(i){return new(i||t)(u(Ze),u(j),u(J),u(vn))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),d_=0,yt=(()=>{let t=class t{constructor(e,i,o,a,s,c,d,m,p,w,R,Z){this.scrollStrategies=e,this._overlayContainer=i,this._componentFactoryResolver=o,this._positionBuilder=a,this._keyboardDispatcher=s,this._injector=c,this._ngZone=d,this._document=m,this._directionality=p,this._location=w,this._outsideClickDispatcher=R,this._animationsModuleType=Z}create(e){let i=this._createHostElement(),o=this._createPaneElement(i),a=this._createPortalOutlet(o),s=new Qe(e);return s.direction=s.direction||this._directionality.value,new Oe(a,i,o,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations")}position(){return this._positionBuilder}_createPaneElement(e){let i=this._document.createElement("div");return i.id=`cdk-overlay-${d_++}`,i.classList.add("cdk-overlay-pane"),e.appendChild(i),i}_createHostElement(){let e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(ci)),new Lr(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}};t.\u0275fac=function(i){return new(i||t)(u(n_),u(vn),u(qi),u(c_),u(o_),u(xt),u(k),u(j),u(Lt),u(di),u(r_),u(_t,8))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();var l_=new y("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let n=_(yt);return()=>n.scrollStrategies.reposition()}});function m_(n){return()=>n.scrollStrategies.reposition()}var u_={provide:l_,deps:[yt],useFactory:m_},ze=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({providers:[yt,u_],imports:[pi,Re,hc,hc]});let n=t;return n})();function h_(n,t){}var Ke=class{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0,this.closeOnOverlayDetachments=!0}};var _o=(()=>{let t=class t extends bi{constructor(e,i,o,a,s,c,d,m){super(),this._elementRef=e,this._focusTrapFactory=i,this._config=a,this._interactivityChecker=s,this._ngZone=c,this._overlayRef=d,this._focusMonitor=m,this._platform=_(J),this._focusTrap=null,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this._ariaLabelledByQueue=[],this._changeDetectorRef=_(pt),this.attachDomPortal=p=>{this._portalOutlet.hasAttached();let w=this._portalOutlet.attachDomPortal(p);return this._contentAttached(),w},this._document=o,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(e){this._ariaLabelledByQueue.push(e),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(e){let i=this._ariaLabelledByQueue.indexOf(e);i>-1&&(this._ariaLabelledByQueue.splice(i,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(e){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachComponentPortal(e);return this._contentAttached(),i}attachTemplatePortal(e){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachTemplatePortal(e);return this._contentAttached(),i}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,i){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let o=()=>{e.removeEventListener("blur",o),e.removeEventListener("mousedown",o),e.removeAttribute("tabindex")};e.addEventListener("blur",o),e.addEventListener("mousedown",o)})),e.focus(i)}_focusByCssSelector(e,i){let o=this._elementRef.nativeElement.querySelector(e);o&&this._forceFocus(o,i)}_trapFocus(){let e=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||e.focus();break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElementWhenReady().then(i=>{i||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus);break}}_restoreFocus(){let e=this._config.restoreFocus,i=null;if(typeof e=="string"?i=this._document.querySelector(e):typeof e=="boolean"?i=e?this._elementFocusedBeforeDialogWasOpened:null:e&&(i=e),this._config.restoreFocus&&i&&typeof i.focus=="function"){let o=lo(),a=this._elementRef.nativeElement;(!o||o===this._document.body||o===a||a.contains(o))&&(this._focusMonitor?(this._focusMonitor.focusVia(i,this._closeInteractionType),this._closeInteractionType=null):i.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){let e=this._elementRef.nativeElement,i=lo();return e===i||e.contains(i)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=lo()))}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}};t.\u0275fac=function(i){return new(i||t)(l(D),l(pn),l(j,8),l(Ke),l(Pi),l(k),l(Oe),l(ae))},t.\u0275cmp=T({type:t,selectors:[["cdk-dialog-container"]],viewQuery:function(i,o){if(i&1&&nt(Kt,7),i&2){let a;U(a=H())&&(o._portalOutlet=a.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(i,o){i&2&&Y("id",o._config.id||null)("role",o._config.role)("aria-modal",o._config.ariaModal)("aria-labelledby",o._config.ariaLabel?null:o._ariaLabelledByQueue[0])("aria-label",o._config.ariaLabel)("aria-describedby",o._config.ariaDescribedBy||null)},standalone:!0,features:[it,A],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(i,o){i&1&&B(0,h_,0,0,"ng-template",0)},dependencies:[Kt],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2});let n=t;return n})(),go=class{constructor(t,r){this.overlayRef=t,this.config=r,this.closed=new E,this.disableClose=r.disableClose,this.backdropClick=t.backdropClick(),this.keydownEvents=t.keydownEvents(),this.outsidePointerEvents=t.outsidePointerEvents(),this.id=r.id,this.keydownEvents.subscribe(e=>{e.keyCode===27&&!this.disableClose&&!Rt(e)&&(e.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=t.detachments().subscribe(()=>{r.closeOnOverlayDetachments!==!1&&this.close()})}close(t,r){if(this.containerInstance){let e=this.closed;this.containerInstance._closeInteractionType=r?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),e.next(t),e.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(t="",r=""){return this.overlayRef.updateSize({width:t,height:r}),this}addPanelClass(t){return this.overlayRef.addPanelClass(t),this}removePanelClass(t){return this.overlayRef.removePanelClass(t),this}},f_=new y("DialogScrollStrategy",{providedIn:"root",factory:()=>{let n=_(yt);return()=>n.scrollStrategies.block()}}),p_=new y("DialogData"),b_=new y("DefaultDialogConfig");var g_=0,vo=(()=>{let t=class t{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(e,i,o,a,s,c){this._overlay=e,this._injector=i,this._defaultOptions=o,this._parentDialog=a,this._overlayContainer=s,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new E,this._afterOpenedAtThisLevel=new E,this._ariaHiddenElements=new Map,this.afterAllClosed=le(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Ft(void 0))),this._scrollStrategy=c}open(e,i){let o=this._defaultOptions||new Ke;i=g(g({},o),i),i.id=i.id||`cdk-dialog-${g_++}`,i.id&&this.getDialogById(i.id);let a=this._getOverlayConfig(i),s=this._overlay.create(a),c=new go(s,i),d=this._attachContainer(s,c,i);return c.containerInstance=d,this._attachDialogContent(e,c,d,i),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(c),c.closed.subscribe(()=>this._removeOpenDialog(c,!0)),this.afterOpened.next(c),c}closeAll(){Dc(this.openDialogs,e=>e.close())}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){Dc(this._openDialogsAtThisLevel,e=>{e.config.closeOnDestroy===!1&&this._removeOpenDialog(e,!1)}),Dc(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(e){let i=new Qe({positionStrategy:e.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,width:e.width,height:e.height,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(i.backdropClass=e.backdropClass),i}_attachContainer(e,i,o){let a=o.injector||o.viewContainerRef?.injector,s=[{provide:Ke,useValue:o},{provide:go,useValue:i},{provide:Oe,useValue:e}],c;o.container?typeof o.container=="function"?c=o.container:(c=o.container.type,s.push(...o.container.providers(o))):c=_o;let d=new Me(c,o.viewContainerRef,xt.create({parent:a||this._injector,providers:s}),o.componentFactoryResolver);return e.attach(d).instance}_attachDialogContent(e,i,o,a){if(e instanceof Vt){let s=this._createInjector(a,i,o,void 0),c={$implicit:a.data,dialogRef:i};a.templateContext&&(c=g(g({},c),typeof a.templateContext=="function"?a.templateContext():a.templateContext)),o.attachTemplatePortal(new se(e,null,c,s))}else{let s=this._createInjector(a,i,o,this._injector),c=o.attachComponentPortal(new Me(e,a.viewContainerRef,s,a.componentFactoryResolver));i.componentRef=c,i.componentInstance=c.instance}}_createInjector(e,i,o,a){let s=e.injector||e.viewContainerRef?.injector,c=[{provide:p_,useValue:e.data},{provide:go,useValue:i}];return e.providers&&(typeof e.providers=="function"?c.push(...e.providers(i,e,o)):c.push(...e.providers)),e.direction&&(!s||!s.get(Lt,null,{optional:!0}))&&c.push({provide:Lt,useValue:{value:e.direction,change:O()}}),xt.create({parent:s||a,providers:c})}_removeOpenDialog(e,i){let o=this.openDialogs.indexOf(e);o>-1&&(this.openDialogs.splice(o,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((a,s)=>{a?s.setAttribute("aria-hidden",a):s.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),i&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){let e=this._overlayContainer.getContainerElement();if(e.parentElement){let i=e.parentElement.children;for(let o=i.length-1;o>-1;o--){let a=i[o];a!==e&&a.nodeName!=="SCRIPT"&&a.nodeName!=="STYLE"&&!a.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(a,a.getAttribute("aria-hidden")),a.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}};t.\u0275fac=function(i){return new(i||t)(u(yt),u(xt),u(b_,8),u(t,12),u(vn),u(f_))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();function Dc(n,t){let r=n.length;for(;r--;)t(n[r])}var Vr=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({providers:[vo],imports:[ze,Re,Rr,Re]});let n=t;return n})();function v_(n,t){}var y_={bottomSheetState:Le("state",[Zt("void, hidden",Et({transform:"translateY(100%)"})),Zt("visible",Et({transform:"translateY(0%)"})),Gt("visible => void, visible => hidden",jn([Bt(`${rc.COMPLEX} ${oc.ACCELERATION_CURVE}`),Na("@*",Pa(),{optional:!0})])),Gt("void => visible",jn([Bt(`${rc.EXITING} ${oc.DECELERATION_CURVE}`),Na("@*",Pa(),{optional:!0})]))])},x_=(()=>{let t=class t extends _o{constructor(e,i,o,a,s,c,d,m,p){super(e,i,o,a,s,c,d,p),this._animationState="void",this._animationStateChanged=new V,this._breakpointSubscription=m.observe([Xe.Medium,Xe.Large,Xe.XLarge]).subscribe(()=>{this._toggleClass("mat-bottom-sheet-container-medium",m.isMatched(Xe.Medium)),this._toggleClass("mat-bottom-sheet-container-large",m.isMatched(Xe.Large)),this._toggleClass("mat-bottom-sheet-container-xlarge",m.isMatched(Xe.XLarge))})}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges())}exit(){this._destroyed||(this._animationState="hidden",this._changeDetectorRef.markForCheck())}ngOnDestroy(){super.ngOnDestroy(),this._breakpointSubscription.unsubscribe(),this._destroyed=!0}_onAnimationDone(e){e.toState==="visible"&&this._trapFocus(),this._animationStateChanged.emit(e)}_onAnimationStart(e){this._animationStateChanged.emit(e)}_captureInitialFocus(){}_toggleClass(e,i){this._elementRef.nativeElement.classList.toggle(e,i)}};t.\u0275fac=function(i){return new(i||t)(l(D),l(pn),l(j,8),l(Ke),l(Pi),l(k),l(Oe),l(hn),l(ae))},t.\u0275cmp=T({type:t,selectors:[["mat-bottom-sheet-container"]],hostAttrs:["tabindex","-1",1,"mat-bottom-sheet-container"],hostVars:4,hostBindings:function(i,o){i&1&&$o("@state.start",function(s){return o._onAnimationStart(s)})("@state.done",function(s){return o._onAnimationDone(s)}),i&2&&(Ho("@state",o._animationState),Y("role",o._config.role)("aria-modal",o._config.ariaModal)("aria-label",o._config.ariaLabel))},standalone:!0,features:[it,A],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(i,o){i&1&&B(0,v_,0,0,"ng-template",0)},dependencies:[Kt],styles:[".mat-bottom-sheet-container{box-shadow:0px 8px 10px -5px rgba(0, 0, 0, 0.2), 0px 16px 24px 2px rgba(0, 0, 0, 0.14), 0px 6px 30px 5px rgba(0, 0, 0, 0.12);padding:8px 16px;min-width:100vw;box-sizing:border-box;display:block;outline:0;max-height:80vh;overflow:auto;background:var(--mat-bottom-sheet-container-background-color);color:var(--mat-bottom-sheet-container-text-color);font-family:var(--mat-bottom-sheet-container-text-font);font-size:var(--mat-bottom-sheet-container-text-size);line-height:var(--mat-bottom-sheet-container-text-line-height);font-weight:var(--mat-bottom-sheet-container-text-weight);letter-spacing:var(--mat-bottom-sheet-container-text-tracking)}.cdk-high-contrast-active .mat-bottom-sheet-container{outline:1px solid}.mat-bottom-sheet-container-xlarge,.mat-bottom-sheet-container-large,.mat-bottom-sheet-container-medium{border-top-left-radius:var(--mat-bottom-sheet-container-shape);border-top-right-radius:var(--mat-bottom-sheet-container-shape)}.mat-bottom-sheet-container-medium{min-width:384px;max-width:calc(100vw - 128px)}.mat-bottom-sheet-container-large{min-width:512px;max-width:calc(100vw - 256px)}.mat-bottom-sheet-container-xlarge{min-width:576px;max-width:calc(100vw - 384px)}"],encapsulation:2,data:{animation:[y_.bottomSheetState]}});let n=t;return n})(),Tc=new y("MatBottomSheetData"),Sc=class{constructor(){this.data=null,this.hasBackdrop=!0,this.disableClose=!1,this.ariaLabel=null,this.ariaModal=!0,this.closeOnNavigation=!0,this.autoFocus="dialog",this.restoreFocus=!0}},xn=class{get instance(){return this._ref.componentInstance}get componentRef(){return this._ref.componentRef}constructor(t,r,e){this._ref=t,this._afterOpened=new E,this.containerInstance=e,this.disableClose=r.disableClose,e._animationStateChanged.pipe(tt(i=>i.phaseName==="done"&&i.toState==="visible"),rt(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),e._animationStateChanged.pipe(tt(i=>i.phaseName==="done"&&i.toState==="hidden"),rt(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._ref.close(this._result)}),t.overlayRef.detachments().subscribe(()=>{this._ref.close(this._result)}),St(this.backdropClick(),this.keydownEvents().pipe(tt(i=>i.keyCode===27))).subscribe(i=>{!this.disableClose&&(i.type!=="keydown"||!Rt(i))&&(i.preventDefault(),this.dismiss())})}dismiss(t){this.containerInstance&&(this.containerInstance._animationStateChanged.pipe(tt(r=>r.phaseName==="start"),rt(1)).subscribe(r=>{this._closeFallbackTimeout=setTimeout(()=>{this._ref.close(this._result)},r.totalTime+100),this._ref.overlayRef.detachBackdrop()}),this._result=t,this.containerInstance.exit(),this.containerInstance=null)}afterDismissed(){return this._ref.closed}afterOpened(){return this._afterOpened}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}},w_=new y("mat-bottom-sheet-default-options"),yo=(()=>{let t=class t{get _openedBottomSheetRef(){let e=this._parentBottomSheet;return e?e._openedBottomSheetRef:this._bottomSheetRefAtThisLevel}set _openedBottomSheetRef(e){this._parentBottomSheet?this._parentBottomSheet._openedBottomSheetRef=e:this._bottomSheetRefAtThisLevel=e}constructor(e,i,o,a){this._overlay=e,this._parentBottomSheet=o,this._defaultOptions=a,this._bottomSheetRefAtThisLevel=null,this._dialog=i.get(vo)}open(e,i){let o=g(g({},this._defaultOptions||new Sc),i),a;return this._dialog.open(e,ht(g({},o),{disableClose:!0,closeOnOverlayDetachments:!1,maxWidth:"100%",container:x_,scrollStrategy:o.scrollStrategy||this._overlay.scrollStrategies.block(),positionStrategy:this._overlay.position().global().centerHorizontally().bottom("0"),templateContext:()=>({bottomSheetRef:a}),providers:(s,c,d)=>(a=new xn(s,o,d),[{provide:xn,useValue:a},{provide:Tc,useValue:o.data}])})),a.afterDismissed().subscribe(()=>{this._openedBottomSheetRef===a&&(this._openedBottomSheetRef=null)}),this._openedBottomSheetRef?(this._openedBottomSheetRef.afterDismissed().subscribe(()=>a.containerInstance?.enter()),this._openedBottomSheetRef.dismiss()):a.containerInstance.enter(),this._openedBottomSheetRef=a,a}dismiss(e){this._openedBottomSheetRef&&this._openedBottomSheetRef.dismiss(e)}ngOnDestroy(){this._bottomSheetRefAtThisLevel&&this._bottomSheetRefAtThisLevel.dismiss()}};t.\u0275fac=function(i){return new(i||t)(u(yt),u(xt),u(t,12),u(w_,8))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),Br=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({providers:[yo],imports:[Vr,K,Re,K]});let n=t;return n})();var C_=["mat-button",""],Om=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],Fm=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"];var k_=".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}",I_=["mat-fab",""];var E_=["mat-icon-button",""],D_=["*"];var S_=new y("MAT_BUTTON_CONFIG");var T_=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],Mc=(()=>{let t=class t{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(e){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,e)}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=e,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._updateRippleDisabled()}constructor(e,i,o,a){this._elementRef=e,this._platform=i,this._ngZone=o,this._animationMode=a,this._focusMonitor=_(ae),this._rippleLoader=_(mm),this._isFab=!1,this._disableRipple=!1,this._disabled=!1;let s=_(S_,{optional:!0}),c=e.nativeElement,d=c.classList;this.disabledInteractive=s?.disabledInteractive??!1,this._rippleLoader?.configureRipple(c,{className:"mat-mdc-button-ripple"});for(let{attribute:m,mdcClasses:p}of T_)c.hasAttribute(m)&&d.add(...p)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(e="program",i){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,i):this._elementRef.nativeElement.focus(i)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}};t.\u0275fac=function(i){Nn()},t.\u0275dir=I({type:t,inputs:{color:"color",disableRipple:[b.HasDecoratorInputTransform,"disableRipple","disableRipple",q],disabled:[b.HasDecoratorInputTransform,"disabled","disabled",q],ariaDisabled:[b.HasDecoratorInputTransform,"aria-disabled","ariaDisabled",q],disabledInteractive:[b.HasDecoratorInputTransform,"disabledInteractive","disabledInteractive",q]},features:[ft]});let n=t;return n})();var xe=(()=>{let t=class t extends Mc{constructor(e,i,o,a){super(e,i,o,a)}};t.\u0275fac=function(i){return new(i||t)(l(D),l(J),l(k),l(_t,8))},t.\u0275cmp=T({type:t,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(i,o){i&2&&(Y("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled()),Mt(o.color?"mat-"+o.color:""),z("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[it,A],attrs:C_,ngContentSelectors:Fm,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,o){i&1&&(wt(Om),M(0,"span",0),at(1),h(2,"span",1),at(3,1),f(),at(4,2),M(5,"span",2)(6,"span",3)),i&2&&z("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px);display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{font-family:var(--mdc-text-button-label-text-font);font-size:var(--mdc-text-button-label-text-size);letter-spacing:var(--mdc-text-button-label-text-tracking);font-weight:var(--mdc-text-button-label-text-weight);text-transform:var(--mdc-text-button-label-text-transform);height:var(--mdc-text-button-container-height);border-radius:var(--mdc-text-button-container-shape);padding:0 var(--mat-text-button-horizontal-padding, 8px)}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape)}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 8px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color)}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity)}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity)}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity)}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display)}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-unelevated-button{font-family:var(--mdc-filled-button-label-text-font);font-size:var(--mdc-filled-button-label-text-size);letter-spacing:var(--mdc-filled-button-label-text-tracking);font-weight:var(--mdc-filled-button-label-text-weight);text-transform:var(--mdc-filled-button-label-text-transform);height:var(--mdc-filled-button-container-height);border-radius:var(--mdc-filled-button-container-shape);padding:0 var(--mat-filled-button-horizontal-padding, 16px)}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color)}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color)}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity)}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity)}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity)}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display)}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{font-family:var(--mdc-protected-button-label-text-font);font-size:var(--mdc-protected-button-label-text-size);letter-spacing:var(--mdc-protected-button-label-text-tracking);font-weight:var(--mdc-protected-button-label-text-weight);text-transform:var(--mdc-protected-button-label-text-transform);height:var(--mdc-protected-button-container-height);border-radius:var(--mdc-protected-button-container-shape);padding:0 var(--mat-protected-button-horizontal-padding, 16px);box-shadow:var(--mdc-protected-button-container-elevation-shadow)}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color)}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color)}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity)}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity)}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity)}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display)}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow)}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow)}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow)}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow)}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{font-family:var(--mdc-outlined-button-label-text-font);font-size:var(--mdc-outlined-button-label-text-size);letter-spacing:var(--mdc-outlined-button-label-text-tracking);font-weight:var(--mdc-outlined-button-label-text-weight);text-transform:var(--mdc-outlined-button-label-text-transform);height:var(--mdc-outlined-button-container-height);border-radius:var(--mdc-outlined-button-container-shape);padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width);padding:0 var(--mat-outlined-button-horizontal-padding, 15px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color)}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape)}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color)}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width))}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color)}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity)}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity)}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity)}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display)}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button-base{text-decoration:none}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px)*-1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0});let n=t;return n})();var A_=new y("mat-mdc-fab-default-options",{providedIn:"root",factory:Pm});function Pm(){return{color:"accent"}}var Rm=Pm(),Nm=(()=>{let t=class t extends Mc{constructor(e,i,o,a,s){super(e,i,o,a),this._options=s,this._isFab=!0,this._options=this._options||Rm,this.color=this._options.color||Rm.color}};t.\u0275fac=function(i){return new(i||t)(l(D),l(J),l(k),l(_t,8),l(A_,8))},t.\u0275cmp=T({type:t,selectors:[["button","mat-fab",""]],hostVars:18,hostBindings:function(i,o){i&2&&(Y("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled()),Mt(o.color?"mat-"+o.color:""),z("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0)("mdc-fab--extended",o.extended)("mat-mdc-extended-fab",o.extended))},inputs:{extended:[b.HasDecoratorInputTransform,"extended","extended",q]},exportAs:["matButton"],standalone:!0,features:[ft,it,A],attrs:I_,ngContentSelectors:Fm,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,o){i&1&&(wt(Om),M(0,"span",0),at(1),h(2,"span",1),at(3,1),f(),at(4,2),M(5,"span",2)(6,"span",3)),i&2&&z("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-fab{background-color:var(--mdc-fab-container-color)}.mat-mdc-fab .mdc-fab__icon{width:var(--mdc-fab-icon-size);height:var(--mdc-fab-icon-size);font-size:var(--mdc-fab-icon-size)}.mat-mdc-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape)}.mat-mdc-mini-fab{background-color:var(--mdc-fab-small-container-color)}.mat-mdc-mini-fab .mdc-fab__icon{width:var(--mdc-fab-small-icon-size);height:var(--mdc-fab-small-icon-size);font-size:var(--mdc-fab-small-icon-size)}.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-small-container-shape)}.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-small-container-shape)}.mat-mdc-extended-fab{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mdc-extended-fab-container-height);border-radius:var(--mdc-extended-fab-container-shape);font-family:var(--mdc-extended-fab-label-text-font);font-size:var(--mdc-extended-fab-label-text-size);font-weight:var(--mdc-extended-fab-label-text-weight);letter-spacing:var(--mdc-extended-fab-label-text-tracking)}.mat-mdc-extended-fab .mdc-fab__ripple{border-radius:var(--mdc-extended-fab-container-shape)}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);flex-shrink:0}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-mini-fab:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}.mat-mdc-fab .mat-icon,.mat-mdc-fab .material-icons,.mat-mdc-mini-fab .mat-icon,.mat-mdc-mini-fab .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled,.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-fab[disabled],.mat-mdc-fab[disabled]:focus,.mat-mdc-fab.mat-mdc-button-disabled,.mat-mdc-fab.mat-mdc-button-disabled:focus,.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab[disabled]:focus,.mat-mdc-mini-fab.mat-mdc-button-disabled,.mat-mdc-mini-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-fab.mat-mdc-button-disabled-interactive,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab{color:var(--mat-fab-foreground-color, inherit);box-shadow:var(--mdc-fab-container-elevation-shadow)}.mat-mdc-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-touch-target-display)}.mat-mdc-fab .mat-ripple-element{background-color:var(--mat-fab-ripple-color)}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-state-layer-color)}.mat-mdc-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-disabled-state-layer-color)}.mat-mdc-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-hover-state-layer-opacity)}.mat-mdc-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-focus-state-layer-opacity)}.mat-mdc-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-pressed-state-layer-opacity)}.mat-mdc-fab:hover{box-shadow:var(--mdc-fab-hover-container-elevation-shadow)}.mat-mdc-fab:focus{box-shadow:var(--mdc-fab-focus-container-elevation-shadow)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active{box-shadow:var(--mdc-fab-pressed-container-elevation-shadow)}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-disabled-state-foreground-color);background-color:var(--mat-fab-disabled-state-container-color)}.mat-mdc-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-mini-fab{color:var(--mat-fab-small-foreground-color, inherit);box-shadow:var(--mdc-fab-small-container-elevation-shadow)}.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-small-touch-target-display)}.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-fab-small-ripple-color)}.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-state-layer-color)}.mat-mdc-mini-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-disabled-state-layer-color)}.mat-mdc-mini-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-hover-state-layer-opacity)}.mat-mdc-mini-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-focus-state-layer-opacity)}.mat-mdc-mini-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-pressed-state-layer-opacity)}.mat-mdc-mini-fab:hover{box-shadow:var(--mdc-fab-small-hover-container-elevation-shadow)}.mat-mdc-mini-fab:focus{box-shadow:var(--mdc-fab-small-focus-container-elevation-shadow)}.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:var(--mdc-fab-small-pressed-container-elevation-shadow)}.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-small-disabled-state-foreground-color);background-color:var(--mat-fab-small-disabled-state-container-color)}.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-extended-fab{box-shadow:var(--mdc-extended-fab-container-elevation-shadow)}.mat-mdc-extended-fab:hover{box-shadow:var(--mdc-extended-fab-hover-container-elevation-shadow)}.mat-mdc-extended-fab:focus{box-shadow:var(--mdc-extended-fab-focus-container-elevation-shadow)}.mat-mdc-extended-fab:active,.mat-mdc-extended-fab:focus:active{box-shadow:var(--mdc-extended-fab-pressed-container-elevation-shadow)}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab[disabled]:focus,.mat-mdc-extended-fab.mat-mdc-button-disabled,.mat-mdc-extended-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-extended-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}'],encapsulation:2,changeDetection:0});let n=t;return n})();var gi=(()=>{let t=class t extends Mc{constructor(e,i,o,a){super(e,i,o,a),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}};t.\u0275fac=function(i){return new(i||t)(l(D),l(J),l(k),l(_t,8))},t.\u0275cmp=T({type:t,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(i,o){i&2&&(Y("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled()),Mt(o.color?"mat-"+o.color:""),z("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[it,A],attrs:E_,ngContentSelectors:D_,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,o){i&1&&(wt(),M(0,"span",0),at(1),M(2,"span",1)(3,"span",2))},styles:['.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{color:var(--mdc-icon-button-icon-color)}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 48px);height:var(--mdc-icon-button-state-layer-size, 48px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 48px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size);-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color)}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color)}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity)}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity)}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity)}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',k_],encapsulation:2,changeDetection:0});let n=t;return n})();var kt=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({imports:[K,sc,K]});let n=t;return n})();var M_=["*"],zr;function R_(){if(zr===void 0&&(zr=null,typeof window<"u")){let n=window;n.trustedTypes!==void 0&&(zr=n.trustedTypes.createPolicy("angular#components",{createHTML:t=>t}))}return zr}function xo(n){return R_()?.createHTML(n)||n}function Lm(n){return Error(`Unable to find icon with the name "${n}"`)}function O_(){return Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.")}function jm(n){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${n}".`)}function Vm(n){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${n}".`)}var Je=class{constructor(t,r,e){this.url=t,this.svgText=r,this.options=e}},F_=(()=>{let t=class t{constructor(e,i,o,a){this._httpClient=e,this._sanitizer=i,this._errorHandler=a,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=o}addSvgIcon(e,i,o){return this.addSvgIconInNamespace("",e,i,o)}addSvgIconLiteral(e,i,o){return this.addSvgIconLiteralInNamespace("",e,i,o)}addSvgIconInNamespace(e,i,o,a){return this._addSvgIconConfig(e,i,new Je(o,null,a))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,i,o,a){let s=this._sanitizer.sanitize(te.HTML,o);if(!s)throw Vm(o);let c=xo(s);return this._addSvgIconConfig(e,i,new Je("",c,a))}addSvgIconSet(e,i){return this.addSvgIconSetInNamespace("",e,i)}addSvgIconSetLiteral(e,i){return this.addSvgIconSetLiteralInNamespace("",e,i)}addSvgIconSetInNamespace(e,i,o){return this._addSvgIconSetConfig(e,new Je(i,null,o))}addSvgIconSetLiteralInNamespace(e,i,o){let a=this._sanitizer.sanitize(te.HTML,i);if(!a)throw Vm(i);let s=xo(a);return this._addSvgIconSetConfig(e,new Je("",s,o))}registerFontClassAlias(e,i=e){return this._fontCssClassesByAlias.set(e,i),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(...e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){let i=this._sanitizer.sanitize(te.RESOURCE_URL,e);if(!i)throw jm(e);let o=this._cachedIconsByUrl.get(i);return o?O(Ur(o)):this._loadSvgIconFromConfig(new Je(e,null)).pipe(lt(a=>this._cachedIconsByUrl.set(i,a)),F(a=>Ur(a)))}getNamedSvgIcon(e,i=""){let o=Bm(i,e),a=this._svgIconConfigs.get(o);if(a)return this._getSvgFromConfig(a);if(a=this._getIconConfigFromResolvers(i,e),a)return this._svgIconConfigs.set(o,a),this._getSvgFromConfig(a);let s=this._iconSetConfigs.get(i);return s?this._getSvgFromIconSetConfigs(e,s):Jt(Lm(o))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?O(Ur(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(F(i=>Ur(i)))}_getSvgFromIconSetConfigs(e,i){let o=this._extractIconWithNameFromAnySet(e,i);if(o)return O(o);let a=i.filter(s=>!s.svgText).map(s=>this._loadSvgIconSetFromConfig(s).pipe(me(c=>{let m=`Loading icon set URL: ${this._sanitizer.sanitize(te.RESOURCE_URL,s.url)} failed: ${c.message}`;return this._errorHandler.handleError(new Error(m)),O(null)})));return No(a).pipe(F(()=>{let s=this._extractIconWithNameFromAnySet(e,i);if(!s)throw Lm(e);return s}))}_extractIconWithNameFromAnySet(e,i){for(let o=i.length-1;o>=0;o--){let a=i[o];if(a.svgText&&a.svgText.toString().indexOf(e)>-1){let s=this._svgElementFromConfig(a),c=this._extractSvgIconFromSet(s,e,a.options);if(c)return c}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(lt(i=>e.svgText=i),F(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?O(null):this._fetchIcon(e).pipe(lt(i=>e.svgText=i))}_extractSvgIconFromSet(e,i,o){let a=e.querySelector(`[id="${i}"]`);if(!a)return null;let s=a.cloneNode(!0);if(s.removeAttribute("id"),s.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(s,o);if(s.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(s),o);let c=this._svgElementFromString(xo(""));return c.appendChild(s),this._setSvgAttributes(c,o)}_svgElementFromString(e){let i=this._document.createElement("DIV");i.innerHTML=e;let o=i.querySelector("svg");if(!o)throw Error(" tag not found");return o}_toSvgElement(e){let i=this._svgElementFromString(xo("")),o=e.attributes;for(let a=0;axo(m)),ri(()=>this._inProgressUrlFetches.delete(s)),sd());return this._inProgressUrlFetches.set(s,d),d}_addSvgIconConfig(e,i,o){return this._svgIconConfigs.set(Bm(e,i),o),this}_addSvgIconSetConfig(e,i){let o=this._iconSetConfigs.get(e);return o?o.push(i):this._iconSetConfigs.set(e,[i]),this}_svgElementFromConfig(e){if(!e.svgElement){let i=this._svgElementFromString(e.svgText);this._setSvgAttributes(i,e.options),e.svgElement=i}return e.svgElement}_getIconConfigFromResolvers(e,i){for(let o=0;ot?t.pathname+t.search:""}}var zm=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],V_=zm.map(n=>`[${n}]`).join(", "),B_=/^url\(['"]?#(.*?)['"]?\)$/,$e=(()=>{let t=class t{get color(){return this._color||this._defaultColor}set color(e){this._color=e}get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}get fontSet(){return this._fontSet}set fontSet(e){let i=this._cleanupFontValue(e);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(e){let i=this._cleanupFontValue(e);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}constructor(e,i,o,a,s,c){this._elementRef=e,this._iconRegistry=i,this._location=a,this._errorHandler=s,this.inline=!1,this._previousFontSetClass=[],this._currentIconFetch=It.EMPTY,c&&(c.color&&(this.color=this._defaultColor=c.color),c.fontSet&&(this.fontSet=c.fontSet)),o||e.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(e){if(!e)return["",""];let i=e.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let e=this._elementsWithExternalReferences;if(e&&e.size){let i=this._location.getPathname();i!==this._previousPath&&(this._previousPath=i,this._prependPathToReferences(i))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();let i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){let e=this._elementRef.nativeElement,i=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){let o=e.childNodes[i];(o.nodeType!==1||o.nodeName.toLowerCase()==="svg")&&o.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let e=this._elementRef.nativeElement,i=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(o=>o.length>0);this._previousFontSetClass.forEach(o=>e.classList.remove(o)),i.forEach(o=>e.classList.add(o)),this._previousFontSetClass=i,this.fontIcon!==this._previousFontIconClass&&!i.includes("mat-ligature-font")&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return typeof e=="string"?e.trim().split(" ")[0]:e}_prependPathToReferences(e){let i=this._elementsWithExternalReferences;i&&i.forEach((o,a)=>{o.forEach(s=>{a.setAttribute(s.name,`url('${e}#${s.value}')`)})})}_cacheChildrenWithExternalReferences(e){let i=e.querySelectorAll(V_),o=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let a=0;a{let c=i[a],d=c.getAttribute(s),m=d?d.match(B_):null;if(m){let p=o.get(c);p||(p=[],o.set(c,p)),p.push({name:s,value:m[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){let[i,o]=this._splitIconName(e);i&&(this._svgNamespace=i),o&&(this._svgName=o),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(o,i).pipe(rt(1)).subscribe(a=>this._setSvgElement(a),a=>{let s=`Error retrieving icon ${i}:${o}! ${a.message}`;this._errorHandler.handleError(new Error(s))})}}};t.\u0275fac=function(i){return new(i||t)(l(D),l(F_),Ne("aria-hidden"),l(L_),l(ki),l(N_,8))},t.\u0275cmp=T({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(i,o){i&2&&(Y("data-mat-icon-type",o._usingFontIcon()?"font":"svg")("data-mat-icon-name",o._svgName||o.fontIcon)("data-mat-icon-namespace",o._svgNamespace||o.fontSet)("fontIcon",o._usingFontIcon()?o.fontIcon:null),Mt(o.color?"mat-"+o.color:""),z("mat-icon-inline",o.inline)("mat-icon-no-color",o.color!=="primary"&&o.color!=="accent"&&o.color!=="warn"))},inputs:{color:"color",inline:[b.HasDecoratorInputTransform,"inline","inline",q],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],standalone:!0,features:[ft,A],ngContentSelectors:M_,decls:1,vars:0,template:function(i,o){i&1&&(wt(),at(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0});let n=t;return n})(),we=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({imports:[K,K]});let n=t;return n})();var Um=ve({passive:!0}),Hm=(()=>{let t=class t{constructor(e,i){this._platform=e,this._ngZone=i,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return ce;let i=Qt(e),o=this._monitoredElements.get(i);if(o)return o.subject;let a=new E,s="cdk-text-field-autofilled",c=d=>{d.animationName==="cdk-text-field-autofill-start"&&!i.classList.contains(s)?(i.classList.add(s),this._ngZone.run(()=>a.next({target:d.target,isAutofilled:!0}))):d.animationName==="cdk-text-field-autofill-end"&&i.classList.contains(s)&&(i.classList.remove(s),this._ngZone.run(()=>a.next({target:d.target,isAutofilled:!1})))};return this._ngZone.runOutsideAngular(()=>{i.addEventListener("animationstart",c,Um),i.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(i,{subject:a,unlisten:()=>{i.removeEventListener("animationstart",c,Um)}}),a}stopMonitoring(e){let i=Qt(e),o=this._monitoredElements.get(i);o&&(o.unlisten(),o.subject.complete(),i.classList.remove("cdk-text-field-autofill-monitored"),i.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(i))}ngOnDestroy(){this._monitoredElements.forEach((e,i)=>this.stopMonitoring(i))}};t.\u0275fac=function(i){return new(i||t)(u(J),u(k))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();var $m=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({});let n=t;return n})();var Km=(()=>{let t=class t{constructor(e,i){this._renderer=e,this._elementRef=i,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(e,i){this._renderer.setProperty(this._elementRef.nativeElement,e,i)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}};t.\u0275fac=function(i){return new(i||t)(l(Bo),l(D))},t.\u0275dir=I({type:t});let n=t;return n})(),Jm=(()=>{let t=class t extends Km{};t.\u0275fac=(()=>{let e;return function(o){return(e||(e=jt(t)))(o||t)}})(),t.\u0275dir=I({type:t,features:[it]});let n=t;return n})(),We=new y("");var U_={provide:We,useExisting:Tt(()=>Cn),multi:!0};function H_(){let n=Xi()?Xi().getUserAgent():"";return/android (\d+)/.test(n.toLowerCase())}var $_=new y(""),Cn=(()=>{let t=class t extends Km{constructor(e,i,o){super(e,i),this._compositionMode=o,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!H_())}writeValue(e){let i=e??"";this.setProperty("value",i)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}};t.\u0275fac=function(i){return new(i||t)(l(Bo),l(D),l($_,8))},t.\u0275dir=I({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(i,o){i&1&&S("input",function(s){return o._handleInput(s.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(s){return o._compositionEnd(s.target.value)})},features:[st([U_]),it]});let n=t;return n})();function _i(n){return n==null||(typeof n=="string"||Array.isArray(n))&&n.length===0}function tu(n){return n!=null&&typeof n.length=="number"}var Ce=new y(""),Kr=new y(""),W_=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,ji=class{static min(t){return eu(t)}static max(t){return iu(t)}static required(t){return nu(t)}static requiredTrue(t){return G_(t)}static email(t){return q_(t)}static minLength(t){return Y_(t)}static maxLength(t){return ou(t)}static pattern(t){return X_(t)}static nullValidator(t){return $r(t)}static compose(t){return lu(t)}static composeAsync(t){return mu(t)}};function eu(n){return t=>{if(_i(t.value)||_i(n))return null;let r=parseFloat(t.value);return!isNaN(r)&&r{if(_i(t.value)||_i(n))return null;let r=parseFloat(t.value);return!isNaN(r)&&r>n?{max:{max:n,actual:t.value}}:null}}function nu(n){return _i(n.value)?{required:!0}:null}function G_(n){return n.value===!0?null:{required:!0}}function q_(n){return _i(n.value)||W_.test(n.value)?null:{email:!0}}function Y_(n){return t=>_i(t.value)||!tu(t.value)?null:t.value.lengthtu(t.value)&&t.value.length>n?{maxlength:{requiredLength:n,actualLength:t.value.length}}:null}function X_(n){if(!n)return $r;let t,r;return typeof n=="string"?(r="",n.charAt(0)!=="^"&&(r+="^"),r+=n,n.charAt(n.length-1)!=="$"&&(r+="$"),t=new RegExp(r)):(r=n.toString(),t=n),e=>{if(_i(e.value))return null;let i=e.value;return t.test(i)?null:{pattern:{requiredPattern:r,actualValue:i}}}}function $r(n){return null}function ru(n){return n!=null}function au(n){return Go(n)?Ut(n):n}function su(n){let t={};return n.forEach(r=>{t=r!=null?g(g({},t),r):t}),Object.keys(t).length===0?null:t}function cu(n,t){return t.map(r=>r(n))}function Z_(n){return!n.validate}function du(n){return n.map(t=>Z_(t)?t:r=>t.validate(r))}function lu(n){if(!n)return null;let t=n.filter(ru);return t.length==0?null:function(r){return su(cu(r,t))}}function Oc(n){return n!=null?lu(du(n)):null}function mu(n){if(!n)return null;let t=n.filter(ru);return t.length==0?null:function(r){let e=cu(r,t).map(au);return No(e).pipe(F(su))}}function Fc(n){return n!=null?mu(du(n)):null}function Wm(n,t){return n===null?[t]:Array.isArray(n)?[...n,t]:[n,t]}function uu(n){return n._rawValidators}function hu(n){return n._rawAsyncValidators}function Rc(n){return n?Array.isArray(n)?n:[n]:[]}function Wr(n,t){return Array.isArray(n)?n.includes(t):n===t}function Gm(n,t){let r=Rc(t);return Rc(n).forEach(i=>{Wr(r,i)||r.push(i)}),r}function qm(n,t){return Rc(t).filter(r=>!Wr(n,r))}var Gr=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=Oc(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=Fc(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t=void 0){this.control&&this.control.reset(t)}hasError(t,r){return this.control?this.control.hasError(t,r):!1}getError(t,r){return this.control?this.control.getError(t,r):null}},ti=class extends Gr{get formDirective(){return null}get path(){return null}},ei=class extends Gr{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},qr=class{constructor(t){this._cd=t}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}},Q_={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},tE=ht(g({},Q_),{"[class.ng-submitted]":"isSubmitted"}),Jr=(()=>{let t=class t extends qr{constructor(e){super(e)}};t.\u0275fac=function(i){return new(i||t)(l(ei,2))},t.\u0275dir=I({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,o){i&2&&z("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[it]});let n=t;return n})(),ta=(()=>{let t=class t extends qr{constructor(e){super(e)}};t.\u0275fac=function(i){return new(i||t)(l(ti,10))},t.\u0275dir=I({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,o){i&2&&z("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)("ng-submitted",o.isSubmitted)},features:[it]});let n=t;return n})();var Co="VALID",Hr="INVALID",wn="PENDING",ko="DISABLED";function fu(n){return(ea(n)?n.validators:n)||null}function K_(n){return Array.isArray(n)?Oc(n):n||null}function pu(n,t){return(ea(t)?t.asyncValidators:n)||null}function J_(n){return Array.isArray(n)?Fc(n):n||null}function ea(n){return n!=null&&!Array.isArray(n)&&typeof n=="object"}function tv(n,t,r){let e=n.controls;if(!(t?Object.keys(e):e).length)throw new gt(1e3,"");if(!e[r])throw new gt(1001,"")}function ev(n,t,r){n._forEachChild((e,i)=>{if(r[i]===void 0)throw new gt(1002,"")})}var Yr=class{constructor(t,r){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(t),this._assignAsyncValidators(r)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===Co}get invalid(){return this.status===Hr}get pending(){return this.status==wn}get disabled(){return this.status===ko}get enabled(){return this.status!==ko}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(Gm(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(Gm(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(qm(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(qm(t,this._rawAsyncValidators))}hasValidator(t){return Wr(this._rawValidators,t)}hasAsyncValidator(t){return Wr(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(r=>{r.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=wn,t.emitEvent!==!1&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){let r=this._parentMarkedDirty(t.onlySelf);this.status=ko,this.errors=null,this._forEachChild(e=>{e.disable(ht(g({},t),{onlySelf:!0}))}),this._updateValue(),t.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(ht(g({},t),{skipPristineCheck:r})),this._onDisabledChange.forEach(e=>e(!0))}enable(t={}){let r=this._parentMarkedDirty(t.onlySelf);this.status=Co,this._forEachChild(e=>{e.enable(ht(g({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(ht(g({},t),{skipPristineCheck:r})),this._onDisabledChange.forEach(e=>e(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Co||this.status===wn)&&this._runAsyncValidator(t.emitEvent)),t.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(r=>r._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?ko:Co}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=wn,this._hasOwnPendingAsyncValidator=!0;let r=au(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(e=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(e,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,r={}){this.errors=t,this._updateControlsErrors(r.emitEvent!==!1)}get(t){let r=t;return r==null||(Array.isArray(r)||(r=r.split(".")),r.length===0)?null:r.reduce((e,i)=>e&&e._find(i),this)}getError(t,r){let e=r?this.get(r):this;return e&&e.errors?e.errors[t]:null}hasError(t,r){return!!this.getError(t,r)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new V,this.statusChanges=new V}_calculateStatus(){return this._allControlsDisabled()?ko:this.errors?Hr:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(wn)?wn:this._anyControlsHaveStatus(Hr)?Hr:Co}_anyControlsHaveStatus(t){return this._anyControls(r=>r.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){ea(t)&&t.updateOn!=null&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){let r=this._parent&&this._parent.dirty;return!t&&!!r&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=K_(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=J_(this._rawAsyncValidators)}},vi=class extends Yr{constructor(t,r,e){super(fu(r),pu(e,r)),this.controls=t,this._initObservables(),this._setUpdateStrategy(r),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,r){return this.controls[t]?this.controls[t]:(this.controls[t]=r,r.setParent(this),r._registerOnCollectionChange(this._onCollectionChange),r)}addControl(t,r,e={}){this.registerControl(t,r),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}removeControl(t,r={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}setControl(t,r,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],r&&this.registerControl(t,r),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,r={}){ev(this,!0,t),Object.keys(t).forEach(e=>{tv(this,!0,e),this.controls[e].setValue(t[e],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r)}patchValue(t,r={}){t!=null&&(Object.keys(t).forEach(e=>{let i=this.controls[e];i&&i.patchValue(t[e],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r))}reset(t={},r={}){this._forEachChild((e,i)=>{e.reset(t?t[i]:null,{onlySelf:!0,emitEvent:r.emitEvent})}),this._updatePristine(r),this._updateTouched(r),this.updateValueAndValidity(r)}getRawValue(){return this._reduceChildren({},(t,r,e)=>(t[e]=r.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(r,e)=>e._syncPendingControls()?!0:r);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(r=>{let e=this.controls[r];e&&t(e,r)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(let[r,e]of Object.entries(this.controls))if(this.contains(r)&&t(e))return!0;return!1}_reduceValue(){let t={};return this._reduceChildren(t,(r,e,i)=>((e.enabled||this.disabled)&&(r[i]=e.value),r))}_reduceChildren(t,r){let e=t;return this._forEachChild((i,o)=>{e=r(e,i,o)}),e}_allControlsDisabled(){for(let t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}};var Eo=new y("CallSetDisabledState",{providedIn:"root",factory:()=>ia}),ia="always";function bu(n,t){return[...t.path,n]}function Xr(n,t,r=ia){Pc(n,t),t.valueAccessor.writeValue(n.value),(n.disabled||r==="always")&&t.valueAccessor.setDisabledState?.(n.disabled),nv(n,t),rv(n,t),ov(n,t),iv(n,t)}function Ym(n,t,r=!0){let e=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(e),t.valueAccessor.registerOnTouched(e)),Qr(n,t),n&&(t._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}))}function Zr(n,t){n.forEach(r=>{r.registerOnValidatorChange&&r.registerOnValidatorChange(t)})}function iv(n,t){if(t.valueAccessor.setDisabledState){let r=e=>{t.valueAccessor.setDisabledState(e)};n.registerOnDisabledChange(r),t._registerOnDestroy(()=>{n._unregisterOnDisabledChange(r)})}}function Pc(n,t){let r=uu(n);t.validator!==null?n.setValidators(Wm(r,t.validator)):typeof r=="function"&&n.setValidators([r]);let e=hu(n);t.asyncValidator!==null?n.setAsyncValidators(Wm(e,t.asyncValidator)):typeof e=="function"&&n.setAsyncValidators([e]);let i=()=>n.updateValueAndValidity();Zr(t._rawValidators,i),Zr(t._rawAsyncValidators,i)}function Qr(n,t){let r=!1;if(n!==null){if(t.validator!==null){let i=uu(n);if(Array.isArray(i)&&i.length>0){let o=i.filter(a=>a!==t.validator);o.length!==i.length&&(r=!0,n.setValidators(o))}}if(t.asyncValidator!==null){let i=hu(n);if(Array.isArray(i)&&i.length>0){let o=i.filter(a=>a!==t.asyncValidator);o.length!==i.length&&(r=!0,n.setAsyncValidators(o))}}}let e=()=>{};return Zr(t._rawValidators,e),Zr(t._rawAsyncValidators,e),r}function nv(n,t){t.valueAccessor.registerOnChange(r=>{n._pendingValue=r,n._pendingChange=!0,n._pendingDirty=!0,n.updateOn==="change"&&gu(n,t)})}function ov(n,t){t.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,n.updateOn==="blur"&&n._pendingChange&&gu(n,t),n.updateOn!=="submit"&&n.markAsTouched()})}function gu(n,t){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function rv(n,t){let r=(e,i)=>{t.valueAccessor.writeValue(e),i&&t.viewToModelUpdate(e)};n.registerOnChange(r),t._registerOnDestroy(()=>{n._unregisterOnChange(r)})}function _u(n,t){n==null,Pc(n,t)}function av(n,t){return Qr(n,t)}function vu(n,t){if(!n.hasOwnProperty("model"))return!1;let r=n.model;return r.isFirstChange()?!0:!Object.is(t,r.currentValue)}function sv(n){return Object.getPrototypeOf(n.constructor)===Jm}function yu(n,t){n._syncPendingControls(),t.forEach(r=>{let e=r.control;e.updateOn==="submit"&&e._pendingChange&&(r.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})}function xu(n,t){if(!t)return null;Array.isArray(t);let r,e,i;return t.forEach(o=>{o.constructor===Cn?r=o:sv(o)?e=o:i=o}),i||e||r||null}function cv(n,t){let r=n.indexOf(t);r>-1&&n.splice(r,1)}var dv={provide:ti,useExisting:Tt(()=>Nc)},Io=Promise.resolve(),Nc=(()=>{let t=class t extends ti{constructor(e,i,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._directives=new Set,this.ngSubmit=new V,this.form=new vi({},Oc(e),Fc(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){Io.then(()=>{let i=this._findContainer(e.path);e.control=i.registerControl(e.name,e.control),Xr(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){Io.then(()=>{let i=this._findContainer(e.path);i&&i.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){Io.then(()=>{let i=this._findContainer(e.path),o=new vi({});_u(o,e),i.registerControl(e.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){Io.then(()=>{let i=this._findContainer(e.path);i&&i.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,i){Io.then(()=>{this.form.get(e.path).setValue(i)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,yu(this.form,this._directives),this.ngSubmit.emit(e),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}};t.\u0275fac=function(i){return new(i||t)(l(Ce,10),l(Kr,10),l(Eo,8))},t.\u0275dir=I({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,o){i&1&&S("submit",function(s){return o.onSubmit(s)})("reset",function(){return o.onReset()})},inputs:{options:[b.None,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[st([dv]),it]});let n=t;return n})();function Xm(n,t){let r=n.indexOf(t);r>-1&&n.splice(r,1)}function Zm(n){return typeof n=="object"&&n!==null&&Object.keys(n).length===2&&"value"in n&&"disabled"in n}var ii=class extends Yr{constructor(t=null,r,e){super(fu(r),pu(e,r)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(r),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),ea(r)&&(r.nonNullable||r.initialValueIsDefault)&&(Zm(t)?this.defaultValue=t.value:this.defaultValue=t)}setValue(t,r={}){this.value=this._pendingValue=t,this._onChange.length&&r.emitModelToViewChange!==!1&&this._onChange.forEach(e=>e(this.value,r.emitViewToModelChange!==!1)),this.updateValueAndValidity(r)}patchValue(t,r={}){this.setValue(t,r)}reset(t=this.defaultValue,r={}){this._applyFormState(t),this.markAsPristine(r),this.markAsUntouched(r),this.setValue(this.value,r),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){Xm(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){Xm(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(t){Zm(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}};var lv=n=>n instanceof ii;var mv={provide:ei,useExisting:Tt(()=>Lc)},Qm=Promise.resolve(),Lc=(()=>{let t=class t extends ei{constructor(e,i,o,a,s,c){super(),this._changeDetectorRef=s,this.callSetDisabledState=c,this.control=new ii,this._registered=!1,this.name="",this.update=new V,this._parent=e,this._setValidators(i),this._setAsyncValidators(o),this.valueAccessor=xu(this,a)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){let i=e.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),vu(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){Xr(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(e){Qm.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){let i=e.isDisabled.currentValue,o=i!==0&&q(i);Qm.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?bu(e,this._parent):[e]}};t.\u0275fac=function(i){return new(i||t)(l(ti,9),l(Ce,10),l(Kr,10),l(We,10),l(pt,8),l(Eo,8))},t.\u0275dir=I({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[b.None,"disabled","isDisabled"],model:[b.None,"ngModel","model"],options:[b.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[st([mv]),it,Ct]});let n=t;return n})(),wu=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=I({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]});let n=t;return n})(),uv={provide:We,useExisting:Tt(()=>jc),multi:!0},jc=(()=>{let t=class t extends Jm{writeValue(e){let i=e??"";this.setProperty("value",i)}registerOnChange(e){this.onChange=i=>{e(i==""?null:parseFloat(i))}}};t.\u0275fac=(()=>{let e;return function(o){return(e||(e=jt(t)))(o||t)}})(),t.\u0275dir=I({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(i,o){i&1&&S("input",function(s){return o.onChange(s.target.value)})("blur",function(){return o.onTouched()})},features:[st([uv]),it]});let n=t;return n})();var Cu=new y("");var hv={provide:ti,useExisting:Tt(()=>Vi)},Vi=(()=>{let t=class t extends ti{constructor(e,i,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new V,this._setValidators(e),this._setAsyncValidators(i)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Qr(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){let i=this.form.get(e.path);return Xr(i,e,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),i}getControl(e){return this.form.get(e.path)}removeControl(e){Ym(e.control||null,e,!1),cv(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,i){this.form.get(e.path).setValue(i)}onSubmit(e){return this.submitted=!0,yu(this.form,this.directives),this.ngSubmit.emit(e),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{let i=e.control,o=this.form.get(e.path);i!==o&&(Ym(i||null,e),lv(o)&&(Xr(o,e,this.callSetDisabledState),e.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){let i=this.form.get(e.path);_u(i,e),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){let i=this.form.get(e.path);i&&av(i,e)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Pc(this.form,this),this._oldForm&&Qr(this._oldForm,this)}_checkFormPresent(){this.form}};t.\u0275fac=function(i){return new(i||t)(l(Ce,10),l(Kr,10),l(Eo,8))},t.\u0275dir=I({type:t,selectors:[["","formGroup",""]],hostBindings:function(i,o){i&1&&S("submit",function(s){return o.onSubmit(s)})("reset",function(){return o.onReset()})},inputs:{form:[b.None,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[st([hv]),it,Ct]});let n=t;return n})();var fv={provide:ei,useExisting:Tt(()=>Do)},Do=(()=>{let t=class t extends ei{set isDisabled(e){}constructor(e,i,o,a,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.name=null,this.update=new V,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(i),this._setAsyncValidators(o),this.valueAccessor=xu(this,a)}ngOnChanges(e){this._added||this._setUpControl(),vu(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return bu(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}};t._ngModelWarningSentOnce=!1,t.\u0275fac=function(i){return new(i||t)(l(ti,13),l(Ce,10),l(Kr,10),l(We,10),l(Cu,8))},t.\u0275dir=I({type:t,selectors:[["","formControlName",""]],inputs:{name:[b.None,"formControlName","name"],isDisabled:[b.None,"disabled","isDisabled"],model:[b.None,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[st([fv]),it,Ct]});let n=t;return n})();function pv(n){return typeof n=="number"?n:parseInt(n,10)}function ku(n){return typeof n=="number"?n:parseFloat(n)}var na=(()=>{let t=class t{constructor(){this._validator=$r}ngOnChanges(e){if(this.inputName in e){let i=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(i),this._validator=this._enabled?this.createValidator(i):$r,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return e!=null}};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=I({type:t,features:[Ct]});let n=t;return n})(),bv={provide:Ce,useExisting:Tt(()=>Vc),multi:!0},Vc=(()=>{let t=class t extends na{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=e=>ku(e),this.createValidator=e=>iu(e)}};t.\u0275fac=(()=>{let e;return function(o){return(e||(e=jt(t)))(o||t)}})(),t.\u0275dir=I({type:t,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(i,o){i&2&&Y("max",o._enabled?o.max:null)},inputs:{max:"max"},features:[st([bv]),it]});let n=t;return n})(),gv={provide:Ce,useExisting:Tt(()=>Bc),multi:!0},Bc=(()=>{let t=class t extends na{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=e=>ku(e),this.createValidator=e=>eu(e)}};t.\u0275fac=(()=>{let e;return function(o){return(e||(e=jt(t)))(o||t)}})(),t.\u0275dir=I({type:t,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(i,o){i&2&&Y("min",o._enabled?o.min:null)},inputs:{min:"min"},features:[st([gv]),it]});let n=t;return n})(),_v={provide:Ce,useExisting:Tt(()=>So),multi:!0};var So=(()=>{let t=class t extends na{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=q,this.createValidator=e=>nu}enabled(e){return e}};t.\u0275fac=(()=>{let e;return function(o){return(e||(e=jt(t)))(o||t)}})(),t.\u0275dir=I({type:t,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(i,o){i&2&&Y("required",o._enabled?"":null)},inputs:{required:"required"},features:[st([_v]),it]});let n=t;return n})();var vv={provide:Ce,useExisting:Tt(()=>zc),multi:!0},zc=(()=>{let t=class t extends na{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=e=>pv(e),this.createValidator=e=>ou(e)}};t.\u0275fac=(()=>{let e;return function(o){return(e||(e=jt(t)))(o||t)}})(),t.\u0275dir=I({type:t,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(i,o){i&2&&Y("maxlength",o._enabled?o.maxlength:null)},inputs:{maxlength:"maxlength"},features:[st([vv]),it]});let n=t;return n})();var Iu=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({});let n=t;return n})();var kn=(()=>{let t=class t{static withConfig(e){return{ngModule:t,providers:[{provide:Eo,useValue:e.callSetDisabledState??ia}]}}};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({imports:[Iu]});let n=t;return n})(),oa=(()=>{let t=class t{static withConfig(e){return{ngModule:t,providers:[{provide:Cu,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:Eo,useValue:e.callSetDisabledState??ia}]}}};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({imports:[Iu]});let n=t;return n})();var Hc=class{constructor(t){this._box=t,this._destroyed=new E,this._resizeSubject=new E,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(r=>this._resizeSubject.next(r)))}observe(t){return this._elementObservables.has(t)||this._elementObservables.set(t,new Yt(r=>{let e=this._resizeSubject.subscribe(r);return this._resizeObserver?.observe(t,{box:this._box}),()=>{this._resizeObserver?.unobserve(t),e.unsubscribe(),this._elementObservables.delete(t)}}).pipe(tt(r=>r.some(e=>e.target===t)),Sa({bufferSize:1,refCount:!0}),dt(this._destroyed))),this._elementObservables.get(t)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},Eu=(()=>{let t=class t{constructor(){this._observers=new Map,this._ngZone=_(k),typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,e]of this._observers)e.destroy();this._observers.clear(),typeof ResizeObserver<"u"}observe(e,i){let o=i?.box||"content-box";return this._observers.has(o)||this._observers.set(o,new Hc(o)),this._observers.get(o).observe(e)}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();var yv=["notch"],xv=["matFormFieldNotchedOutline",""],wv=["*"],Cv=["textField"],kv=["iconPrefixContainer"],Iv=["textPrefixContainer"],Ev=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],Dv=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function Sv(n,t){n&1&&M(0,"span",17)}function Tv(n,t){if(n&1&&(h(0,"label",16),at(1,1),B(2,Sv,1,0,"span",17),f()),n&2){let r=G(2);L("floating",r._shouldLabelFloat())("monitorResize",r._hasOutline())("id",r._labelId),Y("for",r._control.id),v(2),Q(2,!r.hideRequiredMarker&&r._control.required?2:-1)}}function Av(n,t){if(n&1&&B(0,Tv,3,5,"label",16),n&2){let r=G();Q(0,r._hasFloatingLabel()?0:-1)}}function Mv(n,t){n&1&&M(0,"div",5)}function Rv(n,t){}function Ov(n,t){if(n&1&&B(0,Rv,0,0,"ng-template",11),n&2){G(2);let r=pe(1);L("ngTemplateOutlet",r)}}function Fv(n,t){if(n&1&&(h(0,"div",7),B(1,Ov,1,1,null,11),f()),n&2){let r=G();L("matFormFieldNotchedOutlineOpen",r._shouldLabelFloat()),v(),Q(1,r._forceDisplayInfixLabel()?-1:1)}}function Pv(n,t){n&1&&(h(0,"div",8,2),at(2,2),f())}function Nv(n,t){n&1&&(h(0,"div",9,3),at(2,3),f())}function Lv(n,t){}function jv(n,t){if(n&1&&B(0,Lv,0,0,"ng-template",11),n&2){G();let r=pe(1);L("ngTemplateOutlet",r)}}function Vv(n,t){n&1&&(h(0,"div",12),at(1,4),f())}function Bv(n,t){n&1&&(h(0,"div",13),at(1,5),f())}function zv(n,t){n&1&&M(0,"div",14)}function Uv(n,t){if(n&1&&(h(0,"div",18),at(1,6),f()),n&2){let r=G();L("@transitionMessages",r._subscriptAnimationState)}}function Hv(n,t){if(n&1&&(h(0,"mat-hint",20),C(1),f()),n&2){let r=G(2);L("id",r._hintLabelId),v(),be(r.hintLabel)}}function $v(n,t){if(n&1&&(h(0,"div",19),B(1,Hv,2,2,"mat-hint",20),at(2,7),M(3,"div",21),at(4,8),f()),n&2){let r=G();L("@transitionMessages",r._subscriptAnimationState),v(),Q(1,r.hintLabel?1:-1)}}var yi=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=I({type:t,selectors:[["mat-label"]],standalone:!0});let n=t;return n})(),Wv=0,Fu=new y("MatError"),sa=(()=>{let t=class t{constructor(e,i){this.id=`mat-mdc-error-${Wv++}`,e||i.nativeElement.setAttribute("aria-live","polite")}};t.\u0275fac=function(i){return new(i||t)(Ne("aria-live"),l(D))},t.\u0275dir=I({type:t,selectors:[["mat-error"],["","matError",""]],hostAttrs:["aria-atomic","true",1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(i,o){i&2&&Xt("id",o.id)},inputs:{id:"id"},standalone:!0,features:[st([{provide:Fu,useExisting:t}])]});let n=t;return n})(),Gv=0,aa=(()=>{let t=class t{constructor(){this.align="start",this.id=`mat-mdc-hint-${Gv++}`}};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=I({type:t,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(i,o){i&2&&(Xt("id",o.id),Y("align",null),z("mat-mdc-form-field-hint-end",o.align==="end"))},inputs:{align:"align",id:"id"},standalone:!0});let n=t;return n})(),qv=new y("MatPrefix");var Pu=new y("MatSuffix"),Nu=(()=>{let t=class t{constructor(){this._isText=!1}set _isTextSelector(e){this._isText=!0}};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=I({type:t,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[b.None,"matTextSuffix","_isTextSelector"]},standalone:!0,features:[st([{provide:Pu,useExisting:t}])]});let n=t;return n})(),Lu=new y("FloatingLabelParent"),Du=(()=>{let t=class t{get floating(){return this._floating}set floating(e){this._floating=e,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(e){this._monitorResize=e,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(e){this._elementRef=e,this._floating=!1,this._monitorResize=!1,this._resizeObserver=_(Eu),this._ngZone=_(k),this._parent=_(Lu),this._resizeSubscription=new It}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return Yv(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}};t.\u0275fac=function(i){return new(i||t)(l(D))},t.\u0275dir=I({type:t,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(i,o){i&2&&z("mdc-floating-label--float-above",o.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"},standalone:!0});let n=t;return n})();function Yv(n){let t=n;if(t.offsetParent!==null)return t.scrollWidth;let r=t.cloneNode(!0);r.style.setProperty("position","absolute"),r.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(r);let e=r.scrollWidth;return r.remove(),e}var Su="mdc-line-ripple--active",ra="mdc-line-ripple--deactivating",Tu=(()=>{let t=class t{constructor(e,i){this._elementRef=e,this._handleTransitionEnd=o=>{let a=this._elementRef.nativeElement.classList,s=a.contains(ra);o.propertyName==="opacity"&&s&&a.remove(Su,ra)},i.runOutsideAngular(()=>{e.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){let e=this._elementRef.nativeElement.classList;e.remove(ra),e.add(Su)}deactivate(){this._elementRef.nativeElement.classList.add(ra)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}};t.\u0275fac=function(i){return new(i||t)(l(D),l(k))},t.\u0275dir=I({type:t,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"],standalone:!0});let n=t;return n})(),Au=(()=>{let t=class t{constructor(e,i){this._elementRef=e,this._ngZone=i,this.open=!1}ngAfterViewInit(){let e=this._elementRef.nativeElement.querySelector(".mdc-floating-label");e?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(e.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>e.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(e){!this.open||!e?this._notch.nativeElement.style.width="":this._notch.nativeElement.style.width=`calc(${e}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}};t.\u0275fac=function(i){return new(i||t)(l(D),l(k))},t.\u0275cmp=T({type:t,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(i,o){if(i&1&&nt(yv,5),i&2){let a;U(a=H())&&(o._notch=a.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(i,o){i&2&&z("mdc-notched-outline--notched",o.open)},inputs:{open:[b.None,"matFormFieldNotchedOutlineOpen","open"]},standalone:!0,features:[A],attrs:xv,ngContentSelectors:wv,decls:5,vars:0,consts:[["notch",""],[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],[1,"mdc-notched-outline__trailing"]],template:function(i,o){i&1&&(wt(),M(0,"div",1),h(1,"div",2,0),at(3),f(),M(4,"div",3))},encapsulation:2,changeDetection:0});let n=t;return n})(),Xv={transitionMessages:Le("transitionMessages",[Zt("enter",Et({opacity:1,transform:"translateY(0%)"})),Gt("void => enter",[Et({opacity:0,transform:"translateY(-5px)"}),Bt("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},$c=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=I({type:t});let n=t;return n})();var To=new y("MatFormField"),Zv=new y("MAT_FORM_FIELD_DEFAULT_OPTIONS"),Mu=0,Ru="fill",Qv="auto",Ou="fixed",Kv="translateY(-50%)",In=(()=>{let t=class t{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=re(e)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||Qv}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(e){let i=this._appearance,o=e||this._defaults?.appearance||Ru;this._appearance=o,this._appearance==="outline"&&this._appearance!==i&&(this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||Ou}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||Ou}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(e){this._explicitFormFieldControl=e}constructor(e,i,o,a,s,c,d,m){this._elementRef=e,this._changeDetectorRef=i,this._ngZone=o,this._dir=a,this._platform=s,this._defaults=c,this._animationMode=d,this._hideRequiredMarker=!1,this.color="primary",this._appearance=Ru,this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId=`mat-mdc-form-field-label-${Mu++}`,this._hintLabelId=`mat-mdc-hint-${Mu++}`,this._subscriptAnimationState="",this._destroyed=new E,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,c&&(c.appearance&&(this.appearance=c.appearance),this._hideRequiredMarker=!!c?.hideRequiredMarker,c.color&&(this.color=c.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){let e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${e.controlType}`),e.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(dt(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(e=>!e._isText),this._hasTextPrefix=!!this._prefixChildren.find(e=>e._isText),this._hasIconSuffix=!!this._suffixChildren.find(e=>!e._isText),this._hasTextSuffix=!!this._suffixChildren.find(e=>e._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),St(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){this._control}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(dt(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe(dt(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0)}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(e){let i=this._control?this._control.ngControl:null;return i&&i[e]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(0):this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&e.push(...this._control.userAriaDescribedBy.split(" ")),this._getDisplayedMessages()==="hint"){let i=this._hintChildren?this._hintChildren.find(a=>a.align==="start"):null,o=this._hintChildren?this._hintChildren.find(a=>a.align==="end"):null;i?e.push(i.id):this._hintLabel&&e.push(this._hintLabelId),o&&e.push(o.id)}else this._errorChildren&&e.push(...this._errorChildren.map(i=>i.id));this._control.setDescribedByIds(e)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;let e=this._floatingLabel.element;if(!(this._iconPrefixContainer||this._textPrefixContainer)){e.style.transform="";return}if(!this._isAttachedToDom()){this._needsOutlineLabelOffsetUpdateOnStable=!0;return}let i=this._iconPrefixContainer?.nativeElement,o=this._textPrefixContainer?.nativeElement,a=i?.getBoundingClientRect().width??0,s=o?.getBoundingClientRect().width??0,c=this._dir.value==="rtl"?"-1":"1",d=`${a+s}px`,p=`calc(${c} * (${d} + var(--mat-mdc-form-field-label-offset-x, 0px)))`;e.style.transform=`var( --mat-mdc-form-field-label-transform, - ${Qv} translateX(${p}) - )`}_isAttachedToDom(){let e=this._elementRef.nativeElement;if(e.getRootNode){let i=e.getRootNode();return i&&i!==e}return document.documentElement.contains(e)}};t.\u0275fac=function(i){return new(i||t)(l(D),l(pt),l(k),l(Lt),l(J),l(Xv,8),l(_t,8),l(L))},t.\u0275cmp=T({type:t,selectors:[["mat-form-field"]],contentQueries:function(i,o,a){if(i&1&&(Pt(a,yi,5),Pt(a,yi,7),Pt(a,$c,5),Pt(a,Gv,5),Pt(a,Pu,5),Pt(a,Fu,5),Pt(a,aa,5)),i&2){let s;U(s=H())&&(o._labelChildNonStatic=s.first),U(s=H())&&(o._labelChildStatic=s.first),U(s=H())&&(o._formFieldControl=s.first),U(s=H())&&(o._prefixChildren=s),U(s=H())&&(o._suffixChildren=s),U(s=H())&&(o._errorChildren=s),U(s=H())&&(o._hintChildren=s)}},viewQuery:function(i,o){if(i&1&&(nt(wv,5),nt(Cv,5),nt(kv,5),nt(Du,5),nt(Au,5),nt(Tu,5)),i&2){let a;U(a=H())&&(o._textField=a.first),U(a=H())&&(o._iconPrefixContainer=a.first),U(a=H())&&(o._textPrefixContainer=a.first),U(a=H())&&(o._floatingLabel=a.first),U(a=H())&&(o._notchedOutline=a.first),U(a=H())&&(o._lineRipple=a.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(i,o){i&2&&z("mat-mdc-form-field-label-always-float",o._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",o._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",o._hasIconSuffix)("mat-form-field-invalid",o._control.errorState)("mat-form-field-disabled",o._control.disabled)("mat-form-field-autofilled",o._control.autofilled)("mat-form-field-no-animations",o._animationMode==="NoopAnimations")("mat-form-field-appearance-fill",o.appearance=="fill")("mat-form-field-appearance-outline",o.appearance=="outline")("mat-form-field-hide-placeholder",o._hasFloatingLabel()&&!o._shouldLabelFloat())("mat-focused",o._control.focused)("mat-primary",o.color!=="accent"&&o.color!=="warn")("mat-accent",o.color==="accent")("mat-warn",o.color==="warn")("ng-untouched",o._shouldForward("untouched"))("ng-touched",o._shouldForward("touched"))("ng-pristine",o._shouldForward("pristine"))("ng-dirty",o._shouldForward("dirty"))("ng-valid",o._shouldForward("valid"))("ng-invalid",o._shouldForward("invalid"))("ng-pending",o._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],standalone:!0,features:[st([{provide:Eo,useExisting:t},{provide:Lu,useExisting:t}]),A],ngContentSelectors:Ev,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(i,o){if(i&1){let a=mt();wt(Iv),B(0,Tv,1,1,"ng-template",null,0,Dd),h(2,"div",4,1),S("click",function(c){return $(a),W(o._control.onContainerClick(c))}),B(4,Av,1,0,"div",5),h(5,"div",6),B(6,Ov,2,2,"div",7)(7,Fv,3,0,"div",8)(8,Pv,3,0,"div",9),h(9,"div",10),B(10,Lv,1,1,null,11),at(11),f(),B(12,jv,2,0,"div",12)(13,Vv,2,0,"div",13),f(),B(14,Bv,1,0,"div",14),f(),h(15,"div",15),B(16,zv,2,1)(17,Hv,5,2),f()}if(i&2){let a;v(2),z("mdc-text-field--filled",!o._hasOutline())("mdc-text-field--outlined",o._hasOutline())("mdc-text-field--no-label",!o._hasFloatingLabel())("mdc-text-field--disabled",o._control.disabled)("mdc-text-field--invalid",o._control.errorState),v(2),Q(4,!o._hasOutline()&&!o._control.disabled?4:-1),v(2),Q(6,o._hasOutline()?6:-1),v(),Q(7,o._hasIconPrefix?7:-1),v(),Q(8,o._hasTextPrefix?8:-1),v(2),Q(10,!o._hasOutline()||o._forceDisplayInfixLabel()?10:-1),v(2),Q(12,o._hasTextSuffix?12:-1),v(),Q(13,o._hasIconSuffix?13:-1),v(),Q(14,o._hasOutline()?-1:14),v(),z("mat-mdc-form-field-subscript-dynamic-size",o.subscriptSizing==="dynamic"),v(),Q(16,(a=o._getDisplayedMessages())==="error"?16:a==="hint"?17:-1)}},dependencies:[Du,Au,Od,Tu,aa],styles:['.mdc-text-field{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 96px/0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;pointer-events:none}.mdc-notched-outline__trailing{flex-grow:1}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{border-top:1px solid;border-bottom:1px solid}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{max-width:calc(100% - 12px*2)}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-text-field--filled{border-top-left-radius:var(--mdc-filled-text-field-container-shape);border-top-right-radius:var(--mdc-filled-text-field-container-shape);border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-caret-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-focus-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-hover-label-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-disabled-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-focus-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-hover-label-text-color)}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font);font-size:var(--mdc-filled-text-field-label-text-size);font-weight:var(--mdc-filled-text-field-label-text-weight);letter-spacing:var(--mdc-filled-text-field-label-text-tracking)}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color)}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color)}.mdc-text-field--filled .mdc-line-ripple::before{border-bottom-width:var(--mdc-filled-text-field-active-indicator-height)}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-caret-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-focus-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-hover-label-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-disabled-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-focus-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-hover-label-text-color)}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font);font-size:var(--mdc-outlined-text-field-label-text-size);font-weight:var(--mdc-outlined-text-field-label-text-weight);letter-spacing:var(--mdc-outlined-text-field-label-text-tracking)}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(.75*var(--mdc-outlined-text-field-label-text-size))}.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mdc-outlined-text-field-label-text-size)}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-outlined-text-field-container-shape))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-hover-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-focus-outline-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-disabled-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-hover-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-focus-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-outline-width)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-focus-outline-width)}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all;will-change:auto}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto;will-change:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height);padding-top:var(--mat-form-field-filled-with-label-container-padding-top);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding);padding-bottom:var(--mat-form-field-container-vertical-padding)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color)}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font);line-height:var(--mat-form-field-subscript-text-line-height);font-size:var(--mat-form-field-subscript-text-size);letter-spacing:var(--mat-form-field-subscript-text-tracking);font-weight:var(--mat-form-field-subscript-text-weight)}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color)}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity)}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color)}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color)}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font);line-height:var(--mat-form-field-container-text-line-height);font-size:var(--mat-form-field-container-text-size);letter-spacing:var(--mat-form-field-container-text-tracking);font-weight:var(--mat-form-field-container-text-weight)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;z-index:0}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color)}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color)}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color)}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color)}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color)}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color)}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color)}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}'],encapsulation:2,data:{animation:[Yv.transitionMessages]},changeDetection:0});let n=t;return n})(),Oe=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({imports:[K,Ge,xr,K]});let n=t;return n})();var Kv=new y("MAT_INPUT_VALUE_ACCESSOR"),Jv=["button","checkbox","file","hidden","image","radio","range","reset","submit"],t0=0,xi=(()=>{let t=class t{get disabled(){return this._disabled}set disabled(e){this._disabled=re(e),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(e){this._id=e||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(ji.required)??!1}set required(e){this._required=re(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&Us().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}get value(){return this._inputValueAccessor.value}set value(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=re(e)}get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}constructor(e,i,o,a,s,c,d,m,p,w){this._elementRef=e,this._platform=i,this.ngControl=o,this._autofillMonitor=m,this._formField=w,this._uid=`mat-input-${t0++}`,this.focused=!1,this.stateChanges=new E,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(ct=>Us().has(ct)),this._iOSKeyupListener=ct=>{let ot=ct.target;!ot.value&&ot.selectionStart===0&&ot.selectionEnd===0&&(ot.setSelectionRange(1,1),ot.setSelectionRange(0,0))};let R=this._elementRef.nativeElement,Z=R.nodeName.toLowerCase();this._inputValueAccessor=d||R,this._previousNativeValue=this.value,this.id=this.id,i.IOS&&p.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._errorStateTracker=new Or(c,o,s,a,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect=Z==="select",this._isTextarea=Z==="textarea",this._isInFormField=!!w,this._isNativeSelect&&(this.controlType=R.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==null&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(e){e!==this.focused&&(this.focused=e,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){let e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_dirtyCheckPlaceholder(){let e=this._getPlaceholder();if(e!==this._previousPlaceholder){let i=this._elementRef.nativeElement;this._previousPlaceholder=e,e?i.setAttribute("placeholder",e):i.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){Jv.indexOf(this._type)>-1}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!this._isNeverEmpty()&&!this._elementRef.nativeElement.value&&!this._isBadInput()&&!this.autofilled}get shouldLabelFloat(){if(this._isNativeSelect){let e=this._elementRef.nativeElement,i=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&i&&i.label)}else return this.focused||!this.empty}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){let e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}};t.\u0275fac=function(i){return new(i||t)(l(D),l(J),l(ti,10),l(Nc,8),l(Vi,8),l(cm),l(Kv,10),l(Hm),l(k),l(Eo,8))},t.\u0275dir=I({type:t,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(i,o){i&1&&S("focus",function(){return o._focusChanged(!0)})("blur",function(){return o._focusChanged(!1)})("input",function(){return o._onInput()}),i&2&&(Xt("id",o.id)("disabled",o.disabled)("required",o.required),Y("name",o.name||null)("readonly",o.readonly&&!o._isNativeSelect||null)("aria-invalid",o.empty&&o.required?null:o.errorState)("aria-required",o.required)("id",o.id),z("mat-input-server",o._isServer)("mat-mdc-form-field-textarea-control",o._isInFormField&&o._isTextarea)("mat-mdc-form-field-input-control",o._isInFormField)("mdc-text-field__input",o._isInFormField)("mat-mdc-native-select-inline",o._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[b.None,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],standalone:!0,features:[st([{provide:$c,useExisting:t}]),Ct]});let n=t;return n})(),Ce=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({imports:[K,Oe,Oe,$m,K]});let n=t;return n})();var e0=["panel"],i0=["*"];function n0(n,t){if(n&1){let r=mt();h(0,"div",1,0),S("@panelAnimation.done",function(i){$(r);let o=G();return W(o._animationDone.next(i))}),at(2),f()}if(n&2){let r=t.id,e=G();Mt(e._classList),z("mat-mdc-autocomplete-visible",e.showPanel)("mat-mdc-autocomplete-hidden",!e.showPanel)("mat-primary",e._color==="primary")("mat-accent",e._color==="accent")("mat-warn",e._color==="warn"),j("id",e.id)("@panelAnimation",e.isOpen?"visible":"hidden"),Y("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby(r))}}var o0=Ne("panelAnimation",[Zt("void, hidden",It({opacity:0,transform:"scaleY(0.8)"})),Gt(":enter, hidden => visible",[Nn([Bt("0.03s linear",It({opacity:1})),Bt("0.12s cubic-bezier(0, 0, 0.2, 1)",It({transform:"scaleY(1)"}))])]),Gt(":leave, visible => hidden",[Bt("0.075s linear",It({opacity:0}))])]),r0=0,Gc=class{constructor(t,r){this.source=t,this.option=r}},ju=new y("mat-autocomplete-default-options",{providedIn:"root",factory:a0});function a0(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1}}var Vu=(()=>{let t=class t{get isOpen(){return this._isOpen&&this.showPanel}_setColor(e){this._color=e,this._changeDetectorRef.markForCheck()}set classList(e){this._classList=e,this._elementRef.nativeElement.className=""}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._syncParentProperties()}_syncParentProperties(){if(this.options)for(let e of this.options)e._changeDetectorRef.markForCheck()}constructor(e,i,o,a){this._changeDetectorRef=e,this._elementRef=i,this._defaults=o,this._activeOptionChanges=kt.EMPTY,this._animationDone=new V,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new V,this.opened=new V,this.closed=new V,this.optionActivated=new V,this.id=`mat-autocomplete-${r0++}`,this.inertGroups=a?.SAFARI||!1,this.autoActiveFirstOption=!!o.autoActiveFirstOption,this.autoSelectActiveOption=!!o.autoSelectActiveOption,this.requireSelection=!!o.requireSelection,this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}ngAfterContentInit(){this._keyManager=new Dr(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(e=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[e]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe(),this._animationDone.complete()}_setScrollTop(e){this.panel&&(this.panel.nativeElement.scrollTop=e)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._changeDetectorRef.markForCheck()}_emitSelectEvent(e){let i=new Gc(this,e);this.optionSelected.emit(i)}_getPanelAriaLabelledby(e){if(this.ariaLabel)return null;let i=e?e+" ":"";return this.ariaLabelledby?i+this.ariaLabelledby:e}_skipPredicate(){return!1}};t.\u0275fac=function(i){return new(i||t)(l(pt),l(D),l(ju),l(J))},t.\u0275cmp=T({type:t,selectors:[["mat-autocomplete"]],contentQueries:function(i,o,a){if(i&1&&(Pt(a,Fr,5),Pt(a,dc,5)),i&2){let s;U(s=H())&&(o.options=s),U(s=H())&&(o.optionGroups=s)}},viewQuery:function(i,o){if(i&1&&(nt(Vt,7),nt(e0,5)),i&2){let a;U(a=H())&&(o.template=a.first),U(a=H())&&(o.panel=a.first)}},hostAttrs:[1,"mat-mdc-autocomplete"],inputs:{ariaLabel:[b.None,"aria-label","ariaLabel"],ariaLabelledby:[b.None,"aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:[b.HasDecoratorInputTransform,"autoActiveFirstOption","autoActiveFirstOption",q],autoSelectActiveOption:[b.HasDecoratorInputTransform,"autoSelectActiveOption","autoSelectActiveOption",q],requireSelection:[b.HasDecoratorInputTransform,"requireSelection","requireSelection",q],panelWidth:"panelWidth",disableRipple:[b.HasDecoratorInputTransform,"disableRipple","disableRipple",q],classList:[b.None,"class","classList"],hideSingleSelectionIndicator:[b.HasDecoratorInputTransform,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",q]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},exportAs:["matAutocomplete"],standalone:!0,features:[st([{provide:cc,useExisting:t}]),ft,A],ngContentSelectors:i0,decls:1,vars:0,consts:[["panel",""],["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id"]],template:function(i,o){i&1&&(wt(),B(0,n0,3,16,"ng-template"))},styles:["div.mat-mdc-autocomplete-panel{width:100%;max-height:256px;visibility:hidden;transform-origin:center top;overflow:auto;padding:8px 0;box-sizing:border-box;position:static;border-radius:var(--mat-autocomplete-container-shape);box-shadow:var(--mat-autocomplete-container-elevation-shadow);background-color:var(--mat-autocomplete-background-color)}.cdk-high-contrast-active div.mat-mdc-autocomplete-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) div.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above div.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden;pointer-events:none}mat-autocomplete{display:none}"],encapsulation:2,data:{animation:[o0]},changeDetection:0});let n=t;return n})();var s0={provide:He,useExisting:Tt(()=>qc),multi:!0};var Bu=new y("mat-autocomplete-scroll-strategy",{providedIn:"root",factory:()=>{let n=_(yt);return()=>n.scrollStrategies.reposition()}});function c0(n){return()=>n.scrollStrategies.reposition()}var d0={provide:Bu,deps:[yt],useFactory:c0},qc=(()=>{let t=class t{constructor(e,i,o,a,s,c,d,m,p,w,R){this._element=e,this._overlay=i,this._viewContainerRef=o,this._zone=a,this._changeDetectorRef=s,this._dir=d,this._formField=m,this._document=p,this._viewportRuler=w,this._defaults=R,this._componentDestroyed=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=kt.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new E,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._aboveClass="mat-mdc-autocomplete-panel-above",this._overlayAttached=!1,this.optionSelections=le(()=>{let Z=this.autocomplete?this.autocomplete.options:null;return Z?Z.changes.pipe(Ft(Z),vt(()=>Dt(...Z.map(ct=>ct.onSelectionChange)))):this._zone.onStable.pipe(rt(1),vt(()=>this.optionSelections))}),this._handlePanelKeydown=Z=>{(Z.keyCode===27&&!Rt(Z)||Z.keyCode===38&&Rt(Z,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),Z.stopPropagation(),Z.preventDefault())},this._trackedModal=null,this._scrollStrategy=c}ngAfterViewInit(){let e=this._getWindow();typeof e<"u"&&this._zone.runOutsideAngular(()=>e.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(e){e.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){let e=this._getWindow();typeof e<"u"&&e.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete(),this._clearFromModal()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._openPanelInternal()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._latestOpeningTrigger===this&&(this.autocomplete._isOpen=!1,this.autocomplete._latestOpeningTrigger=null),this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._updatePanelState(),this._componentDestroyed||this._changeDetectorRef.detectChanges(),this._trackedModal&&lo(this._trackedModal,"aria-owns",this.autocomplete.id))}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return Dt(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(tt(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(tt(()=>this._overlayAttached)):O()).pipe(F(e=>e instanceof uo?e:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return Dt(Ht(this._document,"click"),Ht(this._document,"auxclick"),Ht(this._document,"touchend")).pipe(tt(e=>{let i=ne(e),o=this._formField?this._formField.getConnectedOverlayOrigin().nativeElement:null,a=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&i!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!o||!o.contains(i))&&(!a||!a.contains(i))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(i)}))}writeValue(e){Promise.resolve(null).then(()=>this._assignOptionValue(e))}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this._element.nativeElement.disabled=e}_handleKeydown(e){let i=e.keyCode,o=Rt(e);if(i===27&&!o&&e.preventDefault(),this._valueOnLastKeydown=this._element.nativeElement.value,this.activeOption&&i===13&&this.panelOpen&&!o)this.activeOption._selectViaInteraction(),this._resetActiveItem(),e.preventDefault();else if(this.autocomplete){let a=this.autocomplete._keyManager.activeItem,s=i===38||i===40;i===9||s&&!o&&this.panelOpen?this.autocomplete._keyManager.onKeydown(e):s&&this._canOpen()&&this._openPanelInternal(this._valueOnLastKeydown),(s||this.autocomplete._keyManager.activeItem!==a)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._valueOnLastKeydown),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(e){let i=e.target,o=i.value;if(i.type==="number"&&(o=o==""?null:parseFloat(o)),this._previousValue!==o){if(this._previousValue=o,this._pendingAutoselectedOption=null,(!this.autocomplete||!this.autocomplete.requireSelection)&&this._onChange(o),!o)this._clearPreviousSelectedOption(null,!1);else if(this.panelOpen&&!this.autocomplete.requireSelection){let a=this.autocomplete.options?.find(s=>s.selected);if(a){let s=this._getDisplayValue(a.value);o!==s&&a.deselect(!1)}}if(this._canOpen()&&this._document.activeElement===e.target){let a=this._valueOnLastKeydown??this._element.nativeElement.value;this._valueOnLastKeydown=null,this._openPanelInternal(a)}}}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(this._previousValue),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this._openPanelInternal()}_floatLabel(e=!1){this._formField&&this._formField.floatLabel==="auto"&&(e?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){let e=this._zone.onStable.pipe(rt(1)),i=this.autocomplete.options.changes.pipe(lt(()=>this._positionStrategy.reapplyLastPosition()),Fo(0));return Dt(e,i).pipe(vt(()=>(this._zone.run(()=>{let o=this.panelOpen;this._resetActiveItem(),this._updatePanelState(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),o!==this.panelOpen&&(this.panelOpen?this._emitOpened():this.autocomplete.closed.emit())}),this.panelClosingActions)),rt(1)).subscribe(o=>this._setValueAndClose(o))}_emitOpened(){this.autocomplete.opened.emit()}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_getDisplayValue(e){let i=this.autocomplete;return i&&i.displayWith?i.displayWith(e):e}_assignOptionValue(e){let i=this._getDisplayValue(e);e==null&&this._clearPreviousSelectedOption(null,!1),this._updateNativeInputValue(i??"")}_updateNativeInputValue(e){this._formField?this._formField._control.value=e:this._element.nativeElement.value=e,this._previousValue=e}_setValueAndClose(e){let i=this.autocomplete,o=e?e.source:this._pendingAutoselectedOption;o?(this._clearPreviousSelectedOption(o),this._assignOptionValue(o.value),this._onChange(o.value),i._emitSelectEvent(o),this._element.nativeElement.focus()):i.requireSelection&&this._element.nativeElement.value!==this._valueOnAttach&&(this._clearPreviousSelectedOption(null),this._assignOptionValue(null),i._animationDone?i._animationDone.pipe(rt(1)).subscribe(()=>this._onChange(null)):this._onChange(null)),this.closePanel()}_clearPreviousSelectedOption(e,i){this.autocomplete?.options?.forEach(o=>{o!==e&&o.selected&&o.deselect(i)})}_openPanelInternal(e=this._element.nativeElement.value){if(this._attachOverlay(e),this._floatLabel(),this._trackedModal){let i=this.autocomplete.id;Ar(this._trackedModal,"aria-owns",i)}}_attachOverlay(e){this.autocomplete;let i=this._overlayRef;i?(this._positionStrategy.setOrigin(this._getConnectedElement()),i.updateSize({width:this._getPanelWidth()})):(this._portal=new se(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),i=this._overlay.create(this._getOverlayConfig()),this._overlayRef=i,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&i&&i.updateSize({width:this._getPanelWidth()})})),i&&!i.hasAttached()&&(i.attach(this._portal),this._valueOnAttach=e,this._valueOnLastKeydown=null,this._closingActionsSubscription=this._subscribeToClosingActions());let o=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._latestOpeningTrigger=this,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this._applyModalPanelOwnership(),this.panelOpen&&o!==this.panelOpen&&this._emitOpened()}_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){let e=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=e.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=e.outsidePointerEvents().subscribe())}else this._keydownSubscription?.unsubscribe(),this._outsideClickSubscription?.unsubscribe(),this._keydownSubscription=this._outsideClickSubscription=null}_getOverlayConfig(){return new Xe({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){let e=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(e),this._positionStrategy=e,e}_setStrategyPositions(e){let i=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],o=this._aboveClass,a=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:o},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:o}],s;this.position==="above"?s=a:this.position==="below"?s=i:s=[...i,...a],e.withPositions(s)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){let e=this.autocomplete;if(e.autoActiveFirstOption){let i=-1;for(let o=0;o .cdk-overlay-container [aria-modal="true"]');if(!e)return;let i=this.autocomplete.id;this._trackedModal&&lo(this._trackedModal,"aria-owns",i),Ar(e,"aria-owns",i),this._trackedModal=e}_clearFromModal(){if(this._trackedModal){let e=this.autocomplete.id;lo(this._trackedModal,"aria-owns",e),this._trackedModal=null}}};t.\u0275fac=function(i){return new(i||t)(l(D),l(yt),l($t),l(k),l(pt),l(Bu),l(Lt,8),l(Eo,9),l(L,8),l(Ye),l(ju,8))},t.\u0275dir=I({type:t,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(i,o){i&1&&S("focusin",function(){return o._handleFocus()})("blur",function(){return o._onTouched()})("input",function(s){return o._handleInput(s)})("keydown",function(s){return o._handleKeydown(s)})("click",function(){return o._handleClick()}),i&2&&Y("autocomplete",o.autocompleteAttribute)("role",o.autocompleteDisabled?null:"combobox")("aria-autocomplete",o.autocompleteDisabled?null:"list")("aria-activedescendant",o.panelOpen&&o.activeOption?o.activeOption.id:null)("aria-expanded",o.autocompleteDisabled?null:o.panelOpen.toString())("aria-controls",o.autocompleteDisabled||!o.panelOpen||o.autocomplete==null?null:o.autocomplete.id)("aria-haspopup",o.autocompleteDisabled?null:"listbox")},inputs:{autocomplete:[b.None,"matAutocomplete","autocomplete"],position:[b.None,"matAutocompletePosition","position"],connectedTo:[b.None,"matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:[b.None,"autocomplete","autocompleteAttribute"],autocompleteDisabled:[b.HasDecoratorInputTransform,"matAutocompleteDisabled","autocompleteDisabled",q]},exportAs:["matAutocompleteTrigger"],standalone:!0,features:[st([s0]),ft,Ct]});let n=t;return n})(),zu=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({providers:[d0],imports:[Be,lc,K,Ge,pn,lc,K]});let n=t;return n})();var u0=["input"],h0=["label"],f0=["*"],p0=new y("mat-checkbox-default-options",{providedIn:"root",factory:Hu});function Hu(){return{color:"accent",clickAction:"check-indeterminate"}}var zt=function(n){return n[n.Init=0]="Init",n[n.Checked=1]="Checked",n[n.Unchecked=2]="Unchecked",n[n.Indeterminate=3]="Indeterminate",n}(zt||{}),b0={provide:He,useExisting:Tt(()=>da),multi:!0},Yc=class{},g0=0,Uu=Hu(),da=(()=>{let t=class t{focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(e){let i=new Yc;return i.source=this,i.checked=e,i}_getAnimationTargetElement(){return this._inputElement?.nativeElement}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(e,i,o,a,s,c){this._elementRef=e,this._changeDetectorRef=i,this._ngZone=o,this._animationMode=s,this._options=c,this._animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"},this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new V,this.indeterminateChange=new V,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=zt.Init,this._controlValueAccessorChangeFn=()=>{},this._validatorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||Uu,this.color=this._options.color||Uu.color,this.tabIndex=parseInt(a)||0,this.id=this._uniqueId=`mat-mdc-checkbox-${++g0}`}ngOnChanges(e){e.required&&this._validatorChangeFn()}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(e){e!=this.checked&&(this._checked=e,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){e!==this.disabled&&(this._disabled=e,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(e){let i=e!=this._indeterminate;this._indeterminate=e,i&&(this._indeterminate?this._transitionCheckState(zt.Indeterminate):this._transitionCheckState(this.checked?zt.Checked:zt.Unchecked),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(e){this.checked=!!e}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}validate(e){return this.required&&e.value!==!0?{required:!0}:null}registerOnValidatorChange(e){this._validatorChangeFn=e}_transitionCheckState(e){let i=this._currentCheckState,o=this._getAnimationTargetElement();if(!(i===e||!o)&&(this._currentAnimationClass&&o.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(i,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){o.classList.add(this._currentAnimationClass);let a=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{o.classList.remove(a)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){let e=this._options?.clickAction;!this.disabled&&e!=="noop"?(this.indeterminate&&e!=="check"&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?zt.Checked:zt.Unchecked),this._emitChangeEvent()):!this.disabled&&e==="noop"&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate)}_onInteractionEvent(e){e.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(e,i){if(this._animationMode==="NoopAnimations")return"";switch(e){case zt.Init:if(i===zt.Checked)return this._animationClasses.uncheckedToChecked;if(i==zt.Indeterminate)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case zt.Unchecked:return i===zt.Checked?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case zt.Checked:return i===zt.Unchecked?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case zt.Indeterminate:return i===zt.Checked?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(e){let i=this._inputElement;i&&(i.nativeElement.indeterminate=e)}_onInputClick(){this._handleInputClick()}_onTouchTargetClick(){this._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(e){e.target&&this._labelElement.nativeElement.contains(e.target)&&e.stopPropagation()}};t.\u0275fac=function(i){return new(i||t)(l(D),l(pt),l(k),Pe("tabindex"),l(_t,8),l(p0,8))},t.\u0275cmp=T({type:t,selectors:[["mat-checkbox"]],viewQuery:function(i,o){if(i&1&&(nt(u0,5),nt(h0,5),nt(Ve,5)),i&2){let a;U(a=H())&&(o._inputElement=a.first),U(a=H())&&(o._labelElement=a.first),U(a=H())&&(o.ripple=a.first)}},hostAttrs:[1,"mat-mdc-checkbox"],hostVars:14,hostBindings:function(i,o){i&2&&(Xt("id",o.id),Y("tabindex",null)("aria-label",null)("aria-labelledby",null),Mt(o.color?"mat-"+o.color:"mat-accent"),z("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mdc-checkbox--disabled",o.disabled)("mat-mdc-checkbox-disabled",o.disabled)("mat-mdc-checkbox-checked",o.checked))},inputs:{ariaLabel:[b.None,"aria-label","ariaLabel"],ariaLabelledby:[b.None,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[b.None,"aria-describedby","ariaDescribedby"],id:"id",required:[b.HasDecoratorInputTransform,"required","required",q],labelPosition:"labelPosition",name:"name",value:"value",disableRipple:[b.HasDecoratorInputTransform,"disableRipple","disableRipple",q],tabIndex:[b.HasDecoratorInputTransform,"tabIndex","tabIndex",e=>e==null?void 0:ge(e)],color:"color",checked:[b.HasDecoratorInputTransform,"checked","checked",q],disabled:[b.HasDecoratorInputTransform,"disabled","disabled",q],indeterminate:[b.HasDecoratorInputTransform,"indeterminate","indeterminate",q]},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],standalone:!0,features:[st([b0,{provide:we,useExisting:t,multi:!0}]),ft,Ct,A],ngContentSelectors:f0,decls:15,vars:19,consts:[["checkbox",""],["input",""],["label",""],["mat-internal-form-field","",3,"click","labelPosition"],[1,"mdc-checkbox"],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"blur","click","change","checked","indeterminate","disabled","id","required","tabIndex"],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"]],template:function(i,o){if(i&1){let a=mt();wt(),h(0,"div",3),S("click",function(c){return $(a),W(o._preventBubblingFromLabel(c))}),h(1,"div",4,0)(3,"div",5),S("click",function(){return $(a),W(o._onTouchTargetClick())}),f(),h(4,"input",6,1),S("blur",function(){return $(a),W(o._onBlur())})("click",function(){return $(a),W(o._onInputClick())})("change",function(c){return $(a),W(o._onInteractionEvent(c))}),f(),M(6,"div",7),h(7,"div",8),Po(),h(8,"svg",9),M(9,"path",10),f(),ld(),M(10,"div",11),f(),M(11,"div",12),f(),h(12,"label",13,2),at(14),f()()}if(i&2){let a=pe(2);j("labelPosition",o.labelPosition),v(4),z("mdc-checkbox--selected",o.checked),j("checked",o.checked)("indeterminate",o.indeterminate)("disabled",o.disabled)("id",o.inputId)("required",o.required)("tabIndex",o.disabled?-1:o.tabIndex),Y("aria-label",o.ariaLabel||null)("aria-labelledby",o.ariaLabelledby)("aria-describedby",o.ariaDescribedby)("aria-checked",o.indeterminate?"mixed":null)("name",o.name)("value",o.value),v(7),j("matRippleTrigger",a)("matRippleDisabled",o.disableRipple||o.disabled)("matRippleCentered",!0),v(),j("for",o.inputId)}},dependencies:[Ve,Pr],styles:['.mdc-touch-target-wrapper{display:inline}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:mdc-animation-deceleration-curve-timing-function;transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom}.mdc-checkbox[hidden]{display:none}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{border-color:CanvasText}}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{border-color:CanvasText}}@media all and (-ms-high-contrast: none){.mdc-checkbox .mdc-checkbox__focus-ring{display:none}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled{cursor:default;pointer-events:none}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--upgraded .mdc-checkbox__checkmark{opacity:1}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear 0s;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear 0s;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background{transition:border-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit}.mdc-checkbox__native-control:disabled{cursor:default;pointer-events:none}.mdc-checkbox--touch{margin:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2)}.mdc-checkbox--touch .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);right:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);width:var(--mdc-checkbox-state-layer-size);height:var(--mdc-checkbox-state-layer-size)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 180ms 0ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark-path,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__mixedmark{transition:none}.mdc-checkbox{padding:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2);margin:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2)}.mdc-checkbox .mdc-checkbox__native-control[disabled]:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true][disabled]~.mdc-checkbox__background{border-color:transparent;background-color:var(--mdc-checkbox-disabled-selected-icon-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}}.mdc-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}@keyframes mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}}@keyframes mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}}.mdc-checkbox:hover.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:hover.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336}.mdc-checkbox:hover.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:hover.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336}.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}}.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox .mdc-checkbox__background{top:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2)}.mdc-checkbox .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);right:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);width:var(--mdc-checkbox-state-layer-size);height:var(--mdc-checkbox-state-layer-size)}.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:focus:not(:checked):not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color);background-color:var(--mdc-checkbox-selected-focus-icon-color)}.mdc-checkbox:hover .mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox:hover .mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox .mdc-checkbox__background{-webkit-print-color-adjust:exact;color-adjust:exact}.mat-mdc-checkbox._mat-animation-noopable *,.mat-mdc-checkbox._mat-animation-noopable *::before{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default;color:var(--mat-checkbox-disabled-label-color)}.mat-mdc-checkbox label:empty{display:none}.cdk-high-contrast-active .mat-mdc-checkbox.mat-mdc-checkbox-disabled{opacity:.5}.cdk-high-contrast-active .mat-mdc-checkbox .mdc-checkbox__checkmark{--mdc-checkbox-selected-checkmark-color: CanvasText;--mdc-checkbox-disabled-selected-checkmark-color: CanvasText}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-ripple .mat-ripple-element{opacity:.1}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-checkbox-touch-target-display)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0});let n=t;return n})();var $u=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({imports:[da,K,K]});let n=t;return n})();var v0=["switch"],y0=["*"];function x0(n,t){n&1&&(h(0,"div",10),Po(),h(1,"svg",12),M(2,"path",13),f(),h(3,"svg",14),M(4,"path",15),f()())}var w0=new y("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1,hideIcon:!1})}),C0={provide:He,useExisting:Tt(()=>ma),multi:!0},la=class{constructor(t,r){this.source=t,this.checked=r}},k0=0,ma=(()=>{let t=class t{_createChangeEvent(e){return new la(this,e)}get buttonId(){return`${this.id||this._uniqueId}-button`}focus(){this._switchElement.nativeElement.focus()}get checked(){return this._checked}set checked(e){this._checked=e,this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(e,i,o,a,s,c){this._elementRef=e,this._focusMonitor=i,this._changeDetectorRef=o,this.defaults=s,this._onChange=d=>{},this._onTouched=()=>{},this._validatorOnChange=()=>{},this._checked=!1,this.name=null,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this.change=new V,this.toggleChange=new V,this.tabIndex=parseInt(a)||0,this.color=s.color||"accent",this._noopAnimations=c==="NoopAnimations",this.id=this._uniqueId=`mat-mdc-slide-toggle-${++k0}`,this.hideIcon=s.hideIcon??!1,this._labelId=this._uniqueId+"-label"}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{e==="keyboard"||e==="program"?(this._focused=!0,this._changeDetectorRef.markForCheck()):e||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnChanges(e){e.required&&this._validatorOnChange()}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(e){this.checked=!!e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}validate(e){return this.required&&e.value!==!0?{required:!0}:null}registerOnValidatorChange(e){this._validatorOnChange=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck()}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(this._createChangeEvent(this.checked))}_handleClick(){this.toggleChange.emit(),this.defaults.disableToggleValue||(this.checked=!this.checked,this._onChange(this.checked),this.change.emit(new la(this,this.checked)))}_getAriaLabelledBy(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId}};t.\u0275fac=function(i){return new(i||t)(l(D),l(ae),l(pt),Pe("tabindex"),l(w0),l(_t,8))},t.\u0275cmp=T({type:t,selectors:[["mat-slide-toggle"]],viewQuery:function(i,o){if(i&1&&nt(v0,5),i&2){let a;U(a=H())&&(o._switchElement=a.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:13,hostBindings:function(i,o){i&2&&(Xt("id",o.id),Y("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),Mt(o.color?"mat-"+o.color:""),z("mat-mdc-slide-toggle-focused",o._focused)("mat-mdc-slide-toggle-checked",o.checked)("_mat-animation-noopable",o._noopAnimations))},inputs:{name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:[b.None,"aria-label","ariaLabel"],ariaLabelledby:[b.None,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[b.None,"aria-describedby","ariaDescribedby"],required:[b.HasDecoratorInputTransform,"required","required",q],color:"color",disabled:[b.HasDecoratorInputTransform,"disabled","disabled",q],disableRipple:[b.HasDecoratorInputTransform,"disableRipple","disableRipple",q],tabIndex:[b.HasDecoratorInputTransform,"tabIndex","tabIndex",e=>e==null?0:ge(e)],checked:[b.HasDecoratorInputTransform,"checked","checked",q],hideIcon:[b.HasDecoratorInputTransform,"hideIcon","hideIcon",q]},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],standalone:!0,features:[st([C0,{provide:we,useExisting:t,multi:!0}]),ft,Ct,A],ngContentSelectors:y0,decls:13,vars:24,consts:[["switch",""],["mat-internal-form-field","",3,"labelPosition"],["role","switch","type","button",1,"mdc-switch",3,"click","tabIndex","disabled"],[1,"mdc-switch__track"],[1,"mdc-switch__handle-track"],[1,"mdc-switch__handle"],[1,"mdc-switch__shadow"],[1,"mdc-elevation-overlay"],[1,"mdc-switch__ripple"],["mat-ripple","",1,"mat-mdc-slide-toggle-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-switch__icons"],[1,"mdc-label",3,"click","for"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--on"],["d","M19.69,5.23L8.96,15.96l-4.23-4.23L2.96,13.5l6,6L21.46,7L19.69,5.23z"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--off"],["d","M20 13H4v-2h16v2z"]],template:function(i,o){if(i&1){let a=mt();wt(),h(0,"div",1)(1,"button",2,0),S("click",function(){return $(a),W(o._handleClick())}),M(3,"div",3),h(4,"div",4)(5,"div",5)(6,"div",6),M(7,"div",7),f(),h(8,"div",8),M(9,"div",9),f(),B(10,x0,5,0,"div",10),f()()(),h(11,"label",11),S("click",function(c){return $(a),W(c.stopPropagation())}),at(12),f()()}if(i&2){let a=pe(2);j("labelPosition",o.labelPosition),v(),z("mdc-switch--selected",o.checked)("mdc-switch--unselected",!o.checked)("mdc-switch--checked",o.checked)("mdc-switch--disabled",o.disabled),j("tabIndex",o.disabled?-1:o.tabIndex)("disabled",o.disabled),Y("id",o.buttonId)("name",o.name)("aria-label",o.ariaLabel)("aria-labelledby",o._getAriaLabelledBy())("aria-describedby",o.ariaDescribedby)("aria-required",o.required||null)("aria-checked",o.checked),v(8),j("matRippleTrigger",a)("matRippleDisabled",o.disableRipple||o.disabled)("matRippleCentered",!0),v(),Q(10,o.hideIcon?-1:10),v(),j("for",o.buttonId),Y("id",o._labelId)}},dependencies:[Ve,Pr],styles:['.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--mdc-elevation-overlay-color)}.mdc-switch{align-items:center;background:none;border:none;cursor:pointer;display:inline-flex;flex-shrink:0;margin:0;outline:none;overflow:visible;padding:0;position:relative}.mdc-switch[hidden]{display:none}.mdc-switch:disabled{cursor:default;pointer-events:none}.mdc-switch__track{overflow:hidden;position:relative;width:100%}.mdc-switch__track::before,.mdc-switch__track::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";height:100%;left:0;position:absolute;width:100%}@media screen and (forced-colors: active){.mdc-switch__track::before,.mdc-switch__track::after{border-color:currentColor}}.mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(-100%)}[dir=rtl] .mdc-switch__track::after,.mdc-switch__track[dir=rtl]::after{transform:translateX(100%)}.mdc-switch--selected .mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__track::before,.mdc-switch--selected .mdc-switch__track[dir=rtl]::before{transform:translateX(-100%)}.mdc-switch--selected .mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__handle-track{height:100%;pointer-events:none;position:absolute;top:0;transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);left:0;right:auto;transform:translateX(0)}[dir=rtl] .mdc-switch__handle-track,.mdc-switch__handle-track[dir=rtl]{left:auto;right:0}.mdc-switch--selected .mdc-switch__handle-track{transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__handle-track,.mdc-switch--selected .mdc-switch__handle-track[dir=rtl]{transform:translateX(-100%)}.mdc-switch__handle{display:flex;pointer-events:auto;position:absolute;top:50%;transform:translateY(-50%);left:0;right:auto}[dir=rtl] .mdc-switch__handle,.mdc-switch__handle[dir=rtl]{left:auto;right:0}.mdc-switch__handle::before,.mdc-switch__handle::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";width:100%;height:100%;left:0;position:absolute;top:0;transition:background-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1),border-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);z-index:-1}@media screen and (forced-colors: active){.mdc-switch__handle::before,.mdc-switch__handle::after{border-color:currentColor}}.mdc-switch__shadow{border-radius:inherit;bottom:0;left:0;position:absolute;right:0;top:0}.mdc-elevation-overlay{bottom:0;left:0;right:0;top:0}.mdc-switch__ripple{left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);z-index:-1}.mdc-switch:disabled .mdc-switch__ripple{display:none}.mdc-switch__icons{height:100%;position:relative;width:100%;z-index:1}.mdc-switch__icon{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0;opacity:0;transition:opacity 30ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-switch--selected .mdc-switch__icon--on,.mdc-switch--unselected .mdc-switch__icon--off{opacity:1;transition:opacity 45ms 30ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle .mdc-switch--disabled+label{color:var(--mdc-switch-disabled-label-text-color)}.mdc-switch{width:var(--mdc-switch-track-width)}.mdc-switch.mdc-switch--selected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-selected-handle-color)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-hover-handle-color)}.mdc-switch.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-focus-handle-color)}.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-selected-pressed-handle-color)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-selected-handle-color)}.mdc-switch.mdc-switch--unselected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-unselected-handle-color)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-hover-handle-color)}.mdc-switch.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-focus-handle-color)}.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-unselected-pressed-handle-color)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-unselected-handle-color)}.mdc-switch .mdc-switch__handle::before{background:var(--mdc-switch-handle-surface-color)}.mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation)}.mdc-switch:disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation)}.mdc-switch .mdc-switch__focus-ring-wrapper,.mdc-switch .mdc-switch__handle{height:var(--mdc-switch-handle-height)}.mdc-switch .mdc-switch__handle{border-radius:var(--mdc-switch-handle-shape)}.mdc-switch .mdc-switch__handle{width:var(--mdc-switch-handle-width)}.mdc-switch .mdc-switch__handle-track{width:calc(100% - var(--mdc-switch-handle-width))}.mdc-switch.mdc-switch--selected:enabled .mdc-switch__icon{fill:var(--mdc-switch-selected-icon-color)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-selected-icon-color)}.mdc-switch.mdc-switch--unselected:enabled .mdc-switch__icon{fill:var(--mdc-switch-unselected-icon-color)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-unselected-icon-color)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-selected-icon-opacity)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-unselected-icon-opacity)}.mdc-switch.mdc-switch--selected .mdc-switch__icon{width:var(--mdc-switch-selected-icon-size);height:var(--mdc-switch-selected-icon-size)}.mdc-switch.mdc-switch--unselected .mdc-switch__icon{width:var(--mdc-switch-unselected-icon-size);height:var(--mdc-switch-unselected-icon-size)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-hover-state-layer-color)}.mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-focus-state-layer-color)}.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-pressed-state-layer-color)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-hover-state-layer-color)}.mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-focus-state-layer-color)}.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-pressed-state-layer-color)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-selected-hover-state-layer-opacity)}.mdc-switch.mdc-switch--selected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-selected-focus-state-layer-opacity)}.mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-selected-pressed-state-layer-opacity)}.mdc-switch.mdc-switch--selected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-selected-pressed-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-unselected-hover-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-unselected-focus-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity)}.mdc-switch .mdc-switch__ripple{height:var(--mdc-switch-state-layer-size);width:var(--mdc-switch-state-layer-size)}.mdc-switch .mdc-switch__track{height:var(--mdc-switch-track-height)}.mdc-switch:disabled .mdc-switch__track{opacity:var(--mdc-switch-disabled-track-opacity)}.mdc-switch:enabled .mdc-switch__track::after{background:var(--mdc-switch-selected-track-color)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-hover-track-color)}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-focus-track-color)}.mdc-switch:enabled:active .mdc-switch__track::after{background:var(--mdc-switch-selected-pressed-track-color)}.mdc-switch:disabled .mdc-switch__track::after{background:var(--mdc-switch-disabled-selected-track-color)}.mdc-switch:enabled .mdc-switch__track::before{background:var(--mdc-switch-unselected-track-color)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-hover-track-color)}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-focus-track-color)}.mdc-switch:enabled:active .mdc-switch__track::before{background:var(--mdc-switch-unselected-pressed-track-color)}.mdc-switch:disabled .mdc-switch__track::before{background:var(--mdc-switch-disabled-unselected-track-color)}.mdc-switch .mdc-switch__track{border-radius:var(--mdc-switch-track-shape)}.mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation-shadow)}.mdc-switch:disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation-shadow)}.mat-mdc-slide-toggle{display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple,.mat-mdc-slide-toggle .mdc-switch__ripple::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple:not(:empty),.mat-mdc-slide-toggle .mdc-switch__ripple::after:not(:empty){transform:translateZ(0)}.mat-mdc-slide-toggle .mdc-switch__ripple::after{content:"";opacity:0}.mat-mdc-slide-toggle .mdc-switch:hover .mdc-switch__ripple::after{opacity:.04;transition:opacity 75ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mdc-switch .mdc-switch__ripple::after{opacity:.12}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mat-mdc-focus-indicator::before{content:""}.mat-mdc-slide-toggle .mat-ripple-element{opacity:.12}.mat-mdc-slide-toggle .mat-mdc-focus-indicator::before{border-radius:50%}.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle-track,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-elevation-overlay,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__icon,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::after,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::after{transition:none}.mat-mdc-slide-toggle .mdc-switch:enabled+.mdc-label{cursor:pointer}.mdc-switch__handle{transition:width 75ms cubic-bezier(0.4, 0, 0.2, 1),height 75ms cubic-bezier(0.4, 0, 0.2, 1),margin 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-switch--selected .mdc-switch__track::before{opacity:var(--mat-switch-hidden-track-opacity);transition:var(--mat-switch-hidden-track-transition)}.mdc-switch--selected .mdc-switch__track::after{opacity:var(--mat-switch-visible-track-opacity);transition:var(--mat-switch-visible-track-transition)}.mdc-switch--unselected .mdc-switch__track::before{opacity:var(--mat-switch-visible-track-opacity);transition:var(--mat-switch-visible-track-transition)}.mdc-switch--unselected .mdc-switch__track::after{opacity:var(--mat-switch-hidden-track-opacity);transition:var(--mat-switch-hidden-track-transition)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle{width:var(--mat-switch-unselected-handle-size);height:var(--mat-switch-unselected-handle-size)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle{width:var(--mat-switch-selected-handle-size);height:var(--mat-switch-selected-handle-size)}.mat-mdc-slide-toggle .mdc-switch__handle:has(.mdc-switch__icons){width:var(--mat-switch-with-icon-handle-size);height:var(--mat-switch-with-icon-handle-size)}.mat-mdc-slide-toggle:active .mdc-switch:not(.mdc-switch--disabled) .mdc-switch__handle{width:var(--mat-switch-pressed-handle-size);height:var(--mat-switch-pressed-handle-size)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle{margin:var(--mat-switch-selected-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-switch-selected-with-icon-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle{margin:var(--mat-switch-unselected-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-switch-unselected-with-icon-handle-horizontal-margin)}.mat-mdc-slide-toggle:active .mdc-switch--selected:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-switch-selected-pressed-handle-horizontal-margin)}.mat-mdc-slide-toggle:active .mdc-switch--unselected:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-switch-unselected-pressed-handle-horizontal-margin)}.mdc-switch__track::after,.mdc-switch__track::before{border-width:var(--mat-switch-track-outline-width);border-color:var(--mat-switch-track-outline-color)}.mdc-switch--selected .mdc-switch__track::after,.mdc-switch--selected .mdc-switch__track::before{border-width:var(--mat-switch-selected-track-outline-width)}.mdc-switch--disabled .mdc-switch__track::after,.mdc-switch--disabled .mdc-switch__track::before{border-width:var(--mat-switch-disabled-unselected-track-outline-width);border-color:var(--mat-switch-disabled-unselected-track-outline-color)}.mdc-switch--disabled.mdc-switch--selected .mdc-switch__handle::after{opacity:var(--mat-switch-disabled-selected-handle-opacity)}.mdc-switch--disabled.mdc-switch--unselected .mdc-switch__handle::after{opacity:var(--mat-switch-disabled-unselected-handle-opacity)}'],encapsulation:2,changeDetection:0});let n=t;return n})();var Wu=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({imports:[ma,K,K]});let n=t;return n})();function E0(n,t){if(n&1){let r=mt();h(0,"div",1)(1,"button",2),S("click",function(){$(r);let i=G();return W(i.action())}),C(2),f()()}if(n&2){let r=G();v(2),Wt(" ",r.data.action," ")}}var D0=["label"];function S0(n,t){}var T0=Math.pow(2,31)-1,Do=class{constructor(t,r){this._overlayRef=r,this._afterDismissed=new E,this._afterOpened=new E,this._onAction=new E,this._dismissedByAction=!1,this.containerInstance=t,t._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(t){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(t,T0))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}},Gu=new y("MatSnackBarData"),kn=class{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}},A0=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=I({type:t,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"],standalone:!0});let n=t;return n})(),M0=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=I({type:t,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"],standalone:!0});let n=t;return n})(),R0=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=I({type:t,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"],standalone:!0});let n=t;return n})(),qu=(()=>{let t=class t{constructor(e,i){this.snackBarRef=e,this.data=i}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}};t.\u0275fac=function(i){return new(i||t)(l(Do),l(Gu))},t.\u0275cmp=T({type:t,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],standalone:!0,features:[A],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(i,o){i&1&&(h(0,"div",0),C(1),f(),B(2,E0,3,1,"div",1)),i&2&&(v(),Wt(" ",o.data.message,` -`),v(),Q(2,o.hasAction?2:-1))},dependencies:[xe,A0,M0,R0],styles:[".mat-mdc-simple-snack-bar{display:flex}"],encapsulation:2,changeDetection:0});let n=t;return n})(),O0={snackBarState:Ne("state",[Zt("void, hidden",It({transform:"scale(0.8)",opacity:0})),Zt("visible",It({transform:"scale(1)",opacity:1})),Gt("* => visible",Bt("150ms cubic-bezier(0, 0, 0.2, 1)")),Gt("* => void, * => hidden",Bt("75ms cubic-bezier(0.4, 0.0, 1, 1)",It({opacity:0})))])},F0=0,P0=(()=>{let t=class t extends pi{constructor(e,i,o,a,s){super(),this._ngZone=e,this._elementRef=i,this._changeDetectorRef=o,this._platform=a,this.snackBarConfig=s,this._document=_(L),this._trackedModals=new Set,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new E,this._onExit=new E,this._onEnter=new E,this._animationState="void",this._liveElementId=`mat-snack-bar-container-live-${F0++}`,this.attachDomPortal=c=>{this._assertNotAttached();let d=this._portalOutlet.attachDomPortal(c);return this._afterPortalAttached(),d},s.politeness==="assertive"&&!s.announcementMessage?this._live="assertive":s.politeness==="off"?this._live="off":this._live="polite",this._platform.FIREFOX&&(this._live==="polite"&&(this._role="status"),this._live==="assertive"&&(this._role="alert"))}attachComponentPortal(e){this._assertNotAttached();let i=this._portalOutlet.attachComponentPortal(e);return this._afterPortalAttached(),i}attachTemplatePortal(e){this._assertNotAttached();let i=this._portalOutlet.attachTemplatePortal(e);return this._afterPortalAttached(),i}onAnimationEnd(e){let{fromState:i,toState:o}=e;if((o==="void"&&i!=="void"||o==="hidden")&&this._completeExit(),o==="visible"){let a=this._onEnter;this._ngZone.run(()=>{a.next(),a.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.markForCheck(),this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{this._animationState="hidden",this._changeDetectorRef.markForCheck(),this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){queueMicrotask(()=>{this._onExit.next(),this._onExit.complete()})}_afterPortalAttached(){let e=this._elementRef.nativeElement,i=this.snackBarConfig.panelClass;i&&(Array.isArray(i)?i.forEach(s=>e.classList.add(s)):e.classList.add(i)),this._exposeToModals();let o=this._label.nativeElement,a="mdc-snackbar__label";o.classList.toggle(a,!o.querySelector(`.${a}`))}_exposeToModals(){let e=this._liveElementId,i=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let o=0;o{let i=e.getAttribute("aria-owns");if(i){let o=i.replace(this._liveElementId,"").trim();o.length>0?e.setAttribute("aria-owns",o):e.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{let e=this._elementRef.nativeElement.querySelector("[aria-hidden]"),i=this._elementRef.nativeElement.querySelector("[aria-live]");if(e&&i){let o=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&e.contains(document.activeElement)&&(o=document.activeElement),e.removeAttribute("aria-hidden"),i.appendChild(e),o?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}};t.\u0275fac=function(i){return new(i||t)(l(k),l(D),l(pt),l(J),l(kn))},t.\u0275cmp=T({type:t,selectors:[["mat-snack-bar-container"]],viewQuery:function(i,o){if(i&1&&(nt(Kt,7),nt(D0,7)),i&2){let a;U(a=H())&&(o._portalOutlet=a.first),U(a=H())&&(o._label=a.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container","mdc-snackbar--open"],hostVars:1,hostBindings:function(i,o){i&1&&zo("@state.done",function(s){return o.onAnimationEnd(s)}),i&2&&Bo("@state",o._animationState)},standalone:!0,features:[it,A],decls:6,vars:3,consts:[["label",""],[1,"mdc-snackbar__surface"],[1,"mat-mdc-snack-bar-label"],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(i,o){i&1&&(h(0,"div",1)(1,"div",2,0)(3,"div",3),B(4,S0,0,0,"ng-template",4),f(),M(5,"div"),f()()),i&2&&(v(5),Y("aria-live",o._live)("role",o._role)("id",o._liveElementId))},dependencies:[Kt],styles:['.mdc-snackbar{display:none;position:fixed;right:0;bottom:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;pointer-events:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mdc-snackbar--opening,.mdc-snackbar--open,.mdc-snackbar--closing{display:flex}.mdc-snackbar--open .mdc-snackbar__label,.mdc-snackbar--open .mdc-snackbar__actions{visibility:visible}.mdc-snackbar__surface{padding-left:0;padding-right:8px;display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;transform:scale(0.8);opacity:0}.mdc-snackbar__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-snackbar__surface::before{border-color:CanvasText}}[dir=rtl] .mdc-snackbar__surface,.mdc-snackbar__surface[dir=rtl]{padding-left:8px;padding-right:0}.mdc-snackbar--open .mdc-snackbar__surface{transform:scale(1);opacity:1;pointer-events:auto}.mdc-snackbar--closing .mdc-snackbar__surface{transform:scale(1)}.mdc-snackbar__label{padding-left:16px;padding-right:8px;width:100%;flex-grow:1;box-sizing:border-box;margin:0;visibility:hidden;padding-top:14px;padding-bottom:14px}[dir=rtl] .mdc-snackbar__label,.mdc-snackbar__label[dir=rtl]{padding-left:8px;padding-right:16px}.mdc-snackbar__label::before{display:inline;content:attr(data-mdc-snackbar-label-text)}.mdc-snackbar__actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box;visibility:hidden}.mdc-snackbar__action+.mdc-snackbar__dismiss{margin-left:8px;margin-right:0}[dir=rtl] .mdc-snackbar__action+.mdc-snackbar__dismiss,.mdc-snackbar__action+.mdc-snackbar__dismiss[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-snack-bar-container{margin:8px;position:static}.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:344px}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:100%}}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container{width:100vw}}.mat-mdc-snack-bar-container .mdc-snackbar__surface{max-width:672px}.mat-mdc-snack-bar-container .mdc-snackbar__surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{background-color:var(--mdc-snackbar-container-color)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{border-radius:var(--mdc-snackbar-container-shape)}.mat-mdc-snack-bar-container .mdc-snackbar__label{color:var(--mdc-snackbar-supporting-text-color)}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-size:var(--mdc-snackbar-supporting-text-size);font-family:var(--mdc-snackbar-supporting-text-font);font-weight:var(--mdc-snackbar-supporting-text-weight);line-height:var(--mdc-snackbar-supporting-text-line-height)}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){color:var(--mat-snack-bar-button-color);--mat-text-button-state-layer-color:currentColor;--mat-text-button-ripple-color:currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{opacity:.1}.mat-mdc-snack-bar-container .mdc-snackbar__label::before{display:none}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-handset .mdc-snackbar__surface{width:100%}'],encapsulation:2,data:{animation:[O0.snackBarState]}});let n=t;return n})();function N0(){return new kn}var L0=new y("mat-snack-bar-default-options",{providedIn:"root",factory:N0}),Fe=(()=>{let t=class t{get _openedSnackBarRef(){let e=this._parentSnackBar;return e?e._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(e){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=e:this._snackBarRefAtThisLevel=e}constructor(e,i,o,a,s,c){this._overlay=e,this._live=i,this._injector=o,this._breakpointObserver=a,this._parentSnackBar=s,this._defaultConfig=c,this._snackBarRefAtThisLevel=null,this.simpleSnackBarComponent=qu,this.snackBarContainerComponent=P0,this.handsetCssClass="mat-mdc-snack-bar-handset"}openFromComponent(e,i){return this._attach(e,i)}openFromTemplate(e,i){return this._attach(e,i)}open(e,i="",o){let a=g(g({},this._defaultConfig),o);return a.data={message:e,action:i},a.announcementMessage===e&&(a.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,a)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(e,i){let o=i&&i.viewContainerRef&&i.viewContainerRef.injector,a=xt.create({parent:o||this._injector,providers:[{provide:kn,useValue:i}]}),s=new Ae(this.snackBarContainerComponent,i.viewContainerRef,a),c=e.attach(s);return c.instance.snackBarConfig=i,c.instance}_attach(e,i){let o=g(g(g({},new kn),this._defaultConfig),i),a=this._createOverlay(o),s=this._attachSnackBarContainer(a,o),c=new Do(s,a);if(e instanceof Vt){let d=new se(e,null,{$implicit:o.data,snackBarRef:c});c.instance=s.attachTemplatePortal(d)}else{let d=this._createInjector(o,c),m=new Ae(e,void 0,d),p=s.attachComponentPortal(m);c.instance=p.instance}return this._breakpointObserver.observe(qe.HandsetPortrait).pipe(dt(a.detachments())).subscribe(d=>{a.overlayElement.classList.toggle(this.handsetCssClass,d.matches)}),o.announcementMessage&&s._onAnnounce.subscribe(()=>{this._live.announce(o.announcementMessage,o.politeness)}),this._animateSnackBar(c,o),this._openedSnackBarRef=c,this._openedSnackBarRef}_animateSnackBar(e,i){e.afterDismissed().subscribe(()=>{this._openedSnackBarRef==e&&(this._openedSnackBarRef=null),i.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{e.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):e.containerInstance.enter(),i.duration&&i.duration>0&&e.afterOpened().subscribe(()=>e._dismissAfter(i.duration))}_createOverlay(e){let i=new Xe;i.direction=e.direction;let o=this._overlay.position().global(),a=e.direction==="rtl",s=e.horizontalPosition==="left"||e.horizontalPosition==="start"&&!a||e.horizontalPosition==="end"&&a,c=!s&&e.horizontalPosition!=="center";return s?o.left("0"):c?o.right("0"):o.centerHorizontally(),e.verticalPosition==="top"?o.top("0"):o.bottom("0"),i.positionStrategy=o,this._overlay.create(i)}_createInjector(e,i){let o=e&&e.viewContainerRef&&e.viewContainerRef.injector;return xt.create({parent:o||this._injector,providers:[{provide:Do,useValue:i},{provide:Gu,useValue:e.data}]})}};t.\u0275fac=function(i){return new(i||t)(u(yt),u(Kl),u(xt),u(mn),u(t,12),u(L0))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();var In=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({providers:[Fe],imports:[Be,Me,St,K,qu,K]});let n=t;return n})();var ha=(()=>{let t=class t{constructor(e){this.matInput=e}ngOnInit(){setTimeout(()=>this.matInput.focus())}};t.\u0275fac=function(i){return new(i||t)(l(xi))},t.\u0275dir=I({type:t,selectors:[["","matInputAutofocus",""]],standalone:!0});let n=t;return n})();var ii="https://tot-fet-backend-production.up.railway.app";var ke=(()=>{let t=class t{constructor(e){this.http=e,this._items=new At([]),this._search=new At(""),this.items=wi([this._items.asObservable(),this._search.asObservable()]).pipe(F(([i,o])=>i.filter(a=>a.name.toLowerCase().includes(o.toLowerCase())))),this.openItems=this.items.pipe(F(i=>i.filter(o=>!o.closed))),this.closedItems=this.items.pipe(F(i=>i.filter(o=>o.closed))),this.isLoading=!0}getAllItemNames(){return Array.from(new Set(this._items.value.map(e=>e.name)))}setSearchValue(e){this._search.next(e)}refreshItems(){this.isLoading=!0,this.http.get(`${ii}/items`).subscribe(e=>(this.isLoading=!1,this._items.next(e)))}addItem(e){this.isLoading=!0;let i=this._items.value.find(o=>o.name===e.name);return i?i.closed?this.editItem(ht(g({},e),{id:i.id})):this.editItem(ht(g({},e),{amount:(e.amount??0)+i.amount,id:i.id})):this.http.post(`${ii}/items`,e).pipe(lt(o=>{this._items.next([...this._items.value,o]),this.isLoading=!1}))}editItem(e){return this.isLoading=!0,this.http.put(`${ii}/items`,e).pipe(lt(i=>{let o=[...this._items.value],a=o.findIndex(s=>s.id===e.id);o[a]=i,this._items.next(o),this.isLoading=!1}))}removeClosed(){return this.isLoading=!0,this.http.delete(`${ii}/items/closed`).pipe(lt(()=>{this._items.next(this._items.value.filter(e=>!e.closed)),this.isLoading=!1}))}removeItem(e){return this.isLoading=!0,this.http.delete(`${ii}/items/${e.id}`).pipe(lt(()=>{let i=[...this._items.value],o=i.findIndex(a=>a.id===e.id);i.splice(o,1),this._items.next(i),this.isLoading=!1}))}closeItem(e){let i=[...this._items.value],o=i.findIndex(a=>a.id===e);return i[o].closed=!0,this._items.next(i),this.http.post(`${ii}/items/close`,{id:e}).pipe(me(a=>(i[o].closed=!1,this._items.next(i),Jt(()=>a))))}};t.\u0275fac=function(i){return new(i||t)(u(Di))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();var j0=["nameInput"];function V0(n,t){if(n&1&&(h(0,"mat-option",6),C(1),f()),n&2){let r=t.$implicit;j("value",r),v(),be(r)}}function B0(n,t){n&1&&(h(0,"mat-error"),C(1,"El "),h(2,"b"),C(3,"nom"),f(),C(4," \xE9s obligatori"),f())}function z0(n,t){n&1&&(h(0,"mat-error"),C(1,"La "),h(2,"b"),C(3,"quantitat"),f(),C(4," \xE9s obligatoria"),f())}function U0(n,t){n&1&&(h(0,"mat-error"),C(1,"La "),h(2,"b"),C(3,"quantitat"),f(),C(4," ha de ser com a m\xEDnim 1"),f())}function H0(n,t){n&1&&(h(0,"mat-error"),C(1,"La "),h(2,"b"),C(3,"quantitat"),f(),C(4," ha de ser menor de 100"),f())}function $0(n,t){if(n&1&&(h(0,"mat-slide-toggle",9),C(1),f()),n&2){let r,e=G();v(),Wt(" ",(r=e.itemForm.get("closed"))!=null&&r.value?"Comprat":"Per comprar"," ")}}function W0(n,t){if(n&1){let r=mt();h(0,"mat-checkbox",13),Id("ngModelChange",function(i){$(r);let o=G();return kd(o.addMore,i)||(o.addMore=i),W(i)}),C(1," Afegir-ne m\xE9s "),f()}if(n&2){let r=G();Cd("ngModel",r.addMore)}}var So=(()=>{let t=class t{constructor(e,i,o,a){this.item=e,this._bottomSheetRef=i,this._snackBar=o,this.itemService=a,this.itemForm=new vi({name:new ei(""),amount:new ei(1),closed:new ei(!1)}),this.allItemNames=this.itemService.getAllItemNames(),this.addMore=!1}ngOnInit(){this.filteredItems=this.itemForm.get("name").valueChanges.pipe(Ft(""),F(e=>e?this.allItemNames.filter(i=>i.toLowerCase().includes(e.toLowerCase())):[])),this.itemForm.setValue({name:this.item?.name??"",amount:this.item?.amount??1,closed:this.item?.closed??!1})}submitForm(){this.itemForm.invalid||(this.item?this.updateItem():this.addItem())}updateItem(){this.itemService.editItem(g({id:this.item.id},this.itemForm.value)).subscribe(()=>{this._snackBar.open("Compra actualitzada correctament","TANCAR",{verticalPosition:"top",duration:5e3})}),this._bottomSheetRef.dismiss()}addItem(){this.itemService.addItem(this.itemForm.value).subscribe(()=>{this._snackBar.open("Compra afegida correctament","TANCAR",{verticalPosition:"top",duration:5e3})}),this.addMore?(this.nameInput.nativeElement.focus(),this.itemForm.reset(),this.itemForm.setValue({name:"",amount:1,closed:!1})):this._bottomSheetRef.dismiss()}};t.\u0275fac=function(i){return new(i||t)(l(Tc),l(vn),l(Fe),l(ke))},t.\u0275cmp=T({type:t,selectors:[["app-new-item"]],viewQuery:function(i,o){if(i&1&&nt(j0,5),i&2){let a;U(a=H())&&(o.nameInput=a.first)}},standalone:!0,features:[A],decls:28,vars:14,consts:[["nameInput",""],["auto","matAutocomplete"],[3,"keydown.enter","formGroup"],["appearance","fill",1,"input"],["matInput","","matInputAutofocus","","autofocus","","formControlName","name","type","text","maxlength","100","placeholder","Nom","required","",3,"matAutocomplete"],["autoActiveFirstOption",""],[3,"value"],["align","end"],["matInput","","formControlName","amount","type","number","min","1","max","100","placeholder","Quantitat","required",""],["formControlName","closed",1,"checkbox"],[1,"horizontal"],["mat-raised-button","","color","primary",3,"click","disabled"],[3,"ngModel"],[3,"ngModelChange","ngModel"]],template:function(i,o){if(i&1){let a=mt();h(0,"div",2),S("keydown.enter",function(c){return $(a),c.preventDefault(),W(o.submitForm())}),h(1,"h3"),C(2),f(),h(3,"mat-form-field",3)(4,"mat-label"),C(5,"Nom"),f(),M(6,"input",4,0),h(8,"mat-autocomplete",5,1),he(10,V0,2,2,"mat-option",6,Ii),Ee(12,"async"),f(),h(13,"mat-hint",7),C(14),f(),B(15,B0,5,0,"mat-error"),f(),h(16,"mat-form-field",3)(17,"mat-label"),C(18,"Quantitat"),f(),M(19,"input",8),B(20,z0,5,0,"mat-error")(21,U0,5,0,"mat-error")(22,H0,5,0,"mat-error"),f(),B(23,$0,2,1,"mat-slide-toggle",9),f(),h(24,"div",10)(25,"button",11),S("click",function(){return $(a),W(o.submitForm())}),C(26),f(),B(27,W0,2,1,"mat-checkbox",12),f()}if(i&2){let a,s,c,d,m,p=pe(9);j("formGroup",o.itemForm),v(2),Wt("",o.item?"Editar":"Afegir"," compra"),v(4),j("matAutocomplete",p),v(4),fe(De(12,12,o.filteredItems)),v(4),Wt(" ",(a=o.itemForm.get("name"))==null||a.value==null?null:a.value.length," / 100 "),v(),Q(15,(s=o.itemForm.get("name"))!=null&&s.hasError("required")?15:-1),v(5),Q(20,(c=o.itemForm.get("amount"))!=null&&c.hasError("required")?20:-1),v(),Q(21,(d=o.itemForm.get("amount"))!=null&&d.hasError("min")?21:-1),v(),Q(22,(m=o.itemForm.get("amount"))!=null&&m.hasError("max")?22:-1),v(),Q(23,o.item?23:-1),v(2),j("disabled",o.itemForm.invalid),v(),Wt(" ",o.item?"Guardar":"Afegir"," "),v(),Q(27,o.item?-1:27)}},dependencies:[Oe,Cn,yi,aa,sa,Ce,xi,oa,xn,jc,Jr,ta,Io,zc,Bc,Vc,Vi,ko,wn,Lc,St,xe,In,$u,da,Wu,ma,zu,Vu,Fr,qc,ha,Xi],styles:[".input[_ngcontent-%COMP%]{width:100%}.horizontal[_ngcontent-%COMP%]{display:flex;gap:1rem;margin-bottom:1rem}.checkbox[_ngcontent-%COMP%]{margin-bottom:20px}"]});let n=t;return n})();function G0(n,t){if(n&1){let r=mt();h(0,"mat-form-field",0)(1,"mat-label"),C(2,"Buscar"),f(),h(3,"input",1),S("blur",function(){$(r);let i=G();return W(i.closeSearch())})("input",function(i){$(r);let o=G();return W(o.onSearchBoxChange(i))}),f(),h(4,"button",2),S("click",function(){$(r);let i=G();return W(i.closeSearch())}),h(5,"mat-icon"),C(6,"close"),f()()(),h(7,"button",3),S("click",function(){$(r);let i=G();return W(i.openSearchBox=!1)}),h(8,"mat-icon"),C(9,"close"),f()()}}function q0(n,t){if(n&1){let r=mt();h(0,"button",4),S("click",function(){$(r);let i=G();return W(i.openSearchBox=!0)}),h(1,"mat-icon"),C(2,"search"),f()()}}var Yu=(()=>{let t=class t{constructor(e){this.itemsService=e,this.openSearchBox=!1}closeSearch(){this.openSearchBox=!1,this.itemsService.setSearchValue("")}onSearchBoxChange(e){this.itemsService.setSearchValue(e.target.value)}};t.\u0275fac=function(i){return new(i||t)(l(ke))},t.\u0275cmp=T({type:t,selectors:[["app-search-bar"]],standalone:!0,features:[A],decls:2,vars:1,consts:[["appearance","outline",1,"search-box"],["matInput","","matInputAutofocus","","autofocus","","type","text",3,"blur","input"],["matSuffix","","mat-icon-button","","aria-label","Clear",3,"click"],["mat-icon-button","","aria-label","Close",3,"click"],["mat-icon-button","","aria-label","Search",3,"click"]],template:function(i,o){i&1&&B(0,G0,10,0)(1,q0,3,0),i&2&&Q(0,o.openSearchBox?0:1)},dependencies:[ha,Ue,gi,St,bi,Ce,xi,Cn,yi,Nu],styles:[".search-box[_ngcontent-%COMP%]{position:fixed;top:1rem;left:1rem;background-color:#2c2c2c;width:calc(100% - 2rem)} .search-box>.mat-mdc-form-field-subscript-wrapper{display:none}"]});let n=t;return n})();var Xu=(()=>{let t=class t{constructor(e,i){this.itemsService=e,this._bottomSheet=i}openAddMenu(){this._bottomSheet.open(So)}refreshItems(){this.itemsService.refreshItems()}};t.\u0275fac=function(i){return new(i||t)(l(ke),l(_o))},t.\u0275cmp=T({type:t,selectors:[["app-bottom-bar-menu"]],standalone:!0,features:[A],decls:8,vars:0,consts:[["mat-icon-button","","aria-label","Refresh",3,"click"],["mat-fab","","color","primary",1,"add-button",3,"click"]],template:function(i,o){i&1&&(h(0,"div"),M(1,"app-search-bar"),h(2,"button",0),S("click",function(){return o.refreshItems()}),h(3,"mat-icon"),C(4,"refresh"),f()()(),h(5,"button",1),S("click",function(){return o.openAddMenu()}),h(6,"mat-icon"),C(7,"add"),f()())},dependencies:[Vr,Ce,Ue,gi,St,bi,Nm,Yu],styles:[".add-button[_ngcontent-%COMP%]{position:absolute;bottom:1.5rem;right:1rem;z-index:1}"]});let n=t;return n})();function Y0(n,t){}var To=class{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}},Xc="mdc-dialog--open",Zu="mdc-dialog--opening",Qu="mdc-dialog--closing",X0=150,Z0=75,Q0=(()=>{let t=class t extends bo{constructor(e,i,o,a,s,c,d,m,p){super(e,i,o,a,s,c,d,p),this._animationMode=m,this._animationStateChanged=new V,this._animationsEnabled=this._animationMode!=="NoopAnimations",this._actionSectionCount=0,this._hostElement=this._elementRef.nativeElement,this._enterAnimationDuration=this._animationsEnabled?Ju(this._config.enterAnimationDuration)??X0:0,this._exitAnimationDuration=this._animationsEnabled?Ju(this._config.exitAnimationDuration)??Z0:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(Ku,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(Zu,Xc)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(Xc),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(Xc),this._animationsEnabled?(this._hostElement.style.setProperty(Ku,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(Qu)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(e){this._actionSectionCount+=e,this._changeDetectorRef.markForCheck()}_clearAnimationClasses(){this._hostElement.classList.remove(Zu,Qu)}_waitForAnimationToComplete(e,i){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(i,e)}_requestAnimationFrame(e){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(e):e()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer)}attachComponentPortal(e){let i=super.attachComponentPortal(e);return i.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),i}};t.\u0275fac=function(i){return new(i||t)(l(D),l(hn),l(L,8),l(To),l(Pi),l(k),l(Re),l(_t,8),l(ae))},t.\u0275cmp=T({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(i,o){i&2&&(Xt("id",o._config.id),Y("aria-modal",o._config.ariaModal)("role",o._config.role)("aria-labelledby",o._config.ariaLabel?null:o._ariaLabelledByQueue[0])("aria-label",o._config.ariaLabel)("aria-describedby",o._config.ariaDescribedBy||null),z("_mat-animation-noopable",!o._animationsEnabled)("mat-mdc-dialog-container-with-actions",o._actionSectionCount>0))},standalone:!0,features:[it,A],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(i,o){i&1&&(h(0,"div",0)(1,"div",1),B(2,Y0,0,0,"ng-template",2),f()())},dependencies:[Kt],styles:['.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:none}@media(max-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 112px)}}@media(max-width: 720px)and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:560px}}@media(max-width: 720px)and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media(max-width: 720px)and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media(max-width: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-height: 400px),(max-width: 600px),(min-width: 720px)and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(min-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto;outline:0;transform:scale(0.8)}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.mdc-dialog__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-dialog__surface::before{border-color:CanvasText}}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid rgba(0,0,0,0);display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}@media screen and (forced-colors: active){.mdc-dialog--fullscreen .mdc-dialog__header{border-bottom-color:CanvasText}}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--fullscreen--titleless .mdc-dialog__close{margin-top:4px}.mdc-dialog--fullscreen--titleless.mdc-dialog--scrollable .mdc-dialog__close{margin-top:0}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--closing .mdc-dialog__surface{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{opacity:1}.mdc-dialog--open .mdc-dialog__surface{transform:none}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%;z-index:1}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-dialog--no-content-padding .mdc-dialog__content{padding:0}.mdc-dialog--sheet .mdc-dialog__container .mdc-dialog__close{right:12px;top:9px;position:absolute;z-index:1}.mdc-dialog__scrim--removed{pointer-events:none}.mdc-dialog__scrim--removed .mdc-dialog__scrim,.mdc-dialog__scrim--removed .mdc-dialog__surface-scrim{display:none}.mat-mdc-dialog-content{max-height:65vh}.mat-mdc-dialog-container{position:static;display:block}.mat-mdc-dialog-container,.mat-mdc-dialog-container .mdc-dialog__container,.mat-mdc-dialog-container .mdc-dialog__surface{max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mat-mdc-dialog-container .mdc-dialog__surface{width:100%;height:100%}.mat-mdc-dialog-component-host{display:contents}.mat-mdc-dialog-container{--mdc-dialog-container-elevation: var(--mdc-dialog-container-elevation-shadow);outline:0}.mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--mdc-dialog-container-color, white)}.mat-mdc-dialog-container .mdc-dialog__surface{box-shadow:var(--mdc-dialog-container-elevation, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12))}.mat-mdc-dialog-container .mdc-dialog__surface{border-radius:var(--mdc-dialog-container-shape, 4px)}.mat-mdc-dialog-container .mdc-dialog__title{font-family:var(--mdc-dialog-subhead-font, Roboto, sans-serif);line-height:var(--mdc-dialog-subhead-line-height, 1.5rem);font-size:var(--mdc-dialog-subhead-size, 1rem);font-weight:var(--mdc-dialog-subhead-weight, 400);letter-spacing:var(--mdc-dialog-subhead-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__title{color:var(--mdc-dialog-subhead-color, rgba(0, 0, 0, 0.87))}.mat-mdc-dialog-container .mdc-dialog__content{font-family:var(--mdc-dialog-supporting-text-font, Roboto, sans-serif);line-height:var(--mdc-dialog-supporting-text-line-height, 1.5rem);font-size:var(--mdc-dialog-supporting-text-size, 1rem);font-weight:var(--mdc-dialog-supporting-text-weight, 400);letter-spacing:var(--mdc-dialog-supporting-text-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__content{color:var(--mdc-dialog-supporting-text-color, rgba(0, 0, 0, 0.6))}.mat-mdc-dialog-container .mdc-dialog__container{transition:opacity linear var(--mat-dialog-transition-duration, 0ms)}.mat-mdc-dialog-container .mdc-dialog__surface{transition:transform var(--mat-dialog-transition-duration, 0ms) 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__container,.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__surface{transition:none}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 80vw);min-width:var(--mat-dialog-container-min-width, 0)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, 80vw)}}.mat-mdc-dialog-title{padding:var(--mat-dialog-headline-padding, 0 24px 9px)}.mat-mdc-dialog-content{display:block}.mat-mdc-dialog-container .mat-mdc-dialog-content{padding:var(--mat-dialog-content-padding, 20px 24px)}.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content{padding:var(--mat-dialog-with-actions-content-padding, 20px 24px)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{padding:var(--mat-dialog-actions-padding, 8px);justify-content:var(--mat-dialog-actions-alignment, start)}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start,.mat-mdc-dialog-actions[align=start]{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2});let n=t;return n})(),Ku="--mat-dialog-transition-duration";function Ju(n){return n==null?null:typeof n=="number"?n:n.endsWith("ms")?Te(n.substring(0,n.length-2)):n.endsWith("s")?Te(n.substring(0,n.length-1))*1e3:n==="0"?0:null}var fa=function(n){return n[n.OPEN=0]="OPEN",n[n.CLOSING=1]="CLOSING",n[n.CLOSED=2]="CLOSED",n}(fa||{}),ni=class{constructor(t,r,e){this._ref=t,this._containerInstance=e,this._afterOpened=new E,this._beforeClosed=new E,this._state=fa.OPEN,this.disableClose=r.disableClose,this.id=t.id,t.addPanelClass("mat-mdc-dialog-panel"),e._animationStateChanged.pipe(tt(i=>i.state==="opened"),rt(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),e._animationStateChanged.pipe(tt(i=>i.state==="closed"),rt(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),t.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),Dt(this.backdropClick(),this.keydownEvents().pipe(tt(i=>i.keyCode===27&&!this.disableClose&&!Rt(i)))).subscribe(i=>{this.disableClose||(i.preventDefault(),th(this,i.type==="keydown"?"keyboard":"mouse"))})}close(t){this._result=t,this._containerInstance._animationStateChanged.pipe(tt(r=>r.state==="closing"),rt(1)).subscribe(r=>{this._beforeClosed.next(t),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),r.totalTime+100)}),this._state=fa.CLOSING,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(t){let r=this._ref.config.positionStrategy;return t&&(t.left||t.right)?t.left?r.left(t.left):r.right(t.right):r.centerHorizontally(),t&&(t.top||t.bottom)?t.top?r.top(t.top):r.bottom(t.bottom):r.centerVertically(),this._ref.updatePosition(),this}updateSize(t="",r=""){return this._ref.updateSize(t,r),this}addPanelClass(t){return this._ref.addPanelClass(t),this}removePanelClass(t){return this._ref.removePanelClass(t),this}getState(){return this._state}_finishDialogClose(){this._state=fa.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};function th(n,t,r){return n._closeInteractionType=t,n.close(r)}var Zc=new y("MatMdcDialogData"),K0=new y("mat-mdc-dialog-default-options"),J0=new y("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let n=_(yt);return()=>n.scrollStrategies.block()}});var ty=0,Ao=(()=>{let t=class t{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(e,i,o,a,s,c,d,m){this._overlay=e,this._defaultOptions=a,this._scrollStrategy=s,this._parentDialog=c,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new E,this._afterOpenedAtThisLevel=new E,this.dialogConfigClass=To,this.afterAllClosed=le(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Ft(void 0))),this._dialog=i.get(go),this._dialogRefConstructor=ni,this._dialogContainerType=Q0,this._dialogDataToken=Zc}open(e,i){let o;i=g(g({},this._defaultOptions||new To),i),i.id=i.id||`mat-mdc-dialog-${ty++}`,i.scrollStrategy=i.scrollStrategy||this._scrollStrategy();let a=this._dialog.open(e,ht(g({},i),{positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:i},{provide:Ze,useValue:i}]},templateContext:()=>({dialogRef:o}),providers:(s,c,d)=>(o=new this._dialogRefConstructor(s,i,d),o.updatePosition(i?.position),[{provide:this._dialogContainerType,useValue:d},{provide:this._dialogDataToken,useValue:c.data},{provide:this._dialogRefConstructor,useValue:o}])}));return o.componentRef=a.componentRef,o.componentInstance=a.componentInstance,this.openDialogs.push(o),this.afterOpened.next(o),o.afterClosed().subscribe(()=>{let s=this.openDialogs.indexOf(o);s>-1&&(this.openDialogs.splice(s,1),this.openDialogs.length||this._getAfterAllClosed().next())}),o}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(e){let i=e.length;for(;i--;)e[i].close()}};t.\u0275fac=function(i){return new(i||t)(u(yt),u(xt),u(ci,8),u(K0,8),u(J0),u(t,12),u(gn),u(_t,8))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),ey=0,pa=(()=>{let t=class t{constructor(e,i,o){this.dialogRef=e,this._elementRef=i,this._dialog=o,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=ih(this._elementRef,this._dialog.openDialogs))}ngOnChanges(e){let i=e._matDialogClose||e._matDialogCloseResult;i&&(this.dialogResult=i.currentValue)}_onButtonClick(e){th(this.dialogRef,e.screenX===0&&e.screenY===0?"keyboard":"mouse",this.dialogResult)}};t.\u0275fac=function(i){return new(i||t)(l(ni,8),l(D),l(Ao))},t.\u0275dir=I({type:t,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(i,o){i&1&&S("click",function(s){return o._onButtonClick(s)}),i&2&&Y("aria-label",o.ariaLabel||null)("type",o.type)},inputs:{ariaLabel:[b.None,"aria-label","ariaLabel"],type:"type",dialogResult:[b.None,"mat-dialog-close","dialogResult"],_matDialogClose:[b.None,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],standalone:!0,features:[Ct]});let n=t;return n})(),eh=(()=>{let t=class t{constructor(e,i,o){this._dialogRef=e,this._elementRef=i,this._dialog=o}ngOnInit(){this._dialogRef||(this._dialogRef=ih(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd()})}ngOnDestroy(){this._dialogRef?._containerInstance&&Promise.resolve().then(()=>{this._onRemove()})}};t.\u0275fac=function(i){return new(i||t)(l(ni,8),l(D),l(Ao))},t.\u0275dir=I({type:t,standalone:!0});let n=t;return n})(),ba=(()=>{let t=class t extends eh{constructor(){super(...arguments),this.id=`mat-mdc-dialog-title-${ey++}`}_onAdd(){this._dialogRef._containerInstance?._addAriaLabelledBy?.(this.id)}_onRemove(){this._dialogRef?._containerInstance?._removeAriaLabelledBy?.(this.id)}};t.\u0275fac=(()=>{let e;return function(o){return(e||(e=jt(t)))(o||t)}})(),t.\u0275dir=I({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(i,o){i&2&&Xt("id",o.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],standalone:!0,features:[it]});let n=t;return n})(),ga=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=I({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],standalone:!0});let n=t;return n})(),_a=(()=>{let t=class t extends eh{_onAdd(){this._dialogRef._containerInstance?._updateActionSectionCount?.(1)}_onRemove(){this._dialogRef._containerInstance?._updateActionSectionCount?.(-1)}};t.\u0275fac=(()=>{let e;return function(o){return(e||(e=jt(t)))(o||t)}})(),t.\u0275dir=I({type:t,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(i,o){i&2&&z("mat-mdc-dialog-actions-align-start",o.align==="start")("mat-mdc-dialog-actions-align-center",o.align==="center")("mat-mdc-dialog-actions-align-end",o.align==="end")},inputs:{align:"align"},standalone:!0,features:[it]});let n=t;return n})();function ih(n,t){let r=n.nativeElement.parentElement;for(;r&&!r.classList.contains("mat-mdc-dialog-container");)r=r.parentElement;return r?t.find(e=>e.id===r.id):null}var nh=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({providers:[Ao],imports:[jr,Be,Me,K,K]});let n=t;return n})();var oh=(()=>{let t=class t{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(e){this._vertical=re(e)}get inset(){return this._inset}set inset(e){this._inset=re(e)}};t.\u0275fac=function(i){return new(i||t)},t.\u0275cmp=T({type:t,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(i,o){i&2&&(Y("aria-orientation",o.vertical?"vertical":"horizontal"),z("mat-divider-vertical",o.vertical)("mat-divider-horizontal",!o.vertical)("mat-divider-inset",o.inset))},inputs:{vertical:"vertical",inset:"inset"},standalone:!0,features:[A],decls:0,vars:0,template:function(i,o){},styles:[".mat-divider{display:block;margin:0;border-top-style:solid;border-top-color:var(--mat-divider-color);border-top-width:var(--mat-divider-width)}.mat-divider.mat-divider-vertical{border-top:0;border-right-style:solid;border-right-color:var(--mat-divider-color);border-right-width:var(--mat-divider-width)}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}"],encapsulation:2,changeDetection:0});let n=t;return n})(),rh=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({imports:[K,K]});let n=t;return n})();var ny=["tooltip"],ch=20;var dh=new y("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{let n=_(yt);return()=>n.scrollStrategies.reposition({scrollThrottle:ch})}});function oy(n){return()=>n.scrollStrategies.reposition({scrollThrottle:ch})}var ry={provide:dh,deps:[yt],useFactory:oy};function ay(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}var sy=new y("mat-tooltip-default-options",{providedIn:"root",factory:ay});var ah="tooltip-panel",sh=ve({passive:!0}),cy=8,dy=8,ly=24,my=200,lh=(()=>{let t=class t{get position(){return this._position}set position(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(e){this._positionAtOrigin=re(e),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(e){this._disabled=re(e),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=Te(e)}get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=Te(e),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(e){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=e!=null?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(e,i,o,a,s,c,d,m,p,w,R,Z){this._overlay=e,this._elementRef=i,this._scrollDispatcher=o,this._viewContainerRef=a,this._ngZone=s,this._platform=c,this._ariaDescriber=d,this._focusMonitor=m,this._dir=w,this._defaultOptions=R,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._tooltipComponent=uy,this._viewportMargin=8,this._cssClassPrefix="mat-mdc",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new E,this._scrollStrategy=p,this._document=Z,R&&(this._showDelay=R.showDelay,this._hideDelay=R.hideDelay,R.position&&(this.position=R.position),R.positionAtOrigin&&(this.positionAtOrigin=R.positionAtOrigin),R.touchGestures&&(this.touchGestures=R.touchGestures)),w.change.pipe(dt(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),this._viewportMargin=cy}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(dt(this._destroyed)).subscribe(e=>{e?e==="keyboard"&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){let e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([i,o])=>{e.removeEventListener(i,o,sh)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay,i){if(this.disabled||!this.message||this._isTooltipVisible()){this._tooltipInstance?._cancelPendingAnimations();return}let o=this._createOverlay(i);this._detach(),this._portal=this._portal||new Ae(this._tooltipComponent,this._viewContainerRef);let a=this._tooltipInstance=o.attach(this._portal).instance;a._triggerElement=this._elementRef.nativeElement,a._mouseLeaveHideDelay=this._hideDelay,a.afterHidden().pipe(dt(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),a.show(e)}hide(e=this.hideDelay){let i=this._tooltipInstance;i&&(i.isVisible()?i.hide(e):(i._cancelPendingAnimations(),this._detach()))}toggle(e){this._isTooltipVisible()?this.hide():this.show(void 0,e)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(e){if(this._overlayRef){let a=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!e)&&a._origin instanceof D)return this._overlayRef;this._detach()}let i=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),o=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin?e||this._elementRef:this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(i);return o.positionChanges.pipe(dt(this._destroyed)).subscribe(a=>{this._updateCurrentPositionClass(a.connectionPair),this._tooltipInstance&&a.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:o,panelClass:`${this._cssClassPrefix}-${ah}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(dt(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(dt(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(dt(this._destroyed)).subscribe(a=>{this._isTooltipVisible()&&a.keyCode===27&&!Rt(a)&&(a.preventDefault(),a.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){let i=e.getConfig().positionStrategy,o=this._getOrigin(),a=this._getOverlayPosition();i.withPositions([this._addOffset(g(g({},o.main),a.main)),this._addOffset(g(g({},o.fallback),a.fallback))])}_addOffset(e){let i=dy,o=!this._dir||this._dir.value=="ltr";return e.originY==="top"?e.offsetY=-i:e.originY==="bottom"?e.offsetY=i:e.originX==="start"?e.offsetX=o?-i:i:e.originX==="end"&&(e.offsetX=o?i:-i),e}_getOrigin(){let e=!this._dir||this._dir.value=="ltr",i=this.position,o;i=="above"||i=="below"?o={originX:"center",originY:i=="above"?"top":"bottom"}:i=="before"||i=="left"&&e||i=="right"&&!e?o={originX:"start",originY:"center"}:(i=="after"||i=="right"&&e||i=="left"&&!e)&&(o={originX:"end",originY:"center"});let{x:a,y:s}=this._invertPosition(o.originX,o.originY);return{main:o,fallback:{originX:a,originY:s}}}_getOverlayPosition(){let e=!this._dir||this._dir.value=="ltr",i=this.position,o;i=="above"?o={overlayX:"center",overlayY:"bottom"}:i=="below"?o={overlayX:"center",overlayY:"top"}:i=="before"||i=="left"&&e||i=="right"&&!e?o={overlayX:"end",overlayY:"center"}:(i=="after"||i=="right"&&e||i=="left"&&!e)&&(o={overlayX:"start",overlayY:"center"});let{x:a,y:s}=this._invertPosition(o.overlayX,o.overlayY);return{main:o,fallback:{overlayX:a,overlayY:s}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(rt(1),dt(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,i){return this.position==="above"||this.position==="below"?i==="top"?i="bottom":i==="bottom"&&(i="top"):e==="end"?e="start":e==="start"&&(e="end"),{x:e,y:i}}_updateCurrentPositionClass(e){let{overlayY:i,originX:o,originY:a}=e,s;if(i==="center"?this._dir&&this._dir.value==="rtl"?s=o==="end"?"left":"right":s=o==="start"?"left":"right":s=i==="bottom"&&a==="top"?"above":"below",s!==this._currentPosition){let c=this._overlayRef;if(c){let d=`${this._cssClassPrefix}-${ah}-`;c.removePanelClass(d+this._currentPosition),c.addPanelClass(d+s)}this._currentPosition=s}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",e=>{this._setupPointerExitEventsIfNeeded();let i;e.x!==void 0&&e.y!==void 0&&(i=e),this.show(void 0,i)}]):this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",e=>{let i=e.targetTouches?.[0],o=i?{x:i.clientX,y:i.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout);let a=500;this._touchstartTimeout=setTimeout(()=>this.show(void 0,o),this._defaultOptions.touchLongPressShowDelay??a)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;let e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",i=>{let o=i.relatedTarget;(!o||!this._overlayRef?.overlayElement.contains(o))&&this.hide()}],["wheel",i=>this._wheelListener(i)]);else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();let i=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};e.push(["touchend",i],["touchcancel",i])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([i,o])=>{this._elementRef.nativeElement.addEventListener(i,o,sh)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){let i=this._document.elementFromPoint(e.clientX,e.clientY),o=this._elementRef.nativeElement;i!==o&&!o.contains(i)&&this.hide()}}_disableNativeGesturesIfNecessary(){let e=this.touchGestures;if(e!=="off"){let i=this._elementRef.nativeElement,o=i.style;(e==="on"||i.nodeName!=="INPUT"&&i.nodeName!=="TEXTAREA")&&(o.userSelect=o.msUserSelect=o.webkitUserSelect=o.MozUserSelect="none"),(e==="on"||!i.draggable)&&(o.webkitUserDrag="none"),o.touchAction="none",o.webkitTapHighlightColor="transparent"}}};t.\u0275fac=function(i){return new(i||t)(l(yt),l(D),l(bn),l($t),l(k),l(J),l(Xl),l(ae),l(dh),l(Lt),l(sy,8),l(L))},t.\u0275dir=I({type:t,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(i,o){i&2&&z("mat-mdc-tooltip-disabled",o.disabled)},inputs:{position:[b.None,"matTooltipPosition","position"],positionAtOrigin:[b.None,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[b.None,"matTooltipDisabled","disabled"],showDelay:[b.None,"matTooltipShowDelay","showDelay"],hideDelay:[b.None,"matTooltipHideDelay","hideDelay"],touchGestures:[b.None,"matTooltipTouchGestures","touchGestures"],message:[b.None,"matTooltip","message"],tooltipClass:[b.None,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"],standalone:!0});let n=t;return n})(),uy=(()=>{let t=class t{constructor(e,i,o){this._changeDetectorRef=e,this._elementRef=i,this._isMultiline=!1,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new E,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide",this._animationsDisabled=o==="NoopAnimations"}show(e){this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},e)}hide(e){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},e)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:e}){(!e||!this._triggerElement.contains(e))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){let e=this._elementRef.nativeElement.getBoundingClientRect();return e.height>ly&&e.width>=my}_handleAnimationEnd({animationName:e}){(e===this._showAnimation||e===this._hideAnimation)&&this._finalizeAnimation(e===this._showAnimation)}_cancelPendingAnimations(){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(e){e?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(e){let i=this._tooltip.nativeElement,o=this._showAnimation,a=this._hideAnimation;if(i.classList.remove(e?a:o),i.classList.add(e?o:a),this._isVisible=e,e&&!this._animationsDisabled&&typeof getComputedStyle=="function"){let s=getComputedStyle(i);(s.getPropertyValue("animation-duration")==="0s"||s.getPropertyValue("animation-name")==="none")&&(this._animationsDisabled=!0)}e&&this._onShow(),this._animationsDisabled&&(i.classList.add("_mat-animation-noopable"),this._finalizeAnimation(e))}};t.\u0275fac=function(i){return new(i||t)(l(pt),l(D),l(_t,8))},t.\u0275cmp=T({type:t,selectors:[["mat-tooltip-component"]],viewQuery:function(i,o){if(i&1&&nt(ny,7),i&2){let a;U(a=H())&&(o._tooltip=a.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(i,o){i&1&&S("mouseleave",function(s){return o._handleMouseLeave(s)}),i&2&&ai("zoom",o.isVisible()?1:null)},standalone:!0,features:[A],decls:4,vars:4,consts:[["tooltip",""],[1,"mdc-tooltip","mdc-tooltip--shown","mat-mdc-tooltip",3,"animationend","ngClass"],[1,"mdc-tooltip__surface","mdc-tooltip__surface-animation"]],template:function(i,o){if(i&1){let a=mt();h(0,"div",1,0),S("animationend",function(c){return $(a),W(o._handleAnimationEnd(c))}),h(2,"div",2),C(3),f()()}i&2&&(z("mdc-tooltip--multiline",o._isMultiline),j("ngClass",o.tooltipClass),v(3),be(o.message))},dependencies:[Go],styles:['.mdc-tooltip__surface{word-break:break-all;word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip--showing-transition .mdc-tooltip__surface-animation{transition:opacity 150ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-tooltip--hide-transition .mdc-tooltip__surface-animation{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.mdc-tooltip__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-tooltip__surface::before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{align-items:flex-start;display:flex;flex-direction:column;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(200px - 2*8px);margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(320px - 2*8px);align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(0.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(0.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);outline:1px solid rgba(0,0,0,0);z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mat-mdc-tooltip .mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color)}.mat-mdc-tooltip .mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__caret-surface-top,.mat-mdc-tooltip .mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color)}.mat-mdc-tooltip .mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font);line-height:var(--mdc-plain-tooltip-supporting-text-line-height);font-size:var(--mdc-plain-tooltip-supporting-text-size);font-weight:var(--mdc-plain-tooltip-supporting-text-weight);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking)}.mat-mdc-tooltip{position:relative;transform:scale(0)}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0});let n=t;return n})();var mh=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({providers:[ry],imports:[Mr,Ge,Be,K,K,pn]});let n=t;return n})();var Ot=function(n){return n[n.ShoppingCart=0]="ShoppingCart",n[n.Edit=1]="Edit",n[n.Delete=2]="Delete",n}(Ot||{}),uh={[Ot.ShoppingCart]:"shopping_cart",[Ot.Edit]:"edit",[Ot.Delete]:"delete"},hh={[Ot.ShoppingCart]:"default",[Ot.Edit]:"default",[Ot.Delete]:"warn"};var fy=n=>({first:n});function py(n,t){if(n&1){let r=mt();h(0,"button",5),S("click",function(){let i=$(r).$implicit,o=G();return W(o.onClick.next(i))}),h(1,"mat-icon",6),C(2),f()()}if(n&2){let r=t.$implicit,e=G();v(),j("color",e.CardActionColors[r]),v(),be(e.CardActionIcons[r])}}var va=(()=>{let t=class t{constructor(){this.onClick=new V,this.CardActionIcons=uh,this.CardActionColors=hh}};t.\u0275fac=function(i){return new(i||t)},t.\u0275cmp=T({type:t,selectors:[["app-card"]],inputs:{item:"item",actions:"actions",isFirst:"isFirst"},outputs:{onClick:"onClick"},standalone:!0,features:[A],decls:8,vars:5,consts:[[1,"card",3,"ngClass"],[1,"amount"],[1,"name"],[1,"divider"],["mat-icon-button",""],["mat-icon-button","",3,"click"],[3,"color"]],template:function(i,o){i&1&&(h(0,"div",0)(1,"span",1),C(2),f(),h(3,"span",2),C(4),f(),M(5,"div",3),he(6,py,3,2,"button",4,Ii),f()),i&2&&(j("ngClass",Uo(3,fy,o.isFirst)),v(2),be(o.item.amount),v(2),be(o.item.name),v(2),fe(o.actions))},dependencies:[St,bi,Ue,gi,Ge,Go],styles:[".card[_ngcontent-%COMP%]{margin:1rem;padding:.5rem 1rem;background-color:#414141;color:#bebebe;box-shadow:#00000080 2px 1px 5px;font-weight:500;font-size:large;border-radius:10px;display:flex;align-items:center}.card.first[_ngcontent-%COMP%]{margin-top:0}.card[_ngcontent-%COMP%] .amount[_ngcontent-%COMP%]{width:1.5rem;font-size:large;font-weight:700;margin-right:1rem}.card[_ngcontent-%COMP%] .name[_ngcontent-%COMP%]{text-overflow:ellipsis;overflow:hidden}.card[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{flex:0 0 auto}.card[_ngcontent-%COMP%] .divider[_ngcontent-%COMP%]{flex:1}"]});let n=t;return n})();var fh=(()=>{let t=class t{constructor(e){this.dialogRef=e}onNoClick(){this.dialogRef.close(!1)}};t.\u0275fac=function(i){return new(i||t)(l(ni))},t.\u0275cmp=T({type:t,selectors:[["app-delete-closed"]],standalone:!0,features:[A],decls:9,vars:1,consts:[["mat-dialog-title",""],["align","end"],["mat-button","",3,"click"],["mat-button","","color","warn","cdkFocusInitial","",3,"mat-dialog-close"]],template:function(i,o){i&1&&(h(0,"h2",0),C(1,"Esborrar comprats"),f(),h(2,"mat-dialog-content"),C(3,` ALERTA: No pots desfer aquesta acci\xF3. Aix\xF2 borrar\xE0 totes les compres ja comprades. -`),f(),h(4,"mat-dialog-actions",1)(5,"button",2),S("click",function(){return o.onNoClick()}),C(6,"No, gr\xE0cies"),f(),h(7,"button",3),C(8," Esborrar "),f()()),i&2&&(v(7),j("mat-dialog-close",!0))},dependencies:[Oe,Ce,wn,St,xe,ba,ga,_a,pa]});let n=t;return n})();var ph=(()=>{let t=class t{constructor(e,i){this.data=e,this.dialogRef=i}onNoClick(){this.dialogRef.close(!1)}};t.\u0275fac=function(i){return new(i||t)(l(Zc),l(ni))},t.\u0275cmp=T({type:t,selectors:[["app-delete-item"]],standalone:!0,features:[A],decls:9,vars:2,consts:[["mat-dialog-title",""],["align","end"],["mat-button","",3,"click"],["mat-button","","color","warn","cdkFocusInitial","",3,"mat-dialog-close"]],template:function(i,o){i&1&&(h(0,"h2",0),C(1),f(),h(2,"mat-dialog-content"),C(3,` ALERTA: No pots desfer aquesta acci\xF3. -`),f(),h(4,"mat-dialog-actions",1)(5,"button",2),S("click",function(){return o.onNoClick()}),C(6,"No, gr\xE0cies"),f(),h(7,"button",3),C(8," Esborrar "),f()()),i&2&&(v(),Wt('Esborrar "',o.data.name,'"?'),v(6),j("mat-dialog-close",!0))},dependencies:[Oe,Ce,wn,St,xe,ba,ga,_a,pa]});let n=t;return n})();var by=(n,t)=>t.id;function gy(n,t){if(n&1){let r=mt();h(0,"app-card",7),S("onClick",function(i){let o=$(r).$implicit,a=G(2);return W(a.manageItemClicked(o,i))}),f()}if(n&2){let r=t.$implicit,e=G(2);j("item",r)("actions",e.CardActions)}}function _y(n,t){n&1&&(h(0,"p",2),C(1,"No hi ha res per comprar"),f())}function vy(n,t){if(n&1){let r=mt();h(0,"button",8),S("click",function(){$(r);let i=G(2);return W(i.deleteClosed())}),h(1,"mat-icon"),C(2,"delete_forever"),f()()}}function yy(n,t){if(n&1){let r=mt();h(0,"app-card",9),S("onClick",function(i){let o=$(r).$implicit,a=G(2);return W(a.manageItemClicked(o,i))}),f()}if(n&2){let r=t.$implicit,e=t.$index,i=G(2);j("item",r)("actions",i.CardActions)("isFirst",e===0)}}function xy(n,t){n&1&&(h(0,"p",2),C(1,"No hi ha res comprat"),f())}function wy(n,t){if(n&1&&(h(0,"h4",0),C(1),Ee(2,"async"),f(),he(3,gy,1,2,"app-card",1,Vo,!1,_y,2,0,"p",2),Ee(6,"async"),M(7,"mat-divider"),h(8,"div",3)(9,"h4",0),C(10),Ee(11,"async"),f(),B(12,vy,3,0,"button",4),Ee(13,"async"),f(),he(14,yy,1,3,"app-card",5,by,!1,xy,2,0,"p",2),Ee(17,"async"),M(18,"div",6)),n&2){let r,e,i,o=G();v(),Wt("Per comprar (",(r=De(2,5,o.openItems))==null?null:r.length,")"),v(2),fe(De(6,7,o.openItems)),v(7),Wt("Comprat (",(e=De(11,9,o.closedItems))==null?null:e.length,")"),v(2),Q(12,((i=De(13,11,o.closedItems))==null?null:i.length)>0?12:-1),v(2),fe(De(17,13,o.closedItems))}}var bh=(()=>{let t=class t{constructor(e,i,o,a){this.itemsService=e,this._bottomSheet=i,this._snackBar=o,this._dialog=a,this.openItems=this.itemsService.openItems,this.closedItems=this.itemsService.closedItems,this.CardActions=[Ot.Edit,Ot.Delete],this.CardActionCallBack={[Ot.Edit]:s=>{this._bottomSheet.open(So,{data:s})},[Ot.Delete]:s=>{this._dialog.open(ph,{data:s}).afterClosed().pipe(tt(c=>c),vt(()=>this.itemsService.removeItem(s))).subscribe(()=>{this._snackBar.open(`${s.name} esborrat correctament`,"TANCAR",{verticalPosition:"top",duration:5e3})})},[Ot.ShoppingCart]:()=>{}}}openAddMenu(){this._bottomSheet.open(So)}manageItemClicked(e,i){this.CardActionCallBack[i](e)}deleteClosed(){this._dialog.open(fh).afterClosed().pipe(tt(e=>e),vt(()=>this.itemsService.removeClosed())).subscribe(()=>{this._snackBar.open("Compres tancades esborrades correctament","TANCAR",{verticalPosition:"top",duration:5e3})})}};t.\u0275fac=function(i){return new(i||t)(l(ke),l(_o),l(Fe),l(Ao))},t.\u0275cmp=T({type:t,selectors:[["app-items-edit-list"]],standalone:!0,features:[A],decls:2,vars:3,consts:[[1,"title"],[3,"item","actions"],[1,"label"],[1,"title-container"],["mat-icon-button","","color","warn","matTooltip","Esborrar tots els comprats"],[3,"item","actions","isFirst"],[1,"final"],[3,"onClick","item","actions"],["mat-icon-button","","color","warn","matTooltip","Esborrar tots els comprats",3,"click"],[3,"onClick","item","actions","isFirst"]],template:function(i,o){if(i&1&&(B(0,wy,19,15),Ee(1,"async")),i&2){let a;Q(0,(a=De(1,1,o.openItems))?0:-1,a)}},dependencies:[Xi,Vr,rh,oh,St,bi,Ue,gi,mh,lh,nh,va],styles:[".error[_ngcontent-%COMP%]{min-width:40vw}.title-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-between;align-items:center;margin-right:1rem}.title[_ngcontent-%COMP%]{margin-left:1rem}.label[_ngcontent-%COMP%]{margin-left:1rem;margin-bottom:2rem}.final[_ngcontent-%COMP%]{height:5rem}"]});let n=t;return n})();function Cy(n,t){if(n&1){let r=mt();h(0,"app-card",3),S("onClick",function(i){let o=$(r).$implicit,a=G(2);return W(a.manageClicked(o,i))}),f()}if(n&2){let r=t.$implicit,e=G(2);j("item",r)("actions",e.CardActions)}}function ky(n,t){n&1&&(h(0,"p",2),C(1,"No hi ha res per comprar"),f())}function Iy(n,t){n&1&&(he(0,Cy,1,2,"app-card",1,Vo,!1,ky,2,0,"p",2),M(3,"div",0)),n&2&&fe(t)}var gh=(()=>{let t=class t{constructor(e,i){this.itemsService=e,this._snackBar=i,this.items=this.itemsService.openItems,this.CardActions=[Ot.ShoppingCart],this.CardActionCallBack={[Ot.Edit]:()=>{},[Ot.Delete]:()=>{},[Ot.ShoppingCart]:o=>{this.itemsService.closeItem(o.id).subscribe({next:()=>this._snackBar.open("Compra tancada correctament","TANCAR",{verticalPosition:"top",duration:5e3}),error:()=>this._snackBar.open("Error al tancar la compra","TANCAR",{verticalPosition:"top",duration:5e3})})}}}manageClicked(e,i){this.CardActionCallBack[i](e)}};t.\u0275fac=function(i){return new(i||t)(l(ke),l(Fe))},t.\u0275cmp=T({type:t,selectors:[["app-items-list"]],standalone:!0,features:[A],decls:2,vars:3,consts:[[1,"final"],[3,"item","actions"],[1,"label"],[3,"onClick","item","actions"]],template:function(i,o){if(i&1&&(B(0,Iy,4,1,"div",0),Ee(1,"async")),i&2){let a;Q(0,(a=De(1,1,o.items))?0:-1,a)}},dependencies:[Xi,Ue,va,In],styles:[".error[_ngcontent-%COMP%]{min-width:40vw}.label[_ngcontent-%COMP%]{margin-left:1rem;margin-bottom:2rem}.final[_ngcontent-%COMP%]{height:5rem}"]});let n=t;return n})();function Ey(n,t){n&1&&M(0,"mat-progress-bar",3)}function Dy(n,t){n&1&&M(0,"mat-progress-bar",3)}var _h=(()=>{let t=class t{constructor(e){this.itemsService=e,this.defaultSelectedIndex=localStorage.getItem("selected-tab"),this.openSearchBox=!1}ngOnInit(){this.itemsService.refreshItems()}onChangeTab(e){localStorage.setItem("selected-tab",e.index.toString())}};t.\u0275fac=function(i){return new(i||t)(l(ke))},t.\u0275cmp=T({type:t,selectors:[["app-home"]],standalone:!0,features:[A],decls:10,vars:3,consts:[[1,"title"],["dynamicHeight","",3,"selectedTabChange","selectedIndex"],["label","Comprar"],["mode","indeterminate",1,"top"],["label","Editar"],[1,"bottom-bar-menu"]],template:function(i,o){i&1&&(h(0,"p",0),C(1,"TotFet"),f(),h(2,"mat-tab-group",1),S("selectedTabChange",function(s){return o.onChangeTab(s)}),h(3,"mat-tab",2),B(4,Ey,1,0,"mat-progress-bar",3),M(5,"app-items-list"),f(),h(6,"mat-tab",4),B(7,Dy,1,0,"mat-progress-bar",3),M(8,"app-items-edit-list"),f()(),M(9,"app-bottom-bar-menu",5)),i&2&&(v(2),j("selectedIndex",o.defaultSelectedIndex),v(2),Q(4,o.itemsService.isLoading?4:-1),v(3),Q(7,o.itemsService.isLoading?7:-1))},dependencies:[gh,bh,Xu,km,vc,Cm,pm,fm],styles:[".title[_ngcontent-%COMP%]{font-size:larger;font-weight:700;margin-top:0;padding-top:1rem;width:100%;text-align:center}[_nghost-%COMP%] .mat-mdc-tab-header{top:0;z-index:1000;background-color:#2c2c2c;position:sticky;position:-webkit-sticky}.top[_ngcontent-%COMP%]{position:absolute;top:0}.bottom-bar-menu[_ngcontent-%COMP%]{position:fixed;bottom:0;padding:.5rem;height:3rem;width:calc(100% - 1rem);z-index:1000;background-color:#262626}"]});let n=t;return n})();var ya=(()=>{let t=class t{constructor(e){this.http=e}login(e,i){return localStorage.setItem("Authorization",`${e}:${i}`),this.http.get(ii)}};t.\u0275fac=function(i){return new(i||t)(u(Di))},t.\u0275prov=x({token:t,factory:t.\u0275fac});let n=t;return n})();function Ty(n,t){n&1&&(h(0,"mat-error"),C(1,"El nom de la llista \xE9s obligatori"),f())}function Ay(n,t){n&1&&(h(0,"mat-error"),C(1,"La contrasenya \xE9s obligatoria"),f())}var vh=(()=>{let t=class t{constructor(e,i,o){this.loginService=e,this.router=i,this._snackBar=o,this.formGroup=new vi({list:new ei("",[ji.required]),password:new ei("",[ji.required])})}sendRequest(){this.snackBarRef?.dismiss();let e=this.formGroup.value;this.loginService.login(e.list,e.password).subscribe({complete:()=>{this.router.navigate(["home"])},error:()=>{this.snackBarRef=this._snackBar.open("Contrasenya Incorrecta","TANCAR",{duration:5e3})}})}};t.\u0275fac=function(i){return new(i||t)(l(ya),l(hi),l(Fe))},t.\u0275cmp=T({type:t,selectors:[["app-login"]],standalone:!0,features:[st([ya]),A],decls:15,vars:4,consts:[[1,"centered",3,"formGroup"],[1,"title"],["appearance","fill",1,"input"],["matInput","","formControlName","list","type","text","placeholder","Nom de la llista","required",""],["matInput","","formControlName","password","type","password","placeholder","Password","required",""],["mat-raised-button","","color","primary",3,"click","disabled"]],template:function(i,o){i&1&&(h(0,"form",0)(1,"h1",1),C(2,"Tot Fet"),f(),h(3,"mat-form-field",2)(4,"mat-label"),C(5,"Nom de la llista"),f(),M(6,"input",3),B(7,Ty,2,0,"mat-error"),f(),h(8,"mat-form-field",2)(9,"mat-label"),C(10,"Contrasenya"),f(),M(11,"input",4),B(12,Ay,2,0,"mat-error"),f(),h(13,"button",5),S("click",function(){return o.sendRequest()}),C(14," Iniciar Sessi\xF3 "),f()()),i&2&&(j("formGroup",o.formGroup),v(7),Q(7,o.formGroup.get("list").hasError("required")?7:-1),v(5),Q(12,o.formGroup.get("password").hasError("required")?12:-1),v(),j("disabled",o.formGroup.invalid))},dependencies:[Oe,Cn,yi,sa,Ce,xi,oa,wu,xn,Jr,ta,Io,Vi,ko,St,xe,In],styles:[".centered[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;flex-direction:column;width:100%;height:100%}.input[_ngcontent-%COMP%]{width:90%;max-width:500px}"]});let n=t;return n})();var yh=(()=>{let t=class t{constructor(e){this.router=e}goHome(){this.router.navigate(["/"])}};t.\u0275fac=function(i){return new(i||t)(l(hi))},t.\u0275cmp=T({type:t,selectors:[["app-not-found"]],standalone:!0,features:[A],decls:7,vars:0,consts:[[1,"centered"],[1,"title"],["mat-raised-button","","color","primary",3,"click"]],template:function(i,o){i&1&&(h(0,"div",0)(1,"h1",1),C(2,"Tot Fet"),f(),h(3,"p"),C(4,"Page not found"),f(),h(5,"button",2),S("click",function(){return o.goHome()}),C(6," Home "),f()())},dependencies:[St,xe],styles:[".centered[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;flex-direction:column;width:100%;height:100%}.centered[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{margin:0}"]});let n=t;return n})();var xh=[{path:"",redirectTo:"home",pathMatch:"full"},{path:"login",component:vh},{path:"home",component:_h},{path:"**",component:yh}];var wh=(n,t)=>{let r=localStorage.getItem("Authorization"),e=_(hi),i=_(Fe),o=n.clone({setHeaders:{Authorization:r??""}});return t(o).pipe(me(a=>(a instanceof Qi&&(i.open(`Error: ${My(a)}`,"TANCAR",{duration:5e3}),a.status===401?(console.error("Unauthorized request:",a),e.navigate(["login"])):console.error("HTTP error:",a)),Jt(()=>a))))};function My(n){return`${n.error.statusCode} - ${n.error.message}`}var Ry="@",Oy=(()=>{let t=class t{constructor(e,i,o,a,s){this.doc=e,this.delegate=i,this.zone=o,this.animationType=a,this.moduleImpl=s,this._rendererFactoryPromise=null,this.scheduler=_(yd,{optional:!0})}ngOnDestroy(){this._engine?.flush()}loadImpl(){return(this.moduleImpl??import("./chunk-FQHYJTJM.js")).catch(i=>{throw new gt(5300,!1)}).then(({\u0275createEngine:i,\u0275AnimationRendererFactory:o})=>{this._engine=i(this.animationType,this.doc,this.scheduler);let a=new o(this.delegate,this._engine,this.zone);return this.delegate=a,a})}createRenderer(e,i){let o=this.delegate.createRenderer(e,i);if(o.\u0275type===0)return o;typeof o.throwOnSyntheticProps=="boolean"&&(o.throwOnSyntheticProps=!1);let a=new Kc(o);return i?.data?.animation&&!this._rendererFactoryPromise&&(this._rendererFactoryPromise=this.loadImpl()),this._rendererFactoryPromise?.then(s=>{let c=s.createRenderer(e,i);a.use(c)}).catch(s=>{a.use(o)}),a}begin(){this.delegate.begin?.()}end(){this.delegate.end?.()}whenRenderingDone(){return this.delegate.whenRenderingDone?.()??Promise.resolve()}};t.\u0275fac=function(i){Fn()},t.\u0275prov=x({token:t,factory:t.\u0275fac});let n=t;return n})(),Kc=class{constructor(t){this.delegate=t,this.replay=[],this.\u0275type=1}use(t){if(this.delegate=t,this.replay!==null){for(let r of this.replay)r(t);this.replay=null}}get data(){return this.delegate.data}destroy(){this.replay=null,this.delegate.destroy()}createElement(t,r){return this.delegate.createElement(t,r)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}get destroyNode(){return this.delegate.destroyNode}appendChild(t,r){this.delegate.appendChild(t,r)}insertBefore(t,r,e,i){this.delegate.insertBefore(t,r,e,i)}removeChild(t,r,e){this.delegate.removeChild(t,r,e)}selectRootElement(t,r){return this.delegate.selectRootElement(t,r)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,r,e,i){this.delegate.setAttribute(t,r,e,i)}removeAttribute(t,r,e){this.delegate.removeAttribute(t,r,e)}addClass(t,r){this.delegate.addClass(t,r)}removeClass(t,r){this.delegate.removeClass(t,r)}setStyle(t,r,e,i){this.delegate.setStyle(t,r,e,i)}removeStyle(t,r,e){this.delegate.removeStyle(t,r,e)}setProperty(t,r,e){this.shouldReplay(r)&&this.replay.push(i=>i.setProperty(t,r,e)),this.delegate.setProperty(t,r,e)}setValue(t,r){this.delegate.setValue(t,r)}listen(t,r,e){return this.shouldReplay(r)&&this.replay.push(i=>i.listen(t,r,e)),this.delegate.listen(t,r,e)}shouldReplay(t){return this.replay!==null&&t.startsWith(Ry)}};function Ch(n="animations"){return Aa("NgAsyncAnimations"),$e([{provide:No,useFactory:(t,r,e)=>new Oy(t,r,e,n),deps:[L,er,k]},{provide:_t,useValue:n==="noop"?"NoopAnimations":"BrowserAnimations"}])}var Ro="Service workers are disabled or not supported by this browser";function Fy(n){return le(()=>Jt(new Error(n)))}var Dn=class{constructor(t){if(this.serviceWorker=t,!t)this.worker=this.events=this.registration=Fy(Ro);else{let e=Ht(t,"controllerchange").pipe(F(()=>t.controller)),i=le(()=>O(t.controller)),o=Bi(i,e);this.worker=o.pipe(tt(m=>!!m)),this.registration=this.worker.pipe(vt(()=>t.getRegistration()));let d=Ht(t,"message").pipe(F(m=>m.data)).pipe(tt(m=>m&&m.type)).pipe(rd());d.connect(),this.events=d}}postMessage(t,r){return this.worker.pipe(rt(1),lt(e=>{e.postMessage(g({action:t},r))})).toPromise().then(()=>{})}postMessageWithOperation(t,r,e){let i=this.waitForOperationCompleted(e),o=this.postMessage(t,r);return Promise.all([o,i]).then(([,a])=>a)}generateNonce(){return Math.round(Math.random()*1e7)}eventsOfType(t){let r;return typeof t=="string"?r=e=>e.type===t:r=e=>t.includes(e.type),this.events.pipe(tt(r))}nextEventOfType(t){return this.eventsOfType(t).pipe(rt(1))}waitForOperationCompleted(t){return this.eventsOfType("OPERATION_COMPLETED").pipe(tt(r=>r.nonce===t),rt(1),F(r=>{if(r.result!==void 0)return r.result;throw new Error(r.error)})).toPromise()}get isEnabled(){return!!this.serviceWorker}},Py=(()=>{let t=class t{get isEnabled(){return this.sw.isEnabled}constructor(e){if(this.sw=e,this.pushManager=null,this.subscriptionChanges=new E,!e.isEnabled){this.messages=zi,this.notificationClicks=zi,this.subscription=zi;return}this.messages=this.sw.eventsOfType("PUSH").pipe(F(o=>o.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe(F(o=>o.data)),this.pushManager=this.sw.registration.pipe(F(o=>o.pushManager));let i=this.pushManager.pipe(vt(o=>o.getSubscription()));this.subscription=Dt(i,this.subscriptionChanges)}requestSubscription(e){if(!this.sw.isEnabled||this.pushManager===null)return Promise.reject(new Error(Ro));let i={userVisibleOnly:!0},o=this.decodeBase64(e.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),a=new Uint8Array(new ArrayBuffer(o.length));for(let s=0;ss.subscribe(i)),rt(1)).toPromise().then(s=>(this.subscriptionChanges.next(s),s))}unsubscribe(){if(!this.sw.isEnabled)return Promise.reject(new Error(Ro));let e=i=>{if(i===null)throw new Error("Not subscribed to push notifications.");return i.unsubscribe().then(o=>{if(!o)throw new Error("Unsubscribe failed!");this.subscriptionChanges.next(null)})};return this.subscription.pipe(rt(1),vt(e)).toPromise()}decodeBase64(e){return atob(e)}};t.\u0275fac=function(i){return new(i||t)(u(Dn))},t.\u0275prov=x({token:t,factory:t.\u0275fac});let n=t;return n})(),Ny=(()=>{let t=class t{get isEnabled(){return this.sw.isEnabled}constructor(e){if(this.sw=e,!e.isEnabled){this.versionUpdates=zi,this.unrecoverable=zi;return}this.versionUpdates=this.sw.eventsOfType(["VERSION_DETECTED","VERSION_INSTALLATION_FAILED","VERSION_READY","NO_NEW_VERSION_DETECTED"]),this.unrecoverable=this.sw.eventsOfType("UNRECOVERABLE_STATE")}checkForUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(Ro));let e=this.sw.generateNonce();return this.sw.postMessageWithOperation("CHECK_FOR_UPDATES",{nonce:e},e)}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(Ro));let e=this.sw.generateNonce();return this.sw.postMessageWithOperation("ACTIVATE_UPDATE",{nonce:e},e)}};t.\u0275fac=function(i){return new(i||t)(u(Dn))},t.\u0275prov=x({token:t,factory:t.\u0275fac});let n=t;return n})();var kh=new y("");function Ly(n,t,r,e){return()=>{if(!(Pn(e)&&"serviceWorker"in navigator&&r.enabled!==!1))return;navigator.serviceWorker.addEventListener("controllerchange",()=>{navigator.serviceWorker.controller!==null&&navigator.serviceWorker.controller.postMessage({action:"INITIALIZE"})});let i;if(typeof r.registrationStrategy=="function")i=r.registrationStrategy();else{let[a,...s]=(r.registrationStrategy||"registerWhenStable:30000").split(":");switch(a){case"registerImmediately":i=O(null);break;case"registerWithDelay":i=Ih(+s[0]||0);break;case"registerWhenStable":i=s[0]?Dt(Eh(n),Ih(+s[0])):Eh(n);break;default:throw new Error(`Unknown ServiceWorker registration strategy: ${r.registrationStrategy}`)}}n.get(k).runOutsideAngular(()=>i.pipe(rt(1)).subscribe(()=>navigator.serviceWorker.register(t,{scope:r.scope}).catch(a=>console.error("Service worker registration failed with:",a))))}}function Ih(n){return O(null).pipe(Fo(n))}function Eh(n){return n.get(si).isStable.pipe(tt(r=>r))}function jy(n,t){return new Dn(Pn(t)&&n.enabled!==!1?navigator.serviceWorker:void 0)}var Mo=class{};function Dh(n,t={}){return $e([Py,Ny,{provide:kh,useValue:n},{provide:Mo,useValue:t},{provide:Dn,useFactory:jy,deps:[Mo,ue]},{provide:Ra,useFactory:Ly,deps:[xt,kh,Mo,ue],multi:!0}])}var Sh={providers:[Fl(xh),Hd($d([wh])),Ch(),Dh("ngsw-worker.js",{enabled:!Sd(),registrationStrategy:"registerWhenStable:30000"})]};var Th=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275cmp=T({type:t,selectors:[["app-root"]],standalone:!0,features:[A],decls:1,vars:0,template:function(i,o){i&1&&M(0,"router-outlet")},dependencies:[Os],encapsulation:2});let n=t;return n})();Kd(Th,Sh).catch(n=>console.error(n)); + ${Kv} translateX(${p}) + )`}_isAttachedToDom(){let e=this._elementRef.nativeElement;if(e.getRootNode){let i=e.getRootNode();return i&&i!==e}return document.documentElement.contains(e)}};t.\u0275fac=function(i){return new(i||t)(l(D),l(pt),l(k),l(Lt),l(J),l(Zv,8),l(_t,8),l(j))},t.\u0275cmp=T({type:t,selectors:[["mat-form-field"]],contentQueries:function(i,o,a){if(i&1&&(Pt(a,yi,5),Pt(a,yi,7),Pt(a,$c,5),Pt(a,qv,5),Pt(a,Pu,5),Pt(a,Fu,5),Pt(a,aa,5)),i&2){let s;U(s=H())&&(o._labelChildNonStatic=s.first),U(s=H())&&(o._labelChildStatic=s.first),U(s=H())&&(o._formFieldControl=s.first),U(s=H())&&(o._prefixChildren=s),U(s=H())&&(o._suffixChildren=s),U(s=H())&&(o._errorChildren=s),U(s=H())&&(o._hintChildren=s)}},viewQuery:function(i,o){if(i&1&&(nt(Cv,5),nt(kv,5),nt(Iv,5),nt(Du,5),nt(Au,5),nt(Tu,5)),i&2){let a;U(a=H())&&(o._textField=a.first),U(a=H())&&(o._iconPrefixContainer=a.first),U(a=H())&&(o._textPrefixContainer=a.first),U(a=H())&&(o._floatingLabel=a.first),U(a=H())&&(o._notchedOutline=a.first),U(a=H())&&(o._lineRipple=a.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(i,o){i&2&&z("mat-mdc-form-field-label-always-float",o._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",o._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",o._hasIconSuffix)("mat-form-field-invalid",o._control.errorState)("mat-form-field-disabled",o._control.disabled)("mat-form-field-autofilled",o._control.autofilled)("mat-form-field-no-animations",o._animationMode==="NoopAnimations")("mat-form-field-appearance-fill",o.appearance=="fill")("mat-form-field-appearance-outline",o.appearance=="outline")("mat-form-field-hide-placeholder",o._hasFloatingLabel()&&!o._shouldLabelFloat())("mat-focused",o._control.focused)("mat-primary",o.color!=="accent"&&o.color!=="warn")("mat-accent",o.color==="accent")("mat-warn",o.color==="warn")("ng-untouched",o._shouldForward("untouched"))("ng-touched",o._shouldForward("touched"))("ng-pristine",o._shouldForward("pristine"))("ng-dirty",o._shouldForward("dirty"))("ng-valid",o._shouldForward("valid"))("ng-invalid",o._shouldForward("invalid"))("ng-pending",o._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],standalone:!0,features:[st([{provide:To,useExisting:t},{provide:Lu,useExisting:t}]),A],ngContentSelectors:Dv,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(i,o){if(i&1){let a=mt();wt(Ev),B(0,Av,1,1,"ng-template",null,0,Dd),h(2,"div",4,1),S("click",function(c){return $(a),W(o._control.onContainerClick(c))}),B(4,Mv,1,0,"div",5),h(5,"div",6),B(6,Fv,2,2,"div",7)(7,Pv,3,0,"div",8)(8,Nv,3,0,"div",9),h(9,"div",10),B(10,jv,1,1,null,11),at(11),f(),B(12,Vv,2,0,"div",12)(13,Bv,2,0,"div",13),f(),B(14,zv,1,0,"div",14),f(),h(15,"div",15),B(16,Uv,2,1)(17,$v,5,2),f()}if(i&2){let a;v(2),z("mdc-text-field--filled",!o._hasOutline())("mdc-text-field--outlined",o._hasOutline())("mdc-text-field--no-label",!o._hasFloatingLabel())("mdc-text-field--disabled",o._control.disabled)("mdc-text-field--invalid",o._control.errorState),v(2),Q(4,!o._hasOutline()&&!o._control.disabled?4:-1),v(2),Q(6,o._hasOutline()?6:-1),v(),Q(7,o._hasIconPrefix?7:-1),v(),Q(8,o._hasTextPrefix?8:-1),v(2),Q(10,!o._hasOutline()||o._forceDisplayInfixLabel()?10:-1),v(2),Q(12,o._hasTextSuffix?12:-1),v(),Q(13,o._hasIconSuffix?13:-1),v(),Q(14,o._hasOutline()?-1:14),v(),z("mat-mdc-form-field-subscript-dynamic-size",o.subscriptSizing==="dynamic"),v(),Q(16,(a=o._getDisplayedMessages())==="error"?16:a==="hint"?17:-1)}},dependencies:[Du,Au,Od,Tu,aa],styles:['.mdc-text-field{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 96px/0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;pointer-events:none}.mdc-notched-outline__trailing{flex-grow:1}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{border-top:1px solid;border-bottom:1px solid}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{max-width:calc(100% - 12px*2)}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-text-field--filled{border-top-left-radius:var(--mdc-filled-text-field-container-shape);border-top-right-radius:var(--mdc-filled-text-field-container-shape);border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-caret-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-focus-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-hover-label-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-disabled-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-focus-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-hover-label-text-color)}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font);font-size:var(--mdc-filled-text-field-label-text-size);font-weight:var(--mdc-filled-text-field-label-text-weight);letter-spacing:var(--mdc-filled-text-field-label-text-tracking)}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color)}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color)}.mdc-text-field--filled .mdc-line-ripple::before{border-bottom-width:var(--mdc-filled-text-field-active-indicator-height)}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-caret-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-focus-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-hover-label-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-disabled-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-focus-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-hover-label-text-color)}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font);font-size:var(--mdc-outlined-text-field-label-text-size);font-weight:var(--mdc-outlined-text-field-label-text-weight);letter-spacing:var(--mdc-outlined-text-field-label-text-tracking)}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(.75*var(--mdc-outlined-text-field-label-text-size))}.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mdc-outlined-text-field-label-text-size)}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-outlined-text-field-container-shape))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-hover-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-focus-outline-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-disabled-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-hover-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-focus-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-outline-width)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-focus-outline-width)}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all;will-change:auto}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto;will-change:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height);padding-top:var(--mat-form-field-filled-with-label-container-padding-top);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding);padding-bottom:var(--mat-form-field-container-vertical-padding)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color)}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font);line-height:var(--mat-form-field-subscript-text-line-height);font-size:var(--mat-form-field-subscript-text-size);letter-spacing:var(--mat-form-field-subscript-text-tracking);font-weight:var(--mat-form-field-subscript-text-weight)}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color)}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity)}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color)}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color)}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font);line-height:var(--mat-form-field-container-text-line-height);font-size:var(--mat-form-field-container-text-size);letter-spacing:var(--mat-form-field-container-text-tracking);font-weight:var(--mat-form-field-container-text-weight)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;z-index:0}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color)}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color)}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color)}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color)}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color)}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color)}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color)}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}'],encapsulation:2,data:{animation:[Xv.transitionMessages]},changeDetection:0});let n=t;return n})(),Fe=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({imports:[K,Ye,wr,K]});let n=t;return n})();var Jv=new y("MAT_INPUT_VALUE_ACCESSOR"),t0=["button","checkbox","file","hidden","image","radio","range","reset","submit"],e0=0,xi=(()=>{let t=class t{get disabled(){return this._disabled}set disabled(e){this._disabled=re(e),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(e){this._id=e||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(ji.required)??!1}set required(e){this._required=re(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&Us().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}get value(){return this._inputValueAccessor.value}set value(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=re(e)}get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}constructor(e,i,o,a,s,c,d,m,p,w){this._elementRef=e,this._platform=i,this.ngControl=o,this._autofillMonitor=m,this._formField=w,this._uid=`mat-input-${e0++}`,this.focused=!1,this.stateChanges=new E,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(ct=>Us().has(ct)),this._iOSKeyupListener=ct=>{let ot=ct.target;!ot.value&&ot.selectionStart===0&&ot.selectionEnd===0&&(ot.setSelectionRange(1,1),ot.setSelectionRange(0,0))};let R=this._elementRef.nativeElement,Z=R.nodeName.toLowerCase();this._inputValueAccessor=d||R,this._previousNativeValue=this.value,this.id=this.id,i.IOS&&p.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._errorStateTracker=new Fr(c,o,s,a,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect=Z==="select",this._isTextarea=Z==="textarea",this._isInFormField=!!w,this._isNativeSelect&&(this.controlType=R.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==null&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(e){e!==this.focused&&(this.focused=e,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){let e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_dirtyCheckPlaceholder(){let e=this._getPlaceholder();if(e!==this._previousPlaceholder){let i=this._elementRef.nativeElement;this._previousPlaceholder=e,e?i.setAttribute("placeholder",e):i.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){t0.indexOf(this._type)>-1}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!this._isNeverEmpty()&&!this._elementRef.nativeElement.value&&!this._isBadInput()&&!this.autofilled}get shouldLabelFloat(){if(this._isNativeSelect){let e=this._elementRef.nativeElement,i=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&i&&i.label)}else return this.focused||!this.empty}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){let e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}};t.\u0275fac=function(i){return new(i||t)(l(D),l(J),l(ei,10),l(Nc,8),l(Vi,8),l(cm),l(Jv,10),l(Hm),l(k),l(To,8))},t.\u0275dir=I({type:t,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(i,o){i&1&&S("focus",function(){return o._focusChanged(!0)})("blur",function(){return o._focusChanged(!1)})("input",function(){return o._onInput()}),i&2&&(Xt("id",o.id)("disabled",o.disabled)("required",o.required),Y("name",o.name||null)("readonly",o.readonly&&!o._isNativeSelect||null)("aria-invalid",o.empty&&o.required?null:o.errorState)("aria-required",o.required)("id",o.id),z("mat-input-server",o._isServer)("mat-mdc-form-field-textarea-control",o._isInFormField&&o._isTextarea)("mat-mdc-form-field-input-control",o._isInFormField)("mdc-text-field__input",o._isInFormField)("mat-mdc-native-select-inline",o._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[b.None,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],standalone:!0,features:[st([{provide:$c,useExisting:t}]),Ct]});let n=t;return n})(),ke=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({imports:[K,Fe,Fe,$m,K]});let n=t;return n})();var i0=["panel"],n0=["*"];function o0(n,t){if(n&1){let r=mt();h(0,"div",1,0),S("@panelAnimation.done",function(i){$(r);let o=G();return W(o._animationDone.next(i))}),at(2),f()}if(n&2){let r=t.id,e=G();Mt(e._classList),z("mat-mdc-autocomplete-visible",e.showPanel)("mat-mdc-autocomplete-hidden",!e.showPanel)("mat-primary",e._color==="primary")("mat-accent",e._color==="accent")("mat-warn",e._color==="warn"),L("id",e.id)("@panelAnimation",e.isOpen?"visible":"hidden"),Y("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby(r))}}var r0=Le("panelAnimation",[Zt("void, hidden",Et({opacity:0,transform:"scaleY(0.8)"})),Gt(":enter, hidden => visible",[jn([Bt("0.03s linear",Et({opacity:1})),Bt("0.12s cubic-bezier(0, 0, 0.2, 1)",Et({transform:"scaleY(1)"}))])]),Gt(":leave, visible => hidden",[Bt("0.075s linear",Et({opacity:0}))])]),a0=0,Gc=class{constructor(t,r){this.source=t,this.option=r}},ju=new y("mat-autocomplete-default-options",{providedIn:"root",factory:s0});function s0(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1}}var Vu=(()=>{let t=class t{get isOpen(){return this._isOpen&&this.showPanel}_setColor(e){this._color=e,this._changeDetectorRef.markForCheck()}set classList(e){this._classList=e,this._elementRef.nativeElement.className=""}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._syncParentProperties()}_syncParentProperties(){if(this.options)for(let e of this.options)e._changeDetectorRef.markForCheck()}constructor(e,i,o,a){this._changeDetectorRef=e,this._elementRef=i,this._defaults=o,this._activeOptionChanges=It.EMPTY,this._animationDone=new V,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new V,this.opened=new V,this.closed=new V,this.optionActivated=new V,this.id=`mat-autocomplete-${a0++}`,this.inertGroups=a?.SAFARI||!1,this.autoActiveFirstOption=!!o.autoActiveFirstOption,this.autoSelectActiveOption=!!o.autoSelectActiveOption,this.requireSelection=!!o.requireSelection,this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}ngAfterContentInit(){this._keyManager=new Sr(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(e=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[e]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe(),this._animationDone.complete()}_setScrollTop(e){this.panel&&(this.panel.nativeElement.scrollTop=e)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._changeDetectorRef.markForCheck()}_emitSelectEvent(e){let i=new Gc(this,e);this.optionSelected.emit(i)}_getPanelAriaLabelledby(e){if(this.ariaLabel)return null;let i=e?e+" ":"";return this.ariaLabelledby?i+this.ariaLabelledby:e}_skipPredicate(){return!1}};t.\u0275fac=function(i){return new(i||t)(l(pt),l(D),l(ju),l(J))},t.\u0275cmp=T({type:t,selectors:[["mat-autocomplete"]],contentQueries:function(i,o,a){if(i&1&&(Pt(a,Pr,5),Pt(a,dc,5)),i&2){let s;U(s=H())&&(o.options=s),U(s=H())&&(o.optionGroups=s)}},viewQuery:function(i,o){if(i&1&&(nt(Vt,7),nt(i0,5)),i&2){let a;U(a=H())&&(o.template=a.first),U(a=H())&&(o.panel=a.first)}},hostAttrs:[1,"mat-mdc-autocomplete"],inputs:{ariaLabel:[b.None,"aria-label","ariaLabel"],ariaLabelledby:[b.None,"aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:[b.HasDecoratorInputTransform,"autoActiveFirstOption","autoActiveFirstOption",q],autoSelectActiveOption:[b.HasDecoratorInputTransform,"autoSelectActiveOption","autoSelectActiveOption",q],requireSelection:[b.HasDecoratorInputTransform,"requireSelection","requireSelection",q],panelWidth:"panelWidth",disableRipple:[b.HasDecoratorInputTransform,"disableRipple","disableRipple",q],classList:[b.None,"class","classList"],hideSingleSelectionIndicator:[b.HasDecoratorInputTransform,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",q]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},exportAs:["matAutocomplete"],standalone:!0,features:[st([{provide:cc,useExisting:t}]),ft,A],ngContentSelectors:n0,decls:1,vars:0,consts:[["panel",""],["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id"]],template:function(i,o){i&1&&(wt(),B(0,o0,3,16,"ng-template"))},styles:["div.mat-mdc-autocomplete-panel{width:100%;max-height:256px;visibility:hidden;transform-origin:center top;overflow:auto;padding:8px 0;box-sizing:border-box;position:static;border-radius:var(--mat-autocomplete-container-shape);box-shadow:var(--mat-autocomplete-container-elevation-shadow);background-color:var(--mat-autocomplete-background-color)}.cdk-high-contrast-active div.mat-mdc-autocomplete-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) div.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above div.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden;pointer-events:none}mat-autocomplete{display:none}"],encapsulation:2,data:{animation:[r0]},changeDetection:0});let n=t;return n})();var c0={provide:We,useExisting:Tt(()=>qc),multi:!0};var Bu=new y("mat-autocomplete-scroll-strategy",{providedIn:"root",factory:()=>{let n=_(yt);return()=>n.scrollStrategies.reposition()}});function d0(n){return()=>n.scrollStrategies.reposition()}var l0={provide:Bu,deps:[yt],useFactory:d0},qc=(()=>{let t=class t{constructor(e,i,o,a,s,c,d,m,p,w,R){this._element=e,this._overlay=i,this._viewContainerRef=o,this._zone=a,this._changeDetectorRef=s,this._dir=d,this._formField=m,this._document=p,this._viewportRuler=w,this._defaults=R,this._componentDestroyed=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=It.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new E,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._aboveClass="mat-mdc-autocomplete-panel-above",this._overlayAttached=!1,this.optionSelections=le(()=>{let Z=this.autocomplete?this.autocomplete.options:null;return Z?Z.changes.pipe(Ft(Z),vt(()=>St(...Z.map(ct=>ct.onSelectionChange)))):this._zone.onStable.pipe(rt(1),vt(()=>this.optionSelections))}),this._handlePanelKeydown=Z=>{(Z.keyCode===27&&!Rt(Z)||Z.keyCode===38&&Rt(Z,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),Z.stopPropagation(),Z.preventDefault())},this._trackedModal=null,this._scrollStrategy=c}ngAfterViewInit(){let e=this._getWindow();typeof e<"u"&&this._zone.runOutsideAngular(()=>e.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(e){e.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){let e=this._getWindow();typeof e<"u"&&e.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete(),this._clearFromModal()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._openPanelInternal()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._latestOpeningTrigger===this&&(this.autocomplete._isOpen=!1,this.autocomplete._latestOpeningTrigger=null),this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._updatePanelState(),this._componentDestroyed||this._changeDetectorRef.detectChanges(),this._trackedModal&&uo(this._trackedModal,"aria-owns",this.autocomplete.id))}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return St(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(tt(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(tt(()=>this._overlayAttached)):O()).pipe(F(e=>e instanceof fo?e:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return St(Ht(this._document,"click"),Ht(this._document,"auxclick"),Ht(this._document,"touchend")).pipe(tt(e=>{let i=ne(e),o=this._formField?this._formField.getConnectedOverlayOrigin().nativeElement:null,a=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&i!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!o||!o.contains(i))&&(!a||!a.contains(i))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(i)}))}writeValue(e){Promise.resolve(null).then(()=>this._assignOptionValue(e))}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this._element.nativeElement.disabled=e}_handleKeydown(e){let i=e.keyCode,o=Rt(e);if(i===27&&!o&&e.preventDefault(),this._valueOnLastKeydown=this._element.nativeElement.value,this.activeOption&&i===13&&this.panelOpen&&!o)this.activeOption._selectViaInteraction(),this._resetActiveItem(),e.preventDefault();else if(this.autocomplete){let a=this.autocomplete._keyManager.activeItem,s=i===38||i===40;i===9||s&&!o&&this.panelOpen?this.autocomplete._keyManager.onKeydown(e):s&&this._canOpen()&&this._openPanelInternal(this._valueOnLastKeydown),(s||this.autocomplete._keyManager.activeItem!==a)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._valueOnLastKeydown),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(e){let i=e.target,o=i.value;if(i.type==="number"&&(o=o==""?null:parseFloat(o)),this._previousValue!==o){if(this._previousValue=o,this._pendingAutoselectedOption=null,(!this.autocomplete||!this.autocomplete.requireSelection)&&this._onChange(o),!o)this._clearPreviousSelectedOption(null,!1);else if(this.panelOpen&&!this.autocomplete.requireSelection){let a=this.autocomplete.options?.find(s=>s.selected);if(a){let s=this._getDisplayValue(a.value);o!==s&&a.deselect(!1)}}if(this._canOpen()&&this._document.activeElement===e.target){let a=this._valueOnLastKeydown??this._element.nativeElement.value;this._valueOnLastKeydown=null,this._openPanelInternal(a)}}}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(this._previousValue),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this._openPanelInternal()}_floatLabel(e=!1){this._formField&&this._formField.floatLabel==="auto"&&(e?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){let e=this._zone.onStable.pipe(rt(1)),i=this.autocomplete.options.changes.pipe(lt(()=>this._positionStrategy.reapplyLastPosition()),Lo(0));return St(e,i).pipe(vt(()=>(this._zone.run(()=>{let o=this.panelOpen;this._resetActiveItem(),this._updatePanelState(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),o!==this.panelOpen&&(this.panelOpen?this._emitOpened():this.autocomplete.closed.emit())}),this.panelClosingActions)),rt(1)).subscribe(o=>this._setValueAndClose(o))}_emitOpened(){this.autocomplete.opened.emit()}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_getDisplayValue(e){let i=this.autocomplete;return i&&i.displayWith?i.displayWith(e):e}_assignOptionValue(e){let i=this._getDisplayValue(e);e==null&&this._clearPreviousSelectedOption(null,!1),this._updateNativeInputValue(i??"")}_updateNativeInputValue(e){this._formField?this._formField._control.value=e:this._element.nativeElement.value=e,this._previousValue=e}_setValueAndClose(e){let i=this.autocomplete,o=e?e.source:this._pendingAutoselectedOption;o?(this._clearPreviousSelectedOption(o),this._assignOptionValue(o.value),this._onChange(o.value),i._emitSelectEvent(o),this._element.nativeElement.focus()):i.requireSelection&&this._element.nativeElement.value!==this._valueOnAttach&&(this._clearPreviousSelectedOption(null),this._assignOptionValue(null),i._animationDone?i._animationDone.pipe(rt(1)).subscribe(()=>this._onChange(null)):this._onChange(null)),this.closePanel()}_clearPreviousSelectedOption(e,i){this.autocomplete?.options?.forEach(o=>{o!==e&&o.selected&&o.deselect(i)})}_openPanelInternal(e=this._element.nativeElement.value){if(this._attachOverlay(e),this._floatLabel(),this._trackedModal){let i=this.autocomplete.id;Mr(this._trackedModal,"aria-owns",i)}}_attachOverlay(e){this.autocomplete;let i=this._overlayRef;i?(this._positionStrategy.setOrigin(this._getConnectedElement()),i.updateSize({width:this._getPanelWidth()})):(this._portal=new se(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),i=this._overlay.create(this._getOverlayConfig()),this._overlayRef=i,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&i&&i.updateSize({width:this._getPanelWidth()})})),i&&!i.hasAttached()&&(i.attach(this._portal),this._valueOnAttach=e,this._valueOnLastKeydown=null,this._closingActionsSubscription=this._subscribeToClosingActions());let o=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._latestOpeningTrigger=this,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this._applyModalPanelOwnership(),this.panelOpen&&o!==this.panelOpen&&this._emitOpened()}_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){let e=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=e.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=e.outsidePointerEvents().subscribe())}else this._keydownSubscription?.unsubscribe(),this._outsideClickSubscription?.unsubscribe(),this._keydownSubscription=this._outsideClickSubscription=null}_getOverlayConfig(){return new Qe({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){let e=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(e),this._positionStrategy=e,e}_setStrategyPositions(e){let i=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],o=this._aboveClass,a=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:o},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:o}],s;this.position==="above"?s=a:this.position==="below"?s=i:s=[...i,...a],e.withPositions(s)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){let e=this.autocomplete;if(e.autoActiveFirstOption){let i=-1;for(let o=0;o .cdk-overlay-container [aria-modal="true"]');if(!e)return;let i=this.autocomplete.id;this._trackedModal&&uo(this._trackedModal,"aria-owns",i),Mr(e,"aria-owns",i),this._trackedModal=e}_clearFromModal(){if(this._trackedModal){let e=this.autocomplete.id;uo(this._trackedModal,"aria-owns",e),this._trackedModal=null}}};t.\u0275fac=function(i){return new(i||t)(l(D),l(yt),l($t),l(k),l(pt),l(Bu),l(Lt,8),l(To,9),l(j,8),l(Ze),l(ju,8))},t.\u0275dir=I({type:t,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(i,o){i&1&&S("focusin",function(){return o._handleFocus()})("blur",function(){return o._onTouched()})("input",function(s){return o._handleInput(s)})("keydown",function(s){return o._handleKeydown(s)})("click",function(){return o._handleClick()}),i&2&&Y("autocomplete",o.autocompleteAttribute)("role",o.autocompleteDisabled?null:"combobox")("aria-autocomplete",o.autocompleteDisabled?null:"list")("aria-activedescendant",o.panelOpen&&o.activeOption?o.activeOption.id:null)("aria-expanded",o.autocompleteDisabled?null:o.panelOpen.toString())("aria-controls",o.autocompleteDisabled||!o.panelOpen||o.autocomplete==null?null:o.autocomplete.id)("aria-haspopup",o.autocompleteDisabled?null:"listbox")},inputs:{autocomplete:[b.None,"matAutocomplete","autocomplete"],position:[b.None,"matAutocompletePosition","position"],connectedTo:[b.None,"matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:[b.None,"autocomplete","autocompleteAttribute"],autocompleteDisabled:[b.HasDecoratorInputTransform,"matAutocompleteDisabled","autocompleteDisabled",q]},exportAs:["matAutocompleteTrigger"],standalone:!0,features:[st([c0]),ft,Ct]});let n=t;return n})(),zu=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({providers:[l0],imports:[ze,lc,K,Ye,gn,lc,K]});let n=t;return n})();var h0=["input"],f0=["label"],p0=["*"],b0=new y("mat-checkbox-default-options",{providedIn:"root",factory:Hu});function Hu(){return{color:"accent",clickAction:"check-indeterminate"}}var zt=function(n){return n[n.Init=0]="Init",n[n.Checked=1]="Checked",n[n.Unchecked=2]="Unchecked",n[n.Indeterminate=3]="Indeterminate",n}(zt||{}),g0={provide:We,useExisting:Tt(()=>da),multi:!0},Yc=class{},_0=0,Uu=Hu(),da=(()=>{let t=class t{focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(e){let i=new Yc;return i.source=this,i.checked=e,i}_getAnimationTargetElement(){return this._inputElement?.nativeElement}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(e,i,o,a,s,c){this._elementRef=e,this._changeDetectorRef=i,this._ngZone=o,this._animationMode=s,this._options=c,this._animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"},this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new V,this.indeterminateChange=new V,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=zt.Init,this._controlValueAccessorChangeFn=()=>{},this._validatorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||Uu,this.color=this._options.color||Uu.color,this.tabIndex=parseInt(a)||0,this.id=this._uniqueId=`mat-mdc-checkbox-${++_0}`}ngOnChanges(e){e.required&&this._validatorChangeFn()}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(e){e!=this.checked&&(this._checked=e,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){e!==this.disabled&&(this._disabled=e,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(e){let i=e!=this._indeterminate;this._indeterminate=e,i&&(this._indeterminate?this._transitionCheckState(zt.Indeterminate):this._transitionCheckState(this.checked?zt.Checked:zt.Unchecked),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(e){this.checked=!!e}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}validate(e){return this.required&&e.value!==!0?{required:!0}:null}registerOnValidatorChange(e){this._validatorChangeFn=e}_transitionCheckState(e){let i=this._currentCheckState,o=this._getAnimationTargetElement();if(!(i===e||!o)&&(this._currentAnimationClass&&o.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(i,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){o.classList.add(this._currentAnimationClass);let a=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{o.classList.remove(a)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){let e=this._options?.clickAction;!this.disabled&&e!=="noop"?(this.indeterminate&&e!=="check"&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?zt.Checked:zt.Unchecked),this._emitChangeEvent()):!this.disabled&&e==="noop"&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate)}_onInteractionEvent(e){e.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(e,i){if(this._animationMode==="NoopAnimations")return"";switch(e){case zt.Init:if(i===zt.Checked)return this._animationClasses.uncheckedToChecked;if(i==zt.Indeterminate)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case zt.Unchecked:return i===zt.Checked?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case zt.Checked:return i===zt.Unchecked?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case zt.Indeterminate:return i===zt.Checked?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(e){let i=this._inputElement;i&&(i.nativeElement.indeterminate=e)}_onInputClick(){this._handleInputClick()}_onTouchTargetClick(){this._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(e){e.target&&this._labelElement.nativeElement.contains(e.target)&&e.stopPropagation()}};t.\u0275fac=function(i){return new(i||t)(l(D),l(pt),l(k),Ne("tabindex"),l(_t,8),l(b0,8))},t.\u0275cmp=T({type:t,selectors:[["mat-checkbox"]],viewQuery:function(i,o){if(i&1&&(nt(h0,5),nt(f0,5),nt(Be,5)),i&2){let a;U(a=H())&&(o._inputElement=a.first),U(a=H())&&(o._labelElement=a.first),U(a=H())&&(o.ripple=a.first)}},hostAttrs:[1,"mat-mdc-checkbox"],hostVars:14,hostBindings:function(i,o){i&2&&(Xt("id",o.id),Y("tabindex",null)("aria-label",null)("aria-labelledby",null),Mt(o.color?"mat-"+o.color:"mat-accent"),z("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mdc-checkbox--disabled",o.disabled)("mat-mdc-checkbox-disabled",o.disabled)("mat-mdc-checkbox-checked",o.checked))},inputs:{ariaLabel:[b.None,"aria-label","ariaLabel"],ariaLabelledby:[b.None,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[b.None,"aria-describedby","ariaDescribedby"],id:"id",required:[b.HasDecoratorInputTransform,"required","required",q],labelPosition:"labelPosition",name:"name",value:"value",disableRipple:[b.HasDecoratorInputTransform,"disableRipple","disableRipple",q],tabIndex:[b.HasDecoratorInputTransform,"tabIndex","tabIndex",e=>e==null?void 0:ge(e)],color:"color",checked:[b.HasDecoratorInputTransform,"checked","checked",q],disabled:[b.HasDecoratorInputTransform,"disabled","disabled",q],indeterminate:[b.HasDecoratorInputTransform,"indeterminate","indeterminate",q]},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],standalone:!0,features:[st([g0,{provide:Ce,useExisting:t,multi:!0}]),ft,Ct,A],ngContentSelectors:p0,decls:15,vars:19,consts:[["checkbox",""],["input",""],["label",""],["mat-internal-form-field","",3,"click","labelPosition"],[1,"mdc-checkbox"],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"blur","click","change","checked","indeterminate","disabled","id","required","tabIndex"],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"]],template:function(i,o){if(i&1){let a=mt();wt(),h(0,"div",3),S("click",function(c){return $(a),W(o._preventBubblingFromLabel(c))}),h(1,"div",4,0)(3,"div",5),S("click",function(){return $(a),W(o._onTouchTargetClick())}),f(),h(4,"input",6,1),S("blur",function(){return $(a),W(o._onBlur())})("click",function(){return $(a),W(o._onInputClick())})("change",function(c){return $(a),W(o._onInteractionEvent(c))}),f(),M(6,"div",7),h(7,"div",8),jo(),h(8,"svg",9),M(9,"path",10),f(),ld(),M(10,"div",11),f(),M(11,"div",12),f(),h(12,"label",13,2),at(14),f()()}if(i&2){let a=pe(2);L("labelPosition",o.labelPosition),v(4),z("mdc-checkbox--selected",o.checked),L("checked",o.checked)("indeterminate",o.indeterminate)("disabled",o.disabled)("id",o.inputId)("required",o.required)("tabIndex",o.disabled?-1:o.tabIndex),Y("aria-label",o.ariaLabel||null)("aria-labelledby",o.ariaLabelledby)("aria-describedby",o.ariaDescribedby)("aria-checked",o.indeterminate?"mixed":null)("name",o.name)("value",o.value),v(7),L("matRippleTrigger",a)("matRippleDisabled",o.disableRipple||o.disabled)("matRippleCentered",!0),v(),L("for",o.inputId)}},dependencies:[Be,Nr],styles:['.mdc-touch-target-wrapper{display:inline}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:mdc-animation-deceleration-curve-timing-function;transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom}.mdc-checkbox[hidden]{display:none}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{border-color:CanvasText}}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{border-color:CanvasText}}@media all and (-ms-high-contrast: none){.mdc-checkbox .mdc-checkbox__focus-ring{display:none}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled{cursor:default;pointer-events:none}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--upgraded .mdc-checkbox__checkmark{opacity:1}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear 0s;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear 0s;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background{transition:border-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit}.mdc-checkbox__native-control:disabled{cursor:default;pointer-events:none}.mdc-checkbox--touch{margin:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2)}.mdc-checkbox--touch .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);right:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);width:var(--mdc-checkbox-state-layer-size);height:var(--mdc-checkbox-state-layer-size)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 180ms 0ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark-path,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__mixedmark{transition:none}.mdc-checkbox{padding:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2);margin:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2)}.mdc-checkbox .mdc-checkbox__native-control[disabled]:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true][disabled]~.mdc-checkbox__background{border-color:transparent;background-color:var(--mdc-checkbox-disabled-selected-icon-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}}.mdc-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}@keyframes mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}}@keyframes mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}}.mdc-checkbox:hover.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:hover.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336}.mdc-checkbox:hover.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:hover.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336}.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}}.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox .mdc-checkbox__background{top:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2)}.mdc-checkbox .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);right:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);width:var(--mdc-checkbox-state-layer-size);height:var(--mdc-checkbox-state-layer-size)}.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:focus:not(:checked):not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color);background-color:var(--mdc-checkbox-selected-focus-icon-color)}.mdc-checkbox:hover .mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox:hover .mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox .mdc-checkbox__background{-webkit-print-color-adjust:exact;color-adjust:exact}.mat-mdc-checkbox._mat-animation-noopable *,.mat-mdc-checkbox._mat-animation-noopable *::before{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default;color:var(--mat-checkbox-disabled-label-color)}.mat-mdc-checkbox label:empty{display:none}.cdk-high-contrast-active .mat-mdc-checkbox.mat-mdc-checkbox-disabled{opacity:.5}.cdk-high-contrast-active .mat-mdc-checkbox .mdc-checkbox__checkmark{--mdc-checkbox-selected-checkmark-color: CanvasText;--mdc-checkbox-disabled-selected-checkmark-color: CanvasText}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-ripple .mat-ripple-element{opacity:.1}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-checkbox-touch-target-display)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0});let n=t;return n})();var $u=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({imports:[da,K,K]});let n=t;return n})();var y0=["switch"],x0=["*"];function w0(n,t){n&1&&(h(0,"div",10),jo(),h(1,"svg",12),M(2,"path",13),f(),h(3,"svg",14),M(4,"path",15),f()())}var C0=new y("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1,hideIcon:!1})}),k0={provide:We,useExisting:Tt(()=>ma),multi:!0},la=class{constructor(t,r){this.source=t,this.checked=r}},I0=0,ma=(()=>{let t=class t{_createChangeEvent(e){return new la(this,e)}get buttonId(){return`${this.id||this._uniqueId}-button`}focus(){this._switchElement.nativeElement.focus()}get checked(){return this._checked}set checked(e){this._checked=e,this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(e,i,o,a,s,c){this._elementRef=e,this._focusMonitor=i,this._changeDetectorRef=o,this.defaults=s,this._onChange=d=>{},this._onTouched=()=>{},this._validatorOnChange=()=>{},this._checked=!1,this.name=null,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this.change=new V,this.toggleChange=new V,this.tabIndex=parseInt(a)||0,this.color=s.color||"accent",this._noopAnimations=c==="NoopAnimations",this.id=this._uniqueId=`mat-mdc-slide-toggle-${++I0}`,this.hideIcon=s.hideIcon??!1,this._labelId=this._uniqueId+"-label"}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{e==="keyboard"||e==="program"?(this._focused=!0,this._changeDetectorRef.markForCheck()):e||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnChanges(e){e.required&&this._validatorOnChange()}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(e){this.checked=!!e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}validate(e){return this.required&&e.value!==!0?{required:!0}:null}registerOnValidatorChange(e){this._validatorOnChange=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck()}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(this._createChangeEvent(this.checked))}_handleClick(){this.toggleChange.emit(),this.defaults.disableToggleValue||(this.checked=!this.checked,this._onChange(this.checked),this.change.emit(new la(this,this.checked)))}_getAriaLabelledBy(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId}};t.\u0275fac=function(i){return new(i||t)(l(D),l(ae),l(pt),Ne("tabindex"),l(C0),l(_t,8))},t.\u0275cmp=T({type:t,selectors:[["mat-slide-toggle"]],viewQuery:function(i,o){if(i&1&&nt(y0,5),i&2){let a;U(a=H())&&(o._switchElement=a.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:13,hostBindings:function(i,o){i&2&&(Xt("id",o.id),Y("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),Mt(o.color?"mat-"+o.color:""),z("mat-mdc-slide-toggle-focused",o._focused)("mat-mdc-slide-toggle-checked",o.checked)("_mat-animation-noopable",o._noopAnimations))},inputs:{name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:[b.None,"aria-label","ariaLabel"],ariaLabelledby:[b.None,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[b.None,"aria-describedby","ariaDescribedby"],required:[b.HasDecoratorInputTransform,"required","required",q],color:"color",disabled:[b.HasDecoratorInputTransform,"disabled","disabled",q],disableRipple:[b.HasDecoratorInputTransform,"disableRipple","disableRipple",q],tabIndex:[b.HasDecoratorInputTransform,"tabIndex","tabIndex",e=>e==null?0:ge(e)],checked:[b.HasDecoratorInputTransform,"checked","checked",q],hideIcon:[b.HasDecoratorInputTransform,"hideIcon","hideIcon",q]},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],standalone:!0,features:[st([k0,{provide:Ce,useExisting:t,multi:!0}]),ft,Ct,A],ngContentSelectors:x0,decls:13,vars:24,consts:[["switch",""],["mat-internal-form-field","",3,"labelPosition"],["role","switch","type","button",1,"mdc-switch",3,"click","tabIndex","disabled"],[1,"mdc-switch__track"],[1,"mdc-switch__handle-track"],[1,"mdc-switch__handle"],[1,"mdc-switch__shadow"],[1,"mdc-elevation-overlay"],[1,"mdc-switch__ripple"],["mat-ripple","",1,"mat-mdc-slide-toggle-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-switch__icons"],[1,"mdc-label",3,"click","for"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--on"],["d","M19.69,5.23L8.96,15.96l-4.23-4.23L2.96,13.5l6,6L21.46,7L19.69,5.23z"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--off"],["d","M20 13H4v-2h16v2z"]],template:function(i,o){if(i&1){let a=mt();wt(),h(0,"div",1)(1,"button",2,0),S("click",function(){return $(a),W(o._handleClick())}),M(3,"div",3),h(4,"div",4)(5,"div",5)(6,"div",6),M(7,"div",7),f(),h(8,"div",8),M(9,"div",9),f(),B(10,w0,5,0,"div",10),f()()(),h(11,"label",11),S("click",function(c){return $(a),W(c.stopPropagation())}),at(12),f()()}if(i&2){let a=pe(2);L("labelPosition",o.labelPosition),v(),z("mdc-switch--selected",o.checked)("mdc-switch--unselected",!o.checked)("mdc-switch--checked",o.checked)("mdc-switch--disabled",o.disabled),L("tabIndex",o.disabled?-1:o.tabIndex)("disabled",o.disabled),Y("id",o.buttonId)("name",o.name)("aria-label",o.ariaLabel)("aria-labelledby",o._getAriaLabelledBy())("aria-describedby",o.ariaDescribedby)("aria-required",o.required||null)("aria-checked",o.checked),v(8),L("matRippleTrigger",a)("matRippleDisabled",o.disableRipple||o.disabled)("matRippleCentered",!0),v(),Q(10,o.hideIcon?-1:10),v(),L("for",o.buttonId),Y("id",o._labelId)}},dependencies:[Be,Nr],styles:['.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--mdc-elevation-overlay-color)}.mdc-switch{align-items:center;background:none;border:none;cursor:pointer;display:inline-flex;flex-shrink:0;margin:0;outline:none;overflow:visible;padding:0;position:relative}.mdc-switch[hidden]{display:none}.mdc-switch:disabled{cursor:default;pointer-events:none}.mdc-switch__track{overflow:hidden;position:relative;width:100%}.mdc-switch__track::before,.mdc-switch__track::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";height:100%;left:0;position:absolute;width:100%}@media screen and (forced-colors: active){.mdc-switch__track::before,.mdc-switch__track::after{border-color:currentColor}}.mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(-100%)}[dir=rtl] .mdc-switch__track::after,.mdc-switch__track[dir=rtl]::after{transform:translateX(100%)}.mdc-switch--selected .mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__track::before,.mdc-switch--selected .mdc-switch__track[dir=rtl]::before{transform:translateX(-100%)}.mdc-switch--selected .mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__handle-track{height:100%;pointer-events:none;position:absolute;top:0;transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);left:0;right:auto;transform:translateX(0)}[dir=rtl] .mdc-switch__handle-track,.mdc-switch__handle-track[dir=rtl]{left:auto;right:0}.mdc-switch--selected .mdc-switch__handle-track{transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__handle-track,.mdc-switch--selected .mdc-switch__handle-track[dir=rtl]{transform:translateX(-100%)}.mdc-switch__handle{display:flex;pointer-events:auto;position:absolute;top:50%;transform:translateY(-50%);left:0;right:auto}[dir=rtl] .mdc-switch__handle,.mdc-switch__handle[dir=rtl]{left:auto;right:0}.mdc-switch__handle::before,.mdc-switch__handle::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";width:100%;height:100%;left:0;position:absolute;top:0;transition:background-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1),border-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);z-index:-1}@media screen and (forced-colors: active){.mdc-switch__handle::before,.mdc-switch__handle::after{border-color:currentColor}}.mdc-switch__shadow{border-radius:inherit;bottom:0;left:0;position:absolute;right:0;top:0}.mdc-elevation-overlay{bottom:0;left:0;right:0;top:0}.mdc-switch__ripple{left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);z-index:-1}.mdc-switch:disabled .mdc-switch__ripple{display:none}.mdc-switch__icons{height:100%;position:relative;width:100%;z-index:1}.mdc-switch__icon{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0;opacity:0;transition:opacity 30ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-switch--selected .mdc-switch__icon--on,.mdc-switch--unselected .mdc-switch__icon--off{opacity:1;transition:opacity 45ms 30ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle .mdc-switch--disabled+label{color:var(--mdc-switch-disabled-label-text-color)}.mdc-switch{width:var(--mdc-switch-track-width)}.mdc-switch.mdc-switch--selected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-selected-handle-color)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-hover-handle-color)}.mdc-switch.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-focus-handle-color)}.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-selected-pressed-handle-color)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-selected-handle-color)}.mdc-switch.mdc-switch--unselected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-unselected-handle-color)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-hover-handle-color)}.mdc-switch.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-focus-handle-color)}.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-unselected-pressed-handle-color)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-unselected-handle-color)}.mdc-switch .mdc-switch__handle::before{background:var(--mdc-switch-handle-surface-color)}.mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation)}.mdc-switch:disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation)}.mdc-switch .mdc-switch__focus-ring-wrapper,.mdc-switch .mdc-switch__handle{height:var(--mdc-switch-handle-height)}.mdc-switch .mdc-switch__handle{border-radius:var(--mdc-switch-handle-shape)}.mdc-switch .mdc-switch__handle{width:var(--mdc-switch-handle-width)}.mdc-switch .mdc-switch__handle-track{width:calc(100% - var(--mdc-switch-handle-width))}.mdc-switch.mdc-switch--selected:enabled .mdc-switch__icon{fill:var(--mdc-switch-selected-icon-color)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-selected-icon-color)}.mdc-switch.mdc-switch--unselected:enabled .mdc-switch__icon{fill:var(--mdc-switch-unselected-icon-color)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-unselected-icon-color)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-selected-icon-opacity)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-unselected-icon-opacity)}.mdc-switch.mdc-switch--selected .mdc-switch__icon{width:var(--mdc-switch-selected-icon-size);height:var(--mdc-switch-selected-icon-size)}.mdc-switch.mdc-switch--unselected .mdc-switch__icon{width:var(--mdc-switch-unselected-icon-size);height:var(--mdc-switch-unselected-icon-size)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-hover-state-layer-color)}.mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-focus-state-layer-color)}.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-pressed-state-layer-color)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-hover-state-layer-color)}.mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-focus-state-layer-color)}.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-pressed-state-layer-color)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-selected-hover-state-layer-opacity)}.mdc-switch.mdc-switch--selected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-selected-focus-state-layer-opacity)}.mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-selected-pressed-state-layer-opacity)}.mdc-switch.mdc-switch--selected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-selected-pressed-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-unselected-hover-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-unselected-focus-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity)}.mdc-switch .mdc-switch__ripple{height:var(--mdc-switch-state-layer-size);width:var(--mdc-switch-state-layer-size)}.mdc-switch .mdc-switch__track{height:var(--mdc-switch-track-height)}.mdc-switch:disabled .mdc-switch__track{opacity:var(--mdc-switch-disabled-track-opacity)}.mdc-switch:enabled .mdc-switch__track::after{background:var(--mdc-switch-selected-track-color)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-hover-track-color)}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-focus-track-color)}.mdc-switch:enabled:active .mdc-switch__track::after{background:var(--mdc-switch-selected-pressed-track-color)}.mdc-switch:disabled .mdc-switch__track::after{background:var(--mdc-switch-disabled-selected-track-color)}.mdc-switch:enabled .mdc-switch__track::before{background:var(--mdc-switch-unselected-track-color)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-hover-track-color)}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-focus-track-color)}.mdc-switch:enabled:active .mdc-switch__track::before{background:var(--mdc-switch-unselected-pressed-track-color)}.mdc-switch:disabled .mdc-switch__track::before{background:var(--mdc-switch-disabled-unselected-track-color)}.mdc-switch .mdc-switch__track{border-radius:var(--mdc-switch-track-shape)}.mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation-shadow)}.mdc-switch:disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation-shadow)}.mat-mdc-slide-toggle{display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple,.mat-mdc-slide-toggle .mdc-switch__ripple::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple:not(:empty),.mat-mdc-slide-toggle .mdc-switch__ripple::after:not(:empty){transform:translateZ(0)}.mat-mdc-slide-toggle .mdc-switch__ripple::after{content:"";opacity:0}.mat-mdc-slide-toggle .mdc-switch:hover .mdc-switch__ripple::after{opacity:.04;transition:opacity 75ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mdc-switch .mdc-switch__ripple::after{opacity:.12}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mat-mdc-focus-indicator::before{content:""}.mat-mdc-slide-toggle .mat-ripple-element{opacity:.12}.mat-mdc-slide-toggle .mat-mdc-focus-indicator::before{border-radius:50%}.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle-track,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-elevation-overlay,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__icon,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::after,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::after{transition:none}.mat-mdc-slide-toggle .mdc-switch:enabled+.mdc-label{cursor:pointer}.mdc-switch__handle{transition:width 75ms cubic-bezier(0.4, 0, 0.2, 1),height 75ms cubic-bezier(0.4, 0, 0.2, 1),margin 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-switch--selected .mdc-switch__track::before{opacity:var(--mat-switch-hidden-track-opacity);transition:var(--mat-switch-hidden-track-transition)}.mdc-switch--selected .mdc-switch__track::after{opacity:var(--mat-switch-visible-track-opacity);transition:var(--mat-switch-visible-track-transition)}.mdc-switch--unselected .mdc-switch__track::before{opacity:var(--mat-switch-visible-track-opacity);transition:var(--mat-switch-visible-track-transition)}.mdc-switch--unselected .mdc-switch__track::after{opacity:var(--mat-switch-hidden-track-opacity);transition:var(--mat-switch-hidden-track-transition)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle{width:var(--mat-switch-unselected-handle-size);height:var(--mat-switch-unselected-handle-size)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle{width:var(--mat-switch-selected-handle-size);height:var(--mat-switch-selected-handle-size)}.mat-mdc-slide-toggle .mdc-switch__handle:has(.mdc-switch__icons){width:var(--mat-switch-with-icon-handle-size);height:var(--mat-switch-with-icon-handle-size)}.mat-mdc-slide-toggle:active .mdc-switch:not(.mdc-switch--disabled) .mdc-switch__handle{width:var(--mat-switch-pressed-handle-size);height:var(--mat-switch-pressed-handle-size)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle{margin:var(--mat-switch-selected-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-switch-selected-with-icon-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle{margin:var(--mat-switch-unselected-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-switch-unselected-with-icon-handle-horizontal-margin)}.mat-mdc-slide-toggle:active .mdc-switch--selected:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-switch-selected-pressed-handle-horizontal-margin)}.mat-mdc-slide-toggle:active .mdc-switch--unselected:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-switch-unselected-pressed-handle-horizontal-margin)}.mdc-switch__track::after,.mdc-switch__track::before{border-width:var(--mat-switch-track-outline-width);border-color:var(--mat-switch-track-outline-color)}.mdc-switch--selected .mdc-switch__track::after,.mdc-switch--selected .mdc-switch__track::before{border-width:var(--mat-switch-selected-track-outline-width)}.mdc-switch--disabled .mdc-switch__track::after,.mdc-switch--disabled .mdc-switch__track::before{border-width:var(--mat-switch-disabled-unselected-track-outline-width);border-color:var(--mat-switch-disabled-unselected-track-outline-color)}.mdc-switch--disabled.mdc-switch--selected .mdc-switch__handle::after{opacity:var(--mat-switch-disabled-selected-handle-opacity)}.mdc-switch--disabled.mdc-switch--unselected .mdc-switch__handle::after{opacity:var(--mat-switch-disabled-unselected-handle-opacity)}'],encapsulation:2,changeDetection:0});let n=t;return n})();var Wu=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({imports:[ma,K,K]});let n=t;return n})();function D0(n,t){if(n&1){let r=mt();h(0,"div",1)(1,"button",2),S("click",function(){$(r);let i=G();return W(i.action())}),C(2),f()()}if(n&2){let r=G();v(2),Wt(" ",r.data.action," ")}}var S0=["label"];function T0(n,t){}var A0=Math.pow(2,31)-1,Ao=class{constructor(t,r){this._overlayRef=r,this._afterDismissed=new E,this._afterOpened=new E,this._onAction=new E,this._dismissedByAction=!1,this.containerInstance=t,t._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(t){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(t,A0))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}},Gu=new y("MatSnackBarData"),En=class{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}},M0=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=I({type:t,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"],standalone:!0});let n=t;return n})(),R0=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=I({type:t,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"],standalone:!0});let n=t;return n})(),O0=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=I({type:t,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"],standalone:!0});let n=t;return n})(),qu=(()=>{let t=class t{constructor(e,i){this.snackBarRef=e,this.data=i}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}};t.\u0275fac=function(i){return new(i||t)(l(Ao),l(Gu))},t.\u0275cmp=T({type:t,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],standalone:!0,features:[A],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(i,o){i&1&&(h(0,"div",0),C(1),f(),B(2,D0,3,1,"div",1)),i&2&&(v(),Wt(" ",o.data.message,` +`),v(),Q(2,o.hasAction?2:-1))},dependencies:[xe,M0,R0,O0],styles:[".mat-mdc-simple-snack-bar{display:flex}"],encapsulation:2,changeDetection:0});let n=t;return n})(),F0={snackBarState:Le("state",[Zt("void, hidden",Et({transform:"scale(0.8)",opacity:0})),Zt("visible",Et({transform:"scale(1)",opacity:1})),Gt("* => visible",Bt("150ms cubic-bezier(0, 0, 0.2, 1)")),Gt("* => void, * => hidden",Bt("75ms cubic-bezier(0.4, 0.0, 1, 1)",Et({opacity:0})))])},P0=0,N0=(()=>{let t=class t extends bi{constructor(e,i,o,a,s){super(),this._ngZone=e,this._elementRef=i,this._changeDetectorRef=o,this._platform=a,this.snackBarConfig=s,this._document=_(j),this._trackedModals=new Set,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new E,this._onExit=new E,this._onEnter=new E,this._animationState="void",this._liveElementId=`mat-snack-bar-container-live-${P0++}`,this.attachDomPortal=c=>{this._assertNotAttached();let d=this._portalOutlet.attachDomPortal(c);return this._afterPortalAttached(),d},s.politeness==="assertive"&&!s.announcementMessage?this._live="assertive":s.politeness==="off"?this._live="off":this._live="polite",this._platform.FIREFOX&&(this._live==="polite"&&(this._role="status"),this._live==="assertive"&&(this._role="alert"))}attachComponentPortal(e){this._assertNotAttached();let i=this._portalOutlet.attachComponentPortal(e);return this._afterPortalAttached(),i}attachTemplatePortal(e){this._assertNotAttached();let i=this._portalOutlet.attachTemplatePortal(e);return this._afterPortalAttached(),i}onAnimationEnd(e){let{fromState:i,toState:o}=e;if((o==="void"&&i!=="void"||o==="hidden")&&this._completeExit(),o==="visible"){let a=this._onEnter;this._ngZone.run(()=>{a.next(),a.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.markForCheck(),this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{this._animationState="hidden",this._changeDetectorRef.markForCheck(),this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){queueMicrotask(()=>{this._onExit.next(),this._onExit.complete()})}_afterPortalAttached(){let e=this._elementRef.nativeElement,i=this.snackBarConfig.panelClass;i&&(Array.isArray(i)?i.forEach(s=>e.classList.add(s)):e.classList.add(i)),this._exposeToModals();let o=this._label.nativeElement,a="mdc-snackbar__label";o.classList.toggle(a,!o.querySelector(`.${a}`))}_exposeToModals(){let e=this._liveElementId,i=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let o=0;o{let i=e.getAttribute("aria-owns");if(i){let o=i.replace(this._liveElementId,"").trim();o.length>0?e.setAttribute("aria-owns",o):e.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{let e=this._elementRef.nativeElement.querySelector("[aria-hidden]"),i=this._elementRef.nativeElement.querySelector("[aria-live]");if(e&&i){let o=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&e.contains(document.activeElement)&&(o=document.activeElement),e.removeAttribute("aria-hidden"),i.appendChild(e),o?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}};t.\u0275fac=function(i){return new(i||t)(l(k),l(D),l(pt),l(J),l(En))},t.\u0275cmp=T({type:t,selectors:[["mat-snack-bar-container"]],viewQuery:function(i,o){if(i&1&&(nt(Kt,7),nt(S0,7)),i&2){let a;U(a=H())&&(o._portalOutlet=a.first),U(a=H())&&(o._label=a.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container","mdc-snackbar--open"],hostVars:1,hostBindings:function(i,o){i&1&&$o("@state.done",function(s){return o.onAnimationEnd(s)}),i&2&&Ho("@state",o._animationState)},standalone:!0,features:[it,A],decls:6,vars:3,consts:[["label",""],[1,"mdc-snackbar__surface"],[1,"mat-mdc-snack-bar-label"],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(i,o){i&1&&(h(0,"div",1)(1,"div",2,0)(3,"div",3),B(4,T0,0,0,"ng-template",4),f(),M(5,"div"),f()()),i&2&&(v(5),Y("aria-live",o._live)("role",o._role)("id",o._liveElementId))},dependencies:[Kt],styles:['.mdc-snackbar{display:none;position:fixed;right:0;bottom:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;pointer-events:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mdc-snackbar--opening,.mdc-snackbar--open,.mdc-snackbar--closing{display:flex}.mdc-snackbar--open .mdc-snackbar__label,.mdc-snackbar--open .mdc-snackbar__actions{visibility:visible}.mdc-snackbar__surface{padding-left:0;padding-right:8px;display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;transform:scale(0.8);opacity:0}.mdc-snackbar__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-snackbar__surface::before{border-color:CanvasText}}[dir=rtl] .mdc-snackbar__surface,.mdc-snackbar__surface[dir=rtl]{padding-left:8px;padding-right:0}.mdc-snackbar--open .mdc-snackbar__surface{transform:scale(1);opacity:1;pointer-events:auto}.mdc-snackbar--closing .mdc-snackbar__surface{transform:scale(1)}.mdc-snackbar__label{padding-left:16px;padding-right:8px;width:100%;flex-grow:1;box-sizing:border-box;margin:0;visibility:hidden;padding-top:14px;padding-bottom:14px}[dir=rtl] .mdc-snackbar__label,.mdc-snackbar__label[dir=rtl]{padding-left:8px;padding-right:16px}.mdc-snackbar__label::before{display:inline;content:attr(data-mdc-snackbar-label-text)}.mdc-snackbar__actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box;visibility:hidden}.mdc-snackbar__action+.mdc-snackbar__dismiss{margin-left:8px;margin-right:0}[dir=rtl] .mdc-snackbar__action+.mdc-snackbar__dismiss,.mdc-snackbar__action+.mdc-snackbar__dismiss[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-snack-bar-container{margin:8px;position:static}.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:344px}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:100%}}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container{width:100vw}}.mat-mdc-snack-bar-container .mdc-snackbar__surface{max-width:672px}.mat-mdc-snack-bar-container .mdc-snackbar__surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{background-color:var(--mdc-snackbar-container-color)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{border-radius:var(--mdc-snackbar-container-shape)}.mat-mdc-snack-bar-container .mdc-snackbar__label{color:var(--mdc-snackbar-supporting-text-color)}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-size:var(--mdc-snackbar-supporting-text-size);font-family:var(--mdc-snackbar-supporting-text-font);font-weight:var(--mdc-snackbar-supporting-text-weight);line-height:var(--mdc-snackbar-supporting-text-line-height)}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){color:var(--mat-snack-bar-button-color);--mat-text-button-state-layer-color:currentColor;--mat-text-button-ripple-color:currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{opacity:.1}.mat-mdc-snack-bar-container .mdc-snackbar__label::before{display:none}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-handset .mdc-snackbar__surface{width:100%}'],encapsulation:2,data:{animation:[F0.snackBarState]}});let n=t;return n})();function L0(){return new En}var j0=new y("mat-snack-bar-default-options",{providedIn:"root",factory:L0}),Pe=(()=>{let t=class t{get _openedSnackBarRef(){let e=this._parentSnackBar;return e?e._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(e){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=e:this._snackBarRefAtThisLevel=e}constructor(e,i,o,a,s,c){this._overlay=e,this._live=i,this._injector=o,this._breakpointObserver=a,this._parentSnackBar=s,this._defaultConfig=c,this._snackBarRefAtThisLevel=null,this.simpleSnackBarComponent=qu,this.snackBarContainerComponent=N0,this.handsetCssClass="mat-mdc-snack-bar-handset"}openFromComponent(e,i){return this._attach(e,i)}openFromTemplate(e,i){return this._attach(e,i)}open(e,i="",o){let a=g(g({},this._defaultConfig),o);return a.data={message:e,action:i},a.announcementMessage===e&&(a.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,a)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(e,i){let o=i&&i.viewContainerRef&&i.viewContainerRef.injector,a=xt.create({parent:o||this._injector,providers:[{provide:En,useValue:i}]}),s=new Me(this.snackBarContainerComponent,i.viewContainerRef,a),c=e.attach(s);return c.instance.snackBarConfig=i,c.instance}_attach(e,i){let o=g(g(g({},new En),this._defaultConfig),i),a=this._createOverlay(o),s=this._attachSnackBarContainer(a,o),c=new Ao(s,a);if(e instanceof Vt){let d=new se(e,null,{$implicit:o.data,snackBarRef:c});c.instance=s.attachTemplatePortal(d)}else{let d=this._createInjector(o,c),m=new Me(e,void 0,d),p=s.attachComponentPortal(m);c.instance=p.instance}return this._breakpointObserver.observe(Xe.HandsetPortrait).pipe(dt(a.detachments())).subscribe(d=>{a.overlayElement.classList.toggle(this.handsetCssClass,d.matches)}),o.announcementMessage&&s._onAnnounce.subscribe(()=>{this._live.announce(o.announcementMessage,o.politeness)}),this._animateSnackBar(c,o),this._openedSnackBarRef=c,this._openedSnackBarRef}_animateSnackBar(e,i){e.afterDismissed().subscribe(()=>{this._openedSnackBarRef==e&&(this._openedSnackBarRef=null),i.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{e.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):e.containerInstance.enter(),i.duration&&i.duration>0&&e.afterOpened().subscribe(()=>e._dismissAfter(i.duration))}_createOverlay(e){let i=new Qe;i.direction=e.direction;let o=this._overlay.position().global(),a=e.direction==="rtl",s=e.horizontalPosition==="left"||e.horizontalPosition==="start"&&!a||e.horizontalPosition==="end"&&a,c=!s&&e.horizontalPosition!=="center";return s?o.left("0"):c?o.right("0"):o.centerHorizontally(),e.verticalPosition==="top"?o.top("0"):o.bottom("0"),i.positionStrategy=o,this._overlay.create(i)}_createInjector(e,i){let o=e&&e.viewContainerRef&&e.viewContainerRef.injector;return xt.create({parent:o||this._injector,providers:[{provide:Ao,useValue:i},{provide:Gu,useValue:e.data}]})}};t.\u0275fac=function(i){return new(i||t)(u(yt),u(Kl),u(xt),u(hn),u(t,12),u(j0))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();var Dn=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({providers:[Pe],imports:[ze,Re,kt,K,qu,K]});let n=t;return n})();var ha=(()=>{let t=class t{constructor(e){this.matInput=e}ngOnInit(){setTimeout(()=>this.matInput.focus())}};t.\u0275fac=function(i){return new(i||t)(l(xi))},t.\u0275dir=I({type:t,selectors:[["","matInputAutofocus",""]],standalone:!0});let n=t;return n})();var ni="https://tot-fet-backend-production.up.railway.app";var Ie=(()=>{let t=class t{constructor(e){this.http=e,this._items=new At([]),this._search=new At(""),this.items=wi([this._items.asObservable(),this._search.asObservable()]).pipe(F(([i,o])=>i.filter(a=>a.name.toLowerCase().includes(o.toLowerCase())))),this.openItems=this.items.pipe(F(i=>i.filter(o=>!o.closed))),this.closedItems=this.items.pipe(F(i=>i.filter(o=>o.closed))),this.isLoading=!0}getAllItemNames(){return Array.from(new Set(this._items.value.map(e=>e.name)))}setSearchValue(e){this._search.next(e)}refreshItems(){this.isLoading=!0,this.http.get(`${ni}/items`).subscribe(e=>(this.isLoading=!1,this._items.next(e)))}addItem(e){this.isLoading=!0;let i=this._items.value.find(o=>o.name===e.name);return i?i.closed?this.editItem(ht(g({},e),{id:i.id})):this.editItem(ht(g({},e),{amount:(e.amount??0)+i.amount,id:i.id})):this.http.post(`${ni}/items`,e).pipe(lt(o=>{this._items.next([...this._items.value,o]),this.isLoading=!1}))}editItem(e){return this.isLoading=!0,this.http.put(`${ni}/items`,e).pipe(lt(i=>{let o=[...this._items.value],a=o.findIndex(s=>s.id===e.id);o[a]=i,this._items.next(o),this.isLoading=!1}))}removeClosed(){return this.isLoading=!0,this.http.delete(`${ni}/items/closed`).pipe(lt(()=>{this._items.next(this._items.value.filter(e=>!e.closed)),this.isLoading=!1}))}removeItem(e){return this.isLoading=!0,this.http.delete(`${ni}/items/${e.id}`).pipe(lt(()=>{let i=[...this._items.value],o=i.findIndex(a=>a.id===e.id);i.splice(o,1),this._items.next(i),this.isLoading=!1}))}closeItem(e){let i=[...this._items.value],o=i.findIndex(a=>a.id===e);return i[o].closed=!0,this._items.next(i),this.http.post(`${ni}/items/close`,{id:e}).pipe(me(a=>(i[o].closed=!1,this._items.next(i),Jt(()=>a))))}};t.\u0275fac=function(i){return new(i||t)(u(Di))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();var V0=["nameInput"];function B0(n,t){if(n&1&&(h(0,"mat-option",6),C(1),f()),n&2){let r=t.$implicit;L("value",r),v(),be(r)}}function z0(n,t){n&1&&(h(0,"mat-error"),C(1,"El "),h(2,"b"),C(3,"nom"),f(),C(4," \xE9s obligatori"),f())}function U0(n,t){n&1&&(h(0,"mat-error"),C(1,"La "),h(2,"b"),C(3,"quantitat"),f(),C(4," \xE9s obligatoria"),f())}function H0(n,t){n&1&&(h(0,"mat-error"),C(1,"La "),h(2,"b"),C(3,"quantitat"),f(),C(4," ha de ser com a m\xEDnim 1"),f())}function $0(n,t){n&1&&(h(0,"mat-error"),C(1,"La "),h(2,"b"),C(3,"quantitat"),f(),C(4," ha de ser menor de 100"),f())}function W0(n,t){if(n&1&&(h(0,"mat-slide-toggle",9),C(1),f()),n&2){let r,e=G();v(),Wt(" ",(r=e.itemForm.get("closed"))!=null&&r.value?"Comprat":"Per comprar"," ")}}function G0(n,t){if(n&1){let r=mt();h(0,"mat-checkbox",13),Id("ngModelChange",function(i){$(r);let o=G();return kd(o.addMore,i)||(o.addMore=i),W(i)}),C(1," Afegir-ne m\xE9s "),f()}if(n&2){let r=G();Cd("ngModel",r.addMore)}}var Mo=(()=>{let t=class t{constructor(e,i,o,a){this.item=e,this._bottomSheetRef=i,this._snackBar=o,this.itemService=a,this.itemForm=new vi({name:new ii(""),amount:new ii(1),closed:new ii(!1)}),this.allItemNames=this.itemService.getAllItemNames(),this.addMore=!1}ngOnInit(){this.filteredItems=this.itemForm.get("name").valueChanges.pipe(Ft(""),F(e=>e?this.allItemNames.filter(i=>i.toLowerCase().includes(e.toLowerCase())):[])),this.itemForm.setValue({name:this.item?.name??"",amount:this.item?.amount??1,closed:this.item?.closed??!1})}submitForm(){this.itemForm.invalid||(this.item?this.updateItem():this.addItem())}updateItem(){this.itemService.editItem(g({id:this.item.id},this.itemForm.value)).subscribe(()=>{this._snackBar.open("Compra actualitzada correctament","TANCAR",{verticalPosition:"top",duration:5e3})}),this._bottomSheetRef.dismiss()}addItem(){this.itemService.addItem(this.itemForm.value).subscribe(()=>{this._snackBar.open("Compra afegida correctament","TANCAR",{verticalPosition:"top",duration:5e3})}),this.addMore?(this.nameInput.nativeElement.focus(),this.itemForm.reset(),this.itemForm.setValue({name:"",amount:1,closed:!1})):this._bottomSheetRef.dismiss()}};t.\u0275fac=function(i){return new(i||t)(l(Tc),l(xn),l(Pe),l(Ie))},t.\u0275cmp=T({type:t,selectors:[["app-new-item"]],viewQuery:function(i,o){if(i&1&&nt(V0,5),i&2){let a;U(a=H())&&(o.nameInput=a.first)}},standalone:!0,features:[A],decls:28,vars:14,consts:[["nameInput",""],["auto","matAutocomplete"],[3,"keydown.enter","formGroup"],["appearance","fill",1,"input"],["matInput","","matInputAutofocus","","autofocus","","formControlName","name","type","text","maxlength","100","placeholder","Nom","required","",3,"matAutocomplete"],["autoActiveFirstOption",""],[3,"value"],["align","end"],["matInput","","formControlName","amount","type","number","min","1","max","100","placeholder","Quantitat","required",""],["formControlName","closed",1,"checkbox"],[1,"horizontal"],["mat-raised-button","","color","primary",3,"click","disabled"],[3,"ngModel"],[3,"ngModelChange","ngModel"]],template:function(i,o){if(i&1){let a=mt();h(0,"div",2),S("keydown.enter",function(c){return $(a),c.preventDefault(),W(o.submitForm())}),h(1,"h3"),C(2),f(),h(3,"mat-form-field",3)(4,"mat-label"),C(5,"Nom"),f(),M(6,"input",4,0),h(8,"mat-autocomplete",5,1),he(10,B0,2,2,"mat-option",6,Ii),De(12,"async"),f(),h(13,"mat-hint",7),C(14),f(),B(15,z0,5,0,"mat-error"),f(),h(16,"mat-form-field",3)(17,"mat-label"),C(18,"Quantitat"),f(),M(19,"input",8),B(20,U0,5,0,"mat-error")(21,H0,5,0,"mat-error")(22,$0,5,0,"mat-error"),f(),B(23,W0,2,1,"mat-slide-toggle",9),f(),h(24,"div",10)(25,"button",11),S("click",function(){return $(a),W(o.submitForm())}),C(26),f(),B(27,G0,2,1,"mat-checkbox",12),f()}if(i&2){let a,s,c,d,m,p=pe(9);L("formGroup",o.itemForm),v(2),Wt("",o.item?"Editar":"Afegir"," compra"),v(4),L("matAutocomplete",p),v(4),fe(Se(12,12,o.filteredItems)),v(4),Wt(" ",(a=o.itemForm.get("name"))==null||a.value==null?null:a.value.length," / 100 "),v(),Q(15,(s=o.itemForm.get("name"))!=null&&s.hasError("required")?15:-1),v(5),Q(20,(c=o.itemForm.get("amount"))!=null&&c.hasError("required")?20:-1),v(),Q(21,(d=o.itemForm.get("amount"))!=null&&d.hasError("min")?21:-1),v(),Q(22,(m=o.itemForm.get("amount"))!=null&&m.hasError("max")?22:-1),v(),Q(23,o.item?23:-1),v(2),L("disabled",o.itemForm.invalid),v(),Wt(" ",o.item?"Guardar":"Afegir"," "),v(),Q(27,o.item?-1:27)}},dependencies:[Fe,In,yi,aa,sa,ke,xi,oa,Cn,jc,Jr,ta,So,zc,Bc,Vc,Vi,Do,kn,Lc,kt,xe,Dn,$u,da,Wu,ma,zu,Vu,Pr,qc,ha,Qi],styles:[".input[_ngcontent-%COMP%]{width:100%}.horizontal[_ngcontent-%COMP%]{display:flex;gap:1rem;margin-bottom:1rem}.checkbox[_ngcontent-%COMP%]{margin-bottom:20px}"]});let n=t;return n})();function q0(n,t){if(n&1){let r=mt();h(0,"mat-form-field",0)(1,"mat-label"),C(2,"Buscar"),f(),h(3,"input",1),S("blur",function(){$(r);let i=G();return W(i.closeSearch())})("input",function(i){$(r);let o=G();return W(o.onSearchBoxChange(i))}),f(),h(4,"button",2),S("click",function(){$(r);let i=G();return W(i.closeSearch())}),h(5,"mat-icon"),C(6,"close"),f()()(),h(7,"button",3),S("click",function(){$(r);let i=G();return W(i.openSearchBox=!1)}),h(8,"mat-icon"),C(9,"close"),f()()}}function Y0(n,t){if(n&1){let r=mt();h(0,"button",4),S("click",function(){$(r);let i=G();return W(i.openSearchBox=!0)}),h(1,"mat-icon"),C(2,"search"),f()()}}var Yu=(()=>{let t=class t{constructor(e){this.itemsService=e,this.openSearchBox=!1}closeSearch(){this.openSearchBox=!1,this.itemsService.setSearchValue("")}onSearchBoxChange(e){this.itemsService.setSearchValue(e.target.value)}};t.\u0275fac=function(i){return new(i||t)(l(Ie))},t.\u0275cmp=T({type:t,selectors:[["app-search-bar"]],standalone:!0,features:[A],decls:2,vars:1,consts:[["appearance","outline",1,"search-box"],["matInput","","matInputAutofocus","","autofocus","","type","text",3,"blur","input"],["matSuffix","","mat-icon-button","","aria-label","Clear",3,"click"],["mat-icon-button","","aria-label","Close",3,"click"],["mat-icon-button","","aria-label","Search",3,"click"]],template:function(i,o){i&1&&B(0,q0,10,0)(1,Y0,3,0),i&2&&Q(0,o.openSearchBox?0:1)},dependencies:[ha,we,$e,kt,gi,ke,xi,In,yi,Nu],styles:[".search-box[_ngcontent-%COMP%]{position:fixed;top:1rem;left:1rem;background-color:#2c2c2c;width:calc(100% - 2rem)} .search-box>.mat-mdc-form-field-subscript-wrapper{display:none}"]});let n=t;return n})();var X0=n=>({rotating:n}),Xu=(()=>{let t=class t{constructor(e){this.itemsService=e,this.rotating=!1}rotate(){this.rotating=!0,setTimeout(()=>{this.rotating=!1},1e3)}refreshItems(){!this.rotating&&this.rotate(),this.itemsService.refreshItems()}};t.\u0275fac=function(i){return new(i||t)(l(Ie))},t.\u0275cmp=T({type:t,selectors:[["app-reload-button"]],standalone:!0,features:[A],decls:3,vars:3,consts:[["mat-icon-button","","aria-label","Refresh",3,"click"],[1,"rotating",3,"ngClass"]],template:function(i,o){i&1&&(h(0,"button",0),S("click",function(){return o.refreshItems()}),h(1,"mat-icon",1),C(2," refresh "),f()()),i&2&&(v(),L("ngClass",Yi(1,X0,o.rotating)))},dependencies:[we,$e,kt,gi,Zi],styles:[".rotating[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_rotate 1s ease-in-out infinite}@keyframes _ngcontent-%COMP%_rotate{to{transform:rotate(360deg)}}"]});let n=t;return n})();var Zu=(()=>{let t=class t{constructor(e){this._bottomSheet=e}openAddMenu(){this._bottomSheet.open(Mo)}};t.\u0275fac=function(i){return new(i||t)(l(yo))},t.\u0275cmp=T({type:t,selectors:[["app-bottom-bar-menu"]],standalone:!0,features:[A],decls:6,vars:0,consts:[["mat-fab","","color","primary",1,"add-button",3,"click"]],template:function(i,o){i&1&&(h(0,"div"),M(1,"app-search-bar")(2,"app-reload-button"),f(),h(3,"button",0),S("click",function(){return o.openAddMenu()}),h(4,"mat-icon"),C(5,"add"),f()())},dependencies:[Br,ke,we,$e,kt,Nm,Yu,Xu],styles:[".add-button[_ngcontent-%COMP%]{position:absolute;bottom:1.5rem;right:1rem;z-index:1}"]});let n=t;return n})();function Z0(n,t){}var Ro=class{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}},Xc="mdc-dialog--open",Qu="mdc-dialog--opening",Ku="mdc-dialog--closing",Q0=150,K0=75,J0=(()=>{let t=class t extends _o{constructor(e,i,o,a,s,c,d,m,p){super(e,i,o,a,s,c,d,p),this._animationMode=m,this._animationStateChanged=new V,this._animationsEnabled=this._animationMode!=="NoopAnimations",this._actionSectionCount=0,this._hostElement=this._elementRef.nativeElement,this._enterAnimationDuration=this._animationsEnabled?th(this._config.enterAnimationDuration)??Q0:0,this._exitAnimationDuration=this._animationsEnabled?th(this._config.exitAnimationDuration)??K0:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(Ju,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(Qu,Xc)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(Xc),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(Xc),this._animationsEnabled?(this._hostElement.style.setProperty(Ju,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(Ku)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(e){this._actionSectionCount+=e,this._changeDetectorRef.markForCheck()}_clearAnimationClasses(){this._hostElement.classList.remove(Qu,Ku)}_waitForAnimationToComplete(e,i){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(i,e)}_requestAnimationFrame(e){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(e):e()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer)}attachComponentPortal(e){let i=super.attachComponentPortal(e);return i.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),i}};t.\u0275fac=function(i){return new(i||t)(l(D),l(pn),l(j,8),l(Ro),l(Pi),l(k),l(Oe),l(_t,8),l(ae))},t.\u0275cmp=T({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(i,o){i&2&&(Xt("id",o._config.id),Y("aria-modal",o._config.ariaModal)("role",o._config.role)("aria-labelledby",o._config.ariaLabel?null:o._ariaLabelledByQueue[0])("aria-label",o._config.ariaLabel)("aria-describedby",o._config.ariaDescribedBy||null),z("_mat-animation-noopable",!o._animationsEnabled)("mat-mdc-dialog-container-with-actions",o._actionSectionCount>0))},standalone:!0,features:[it,A],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(i,o){i&1&&(h(0,"div",0)(1,"div",1),B(2,Z0,0,0,"ng-template",2),f()())},dependencies:[Kt],styles:['.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:none}@media(max-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 112px)}}@media(max-width: 720px)and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:560px}}@media(max-width: 720px)and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media(max-width: 720px)and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media(max-width: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-height: 400px),(max-width: 600px),(min-width: 720px)and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(min-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto;outline:0;transform:scale(0.8)}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.mdc-dialog__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-dialog__surface::before{border-color:CanvasText}}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid rgba(0,0,0,0);display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}@media screen and (forced-colors: active){.mdc-dialog--fullscreen .mdc-dialog__header{border-bottom-color:CanvasText}}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--fullscreen--titleless .mdc-dialog__close{margin-top:4px}.mdc-dialog--fullscreen--titleless.mdc-dialog--scrollable .mdc-dialog__close{margin-top:0}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--closing .mdc-dialog__surface{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{opacity:1}.mdc-dialog--open .mdc-dialog__surface{transform:none}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%;z-index:1}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-dialog--no-content-padding .mdc-dialog__content{padding:0}.mdc-dialog--sheet .mdc-dialog__container .mdc-dialog__close{right:12px;top:9px;position:absolute;z-index:1}.mdc-dialog__scrim--removed{pointer-events:none}.mdc-dialog__scrim--removed .mdc-dialog__scrim,.mdc-dialog__scrim--removed .mdc-dialog__surface-scrim{display:none}.mat-mdc-dialog-content{max-height:65vh}.mat-mdc-dialog-container{position:static;display:block}.mat-mdc-dialog-container,.mat-mdc-dialog-container .mdc-dialog__container,.mat-mdc-dialog-container .mdc-dialog__surface{max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mat-mdc-dialog-container .mdc-dialog__surface{width:100%;height:100%}.mat-mdc-dialog-component-host{display:contents}.mat-mdc-dialog-container{--mdc-dialog-container-elevation: var(--mdc-dialog-container-elevation-shadow);outline:0}.mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--mdc-dialog-container-color, white)}.mat-mdc-dialog-container .mdc-dialog__surface{box-shadow:var(--mdc-dialog-container-elevation, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12))}.mat-mdc-dialog-container .mdc-dialog__surface{border-radius:var(--mdc-dialog-container-shape, 4px)}.mat-mdc-dialog-container .mdc-dialog__title{font-family:var(--mdc-dialog-subhead-font, Roboto, sans-serif);line-height:var(--mdc-dialog-subhead-line-height, 1.5rem);font-size:var(--mdc-dialog-subhead-size, 1rem);font-weight:var(--mdc-dialog-subhead-weight, 400);letter-spacing:var(--mdc-dialog-subhead-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__title{color:var(--mdc-dialog-subhead-color, rgba(0, 0, 0, 0.87))}.mat-mdc-dialog-container .mdc-dialog__content{font-family:var(--mdc-dialog-supporting-text-font, Roboto, sans-serif);line-height:var(--mdc-dialog-supporting-text-line-height, 1.5rem);font-size:var(--mdc-dialog-supporting-text-size, 1rem);font-weight:var(--mdc-dialog-supporting-text-weight, 400);letter-spacing:var(--mdc-dialog-supporting-text-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__content{color:var(--mdc-dialog-supporting-text-color, rgba(0, 0, 0, 0.6))}.mat-mdc-dialog-container .mdc-dialog__container{transition:opacity linear var(--mat-dialog-transition-duration, 0ms)}.mat-mdc-dialog-container .mdc-dialog__surface{transition:transform var(--mat-dialog-transition-duration, 0ms) 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__container,.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__surface{transition:none}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 80vw);min-width:var(--mat-dialog-container-min-width, 0)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, 80vw)}}.mat-mdc-dialog-title{padding:var(--mat-dialog-headline-padding, 0 24px 9px)}.mat-mdc-dialog-content{display:block}.mat-mdc-dialog-container .mat-mdc-dialog-content{padding:var(--mat-dialog-content-padding, 20px 24px)}.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content{padding:var(--mat-dialog-with-actions-content-padding, 20px 24px)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{padding:var(--mat-dialog-actions-padding, 8px);justify-content:var(--mat-dialog-actions-alignment, start)}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start,.mat-mdc-dialog-actions[align=start]{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2});let n=t;return n})(),Ju="--mat-dialog-transition-duration";function th(n){return n==null?null:typeof n=="number"?n:n.endsWith("ms")?Ae(n.substring(0,n.length-2)):n.endsWith("s")?Ae(n.substring(0,n.length-1))*1e3:n==="0"?0:null}var fa=function(n){return n[n.OPEN=0]="OPEN",n[n.CLOSING=1]="CLOSING",n[n.CLOSED=2]="CLOSED",n}(fa||{}),oi=class{constructor(t,r,e){this._ref=t,this._containerInstance=e,this._afterOpened=new E,this._beforeClosed=new E,this._state=fa.OPEN,this.disableClose=r.disableClose,this.id=t.id,t.addPanelClass("mat-mdc-dialog-panel"),e._animationStateChanged.pipe(tt(i=>i.state==="opened"),rt(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),e._animationStateChanged.pipe(tt(i=>i.state==="closed"),rt(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),t.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),St(this.backdropClick(),this.keydownEvents().pipe(tt(i=>i.keyCode===27&&!this.disableClose&&!Rt(i)))).subscribe(i=>{this.disableClose||(i.preventDefault(),eh(this,i.type==="keydown"?"keyboard":"mouse"))})}close(t){this._result=t,this._containerInstance._animationStateChanged.pipe(tt(r=>r.state==="closing"),rt(1)).subscribe(r=>{this._beforeClosed.next(t),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),r.totalTime+100)}),this._state=fa.CLOSING,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(t){let r=this._ref.config.positionStrategy;return t&&(t.left||t.right)?t.left?r.left(t.left):r.right(t.right):r.centerHorizontally(),t&&(t.top||t.bottom)?t.top?r.top(t.top):r.bottom(t.bottom):r.centerVertically(),this._ref.updatePosition(),this}updateSize(t="",r=""){return this._ref.updateSize(t,r),this}addPanelClass(t){return this._ref.addPanelClass(t),this}removePanelClass(t){return this._ref.removePanelClass(t),this}getState(){return this._state}_finishDialogClose(){this._state=fa.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};function eh(n,t,r){return n._closeInteractionType=t,n.close(r)}var Zc=new y("MatMdcDialogData"),ty=new y("mat-mdc-dialog-default-options"),ey=new y("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let n=_(yt);return()=>n.scrollStrategies.block()}});var iy=0,Oo=(()=>{let t=class t{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(e,i,o,a,s,c,d,m){this._overlay=e,this._defaultOptions=a,this._scrollStrategy=s,this._parentDialog=c,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new E,this._afterOpenedAtThisLevel=new E,this.dialogConfigClass=Ro,this.afterAllClosed=le(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Ft(void 0))),this._dialog=i.get(vo),this._dialogRefConstructor=oi,this._dialogContainerType=J0,this._dialogDataToken=Zc}open(e,i){let o;i=g(g({},this._defaultOptions||new Ro),i),i.id=i.id||`mat-mdc-dialog-${iy++}`,i.scrollStrategy=i.scrollStrategy||this._scrollStrategy();let a=this._dialog.open(e,ht(g({},i),{positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:i},{provide:Ke,useValue:i}]},templateContext:()=>({dialogRef:o}),providers:(s,c,d)=>(o=new this._dialogRefConstructor(s,i,d),o.updatePosition(i?.position),[{provide:this._dialogContainerType,useValue:d},{provide:this._dialogDataToken,useValue:c.data},{provide:this._dialogRefConstructor,useValue:o}])}));return o.componentRef=a.componentRef,o.componentInstance=a.componentInstance,this.openDialogs.push(o),this.afterOpened.next(o),o.afterClosed().subscribe(()=>{let s=this.openDialogs.indexOf(o);s>-1&&(this.openDialogs.splice(s,1),this.openDialogs.length||this._getAfterAllClosed().next())}),o}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(e){let i=e.length;for(;i--;)e[i].close()}};t.\u0275fac=function(i){return new(i||t)(u(yt),u(xt),u(di,8),u(ty,8),u(ey),u(t,12),u(vn),u(_t,8))},t.\u0275prov=x({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),ny=0,pa=(()=>{let t=class t{constructor(e,i,o){this.dialogRef=e,this._elementRef=i,this._dialog=o,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=nh(this._elementRef,this._dialog.openDialogs))}ngOnChanges(e){let i=e._matDialogClose||e._matDialogCloseResult;i&&(this.dialogResult=i.currentValue)}_onButtonClick(e){eh(this.dialogRef,e.screenX===0&&e.screenY===0?"keyboard":"mouse",this.dialogResult)}};t.\u0275fac=function(i){return new(i||t)(l(oi,8),l(D),l(Oo))},t.\u0275dir=I({type:t,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(i,o){i&1&&S("click",function(s){return o._onButtonClick(s)}),i&2&&Y("aria-label",o.ariaLabel||null)("type",o.type)},inputs:{ariaLabel:[b.None,"aria-label","ariaLabel"],type:"type",dialogResult:[b.None,"mat-dialog-close","dialogResult"],_matDialogClose:[b.None,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],standalone:!0,features:[Ct]});let n=t;return n})(),ih=(()=>{let t=class t{constructor(e,i,o){this._dialogRef=e,this._elementRef=i,this._dialog=o}ngOnInit(){this._dialogRef||(this._dialogRef=nh(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd()})}ngOnDestroy(){this._dialogRef?._containerInstance&&Promise.resolve().then(()=>{this._onRemove()})}};t.\u0275fac=function(i){return new(i||t)(l(oi,8),l(D),l(Oo))},t.\u0275dir=I({type:t,standalone:!0});let n=t;return n})(),ba=(()=>{let t=class t extends ih{constructor(){super(...arguments),this.id=`mat-mdc-dialog-title-${ny++}`}_onAdd(){this._dialogRef._containerInstance?._addAriaLabelledBy?.(this.id)}_onRemove(){this._dialogRef?._containerInstance?._removeAriaLabelledBy?.(this.id)}};t.\u0275fac=(()=>{let e;return function(o){return(e||(e=jt(t)))(o||t)}})(),t.\u0275dir=I({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(i,o){i&2&&Xt("id",o.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],standalone:!0,features:[it]});let n=t;return n})(),ga=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=I({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],standalone:!0});let n=t;return n})(),_a=(()=>{let t=class t extends ih{_onAdd(){this._dialogRef._containerInstance?._updateActionSectionCount?.(1)}_onRemove(){this._dialogRef._containerInstance?._updateActionSectionCount?.(-1)}};t.\u0275fac=(()=>{let e;return function(o){return(e||(e=jt(t)))(o||t)}})(),t.\u0275dir=I({type:t,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(i,o){i&2&&z("mat-mdc-dialog-actions-align-start",o.align==="start")("mat-mdc-dialog-actions-align-center",o.align==="center")("mat-mdc-dialog-actions-align-end",o.align==="end")},inputs:{align:"align"},standalone:!0,features:[it]});let n=t;return n})();function nh(n,t){let r=n.nativeElement.parentElement;for(;r&&!r.classList.contains("mat-mdc-dialog-container");)r=r.parentElement;return r?t.find(e=>e.id===r.id):null}var oh=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({providers:[Oo],imports:[Vr,ze,Re,K,K]});let n=t;return n})();var rh=(()=>{let t=class t{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(e){this._vertical=re(e)}get inset(){return this._inset}set inset(e){this._inset=re(e)}};t.\u0275fac=function(i){return new(i||t)},t.\u0275cmp=T({type:t,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(i,o){i&2&&(Y("aria-orientation",o.vertical?"vertical":"horizontal"),z("mat-divider-vertical",o.vertical)("mat-divider-horizontal",!o.vertical)("mat-divider-inset",o.inset))},inputs:{vertical:"vertical",inset:"inset"},standalone:!0,features:[A],decls:0,vars:0,template:function(i,o){},styles:[".mat-divider{display:block;margin:0;border-top-style:solid;border-top-color:var(--mat-divider-color);border-top-width:var(--mat-divider-width)}.mat-divider.mat-divider-vertical{border-top:0;border-right-style:solid;border-right-color:var(--mat-divider-color);border-right-width:var(--mat-divider-width)}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}"],encapsulation:2,changeDetection:0});let n=t;return n})(),ah=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({imports:[K,K]});let n=t;return n})();var ry=["tooltip"],dh=20;var lh=new y("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{let n=_(yt);return()=>n.scrollStrategies.reposition({scrollThrottle:dh})}});function ay(n){return()=>n.scrollStrategies.reposition({scrollThrottle:dh})}var sy={provide:lh,deps:[yt],useFactory:ay};function cy(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}var dy=new y("mat-tooltip-default-options",{providedIn:"root",factory:cy});var sh="tooltip-panel",ch=ve({passive:!0}),ly=8,my=8,uy=24,hy=200,mh=(()=>{let t=class t{get position(){return this._position}set position(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(e){this._positionAtOrigin=re(e),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(e){this._disabled=re(e),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=Ae(e)}get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=Ae(e),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(e){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=e!=null?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(e,i,o,a,s,c,d,m,p,w,R,Z){this._overlay=e,this._elementRef=i,this._scrollDispatcher=o,this._viewContainerRef=a,this._ngZone=s,this._platform=c,this._ariaDescriber=d,this._focusMonitor=m,this._dir=w,this._defaultOptions=R,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._tooltipComponent=fy,this._viewportMargin=8,this._cssClassPrefix="mat-mdc",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new E,this._scrollStrategy=p,this._document=Z,R&&(this._showDelay=R.showDelay,this._hideDelay=R.hideDelay,R.position&&(this.position=R.position),R.positionAtOrigin&&(this.positionAtOrigin=R.positionAtOrigin),R.touchGestures&&(this.touchGestures=R.touchGestures)),w.change.pipe(dt(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),this._viewportMargin=ly}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(dt(this._destroyed)).subscribe(e=>{e?e==="keyboard"&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){let e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([i,o])=>{e.removeEventListener(i,o,ch)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay,i){if(this.disabled||!this.message||this._isTooltipVisible()){this._tooltipInstance?._cancelPendingAnimations();return}let o=this._createOverlay(i);this._detach(),this._portal=this._portal||new Me(this._tooltipComponent,this._viewContainerRef);let a=this._tooltipInstance=o.attach(this._portal).instance;a._triggerElement=this._elementRef.nativeElement,a._mouseLeaveHideDelay=this._hideDelay,a.afterHidden().pipe(dt(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),a.show(e)}hide(e=this.hideDelay){let i=this._tooltipInstance;i&&(i.isVisible()?i.hide(e):(i._cancelPendingAnimations(),this._detach()))}toggle(e){this._isTooltipVisible()?this.hide():this.show(void 0,e)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(e){if(this._overlayRef){let a=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!e)&&a._origin instanceof D)return this._overlayRef;this._detach()}let i=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),o=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin?e||this._elementRef:this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(i);return o.positionChanges.pipe(dt(this._destroyed)).subscribe(a=>{this._updateCurrentPositionClass(a.connectionPair),this._tooltipInstance&&a.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:o,panelClass:`${this._cssClassPrefix}-${sh}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(dt(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(dt(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(dt(this._destroyed)).subscribe(a=>{this._isTooltipVisible()&&a.keyCode===27&&!Rt(a)&&(a.preventDefault(),a.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){let i=e.getConfig().positionStrategy,o=this._getOrigin(),a=this._getOverlayPosition();i.withPositions([this._addOffset(g(g({},o.main),a.main)),this._addOffset(g(g({},o.fallback),a.fallback))])}_addOffset(e){let i=my,o=!this._dir||this._dir.value=="ltr";return e.originY==="top"?e.offsetY=-i:e.originY==="bottom"?e.offsetY=i:e.originX==="start"?e.offsetX=o?-i:i:e.originX==="end"&&(e.offsetX=o?i:-i),e}_getOrigin(){let e=!this._dir||this._dir.value=="ltr",i=this.position,o;i=="above"||i=="below"?o={originX:"center",originY:i=="above"?"top":"bottom"}:i=="before"||i=="left"&&e||i=="right"&&!e?o={originX:"start",originY:"center"}:(i=="after"||i=="right"&&e||i=="left"&&!e)&&(o={originX:"end",originY:"center"});let{x:a,y:s}=this._invertPosition(o.originX,o.originY);return{main:o,fallback:{originX:a,originY:s}}}_getOverlayPosition(){let e=!this._dir||this._dir.value=="ltr",i=this.position,o;i=="above"?o={overlayX:"center",overlayY:"bottom"}:i=="below"?o={overlayX:"center",overlayY:"top"}:i=="before"||i=="left"&&e||i=="right"&&!e?o={overlayX:"end",overlayY:"center"}:(i=="after"||i=="right"&&e||i=="left"&&!e)&&(o={overlayX:"start",overlayY:"center"});let{x:a,y:s}=this._invertPosition(o.overlayX,o.overlayY);return{main:o,fallback:{overlayX:a,overlayY:s}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(rt(1),dt(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,i){return this.position==="above"||this.position==="below"?i==="top"?i="bottom":i==="bottom"&&(i="top"):e==="end"?e="start":e==="start"&&(e="end"),{x:e,y:i}}_updateCurrentPositionClass(e){let{overlayY:i,originX:o,originY:a}=e,s;if(i==="center"?this._dir&&this._dir.value==="rtl"?s=o==="end"?"left":"right":s=o==="start"?"left":"right":s=i==="bottom"&&a==="top"?"above":"below",s!==this._currentPosition){let c=this._overlayRef;if(c){let d=`${this._cssClassPrefix}-${sh}-`;c.removePanelClass(d+this._currentPosition),c.addPanelClass(d+s)}this._currentPosition=s}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",e=>{this._setupPointerExitEventsIfNeeded();let i;e.x!==void 0&&e.y!==void 0&&(i=e),this.show(void 0,i)}]):this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",e=>{let i=e.targetTouches?.[0],o=i?{x:i.clientX,y:i.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout);let a=500;this._touchstartTimeout=setTimeout(()=>this.show(void 0,o),this._defaultOptions.touchLongPressShowDelay??a)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;let e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",i=>{let o=i.relatedTarget;(!o||!this._overlayRef?.overlayElement.contains(o))&&this.hide()}],["wheel",i=>this._wheelListener(i)]);else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();let i=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};e.push(["touchend",i],["touchcancel",i])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([i,o])=>{this._elementRef.nativeElement.addEventListener(i,o,ch)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){let i=this._document.elementFromPoint(e.clientX,e.clientY),o=this._elementRef.nativeElement;i!==o&&!o.contains(i)&&this.hide()}}_disableNativeGesturesIfNecessary(){let e=this.touchGestures;if(e!=="off"){let i=this._elementRef.nativeElement,o=i.style;(e==="on"||i.nodeName!=="INPUT"&&i.nodeName!=="TEXTAREA")&&(o.userSelect=o.msUserSelect=o.webkitUserSelect=o.MozUserSelect="none"),(e==="on"||!i.draggable)&&(o.webkitUserDrag="none"),o.touchAction="none",o.webkitTapHighlightColor="transparent"}}};t.\u0275fac=function(i){return new(i||t)(l(yt),l(D),l(_n),l($t),l(k),l(J),l(Xl),l(ae),l(lh),l(Lt),l(dy,8),l(j))},t.\u0275dir=I({type:t,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(i,o){i&2&&z("mat-mdc-tooltip-disabled",o.disabled)},inputs:{position:[b.None,"matTooltipPosition","position"],positionAtOrigin:[b.None,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[b.None,"matTooltipDisabled","disabled"],showDelay:[b.None,"matTooltipShowDelay","showDelay"],hideDelay:[b.None,"matTooltipHideDelay","hideDelay"],touchGestures:[b.None,"matTooltipTouchGestures","touchGestures"],message:[b.None,"matTooltip","message"],tooltipClass:[b.None,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"],standalone:!0});let n=t;return n})(),fy=(()=>{let t=class t{constructor(e,i,o){this._changeDetectorRef=e,this._elementRef=i,this._isMultiline=!1,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new E,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide",this._animationsDisabled=o==="NoopAnimations"}show(e){this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},e)}hide(e){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},e)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:e}){(!e||!this._triggerElement.contains(e))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){let e=this._elementRef.nativeElement.getBoundingClientRect();return e.height>uy&&e.width>=hy}_handleAnimationEnd({animationName:e}){(e===this._showAnimation||e===this._hideAnimation)&&this._finalizeAnimation(e===this._showAnimation)}_cancelPendingAnimations(){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(e){e?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(e){let i=this._tooltip.nativeElement,o=this._showAnimation,a=this._hideAnimation;if(i.classList.remove(e?a:o),i.classList.add(e?o:a),this._isVisible=e,e&&!this._animationsDisabled&&typeof getComputedStyle=="function"){let s=getComputedStyle(i);(s.getPropertyValue("animation-duration")==="0s"||s.getPropertyValue("animation-name")==="none")&&(this._animationsDisabled=!0)}e&&this._onShow(),this._animationsDisabled&&(i.classList.add("_mat-animation-noopable"),this._finalizeAnimation(e))}};t.\u0275fac=function(i){return new(i||t)(l(pt),l(D),l(_t,8))},t.\u0275cmp=T({type:t,selectors:[["mat-tooltip-component"]],viewQuery:function(i,o){if(i&1&&nt(ry,7),i&2){let a;U(a=H())&&(o._tooltip=a.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(i,o){i&1&&S("mouseleave",function(s){return o._handleMouseLeave(s)}),i&2&&si("zoom",o.isVisible()?1:null)},standalone:!0,features:[A],decls:4,vars:4,consts:[["tooltip",""],[1,"mdc-tooltip","mdc-tooltip--shown","mat-mdc-tooltip",3,"animationend","ngClass"],[1,"mdc-tooltip__surface","mdc-tooltip__surface-animation"]],template:function(i,o){if(i&1){let a=mt();h(0,"div",1,0),S("animationend",function(c){return $(a),W(o._handleAnimationEnd(c))}),h(2,"div",2),C(3),f()()}i&2&&(z("mdc-tooltip--multiline",o._isMultiline),L("ngClass",o.tooltipClass),v(3),be(o.message))},dependencies:[Zi],styles:['.mdc-tooltip__surface{word-break:break-all;word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip--showing-transition .mdc-tooltip__surface-animation{transition:opacity 150ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-tooltip--hide-transition .mdc-tooltip__surface-animation{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.mdc-tooltip__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-tooltip__surface::before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{align-items:flex-start;display:flex;flex-direction:column;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(200px - 2*8px);margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(320px - 2*8px);align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(0.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(0.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);outline:1px solid rgba(0,0,0,0);z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mat-mdc-tooltip .mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color)}.mat-mdc-tooltip .mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__caret-surface-top,.mat-mdc-tooltip .mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color)}.mat-mdc-tooltip .mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font);line-height:var(--mdc-plain-tooltip-supporting-text-line-height);font-size:var(--mdc-plain-tooltip-supporting-text-size);font-weight:var(--mdc-plain-tooltip-supporting-text-weight);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking)}.mat-mdc-tooltip{position:relative;transform:scale(0)}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0});let n=t;return n})();var uh=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=N({type:t}),t.\u0275inj=P({providers:[sy],imports:[Rr,Ye,ze,K,K,gn]});let n=t;return n})();var Ot=function(n){return n[n.ShoppingCart=0]="ShoppingCart",n[n.Edit=1]="Edit",n[n.Delete=2]="Delete",n}(Ot||{}),hh={[Ot.ShoppingCart]:"shopping_cart",[Ot.Edit]:"edit",[Ot.Delete]:"delete"},fh={[Ot.ShoppingCart]:"default",[Ot.Edit]:"default",[Ot.Delete]:"warn"};var by=n=>({first:n});function gy(n,t){if(n&1){let r=mt();h(0,"button",5),S("click",function(){let i=$(r).$implicit,o=G();return W(o.onClick.next(i))}),h(1,"mat-icon",6),C(2),f()()}if(n&2){let r=t.$implicit,e=G();v(),L("color",e.CardActionColors[r]),v(),be(e.CardActionIcons[r])}}var va=(()=>{let t=class t{constructor(){this.onClick=new V,this.CardActionIcons=hh,this.CardActionColors=fh}};t.\u0275fac=function(i){return new(i||t)},t.\u0275cmp=T({type:t,selectors:[["app-card"]],inputs:{item:"item",actions:"actions",isFirst:"isFirst"},outputs:{onClick:"onClick"},standalone:!0,features:[A],decls:8,vars:5,consts:[[1,"card",3,"ngClass"],[1,"amount"],[1,"name"],[1,"divider"],["mat-icon-button",""],["mat-icon-button","",3,"click"],[3,"color"]],template:function(i,o){i&1&&(h(0,"div",0)(1,"span",1),C(2),f(),h(3,"span",2),C(4),f(),M(5,"div",3),he(6,gy,3,2,"button",4,Ii),f()),i&2&&(L("ngClass",Yi(3,by,o.isFirst)),v(2),be(o.item.amount),v(2),be(o.item.name),v(2),fe(o.actions))},dependencies:[kt,gi,we,$e,Ye,Zi],styles:[".card[_ngcontent-%COMP%]{margin:1rem;padding:.5rem 1rem;background-color:#414141;color:#bebebe;box-shadow:#00000080 2px 1px 5px;font-weight:500;font-size:large;border-radius:10px;display:flex;align-items:center}.card.first[_ngcontent-%COMP%]{margin-top:0}.card[_ngcontent-%COMP%] .amount[_ngcontent-%COMP%]{width:1.5rem;font-size:large;font-weight:700;margin-right:1rem}.card[_ngcontent-%COMP%] .name[_ngcontent-%COMP%]{text-overflow:ellipsis;overflow:hidden}.card[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{flex:0 0 auto}.card[_ngcontent-%COMP%] .divider[_ngcontent-%COMP%]{flex:1}"]});let n=t;return n})();var ph=(()=>{let t=class t{constructor(e){this.dialogRef=e}onNoClick(){this.dialogRef.close(!1)}};t.\u0275fac=function(i){return new(i||t)(l(oi))},t.\u0275cmp=T({type:t,selectors:[["app-delete-closed"]],standalone:!0,features:[A],decls:9,vars:1,consts:[["mat-dialog-title",""],["align","end"],["mat-button","",3,"click"],["mat-button","","color","warn","cdkFocusInitial","",3,"mat-dialog-close"]],template:function(i,o){i&1&&(h(0,"h2",0),C(1,"Esborrar comprats"),f(),h(2,"mat-dialog-content"),C(3,` ALERTA: No pots desfer aquesta acci\xF3. Aix\xF2 borrar\xE0 totes les compres ja comprades. +`),f(),h(4,"mat-dialog-actions",1)(5,"button",2),S("click",function(){return o.onNoClick()}),C(6,"No, gr\xE0cies"),f(),h(7,"button",3),C(8," Esborrar "),f()()),i&2&&(v(7),L("mat-dialog-close",!0))},dependencies:[Fe,ke,kn,kt,xe,ba,ga,_a,pa]});let n=t;return n})();var bh=(()=>{let t=class t{constructor(e,i){this.data=e,this.dialogRef=i}onNoClick(){this.dialogRef.close(!1)}};t.\u0275fac=function(i){return new(i||t)(l(Zc),l(oi))},t.\u0275cmp=T({type:t,selectors:[["app-delete-item"]],standalone:!0,features:[A],decls:9,vars:2,consts:[["mat-dialog-title",""],["align","end"],["mat-button","",3,"click"],["mat-button","","color","warn","cdkFocusInitial","",3,"mat-dialog-close"]],template:function(i,o){i&1&&(h(0,"h2",0),C(1),f(),h(2,"mat-dialog-content"),C(3,` ALERTA: No pots desfer aquesta acci\xF3. +`),f(),h(4,"mat-dialog-actions",1)(5,"button",2),S("click",function(){return o.onNoClick()}),C(6,"No, gr\xE0cies"),f(),h(7,"button",3),C(8," Esborrar "),f()()),i&2&&(v(),Wt('Esborrar "',o.data.name,'"?'),v(6),L("mat-dialog-close",!0))},dependencies:[Fe,ke,kn,kt,xe,ba,ga,_a,pa]});let n=t;return n})();var _y=(n,t)=>t.id;function vy(n,t){if(n&1){let r=mt();h(0,"app-card",7),S("onClick",function(i){let o=$(r).$implicit,a=G(2);return W(a.manageItemClicked(o,i))}),f()}if(n&2){let r=t.$implicit,e=G(2);L("item",r)("actions",e.CardActions)}}function yy(n,t){n&1&&(h(0,"p",2),C(1,"No hi ha res per comprar"),f())}function xy(n,t){if(n&1){let r=mt();h(0,"button",8),S("click",function(){$(r);let i=G(2);return W(i.deleteClosed())}),h(1,"mat-icon"),C(2,"delete_forever"),f()()}}function wy(n,t){if(n&1){let r=mt();h(0,"app-card",9),S("onClick",function(i){let o=$(r).$implicit,a=G(2);return W(a.manageItemClicked(o,i))}),f()}if(n&2){let r=t.$implicit,e=t.$index,i=G(2);L("item",r)("actions",i.CardActions)("isFirst",e===0)}}function Cy(n,t){n&1&&(h(0,"p",2),C(1,"No hi ha res comprat"),f())}function ky(n,t){if(n&1&&(h(0,"h4",0),C(1),De(2,"async"),f(),he(3,vy,1,2,"app-card",1,Uo,!1,yy,2,0,"p",2),De(6,"async"),M(7,"mat-divider"),h(8,"div",3)(9,"h4",0),C(10),De(11,"async"),f(),B(12,xy,3,0,"button",4),De(13,"async"),f(),he(14,wy,1,3,"app-card",5,_y,!1,Cy,2,0,"p",2),De(17,"async"),M(18,"div",6)),n&2){let r,e,i,o=G();v(),Wt("Per comprar (",(r=Se(2,5,o.openItems))==null?null:r.length,")"),v(2),fe(Se(6,7,o.openItems)),v(7),Wt("Comprat (",(e=Se(11,9,o.closedItems))==null?null:e.length,")"),v(2),Q(12,((i=Se(13,11,o.closedItems))==null?null:i.length)>0?12:-1),v(2),fe(Se(17,13,o.closedItems))}}var gh=(()=>{let t=class t{constructor(e,i,o,a){this.itemsService=e,this._bottomSheet=i,this._snackBar=o,this._dialog=a,this.openItems=this.itemsService.openItems,this.closedItems=this.itemsService.closedItems,this.CardActions=[Ot.Edit,Ot.Delete],this.CardActionCallBack={[Ot.Edit]:s=>{this._bottomSheet.open(Mo,{data:s})},[Ot.Delete]:s=>{this._dialog.open(bh,{data:s}).afterClosed().pipe(tt(c=>c),vt(()=>this.itemsService.removeItem(s))).subscribe(()=>{this._snackBar.open(`${s.name} esborrat correctament`,"TANCAR",{verticalPosition:"top",duration:5e3})})},[Ot.ShoppingCart]:()=>{}}}openAddMenu(){this._bottomSheet.open(Mo)}manageItemClicked(e,i){this.CardActionCallBack[i](e)}deleteClosed(){this._dialog.open(ph).afterClosed().pipe(tt(e=>e),vt(()=>this.itemsService.removeClosed())).subscribe(()=>{this._snackBar.open("Compres tancades esborrades correctament","TANCAR",{verticalPosition:"top",duration:5e3})})}};t.\u0275fac=function(i){return new(i||t)(l(Ie),l(yo),l(Pe),l(Oo))},t.\u0275cmp=T({type:t,selectors:[["app-items-edit-list"]],standalone:!0,features:[A],decls:2,vars:3,consts:[[1,"title"],[3,"item","actions"],[1,"label"],[1,"title-container"],["mat-icon-button","","color","warn","matTooltip","Esborrar tots els comprats"],[3,"item","actions","isFirst"],[1,"final"],[3,"onClick","item","actions"],["mat-icon-button","","color","warn","matTooltip","Esborrar tots els comprats",3,"click"],[3,"onClick","item","actions","isFirst"]],template:function(i,o){if(i&1&&(B(0,ky,19,15),De(1,"async")),i&2){let a;Q(0,(a=Se(1,1,o.openItems))?0:-1,a)}},dependencies:[Qi,Br,ah,rh,kt,gi,we,$e,uh,mh,oh,va],styles:[".error[_ngcontent-%COMP%]{min-width:40vw}.title-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-between;align-items:center;margin-right:1rem}.title[_ngcontent-%COMP%]{margin-left:1rem}.label[_ngcontent-%COMP%]{margin-left:1rem;margin-bottom:2rem}.final[_ngcontent-%COMP%]{height:5rem}"]});let n=t;return n})();function Iy(n,t){if(n&1){let r=mt();h(0,"app-card",3),S("onClick",function(i){let o=$(r).$implicit,a=G(2);return W(a.manageClicked(o,i))}),f()}if(n&2){let r=t.$implicit,e=G(2);L("item",r)("actions",e.CardActions)}}function Ey(n,t){n&1&&(h(0,"p",2),C(1,"No hi ha res per comprar"),f())}function Dy(n,t){n&1&&(he(0,Iy,1,2,"app-card",1,Uo,!1,Ey,2,0,"p",2),M(3,"div",0)),n&2&&fe(t)}var _h=(()=>{let t=class t{constructor(e,i){this.itemsService=e,this._snackBar=i,this.items=this.itemsService.openItems,this.CardActions=[Ot.ShoppingCart],this.CardActionCallBack={[Ot.Edit]:()=>{},[Ot.Delete]:()=>{},[Ot.ShoppingCart]:o=>{this.itemsService.closeItem(o.id).subscribe({next:()=>this._snackBar.open("Compra tancada correctament","TANCAR",{verticalPosition:"top",duration:5e3}),error:()=>this._snackBar.open("Error al tancar la compra","TANCAR",{verticalPosition:"top",duration:5e3})})}}}manageClicked(e,i){this.CardActionCallBack[i](e)}};t.\u0275fac=function(i){return new(i||t)(l(Ie),l(Pe))},t.\u0275cmp=T({type:t,selectors:[["app-items-list"]],standalone:!0,features:[A],decls:2,vars:3,consts:[[1,"final"],[3,"item","actions"],[1,"label"],[3,"onClick","item","actions"]],template:function(i,o){if(i&1&&(B(0,Dy,4,1,"div",0),De(1,"async")),i&2){let a;Q(0,(a=Se(1,1,o.items))?0:-1,a)}},dependencies:[Qi,we,va,Dn],styles:[".error[_ngcontent-%COMP%]{min-width:40vw}.label[_ngcontent-%COMP%]{margin-left:1rem;margin-bottom:2rem}.final[_ngcontent-%COMP%]{height:5rem}"]});let n=t;return n})();function Sy(n,t){n&1&&M(0,"mat-progress-bar",3)}function Ty(n,t){n&1&&M(0,"mat-progress-bar",3)}var vh=(()=>{let t=class t{constructor(e){this.itemsService=e,this.defaultSelectedIndex=localStorage.getItem("selected-tab"),this.openSearchBox=!1}ngOnInit(){this.itemsService.refreshItems()}onChangeTab(e){localStorage.setItem("selected-tab",e.index.toString())}};t.\u0275fac=function(i){return new(i||t)(l(Ie))},t.\u0275cmp=T({type:t,selectors:[["app-home"]],standalone:!0,features:[A],decls:10,vars:3,consts:[[1,"title"],["dynamicHeight","",3,"selectedTabChange","selectedIndex"],["label","Comprar"],["mode","indeterminate",1,"top"],["label","Editar"],[1,"bottom-bar-menu"]],template:function(i,o){i&1&&(h(0,"p",0),C(1,"TotFet"),f(),h(2,"mat-tab-group",1),S("selectedTabChange",function(s){return o.onChangeTab(s)}),h(3,"mat-tab",2),B(4,Sy,1,0,"mat-progress-bar",3),M(5,"app-items-list"),f(),h(6,"mat-tab",4),B(7,Ty,1,0,"mat-progress-bar",3),M(8,"app-items-edit-list"),f()(),M(9,"app-bottom-bar-menu",5)),i&2&&(v(2),L("selectedIndex",o.defaultSelectedIndex),v(2),Q(4,o.itemsService.isLoading?4:-1),v(3),Q(7,o.itemsService.isLoading?7:-1))},dependencies:[_h,gh,Zu,km,vc,Cm,pm,fm],styles:[".title[_ngcontent-%COMP%]{font-size:larger;font-weight:700;margin-top:0;padding-top:1rem;width:100%;text-align:center}[_nghost-%COMP%] .mat-mdc-tab-header{top:0;z-index:1000;background-color:#2c2c2c;position:sticky;position:-webkit-sticky}.top[_ngcontent-%COMP%]{position:absolute;top:0}.bottom-bar-menu[_ngcontent-%COMP%]{position:fixed;bottom:0;padding:.5rem;height:3rem;width:calc(100% - 1rem);z-index:1000;background-color:#262626}"]});let n=t;return n})();var ya=(()=>{let t=class t{constructor(e){this.http=e}login(e,i){return localStorage.setItem("Authorization",`${e}:${i}`),this.http.get(ni)}};t.\u0275fac=function(i){return new(i||t)(u(Di))},t.\u0275prov=x({token:t,factory:t.\u0275fac});let n=t;return n})();function My(n,t){n&1&&(h(0,"mat-error"),C(1,"El nom de la llista \xE9s obligatori"),f())}function Ry(n,t){n&1&&(h(0,"mat-error"),C(1,"La contrasenya \xE9s obligatoria"),f())}var yh=(()=>{let t=class t{constructor(e,i,o){this.loginService=e,this.router=i,this._snackBar=o,this.formGroup=new vi({list:new ii("",[ji.required]),password:new ii("",[ji.required])})}sendRequest(){this.snackBarRef?.dismiss();let e=this.formGroup.value;this.loginService.login(e.list,e.password).subscribe({complete:()=>{this.router.navigate(["home"])},error:()=>{this.snackBarRef=this._snackBar.open("Contrasenya Incorrecta","TANCAR",{duration:5e3})}})}};t.\u0275fac=function(i){return new(i||t)(l(ya),l(fi),l(Pe))},t.\u0275cmp=T({type:t,selectors:[["app-login"]],standalone:!0,features:[st([ya]),A],decls:15,vars:4,consts:[[1,"centered",3,"formGroup"],[1,"title"],["appearance","fill",1,"input"],["matInput","","formControlName","list","type","text","placeholder","Nom de la llista","required",""],["matInput","","formControlName","password","type","password","placeholder","Password","required",""],["mat-raised-button","","color","primary",3,"click","disabled"]],template:function(i,o){i&1&&(h(0,"form",0)(1,"h1",1),C(2,"Tot Fet"),f(),h(3,"mat-form-field",2)(4,"mat-label"),C(5,"Nom de la llista"),f(),M(6,"input",3),B(7,My,2,0,"mat-error"),f(),h(8,"mat-form-field",2)(9,"mat-label"),C(10,"Contrasenya"),f(),M(11,"input",4),B(12,Ry,2,0,"mat-error"),f(),h(13,"button",5),S("click",function(){return o.sendRequest()}),C(14," Iniciar Sessi\xF3 "),f()()),i&2&&(L("formGroup",o.formGroup),v(7),Q(7,o.formGroup.get("list").hasError("required")?7:-1),v(5),Q(12,o.formGroup.get("password").hasError("required")?12:-1),v(),L("disabled",o.formGroup.invalid))},dependencies:[Fe,In,yi,sa,ke,xi,oa,wu,Cn,Jr,ta,So,Vi,Do,kt,xe,Dn],styles:[".centered[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;flex-direction:column;width:100%;height:100%}.input[_ngcontent-%COMP%]{width:90%;max-width:500px}"]});let n=t;return n})();var xh=(()=>{let t=class t{constructor(e){this.router=e}goHome(){this.router.navigate(["/"])}};t.\u0275fac=function(i){return new(i||t)(l(fi))},t.\u0275cmp=T({type:t,selectors:[["app-not-found"]],standalone:!0,features:[A],decls:7,vars:0,consts:[[1,"centered"],[1,"title"],["mat-raised-button","","color","primary",3,"click"]],template:function(i,o){i&1&&(h(0,"div",0)(1,"h1",1),C(2,"Tot Fet"),f(),h(3,"p"),C(4,"Page not found"),f(),h(5,"button",2),S("click",function(){return o.goHome()}),C(6," Home "),f()())},dependencies:[kt,xe],styles:[".centered[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;flex-direction:column;width:100%;height:100%}.centered[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{margin:0}"]});let n=t;return n})();var wh=[{path:"",redirectTo:"home",pathMatch:"full"},{path:"login",component:yh},{path:"home",component:vh},{path:"**",component:xh}];var Ch=(n,t)=>{let r=localStorage.getItem("Authorization"),e=_(fi),i=_(Pe),o=n.clone({setHeaders:{Authorization:r??""}});return t(o).pipe(me(a=>(a instanceof Ji&&(i.open(`Error: ${Oy(a)}`,"TANCAR",{duration:5e3}),a.status===401?(console.error("Unauthorized request:",a),e.navigate(["login"])):console.error("HTTP error:",a)),Jt(()=>a))))};function Oy(n){return`${n.error.statusCode} - ${n.error.message}`}var Fy="@",Py=(()=>{let t=class t{constructor(e,i,o,a,s){this.doc=e,this.delegate=i,this.zone=o,this.animationType=a,this.moduleImpl=s,this._rendererFactoryPromise=null,this.scheduler=_(yd,{optional:!0})}ngOnDestroy(){this._engine?.flush()}loadImpl(){return(this.moduleImpl??import("./chunk-FQHYJTJM.js")).catch(i=>{throw new gt(5300,!1)}).then(({\u0275createEngine:i,\u0275AnimationRendererFactory:o})=>{this._engine=i(this.animationType,this.doc,this.scheduler);let a=new o(this.delegate,this._engine,this.zone);return this.delegate=a,a})}createRenderer(e,i){let o=this.delegate.createRenderer(e,i);if(o.\u0275type===0)return o;typeof o.throwOnSyntheticProps=="boolean"&&(o.throwOnSyntheticProps=!1);let a=new Kc(o);return i?.data?.animation&&!this._rendererFactoryPromise&&(this._rendererFactoryPromise=this.loadImpl()),this._rendererFactoryPromise?.then(s=>{let c=s.createRenderer(e,i);a.use(c)}).catch(s=>{a.use(o)}),a}begin(){this.delegate.begin?.()}end(){this.delegate.end?.()}whenRenderingDone(){return this.delegate.whenRenderingDone?.()??Promise.resolve()}};t.\u0275fac=function(i){Nn()},t.\u0275prov=x({token:t,factory:t.\u0275fac});let n=t;return n})(),Kc=class{constructor(t){this.delegate=t,this.replay=[],this.\u0275type=1}use(t){if(this.delegate=t,this.replay!==null){for(let r of this.replay)r(t);this.replay=null}}get data(){return this.delegate.data}destroy(){this.replay=null,this.delegate.destroy()}createElement(t,r){return this.delegate.createElement(t,r)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}get destroyNode(){return this.delegate.destroyNode}appendChild(t,r){this.delegate.appendChild(t,r)}insertBefore(t,r,e,i){this.delegate.insertBefore(t,r,e,i)}removeChild(t,r,e){this.delegate.removeChild(t,r,e)}selectRootElement(t,r){return this.delegate.selectRootElement(t,r)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,r,e,i){this.delegate.setAttribute(t,r,e,i)}removeAttribute(t,r,e){this.delegate.removeAttribute(t,r,e)}addClass(t,r){this.delegate.addClass(t,r)}removeClass(t,r){this.delegate.removeClass(t,r)}setStyle(t,r,e,i){this.delegate.setStyle(t,r,e,i)}removeStyle(t,r,e){this.delegate.removeStyle(t,r,e)}setProperty(t,r,e){this.shouldReplay(r)&&this.replay.push(i=>i.setProperty(t,r,e)),this.delegate.setProperty(t,r,e)}setValue(t,r){this.delegate.setValue(t,r)}listen(t,r,e){return this.shouldReplay(r)&&this.replay.push(i=>i.listen(t,r,e)),this.delegate.listen(t,r,e)}shouldReplay(t){return this.replay!==null&&t.startsWith(Fy)}};function kh(n="animations"){return Aa("NgAsyncAnimations"),Ge([{provide:Vo,useFactory:(t,r,e)=>new Py(t,r,e,n),deps:[j,ir,k]},{provide:_t,useValue:n==="noop"?"NoopAnimations":"BrowserAnimations"}])}var Po="Service workers are disabled or not supported by this browser";function Ny(n){return le(()=>Jt(new Error(n)))}var Tn=class{constructor(t){if(this.serviceWorker=t,!t)this.worker=this.events=this.registration=Ny(Po);else{let e=Ht(t,"controllerchange").pipe(F(()=>t.controller)),i=le(()=>O(t.controller)),o=Bi(i,e);this.worker=o.pipe(tt(m=>!!m)),this.registration=this.worker.pipe(vt(()=>t.getRegistration()));let d=Ht(t,"message").pipe(F(m=>m.data)).pipe(tt(m=>m&&m.type)).pipe(rd());d.connect(),this.events=d}}postMessage(t,r){return this.worker.pipe(rt(1),lt(e=>{e.postMessage(g({action:t},r))})).toPromise().then(()=>{})}postMessageWithOperation(t,r,e){let i=this.waitForOperationCompleted(e),o=this.postMessage(t,r);return Promise.all([o,i]).then(([,a])=>a)}generateNonce(){return Math.round(Math.random()*1e7)}eventsOfType(t){let r;return typeof t=="string"?r=e=>e.type===t:r=e=>t.includes(e.type),this.events.pipe(tt(r))}nextEventOfType(t){return this.eventsOfType(t).pipe(rt(1))}waitForOperationCompleted(t){return this.eventsOfType("OPERATION_COMPLETED").pipe(tt(r=>r.nonce===t),rt(1),F(r=>{if(r.result!==void 0)return r.result;throw new Error(r.error)})).toPromise()}get isEnabled(){return!!this.serviceWorker}},Ly=(()=>{let t=class t{get isEnabled(){return this.sw.isEnabled}constructor(e){if(this.sw=e,this.pushManager=null,this.subscriptionChanges=new E,!e.isEnabled){this.messages=zi,this.notificationClicks=zi,this.subscription=zi;return}this.messages=this.sw.eventsOfType("PUSH").pipe(F(o=>o.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe(F(o=>o.data)),this.pushManager=this.sw.registration.pipe(F(o=>o.pushManager));let i=this.pushManager.pipe(vt(o=>o.getSubscription()));this.subscription=St(i,this.subscriptionChanges)}requestSubscription(e){if(!this.sw.isEnabled||this.pushManager===null)return Promise.reject(new Error(Po));let i={userVisibleOnly:!0},o=this.decodeBase64(e.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),a=new Uint8Array(new ArrayBuffer(o.length));for(let s=0;ss.subscribe(i)),rt(1)).toPromise().then(s=>(this.subscriptionChanges.next(s),s))}unsubscribe(){if(!this.sw.isEnabled)return Promise.reject(new Error(Po));let e=i=>{if(i===null)throw new Error("Not subscribed to push notifications.");return i.unsubscribe().then(o=>{if(!o)throw new Error("Unsubscribe failed!");this.subscriptionChanges.next(null)})};return this.subscription.pipe(rt(1),vt(e)).toPromise()}decodeBase64(e){return atob(e)}};t.\u0275fac=function(i){return new(i||t)(u(Tn))},t.\u0275prov=x({token:t,factory:t.\u0275fac});let n=t;return n})(),jy=(()=>{let t=class t{get isEnabled(){return this.sw.isEnabled}constructor(e){if(this.sw=e,!e.isEnabled){this.versionUpdates=zi,this.unrecoverable=zi;return}this.versionUpdates=this.sw.eventsOfType(["VERSION_DETECTED","VERSION_INSTALLATION_FAILED","VERSION_READY","NO_NEW_VERSION_DETECTED"]),this.unrecoverable=this.sw.eventsOfType("UNRECOVERABLE_STATE")}checkForUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(Po));let e=this.sw.generateNonce();return this.sw.postMessageWithOperation("CHECK_FOR_UPDATES",{nonce:e},e)}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(Po));let e=this.sw.generateNonce();return this.sw.postMessageWithOperation("ACTIVATE_UPDATE",{nonce:e},e)}};t.\u0275fac=function(i){return new(i||t)(u(Tn))},t.\u0275prov=x({token:t,factory:t.\u0275fac});let n=t;return n})();var Ih=new y("");function Vy(n,t,r,e){return()=>{if(!(Ln(e)&&"serviceWorker"in navigator&&r.enabled!==!1))return;navigator.serviceWorker.addEventListener("controllerchange",()=>{navigator.serviceWorker.controller!==null&&navigator.serviceWorker.controller.postMessage({action:"INITIALIZE"})});let i;if(typeof r.registrationStrategy=="function")i=r.registrationStrategy();else{let[a,...s]=(r.registrationStrategy||"registerWhenStable:30000").split(":");switch(a){case"registerImmediately":i=O(null);break;case"registerWithDelay":i=Eh(+s[0]||0);break;case"registerWhenStable":i=s[0]?St(Dh(n),Eh(+s[0])):Dh(n);break;default:throw new Error(`Unknown ServiceWorker registration strategy: ${r.registrationStrategy}`)}}n.get(k).runOutsideAngular(()=>i.pipe(rt(1)).subscribe(()=>navigator.serviceWorker.register(t,{scope:r.scope}).catch(a=>console.error("Service worker registration failed with:",a))))}}function Eh(n){return O(null).pipe(Lo(n))}function Dh(n){return n.get(ci).isStable.pipe(tt(r=>r))}function By(n,t){return new Tn(Ln(t)&&n.enabled!==!1?navigator.serviceWorker:void 0)}var Fo=class{};function Sh(n,t={}){return Ge([Ly,jy,{provide:Ih,useValue:n},{provide:Fo,useValue:t},{provide:Tn,useFactory:By,deps:[Fo,ue]},{provide:Ra,useFactory:Vy,deps:[xt,Ih,Fo,ue],multi:!0}])}var Th={providers:[Fl(wh),Hd($d([Ch])),kh(),Sh("ngsw-worker.js",{enabled:!Sd(),registrationStrategy:"registerWhenStable:30000"})]};var Ah=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275cmp=T({type:t,selectors:[["app-root"]],standalone:!0,features:[A],decls:1,vars:0,template:function(i,o){i&1&&M(0,"router-outlet")},dependencies:[Os],encapsulation:2});let n=t;return n})();Kd(Ah,Th).catch(n=>console.error(n)); diff --git a/ngsw.json b/ngsw.json index a0e7689..f7e779d 100644 --- a/ngsw.json +++ b/ngsw.json @@ -1,6 +1,6 @@ { "configVersion": 1, - "timestamp": 1718484812276, + "timestamp": 1718487318768, "index": "https://aleixferre.github.io/totfet-web/index.html", "assetGroups": [ { @@ -15,7 +15,7 @@ "https://aleixferre.github.io/totfet-web/chunk-V2HD7OKB.js", "https://aleixferre.github.io/totfet-web/favicon.ico", "https://aleixferre.github.io/totfet-web/index.html", - "https://aleixferre.github.io/totfet-web/main-VWMWF53E.js", + "https://aleixferre.github.io/totfet-web/main-VDMLVGRJ.js", "https://aleixferre.github.io/totfet-web/manifest.webmanifest", "https://aleixferre.github.io/totfet-web/polyfills-RT5I6R6G.js", "https://aleixferre.github.io/totfet-web/styles-7EHMVMXJ.css" @@ -57,8 +57,8 @@ "https://aleixferre.github.io/totfet-web/chunk-FQHYJTJM.js": "f45dfb283800992498560f23252deda00d322005", "https://aleixferre.github.io/totfet-web/chunk-V2HD7OKB.js": "2d221b90d2757fbd188661257df601072e81b158", "https://aleixferre.github.io/totfet-web/favicon.ico": "aa01d96d57b19114ef8c9d510abcdc0b5949a829", - "https://aleixferre.github.io/totfet-web/index.html": "59ce9998ba1440a23b07a86dd9bde0c32a9ce94a", - "https://aleixferre.github.io/totfet-web/main-VWMWF53E.js": "fcde4b962acd6e0f5e8a12933ad285a1c569495e", + "https://aleixferre.github.io/totfet-web/index.html": "0a66b3f225b9bc007dad4b0218f8ad7bc7c0266b", + "https://aleixferre.github.io/totfet-web/main-VDMLVGRJ.js": "c2ad7591de13784d04ab9b373e24aa546049bf0a", "https://aleixferre.github.io/totfet-web/manifest.webmanifest": "0d196826a001cad5f0654f70cd92cd2f5f729e4d", "https://aleixferre.github.io/totfet-web/polyfills-RT5I6R6G.js": "fe9f024576f21ff6314cf8f8332cde58b9a12416", "https://aleixferre.github.io/totfet-web/styles-7EHMVMXJ.css": "89495428debab577c97a5639737b5b41a652bf3f"