import{$ as fi,$a as Ge,$b as gn,$d as uc,$e as kn,Aa as m,Ab as ze,Ac as _t,Ad as sc,Ae,B as gt,Ba as l,Bb as hn,Bc as Ai,Bd as Te,Be as $a,C as bt,Ca as xa,Cb as Da,Cc as Ri,Cd as cc,Ce as li,Da as wt,Db as oe,Dd as bn,De as Re,Eb as re,Ed as Qe,Ee as Ga,F as rt,Fd as yr,Fe as le,G as Bn,Ga as ct,Gc as vi,Gd as La,Ge as me,H as va,Ha as ae,Hb as ei,Hc as Oi,Hd as Na,He as yi,I as Qs,Ia as qt,Ic as oc,Id as dc,Ie as Wa,Ja as we,Jb as _r,Jc as Wt,Jd as Fi,Je as Li,Ka as Z,Kc as Ea,Kd as an,Ke as Tt,La as Q,Lb as q,Lc as ue,Ld as vn,Le as fe,M as Ys,Ma as y,Mb as bi,Mc as ni,Md as lc,Me as je,N as Ii,Na as T,Nb as M,Nc as ai,Nd as Va,Ne as Ni,O as Mt,Oa as u,Ob as Lt,Oc as Ta,Od as ja,Oe as Cc,P as tt,Pa as ot,Pb as Xs,Pc as Ct,Pd as mc,Pe as kc,Q as st,Qa as U,Qb as St,Qc as fn,Qd as Ft,Qe as Dc,R as fr,Ra as zt,Rb as Js,Rc as oi,Rd as hc,Re as Qa,S as et,Sa as Ca,Sb as tc,Sc as Aa,Sd as si,Se as _e,Ta as B,Tb as Le,Tc as ri,Td as Nt,Te as Sc,U as ye,Ua as _i,Ub as pn,Uc as Pi,Ud as pc,Ue as Vi,V as W,Va as Jt,Vb as xt,Vc as Ra,Vd as $n,Ve as Ya,W as L,Wa as te,Wb as Sa,Wd as Gn,We as Ic,X as H,Xa as c,Xb as Ia,Xc as Un,Xd as V,Xe as mi,Y as $,Ya as d,Yb as ec,Yc as qn,Yd as wr,Ye as Za,Z as b,Za as x,Zb as ic,Zd as ci,Ze as ji,_ as gi,_a as $e,_b as un,_c as Oa,_d as Wn,_e as Mc,a as ht,aa as w,ab as Et,ac as nc,ae as di,af as Dn,b as ve,ba as N,bb as F,bd as Ne,be as xr,bf as Ka,ca as I,cb as We,ce as yn,cf as Ec,d as km,db as Xi,de as mt,df as Tc,ea as Zs,eb as _,ec as Pt,ed as rc,ee as Ht,ef as Xa,f as Rt,fb as Ji,fd as Pa,fe as gc,ff as Ja,g as pa,ga as At,gb as f,gc as ii,ge as fc,gf as Ac,h as E,ha as C,hb as K,hc as ac,he as _c,hf as Yn,i as Kt,ia as k,ib as j,id as vt,ie as bc,if as Rc,j as ua,ja as pe,jb as ka,jc as se,je as vc,jf as Sn,k as jn,ka as Hn,kb as J,kd as Fa,ke,kf as Bi,l as Us,la as Ot,lb as it,ld as ge,le as yc,lf as to,m as qs,ma as Qt,mb as A,md as za,me as wc,n as $s,na as yt,nb as R,nd as Yt,ne as Cr,nf as Zn,oa as ya,ob as Bt,od as Ve,oe as Ba,p as at,pa as Ke,pb as p,pe as Ha,q as Gs,qa as z,qb as nt,qc as Ma,qd as _n,qe as Ua,r as ga,ra as O,rb as dt,rd as Me,re as wn,s as ut,sa as qe,sb as Fe,sd as ce,se as xc,t as fa,tb as Xe,tc as jt,td as Ee,te as Qn,ua as Xt,ub as Je,uc as ft,ud as br,ue as qa,v as ln,va as mn,vb as ti,vc as Ei,vd as tn,ve as zi,w as _a,wa as Mi,wb as X,wd as en,we as xn,x as ba,xa as wa,xb as S,xc as Y,xd as $t,xe as kr,y as Ws,yc as pt,yd as vr,ye as Dr,z as Dt,zb as Ks,zc as Ti,zd as nn,ze as Cn}from"./chunk-IEWPTFI6.js";var ll=km((cs,ds)=>{(function(a,i){typeof define=="function"&&define.amd?define([],i):typeof cs<"u"?i():(i(),a.FileSaver={})})(cs,function(){"use strict";function a(s,h){return typeof h>"u"?h={autoBom:!1}:typeof h!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),h={autoBom:!h}),h.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(s.type)?new Blob(["\uFEFF",s],{type:s.type}):s}function i(s,h,g){var v=new XMLHttpRequest;v.open("GET",s),v.responseType="blob",v.onload=function(){o(v.response,h,g)},v.onerror=function(){console.error("could not download file")},v.send()}function r(s){var h=new XMLHttpRequest;h.open("HEAD",s,!1);try{h.send()}catch{}return 200<=h.status&&299>=h.status}function t(s){try{s.dispatchEvent(new MouseEvent("click"))}catch{var h=document.createEvent("MouseEvents");h.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),s.dispatchEvent(h)}}var e=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof global=="object"&&global.global===global?global:void 0,n=e.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),o=e.saveAs||(typeof window!="object"||window!==e?function(){}:"download"in HTMLAnchorElement.prototype&&!n?function(s,h,g){var v=e.URL||e.webkitURL,D=document.createElement("a");h=h||s.name||"download",D.download=h,D.rel="noopener",typeof s=="string"?(D.href=s,D.origin===location.origin?t(D):r(D.href)?i(s,h,g):t(D,D.target="_blank")):(D.href=v.createObjectURL(s),setTimeout(function(){v.revokeObjectURL(D.href)},4e4),setTimeout(function(){t(D)},0))}:"msSaveOrOpenBlob"in navigator?function(s,h,g){if(h=h||s.name||"download",typeof s!="string")navigator.msSaveOrOpenBlob(a(s,g),h);else if(r(s))i(s,h,g);else{var v=document.createElement("a");v.href=s,v.target="_blank",setTimeout(function(){t(v)})}}:function(s,h,g,v){if(v=v||open("","_blank"),v&&(v.document.title=v.document.body.innerText="downloading..."),typeof s=="string")return i(s,h,g);var D=s.type==="application/octet-stream",G=/constructor/i.test(e.HTMLElement)||e.safari,lt=/CriOS\/[\d]+/.test(navigator.userAgent);if((lt||D&&G||n)&&typeof FileReader<"u"){var kt=new FileReader;kt.onloadend=function(){var Ze=kt.result;Ze=lt?Ze:Ze.replace(/^data:[^;]*;/,"data:attachment/file;"),v?v.location.href=Ze:location=Ze,v=null},kt.readAsDataURL(s)}else{var Ie=e.URL||e.webkitURL,It=Ie.createObjectURL(s);v?v.location=It:location.href=It,v=null,setTimeout(function(){Ie.revokeObjectURL(It)},4e4)}});e.saveAs=o.saveAs=o,typeof ds<"u"&&(ds.exports=o)})});var Sm=["*"],eo;function Im(){if(eo===void 0&&(eo=null,typeof window<"u")){let a=window;a.trustedTypes!==void 0&&(eo=a.trustedTypes.createPolicy("angular#components",{createHTML:i=>i}))}return eo}function Kn(a){return Im()?.createHTML(a)||a}function Oc(a){return Error(`Unable to find icon with the name "${a}"`)}function Mm(){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 Pc(a){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${a}".`)}function Fc(a){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${a}".`)}var wi=class{constructor(i,r,t){this.url=i,this.svgText=r,this.options=t}},Em=(()=>{let i=class i{constructor(t,e,n,o){this._httpClient=t,this._sanitizer=e,this._errorHandler=o,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=n}addSvgIcon(t,e,n){return this.addSvgIconInNamespace("",t,e,n)}addSvgIconLiteral(t,e,n){return this.addSvgIconLiteralInNamespace("",t,e,n)}addSvgIconInNamespace(t,e,n,o){return this._addSvgIconConfig(t,e,new wi(n,null,o))}addSvgIconResolver(t){return this._resolvers.push(t),this}addSvgIconLiteralInNamespace(t,e,n,o){let s=this._sanitizer.sanitize(mn.HTML,n);if(!s)throw Fc(n);let h=Kn(s);return this._addSvgIconConfig(t,e,new wi("",h,o))}addSvgIconSet(t,e){return this.addSvgIconSetInNamespace("",t,e)}addSvgIconSetLiteral(t,e){return this.addSvgIconSetLiteralInNamespace("",t,e)}addSvgIconSetInNamespace(t,e,n){return this._addSvgIconSetConfig(t,new wi(e,null,n))}addSvgIconSetLiteralInNamespace(t,e,n){let o=this._sanitizer.sanitize(mn.HTML,e);if(!o)throw Fc(e);let s=Kn(o);return this._addSvgIconSetConfig(t,new wi("",s,n))}registerFontClassAlias(t,e=t){return this._fontCssClassesByAlias.set(t,e),this}classNameForFontAlias(t){return this._fontCssClassesByAlias.get(t)||t}setDefaultFontSetClass(...t){return this._defaultFontSetClass=t,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(t){let e=this._sanitizer.sanitize(mn.RESOURCE_URL,t);if(!e)throw Pc(t);let n=this._cachedIconsByUrl.get(e);return n?at(io(n)):this._loadSvgIconFromConfig(new wi(t,null)).pipe(et(o=>this._cachedIconsByUrl.set(e,o)),ut(o=>io(o)))}getNamedSvgIcon(t,e=""){let n=zc(e,t),o=this._svgIconConfigs.get(n);if(o)return this._getSvgFromConfig(o);if(o=this._getIconConfigFromResolvers(e,t),o)return this._svgIconConfigs.set(n,o),this._getSvgFromConfig(o);let s=this._iconSetConfigs.get(e);return s?this._getSvgFromIconSetConfigs(t,s):Gs(Oc(n))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(t){return t.svgText?at(io(this._svgElementFromConfig(t))):this._loadSvgIconFromConfig(t).pipe(ut(e=>io(e)))}_getSvgFromIconSetConfigs(t,e){let n=this._extractIconWithNameFromAnySet(t,e);if(n)return at(n);let o=e.filter(s=>!s.svgText).map(s=>this._loadSvgIconSetFromConfig(s).pipe(bt(h=>{let v=`Loading icon set URL: ${this._sanitizer.sanitize(mn.RESOURCE_URL,s.url)} failed: ${h.message}`;return this._errorHandler.handleError(new Error(v)),at(null)})));return _a(o).pipe(ut(()=>{let s=this._extractIconWithNameFromAnySet(t,e);if(!s)throw Oc(t);return s}))}_extractIconWithNameFromAnySet(t,e){for(let n=e.length-1;n>=0;n--){let o=e[n];if(o.svgText&&o.svgText.toString().indexOf(t)>-1){let s=this._svgElementFromConfig(o),h=this._extractSvgIconFromSet(s,t,o.options);if(h)return h}}return null}_loadSvgIconFromConfig(t){return this._fetchIcon(t).pipe(et(e=>t.svgText=e),ut(()=>this._svgElementFromConfig(t)))}_loadSvgIconSetFromConfig(t){return t.svgText?at(null):this._fetchIcon(t).pipe(et(e=>t.svgText=e))}_extractSvgIconFromSet(t,e,n){let o=t.querySelector(`[id="${e}"]`);if(!o)return null;let s=o.cloneNode(!0);if(s.removeAttribute("id"),s.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(s,n);if(s.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(s),n);let h=this._svgElementFromString(Kn("<svg></svg>"));return h.appendChild(s),this._setSvgAttributes(h,n)}_svgElementFromString(t){let e=this._document.createElement("DIV");e.innerHTML=t;let n=e.querySelector("svg");if(!n)throw Error("<svg> tag not found");return n}_toSvgElement(t){let e=this._svgElementFromString(Kn("<svg></svg>")),n=t.attributes;for(let o=0;o<n.length;o++){let{name:s,value:h}=n[o];s!=="id"&&e.setAttribute(s,h)}for(let o=0;o<t.childNodes.length;o++)t.childNodes[o].nodeType===this._document.ELEMENT_NODE&&e.appendChild(t.childNodes[o].cloneNode(!0));return e}_setSvgAttributes(t,e){return t.setAttribute("fit",""),t.setAttribute("height","100%"),t.setAttribute("width","100%"),t.setAttribute("preserveAspectRatio","xMidYMid meet"),t.setAttribute("focusable","false"),e&&e.viewBox&&t.setAttribute("viewBox",e.viewBox),t}_fetchIcon(t){let{url:e,options:n}=t,o=n?.withCredentials??!1;if(!this._httpClient)throw Mm();if(e==null)throw Error(`Cannot fetch icon from URL "${e}".`);let s=this._sanitizer.sanitize(mn.RESOURCE_URL,e);if(!s)throw Pc(e);let h=this._inProgressUrlFetches.get(s);if(h)return h;let g=this._httpClient.get(s,{responseType:"text",withCredentials:o}).pipe(ut(v=>Kn(v)),Qs(()=>this._inProgressUrlFetches.delete(s)),Ys());return this._inProgressUrlFetches.set(s,g),g}_addSvgIconConfig(t,e,n){return this._svgIconConfigs.set(zc(t,e),n),this}_addSvgIconSetConfig(t,e){let n=this._iconSetConfigs.get(t);return n?n.push(e):this._iconSetConfigs.set(t,[e]),this}_svgElementFromConfig(t){if(!t.svgElement){let e=this._svgElementFromString(t.svgText);this._setSvgAttributes(e,t.options),t.svgElement=e}return t.svgElement}_getIconConfigFromResolvers(t,e){for(let n=0;n<this._resolvers.length;n++){let o=this._resolvers[n](e,t);if(o)return Tm(o)?new wi(o.url,null,o.options):new wi(o,null)}}};i.\u0275fac=function(e){return new(e||i)($(se,8),$(Ma),$(St,8),$(ya))},i.\u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"});let a=i;return a})();function io(a){return a.cloneNode(!0)}function zc(a,i){return a+":"+i}function Tm(a){return!!(a.url&&a.options)}var Am=new H("MAT_ICON_DEFAULT_OPTIONS"),Rm=new H("mat-icon-location",{providedIn:"root",factory:Om});function Om(){let a=b(St),i=a?a.location:null;return{getPathname:()=>i?i.pathname+i.search:""}}var Lc=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],Pm=Lc.map(a=>`[${a}]`).join(", "),Fm=/^url\(['"]?#(.*?)['"]?\)$/,Gt=(()=>{let i=class i{get color(){return this._color||this._defaultColor}set color(t){this._color=t}get svgIcon(){return this._svgIcon}set svgIcon(t){t!==this._svgIcon&&(t?this._updateSvgIcon(t):this._svgIcon&&this._clearSvgElement(),this._svgIcon=t)}get fontSet(){return this._fontSet}set fontSet(t){let e=this._cleanupFontValue(t);e!==this._fontSet&&(this._fontSet=e,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(t){let e=this._cleanupFontValue(t);e!==this._fontIcon&&(this._fontIcon=e,this._updateFontIconClasses())}constructor(t,e,n,o,s,h){this._elementRef=t,this._iconRegistry=e,this._location=o,this._errorHandler=s,this.inline=!1,this._previousFontSetClass=[],this._currentIconFetch=Rt.EMPTY,h&&(h.color&&(this.color=this._defaultColor=h.color),h.fontSet&&(this.fontSet=h.fontSet)),n||t.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(t){if(!t)return["",""];let e=t.split(":");switch(e.length){case 1:return["",e[0]];case 2:return e;default:throw Error(`Invalid icon name: "${t}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let t=this._elementsWithExternalReferences;if(t&&t.size){let e=this._location.getPathname();e!==this._previousPath&&(this._previousPath=e,this._prependPathToReferences(e))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(t){this._clearSvgElement();let e=this._location.getPathname();this._previousPath=e,this._cacheChildrenWithExternalReferences(t),this._prependPathToReferences(e),this._elementRef.nativeElement.appendChild(t)}_clearSvgElement(){let t=this._elementRef.nativeElement,e=t.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();e--;){let n=t.childNodes[e];(n.nodeType!==1||n.nodeName.toLowerCase()==="svg")&&n.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let t=this._elementRef.nativeElement,e=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(n=>n.length>0);this._previousFontSetClass.forEach(n=>t.classList.remove(n)),e.forEach(n=>t.classList.add(n)),this._previousFontSetClass=e,this.fontIcon!==this._previousFontIconClass&&!e.includes("mat-ligature-font")&&(this._previousFontIconClass&&t.classList.remove(this._previousFontIconClass),this.fontIcon&&t.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(t){return typeof t=="string"?t.trim().split(" ")[0]:t}_prependPathToReferences(t){let e=this._elementsWithExternalReferences;e&&e.forEach((n,o)=>{n.forEach(s=>{o.setAttribute(s.name,`url('${t}#${s.value}')`)})})}_cacheChildrenWithExternalReferences(t){let e=t.querySelectorAll(Pm),n=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o<e.length;o++)Lc.forEach(s=>{let h=e[o],g=h.getAttribute(s),v=g?g.match(Fm):null;if(v){let D=n.get(h);D||(D=[],n.set(h,D)),D.push({name:s,value:v[1]})}})}_updateSvgIcon(t){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),t){let[e,n]=this._splitIconName(t);e&&(this._svgNamespace=e),n&&(this._svgName=n),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(n,e).pipe(rt(1)).subscribe(o=>this._setSvgElement(o),o=>{let s=`Error retrieving icon ${e}:${n}! ${o.message}`;this._errorHandler.handleError(new Error(s))})}}};i.\u0275fac=function(e){return new(e||i)(l(z),l(Em),Qt("aria-hidden"),l(Rm),l(ya),l(Am,8))},i.\u0275cmp=w({type:i,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(e,n){e&2&&(T("data-mat-icon-type",n._usingFontIcon()?"font":"svg")("data-mat-icon-name",n._svgName||n.fontIcon)("data-mat-icon-namespace",n._svgNamespace||n.fontSet)("fontIcon",n._usingFontIcon()?n.fontIcon:null),zt(n.color?"mat-"+n.color:""),U("mat-icon-inline",n.inline)("mat-icon-no-color",n.color!=="primary"&&n.color!=="accent"&&n.color!=="warn"))},inputs:{color:"color",inline:[2,"inline","inline",M],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],standalone:!0,features:[Q,S],ngContentSelectors:Sm,decls:1,vars:0,template:function(e,n){e&1&&(K(),j(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 a=i;return a})(),hi=(()=>{let i=class i{};i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=N({type:i}),i.\u0275inj=L({imports:[V,V]});let a=i;return a})();var Sr=class{constructor(i,r){this._document=r;let t=this._textarea=this._document.createElement("textarea"),e=t.style;e.position="fixed",e.top=e.opacity="0",e.left="-999em",t.setAttribute("aria-hidden","true"),t.value=i,t.readOnly=!0,(this._document.fullscreenElement||this._document.body).appendChild(t)}copy(){let i=this._textarea,r=!1;try{if(i){let t=this._document.activeElement;i.select(),i.setSelectionRange(0,i.value.length),r=this._document.execCommand("copy"),t&&t.focus()}}catch{}return r}destroy(){let i=this._textarea;i&&(i.remove(),this._textarea=void 0)}},zm=(()=>{let i=class i{constructor(t){this._document=t}copy(t){let e=this.beginCopy(t),n=e.copy();return e.destroy(),n}beginCopy(t){return new Sr(t,this._document)}};i.\u0275fac=function(e){return new(e||i)($(St))},i.\u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"});let a=i;return a})(),Lm=new H("CDK_COPY_TO_CLIPBOARD_CONFIG"),Nc=(()=>{let i=class i{constructor(t,e,n){this._clipboard=t,this._ngZone=e,this.text="",this.attempts=1,this.copied=new O,this._pending=new Set,n&&n.attempts!=null&&(this.attempts=n.attempts)}copy(t=this.attempts){if(t>1){let e=t,n=this._clipboard.beginCopy(this.text);this._pending.add(n);let o=()=>{let s=n.copy();!s&&--e&&!this._destroyed?this._currentTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(o,1)):(this._currentTimeout=null,this._pending.delete(n),n.destroy(),this.copied.emit(s))};o()}else this.copied.emit(this._clipboard.copy(this.text))}ngOnDestroy(){this._currentTimeout&&clearTimeout(this._currentTimeout),this._pending.forEach(t=>t.destroy()),this._pending.clear(),this._destroyed=!0}};i.\u0275fac=function(e){return new(e||i)(l(zm),l(ct),l(Lm,8))},i.\u0275dir=I({type:i,selectors:[["","cdkCopyToClipboard",""]],hostBindings:function(e,n){e&1&&_("click",function(){return n.copy()})},inputs:{text:[0,"cdkCopyToClipboard","text"],attempts:[0,"cdkCopyToClipboardAttempts","attempts"]},outputs:{copied:"cdkCopyToClipboardCopied"},standalone:!0});let a=i;return a})(),no=(()=>{let i=class i{};i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=N({type:i}),i.\u0275inj=L({});let a=i;return a})();var Vm=["panel"],jm=["*"];function Bm(a,i){if(a&1){let r=F();c(0,"div",1,0),_("@panelAnimation.done",function(e){C(r);let n=f();return k(n._animationDone.next(e))}),j(2),d()}if(a&2){let r=i.id,t=f();zt(t._classList),U("mat-mdc-autocomplete-visible",t.showPanel)("mat-mdc-autocomplete-hidden",!t.showPanel)("mat-primary",t._color==="primary")("mat-accent",t._color==="accent")("mat-warn",t._color==="warn"),u("id",t.id)("@panelAnimation",t.isOpen?"visible":"hidden"),T("aria-label",t.ariaLabel||null)("aria-labelledby",t._getPanelAriaLabelledby(r))}}var Hm=jt("panelAnimation",[pt("void, hidden",Y({opacity:0,transform:"scaleY(0.8)"})),_t(":enter, hidden => visible",[Ei([ft("0.03s linear",Y({opacity:1})),ft("0.12s cubic-bezier(0, 0, 0.2, 1)",Y({transform:"scaleY(1)"}))])]),_t(":leave, visible => hidden",[ft("0.075s linear",Y({opacity:0}))])]),Um=0,Ir=class{constructor(i,r){this.source=i,this.option=r}},Vc=new H("mat-autocomplete-default-options",{providedIn:"root",factory:qm});function qm(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1}}var oo=(()=>{let i=class i{get isOpen(){return this._isOpen&&this.showPanel}_setColor(t){this._color=t,this._changeDetectorRef.markForCheck()}set classList(t){this._classList=t,this._elementRef.nativeElement.className=""}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(t){this._hideSingleSelectionIndicator=t,this._syncParentProperties()}_syncParentProperties(){if(this.options)for(let t of this.options)t._changeDetectorRef.markForCheck()}constructor(t,e,n,o){this._changeDetectorRef=t,this._elementRef=e,this._defaults=n,this._activeOptionChanges=Rt.EMPTY,this._animationDone=new O,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new O,this.opened=new O,this.closed=new O,this.optionActivated=new O,this.id=`mat-autocomplete-${Um++}`,this.inertGroups=o?.SAFARI||!1,this.autoActiveFirstOption=!!n.autoActiveFirstOption,this.autoSelectActiveOption=!!n.autoSelectActiveOption,this.requireSelection=!!n.requireSelection,this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}ngAfterContentInit(){this._keyManager=new dc(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(t=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[t]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe(),this._animationDone.complete()}_setScrollTop(t){this.panel&&(this.panel.nativeElement.scrollTop=t)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._changeDetectorRef.markForCheck()}_emitSelectEvent(t){let e=new Ir(this,t);this.optionSelected.emit(e)}_getPanelAriaLabelledby(t){if(this.ariaLabel)return null;let e=t?t+" ":"";return this.ariaLabelledby?e+this.ariaLabelledby:t}_skipPredicate(){return!1}};i.\u0275fac=function(e){return new(e||i)(l(q),l(z),l(Vc),l(ce))},i.\u0275cmp=w({type:i,selectors:[["mat-autocomplete"]],contentQueries:function(e,n,o){if(e&1&&(J(o,ke,5),J(o,bc,5)),e&2){let s;A(s=R())&&(n.options=s),A(s=R())&&(n.optionGroups=s)}},viewQuery:function(e,n){if(e&1&&(it(wt,7),it(Vm,5)),e&2){let o;A(o=R())&&(n.template=o.first),A(o=R())&&(n.panel=o.first)}},hostAttrs:[1,"mat-mdc-autocomplete"],inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:[2,"autoActiveFirstOption","autoActiveFirstOption",M],autoSelectActiveOption:[2,"autoSelectActiveOption","autoSelectActiveOption",M],requireSelection:[2,"requireSelection","requireSelection",M],panelWidth:"panelWidth",disableRipple:[2,"disableRipple","disableRipple",M],classList:[0,"class","classList"],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",M]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},exportAs:["matAutocomplete"],standalone:!0,features:[X([{provide:_c,useExisting:i}]),Q,S],ngContentSelectors:jm,decls:1,vars:0,consts:[["panel",""],["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id"]],template:function(e,n){e&1&&(K(),y(0,Bm,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:[Hm]},changeDetection:0});let a=i;return a})();var $m={provide:vi,useExisting:ye(()=>Xn),multi:!0};var jc=new H("mat-autocomplete-scroll-strategy",{providedIn:"root",factory:()=>{let a=b(Tt);return()=>a.scrollStrategies.reposition()}});function Gm(a){return()=>a.scrollStrategies.reposition()}var Wm={provide:jc,deps:[Tt],useFactory:Gm},Xn=(()=>{let i=class i{constructor(t,e,n,o,s,h,g,v,D,G,lt){this._element=t,this._overlay=e,this._viewContainerRef=n,this._zone=o,this._changeDetectorRef=s,this._dir=g,this._formField=v,this._document=D,this._viewportRuler=G,this._defaults=lt,this._componentDestroyed=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=Rt.EMPTY,this._breakpointObserver=b(bn),this._handsetLandscapeSubscription=Rt.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._initialized=new E,this._injector=b(yt),this._aboveClass="mat-mdc-autocomplete-panel-above",this._overlayAttached=!1,this.optionSelections=ln(()=>{let kt=this.autocomplete?this.autocomplete.options:null;return kt?kt.changes.pipe(Mt(kt),tt(()=>Dt(...kt.map(Ie=>Ie.onSelectionChange)))):this._initialized.pipe(tt(()=>this.optionSelections))}),this._handlePanelKeydown=kt=>{(kt.keyCode===27&&!$t(kt)||kt.keyCode===38&&$t(kt,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),kt.stopPropagation(),kt.preventDefault())},this._trackedModal=null,this._scrollStrategy=h}ngAfterViewInit(){this._initialized.next(),this._initialized.complete();let t=this._getWindow();typeof t<"u"&&this._zone.runOutsideAngular(()=>t.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(t){t.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){let t=this._getWindow();typeof t<"u"&&t.removeEventListener("blur",this._windowBlurHandler),this._handsetLandscapeSubscription.unsubscribe(),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete(),this._clearFromModal()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._openPanelInternal()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._latestOpeningTrigger===this&&(this.autocomplete._isOpen=!1,this.autocomplete._latestOpeningTrigger=null),this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._updatePanelState(),this._componentDestroyed||this._changeDetectorRef.detectChanges(),this._trackedModal&&La(this._trackedModal,"aria-owns",this.autocomplete.id))}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return Dt(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(gt(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(gt(()=>this._overlayAttached)):at()).pipe(ut(t=>t instanceof vc?t:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return Dt(ba(this._document,"click"),ba(this._document,"auxclick"),ba(this._document,"touchend")).pipe(gt(t=>{let e=en(t),n=this._formField?this._formField.getConnectedOverlayOrigin().nativeElement:null,o=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&e!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!n||!n.contains(e))&&(!o||!o.contains(e))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(e)}))}writeValue(t){Promise.resolve(null).then(()=>this._assignOptionValue(t))}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this._element.nativeElement.disabled=t,this._changeDetectorRef.markForCheck()}_handleKeydown(t){let e=t.keyCode,n=$t(t);if(e===27&&!n&&t.preventDefault(),this._valueOnLastKeydown=this._element.nativeElement.value,this.activeOption&&e===13&&this.panelOpen&&!n)this.activeOption._selectViaInteraction(),this._resetActiveItem(),t.preventDefault();else if(this.autocomplete){let o=this.autocomplete._keyManager.activeItem,s=e===38||e===40;e===9||s&&!n&&this.panelOpen?this.autocomplete._keyManager.onKeydown(t):s&&this._canOpen()&&this._openPanelInternal(this._valueOnLastKeydown),(s||this.autocomplete._keyManager.activeItem!==o)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._valueOnLastKeydown),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(t){let e=t.target,n=e.value;if(e.type==="number"&&(n=n==""?null:parseFloat(n)),this._previousValue!==n){if(this._previousValue=n,this._pendingAutoselectedOption=null,(!this.autocomplete||!this.autocomplete.requireSelection)&&this._onChange(n),!n)this._clearPreviousSelectedOption(null,!1);else if(this.panelOpen&&!this.autocomplete.requireSelection){let o=this.autocomplete.options?.find(s=>s.selected);if(o){let s=this._getDisplayValue(o.value);n!==s&&o.deselect(!1)}}if(this._canOpen()&&this._document.activeElement===t.target){let o=this._valueOnLastKeydown??this._element.nativeElement.value;this._valueOnLastKeydown=null,this._openPanelInternal(o)}}}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(this._previousValue),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this._openPanelInternal()}_floatLabel(t=!1){this._formField&&this._formField.floatLabel==="auto"&&(t?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){let t=new pa(n=>{ae(()=>{n.next()},{injector:this._injector})}),e=this.autocomplete.options.changes.pipe(et(()=>this._positionStrategy.reapplyLastPosition()),Bn(0));return Dt(t,e).pipe(tt(()=>this._zone.run(()=>{let n=this.panelOpen;return this._resetActiveItem(),this._updatePanelState(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),n!==this.panelOpen&&(this.panelOpen?this._emitOpened():this.autocomplete.closed.emit()),this.panelClosingActions})),rt(1)).subscribe(n=>this._setValueAndClose(n))}_emitOpened(){this.autocomplete.opened.emit()}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_getDisplayValue(t){let e=this.autocomplete;return e&&e.displayWith?e.displayWith(t):t}_assignOptionValue(t){let e=this._getDisplayValue(t);t==null&&this._clearPreviousSelectedOption(null,!1),this._updateNativeInputValue(e??"")}_updateNativeInputValue(t){this._formField?this._formField._control.value=t:this._element.nativeElement.value=t,this._previousValue=t}_setValueAndClose(t){let e=this.autocomplete,n=t?t.source:this._pendingAutoselectedOption;n?(this._clearPreviousSelectedOption(n),this._assignOptionValue(n.value),this._onChange(n.value),e._emitSelectEvent(n),this._element.nativeElement.focus()):e.requireSelection&&this._element.nativeElement.value!==this._valueOnAttach&&(this._clearPreviousSelectedOption(null),this._assignOptionValue(null),e._animationDone?e._animationDone.pipe(rt(1)).subscribe(()=>this._onChange(null)):this._onChange(null)),this.closePanel()}_clearPreviousSelectedOption(t,e){this.autocomplete?.options?.forEach(n=>{n!==t&&n.selected&&n.deselect(e)})}_openPanelInternal(t=this._element.nativeElement.value){if(this._attachOverlay(t),this._floatLabel(),this._trackedModal){let e=this.autocomplete.id;yr(this._trackedModal,"aria-owns",e)}}_attachOverlay(t){this.autocomplete;let e=this._overlayRef;e?(this._positionStrategy.setOrigin(this._getConnectedElement()),e.updateSize({width:this._getPanelWidth()})):(this._portal=new Re(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),e=this._overlay.create(this._getOverlayConfig()),this._overlayRef=e,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&e&&e.updateSize({width:this._getPanelWidth()})}),this._handsetLandscapeSubscription=this._breakpointObserver.observe(Qe.HandsetLandscape).subscribe(o=>{o.matches?this._positionStrategy.withFlexibleDimensions(!0).withGrowAfterOpen(!0).withViewportMargin(8):this._positionStrategy.withFlexibleDimensions(!1).withGrowAfterOpen(!1).withViewportMargin(0)})),e&&!e.hasAttached()&&(e.attach(this._portal),this._valueOnAttach=t,this._valueOnLastKeydown=null,this._closingActionsSubscription=this._subscribeToClosingActions());let n=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._latestOpeningTrigger=this,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this._applyModalPanelOwnership(),this.panelOpen&&n!==this.panelOpen&&this._emitOpened()}_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){let t=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=t.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=t.outsidePointerEvents().subscribe())}else this._keydownSubscription?.unsubscribe(),this._outsideClickSubscription?.unsubscribe(),this._keydownSubscription=this._outsideClickSubscription=null}_getOverlayConfig(){return new yi({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){let t=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(t),this._positionStrategy=t,t}_setStrategyPositions(t){let e=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],n=this._aboveClass,o=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:n},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:n}],s;this.position==="above"?s=o:this.position==="below"?s=e:s=[...e,...o],t.withPositions(s)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){let t=this.autocomplete;if(t.autoActiveFirstOption){let e=-1;for(let n=0;n<t.options.length;n++)if(!t.options.get(n).disabled){e=n;break}t._keyManager.setActiveItem(e)}else t._keyManager.setActiveItem(-1)}_canOpen(){let t=this._element.nativeElement;return!t.readOnly&&!t.disabled&&!this.autocompleteDisabled}_getWindow(){return this._document?.defaultView||window}_scrollToOption(t){let e=this.autocomplete,n=yc(t,e.options,e.optionGroups);if(t===0&&n===1)e._setScrollTop(0);else if(e.panel){let o=e.options.toArray()[t];if(o){let s=o._getHostElement(),h=wc(s.offsetTop,s.offsetHeight,e._getScrollTop(),e.panel.nativeElement.offsetHeight);e._setScrollTop(h)}}}_applyModalPanelOwnership(){let t=this._element.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!t)return;let e=this.autocomplete.id;this._trackedModal&&La(this._trackedModal,"aria-owns",e),yr(t,"aria-owns",e),this._trackedModal=t}_clearFromModal(){if(this._trackedModal){let t=this.autocomplete.id;La(this._trackedModal,"aria-owns",t),this._trackedModal=null}}};i.\u0275fac=function(e){return new(e||i)(l(z),l(Tt),l(qt),l(ct),l(q),l(jc),l(Nt,8),l(Qa,9),l(St,8),l(Cn),l(Vc,8))},i.\u0275dir=I({type:i,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(e,n){e&1&&_("focusin",function(){return n._handleFocus()})("blur",function(){return n._onTouched()})("input",function(s){return n._handleInput(s)})("keydown",function(s){return n._handleKeydown(s)})("click",function(){return n._handleClick()}),e&2&&T("autocomplete",n.autocompleteAttribute)("role",n.autocompleteDisabled?null:"combobox")("aria-autocomplete",n.autocompleteDisabled?null:"list")("aria-activedescendant",n.panelOpen&&n.activeOption?n.activeOption.id:null)("aria-expanded",n.autocompleteDisabled?null:n.panelOpen.toString())("aria-controls",n.autocompleteDisabled||!n.panelOpen||n.autocomplete==null?null:n.autocomplete.id)("aria-haspopup",n.autocompleteDisabled?null:"listbox")},inputs:{autocomplete:[0,"matAutocomplete","autocomplete"],position:[0,"matAutocompletePosition","position"],connectedTo:[0,"matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:[0,"autocomplete","autocompleteAttribute"],autocompleteDisabled:[2,"matAutocompleteDisabled","autocompleteDisabled",M]},exportAs:["matAutocompleteTrigger"],standalone:!0,features:[X([$m]),Q,At]});let a=i;return a})(),Bc=(()=>{let i=class i{};i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=N({type:i}),i.\u0275inj=L({providers:[Wm],imports:[fe,Cr,V,Pt,Ae,Cr,V]});let a=i;return a})();var Ym=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],Zm=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function Km(a,i){a&1&&(c(0,"span",3),j(1,1),d())}function Xm(a,i){a&1&&(c(0,"span",6),j(1,2),d())}var Jm='.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius);height:var(--mdc-chip-container-height)}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size);width:var(--mdc-chip-with-avatar-avatar-size);font-size:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary:before{border-color:var(--mdc-chip-outline-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational).mdc-ripple-upgraded--background-focused:before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus:before{border-color:var(--mdc-chip-focus-outline-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary:before{border-color:var(--mdc-chip-disabled-outline-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-outline-width)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-selected-outline-width)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-selected-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-flat-disabled-selected-container-color)}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font);line-height:var(--mdc-chip-label-text-line-height);font-size:var(--mdc-chip-label-text-size);font-weight:var(--mdc-chip-label-text-weight);letter-spacing:var(--mdc-chip-label-text-tracking)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-selected-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size);width:var(--mdc-chip-with-icon-icon-size);font-size:var(--mdc-chip-with-icon-icon-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary .mdc-evolution-chip__ripple::after{background-color:var(--mdc-chip-hover-state-layer-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:hover .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary.mdc-ripple-surface--hover .mdc-evolution-chip__ripple::before{opacity:var(--mdc-chip-hover-state-layer-opacity)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary.mdc-ripple-upgraded--background-focused .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__ripple::before{transition-duration:75ms;opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary .mdc-evolution-chip__ripple::after{background-color:var(--mdc-chip-selected-hover-state-layer-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary:hover .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary.mdc-ripple-surface--hover .mdc-evolution-chip__ripple::before{opacity:var(--mdc-chip-selected-hover-state-layer-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary.mdc-ripple-upgraded--background-focused .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary:not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__ripple::before{transition-duration:75ms;opacity:var(--mdc-chip-selected-focus-state-layer-opacity)}.mat-mdc-chip-highlighted{--mdc-chip-with-icon-icon-color:var(--mdc-chip-with-icon-selected-icon-color);--mdc-chip-elevated-container-color:var(--mdc-chip-elevated-selected-container-color);--mdc-chip-label-text-color:var(--mdc-chip-selected-label-text-color);--mdc-chip-outline-width:var(--mdc-chip-flat-selected-outline-width)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color)}.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color)}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-hover-state-layer-color);opacity:var(--mdc-chip-hover-state-layer-opacity)}.mat-mdc-chip-focus-overlay .mat-mdc-chip-selected:hover,.mat-mdc-chip-highlighted:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-hover-state-layer-color);opacity:var(--mdc-chip-selected-hover-state-layer-opacity)}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color);opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color);opacity:var(--mdc-chip-selected-focus-state-layer-opacity)}.mdc-evolution-chip--disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar{opacity:var(--mdc-chip-with-avatar-disabled-avatar-opacity)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{opacity:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity)}.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{opacity:var(--mdc-chip-with-icon-disabled-icon-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:var(--mat-chip-disabled-container-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-trailing-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-disabled-trailing-icon-color)}.mat-mdc-chip-remove{opacity:var(--mat-chip-trailing-action-opacity)}.mat-mdc-chip-remove:focus{opacity:var(--mat-chip-trailing-action-focus-opacity)}.mat-mdc-chip-remove::after{background:var(--mat-chip-trailing-action-state-layer-color)}.mat-mdc-chip-remove:hover::after{opacity:var(--mat-chip-trailing-action-hover-state-layer-opacity)}.mat-mdc-chip-remove:focus::after{opacity:var(--mat-chip-trailing-action-focus-state-layer-opacity)}.mat-mdc-chip-selected .mat-mdc-chip-remove::after,.mat-mdc-chip-highlighted .mat-mdc-chip-remove::after{background:var(--mat-chip-selected-trailing-action-state-layer-color)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove{opacity:calc(var(--mat-chip-trailing-action-opacity)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity))}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus{opacity:calc(var(--mat-chip-trailing-action-focus-opacity)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity))}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-style:solid}.mat-mdc-standard-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-mdc-standard-chip .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary{flex-basis:100%}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px)*-1);left:8px;right:8px}.mat-mdc-chip-remove::after{content:"";display:block;opacity:0;position:absolute;top:-2px;bottom:-2px;left:6px;right:6px;border-radius:50%}.mat-mdc-chip-remove .mat-icon{width:18px;height:18px;font-size:18px;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}',th=[[["mat-chip-avatar"],["","matChipAvatar",""]],[["","matChipEditInput",""]],"*",[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],eh=["mat-chip-avatar, [matChipAvatar]","[matChipEditInput]","*","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function ih(a,i){a&1&&x(0,"span",0)}function nh(a,i){a&1&&(c(0,"span",2),j(1),d())}function ah(a,i){a&1&&j(0,1)}function oh(a,i){a&1&&x(0,"span",7)}function rh(a,i){if(a&1&&y(0,ah,1,0)(1,oh,1,0,"span",7),a&2){let r=f();B(r.contentEditInput?0:1)}}function sh(a,i){a&1&&j(0,2)}function ch(a,i){a&1&&(c(0,"span",5),j(1,3),d())}var $c=["*"],dh=".mdc-evolution-chip-set{display:flex}.mdc-evolution-chip-set:focus{outline:none}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mdc-evolution-chip-set--overflow .mdc-evolution-chip-set__chips{flex-flow:nowrap}.mdc-evolution-chip-set .mdc-evolution-chip-set__chips{margin-left:-8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip-set__chips,.mdc-evolution-chip-set .mdc-evolution-chip-set__chips[dir=rtl]{margin-left:0;margin-right:-8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-left:8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip,.mdc-evolution-chip-set .mdc-evolution-chip[dir=rtl]{margin-left:0;margin-right:8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-top:4px;margin-bottom:4px}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}",Gc=new H("mat-chips-default-options",{providedIn:"root",factory:()=>({separatorKeyCodes:[13]})}),Uc=new H("MatChipAvatar"),qc=new H("MatChipTrailingIcon"),Ar=new H("MatChipRemove"),Fr=new H("MatChip"),ro=(()=>{let i=class i{get disabled(){return this._disabled||this._parentChip.disabled}set disabled(t){this._disabled=t}_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}constructor(t,e){this._elementRef=t,this._parentChip=e,this.isInteractive=!0,this._isPrimary=!0,this._disabled=!1,this.tabIndex=-1,this._allowFocusWhenDisabled=!1,t.nativeElement.nodeName==="BUTTON"&&t.nativeElement.setAttribute("type","button")}focus(){this._elementRef.nativeElement.focus()}_handleClick(t){!this.disabled&&this.isInteractive&&this._isPrimary&&(t.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(t){(t.keyCode===13||t.keyCode===32)&&!this.disabled&&this.isInteractive&&this._isPrimary&&!this._parentChip._isEditing&&(t.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}};i.\u0275fac=function(e){return new(e||i)(l(z),l(Fr))},i.\u0275dir=I({type:i,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(e,n){e&1&&_("click",function(s){return n._handleClick(s)})("keydown",function(s){return n._handleKeydown(s)}),e&2&&(T("tabindex",n._getTabindex())("disabled",n._getDisabledAttribute())("aria-disabled",n.disabled),U("mdc-evolution-chip__action--primary",n._isPrimary)("mdc-evolution-chip__action--presentational",!n.isInteractive)("mdc-evolution-chip__action--trailing",!n._isPrimary))},inputs:{isInteractive:"isInteractive",disabled:[2,"disabled","disabled",M],tabIndex:[2,"tabIndex","tabIndex",t=>t==null?-1:Lt(t)],_allowFocusWhenDisabled:"_allowFocusWhenDisabled"},standalone:!0,features:[Q]});let a=i;return a})();var Wc=(()=>{let i=class i extends ro{constructor(){super(...arguments),this._isPrimary=!1}_handleClick(t){this.disabled||(t.stopPropagation(),t.preventDefault(),this._parentChip.remove())}_handleKeydown(t){(t.keyCode===13||t.keyCode===32)&&!this.disabled&&(t.stopPropagation(),t.preventDefault(),this._parentChip.remove())}};i.\u0275fac=(()=>{let t;return function(n){return(t||(t=Ot(i)))(n||i)}})(),i.\u0275dir=I({type:i,selectors:[["","matChipRemove",""]],hostAttrs:["role","button",1,"mat-mdc-chip-remove","mat-mdc-chip-trailing-icon","mat-mdc-focus-indicator","mdc-evolution-chip__icon","mdc-evolution-chip__icon--trailing"],hostVars:1,hostBindings:function(e,n){e&2&&T("aria-hidden",null)},standalone:!0,features:[X([{provide:Ar,useExisting:i}]),Z]});let a=i;return a})(),lh=0,Rr=(()=>{let i=class i{_hasFocus(){return this._hasFocusInternal}get value(){return this._value!==void 0?this._value:this._textElement.textContent.trim()}set value(t){this._value=t}get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(t){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,t)}constructor(t,e,n,o,s,h,g,v){this._changeDetectorRef=t,this._elementRef=e,this._ngZone=n,this._focusMonitor=o,this._globalRippleOptions=g,this._onFocus=new E,this._onBlur=new E,this.role=null,this._hasFocusInternal=!1,this.id=`mat-mdc-chip-${lh++}`,this.ariaLabel=null,this.ariaDescription=null,this._ariaDescriptionId=`${this.id}-aria-description`,this.removable=!0,this.highlighted=!1,this.disableRipple=!1,this.disabled=!1,this.tabIndex=-1,this.removed=new O,this.destroyed=new O,this.basicChipAttrName="mat-basic-chip",this._rippleLoader=b(Ba),this._injector=b(yt),this._document=s,this._animationsDisabled=h==="NoopAnimations",v!=null&&(this.tabIndex=parseInt(v)??-1),this._monitorFocus(),this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-chip-ripple",disabled:this._isRippleDisabled()})}ngOnInit(){let t=this._elementRef.nativeElement;this._isBasicChip=t.hasAttribute(this.basicChipAttrName)||t.tagName.toLowerCase()===this.basicChipAttrName}ngAfterViewInit(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label"),this._pendingFocus&&(this._pendingFocus=!1,this.focus())}ngAfterContentInit(){this._actionChanges=Dt(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allRemoveIcons.changes).subscribe(()=>this._changeDetectorRef.markForCheck())}ngDoCheck(){this._rippleLoader.setDisabled(this._elementRef.nativeElement,this._isRippleDisabled())}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement),this._actionChanges?.unsubscribe(),this.destroyed.emit({chip:this}),this.destroyed.complete()}remove(){this.removable&&this.removed.emit({chip:this})}_isRippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!!this._globalRippleOptions?.disabled}_hasTrailingIcon(){return!!(this.trailingIcon||this.removeIcon)}_handleKeydown(t){(t.keyCode===8&&!t.repeat||t.keyCode===46)&&(t.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(t){return this._getActions().find(e=>{let n=e._elementRef.nativeElement;return n===t||n.contains(t)})}_getActions(){let t=[];return this.primaryAction&&t.push(this.primaryAction),this.removeIcon&&t.push(this.removeIcon),this.trailingIcon&&t.push(this.trailingIcon),t}_handlePrimaryActionInteraction(){}_getTabIndex(){return this.role?this.disabled?-1:this.tabIndex:null}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{let e=t!==null;e!==this._hasFocusInternal&&(this._hasFocusInternal=e,e?this._onFocus.next({chip:this}):ae(()=>this._ngZone.run(()=>this._onBlur.next({chip:this})),{injector:this._injector}))})}};i.\u0275fac=function(e){return new(e||i)(l(q),l(z),l(ct),l(Ft),l(St),l(Xt,8),l(yn,8),Qt("tabindex"))},i.\u0275cmp=w({type:i,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(e,n,o){if(e&1&&(J(o,Uc,5),J(o,qc,5),J(o,Ar,5),J(o,Uc,5),J(o,qc,5),J(o,Ar,5)),e&2){let s;A(s=R())&&(n.leadingIcon=s.first),A(s=R())&&(n.trailingIcon=s.first),A(s=R())&&(n.removeIcon=s.first),A(s=R())&&(n._allLeadingIcons=s),A(s=R())&&(n._allTrailingIcons=s),A(s=R())&&(n._allRemoveIcons=s)}},viewQuery:function(e,n){if(e&1&&it(ro,5),e&2){let o;A(o=R())&&(n.primaryAction=o.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:32,hostBindings:function(e,n){e&1&&_("keydown",function(s){return n._handleKeydown(s)}),e&2&&(We("id",n.id),T("role",n.role)("tabindex",n._getTabIndex())("aria-label",n.ariaLabel),zt("mat-"+(n.color||"primary")),U("mdc-evolution-chip",!n._isBasicChip)("mdc-evolution-chip--disabled",n.disabled)("mdc-evolution-chip--with-trailing-action",n._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",n.leadingIcon)("mdc-evolution-chip--with-primary-icon",n.leadingIcon)("mdc-evolution-chip--with-avatar",n.leadingIcon)("mat-mdc-chip-with-avatar",n.leadingIcon)("mat-mdc-chip-highlighted",n.highlighted)("mat-mdc-chip-disabled",n.disabled)("mat-mdc-basic-chip",n._isBasicChip)("mat-mdc-standard-chip",!n._isBasicChip)("mat-mdc-chip-with-trailing-icon",n._hasTrailingIcon())("_mat-animation-noopable",n._animationsDisabled))},inputs:{role:"role",id:"id",ariaLabel:[0,"aria-label","ariaLabel"],ariaDescription:[0,"aria-description","ariaDescription"],value:"value",color:"color",removable:[2,"removable","removable",M],highlighted:[2,"highlighted","highlighted",M],disableRipple:[2,"disableRipple","disableRipple",M],disabled:[2,"disabled","disabled",M],tabIndex:[2,"tabIndex","tabIndex",t=>t==null?void 0:Lt(t)]},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],standalone:!0,features:[X([{provide:Fr,useExisting:i}]),Q,S],ngContentSelectors:Zm,decls:8,vars:3,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"isInteractive"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(e,n){e&1&&(K(Ym),x(0,"span",0),c(1,"span",1)(2,"span",2),y(3,Km,2,0,"span",3),c(4,"span",4),j(5),x(6,"span",5),d()()(),y(7,Xm,2,0,"span",6)),e&2&&(m(2),u("isInteractive",!1),m(),B(n.leadingIcon?3:-1),m(4),B(n._hasTrailingIcon()?7:-1))},dependencies:[ro],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius);height:var(--mdc-chip-container-height)}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size);width:var(--mdc-chip-with-avatar-avatar-size);font-size:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary:before{border-color:var(--mdc-chip-outline-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational).mdc-ripple-upgraded--background-focused:before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus:before{border-color:var(--mdc-chip-focus-outline-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary:before{border-color:var(--mdc-chip-disabled-outline-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-outline-width)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-selected-outline-width)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-selected-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-flat-disabled-selected-container-color)}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font);line-height:var(--mdc-chip-label-text-line-height);font-size:var(--mdc-chip-label-text-size);font-weight:var(--mdc-chip-label-text-weight);letter-spacing:var(--mdc-chip-label-text-tracking)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-selected-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size);width:var(--mdc-chip-with-icon-icon-size);font-size:var(--mdc-chip-with-icon-icon-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary .mdc-evolution-chip__ripple::after{background-color:var(--mdc-chip-hover-state-layer-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:hover .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary.mdc-ripple-surface--hover .mdc-evolution-chip__ripple::before{opacity:var(--mdc-chip-hover-state-layer-opacity)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary.mdc-ripple-upgraded--background-focused .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__ripple::before{transition-duration:75ms;opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary .mdc-evolution-chip__ripple::after{background-color:var(--mdc-chip-selected-hover-state-layer-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary:hover .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary.mdc-ripple-surface--hover .mdc-evolution-chip__ripple::before{opacity:var(--mdc-chip-selected-hover-state-layer-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary.mdc-ripple-upgraded--background-focused .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary:not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__ripple::before{transition-duration:75ms;opacity:var(--mdc-chip-selected-focus-state-layer-opacity)}.mat-mdc-chip-highlighted{--mdc-chip-with-icon-icon-color:var(--mdc-chip-with-icon-selected-icon-color);--mdc-chip-elevated-container-color:var(--mdc-chip-elevated-selected-container-color);--mdc-chip-label-text-color:var(--mdc-chip-selected-label-text-color);--mdc-chip-outline-width:var(--mdc-chip-flat-selected-outline-width)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color)}.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color)}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-hover-state-layer-color);opacity:var(--mdc-chip-hover-state-layer-opacity)}.mat-mdc-chip-focus-overlay .mat-mdc-chip-selected:hover,.mat-mdc-chip-highlighted:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-hover-state-layer-color);opacity:var(--mdc-chip-selected-hover-state-layer-opacity)}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color);opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color);opacity:var(--mdc-chip-selected-focus-state-layer-opacity)}.mdc-evolution-chip--disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar{opacity:var(--mdc-chip-with-avatar-disabled-avatar-opacity)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{opacity:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity)}.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{opacity:var(--mdc-chip-with-icon-disabled-icon-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:var(--mat-chip-disabled-container-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-trailing-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-disabled-trailing-icon-color)}.mat-mdc-chip-remove{opacity:var(--mat-chip-trailing-action-opacity)}.mat-mdc-chip-remove:focus{opacity:var(--mat-chip-trailing-action-focus-opacity)}.mat-mdc-chip-remove::after{background:var(--mat-chip-trailing-action-state-layer-color)}.mat-mdc-chip-remove:hover::after{opacity:var(--mat-chip-trailing-action-hover-state-layer-opacity)}.mat-mdc-chip-remove:focus::after{opacity:var(--mat-chip-trailing-action-focus-state-layer-opacity)}.mat-mdc-chip-selected .mat-mdc-chip-remove::after,.mat-mdc-chip-highlighted .mat-mdc-chip-remove::after{background:var(--mat-chip-selected-trailing-action-state-layer-color)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove{opacity:calc(var(--mat-chip-trailing-action-opacity)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity))}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus{opacity:calc(var(--mat-chip-trailing-action-focus-opacity)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity))}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-style:solid}.mat-mdc-standard-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-mdc-standard-chip .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary{flex-basis:100%}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px)*-1);left:8px;right:8px}.mat-mdc-chip-remove::after{content:"";display:block;opacity:0;position:absolute;top:-2px;bottom:-2px;left:6px;right:6px;border-radius:50%}.mat-mdc-chip-remove .mat-icon{width:18px;height:18px;font-size:18px;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0});let a=i;return a})();var Tr=(()=>{let i=class i{constructor(t,e){this._elementRef=t,this._document=e}initialize(t){this.getNativeElement().focus(),this.setValue(t)}getNativeElement(){return this._elementRef.nativeElement}setValue(t){this.getNativeElement().textContent=t,this._moveCursorToEndOfInput()}getValue(){return this.getNativeElement().textContent||""}_moveCursorToEndOfInput(){let t=this._document.createRange();t.selectNodeContents(this.getNativeElement()),t.collapse(!1);let e=window.getSelection();e.removeAllRanges(),e.addRange(t)}};i.\u0275fac=function(e){return new(e||i)(l(z),l(St))},i.\u0275dir=I({type:i,selectors:[["span","matChipEditInput",""]],hostAttrs:["role","textbox","tabindex","-1","contenteditable","true",1,"mat-chip-edit-input"],standalone:!0});let a=i;return a})(),zr=(()=>{let i=class i extends Rr{constructor(t,e,n,o,s,h,g,v){super(t,e,n,o,s,h,g,v),this.basicChipAttrName="mat-basic-chip-row",this._editStartPending=!1,this.editable=!1,this.edited=new O,this._isEditing=!1,this.role="row",this._onBlur.pipe(st(this.destroyed)).subscribe(()=>{this._isEditing&&!this._editStartPending&&this._onEditFinish()})}_hasTrailingIcon(){return!this._isEditing&&super._hasTrailingIcon()}_handleFocus(){!this._isEditing&&!this.disabled&&this.focus()}_handleKeydown(t){t.keyCode===13&&!this.disabled?this._isEditing?(t.preventDefault(),this._onEditFinish()):this.editable&&this._startEditing(t):this._isEditing?t.stopPropagation():super._handleKeydown(t)}_handleDoubleclick(t){!this.disabled&&this.editable&&this._startEditing(t)}_startEditing(t){if(!this.primaryAction||this.removeIcon&&this._getSourceAction(t.target)===this.removeIcon)return;let e=this.value;this._isEditing=this._editStartPending=!0,ae(()=>{this._getEditInput().initialize(e),this._editStartPending=!1},{injector:this._injector})}_onEditFinish(){this._isEditing=this._editStartPending=!1,this.edited.emit({chip:this,value:this._getEditInput().getValue()}),(this._document.activeElement===this._getEditInput().getNativeElement()||this._document.activeElement===this._document.body)&&this.primaryAction.focus()}_isRippleDisabled(){return super._isRippleDisabled()||this._isEditing}_getEditInput(){return this.contentEditInput||this.defaultEditInput}};i.\u0275fac=function(e){return new(e||i)(l(q),l(z),l(ct),l(Ft),l(St),l(Xt,8),l(yn,8),Qt("tabindex"))},i.\u0275cmp=w({type:i,selectors:[["mat-chip-row"],["","mat-chip-row",""],["mat-basic-chip-row"],["","mat-basic-chip-row",""]],contentQueries:function(e,n,o){if(e&1&&J(o,Tr,5),e&2){let s;A(s=R())&&(n.contentEditInput=s.first)}},viewQuery:function(e,n){if(e&1&&it(Tr,5),e&2){let o;A(o=R())&&(n.defaultEditInput=o.first)}},hostAttrs:[1,"mat-mdc-chip","mat-mdc-chip-row","mdc-evolution-chip"],hostVars:27,hostBindings:function(e,n){e&1&&_("focus",function(s){return n._handleFocus(s)})("dblclick",function(s){return n._handleDoubleclick(s)}),e&2&&(We("id",n.id),T("tabindex",n.disabled?null:-1)("aria-label",null)("aria-description",null)("role",n.role),U("mat-mdc-chip-with-avatar",n.leadingIcon)("mat-mdc-chip-disabled",n.disabled)("mat-mdc-chip-editing",n._isEditing)("mat-mdc-chip-editable",n.editable)("mdc-evolution-chip--disabled",n.disabled)("mdc-evolution-chip--with-trailing-action",n._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",n.leadingIcon)("mdc-evolution-chip--with-primary-icon",n.leadingIcon)("mdc-evolution-chip--with-avatar",n.leadingIcon)("mat-mdc-chip-highlighted",n.highlighted)("mat-mdc-chip-with-trailing-icon",n._hasTrailingIcon()))},inputs:{editable:"editable"},outputs:{edited:"edited"},standalone:!0,features:[X([{provide:Rr,useExisting:i},{provide:Fr,useExisting:i}]),Z,S],ngContentSelectors:eh,decls:10,vars:10,consts:[[1,"mat-mdc-chip-focus-overlay"],["role","gridcell","matChipAction","",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary",3,"tabIndex","disabled"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],["aria-hidden","true",1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],["role","gridcell",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"],[1,"cdk-visually-hidden",3,"id"],["matChipEditInput",""]],template:function(e,n){e&1&&(K(th),y(0,ih,1,0,"span",0),c(1,"span",1),y(2,nh,2,0,"span",2),c(3,"span",3),y(4,rh,2,1)(5,sh,1,0),x(6,"span",4),d()(),y(7,ch,2,0,"span",5),c(8,"span",6),p(9),d()),e&2&&(B(n._isEditing?-1:0),m(),u("tabIndex",n.tabIndex)("disabled",n.disabled),T("aria-label",n.ariaLabel)("aria-describedby",n._ariaDescriptionId),m(),B(n.leadingIcon?2:-1),m(2),B(n._isEditing?4:5),m(3),B(n._hasTrailingIcon()?7:-1),m(),u("id",n._ariaDescriptionId),m(),nt(n.ariaDescription))},dependencies:[ro,Tr],styles:[Jm],encapsulation:2,changeDetection:0});let a=i;return a})(),mh=(()=>{let i=class i{get chipFocusChanges(){return this._getChipStream(t=>t._onFocus)}get chipDestroyedChanges(){return this._getChipStream(t=>t.destroyed)}get chipRemovedChanges(){return this._getChipStream(t=>t.removed)}get disabled(){return this._disabled}set disabled(t){this._disabled=t,this._syncChipsState()}get empty(){return!this._chips||this._chips.length===0}get role(){return this._explicitRole?this._explicitRole:this.empty?null:this._defaultRole}set role(t){this._explicitRole=t}get focused(){return this._hasFocusedChip()}constructor(t,e,n){this._elementRef=t,this._changeDetectorRef=e,this._dir=n,this._lastDestroyedFocusedChipIndex=null,this._destroyed=new E,this._defaultRole="presentation",this._disabled=!1,this.tabIndex=0,this._explicitRole=null,this._chipActions=new qe}ngAfterViewInit(){this._setUpFocusManagement(),this._trackChipSetChanges(),this._trackDestroyedFocusedChip()}ngOnDestroy(){this._keyManager?.destroy(),this._chipActions.destroy(),this._destroyed.next(),this._destroyed.complete()}_hasFocusedChip(){return this._chips&&this._chips.some(t=>t._hasFocus())}_syncChipsState(){this._chips&&this._chips.forEach(t=>{t.disabled=this._disabled,t._changeDetectorRef.markForCheck()})}focus(){}_handleKeydown(t){this._originatesFromChip(t)&&this._keyManager.onKeydown(t)}_isValidIndex(t){return t>=0&&t<this._chips.length}_allowFocusEscape(){if(this.tabIndex!==-1){let t=this.tabIndex;this.tabIndex=-1,this._changeDetectorRef.markForCheck(),setTimeout(()=>{this.tabIndex=t,this._changeDetectorRef.markForCheck()})}}_getChipStream(t){return this._chips.changes.pipe(Mt(null),tt(()=>Dt(...this._chips.map(t))))}_originatesFromChip(t){let e=t.target;for(;e&&e!==this._elementRef.nativeElement;){if(e.classList.contains("mat-mdc-chip"))return!0;e=e.parentElement}return!1}_setUpFocusManagement(){this._chips.changes.pipe(Mt(this._chips)).subscribe(t=>{let e=[];t.forEach(n=>n._getActions().forEach(o=>e.push(o))),this._chipActions.reset(e),this._chipActions.notifyOnChanges()}),this._keyManager=new Fi(this._chipActions).withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr").withHomeAndEnd().skipPredicate(t=>this._skipPredicate(t)),this.chipFocusChanges.pipe(st(this._destroyed)).subscribe(({chip:t})=>{let e=t._getSourceAction(document.activeElement);e&&this._keyManager.updateActiveItem(e)}),this._dir?.change.pipe(st(this._destroyed)).subscribe(t=>this._keyManager.withHorizontalOrientation(t))}_skipPredicate(t){return!t.isInteractive||t.disabled}_trackChipSetChanges(){this._chips.changes.pipe(Mt(null),st(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>this._syncChipsState()),this._redirectDestroyedChipFocus()})}_trackDestroyedFocusedChip(){this.chipDestroyedChanges.pipe(st(this._destroyed)).subscribe(t=>{let n=this._chips.toArray().indexOf(t.chip);this._isValidIndex(n)&&t.chip._hasFocus()&&(this._lastDestroyedFocusedChipIndex=n)})}_redirectDestroyedChipFocus(){if(this._lastDestroyedFocusedChipIndex!=null){if(this._chips.length){let t=Math.min(this._lastDestroyedFocusedChipIndex,this._chips.length-1),e=this._chips.toArray()[t];e.disabled?this._chips.length===1?this.focus():this._keyManager.setPreviousItemActive():e.focus()}else this.focus();this._lastDestroyedFocusedChipIndex=null}}};i.\u0275fac=function(e){return new(e||i)(l(z),l(q),l(Nt,8))},i.\u0275cmp=w({type:i,selectors:[["mat-chip-set"]],contentQueries:function(e,n,o){if(e&1&&J(o,Rr,5),e&2){let s;A(s=R())&&(n._chips=s)}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(e,n){e&1&&_("keydown",function(s){return n._handleKeydown(s)}),e&2&&T("role",n.role)},inputs:{disabled:[2,"disabled","disabled",M],role:"role",tabIndex:[2,"tabIndex","tabIndex",t=>t==null?0:Lt(t)]},standalone:!0,features:[Q,S],ngContentSelectors:$c,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(e,n){e&1&&(K(),c(0,"div",0),j(1),d())},styles:[".mdc-evolution-chip-set{display:flex}.mdc-evolution-chip-set:focus{outline:none}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mdc-evolution-chip-set--overflow .mdc-evolution-chip-set__chips{flex-flow:nowrap}.mdc-evolution-chip-set .mdc-evolution-chip-set__chips{margin-left:-8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip-set__chips,.mdc-evolution-chip-set .mdc-evolution-chip-set__chips[dir=rtl]{margin-left:0;margin-right:-8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-left:8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip,.mdc-evolution-chip-set .mdc-evolution-chip[dir=rtl]{margin-left:0;margin-right:8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-top:4px;margin-bottom:4px}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0});let a=i;return a})();var Or=class{constructor(i,r){this.source=i,this.value=r}},Qc=(()=>{let i=class i extends mh{get disabled(){return this.ngControl?!!this.ngControl.disabled:this._disabled}set disabled(t){this._disabled=t,this._syncChipsState()}get id(){return this._chipInput.id}get empty(){return(!this._chipInput||this._chipInput.empty)&&(!this._chips||this._chips.length===0)}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(t){this._placeholder=t,this.stateChanges.next()}get focused(){return this._chipInput.focused||this._hasFocusedChip()}get required(){return this._required??this.ngControl?.control?.hasValidator(Wt.required)??!1}set required(t){this._required=t,this.stateChanges.next()}get shouldLabelFloat(){return!this.empty||this.focused}get value(){return this._value}set value(t){this._value=t}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(t){this._errorStateTracker.matcher=t}get chipBlurChanges(){return this._getChipStream(t=>t._onBlur)}get errorState(){return this._errorStateTracker.errorState}set errorState(t){this._errorStateTracker.errorState=t}constructor(t,e,n,o,s,h,g){super(t,e,n),this.ngControl=g,this.controlType="mat-chip-grid",this._defaultRole="grid",this._ariaDescribedbyIds=[],this._onTouched=()=>{},this._onChange=()=>{},this._value=[],this.change=new O,this.valueChange=new O,this._chips=void 0,this.stateChanges=new E,this.ngControl&&(this.ngControl.valueAccessor=this),this._errorStateTracker=new wr(h,g,s,o,this.stateChanges)}ngOnInit(){this.ngControl&&this.ngControl.control?.events.pipe(st(this._destroyed)).subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngAfterContentInit(){this.chipBlurChanges.pipe(st(this._destroyed)).subscribe(()=>{this._blur(),this.stateChanges.next()}),Dt(this.chipFocusChanges,this._chips.changes).pipe(st(this._destroyed)).subscribe(()=>this.stateChanges.next())}ngAfterViewInit(){super.ngAfterViewInit(),this._chipInput}ngDoCheck(){this.ngControl&&this.updateErrorState()}ngOnDestroy(){super.ngOnDestroy(),this.stateChanges.complete()}registerInput(t){this._chipInput=t,this._chipInput.setDescribedByIds(this._ariaDescribedbyIds)}onContainerClick(t){!this.disabled&&!this._originatesFromChip(t)&&this.focus()}focus(){this.disabled||this._chipInput.focused||(!this._chips.length||this._chips.first.disabled?Promise.resolve().then(()=>this._chipInput.focus()):this._chips.length&&this._keyManager.setFirstItemActive(),this.stateChanges.next())}setDescribedByIds(t){this._ariaDescribedbyIds=t,this._chipInput?.setDescribedByIds(t)}writeValue(t){this._value=t}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t,this.stateChanges.next()}updateErrorState(){this._errorStateTracker.updateErrorState()}_blur(){this.disabled||setTimeout(()=>{this.focused||(this._propagateChanges(),this._markAsTouched())})}_allowFocusEscape(){this._chipInput.focused||super._allowFocusEscape()}_handleKeydown(t){t.keyCode===9?this._chipInput.focused&&$t(t,"shiftKey")&&this._chips.length&&!this._chips.last.disabled?(t.preventDefault(),this._keyManager.activeItem?this._keyManager.setActiveItem(this._keyManager.activeItem):this._focusLastChip()):super._allowFocusEscape():this._chipInput.focused||super._handleKeydown(t),this.stateChanges.next()}_focusLastChip(){this._chips.length&&this._chips.last.focus()}_propagateChanges(){let t=this._chips.length?this._chips.toArray().map(e=>e.value):[];this._value=t,this.change.emit(new Or(this,t)),this.valueChange.emit(t),this._onChange(t),this._changeDetectorRef.markForCheck()}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}};i.\u0275fac=function(e){return new(e||i)(l(z),l(q),l(Nt,8),l(Ta,8),l(ri,8),l(di),l(Ea,10))},i.\u0275cmp=w({type:i,selectors:[["mat-chip-grid"]],contentQueries:function(e,n,o){if(e&1&&J(o,zr,5),e&2){let s;A(s=R())&&(n._chips=s)}},hostAttrs:[1,"mat-mdc-chip-set","mat-mdc-chip-grid","mdc-evolution-chip-set"],hostVars:10,hostBindings:function(e,n){e&1&&_("focus",function(){return n.focus()})("blur",function(){return n._blur()}),e&2&&(T("role",n.role)("tabindex",n.disabled||n._chips&&n._chips.length===0?-1:n.tabIndex)("aria-disabled",n.disabled.toString())("aria-invalid",n.errorState),U("mat-mdc-chip-list-disabled",n.disabled)("mat-mdc-chip-list-invalid",n.errorState)("mat-mdc-chip-list-required",n.required))},inputs:{disabled:[2,"disabled","disabled",M],placeholder:"placeholder",required:[2,"required","required",M],value:"value",errorStateMatcher:"errorStateMatcher"},outputs:{change:"change",valueChange:"valueChange"},standalone:!0,features:[X([{provide:Dc,useExisting:i}]),Q,Z,S],ngContentSelectors:$c,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(e,n){e&1&&(K(),c(0,"div",0),j(1),d())},styles:[dh],encapsulation:2,changeDetection:0});let a=i;return a})(),hh=0,Yc=(()=>{let i=class i{get chipGrid(){return this._chipGrid}set chipGrid(t){t&&(this._chipGrid=t,this._chipGrid.registerInput(this))}get disabled(){return this._disabled||this._chipGrid&&this._chipGrid.disabled}set disabled(t){this._disabled=t}get empty(){return!this.inputElement.value}constructor(t,e,n){this._elementRef=t,this.focused=!1,this.addOnBlur=!1,this.chipEnd=new O,this.placeholder="",this.id=`mat-mdc-chip-list-input-${hh++}`,this._disabled=!1,this.inputElement=this._elementRef.nativeElement,this.separatorKeyCodes=e.separatorKeyCodes,n&&this.inputElement.classList.add("mat-mdc-form-field-input-control")}ngOnChanges(){this._chipGrid.stateChanges.next()}ngOnDestroy(){this.chipEnd.complete()}_keydown(t){this.empty&&t.keyCode===8?(t.repeat||this._chipGrid._focusLastChip(),t.preventDefault()):this._emitChipEnd(t)}_blur(){this.addOnBlur&&this._emitChipEnd(),this.focused=!1,this._chipGrid.focused||this._chipGrid._blur(),this._chipGrid.stateChanges.next()}_focus(){this.focused=!0,this._chipGrid.stateChanges.next()}_emitChipEnd(t){(!t||this._isSeparatorKey(t))&&(this.chipEnd.emit({input:this.inputElement,value:this.inputElement.value,chipInput:this}),t?.preventDefault())}_onInput(){this._chipGrid.stateChanges.next()}focus(){this.inputElement.focus()}clear(){this.inputElement.value=""}setDescribedByIds(t){let e=this._elementRef.nativeElement;t.length?e.setAttribute("aria-describedby",t.join(" ")):e.removeAttribute("aria-describedby")}_isSeparatorKey(t){return!$t(t)&&new Set(this.separatorKeyCodes).has(t.keyCode)}};i.\u0275fac=function(e){return new(e||i)(l(z),l(Gc),l(Qa,8))},i.\u0275dir=I({type:i,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-mdc-chip-input","mat-mdc-input-element","mdc-text-field__input","mat-input-element"],hostVars:6,hostBindings:function(e,n){e&1&&_("keydown",function(s){return n._keydown(s)})("blur",function(){return n._blur()})("focus",function(){return n._focus()})("input",function(){return n._onInput()}),e&2&&(We("id",n.id),T("disabled",n.disabled||null)("placeholder",n.placeholder||null)("aria-invalid",n._chipGrid&&n._chipGrid.ngControl?n._chipGrid.ngControl.invalid:null)("aria-required",n._chipGrid&&n._chipGrid.required||null)("required",n._chipGrid&&n._chipGrid.required||null))},inputs:{chipGrid:[0,"matChipInputFor","chipGrid"],addOnBlur:[2,"matChipInputAddOnBlur","addOnBlur",M],separatorKeyCodes:[0,"matChipInputSeparatorKeyCodes","separatorKeyCodes"],placeholder:"placeholder",id:"id",disabled:[2,"disabled","disabled",M]},outputs:{chipEnd:"matChipInputTokenEnd"},exportAs:["matChipInput","matChipInputFor"],standalone:!0,features:[Q,At]});let a=i;return a})();var Zc=(()=>{let i=class i{};i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=N({type:i}),i.\u0275inj=L({providers:[di,{provide:Gc,useValue:{separatorKeyCodes:[13]}}],imports:[V,Ht,V]});let a=i;return a})();var uh=["tooltip"],Jc=20;var td=new H("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{let a=b(Tt);return()=>a.scrollStrategies.reposition({scrollThrottle:Jc})}});function gh(a){return()=>a.scrollStrategies.reposition({scrollThrottle:Jc})}var fh={provide:td,deps:[Tt],useFactory:gh};function _h(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}var bh=new H("mat-tooltip-default-options",{providedIn:"root",factory:_h});var Kc="tooltip-panel",Xc=Ee({passive:!0}),vh=8,yh=8,wh=24,xh=200,so=(()=>{let i=class i{get position(){return this._position}set position(t){t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(t){this._positionAtOrigin=vr(t),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(t){this._disabled=vr(t),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(t){this._showDelay=nn(t)}get hideDelay(){return this._hideDelay}set hideDelay(t){this._hideDelay=nn(t),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(t){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=t!=null?String(t).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(t,e,n,o,s,h,g,v,D,G,lt,kt){this._overlay=t,this._elementRef=e,this._scrollDispatcher=n,this._viewContainerRef=o,this._ngZone=s,this._platform=h,this._ariaDescriber=g,this._focusMonitor=v,this._dir=G,this._defaultOptions=lt,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._tooltipComponent=Ch,this._viewportMargin=8,this._cssClassPrefix="mat-mdc",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new E,this._injector=b(yt),this._scrollStrategy=D,this._document=kt,lt&&(this._showDelay=lt.showDelay,this._hideDelay=lt.hideDelay,lt.position&&(this.position=lt.position),lt.positionAtOrigin&&(this.positionAtOrigin=lt.positionAtOrigin),lt.touchGestures&&(this.touchGestures=lt.touchGestures)),G.change.pipe(st(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),this._viewportMargin=vh}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(st(this._destroyed)).subscribe(t=>{t?t==="keyboard"&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){let t=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([e,n])=>{t.removeEventListener(e,n,Xc)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(t,this.message,"tooltip"),this._focusMonitor.stopMonitoring(t)}show(t=this.showDelay,e){if(this.disabled||!this.message||this._isTooltipVisible()){this._tooltipInstance?._cancelPendingAnimations();return}let n=this._createOverlay(e);this._detach(),this._portal=this._portal||new li(this._tooltipComponent,this._viewContainerRef);let o=this._tooltipInstance=n.attach(this._portal).instance;o._triggerElement=this._elementRef.nativeElement,o._mouseLeaveHideDelay=this._hideDelay,o.afterHidden().pipe(st(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),o.show(t)}hide(t=this.hideDelay){let e=this._tooltipInstance;e&&(e.isVisible()?e.hide(t):(e._cancelPendingAnimations(),this._detach()))}toggle(t){this._isTooltipVisible()?this.hide():this.show(void 0,t)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(t){if(this._overlayRef){let o=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!t)&&o._origin instanceof z)return this._overlayRef;this._detach()}let e=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),n=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin?t||this._elementRef:this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(e);return n.positionChanges.pipe(st(this._destroyed)).subscribe(o=>{this._updateCurrentPositionClass(o.connectionPair),this._tooltipInstance&&o.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:n,panelClass:`${this._cssClassPrefix}-${Kc}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(st(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(st(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(st(this._destroyed)).subscribe(o=>{this._isTooltipVisible()&&o.keyCode===27&&!$t(o)&&(o.preventDefault(),o.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(t){let e=t.getConfig().positionStrategy,n=this._getOrigin(),o=this._getOverlayPosition();e.withPositions([this._addOffset(ht(ht({},n.main),o.main)),this._addOffset(ht(ht({},n.fallback),o.fallback))])}_addOffset(t){let e=yh,n=!this._dir||this._dir.value=="ltr";return t.originY==="top"?t.offsetY=-e:t.originY==="bottom"?t.offsetY=e:t.originX==="start"?t.offsetX=n?-e:e:t.originX==="end"&&(t.offsetX=n?e:-e),t}_getOrigin(){let t=!this._dir||this._dir.value=="ltr",e=this.position,n;e=="above"||e=="below"?n={originX:"center",originY:e=="above"?"top":"bottom"}:e=="before"||e=="left"&&t||e=="right"&&!t?n={originX:"start",originY:"center"}:(e=="after"||e=="right"&&t||e=="left"&&!t)&&(n={originX:"end",originY:"center"});let{x:o,y:s}=this._invertPosition(n.originX,n.originY);return{main:n,fallback:{originX:o,originY:s}}}_getOverlayPosition(){let t=!this._dir||this._dir.value=="ltr",e=this.position,n;e=="above"?n={overlayX:"center",overlayY:"bottom"}:e=="below"?n={overlayX:"center",overlayY:"top"}:e=="before"||e=="left"&&t||e=="right"&&!t?n={overlayX:"end",overlayY:"center"}:(e=="after"||e=="right"&&t||e=="left"&&!t)&&(n={overlayX:"start",overlayY:"center"});let{x:o,y:s}=this._invertPosition(n.overlayX,n.overlayY);return{main:n,fallback:{overlayX:o,overlayY:s}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),ae(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()},{injector:this._injector}))}_setTooltipClass(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t,this._tooltipInstance._markForCheck())}_invertPosition(t,e){return this.position==="above"||this.position==="below"?e==="top"?e="bottom":e==="bottom"&&(e="top"):t==="end"?t="start":t==="start"&&(t="end"),{x:t,y:e}}_updateCurrentPositionClass(t){let{overlayY:e,originX:n,originY:o}=t,s;if(e==="center"?this._dir&&this._dir.value==="rtl"?s=n==="end"?"left":"right":s=n==="start"?"left":"right":s=e==="bottom"&&o==="top"?"above":"below",s!==this._currentPosition){let h=this._overlayRef;if(h){let g=`${this._cssClassPrefix}-${Kc}-`;h.removePanelClass(g+this._currentPosition),h.addPanelClass(g+s)}this._currentPosition=s}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",t=>{this._setupPointerExitEventsIfNeeded();let e;t.x!==void 0&&t.y!==void 0&&(e=t),this.show(void 0,e)}]):this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",t=>{let e=t.targetTouches?.[0],n=e?{x:e.clientX,y:e.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout);let o=500;this._touchstartTimeout=setTimeout(()=>this.show(void 0,n),this._defaultOptions.touchLongPressShowDelay??o)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;let t=[];if(this._platformSupportsMouseEvents())t.push(["mouseleave",e=>{let n=e.relatedTarget;(!n||!this._overlayRef?.overlayElement.contains(n))&&this.hide()}],["wheel",e=>this._wheelListener(e)]);else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();let e=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};t.push(["touchend",e],["touchcancel",e])}this._addListeners(t),this._passiveListeners.push(...t)}_addListeners(t){t.forEach(([e,n])=>{this._elementRef.nativeElement.addEventListener(e,n,Xc)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(t){if(this._isTooltipVisible()){let e=this._document.elementFromPoint(t.clientX,t.clientY),n=this._elementRef.nativeElement;e!==n&&!n.contains(e)&&this.hide()}}_disableNativeGesturesIfNecessary(){let t=this.touchGestures;if(t!=="off"){let e=this._elementRef.nativeElement,n=e.style;(t==="on"||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA")&&(n.userSelect=n.msUserSelect=n.webkitUserSelect=n.MozUserSelect="none"),(t==="on"||!e.draggable)&&(n.webkitUserDrag="none"),n.touchAction="none",n.webkitTapHighlightColor="transparent"}}};i.\u0275fac=function(e){return new(e||i)(l(Tt),l(z),l(kr),l(qt),l(ct),l(ce),l(Na),l(Ft),l(td),l(Nt),l(bh,8),l(St))},i.\u0275dir=I({type:i,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(e,n){e&2&&U("mat-mdc-tooltip-disabled",n.disabled)},inputs:{position:[0,"matTooltipPosition","position"],positionAtOrigin:[0,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[0,"matTooltipDisabled","disabled"],showDelay:[0,"matTooltipShowDelay","showDelay"],hideDelay:[0,"matTooltipHideDelay","hideDelay"],touchGestures:[0,"matTooltipTouchGestures","touchGestures"],message:[0,"matTooltip","message"],tooltipClass:[0,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"],standalone:!0});let a=i;return a})(),Ch=(()=>{let i=class i{constructor(t,e,n){this._changeDetectorRef=t,this._elementRef=e,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=n==="NoopAnimations"}show(t){this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},t)}hide(t){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},t)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:t}){(!t||!this._triggerElement.contains(t))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){let t=this._elementRef.nativeElement.getBoundingClientRect();return t.height>wh&&t.width>=xh}_handleAnimationEnd({animationName:t}){(t===this._showAnimation||t===this._hideAnimation)&&this._finalizeAnimation(t===this._showAnimation)}_cancelPendingAnimations(){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(t){t?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(t){let e=this._tooltip.nativeElement,n=this._showAnimation,o=this._hideAnimation;if(e.classList.remove(t?o:n),e.classList.add(t?n:o),this._isVisible!==t&&(this._isVisible=t,this._changeDetectorRef.markForCheck()),t&&!this._animationsDisabled&&typeof getComputedStyle=="function"){let s=getComputedStyle(e);(s.getPropertyValue("animation-duration")==="0s"||s.getPropertyValue("animation-name")==="none")&&(this._animationsDisabled=!0)}t&&this._onShow(),this._animationsDisabled&&(e.classList.add("_mat-animation-noopable"),this._finalizeAnimation(t))}};i.\u0275fac=function(e){return new(e||i)(l(q),l(z),l(Xt,8))},i.\u0275cmp=w({type:i,selectors:[["mat-tooltip-component"]],viewQuery:function(e,n){if(e&1&&it(uh,7),e&2){let o;A(o=R())&&(n._tooltip=o.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,n){e&1&&_("mouseleave",function(s){return n._handleMouseLeave(s)}),e&2&&ot("zoom",n.isVisible()?1:null)},standalone:!0,features:[S],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(e,n){if(e&1){let o=F();c(0,"div",1,0),_("animationend",function(h){return C(o),k(n._handleAnimationEnd(h))}),c(2,"div",2),p(3),d()()}e&2&&(U("mdc-tooltip--multiline",n._isMultiline),u("ngClass",n.tooltipClass),m(3),nt(n.message))},dependencies:[Le],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 a=i;return a})();var co=(()=>{let i=class i{};i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=N({type:i}),i.\u0275inj=L({providers:[fh],imports:[si,Pt,fe,V,V,Ae]});let a=i;return a})();var Dh=["mat-button",""],id=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],nd=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"];var Sh=".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}",Ih=["mat-fab",""];var Mh=["mat-icon-button",""],Eh=["*"];var Th=new H("MAT_BUTTON_CONFIG");var Ah=[{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"]}],Lr=(()=>{let i=class i{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(t){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,t)}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=t,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(t){this._disabled=t,this._updateRippleDisabled()}constructor(t,e,n,o){this._elementRef=t,this._platform=e,this._ngZone=n,this._animationMode=o,this._focusMonitor=b(Ft),this._rippleLoader=b(Ba),this._isFab=!1,this._disableRipple=!1,this._disabled=!1;let s=b(Th,{optional:!0}),h=t.nativeElement,g=h.classList;this.disabledInteractive=s?.disabledInteractive??!1,this._rippleLoader?.configureRipple(h,{className:"mat-mdc-button-ripple"});for(let{attribute:v,mdcClasses:D}of Ah)h.hasAttribute(v)&&g.add(...D)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(t="program",e){t?this._focusMonitor.focusVia(this._elementRef.nativeElement,t,e):this._elementRef.nativeElement.focus(e)}_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)}};i.\u0275fac=function(e){xa()},i.\u0275dir=I({type:i,inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",M],disabled:[2,"disabled","disabled",M],ariaDisabled:[2,"aria-disabled","ariaDisabled",M],disabledInteractive:[2,"disabledInteractive","disabledInteractive",M]},features:[Q]});let a=i;return a})();var Jn=(()=>{let i=class i extends Lr{constructor(t,e,n,o){super(t,e,n,o)}};i.\u0275fac=function(e){return new(e||i)(l(z),l(ce),l(ct),l(Xt,8))},i.\u0275cmp=w({type:i,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(e,n){e&2&&(T("disabled",n._getDisabledAttribute())("aria-disabled",n._getAriaDisabled()),zt(n.color?"mat-"+n.color:""),U("mat-mdc-button-disabled",n.disabled)("mat-mdc-button-disabled-interactive",n.disabledInteractive)("_mat-animation-noopable",n._animationMode==="NoopAnimations")("mat-unthemed",!n.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[Z,S],attrs:Dh,ngContentSelectors:nd,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(e,n){e&1&&(K(id),x(0,"span",0),j(1),c(2,"span",1),j(3,1),d(),j(4,2),x(5,"span",2)(6,"span",3)),e&2&&U("mdc-button__ripple",!n._isFab)("mdc-fab__ripple",n._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 a=i;return a})();var Rh=new H("mat-mdc-fab-default-options",{providedIn:"root",factory:ad});function ad(){return{color:"accent"}}var ed=ad(),$v=(()=>{let i=class i extends Lr{constructor(t,e,n,o,s){super(t,e,n,o),this._options=s,this._isFab=!0,this._options=this._options||ed,this.color=this._options.color||ed.color}};i.\u0275fac=function(e){return new(e||i)(l(z),l(ce),l(ct),l(Xt,8),l(Rh,8))},i.\u0275cmp=w({type:i,selectors:[["button","mat-fab",""]],hostVars:18,hostBindings:function(e,n){e&2&&(T("disabled",n._getDisabledAttribute())("aria-disabled",n._getAriaDisabled()),zt(n.color?"mat-"+n.color:""),U("mat-mdc-button-disabled",n.disabled)("mat-mdc-button-disabled-interactive",n.disabledInteractive)("_mat-animation-noopable",n._animationMode==="NoopAnimations")("mat-unthemed",!n.color)("mat-mdc-button-base",!0)("mdc-fab--extended",n.extended)("mat-mdc-extended-fab",n.extended))},inputs:{extended:[2,"extended","extended",M]},exportAs:["matButton"],standalone:!0,features:[Q,Z,S],attrs:Ih,ngContentSelectors:nd,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(e,n){e&1&&(K(id),x(0,"span",0),j(1),c(2,"span",1),j(3,1),d(),j(4,2),x(5,"span",2)(6,"span",3)),e&2&&U("mdc-button__ripple",!n._isFab)("mdc-fab__ripple",n._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 a=i;return a})();var xe=(()=>{let i=class i extends Lr{constructor(t,e,n,o){super(t,e,n,o),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}};i.\u0275fac=function(e){return new(e||i)(l(z),l(ce),l(ct),l(Xt,8))},i.\u0275cmp=w({type:i,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(e,n){e&2&&(T("disabled",n._getDisabledAttribute())("aria-disabled",n._getAriaDisabled()),zt(n.color?"mat-"+n.color:""),U("mat-mdc-button-disabled",n.disabled)("mat-mdc-button-disabled-interactive",n.disabledInteractive)("_mat-animation-noopable",n._animationMode==="NoopAnimations")("mat-unthemed",!n.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[Z,S],attrs:Mh,ngContentSelectors:Eh,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(e,n){e&1&&(K(),x(0,"span",0),j(1),x(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}',Sh],encapsulation:2,changeDetection:0});let a=i;return a})();var $i=(()=>{let i=class i{};i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=N({type:i}),i.\u0275inj=L({imports:[V,Ht,V]});let a=i;return a})();function Oh(a,i){if(a&1&&(c(0,"mat-option",17),p(1),d()),a&2){let r=i.$implicit;u("value",r),m(),dt(" ",r," ")}}function Ph(a,i){if(a&1){let r=F();c(0,"mat-form-field",14)(1,"mat-select",16,0),_("selectionChange",function(e){C(r);let n=f(2);return k(n._changePageSize(e.value))}),Jt(3,Oh,2,2,"mat-option",17,_i),d(),c(5,"div",18),_("click",function(){C(r);let e=Bt(2);return k(e.open())}),d()()}if(a&2){let r=f(2);u("appearance",r._formFieldAppearance)("color",r.color),m(),u("value",r.pageSize)("disabled",r.disabled)("aria-labelledby",r._pageSizeLabelId)("panelClass",r.selectConfig.panelClass||"")("disableOptionCentering",r.selectConfig.disableOptionCentering),m(2),te(r._displayedPageSizeOptions)}}function Fh(a,i){if(a&1&&(c(0,"div",15),p(1),d()),a&2){let r=f(2);m(),nt(r.pageSize)}}function zh(a,i){if(a&1&&(c(0,"div",3)(1,"div",13),p(2),d(),y(3,Ph,6,7,"mat-form-field",14)(4,Fh,2,1,"div",15),d()),a&2){let r=f();m(),T("id",r._pageSizeLabelId),m(),dt(" ",r._intl.itemsPerPageLabel," "),m(),B(r._displayedPageSizeOptions.length>1?3:-1),m(),B(r._displayedPageSizeOptions.length<=1?4:-1)}}function Lh(a,i){if(a&1){let r=F();c(0,"button",19),_("click",function(){C(r);let e=f();return k(e.firstPage())}),pe(),c(1,"svg",8),x(2,"path",20),d()()}if(a&2){let r=f();u("matTooltip",r._intl.firstPageLabel)("matTooltipDisabled",r._previousButtonsDisabled())("matTooltipPosition","above")("disabled",r._previousButtonsDisabled()),T("aria-label",r._intl.firstPageLabel)}}function Nh(a,i){if(a&1){let r=F();c(0,"button",21),_("click",function(){C(r);let e=f();return k(e.lastPage())}),pe(),c(1,"svg",8),x(2,"path",22),d()()}if(a&2){let r=f();u("matTooltip",r._intl.lastPageLabel)("matTooltipDisabled",r._nextButtonsDisabled())("matTooltipPosition","above")("disabled",r._nextButtonsDisabled()),T("aria-label",r._intl.lastPageLabel)}}var lo=(()=>{let i=class i{constructor(){this.changes=new E,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(t,e,n)=>{if(n==0||e==0)return`0 of ${n}`;n=Math.max(n,0);let o=t*e,s=o<n?Math.min(o+e,n):o+e;return`${o+1} \u2013 ${s} of ${n}`}}};i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"});let a=i;return a})();function Vh(a){return a||new lo}var jh={provide:lo,deps:[[new gi,new fi,lo]],useFactory:Vh},Bh=50;var Hh=new H("MAT_PAGINATOR_DEFAULT_OPTIONS"),Uh=0,qh=(()=>{let i=class i{get pageIndex(){return this._pageIndex}set pageIndex(t){this._pageIndex=Math.max(t||0,0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(t){this._length=t||0,this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(t){this._pageSize=Math.max(t||0,0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(t){this._pageSizeOptions=(t||[]).map(e=>Lt(e,0)),this._updateDisplayedPageSizeOptions()}constructor(t,e,n){if(this._intl=t,this._changeDetectorRef=e,this._pageSizeLabelId=`mat-paginator-page-size-label-${Uh++}`,this._isInitialized=!1,this._initializedStream=new ua(1),this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this.hidePageSize=!1,this.showFirstLastButtons=!1,this.selectConfig={},this.disabled=!1,this.page=new O,this.initialized=this._initializedStream,this._intlChanges=t.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),n){let{pageSize:o,pageSizeOptions:s,hidePageSize:h,showFirstLastButtons:g}=n;o!=null&&(this._pageSize=o),s!=null&&(this._pageSizeOptions=s),h!=null&&(this.hidePageSize=h),g!=null&&(this.showFirstLastButtons=g)}this._formFieldAppearance=n?.formFieldAppearance||"outline"}ngOnInit(){this._isInitialized=!0,this._updateDisplayedPageSizeOptions(),this._initializedStream.next()}ngOnDestroy(){this._initializedStream.complete(),this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;let t=this.pageIndex;this.pageIndex=this.pageIndex+1,this._emitPageEvent(t)}previousPage(){if(!this.hasPreviousPage())return;let t=this.pageIndex;this.pageIndex=this.pageIndex-1,this._emitPageEvent(t)}firstPage(){if(!this.hasPreviousPage())return;let t=this.pageIndex;this.pageIndex=0,this._emitPageEvent(t)}lastPage(){if(!this.hasNextPage())return;let t=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(t)}hasPreviousPage(){return this.pageIndex>=1&&this.pageSize!=0}hasNextPage(){let t=this.getNumberOfPages()-1;return this.pageIndex<t&&this.pageSize!=0}getNumberOfPages(){return this.pageSize?Math.ceil(this.length/this.pageSize):0}_changePageSize(t){let e=this.pageIndex*this.pageSize,n=this.pageIndex;this.pageIndex=Math.floor(e/t)||0,this.pageSize=t,this._emitPageEvent(n)}_nextButtonsDisabled(){return this.disabled||!this.hasNextPage()}_previousButtonsDisabled(){return this.disabled||!this.hasPreviousPage()}_updateDisplayedPageSizeOptions(){this._isInitialized&&(this.pageSize||(this._pageSize=this.pageSizeOptions.length!=0?this.pageSizeOptions[0]:Bh),this._displayedPageSizeOptions=this.pageSizeOptions.slice(),this._displayedPageSizeOptions.indexOf(this.pageSize)===-1&&this._displayedPageSizeOptions.push(this.pageSize),this._displayedPageSizeOptions.sort((t,e)=>t-e),this._changeDetectorRef.markForCheck())}_emitPageEvent(t){this.page.emit({previousPageIndex:t,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}};i.\u0275fac=function(e){return new(e||i)(l(lo),l(q),l(Hh,8))},i.\u0275cmp=w({type:i,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-mdc-paginator"],inputs:{color:"color",pageIndex:[2,"pageIndex","pageIndex",Lt],length:[2,"length","length",Lt],pageSize:[2,"pageSize","pageSize",Lt],pageSizeOptions:"pageSizeOptions",hidePageSize:[2,"hidePageSize","hidePageSize",M],showFirstLastButtons:[2,"showFirstLastButtons","showFirstLastButtons",M],selectConfig:"selectConfig",disabled:[2,"disabled","disabled",M]},outputs:{page:"page"},exportAs:["matPaginator"],standalone:!0,features:[Q,S],decls:14,vars:14,consts:[["selectRef",""],[1,"mat-mdc-paginator-outer-container"],[1,"mat-mdc-paginator-container"],[1,"mat-mdc-paginator-page-size"],[1,"mat-mdc-paginator-range-actions"],["aria-live","polite",1,"mat-mdc-paginator-range-label"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-previous",3,"click","matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["viewBox","0 0 24 24","focusable","false","aria-hidden","true",1,"mat-mdc-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-next",3,"click","matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],[1,"mat-mdc-paginator-page-size-label"],[1,"mat-mdc-paginator-page-size-select",3,"appearance","color"],[1,"mat-mdc-paginator-page-size-value"],["hideSingleSelectionIndicator","",3,"selectionChange","value","disabled","aria-labelledby","panelClass","disableOptionCentering"],[3,"value"],[1,"mat-mdc-paginator-touch-target",3,"click"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-first",3,"click","matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-last",3,"click","matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(e,n){e&1&&(c(0,"div",1)(1,"div",2),y(2,zh,5,4,"div",3),c(3,"div",4)(4,"div",5),p(5),d(),y(6,Lh,3,5,"button",6),c(7,"button",7),_("click",function(){return n.previousPage()}),pe(),c(8,"svg",8),x(9,"path",9),d()(),Hn(),c(10,"button",10),_("click",function(){return n.nextPage()}),pe(),c(11,"svg",8),x(12,"path",11),d()(),y(13,Nh,3,5,"button",12),d()()()),e&2&&(m(2),B(n.hidePageSize?-1:2),m(3),dt(" ",n._intl.getRangeLabel(n.pageIndex,n.pageSize,n.length)," "),m(),B(n.showFirstLastButtons?6:-1),m(),u("matTooltip",n._intl.previousPageLabel)("matTooltipDisabled",n._previousButtonsDisabled())("matTooltipPosition","above")("disabled",n._previousButtonsDisabled()),T("aria-label",n._intl.previousPageLabel),m(3),u("matTooltip",n._intl.nextPageLabel)("matTooltipDisabled",n._nextButtonsDisabled())("matTooltipPosition","above")("disabled",n._nextButtonsDisabled()),T("aria-label",n._intl.nextPageLabel),m(3),B(n.showFirstLastButtons?13:-1))},dependencies:[_e,ji,ke,xe,so],styles:[".mat-mdc-paginator{display:block;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-paginator-container-text-color);background-color:var(--mat-paginator-container-background-color);font-family:var(--mat-paginator-container-text-font);line-height:var(--mat-paginator-container-text-line-height);font-size:var(--mat-paginator-container-text-size);font-weight:var(--mat-paginator-container-text-weight);letter-spacing:var(--mat-paginator-container-text-tracking);--mat-form-field-container-height:var(--mat-paginator-form-field-container-height);--mat-form-field-container-vertical-padding:var(--mat-paginator-form-field-container-vertical-padding)}.mat-mdc-paginator .mat-mdc-select-value{font-size:var(--mat-paginator-select-trigger-text-size)}.mat-mdc-paginator .mat-mdc-form-field-subscript-wrapper{display:none}.mat-mdc-paginator .mat-mdc-select{line-height:1.5}.mat-mdc-paginator-outer-container{display:flex}.mat-mdc-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap;width:100%;min-height:var(--mat-paginator-container-size)}.mat-mdc-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-mdc-paginator-page-size{margin-right:0;margin-left:8px}.mat-mdc-paginator-page-size-label{margin:0 4px}.mat-mdc-paginator-page-size-select{margin:0 4px;width:84px}.mat-mdc-paginator-range-label{margin:0 32px 0 24px}.mat-mdc-paginator-range-actions{display:flex;align-items:center}.mat-mdc-paginator-icon{display:inline-block;width:28px;fill:var(--mat-paginator-enabled-icon-color)}.mat-mdc-icon-button[disabled] .mat-mdc-paginator-icon{fill:var(--mat-paginator-disabled-icon-color)}[dir=rtl] .mat-mdc-paginator-icon{transform:rotate(180deg)}.cdk-high-contrast-active .mat-mdc-icon-button[disabled] .mat-mdc-paginator-icon,.cdk-high-contrast-active .mat-mdc-paginator-icon{fill:currentColor;fill:CanvasText}.cdk-high-contrast-active .mat-mdc-paginator-range-actions .mat-mdc-icon-button{outline:solid 1px}.mat-mdc-paginator-touch-target{display:var(--mat-paginator-touch-target-display);position:absolute;top:50%;left:50%;width:84px;height:48px;background-color:rgba(0,0,0,0);transform:translate(-50%, -50%);cursor:pointer}"],encapsulation:2,changeDetection:0});let a=i;return a})(),od=(()=>{let i=class i{};i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=N({type:i}),i.\u0275inj=L({providers:[jh],imports:[$i,kn,co,qh]});let a=i;return a})();var $h=["input"],Gh=["formField"],Wh=["*"],sd=0,mo=class{constructor(i,r){this.source=i,this.value=r}},Qh={provide:vi,useExisting:ye(()=>Nr),multi:!0},cd=new H("MatRadioGroup"),Yh=new H("mat-radio-default-options",{providedIn:"root",factory:Zh});function Zh(){return{color:"accent"}}var Nr=(()=>{let i=class i{get name(){return this._name}set name(t){this._name=t,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(t){this._labelPosition=t==="before"?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(t){this._value!==t&&(this._value=t,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(t){this._selected=t,this.value=t?t.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(t){this._disabled=t,this._markRadiosForCheck()}get required(){return this._required}set required(t){this._required=t,this._markRadiosForCheck()}constructor(t){this._changeDetector=t,this._value=null,this._name=`mat-radio-group-${sd++}`,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new O}ngAfterContentInit(){this._isInitialized=!0,this._buttonChanges=this._radios.changes.subscribe(()=>{this.selected&&!this._radios.find(t=>t===this.selected)&&(this._selected=null)})}ngOnDestroy(){this._buttonChanges?.unsubscribe()}_touch(){this.onTouched&&(this.onTouched(),this._changeDetector.markForCheck())}_updateRadioButtonNames(){this._radios&&this._radios.forEach(t=>{t.name=this.name,t._markForCheck()})}_updateSelectedRadioFromValue(){let t=this._selected!==null&&this._selected.value===this._value;this._radios&&!t&&(this._selected=null,this._radios.forEach(e=>{e.checked=this.value===e.value,e.checked&&(this._selected=e)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new mo(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(t=>t._markForCheck())}writeValue(t){this.value=t,this._changeDetector.markForCheck()}registerOnChange(t){this._controlValueAccessorChangeFn=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this.disabled=t,this._changeDetector.markForCheck()}};i.\u0275fac=function(e){return new(e||i)(l(q))},i.\u0275dir=I({type:i,selectors:[["mat-radio-group"]],contentQueries:function(e,n,o){if(e&1&&J(o,ho,5),e&2){let s;A(s=R())&&(n._radios=s)}},hostAttrs:["role","radiogroup",1,"mat-mdc-radio-group"],inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:[2,"disabled","disabled",M],required:[2,"required","required",M]},outputs:{change:"change"},exportAs:["matRadioGroup"],standalone:!0,features:[X([Qh,{provide:cd,useExisting:i}]),Q]});let a=i;return a})(),ho=(()=>{let i=class i{get checked(){return this._checked}set checked(t){this._checked!==t&&(this._checked=t,t&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!t&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),t&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(t){this._value!==t&&(this._value=t,this.radioGroup!==null&&(this.checked||(this.checked=this.radioGroup.value===t),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(t){this._labelPosition=t}get disabled(){return this._disabled||this.radioGroup!==null&&this.radioGroup.disabled}set disabled(t){this._setDisabled(t)}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(t){this._required=t}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"}set color(t){this._color=t}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(t,e,n,o,s,h,g,v){this._elementRef=e,this._changeDetector=n,this._focusMonitor=o,this._radioDispatcher=s,this._providerOverride=g,this._uniqueId=`mat-radio-${++sd}`,this.id=this._uniqueId,this.disableRipple=!1,this.tabIndex=0,this.change=new O,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this._injector=b(yt),this.radioGroup=t,this._noopAnimations=h==="NoopAnimations",v&&(this.tabIndex=Lt(v,0))}focus(t,e){e?this._focusMonitor.focusVia(this._inputElement,e,t):this._inputElement.nativeElement.focus(t)}_markForCheck(){this._changeDetector.markForCheck()}ngOnInit(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.checked&&(this.radioGroup.selected=this),this.name=this.radioGroup.name),this._removeUniqueSelectionListener=this._radioDispatcher.listen((t,e)=>{t!==this.id&&e===this.name&&(this.checked=!1)})}ngDoCheck(){this._updateTabIndex()}ngAfterViewInit(){this._updateTabIndex(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{!t&&this.radioGroup&&this.radioGroup._touch()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new mo(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputClick(t){t.stopPropagation()}_onInputInteraction(t){if(t.stopPropagation(),!this.checked&&!this.disabled){let e=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),e&&this.radioGroup._emitChangeEvent())}}_onTouchTargetClick(t){this._onInputInteraction(t),this.disabled||this._inputElement.nativeElement.focus()}_setDisabled(t){this._disabled!==t&&(this._disabled=t,this._changeDetector.markForCheck())}_updateTabIndex(){let t=this.radioGroup,e;if(!t||!t.selected||this.disabled?e=this.tabIndex:e=t.selected===this?this.tabIndex:-1,e!==this._previousTabIndex){let n=this._inputElement?.nativeElement;n&&(n.setAttribute("tabindex",e+""),this._previousTabIndex=e,ae(()=>{queueMicrotask(()=>{t&&t.selected&&t.selected!==this&&document.activeElement===n&&(t.selected?._inputElement.nativeElement.focus(),document.activeElement===n&&this._inputElement.nativeElement.blur())})},{injector:this._injector}))}}};i.\u0275fac=function(e){return new(e||i)(l(cd,8),l(z),l(q),l(Ft),l(xn),l(Xt,8),l(Yh,8),Qt("tabindex"))},i.\u0275cmp=w({type:i,selectors:[["mat-radio-button"]],viewQuery:function(e,n){if(e&1&&(it($h,5),it(Gh,7,z)),e&2){let o;A(o=R())&&(n._inputElement=o.first),A(o=R())&&(n._rippleTrigger=o.first)}},hostAttrs:[1,"mat-mdc-radio-button"],hostVars:15,hostBindings:function(e,n){e&1&&_("focus",function(){return n._inputElement.nativeElement.focus()}),e&2&&(T("id",n.id)("tabindex",null)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),U("mat-primary",n.color==="primary")("mat-accent",n.color==="accent")("mat-warn",n.color==="warn")("mat-mdc-radio-checked",n.checked)("_mat-animation-noopable",n._noopAnimations))},inputs:{id:"id",name:"name",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],disableRipple:[2,"disableRipple","disableRipple",M],tabIndex:[2,"tabIndex","tabIndex",t=>t==null?0:Lt(t)],checked:[2,"checked","checked",M],value:"value",labelPosition:"labelPosition",disabled:[2,"disabled","disabled",M],required:[2,"required","required",M],color:"color"},outputs:{change:"change"},exportAs:["matRadioButton"],standalone:!0,features:[Q,S],ngContentSelectors:Wh,decls:13,vars:16,consts:[["formField",""],["input",""],["mat-internal-form-field","",3,"labelPosition"],[1,"mdc-radio"],[1,"mat-mdc-radio-touch-target",3,"click"],["type","radio",1,"mdc-radio__native-control",3,"change","id","checked","disabled","required"],[1,"mdc-radio__background"],[1,"mdc-radio__outer-circle"],[1,"mdc-radio__inner-circle"],["mat-ripple","",1,"mat-radio-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mdc-label",3,"for"]],template:function(e,n){if(e&1){let o=F();K(),c(0,"div",2,0)(2,"div",3)(3,"div",4),_("click",function(h){return C(o),k(n._onTouchTargetClick(h))}),d(),c(4,"input",5,1),_("change",function(h){return C(o),k(n._onInputInteraction(h))}),d(),c(6,"div",6),x(7,"div",7)(8,"div",8),d(),c(9,"div",9),x(10,"div",10),d()(),c(11,"label",11),j(12),d()()}e&2&&(u("labelPosition",n.labelPosition),m(2),U("mdc-radio--disabled",n.disabled),m(2),u("id",n.inputId)("checked",n.checked)("disabled",n.disabled)("required",n.required),T("name",n.name)("value",n.value)("aria-label",n.ariaLabel)("aria-labelledby",n.ariaLabelledby)("aria-describedby",n.ariaDescribedby),m(5),u("matRippleTrigger",n._rippleTrigger.nativeElement)("matRippleDisabled",n._isRippleDisabled())("matRippleCentered",!0),m(2),u("for",n.inputId))},dependencies:[mt,Ha],styles:['.mat-mdc-radio-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-radio-button .mdc-radio{display:inline-block;position:relative;flex:0 0 auto;box-sizing:content-box;width:20px;height:20px;cursor:pointer;will-change:opacity,transform,border-color,color;padding:calc((var(--mdc-radio-state-layer-size) - 20px)/2)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:not([disabled]):not(:focus)~.mdc-radio__background::before{opacity:.04;transform:scale(1)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:not([disabled])~.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-hover-icon-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-hover-icon-color)}.mat-mdc-radio-button .mdc-radio:active .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-pressed-icon-color)}.mat-mdc-radio-button .mdc-radio:active .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio:active .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-pressed-icon-color)}.mat-mdc-radio-button .mdc-radio__background{display:inline-block;position:relative;box-sizing:border-box;width:20px;height:20px}.mat-mdc-radio-button .mdc-radio__background::before{position:absolute;transform:scale(0, 0);border-radius:50%;opacity:0;pointer-events:none;content:"";transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1);width:var(--mdc-radio-state-layer-size);height:var(--mdc-radio-state-layer-size);top:calc(-1*(var(--mdc-radio-state-layer-size) - 20px)/2);left:calc(-1*(var(--mdc-radio-state-layer-size) - 20px)/2)}.mat-mdc-radio-button .mdc-radio__outer-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;border-width:2px;border-style:solid;border-radius:50%;transition:border-color 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-radio-button .mdc-radio__inner-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;transform:scale(0, 0);border-width:10px;border-style:solid;border-radius:50%;transition:transform 90ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-radio-button .mdc-radio__native-control{position:absolute;margin:0;padding:0;opacity:0;top:0;right:0;left:0;cursor:inherit;z-index:1;width:var(--mdc-radio-state-layer-size);height:var(--mdc-radio-state-layer-size)}.mat-mdc-radio-button .mdc-radio__native-control:checked+.mdc-radio__background,.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background{transition:opacity 90ms cubic-bezier(0, 0, 0.2, 1),transform 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__outer-circle{transition:border-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{transition:transform 90ms cubic-bezier(0, 0, 0.2, 1),border-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button .mdc-radio__native-control:focus+.mdc-radio__background::before{transform:scale(1);opacity:.12;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 1),transform 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-unselected-icon-color);opacity:var(--mdc-radio-disabled-unselected-icon-opacity)}.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background{cursor:default}.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-selected-icon-color);opacity:var(--mdc-radio-disabled-selected-icon-opacity)}.mat-mdc-radio-button .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-icon-color)}.mat-mdc-radio-button .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-icon-color)}.mat-mdc-radio-button .mdc-radio__native-control:enabled:focus:checked+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio__native-control:enabled:focus:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-focus-icon-color)}.mat-mdc-radio-button .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle{transform:scale(0.5);transition:transform 90ms cubic-bezier(0, 0, 0.2, 1),border-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button .mdc-radio--disabled{cursor:default;pointer-events:none}.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__background::before,.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__outer-circle,.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__inner-circle{transition:none !important}.mat-mdc-radio-button .mdc-radio__background::before{background-color:var(--mat-radio-ripple-color)}.mat-mdc-radio-button.mat-mdc-radio-checked .mdc-radio__background::before{background-color:var(--mat-radio-checked-ripple-color)}.mat-mdc-radio-button.mat-mdc-radio-checked .mat-ripple-element{background-color:var(--mat-radio-checked-ripple-color)}.mat-mdc-radio-button .mat-internal-form-field{color:var(--mat-radio-label-text-color);font-family:var(--mat-radio-label-text-font);line-height:var(--mat-radio-label-text-line-height);font-size:var(--mat-radio-label-text-size);letter-spacing:var(--mat-radio-label-text-tracking);font-weight:var(--mat-radio-label-text-weight)}.mat-mdc-radio-button .mdc-radio--disabled+label{color:var(--mat-radio-disabled-label-color)}.mat-mdc-radio-button .mat-radio-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:50%}.mat-mdc-radio-button .mat-radio-ripple .mat-ripple-element{opacity:.14}.mat-mdc-radio-button .mat-radio-ripple::before{border-radius:50%}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:focus:enabled:not(:checked)~.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-focus-icon-color, black)}.mat-mdc-radio-button.cdk-focused .mat-mdc-focus-indicator::before{content:""}.mat-mdc-radio-touch-target{position:absolute;top:50%;left:50%;height:48px;width:48px;transform:translate(-50%, -50%);display:var(--mat-radio-touch-target-display)}[dir=rtl] .mat-mdc-radio-touch-target{left:auto;right:50%;transform:translate(50%, -50%)}'],encapsulation:2,changeDetection:0});let a=i;return a})(),po=(()=>{let i=class i{};i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=N({type:i}),i.\u0275inj=L({imports:[V,Pt,Ht,ho,V]});let a=i;return a})();var Xh=["switch"],Jh=["*"];function tp(a,i){a&1&&(c(0,"div",10),pe(),c(1,"svg",12),x(2,"path",13),d(),c(3,"svg",14),x(4,"path",15),d()())}var ep=new H("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1,hideIcon:!1})}),ip={provide:vi,useExisting:ye(()=>dd),multi:!0},uo=class{constructor(i,r){this.source=i,this.checked=r}},np=0,dd=(()=>{let i=class i{_createChangeEvent(t){return new uo(this,t)}get buttonId(){return`${this.id||this._uniqueId}-button`}focus(){this._switchElement.nativeElement.focus()}get checked(){return this._checked}set checked(t){this._checked=t,this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(t,e,n,o,s,h){this._elementRef=t,this._focusMonitor=e,this._changeDetectorRef=n,this.defaults=s,this._onChange=g=>{},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 O,this.toggleChange=new O,this.tabIndex=parseInt(o)||0,this.color=s.color||"accent",this._noopAnimations=h==="NoopAnimations",this.id=this._uniqueId=`mat-mdc-slide-toggle-${++np}`,this.hideIcon=s.hideIcon??!1,this._labelId=this._uniqueId+"-label"}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{t==="keyboard"||t==="program"?(this._focused=!0,this._changeDetectorRef.markForCheck()):t||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnChanges(t){t.required&&this._validatorOnChange()}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(t){this.checked=!!t}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}validate(t){return this.required&&t.value!==!0?{required:!0}:null}registerOnValidatorChange(t){this._validatorOnChange=t}setDisabledState(t){this.disabled=t,this._changeDetectorRef.markForCheck()}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(this._createChangeEvent(this.checked))}_handleClick(){this.toggleChange.emit(),this.defaults.disableToggleValue||(this.checked=!this.checked,this._onChange(this.checked),this.change.emit(new uo(this,this.checked)))}_getAriaLabelledBy(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId}};i.\u0275fac=function(e){return new(e||i)(l(z),l(Ft),l(q),Qt("tabindex"),l(ep),l(Xt,8))},i.\u0275cmp=w({type:i,selectors:[["mat-slide-toggle"]],viewQuery:function(e,n){if(e&1&&it(Xh,5),e&2){let o;A(o=R())&&(n._switchElement=o.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:13,hostBindings:function(e,n){e&2&&(We("id",n.id),T("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),zt(n.color?"mat-"+n.color:""),U("mat-mdc-slide-toggle-focused",n._focused)("mat-mdc-slide-toggle-checked",n.checked)("_mat-animation-noopable",n._noopAnimations))},inputs:{name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],required:[2,"required","required",M],color:"color",disabled:[2,"disabled","disabled",M],disableRipple:[2,"disableRipple","disableRipple",M],tabIndex:[2,"tabIndex","tabIndex",t=>t==null?0:Lt(t)],checked:[2,"checked","checked",M],hideIcon:[2,"hideIcon","hideIcon",M]},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],standalone:!0,features:[X([ip,{provide:oc,useExisting:i,multi:!0}]),Q,At,S],ngContentSelectors:Jh,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(e,n){if(e&1){let o=F();K(),c(0,"div",1)(1,"button",2,0),_("click",function(){return C(o),k(n._handleClick())}),x(3,"div",3),c(4,"div",4)(5,"div",5)(6,"div",6),x(7,"div",7),d(),c(8,"div",8),x(9,"div",9),d(),y(10,tp,5,0,"div",10),d()()(),c(11,"label",11),_("click",function(h){return C(o),k(h.stopPropagation())}),j(12),d()()}if(e&2){let o=Bt(2);u("labelPosition",n.labelPosition),m(),U("mdc-switch--selected",n.checked)("mdc-switch--unselected",!n.checked)("mdc-switch--checked",n.checked)("mdc-switch--disabled",n.disabled),u("tabIndex",n.disabled?-1:n.tabIndex)("disabled",n.disabled),T("id",n.buttonId)("name",n.name)("aria-label",n.ariaLabel)("aria-labelledby",n._getAriaLabelledBy())("aria-describedby",n.ariaDescribedby)("aria-required",n.required||null)("aria-checked",n.checked),m(8),u("matRippleTrigger",o)("matRippleDisabled",n.disableRipple||n.disabled)("matRippleCentered",!0),m(),B(n.hideIcon?-1:10),m(),u("for",n.buttonId),T("id",n._labelId)}},dependencies:[mt,Ha],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 .mat-internal-form-field{color:var(--mat-switch-label-text-color);font-family:var(--mat-switch-label-text-font);line-height:var(--mat-switch-label-text-line-height);font-size:var(--mat-switch-label-text-size);letter-spacing:var(--mat-switch-label-text-tracking);font-weight:var(--mat-switch-label-text-weight)}.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);border-color:var(--mat-switch-selected-track-outline-color)}.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 a=i;return a})();var ld=(()=>{let i=class i{};i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=N({type:i}),i.\u0275inj=L({imports:[dd,V,V]});let a=i;return a})();var ap=["mat-sort-header",""],op=["*"];function rp(a,i){if(a&1){let r=F();c(0,"div",2),_("@arrowPosition.start",function(){C(r);let e=f();return k(e._disableViewStateAnimation=!0)})("@arrowPosition.done",function(){C(r);let e=f();return k(e._disableViewStateAnimation=!1)}),x(1,"div",3),c(2,"div",4),x(3,"div",5)(4,"div",6)(5,"div",7),d()()}if(a&2){let r=f();u("@arrowOpacity",r._getArrowViewState())("@arrowPosition",r._getArrowViewState())("@allowChildren",r._getArrowDirectionState()),m(2),u("@indicator",r._getArrowDirectionState()),m(),u("@leftPointer",r._getArrowDirectionState()),m(),u("@rightPointer",r._getArrowDirectionState())}}var md=new H("MAT_SORT_DEFAULT_OPTIONS"),sp=(()=>{let i=class i{get direction(){return this._direction}set direction(t){this._direction=t}constructor(t){this._defaultOptions=t,this._initializedStream=new ua(1),this.sortables=new Map,this._stateChanges=new E,this.start="asc",this._direction="",this.disabled=!1,this.sortChange=new O,this.initialized=this._initializedStream}register(t){this.sortables.set(t.id,t)}deregister(t){this.sortables.delete(t.id)}sort(t){this.active!=t.id?(this.active=t.id,this.direction=t.start?t.start:this.start):this.direction=this.getNextSortDirection(t),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(t){if(!t)return"";let e=t?.disableClear??this.disableClear??!!this._defaultOptions?.disableClear,n=cp(t.start||this.start,e),o=n.indexOf(this.direction)+1;return o>=n.length&&(o=0),n[o]}ngOnInit(){this._initializedStream.next()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete(),this._initializedStream.complete()}};i.\u0275fac=function(e){return new(e||i)(l(md,8))},i.\u0275dir=I({type:i,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{active:[0,"matSortActive","active"],start:[0,"matSortStart","start"],direction:[0,"matSortDirection","direction"],disableClear:[2,"matSortDisableClear","disableClear",M],disabled:[2,"matSortDisabled","disabled",M]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],standalone:!0,features:[Q,At]});let a=i;return a})();function cp(a,i){let r=["asc","desc"];return a=="desc"&&r.reverse(),i||r.push(""),r}var Gi=Gn.ENTERING+" "+$n.STANDARD_CURVE,Mn={indicator:jt("indicator",[pt("active-asc, asc",Y({transform:"translateY(0px)"})),pt("active-desc, desc",Y({transform:"translateY(10px)"})),_t("active-asc <=> active-desc",ft(Gi))]),leftPointer:jt("leftPointer",[pt("active-asc, asc",Y({transform:"rotate(-45deg)"})),pt("active-desc, desc",Y({transform:"rotate(45deg)"})),_t("active-asc <=> active-desc",ft(Gi))]),rightPointer:jt("rightPointer",[pt("active-asc, asc",Y({transform:"rotate(45deg)"})),pt("active-desc, desc",Y({transform:"rotate(-45deg)"})),_t("active-asc <=> active-desc",ft(Gi))]),arrowOpacity:jt("arrowOpacity",[pt("desc-to-active, asc-to-active, active",Y({opacity:1})),pt("desc-to-hint, asc-to-hint, hint",Y({opacity:.54})),pt("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",Y({opacity:0})),_t("* => asc, * => desc, * => active, * => hint, * => void",ft("0ms")),_t("* <=> *",ft(Gi))]),arrowPosition:jt("arrowPosition",[_t("* => desc-to-hint, * => desc-to-active",ft(Gi,Ti([Y({transform:"translateY(-25%)"}),Y({transform:"translateY(0)"})]))),_t("* => hint-to-desc, * => active-to-desc",ft(Gi,Ti([Y({transform:"translateY(0)"}),Y({transform:"translateY(25%)"})]))),_t("* => asc-to-hint, * => asc-to-active",ft(Gi,Ti([Y({transform:"translateY(25%)"}),Y({transform:"translateY(0)"})]))),_t("* => hint-to-asc, * => active-to-asc",ft(Gi,Ti([Y({transform:"translateY(0)"}),Y({transform:"translateY(-25%)"})]))),pt("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",Y({transform:"translateY(0)"})),pt("hint-to-desc, active-to-desc, desc",Y({transform:"translateY(-25%)"})),pt("hint-to-asc, active-to-asc, asc",Y({transform:"translateY(25%)"}))]),allowChildren:jt("allowChildren",[_t("* <=> *",[Ri("@*",Ai(),{optional:!0})])])},go=(()=>{let i=class i{constructor(){this.changes=new E}};i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"});let a=i;return a})();function dp(a){return a||new go}var lp={provide:go,deps:[[new gi,new fi,go]],useFactory:dp},J0=(()=>{let i=class i{get sortActionDescription(){return this._sortActionDescription}set sortActionDescription(t){this._updateSortActionDescription(t)}constructor(t,e,n,o,s,h,g,v){this._intl=t,this._changeDetectorRef=e,this._sort=n,this._columnDef=o,this._focusMonitor=s,this._elementRef=h,this._ariaDescriber=g,this._showIndicatorHint=!1,this._viewState={},this._arrowDirection="",this._disableViewStateAnimation=!1,this.arrowPosition="after",this.disabled=!1,this._sortActionDescription="Sort",v?.arrowPosition&&(this.arrowPosition=v?.arrowPosition),this._handleStateChanges()}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this),this._sortButton=this._elementRef.nativeElement.querySelector(".mat-sort-header-container"),this._updateSortActionDescription(this._sortActionDescription)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{let e=!!t;e!==this._showIndicatorHint&&(this._setIndicatorHintVisible(e),this._changeDetectorRef.markForCheck())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe(),this._sortButton&&this._ariaDescriber?.removeDescription(this._sortButton,this._sortActionDescription)}_setIndicatorHintVisible(t){this._isDisabled()&&t||(this._showIndicatorHint=t,this._isSorted()||(this._updateArrowDirection(),this._showIndicatorHint?this._setAnimationTransitionState({fromState:this._arrowDirection,toState:"hint"}):this._setAnimationTransitionState({fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(t){this._viewState=t||{},this._disableViewStateAnimation&&(this._viewState={toState:t.toState})}_toggleOnInteraction(){this._sort.sort(this),(this._viewState.toState==="hint"||this._viewState.toState==="active")&&(this._disableViewStateAnimation=!0)}_handleClick(){this._isDisabled()||this._sort.sort(this)}_handleKeydown(t){!this._isDisabled()&&(t.keyCode===32||t.keyCode===13)&&(t.preventDefault(),this._toggleOnInteraction())}_isSorted(){return this._sort.active==this.id&&(this._sort.direction==="asc"||this._sort.direction==="desc")}_getArrowDirectionState(){return`${this._isSorted()?"active-":""}${this._arrowDirection}`}_getArrowViewState(){let t=this._viewState.fromState;return(t?`${t}-to-`:"")+this._viewState.toState}_updateArrowDirection(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start}_isDisabled(){return this._sort.disabled||this.disabled}_getAriaSortAttribute(){return this._isSorted()?this._sort.direction=="asc"?"ascending":"descending":"none"}_renderArrow(){return!this._isDisabled()||this._isSorted()}_updateSortActionDescription(t){this._sortButton&&(this._ariaDescriber?.removeDescription(this._sortButton,this._sortActionDescription),this._ariaDescriber?.describe(this._sortButton,t)),this._sortActionDescription=t}_handleStateChanges(){this._rerenderSubscription=Dt(this._sort.sortChange,this._sort._stateChanges,this._intl.changes).subscribe(()=>{this._isSorted()&&(this._updateArrowDirection(),(this._viewState.toState==="hint"||this._viewState.toState==="active")&&(this._disableViewStateAnimation=!0),this._setAnimationTransitionState({fromState:this._arrowDirection,toState:"active"}),this._showIndicatorHint=!1),!this._isSorted()&&this._viewState&&this._viewState.toState==="active"&&(this._disableViewStateAnimation=!1,this._setAnimationTransitionState({fromState:"active",toState:this._arrowDirection})),this._changeDetectorRef.markForCheck()})}};i.\u0275fac=function(e){return new(e||i)(l(go),l(q),l(sp,8),l("MAT_SORT_HEADER_COLUMN_DEF",8),l(Ft),l(z),l(Na,8),l(md,8))},i.\u0275cmp=w({type:i,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(e,n){e&1&&_("click",function(){return n._handleClick()})("keydown",function(s){return n._handleKeydown(s)})("mouseenter",function(){return n._setIndicatorHintVisible(!0)})("mouseleave",function(){return n._setIndicatorHintVisible(!1)}),e&2&&(T("aria-sort",n._getAriaSortAttribute()),U("mat-sort-header-disabled",n._isDisabled()))},inputs:{id:[0,"mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",disabled:[2,"disabled","disabled",M],sortActionDescription:"sortActionDescription",disableClear:[2,"disableClear","disableClear",M]},exportAs:["matSortHeader"],standalone:!0,features:[Q,S],attrs:ap,ngContentSelectors:op,decls:4,vars:7,consts:[[1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(e,n){e&1&&(K(),c(0,"div",0)(1,"div",1),j(2),d(),y(3,rp,6,6,"div",2),d()),e&2&&(U("mat-sort-header-sorted",n._isSorted())("mat-sort-header-position-before",n.arrowPosition==="before"),T("tabindex",n._isDisabled()?null:0)("role",n._isDisabled()?null:"button"),m(3),B(n._renderArrow()?3:-1))},styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-container::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;color:var(--mat-sort-arrow-color);opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}.cdk-high-contrast-active .mat-sort-header-stem{width:0;border-left:solid 2px}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}.cdk-high-contrast-active .mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}.cdk-high-contrast-active .mat-sort-header-pointer-left,.cdk-high-contrast-active .mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}"],encapsulation:2,data:{animation:[Mn.indicator,Mn.leftPointer,Mn.rightPointer,Mn.arrowOpacity,Mn.arrowPosition,Mn.allowChildren]},changeDetection:0});let a=i;return a})(),hd=(()=>{let i=class i{};i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=N({type:i}),i.\u0275inj=L({providers:[lp],imports:[V]});let a=i;return a})();var hp=[[["caption"]],[["colgroup"],["col"]],"*"],pp=["caption","colgroup, col","*"];function up(a,i){a&1&&j(0,2)}function gp(a,i){a&1&&(c(0,"thead",0),Et(1,1),d(),c(2,"tbody",0),Et(3,2)(4,3),d(),c(5,"tfoot",0),Et(6,4),d())}function fp(a,i){a&1&&Et(0,1)(1,2)(2,3)(3,4)}var Ye=new H("CDK_TABLE");var wo=(()=>{let i=class i{constructor(t){this.template=t}};i.\u0275fac=function(e){return new(e||i)(l(wt))},i.\u0275dir=I({type:i,selectors:[["","cdkCellDef",""]],standalone:!0});let a=i;return a})(),xo=(()=>{let i=class i{constructor(t){this.template=t}};i.\u0275fac=function(e){return new(e||i)(l(wt))},i.\u0275dir=I({type:i,selectors:[["","cdkHeaderCellDef",""]],standalone:!0});let a=i;return a})(),gd=(()=>{let i=class i{constructor(t){this.template=t}};i.\u0275fac=function(e){return new(e||i)(l(wt))},i.\u0275dir=I({type:i,selectors:[["","cdkFooterCellDef",""]],standalone:!0});let a=i;return a})(),En=(()=>{let i=class i{get name(){return this._name}set name(t){this._setNameInput(t)}get sticky(){return this._sticky}set sticky(t){t!==this._sticky&&(this._sticky=t,this._hasStickyChanged=!0)}get stickyEnd(){return this._stickyEnd}set stickyEnd(t){t!==this._stickyEnd&&(this._stickyEnd=t,this._hasStickyChanged=!0)}constructor(t){this._table=t,this._hasStickyChanged=!1,this._sticky=!1,this._stickyEnd=!1}hasStickyChanged(){let t=this._hasStickyChanged;return this.resetStickyChanged(),t}resetStickyChanged(){this._hasStickyChanged=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(t){t&&(this._name=t,this.cssClassFriendlyName=t.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}};i.\u0275fac=function(e){return new(e||i)(l(Ye,8))},i.\u0275dir=I({type:i,selectors:[["","cdkColumnDef",""]],contentQueries:function(e,n,o){if(e&1&&(J(o,wo,5),J(o,xo,5),J(o,gd,5)),e&2){let s;A(s=R())&&(n.cell=s.first),A(s=R())&&(n.headerCell=s.first),A(s=R())&&(n.footerCell=s.first)}},inputs:{name:[0,"cdkColumnDef","name"],sticky:[2,"sticky","sticky",M],stickyEnd:[2,"stickyEnd","stickyEnd",M]},standalone:!0,features:[X([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:i}]),Q]});let a=i;return a})(),_o=class{constructor(i,r){r.nativeElement.classList.add(...i._columnCssClassName)}},fd=(()=>{let i=class i extends _o{constructor(t,e){super(t,e)}};i.\u0275fac=function(e){return new(e||i)(l(En),l(z))},i.\u0275dir=I({type:i,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],standalone:!0,features:[Z]});let a=i;return a})();var _d=(()=>{let i=class i extends _o{constructor(t,e){super(t,e);let n=t._table?._getCellRole();n&&e.nativeElement.setAttribute("role",n)}};i.\u0275fac=function(e){return new(e||i)(l(En),l(z))},i.\u0275dir=I({type:i,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],standalone:!0,features:[Z]});let a=i;return a})(),bo=class{constructor(){this.tasks=[],this.endTasks=[]}},vo=new H("_COALESCED_STYLE_SCHEDULER"),jr=(()=>{let i=class i{constructor(t){this._currentSchedule=null,this._ngZone=b(ct)}schedule(t){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(t)}scheduleEnd(t){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(t)}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new bo,this._ngZone.runOutsideAngular(()=>queueMicrotask(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){let t=this._currentSchedule;this._currentSchedule=new bo;for(let e of t.tasks)e();for(let e of t.endTasks)e()}this._currentSchedule=null})))}};i.\u0275fac=function(e){return new(e||i)($(ct))},i.\u0275prov=W({token:i,factory:i.\u0275fac});let a=i;return a})();var Br=(()=>{let i=class i{constructor(t,e){this.template=t,this._differs=e}ngOnChanges(t){if(!this._columnsDiffer){let e=t.columns&&t.columns.currentValue||[];this._columnsDiffer=this._differs.find(e).create(),this._columnsDiffer.diff(e)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(t){return this instanceof ea?t.headerCell.template:this instanceof Hr?t.footerCell.template:t.cell.template}};i.\u0275fac=function(e){return new(e||i)(l(wt),l(bi))},i.\u0275dir=I({type:i,features:[At]});let a=i;return a})(),ea=(()=>{let i=class i extends Br{get sticky(){return this._sticky}set sticky(t){t!==this._sticky&&(this._sticky=t,this._hasStickyChanged=!0)}constructor(t,e,n){super(t,e),this._table=n,this._hasStickyChanged=!1,this._sticky=!1}ngOnChanges(t){super.ngOnChanges(t)}hasStickyChanged(){let t=this._hasStickyChanged;return this.resetStickyChanged(),t}resetStickyChanged(){this._hasStickyChanged=!1}};i.\u0275fac=function(e){return new(e||i)(l(wt),l(bi),l(Ye,8))},i.\u0275dir=I({type:i,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[0,"cdkHeaderRowDef","columns"],sticky:[2,"cdkHeaderRowDefSticky","sticky",M]},standalone:!0,features:[Q,Z,At]});let a=i;return a})(),Hr=(()=>{let i=class i extends Br{get sticky(){return this._sticky}set sticky(t){t!==this._sticky&&(this._sticky=t,this._hasStickyChanged=!0)}constructor(t,e,n){super(t,e),this._table=n,this._hasStickyChanged=!1,this._sticky=!1}ngOnChanges(t){super.ngOnChanges(t)}hasStickyChanged(){let t=this._hasStickyChanged;return this.resetStickyChanged(),t}resetStickyChanged(){this._hasStickyChanged=!1}};i.\u0275fac=function(e){return new(e||i)(l(wt),l(bi),l(Ye,8))},i.\u0275dir=I({type:i,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[0,"cdkFooterRowDef","columns"],sticky:[2,"cdkFooterRowDefSticky","sticky",M]},standalone:!0,features:[Q,Z,At]});let a=i;return a})(),Co=(()=>{let i=class i extends Br{constructor(t,e,n){super(t,e),this._table=n}};i.\u0275fac=function(e){return new(e||i)(l(wt),l(bi),l(Ye,8))},i.\u0275dir=I({type:i,selectors:[["","cdkRowDef",""]],inputs:{columns:[0,"cdkRowDefColumns","columns"],when:[0,"cdkRowDefWhen","when"]},standalone:!0,features:[Z]});let a=i;return a})(),on=(()=>{let i=class i{constructor(t){this._viewContainer=t,i.mostRecentCellOutlet=this}ngOnDestroy(){i.mostRecentCellOutlet===this&&(i.mostRecentCellOutlet=null)}};i.mostRecentCellOutlet=null,i.\u0275fac=function(e){return new(e||i)(l(qt))},i.\u0275dir=I({type:i,selectors:[["","cdkCellOutlet",""]],standalone:!0});let a=i;return a})(),Ur=(()=>{let i=class i{};i.\u0275fac=function(e){return new(e||i)},i.\u0275cmp=w({type:i,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],standalone:!0,features:[S],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,n){e&1&&Et(0,0)},dependencies:[on],encapsulation:2});let a=i;return a})();var qr=(()=>{let i=class i{};i.\u0275fac=function(e){return new(e||i)},i.\u0275cmp=w({type:i,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],standalone:!0,features:[S],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,n){e&1&&Et(0,0)},dependencies:[on],encapsulation:2});let a=i;return a})(),ko=(()=>{let i=class i{constructor(t){this.templateRef=t,this._contentClassName="cdk-no-data-row"}};i.\u0275fac=function(e){return new(e||i)(l(wt))},i.\u0275dir=I({type:i,selectors:[["ng-template","cdkNoDataRow",""]],standalone:!0});let a=i;return a})(),pd=["top","bottom","left","right"],Vr=class{constructor(i,r,t,e,n=!0,o=!0,s){this._isNativeHtmlTable=i,this._stickCellCss=r,this.direction=t,this._coalescedStyleScheduler=e,this._isBrowser=n,this._needsPositionStickyOnElement=o,this._positionListener=s,this._cachedCellWidths=[],this._borderCellCss={top:`${r}-border-elem-top`,bottom:`${r}-border-elem-bottom`,left:`${r}-border-elem-left`,right:`${r}-border-elem-right`}}clearStickyPositioning(i,r){let t=[];for(let e of i)if(e.nodeType===e.ELEMENT_NODE){t.push(e);for(let n=0;n<e.children.length;n++)t.push(e.children[n])}this._coalescedStyleScheduler.schedule(()=>{for(let e of t)this._removeStickyStyle(e,r)})}updateStickyColumns(i,r,t,e=!0){if(!i.length||!this._isBrowser||!(r.some(n=>n)||t.some(n=>n))){this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]}));return}this._coalescedStyleScheduler.schedule(()=>{let n=i[0],o=n.children.length,s=this._getCellWidths(n,e),h=this._getStickyStartColumnPositions(s,r),g=this._getStickyEndColumnPositions(s,t),v=r.lastIndexOf(!0),D=t.indexOf(!0),G=this.direction==="rtl",lt=G?"right":"left",kt=G?"left":"right";for(let Ie of i)for(let It=0;It<o;It++){let Ze=Ie.children[It];r[It]&&this._addStickyStyle(Ze,lt,h[It],It===v),t[It]&&this._addStickyStyle(Ze,kt,g[It],It===D)}this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:v===-1?[]:s.slice(0,v+1).map((Ie,It)=>r[It]?Ie:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:D===-1?[]:s.slice(D).map((Ie,It)=>t[It+D]?Ie:null).reverse()}))})}stickRows(i,r,t){this._isBrowser&&this._coalescedStyleScheduler.schedule(()=>{let e=t==="bottom"?i.slice().reverse():i,n=t==="bottom"?r.slice().reverse():r,o=[],s=[],h=[];for(let v=0,D=0;v<e.length;v++){if(!n[v])continue;o[v]=D;let G=e[v];h[v]=this._isNativeHtmlTable?Array.from(G.children):[G];let lt=G.getBoundingClientRect().height;D+=lt,s[v]=lt}let g=n.lastIndexOf(!0);for(let v=0;v<e.length;v++){if(!n[v])continue;let D=o[v],G=v===g;for(let lt of h[v])this._addStickyStyle(lt,t,D,G)}t==="top"?this._positionListener?.stickyHeaderRowsUpdated({sizes:s,offsets:o,elements:h}):this._positionListener?.stickyFooterRowsUpdated({sizes:s,offsets:o,elements:h})})}updateStickyFooterContainer(i,r){this._isNativeHtmlTable&&this._coalescedStyleScheduler.schedule(()=>{let t=i.querySelector("tfoot");t&&(r.some(e=>!e)?this._removeStickyStyle(t,["bottom"]):this._addStickyStyle(t,"bottom",0,!1))})}_removeStickyStyle(i,r){for(let e of r)i.style[e]="",i.classList.remove(this._borderCellCss[e]);pd.some(e=>r.indexOf(e)===-1&&i.style[e])?i.style.zIndex=this._getCalculatedZIndex(i):(i.style.zIndex="",this._needsPositionStickyOnElement&&(i.style.position=""),i.classList.remove(this._stickCellCss))}_addStickyStyle(i,r,t,e){i.classList.add(this._stickCellCss),e&&i.classList.add(this._borderCellCss[r]),i.style[r]=`${t}px`,i.style.zIndex=this._getCalculatedZIndex(i),this._needsPositionStickyOnElement&&(i.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(i){let r={top:100,bottom:10,left:1,right:1},t=0;for(let e of pd)i.style[e]&&(t+=r[e]);return t?`${t}`:""}_getCellWidths(i,r=!0){if(!r&&this._cachedCellWidths.length)return this._cachedCellWidths;let t=[],e=i.children;for(let n=0;n<e.length;n++){let o=e[n];t.push(o.getBoundingClientRect().width)}return this._cachedCellWidths=t,t}_getStickyStartColumnPositions(i,r){let t=[],e=0;for(let n=0;n<i.length;n++)r[n]&&(t[n]=e,e+=i[n]);return t}_getStickyEndColumnPositions(i,r){let t=[],e=0;for(let n=i.length;n>0;n--)r[n]&&(t[n]=e,e+=i[n]);return t}};var yo=new H("CDK_SPL");var $r=(()=>{let i=class i{constructor(t,e){this.viewContainer=t,this.elementRef=e;let n=b(Ye);n._rowOutlet=this,n._outletAssigned()}};i.\u0275fac=function(e){return new(e||i)(l(qt),l(z))},i.\u0275dir=I({type:i,selectors:[["","rowOutlet",""]],standalone:!0});let a=i;return a})(),Gr=(()=>{let i=class i{constructor(t,e){this.viewContainer=t,this.elementRef=e;let n=b(Ye);n._headerRowOutlet=this,n._outletAssigned()}};i.\u0275fac=function(e){return new(e||i)(l(qt),l(z))},i.\u0275dir=I({type:i,selectors:[["","headerRowOutlet",""]],standalone:!0});let a=i;return a})(),Wr=(()=>{let i=class i{constructor(t,e){this.viewContainer=t,this.elementRef=e;let n=b(Ye);n._footerRowOutlet=this,n._outletAssigned()}};i.\u0275fac=function(e){return new(e||i)(l(qt),l(z))},i.\u0275dir=I({type:i,selectors:[["","footerRowOutlet",""]],standalone:!0});let a=i;return a})(),Qr=(()=>{let i=class i{constructor(t,e){this.viewContainer=t,this.elementRef=e;let n=b(Ye);n._noDataRowOutlet=this,n._outletAssigned()}};i.\u0275fac=function(e){return new(e||i)(l(qt),l(z))},i.\u0275dir=I({type:i,selectors:[["","noDataRowOutlet",""]],standalone:!0});let a=i;return a})();var Yr=(()=>{let i=class i{_getCellRole(){if(this._cellRoleInternal===void 0){let t=this._elementRef.nativeElement.getAttribute("role"),e=t==="grid"||t==="treegrid"?"gridcell":"cell";this._cellRoleInternal=this._isNativeHtmlTable&&e==="cell"?null:e}return this._cellRoleInternal}get trackBy(){return this._trackByFn}set trackBy(t){this._trackByFn=t}get dataSource(){return this._dataSource}set dataSource(t){this._dataSource!==t&&this._switchDataSource(t)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(t){this._multiTemplateDataRows=t,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(t){this._fixedLayout=t,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}constructor(t,e,n,o,s,h,g,v,D,G,lt,kt){this._differs=t,this._changeDetectorRef=e,this._elementRef=n,this._dir=s,this._platform=g,this._viewRepeater=v,this._coalescedStyleScheduler=D,this._viewportRuler=G,this._stickyPositioningListener=lt,this._onDestroy=new E,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._hasAllOutlets=!1,this._hasInitialized=!1,this._cellRoleInternal=void 0,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new O,this.viewChange=new Kt({start:0,end:Number.MAX_VALUE}),this._injector=b(yt),o||n.nativeElement.setAttribute("role","table"),this._document=h,this._isServer=!g.isBrowser,this._isNativeHtmlTable=n.nativeElement.nodeName==="TABLE"}ngOnInit(){this._setupStickyStyler(),this._dataDiffer=this._differs.find([]).create((t,e)=>this.trackBy?this.trackBy(e.dataIndex,e.data):e),this._viewportRuler.change().pipe(st(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentInit(){this._hasInitialized=!0}ngAfterContentChecked(){this._canRender()&&this._render()}ngOnDestroy(){[this._rowOutlet?.viewContainer,this._headerRowOutlet?.viewContainer,this._footerRowOutlet?.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(t=>{t?.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),wn(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();let t=this._dataDiffer.diff(this._renderRows);if(!t){this._updateNoDataRow(),this.contentChanged.next();return}let e=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(t,e,(n,o,s)=>this._getEmbeddedViewArgs(n.item,s),n=>n.item.data,n=>{n.operation===xc.INSERTED&&n.context&&this._renderCellTemplateForItem(n.record.item.rowDef,n.context)}),this._updateRowIndexContext(),t.forEachIdentityChange(n=>{let o=e.get(n.currentIndex);o.context.$implicit=n.item.data}),this._updateNoDataRow(),ae(()=>{this.updateStickyColumnStyles()},{injector:this._injector}),this.contentChanged.next()}addColumnDef(t){this._customColumnDefs.add(t)}removeColumnDef(t){this._customColumnDefs.delete(t)}addRowDef(t){this._customRowDefs.add(t)}removeRowDef(t){this._customRowDefs.delete(t)}addHeaderRowDef(t){this._customHeaderRowDefs.add(t),this._headerRowDefChanged=!0}removeHeaderRowDef(t){this._customHeaderRowDefs.delete(t),this._headerRowDefChanged=!0}addFooterRowDef(t){this._customFooterRowDefs.add(t),this._footerRowDefChanged=!0}removeFooterRowDef(t){this._customFooterRowDefs.delete(t),this._footerRowDefChanged=!0}setNoDataRow(t){this._customNoDataRow=t}updateStickyHeaderRowStyles(){let t=this._getRenderedRows(this._headerRowOutlet);if(this._isNativeHtmlTable){let n=ud(this._headerRowOutlet,"thead");n&&(n.style.display=t.length?"":"none")}let e=this._headerRowDefs.map(n=>n.sticky);this._stickyStyler.clearStickyPositioning(t,["top"]),this._stickyStyler.stickRows(t,e,"top"),this._headerRowDefs.forEach(n=>n.resetStickyChanged())}updateStickyFooterRowStyles(){let t=this._getRenderedRows(this._footerRowOutlet);if(this._isNativeHtmlTable){let n=ud(this._footerRowOutlet,"tfoot");n&&(n.style.display=t.length?"":"none")}let e=this._footerRowDefs.map(n=>n.sticky);this._stickyStyler.clearStickyPositioning(t,["bottom"]),this._stickyStyler.stickRows(t,e,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,e),this._footerRowDefs.forEach(n=>n.resetStickyChanged())}updateStickyColumnStyles(){let t=this._getRenderedRows(this._headerRowOutlet),e=this._getRenderedRows(this._rowOutlet),n=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...t,...e,...n],["left","right"]),this._stickyColumnStylesNeedReset=!1),t.forEach((o,s)=>{this._addStickyColumnStyles([o],this._headerRowDefs[s])}),this._rowDefs.forEach(o=>{let s=[];for(let h=0;h<e.length;h++)this._renderRows[h].rowDef===o&&s.push(e[h]);this._addStickyColumnStyles(s,o)}),n.forEach((o,s)=>{this._addStickyColumnStyles([o],this._footerRowDefs[s])}),Array.from(this._columnDefsByName.values()).forEach(o=>o.resetStickyChanged())}_outletAssigned(){!this._hasAllOutlets&&this._rowOutlet&&this._headerRowOutlet&&this._footerRowOutlet&&this._noDataRowOutlet&&(this._hasAllOutlets=!0,this._canRender()&&this._render())}_canRender(){return this._hasAllOutlets&&this._hasInitialized}_render(){this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&this._rowDefs.length;let e=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||e,this._forceRecalculateCellWidths=e,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}_getAllRenderRows(){let t=[],e=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let n=0;n<this._data.length;n++){let o=this._data[n],s=this._getRenderRowsForData(o,n,e.get(o));this._cachedRenderRowsMap.has(o)||this._cachedRenderRowsMap.set(o,new WeakMap);for(let h=0;h<s.length;h++){let g=s[h],v=this._cachedRenderRowsMap.get(g.data);v.has(g.rowDef)?v.get(g.rowDef).push(g):v.set(g.rowDef,[g]),t.push(g)}}return t}_getRenderRowsForData(t,e,n){return this._getRowDefs(t,e).map(s=>{let h=n&&n.has(s)?n.get(s):[];if(h.length){let g=h.shift();return g.dataIndex=e,g}else return{data:t,rowDef:s,dataIndex:e}})}_cacheColumnDefs(){this._columnDefsByName.clear(),fo(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(e=>{this._columnDefsByName.has(e.name),this._columnDefsByName.set(e.name,e)})}_cacheRowDefs(){this._headerRowDefs=fo(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=fo(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=fo(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);let t=this._rowDefs.filter(e=>!e.when);!this.multiTemplateDataRows&&t.length>1,this._defaultRowDef=t[0]}_renderUpdatedColumns(){let t=(s,h)=>s||!!h.getColumnsDiff(),e=this._rowDefs.reduce(t,!1);e&&this._forceRenderDataRows();let n=this._headerRowDefs.reduce(t,!1);n&&this._forceRenderHeaderRows();let o=this._footerRowDefs.reduce(t,!1);return o&&this._forceRenderFooterRows(),e||n||o}_switchDataSource(t){this._data=[],wn(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),t||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet&&this._rowOutlet.viewContainer.clear()),this._dataSource=t}_observeRenderChanges(){if(!this.dataSource)return;let t;wn(this.dataSource)?t=this.dataSource.connect(this):ga(this.dataSource)?t=this.dataSource:Array.isArray(this.dataSource)&&(t=at(this.dataSource)),this._renderChangeSubscription=t.pipe(st(this._onDestroy)).subscribe(e=>{this._data=e||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((t,e)=>this._renderRow(this._headerRowOutlet,t,e)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((t,e)=>this._renderRow(this._footerRowOutlet,t,e)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(t,e){let n=Array.from(e.columns||[]).map(h=>{let g=this._columnDefsByName.get(h);return g}),o=n.map(h=>h.sticky),s=n.map(h=>h.stickyEnd);this._stickyStyler.updateStickyColumns(t,o,s,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(t){let e=[];for(let n=0;n<t.viewContainer.length;n++){let o=t.viewContainer.get(n);e.push(o.rootNodes[0])}return e}_getRowDefs(t,e){if(this._rowDefs.length==1)return[this._rowDefs[0]];let n=[];if(this.multiTemplateDataRows)n=this._rowDefs.filter(o=>!o.when||o.when(e,t));else{let o=this._rowDefs.find(s=>s.when&&s.when(e,t))||this._defaultRowDef;o&&n.push(o)}return n.length,n}_getEmbeddedViewArgs(t,e){let n=t.rowDef,o={$implicit:t.data};return{templateRef:n.template,context:o,index:e}}_renderRow(t,e,n,o={}){let s=t.viewContainer.createEmbeddedView(e.template,o,n);return this._renderCellTemplateForItem(e,o),s}_renderCellTemplateForItem(t,e){for(let n of this._getCellTemplates(t))on.mostRecentCellOutlet&&on.mostRecentCellOutlet._viewContainer.createEmbeddedView(n,e);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){let t=this._rowOutlet.viewContainer;for(let e=0,n=t.length;e<n;e++){let s=t.get(e).context;s.count=n,s.first=e===0,s.last=e===n-1,s.even=e%2===0,s.odd=!s.even,this.multiTemplateDataRows?(s.dataIndex=this._renderRows[e].dataIndex,s.renderIndex=e):s.index=this._renderRows[e].dataIndex}}_getCellTemplates(t){return!t||!t.columns?[]:Array.from(t.columns,e=>{let n=this._columnDefsByName.get(e);return t.extractCellTemplate(n)})}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){let t=(e,n)=>e||n.hasStickyChanged();this._headerRowDefs.reduce(t,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(t,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(t,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){let t=this._dir?this._dir.value:"ltr";this._stickyStyler=new Vr(this._isNativeHtmlTable,this.stickyCssClass,t,this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:at()).pipe(st(this._onDestroy)).subscribe(e=>{this._stickyStyler.direction=e,this.updateStickyColumnStyles()})}_getOwnDefs(t){return t.filter(e=>!e._table||e._table===this)}_updateNoDataRow(){let t=this._customNoDataRow||this._noDataRow;if(!t)return;let e=this._rowOutlet.viewContainer.length===0;if(e===this._isShowingNoDataRow)return;let n=this._noDataRowOutlet.viewContainer;if(e){let o=n.createEmbeddedView(t.templateRef),s=o.rootNodes[0];o.rootNodes.length===1&&s?.nodeType===this._document.ELEMENT_NODE&&(s.setAttribute("role","row"),s.classList.add(t._contentClassName))}else n.clear();this._isShowingNoDataRow=e,this._changeDetectorRef.markForCheck()}};i.\u0275fac=function(e){return new(e||i)(l(bi),l(q),l(z),Qt("role"),l(Nt,8),l(St),l(ce),l(Qn),l(vo),l(Cn),l(yo,12),l(ct,8))},i.\u0275cmp=w({type:i,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(e,n,o){if(e&1&&(J(o,ko,5),J(o,En,5),J(o,Co,5),J(o,ea,5),J(o,Hr,5)),e&2){let s;A(s=R())&&(n._noDataRow=s.first),A(s=R())&&(n._contentColumnDefs=s),A(s=R())&&(n._contentRowDefs=s),A(s=R())&&(n._contentHeaderRowDefs=s),A(s=R())&&(n._contentFooterRowDefs=s)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(e,n){e&2&&U("cdk-table-fixed-layout",n.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:[2,"multiTemplateDataRows","multiTemplateDataRows",M],fixedLayout:[2,"fixedLayout","fixedLayout",M]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],standalone:!0,features:[X([{provide:Ye,useExisting:i},{provide:Qn,useClass:qa},{provide:vo,useClass:jr},{provide:yo,useValue:null}]),Q,S],ngContentSelectors:pp,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(e,n){e&1&&(K(hp),j(0),j(1,1),y(2,up,1,0)(3,gp,7,0)(4,fp,4,0)),e&2&&(m(2),B(n._isServer?2:-1),m(),B(n._isNativeHtmlTable?3:4))},dependencies:[Gr,$r,Qr,Wr],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2});let a=i;return a})();function fo(a,i){return a.concat(Array.from(i))}function ud(a,i){let r=i.toUpperCase(),t=a.viewContainer.element.nativeElement;for(;t;){let e=t.nodeType===1?t.nodeName:null;if(e===r)return t;if(e==="TABLE")break;t=t.parentNode}return null}var Do=(()=>{let i=class i{};i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=N({type:i}),i.\u0275inj=L({imports:[$a]});let a=i;return a})();var _p=[[["caption"]],[["colgroup"],["col"]],"*"],bp=["caption","colgroup, col","*"];function vp(a,i){a&1&&j(0,2)}function yp(a,i){a&1&&(c(0,"thead",0),Et(1,1),d(),c(2,"tbody",2),Et(3,3)(4,4),d(),c(5,"tfoot",0),Et(6,5),d())}function wp(a,i){a&1&&Et(0,1)(1,3)(2,4)(3,5)}var jy=(()=>{let i=class i extends Yr{constructor(){super(...arguments),this.stickyCssClass="mat-mdc-table-sticky",this.needsPositionStickyOnElement=!1}};i.\u0275fac=(()=>{let t;return function(n){return(t||(t=Ot(i)))(n||i)}})(),i.\u0275cmp=w({type:i,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(e,n){e&2&&U("mdc-table-fixed-layout",n.fixedLayout)},exportAs:["matTable"],standalone:!0,features:[X([{provide:Yr,useExisting:i},{provide:Ye,useExisting:i},{provide:vo,useClass:jr},{provide:Qn,useClass:qa},{provide:yo,useValue:null}]),Z,S],ngContentSelectors:bp,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["role","rowgroup",1,"mdc-data-table__content"],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(e,n){e&1&&(K(_p),j(0),j(1,1),y(2,vp,1,0)(3,yp,7,0)(4,wp,4,0)),e&2&&(m(2),B(n._isServer?2:-1),m(),B(n._isNativeHtmlTable?3:4))},dependencies:[Gr,$r,Qr,Wr],styles:[".mat-mdc-table-sticky{position:sticky !important}mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}.mat-mdc-table{min-width:100%;border:0;border-spacing:0;table-layout:auto;white-space:normal;background-color:var(--mat-table-background-color)}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell{text-align:right}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px}.mat-mdc-header-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-header-container-height, 56px);color:var(--mat-table-header-headline-color, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-header-headline-font, Roboto, sans-serif);line-height:var(--mat-table-header-headline-line-height);font-size:var(--mat-table-header-headline-size, 14px);font-weight:var(--mat-table-header-headline-weight, 500)}.mat-mdc-row{height:var(--mat-table-row-item-container-height, 52px);color:var(--mat-table-row-item-label-text-color, rgba(0, 0, 0, 0.87))}.mat-mdc-row,.mdc-data-table__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-table-row-item-label-text-font, Roboto, sans-serif);line-height:var(--mat-table-row-item-label-text-line-height);font-size:var(--mat-table-row-item-label-text-size, 14px);font-weight:var(--mat-table-row-item-label-text-weight)}.mat-mdc-footer-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-footer-container-height, 52px);color:var(--mat-table-row-item-label-text-color, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-footer-supporting-text-font, Roboto, sans-serif);line-height:var(--mat-table-footer-supporting-text-line-height);font-size:var(--mat-table-footer-supporting-text-size, 14px);font-weight:var(--mat-table-footer-supporting-text-weight);letter-spacing:var(--mat-table-footer-supporting-text-tracking)}.mat-mdc-header-cell{border-bottom-color:var(--mat-table-row-item-outline-color, rgba(0, 0, 0, 0.12));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-header-headline-tracking);font-weight:inherit;line-height:inherit;box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mat-mdc-header-cell{text-align:right}.mat-mdc-cell{border-bottom-color:var(--mat-table-row-item-outline-color, rgba(0, 0, 0, 0.12));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-row-item-label-text-tracking);line-height:inherit}.mdc-data-table__row:last-child .mat-mdc-cell{border-bottom:none}.mat-mdc-footer-cell{letter-spacing:var(--mat-table-row-item-label-text-tracking)}mat-row.mat-mdc-row,mat-header-row.mat-mdc-header-row,mat-footer-row.mat-mdc-footer-row{border-bottom:none}.mat-mdc-table tbody,.mat-mdc-table tfoot,.mat-mdc-table thead,.mat-mdc-cell,.mat-mdc-footer-cell,.mat-mdc-header-row,.mat-mdc-row,.mat-mdc-footer-row,.mat-mdc-table .mat-mdc-header-cell{background:inherit}.mat-mdc-table mat-header-row.mat-mdc-header-row,.mat-mdc-table mat-row.mat-mdc-row,.mat-mdc-table mat-footer-row.mat-mdc-footer-cell{height:unset}mat-header-cell.mat-mdc-header-cell,mat-cell.mat-mdc-cell,mat-footer-cell.mat-mdc-footer-cell{align-self:stretch}"],encapsulation:2});let a=i;return a})(),By=(()=>{let i=class i extends wo{};i.\u0275fac=(()=>{let t;return function(n){return(t||(t=Ot(i)))(n||i)}})(),i.\u0275dir=I({type:i,selectors:[["","matCellDef",""]],standalone:!0,features:[X([{provide:wo,useExisting:i}]),Z]});let a=i;return a})(),Hy=(()=>{let i=class i extends xo{};i.\u0275fac=(()=>{let t;return function(n){return(t||(t=Ot(i)))(n||i)}})(),i.\u0275dir=I({type:i,selectors:[["","matHeaderCellDef",""]],standalone:!0,features:[X([{provide:xo,useExisting:i}]),Z]});let a=i;return a})();var Uy=(()=>{let i=class i extends En{get name(){return this._name}set name(t){this._setNameInput(t)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}};i.\u0275fac=(()=>{let t;return function(n){return(t||(t=Ot(i)))(n||i)}})(),i.\u0275dir=I({type:i,selectors:[["","matColumnDef",""]],inputs:{name:[0,"matColumnDef","name"]},standalone:!0,features:[X([{provide:En,useExisting:i},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:i}]),Z]});let a=i;return a})(),qy=(()=>{let i=class i extends fd{};i.\u0275fac=(()=>{let t;return function(n){return(t||(t=Ot(i)))(n||i)}})(),i.\u0275dir=I({type:i,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],standalone:!0,features:[Z]});let a=i;return a})();var $y=(()=>{let i=class i extends _d{};i.\u0275fac=(()=>{let t;return function(n){return(t||(t=Ot(i)))(n||i)}})(),i.\u0275dir=I({type:i,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],standalone:!0,features:[Z]});let a=i;return a})();var Gy=(()=>{let i=class i extends ea{};i.\u0275fac=(()=>{let t;return function(n){return(t||(t=Ot(i)))(n||i)}})(),i.\u0275dir=I({type:i,selectors:[["","matHeaderRowDef",""]],inputs:{columns:[0,"matHeaderRowDef","columns"],sticky:[2,"matHeaderRowDefSticky","sticky",M]},standalone:!0,features:[X([{provide:ea,useExisting:i}]),Q,Z]});let a=i;return a})();var Wy=(()=>{let i=class i extends Co{};i.\u0275fac=(()=>{let t;return function(n){return(t||(t=Ot(i)))(n||i)}})(),i.\u0275dir=I({type:i,selectors:[["","matRowDef",""]],inputs:{columns:[0,"matRowDefColumns","columns"],when:[0,"matRowDefWhen","when"]},standalone:!0,features:[X([{provide:Co,useExisting:i}]),Z]});let a=i;return a})(),Qy=(()=>{let i=class i extends Ur{};i.\u0275fac=(()=>{let t;return function(n){return(t||(t=Ot(i)))(n||i)}})(),i.\u0275cmp=w({type:i,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],standalone:!0,features:[X([{provide:Ur,useExisting:i}]),Z,S],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,n){e&1&&Et(0,0)},dependencies:[on],encapsulation:2});let a=i;return a})();var Yy=(()=>{let i=class i extends qr{};i.\u0275fac=(()=>{let t;return function(n){return(t||(t=Ot(i)))(n||i)}})(),i.\u0275cmp=w({type:i,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],standalone:!0,features:[X([{provide:qr,useExisting:i}]),Z,S],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,n){e&1&&Et(0,0)},dependencies:[on],encapsulation:2});let a=i;return a})(),Zy=(()=>{let i=class i extends ko{constructor(){super(...arguments),this._contentClassName="mat-mdc-no-data-row"}};i.\u0275fac=(()=>{let t;return function(n){return(t||(t=Ot(i)))(n||i)}})(),i.\u0275dir=I({type:i,selectors:[["ng-template","matNoDataRow",""]],standalone:!0,features:[X([{provide:ko,useExisting:i}]),Z]});let a=i;return a})();var vd=(()=>{let i=class i{};i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=N({type:i}),i.\u0275inj=L({imports:[V,Do,V]});let a=i;return a})(),xp=9007199254740991,bd=class extends Ua{get data(){return this._data.value}set data(i){i=Array.isArray(i)?i:[],this._data.next(i),this._renderChangesSubscription||this._filterData(i)}get filter(){return this._filter.value}set filter(i){this._filter.next(i),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(i){this._sort=i,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(i){this._paginator=i,this._updateChangeSubscription()}constructor(i=[]){super(),this._renderData=new Kt([]),this._filter=new Kt(""),this._internalPageChanges=new E,this._renderChangesSubscription=null,this.sortingDataAccessor=(r,t)=>{let e=r[t];if(sc(e)){let n=Number(e);return n<xp?n:e}return e},this.sortData=(r,t)=>{let e=t.active,n=t.direction;return!e||n==""?r:r.sort((o,s)=>{let h=this.sortingDataAccessor(o,e),g=this.sortingDataAccessor(s,e),v=typeof h,D=typeof g;v!==D&&(v==="number"&&(h+=""),D==="number"&&(g+=""));let G=0;return h!=null&&g!=null?h>g?G=1:h<g&&(G=-1):h!=null?G=1:g!=null&&(G=-1),G*(n=="asc"?1:-1)})},this.filterPredicate=(r,t)=>{let e=Object.keys(r).reduce((o,s)=>o+r[s]+"\u25EC","").toLowerCase(),n=t.trim().toLowerCase();return e.indexOf(n)!=-1},this._data=new Kt(i),this._updateChangeSubscription()}_updateChangeSubscription(){let i=this._sort?Dt(this._sort.sortChange,this._sort.initialized):at(null),r=this._paginator?Dt(this._paginator.page,this._internalPageChanges,this._paginator.initialized):at(null),t=this._data,e=fa([t,this._filter]).pipe(ut(([s])=>this._filterData(s))),n=fa([e,i]).pipe(ut(([s])=>this._orderData(s))),o=fa([n,r]).pipe(ut(([s])=>this._pageData(s)));this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=o.subscribe(s=>this._renderData.next(s))}_filterData(i){return this.filteredData=this.filter==null||this.filter===""?i:i.filter(r=>this.filterPredicate(r,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(i){return this.sort?this.sortData(i.slice(),this.sort):i}_pageData(i){if(!this.paginator)return i;let r=this.paginator.pageIndex*this.paginator.pageSize;return i.slice(r,r+this.paginator.pageSize)}_updatePaginator(i){Promise.resolve().then(()=>{let r=this.paginator;if(r&&(r.length=i,r.pageIndex>0)){let t=Math.ceil(r.length/r.pageSize)-1||0,e=Math.min(r.pageIndex,t);e!==r.pageIndex&&(r.pageIndex=e,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=null}};var Zr=class{constructor(){this.expansionModel=new zi(!0)}toggle(i){this.expansionModel.toggle(this._trackByValue(i))}expand(i){this.expansionModel.select(this._trackByValue(i))}collapse(i){this.expansionModel.deselect(this._trackByValue(i))}isExpanded(i){return this.expansionModel.isSelected(this._trackByValue(i))}toggleDescendants(i){this.expansionModel.isSelected(this._trackByValue(i))?this.collapseDescendants(i):this.expandDescendants(i)}collapseAll(){this.expansionModel.clear()}expandDescendants(i){let r=[i];r.push(...this.getDescendants(i)),this.expansionModel.select(...r.map(t=>this._trackByValue(t)))}collapseDescendants(i){let r=[i];r.push(...this.getDescendants(i)),this.expansionModel.deselect(...r.map(t=>this._trackByValue(t)))}_trackByValue(i){return this.trackBy?this.trackBy(i):i}},Tn=class extends Zr{constructor(i,r,t){super(),this.getLevel=i,this.isExpandable=r,this.options=t,this.options&&(this.trackBy=this.options.trackBy)}getDescendants(i){let r=this.dataNodes.indexOf(i),t=[];for(let e=r+1;e<this.dataNodes.length&&this.getLevel(i)<this.getLevel(this.dataNodes[e]);e++)t.push(this.dataNodes[e]);return t}expandAll(){this.expansionModel.select(...this.dataNodes.map(i=>this._trackByValue(i)))}};var Xr=new H("CDK_TREE_NODE_OUTLET_NODE"),So=(()=>{let i=class i{constructor(t,e){this.viewContainer=t,this._node=e}};i.\u0275fac=function(e){return new(e||i)(l(qt),l(Xr,8))},i.\u0275dir=I({type:i,selectors:[["","cdkTreeNodeOutlet",""]],standalone:!0});let a=i;return a})(),Kr=class{constructor(i){this.$implicit=i}},Io=(()=>{let i=class i{constructor(t){this.template=t}};i.\u0275fac=function(e){return new(e||i)(l(wt))},i.\u0275dir=I({type:i,selectors:[["","cdkTreeNodeDef",""]],inputs:{when:[0,"cdkTreeNodeDefWhen","when"]},standalone:!0});let a=i;return a})();var Wi=(()=>{let i=class i{get dataSource(){return this._dataSource}set dataSource(t){this._dataSource!==t&&this._switchDataSource(t)}constructor(t,e){this._differs=t,this._changeDetectorRef=e,this._onDestroy=new E,this._levels=new Map,this.viewChange=new Kt({start:0,end:Number.MAX_VALUE})}ngOnInit(){this._dataDiffer=this._differs.find([]).create(this.trackBy),this.treeControl}ngOnDestroy(){this._nodeOutlet.viewContainer.clear(),this.viewChange.complete(),this._onDestroy.next(),this._onDestroy.complete(),this._dataSource&&typeof this._dataSource.disconnect=="function"&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null)}ngAfterContentChecked(){let t=this._nodeDefs.filter(e=>!e.when);t.length>1,this._defaultNodeDef=t[0],this.dataSource&&this._nodeDefs&&!this._dataSubscription&&this._observeRenderChanges()}_switchDataSource(t){this._dataSource&&typeof this._dataSource.disconnect=="function"&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null),t||this._nodeOutlet.viewContainer.clear(),this._dataSource=t,this._nodeDefs&&this._observeRenderChanges()}_observeRenderChanges(){let t;wn(this._dataSource)?t=this._dataSource.connect(this):ga(this._dataSource)?t=this._dataSource:Array.isArray(this._dataSource)&&(t=at(this._dataSource)),t&&(this._dataSubscription=t.pipe(st(this._onDestroy)).subscribe(e=>this.renderNodeChanges(e)))}renderNodeChanges(t,e=this._dataDiffer,n=this._nodeOutlet.viewContainer,o){let s=e.diff(t);s&&(s.forEachOperation((h,g,v)=>{if(h.previousIndex==null)this.insertNode(t[v],v,n,o);else if(v==null)n.remove(g),this._levels.delete(h.item);else{let D=n.get(g);n.move(D,v)}}),this._changeDetectorRef.detectChanges())}_getNodeDef(t,e){if(this._nodeDefs.length===1)return this._nodeDefs.first;let n=this._nodeDefs.find(o=>o.when&&o.when(e,t))||this._defaultNodeDef;return n}insertNode(t,e,n,o){let s=this._getNodeDef(t,e),h=new Kr(t);this.treeControl.getLevel?h.level=this.treeControl.getLevel(t):typeof o<"u"&&this._levels.has(o)?h.level=this._levels.get(o)+1:h.level=0,this._levels.set(t,h.level),(n||this._nodeOutlet.viewContainer).createEmbeddedView(s.template,h,e),rn.mostRecentTreeNode&&(rn.mostRecentTreeNode.data=t)}};i.\u0275fac=function(e){return new(e||i)(l(bi),l(q))},i.\u0275cmp=w({type:i,selectors:[["cdk-tree"]],contentQueries:function(e,n,o){if(e&1&&J(o,Io,5),e&2){let s;A(s=R())&&(n._nodeDefs=s)}},viewQuery:function(e,n){if(e&1&&it(So,7),e&2){let o;A(o=R())&&(n._nodeOutlet=o.first)}},hostAttrs:["role","tree",1,"cdk-tree"],inputs:{dataSource:"dataSource",treeControl:"treeControl",trackBy:"trackBy"},exportAs:["cdkTree"],standalone:!0,features:[S],decls:1,vars:0,consts:[["cdkTreeNodeOutlet",""]],template:function(e,n){e&1&&Et(0,0)},dependencies:[So],encapsulation:2});let a=i;return a})(),rn=(()=>{let i=class i{get role(){return"treeitem"}set role(t){this._elementRef.nativeElement.setAttribute("role",t)}get data(){return this._data}set data(t){t!==this._data&&(this._data=t,this._setRoleFromData(),this._dataChanges.next())}get isExpanded(){return this._tree.treeControl.isExpanded(this._data)}get level(){return this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._data):this._parentNodeAriaLevel}constructor(t,e){this._elementRef=t,this._tree=e,this._destroyed=new E,this._dataChanges=new E,this._changeDetectorRef=b(q),i.mostRecentTreeNode=this,this.role="treeitem"}ngOnInit(){this._parentNodeAriaLevel=Cp(this._elementRef.nativeElement),this._elementRef.nativeElement.setAttribute("aria-level",`${this.level+1}`),this._tree.treeControl.expansionModel.changed.pipe(ut(()=>this.isExpanded),va()).subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnDestroy(){i.mostRecentTreeNode===this&&(i.mostRecentTreeNode=null),this._dataChanges.complete(),this._destroyed.next(),this._destroyed.complete()}focus(){this._elementRef.nativeElement.focus()}_setRoleFromData(){!this._tree.treeControl.isExpandable&&this._tree.treeControl.getChildren,this.role="treeitem"}};i.mostRecentTreeNode=null,i.\u0275fac=function(e){return new(e||i)(l(z),l(Wi))},i.\u0275dir=I({type:i,selectors:[["cdk-tree-node"]],hostAttrs:[1,"cdk-tree-node"],hostVars:1,hostBindings:function(e,n){e&2&&T("aria-expanded",n.isExpanded)},inputs:{role:"role"},exportAs:["cdkTreeNode"],standalone:!0});let a=i;return a})();function Cp(a){let i=a.parentElement;for(;i&&!kp(i);)i=i.parentElement;return i?i.classList.contains("cdk-nested-tree-node")?Lt(i.getAttribute("aria-level")):0:-1}function kp(a){let i=a.classList;return!!(i?.contains("cdk-nested-tree-node")||i?.contains("cdk-tree"))}var Dp=/([A-Za-z%]+)$/,Jr=(()=>{let i=class i{get level(){return this._level}set level(t){this._setLevelInput(t)}get indent(){return this._indent}set indent(t){this._setIndentInput(t)}constructor(t,e,n,o){this._treeNode=t,this._tree=e,this._element=n,this._dir=o,this._destroyed=new E,this.indentUnits="px",this._indent=40,this._setPadding(),o&&o.change.pipe(st(this._destroyed)).subscribe(()=>this._setPadding(!0)),t._dataChanges.subscribe(()=>this._setPadding())}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_paddingIndent(){let t=this._treeNode.data&&this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._treeNode.data):null,e=this._level==null?t:this._level;return typeof e=="number"?`${e*this._indent}${this.indentUnits}`:null}_setPadding(t=!1){let e=this._paddingIndent();if(e!==this._currentPadding||t){let n=this._element.nativeElement,o=this._dir&&this._dir.value==="rtl"?"paddingRight":"paddingLeft",s=o==="paddingLeft"?"paddingRight":"paddingLeft";n.style[o]=e||"",n.style[s]="",this._currentPadding=e}}_setLevelInput(t){this._level=isNaN(t)?null:t,this._setPadding()}_setIndentInput(t){let e=t,n="px";if(typeof t=="string"){let o=t.split(Dp);e=o[0],n=o[1]||n}this.indentUnits=n,this._indent=Lt(e),this._setPadding()}};i.\u0275fac=function(e){return new(e||i)(l(rn),l(Wi),l(z),l(Nt,8))},i.\u0275dir=I({type:i,selectors:[["","cdkTreeNodePadding",""]],inputs:{level:[2,"cdkTreeNodePadding","level",Lt],indent:[0,"cdkTreeNodePaddingIndent","indent"]},standalone:!0,features:[Q]});let a=i;return a})(),ts=(()=>{let i=class i{constructor(t,e){this._tree=t,this._treeNode=e,this.recursive=!1}_toggle(t){this.recursive?this._tree.treeControl.toggleDescendants(this._treeNode.data):this._tree.treeControl.toggle(this._treeNode.data),t.stopPropagation()}};i.\u0275fac=function(e){return new(e||i)(l(Wi),l(rn))},i.\u0275dir=I({type:i,selectors:[["","cdkTreeNodeToggle",""]],hostBindings:function(e,n){e&1&&_("click",function(s){return n._toggle(s)})},inputs:{recursive:[2,"cdkTreeNodeToggleRecursive","recursive",M]},standalone:!0,features:[Q]});let a=i;return a})();var Mo=(()=>{let i=class i{};i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=N({type:i}),i.\u0275inj=L({});let a=i;return a})();var Eo=(()=>{let i=class i extends rn{constructor(t,e,n){super(t,e),this.disabled=!1,this.tabIndex=Number(n)||0}ngOnInit(){super.ngOnInit()}ngOnDestroy(){super.ngOnDestroy()}};i.\u0275fac=function(e){return new(e||i)(l(z),l(Wi),Qt("tabindex"))},i.\u0275dir=I({type:i,selectors:[["mat-tree-node"]],hostAttrs:[1,"mat-tree-node"],inputs:{disabled:[2,"disabled","disabled",M],tabIndex:[2,"tabIndex","tabIndex",t=>t==null?0:Lt(t)]},exportAs:["matTreeNode"],standalone:!0,features:[X([{provide:rn,useExisting:i}]),Q,Z]});let a=i;return a})(),To=(()=>{let i=class i extends Io{};i.\u0275fac=(()=>{let t;return function(n){return(t||(t=Ot(i)))(n||i)}})(),i.\u0275dir=I({type:i,selectors:[["","matTreeNodeDef",""]],inputs:{when:[0,"matTreeNodeDefWhen","when"],data:[0,"matTreeNode","data"]},standalone:!0,features:[X([{provide:Io,useExisting:i}]),Z]});let a=i;return a})();var Ao=(()=>{let i=class i extends Jr{get level(){return this._level}set level(t){this._setLevelInput(t)}get indent(){return this._indent}set indent(t){this._setIndentInput(t)}};i.\u0275fac=(()=>{let t;return function(n){return(t||(t=Ot(i)))(n||i)}})(),i.\u0275dir=I({type:i,selectors:[["","matTreeNodePadding",""]],inputs:{level:[2,"matTreeNodePadding","level",Lt],indent:[0,"matTreeNodePaddingIndent","indent"]},standalone:!0,features:[X([{provide:Jr,useExisting:i}]),Q,Z]});let a=i;return a})(),yd=(()=>{let i=class i{constructor(t,e){this.viewContainer=t,this._node=e}};i.\u0275fac=function(e){return new(e||i)(l(qt),l(Xr,8))},i.\u0275dir=I({type:i,selectors:[["","matTreeNodeOutlet",""]],standalone:!0,features:[X([{provide:So,useExisting:i}])]});let a=i;return a})(),Ro=(()=>{let i=class i extends Wi{constructor(){super(...arguments),this._nodeOutlet=void 0}};i.\u0275fac=(()=>{let t;return function(n){return(t||(t=Ot(i)))(n||i)}})(),i.\u0275cmp=w({type:i,selectors:[["mat-tree"]],viewQuery:function(e,n){if(e&1&&it(yd,7),e&2){let o;A(o=R())&&(n._nodeOutlet=o.first)}},hostAttrs:["role","tree",1,"mat-tree"],exportAs:["matTree"],standalone:!0,features:[X([{provide:Wi,useExisting:i}]),Z,S],decls:1,vars:0,consts:[["matTreeNodeOutlet",""]],template:function(e,n){e&1&&Et(0,0)},dependencies:[yd],styles:[".mat-tree{display:block;background-color:var(--mat-tree-container-background-color)}.mat-tree-node,.mat-nested-tree-node{color:var(--mat-tree-node-text-color);font-family:var(--mat-tree-node-text-font);font-size:var(--mat-tree-node-text-size);font-weight:var(--mat-tree-node-text-weight)}.mat-tree-node{display:flex;align-items:center;flex:1;word-wrap:break-word;min-height:var(--mat-tree-node-min-height)}.mat-nested-tree-node{border-bottom-width:0}"],encapsulation:2});let a=i;return a})(),Oo=(()=>{let i=class i extends ts{};i.\u0275fac=(()=>{let t;return function(n){return(t||(t=Ot(i)))(n||i)}})(),i.\u0275dir=I({type:i,selectors:[["","matTreeNodeToggle",""]],inputs:{recursive:[0,"matTreeNodeToggleRecursive","recursive"]},standalone:!0,features:[X([{provide:ts,useExisting:i}]),Z]});let a=i;return a})();var wd=(()=>{let i=class i{};i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=N({type:i}),i.\u0275inj=L({imports:[Mo,V,V]});let a=i;return a})(),An=class{constructor(i,r,t,e){this.transformFunction=i,this.getLevel=r,this.isExpandable=t,this.getChildren=e}_flattenNode(i,r,t,e){let n=this.transformFunction(i,r);if(t.push(n),this.isExpandable(n)){let o=this.getChildren(i);o&&(Array.isArray(o)?this._flattenChildren(o,r,t,e):o.pipe(rt(1)).subscribe(s=>{this._flattenChildren(s,r,t,e)}))}return t}_flattenChildren(i,r,t,e){i.forEach((n,o)=>{let s=e.slice();s.push(o!=i.length-1),this._flattenNode(n,r+1,t,s)})}flattenNodes(i){let r=[];return i.forEach(t=>this._flattenNode(t,0,r,[])),r}expandFlattenedNodes(i,r){let t=[],e=[];return e[0]=!0,i.forEach(n=>{let o=!0;for(let s=0;s<=this.getLevel(n);s++)o=o&&e[s];o&&t.push(n),this.isExpandable(n)&&(e[this.getLevel(n)+1]=r.isExpanded(n))}),t}},Rn=class extends Ua{get data(){return this._data.value}set data(i){this._data.next(i),this._flattenedData.next(this._treeFlattener.flattenNodes(this.data)),this._treeControl.dataNodes=this._flattenedData.value}constructor(i,r,t){super(),this._treeControl=i,this._treeFlattener=r,this._flattenedData=new Kt([]),this._expandedData=new Kt([]),this._data=new Kt([]),t&&(this.data=t)}connect(i){return Dt(i.viewChange,this._treeControl.expansionModel.changed,this._flattenedData).pipe(ut(()=>(this._expandedData.next(this._treeFlattener.expandFlattenedNodes(this._flattenedData.value,this._treeControl)),this._expandedData.value)))}disconnect(){}};var Ew=(()=>{let i=class i{};i.\u0275fac=function(e){return new(e||i)},i.\u0275cmp=w({type:i,selectors:[["vq-loading-spinner"]],standalone:!0,features:[S],decls:2,vars:0,consts:[[1,"spinner"],["src","/assets/icons/Ellipsis-1s-200px.svg"]],template:function(e,n){e&1&&(c(0,"div",0),x(1,"img",1),d())},styles:[".spinner[_ngcontent-%COMP%]{display:flex;justify-content:center;padding-top:40px}"]});let a=i;return a})();var Zt=function(a){return a.SAVED="saved",a.CANCELLED="cancelled",a.OK="ok",a}(Zt||{}),be=class{constructor(i="cancelled",r=null){this.event=i}};function Ip(a,i){}var ki=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 na=(()=>{let i=class i extends Ga{constructor(t,e,n,o,s,h,g,v){super(),this._elementRef=t,this._focusTrapFactory=e,this._config=o,this._interactivityChecker=s,this._ngZone=h,this._overlayRef=g,this._focusMonitor=v,this._platform=b(ce),this._focusTrap=null,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this._ariaLabelledByQueue=[],this._changeDetectorRef=b(q),this._injector=b(yt),this._isDestroyed=!1,this.attachDomPortal=D=>{this._portalOutlet.hasAttached();let G=this._portalOutlet.attachDomPortal(D);return this._contentAttached(),G},this._document=n,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(t){this._ariaLabelledByQueue.push(t),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(t){let e=this._ariaLabelledByQueue.indexOf(t);e>-1&&(this._ariaLabelledByQueue.splice(e,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(t){this._portalOutlet.hasAttached();let e=this._portalOutlet.attachComponentPortal(t);return this._contentAttached(),e}attachTemplatePortal(t){this._portalOutlet.hasAttached();let e=this._portalOutlet.attachTemplatePortal(t);return this._contentAttached(),e}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(t,e){this._interactivityChecker.isFocusable(t)||(t.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let n=()=>{t.removeEventListener("blur",n),t.removeEventListener("mousedown",n),t.removeAttribute("tabindex")};t.addEventListener("blur",n),t.addEventListener("mousedown",n)})),t.focus(e)}_focusByCssSelector(t,e){let n=this._elementRef.nativeElement.querySelector(t);n&&this._forceFocus(n,e)}_trapFocus(){this._isDestroyed||ae(()=>{let t=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||t.focus();break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElement()||this._focusDialogContainer();break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus);break}},{injector:this._injector})}_restoreFocus(){let t=this._config.restoreFocus,e=null;if(typeof t=="string"?e=this._document.querySelector(t):typeof t=="boolean"?e=t?this._elementFocusedBeforeDialogWasOpened:null:t&&(e=t),this._config.restoreFocus&&e&&typeof e.focus=="function"){let n=tn(),o=this._elementRef.nativeElement;(!n||n===this._document.body||n===o||o.contains(n))&&(this._focusMonitor?(this._focusMonitor.focusVia(e,this._closeInteractionType),this._closeInteractionType=null):e.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){let t=this._elementRef.nativeElement,e=tn();return t===e||t.contains(e)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=tn()))}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}};i.\u0275fac=function(e){return new(e||i)(l(z),l(vn),l(St,8),l(ki),l(an),l(ct),l(Li),l(Ft))},i.\u0275cmp=w({type:i,selectors:[["cdk-dialog-container"]],viewQuery:function(e,n){if(e&1&&it(le,7),e&2){let o;A(o=R())&&(n._portalOutlet=o.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(e,n){e&2&&T("id",n._config.id||null)("role",n._config.role)("aria-modal",n._config.ariaModal)("aria-labelledby",n._config.ariaLabel?null:n._ariaLabelledByQueue[0])("aria-label",n._config.ariaLabel)("aria-describedby",n._config.ariaDescribedBy||null)},standalone:!0,features:[Z,S],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,n){e&1&&y(0,Ip,0,0,"ng-template",0)},dependencies:[le],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2});let a=i;return a})(),ia=class{constructor(i,r){this.overlayRef=i,this.config=r,this.closed=new E,this.disableClose=r.disableClose,this.backdropClick=i.backdropClick(),this.keydownEvents=i.keydownEvents(),this.outsidePointerEvents=i.outsidePointerEvents(),this.id=r.id,this.keydownEvents.subscribe(t=>{t.keyCode===27&&!this.disableClose&&!$t(t)&&(t.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=i.detachments().subscribe(()=>{r.closeOnOverlayDetachments!==!1&&this.close()})}close(i,r){if(this.containerInstance){let t=this.closed;this.containerInstance._closeInteractionType=r?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),t.next(i),t.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(i="",r=""){return this.overlayRef.updateSize({width:i,height:r}),this}addPanelClass(i){return this.overlayRef.addPanelClass(i),this}removePanelClass(i){return this.overlayRef.removePanelClass(i),this}},Mp=new H("DialogScrollStrategy",{providedIn:"root",factory:()=>{let a=b(Tt);return()=>a.scrollStrategies.block()}}),Ep=new H("DialogData"),Tp=new H("DefaultDialogConfig");var Ap=0,aa=(()=>{let i=class i{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(t,e,n,o,s,h){this._overlay=t,this._injector=e,this._defaultOptions=n,this._parentDialog=o,this._overlayContainer=s,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new E,this._afterOpenedAtThisLevel=new E,this._ariaHiddenElements=new Map,this.afterAllClosed=ln(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Mt(void 0))),this._scrollStrategy=h}open(t,e){let n=this._defaultOptions||new ki;e=ht(ht({},n),e),e.id=e.id||`cdk-dialog-${Ap++}`,e.id&&this.getDialogById(e.id);let o=this._getOverlayConfig(e),s=this._overlay.create(o),h=new ia(s,e),g=this._attachContainer(s,h,e);return h.containerInstance=g,this._attachDialogContent(t,h,g,e),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(h),h.closed.subscribe(()=>this._removeOpenDialog(h,!0)),this.afterOpened.next(h),h}closeAll(){es(this.openDialogs,t=>t.close())}getDialogById(t){return this.openDialogs.find(e=>e.id===t)}ngOnDestroy(){es(this._openDialogsAtThisLevel,t=>{t.config.closeOnDestroy===!1&&this._removeOpenDialog(t,!1)}),es(this._openDialogsAtThisLevel,t=>t.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(t){let e=new yi({positionStrategy:t.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:t.scrollStrategy||this._scrollStrategy(),panelClass:t.panelClass,hasBackdrop:t.hasBackdrop,direction:t.direction,minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight,width:t.width,height:t.height,disposeOnNavigation:t.closeOnNavigation});return t.backdropClass&&(e.backdropClass=t.backdropClass),e}_attachContainer(t,e,n){let o=n.injector||n.viewContainerRef?.injector,s=[{provide:ki,useValue:n},{provide:ia,useValue:e},{provide:Li,useValue:t}],h;n.container?typeof n.container=="function"?h=n.container:(h=n.container.type,s.push(...n.container.providers(n))):h=na;let g=new li(h,n.viewContainerRef,yt.create({parent:o||this._injector,providers:s}),n.componentFactoryResolver);return t.attach(g).instance}_attachDialogContent(t,e,n,o){if(t instanceof wt){let s=this._createInjector(o,e,n,void 0),h={$implicit:o.data,dialogRef:e};o.templateContext&&(h=ht(ht({},h),typeof o.templateContext=="function"?o.templateContext():o.templateContext)),n.attachTemplatePortal(new Re(t,null,h,s))}else{let s=this._createInjector(o,e,n,this._injector),h=n.attachComponentPortal(new li(t,o.viewContainerRef,s,o.componentFactoryResolver));e.componentRef=h,e.componentInstance=h.instance}}_createInjector(t,e,n,o){let s=t.injector||t.viewContainerRef?.injector,h=[{provide:Ep,useValue:t.data},{provide:ia,useValue:e}];return t.providers&&(typeof t.providers=="function"?h.push(...t.providers(e,t,n)):h.push(...t.providers)),t.direction&&(!s||!s.get(Nt,null,{optional:!0}))&&h.push({provide:Nt,useValue:{value:t.direction,change:at()}}),yt.create({parent:s||o,providers:h})}_removeOpenDialog(t,e){let n=this.openDialogs.indexOf(t);n>-1&&(this.openDialogs.splice(n,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((o,s)=>{o?s.setAttribute("aria-hidden",o):s.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),e&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){let t=this._overlayContainer.getContainerElement();if(t.parentElement){let e=t.parentElement.children;for(let n=e.length-1;n>-1;n--){let o=e[n];o!==t&&o.nodeName!=="SCRIPT"&&o.nodeName!=="STYLE"&&!o.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(o,o.getAttribute("aria-hidden")),o.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}};i.\u0275fac=function(e){return new(e||i)($(Tt),$(yt),$(Tp,8),$(i,12),$(Wa),$(Mp))},i.\u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"});let a=i;return a})();function es(a,i){let r=a.length;for(;r--;)i(a[r])}var Po=(()=>{let i=class i{};i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=N({type:i}),i.\u0275inj=L({providers:[aa],imports:[fe,me,si,me]});let a=i;return a})();function Op(a,i){}var oa=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}},is="mdc-dialog--open",Cd="mdc-dialog--opening",kd="mdc-dialog--closing",Pp=150,Fp=75,zp=(()=>{let i=class i extends na{constructor(t,e,n,o,s,h,g,v,D){super(t,e,n,o,s,h,g,D),this._animationMode=v,this._animationStateChanged=new O,this._animationsEnabled=this._animationMode!=="NoopAnimations",this._actionSectionCount=0,this._hostElement=this._elementRef.nativeElement,this._enterAnimationDuration=this._animationsEnabled?Sd(this._config.enterAnimationDuration)??Pp:0,this._exitAnimationDuration=this._animationsEnabled?Sd(this._config.exitAnimationDuration)??Fp: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(Dd,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(Cd,is)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(is),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(is),this._animationsEnabled?(this._hostElement.style.setProperty(Dd,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(kd)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(t){this._actionSectionCount+=t,this._changeDetectorRef.markForCheck()}_clearAnimationClasses(){this._hostElement.classList.remove(Cd,kd)}_waitForAnimationToComplete(t,e){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(e,t)}_requestAnimationFrame(t){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(t):t()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(t){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:t})}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer)}attachComponentPortal(t){let e=super.attachComponentPortal(t);return e.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),e}};i.\u0275fac=function(e){return new(e||i)(l(z),l(vn),l(St,8),l(oa),l(an),l(ct),l(Li),l(Xt,8),l(Ft))},i.\u0275cmp=w({type:i,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(e,n){e&2&&(We("id",n._config.id),T("aria-modal",n._config.ariaModal)("role",n._config.role)("aria-labelledby",n._config.ariaLabel?null:n._ariaLabelledByQueue[0])("aria-label",n._config.ariaLabel)("aria-describedby",n._config.ariaDescribedBy||null),U("_mat-animation-noopable",!n._animationsEnabled)("mat-mdc-dialog-container-with-actions",n._actionSectionCount>0))},standalone:!0,features:[Z,S],decls:3,vars:0,consts:[[1,"mat-mdc-dialog-inner-container","mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(e,n){e&1&&(c(0,"div",0)(1,"div",1),y(2,Op,0,0,"ng-template",2),d()())},dependencies:[le],styles:['.mat-mdc-dialog-container{width:100%;height:100%;display:block;box-sizing:border-box;max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;outline:0}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 80vw);min-width:var(--mat-dialog-container-min-width, 0)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, 80vw)}}.mat-mdc-dialog-inner-container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;transition:opacity linear var(--mat-dialog-transition-duration, 0ms);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mdc-dialog--closing .mat-mdc-dialog-inner-container{transition:opacity 75ms linear;transform:none}.mdc-dialog--open .mat-mdc-dialog-inner-container{opacity:1}._mat-animation-noopable .mat-mdc-dialog-inner-container{transition:none}.mat-mdc-dialog-surface{display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;width:100%;height:100%;position:relative;overflow-y:auto;outline:0;transform:scale(0.8);transition:transform var(--mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;box-shadow:var(--mat-dialog-container-elevation-shadow, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12));border-radius:var(--mdc-dialog-container-shape, 4px);background-color:var(--mdc-dialog-container-color, white)}[dir=rtl] .mat-mdc-dialog-surface{text-align:right}.mdc-dialog--open .mat-mdc-dialog-surface,.mdc-dialog--closing .mat-mdc-dialog-surface{transform:none}._mat-animation-noopable .mat-mdc-dialog-surface{transition:none}.mat-mdc-dialog-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-dialog-title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:var(--mat-dialog-headline-padding, 0 24px 9px)}.mat-mdc-dialog-title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mat-mdc-dialog-title{text-align:right}.mat-mdc-dialog-container .mat-mdc-dialog-title{color:var(--mdc-dialog-subhead-color, rgba(0, 0, 0, 0.87));font-family:var(--mdc-dialog-subhead-font, Roboto, sans-serif);line-height:var(--mdc-dialog-subhead-line-height, 1.5rem);font-size:var(--mdc-dialog-subhead-size, 1rem);font-weight:var(--mdc-dialog-subhead-weight, 400);letter-spacing:var(--mdc-dialog-subhead-tracking, 0.03125em)}.mat-mdc-dialog-content{display:block;flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;max-height:65vh}.mat-mdc-dialog-content>:first-child{margin-top:0}.mat-mdc-dialog-content>:last-child{margin-bottom:0}.mat-mdc-dialog-container .mat-mdc-dialog-content{color:var(--mdc-dialog-supporting-text-color, rgba(0, 0, 0, 0.6));font-family:var(--mdc-dialog-supporting-text-font, Roboto, sans-serif);line-height:var(--mdc-dialog-supporting-text-line-height, 1.5rem);font-size:var(--mdc-dialog-supporting-text-size, 1rem);font-weight:var(--mdc-dialog-supporting-text-weight, 400);letter-spacing:var(--mdc-dialog-supporting-text-tracking, 0.03125em)}.mat-mdc-dialog-container .mat-mdc-dialog-content{padding:var(--mat-dialog-content-padding, 20px 24px)}.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content{padding:var(--mat-dialog-with-actions-content-padding, 20px 24px)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0);padding:var(--mat-dialog-actions-padding, 8px);justify-content:var(--mat-dialog-actions-alignment, start)}.cdk-high-contrast-active .mat-mdc-dialog-actions{border-top-color:CanvasText}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start,.mat-mdc-dialog-actions[align=start]{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}.mat-mdc-dialog-component-host{display:contents}'],encapsulation:2});let a=i;return a})(),Dd="--mat-dialog-transition-duration";function Sd(a){return a==null?null:typeof a=="number"?a:a.endsWith("ms")?nn(a.substring(0,a.length-2)):a.endsWith("s")?nn(a.substring(0,a.length-1))*1e3:a==="0"?0:null}var Fo=function(a){return a[a.OPEN=0]="OPEN",a[a.CLOSING=1]="CLOSING",a[a.CLOSED=2]="CLOSED",a}(Fo||{}),Vt=class{constructor(i,r,t){this._ref=i,this._containerInstance=t,this._afterOpened=new E,this._beforeClosed=new E,this._state=Fo.OPEN,this.disableClose=r.disableClose,this.id=i.id,i.addPanelClass("mat-mdc-dialog-panel"),t._animationStateChanged.pipe(gt(e=>e.state==="opened"),rt(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),t._animationStateChanged.pipe(gt(e=>e.state==="closed"),rt(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),i.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),Dt(this.backdropClick(),this.keydownEvents().pipe(gt(e=>e.keyCode===27&&!this.disableClose&&!$t(e)))).subscribe(e=>{this.disableClose||(e.preventDefault(),Id(this,e.type==="keydown"?"keyboard":"mouse"))})}close(i){this._result=i,this._containerInstance._animationStateChanged.pipe(gt(r=>r.state==="closing"),rt(1)).subscribe(r=>{this._beforeClosed.next(i),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),r.totalTime+100)}),this._state=Fo.CLOSING,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(i){let r=this._ref.config.positionStrategy;return i&&(i.left||i.right)?i.left?r.left(i.left):r.right(i.right):r.centerHorizontally(),i&&(i.top||i.bottom)?i.top?r.top(i.top):r.bottom(i.bottom):r.centerVertically(),this._ref.updatePosition(),this}updateSize(i="",r=""){return this._ref.updateSize(i,r),this}addPanelClass(i){return this._ref.addPanelClass(i),this}removePanelClass(i){return this._ref.removePanelClass(i),this}getState(){return this._state}_finishDialogClose(){this._state=Fo.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};function Id(a,i,r){return a._closeInteractionType=i,a.close(r)}var ne=new H("MatMdcDialogData"),Lp=new H("mat-mdc-dialog-default-options"),Np=new H("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let a=b(Tt);return()=>a.scrollStrategies.block()}});var Vp=0,zo=(()=>{let i=class i{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(t,e,n,o,s,h,g,v){this._overlay=t,this._defaultOptions=o,this._scrollStrategy=s,this._parentDialog=h,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new E,this._afterOpenedAtThisLevel=new E,this.dialogConfigClass=oa,this.afterAllClosed=ln(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Mt(void 0))),this._dialog=e.get(aa),this._dialogRefConstructor=Vt,this._dialogContainerType=zp,this._dialogDataToken=ne}open(t,e){let n;e=ht(ht({},this._defaultOptions||new oa),e),e.id=e.id||`mat-mdc-dialog-${Vp++}`,e.scrollStrategy=e.scrollStrategy||this._scrollStrategy();let o=this._dialog.open(t,ve(ht({},e),{positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:e},{provide:ki,useValue:e}]},templateContext:()=>({dialogRef:n}),providers:(s,h,g)=>(n=new this._dialogRefConstructor(s,e,g),n.updatePosition(e?.position),[{provide:this._dialogContainerType,useValue:g},{provide:this._dialogDataToken,useValue:h.data},{provide:this._dialogRefConstructor,useValue:n}])}));return n.componentRef=o.componentRef,n.componentInstance=o.componentInstance,this.openDialogs.push(n),this.afterOpened.next(n),n.afterClosed().subscribe(()=>{let s=this.openDialogs.indexOf(n);s>-1&&(this.openDialogs.splice(s,1),this.openDialogs.length||this._getAfterAllClosed().next())}),n}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(t){return this.openDialogs.find(e=>e.id===t)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(t){let e=t.length;for(;e--;)t[e].close()}};i.\u0275fac=function(e){return new(e||i)($(Tt),$(yt),$(Js,8),$(Lp,8),$(Np),$(i,12),$(Wa),$(Xt,8))},i.\u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"});let a=i;return a})();var Se=(()=>{let i=class i{constructor(t,e,n){this.dialogRef=t,this._elementRef=e,this._dialog=n,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=jp(this._elementRef,this._dialog.openDialogs))}ngOnChanges(t){let e=t._matDialogClose||t._matDialogCloseResult;e&&(this.dialogResult=e.currentValue)}_onButtonClick(t){Id(this.dialogRef,t.screenX===0&&t.screenY===0?"keyboard":"mouse",this.dialogResult)}};i.\u0275fac=function(e){return new(e||i)(l(Vt,8),l(z),l(zo))},i.\u0275dir=I({type:i,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(e,n){e&1&&_("click",function(s){return n._onButtonClick(s)}),e&2&&T("aria-label",n.ariaLabel||null)("type",n.type)},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],type:"type",dialogResult:[0,"mat-dialog-close","dialogResult"],_matDialogClose:[0,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],standalone:!0,features:[At]});let a=i;return a})();function jp(a,i){let r=a.nativeElement.parentElement;for(;r&&!r.classList.contains("mat-mdc-dialog-container");)r=r.parentElement;return r?i.find(t=>t.id===r.id):null}var Md=(()=>{let i=class i{};i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=N({type:i}),i.\u0275inj=L({providers:[zo],imports:[Po,fe,me,V,V]});let a=i;return a})();var Bp=[[["","header",""]],[["","main",""]],[["","footer",""]]],Hp=["[header]","[main]","[footer]"],Qi=(()=>{let i=class i{};i.\u0275fac=function(e){return new(e||i)},i.\u0275cmp=w({type:i,selectors:[["vq-dialog-container"]],ngContentSelectors:Hp,decls:7,vars:0,consts:[[1,"dialog-container"],[1,"header"],["cdkScrollable","",1,"main"],[1,"footer"]],template:function(e,n){e&1&&(K(Bp),c(0,"div",0)(1,"div",1),j(2,0,[1,"header"]),d(),c(3,"div",2),j(4,1,[1,"main"]),d(),c(5,"div",3),j(6,2,[1,"footer"]),d()())},dependencies:[Dr],styles:['.dialog-container[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr;grid-template-rows:auto 1fr auto;grid-template-areas:"header" "main" "footer";height:100%;position:relative;gap:24px}.dialog-container[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]{grid-area:header}.dialog-container[_ngcontent-%COMP%]   .main[_ngcontent-%COMP%]{grid-area:main;overflow-y:auto;padding-right:10px;padding-left:2px}.dialog-container[_ngcontent-%COMP%]   .footer[_ngcontent-%COMP%]{grid-area:footer}.mat-mdc-dialog-surface[_ngcontent-%COMP%]{border-radius:30px!important}mat-form-field[_ngcontent-%COMP%]{width:100%}']});let a=i;return a})();function Up(a,i){a&1&&(c(0,"span"),p(1," You are on the waitlist for the Vequity Network. We'll notify you when your access is ready. "),x(2,"div",5),p(3," For now, you can share deals with your buyers. "),d())}function qp(a,i){a&1&&(c(0,"span"),p(1," To get access to Vequity buyers and the ability to invite them to deals, please request access to the Vequity Network. "),x(2,"div",5),p(3," For now, you are only able to share deals with your buyers. The Vequity Network expands your reach and continues to grow every month. "),d())}function $p(a,i){if(a&1){let r=F();c(0,"button",8),_("click",function(){C(r);let e=f(2);return k(e.onShareWithMyBuyers())}),p(1),d()}if(a&2){let r=f(2);m(),Fe(" Share with my ",r.referredBuyers," ",r.referredBuyers===1?"buyer":"buyers"," ")}}function Gp(a,i){if(a&1){let r=F();c(0,"button",6),_("click",function(){C(r);let e=f();return k(e.onRequestAccess())}),p(1,"Request Access"),d(),y(2,$p,2,2,"button",7)}if(a&2){let r=f();m(2),u("ngIf",r.referredBuyers>0)}}function Wp(a,i){if(a&1){let r=F();c(0,"button",6),_("click",function(){C(r);let e=f(2);return k(e.onShareWithMyBuyers())}),p(1),d()}if(a&2){let r=f(2);m(),Fe(" Share with my ",r.referredBuyers," ",r.referredBuyers===1?"buyer":"buyers"," ")}}function Qp(a,i){if(a&1&&(y(0,Wp,2,2,"button",9),c(1,"button",10),p(2,"Exit"),d()),a&2){let r=f();u("ngIf",r.waitlisted&&r.referredBuyers>0)}}var Ed=(()=>{let i=class i{constructor(t,e){this.dialogRef=t,this.data=e,this.openDialogService=b(de),this.brokerService=b(Bi),this.dialogCloseEvent=new be,this.networkBuyers=0,this.referredBuyers=0,this.waitlisted=!1,this.waitlisted=this.data.brokerEmployee.broker.isOnWaitlist,this.networkBuyers=this.data.networkBuyers??0,this.referredBuyers=this.data.referredBuyers??0,t.backdropClick().pipe(et(()=>{this.dialogCloseEvent.event=Zt.CANCELLED,this.dialogRef.close(this.dialogCloseEvent)}),rt(1)).subscribe()}onRequestAccess(){this.openDialogService.openJoinWaitlistDialog().afterClosed().pipe(tt(e=>e&&e.event===Zt.OK?this.sendWaitlistRequest():at(null)),rt(1)).subscribe({next:e=>{e&&(this.dialogCloseEvent.event=Zt.SAVED,this.dialogRef.close(this.dialogCloseEvent))}})}onShareWithMyBuyers(){this.dialogCloseEvent.event=Zt.OK,this.dialogRef.close(this.dialogCloseEvent)}sendWaitlistRequest(){return this.brokerService.joinWaitlist(this.data.brokerEmployee.brokerId,this.data.brokerEmployee.brokerEmployeeId).pipe(ut(()=>!0))}};i.\u0275fac=function(e){return new(e||i)(l(Vt),l(ne))},i.\u0275cmp=w({type:i,selectors:[["vq-deal-share-vna-buyers"]],decls:13,vars:4,consts:[["header",""],["matRipple","","mat-dialog-close",""],[1,"material-symbols-outlined"],["main",""],["footer",""],[1,"empty-space"],["matRipple","",1,"vq-secondary-btn",3,"click"],["matRipple","","class","continue-btn",3,"click",4,"ngIf"],["matRipple","",1,"continue-btn",3,"click"],["matRipple","","class","vq-secondary-btn",3,"click",4,"ngIf"],["matRipple","","mat-dialog-close","",1,"continue-btn"]],template:function(e,n){e&1&&(c(0,"vq-dialog-container")(1,"header",0)(2,"h3"),p(3),d(),c(4,"button",1)(5,"mat-icon",2),p(6,"close"),d()()(),c(7,"main",3),y(8,Up,4,0,"span")(9,qp,4,0,"span"),d(),c(10,"footer",4),y(11,Gp,3,1)(12,Qp,3,1),d()()),e&2&&(m(3),Fe("You've selected ",n.networkBuyers," Vequity ",n.networkBuyers===1?"Buyer":"Buyers","."),m(5),B(n.waitlisted?8:9),m(3),B(n.waitlisted?12:11))},dependencies:[xt,Se,Gt,mt,Qi],styles:["header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:flex-start}header[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-size:2rem;font-weight:700;line-height:30px;margin:0}header[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{cursor:pointer;background-color:transparent;border:none;outline:none;border-radius:24px;display:flex;align-items:center}main[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:24px;width:100%}main[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:1.6rem;font-weight:400;line-height:24px;letter-spacing:.5px}footer[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;gap:24px}footer[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{width:100%}footer[_ngcontent-%COMP%]   .continue-btn[_ngcontent-%COMP%]{width:fit-content;cursor:pointer;background-color:transparent;outline:none;border:none;color:#1788fb;line-height:17px;border-radius:16px}"]});let a=i;return a})();function Yp(a,i){if(a&1){let r=F();c(0,"button",5),_("click",function(){C(r);let e=f();return k(e.onShare())}),p(1),d()}if(a&2){let r=f();m(),Fe(" Share with my ",r.referredBuyersCount," ",r.referredBuyersCount===1?"buyer":"buyers"," ")}}var Td=(()=>{let i=class i{constructor(t,e){this.dialogRef=t,this.data=e,this.dialogCloseEvent=new be,this.busy=!1,this.referredBuyersCount=0,this.referredBuyersCount=this.data.referredBuyers,t.backdropClick().pipe(et(()=>{this.dialogCloseEvent.event=Zt.CANCELLED,this.dialogRef.close(this.dialogCloseEvent)}),rt(1)).subscribe()}onShare(){this.dialogCloseEvent.event=Zt.SAVED,this.dialogRef.close(this.dialogCloseEvent)}};i.\u0275fac=function(e){return new(e||i)(l(Vt),l(ne))},i.\u0275cmp=w({type:i,selectors:[["vq-deal-share-waitlist-dialog"]],decls:11,vars:1,consts:[["header",""],["main",""],["footer",""],["matRipple","","class","vq-secondary-btn",3,"click",4,"ngIf"],["matRipple","","mat-dialog-close","",1,"continue-btn"],["matRipple","",1,"vq-secondary-btn",3,"click"]],template:function(e,n){e&1&&(c(0,"vq-dialog-container")(1,"header",0)(2,"h3"),p(3,"You've been added to the Vequity Network waitlist."),d()(),c(4,"main",1)(5,"span"),p(6," Thank you for your interest. We'll notify you when your access is ready. "),d()(),c(7,"footer",2),y(8,Yp,2,2,"button",3),c(9,"button",4),p(10,"Exit"),d()()()),e&2&&(m(8),u("ngIf",n.referredBuyersCount>0))},dependencies:[xt,Se,mt,Qi],styles:["header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:flex-start}header[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-size:2rem;font-weight:700;line-height:30px;margin:0}main[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:24px;width:100%}main[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:1.6rem;font-weight:400;line-height:24px;letter-spacing:.5px}footer[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;gap:24px}footer[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{width:100%}footer[_ngcontent-%COMP%]   .continue-btn[_ngcontent-%COMP%]{width:fit-content;cursor:pointer;background-color:transparent;outline:none;border:none;color:#1788fb;line-height:17px;border-radius:16px}"]});let a=i;return a})();var ra=function(a){return a[a.Open=0]="Open",a[a.Closed=1]="Closed",a[a.Archived=2]="Archived",a}(ra||{});var ui=(()=>{let i=class i{constructor(){this.savingX=we(!1),this.savedX=we(!1),this._processingTextX=we("Saving..."),this._saveCompleteTextX=we("Saved")}get isSaveProcessing(){return this.savingX()}get isSaveComplete(){return this.savedX()}get processingText(){return this._processingTextX()}set processingText(t){this._processingTextX.set(t)}get saveCompleteText(){return this._saveCompleteTextX()}set saveCompleteText(t){this._saveCompleteTextX.set(t)}startSaving(){this.savedX()&&this.resetFinishedSave(),this.savingX.set(!0)}saveFinished(){this.savingX()&&this.stopSaving(),this.savedX.set(!0),setTimeout(()=>{this.resetFinishedSave()},5e3)}setDefaultTextValues(){this.processingText="Saving...",this.saveCompleteText="Saved"}resetFinishedSave(){this.savedX.set(!1)}stopSaving(){this.savingX.set(!1)}};i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"});let a=i;return a})();var No=(()=>{let i=class i{constructor(t){this.http=t,this.errorService=b(ge),this.bannerService=b(Yt)}createDealReferral(t,e,n,o=!1){let s={buyerId:t,sourcedByVequity:n};return this.http.post(`${vt.auth.apiUri}/api/DealReferrals?dealReferralCode=${e}`,s).pipe(bt(h=>this.errorService.handleError(h,this.bannerService,"Sharing Deal",o)))}createBatchDealReferrals(t,e,n,o=!1){let s=t.map(h=>({buyerId:h,sourcedByVequity:n}));return this.http.post(`${vt.auth.apiUri}/api/DealReferrals/Multiple?dealReferralCode=${e}`,s).pipe(bt(h=>this.errorService.handleError(h,this.bannerService,"Sharing Deal",o)))}};i.\u0275fac=function(e){return new(e||i)($(se))},i.\u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"});let a=i;return a})();function Kp(a,i){if(a&1){let r=F();c(0,"mat-option",14),_("onSelectionChange",function(){let e=C(r).$implicit,n=f(2);return k(n.onSelectionChange(e))}),p(1),d()}if(a&2){let r=i.$implicit;u("value",r.dealId),m(),nt(r.title)}}function Xp(a,i){if(a&1&&($e(0),c(1,"form")(2,"mat-form-field",10)(3,"mat-label"),p(4,"Deal"),d(),x(5,"input",11),c(6,"mat-autocomplete",12,1),Jt(8,Kp,2,2,"mat-option",13,_i),oe(10,"async"),d()()(),Ge()),a&2){let r=Bt(7),t=f();m(5),u("formControl",t.dealControl)("matAutocomplete",r),m(),u("displayWith",t.displayFn.bind(t)),m(2),te(re(10,3,t.filteredOptions))}}function Jp(a,i){if(a&1&&Et(0,15),a&2){f();let r=Bt(17);u("ngTemplateOutlet",r)}}function tu(a,i){a&1&&(c(0,"div",16),x(1,"mat-spinner"),d(),x(2,"div",17))}var Rd=(()=>{let i=class i{constructor(t,e){this.dialogRef=t,this.data=e,this.destroyRef=b(Ke),this.openDialogService=b(de),this.brokerEmployeeService=b(Ve),this.dealReferralService=b(No),this.savedChangesService=b(ui),this.dialogCloseEvent=new be,this.dealControl=new Ct(""),this.dealShareResponse=null,this.busy=!1,this._deals=[]}ngOnInit(){this.dealList$=this.brokerEmployeeService.getLoggedInEmployeeDeals(ra.Open).pipe(ut(t=>(this._deals=t.results,this._deals))),this.filteredOptions=this.dealControl.valueChanges.pipe(Mt(""),ut(t=>this._filter(t||"")))}displayFn(t){return t?this._deals.find(e=>e.dealId===t).title:""}onNext(){let t=this.confirmText();this.openDialogService.openOkCancelDialogComponent("Confirm your share",t,()=>{},"Share Deal",()=>{},"Cancel").afterClosed().pipe(gt(n=>n.event===Zt.OK),tt(()=>this.createReferralRecords$(this._selectedDeal.referralCode)),et(()=>{this.openDialogService.openDealShareCompleteDialog(this._selectedDeal.dealId,this.dealShareResponse.successCount,this.dealShareResponse.conflictCount,this.dealShareResponse.errorCount)}),Me(this.destroyRef)).subscribe({complete:()=>{this.dealShareResponse.errorCount>0?(this.dialogCloseEvent.event=Zt.CANCELLED,this.dialogRef.close(this.dialogCloseEvent)):(this.dialogCloseEvent.event=Zt.SAVED,this.dialogCloseEvent.data=this.dealShareResponse,this.dialogRef.close(this.dialogCloseEvent)),this.busy=!1}})}_filter(t){let e=t.toLowerCase();return this._deals.filter(n=>n.title.toLowerCase().includes(e))}onSelectionChange(t){if(!t){this._selectedDeal=null;return}this._selectedDeal=t}confirmText(){let t=this.displayFn(this.dealControl.value),e=this.data.selectedBuyerIds.length;return`<span> You are sharing ${t} with <b>${e} buyers</b> </span>`}createReferralRecords$(t){return this.busy=!0,this.savedChangesService.processingText="Sharing...",this.savedChangesService.saveCompleteText="Done",this.dealReferralService.createBatchDealReferrals(this.data.selectedBuyerIds,t,!1).pipe(et(e=>{this.dealShareResponse=e}))}};i.\u0275fac=function(e){return new(e||i)(l(Vt),l(ne))},i.\u0275cmp=w({type:i,selectors:[["vq-employee-deal-search-dialog"]],decls:18,vars:6,consts:[["saving",""],["auto","matAutocomplete"],["header",""],["matRipple","","mat-dialog-close",""],[1,"material-symbols-outlined"],["main",""],[4,"skeleton","skeletonHeight"],[3,"ngTemplateOutlet",4,"ngIf"],["footer",""],["matRipple","","type","submit",1,"vq-secondary-btn",3,"click","disabled"],["appearance","outline",1,"search"],["type","text","placeholder","Pick one","aria-label","Deal","matInput","",3,"formControl","matAutocomplete"],[3,"displayWith"],[3,"value"],[3,"onSelectionChange","value"],[3,"ngTemplateOutlet"],[1,"progress-spinner"],[1,"overlay"]],template:function(e,n){if(e&1){let o=F();c(0,"vq-dialog-container")(1,"header",2)(2,"h3"),p(3,"Select deal"),d(),c(4,"button",3)(5,"mat-icon",4),p(6,"close"),d()()(),c(7,"main",5)(8,"span"),p(9,"Select a deal to share to your buyers."),d(),y(10,Xp,11,5,"ng-container",6),oe(11,"async"),y(12,Jp,1,1,"ng-container",7),d(),c(13,"footer",8)(14,"button",9),_("click",function(){return C(o),k(n.onNext())}),p(15," Next "),d()()(),y(16,tu,3,0,"ng-template",null,0,ei)}e&2&&(m(10),u("skeleton",!re(11,4,n.dealList$))("skeletonHeight","78px"),m(2),u("ngIf",n.busy),m(2),u("disabled",!n.dealControl.value||n.busy))},dependencies:[xt,un,oi,Oi,ue,ni,Aa,oo,ke,Xn,Se,Gt,mi,_e,je,Dn,mt,Ta,Xa,Qi,gn],styles:["header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:flex-start}header[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-size:2rem;font-weight:700;margin:0}header[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{cursor:pointer;background-color:transparent;border:none;outline:none;border-radius:24px;display:flex;align-items:center}main[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:24px;width:100%}main[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:1.6rem;font-weight:400;line-height:24px;letter-spacing:.5px}main[_ngcontent-%COMP%]   .search[_ngcontent-%COMP%]{width:100%}.progress-spinner[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:80%;z-index:101;display:flex;align-items:center;justify-content:center;opacity:.5}.overlay[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;z-index:101;background-color:#fff;opacity:.5}"]});let a=i;return a})();var jo=(()=>{let i=class i{constructor(t){this.http=t,this.errorService=b(ge),this.bannerService=b(Yt),this.savedChangesService=b(ui)}sendSFARequestEmail(t){return this.http.post(`${vt.auth.apiUri}/api/RiverGuide/SFARequested/${t}`,{}).pipe(bt(e=>this.errorService.handleError(e,this.bannerService,"Sending Request")))}sendSFASignedEmail(t){return this.http.post(`${vt.auth.apiUri}/api/RiverGuide/SFASigned/${t}`,{}).pipe(bt(e=>this.errorService.handleError(e,this.bannerService,"Email Confirmation")))}inviteBuyerToVequity(t,e){this.savedChangesService.processingText="Inviting Buyer",this.savedChangesService.saveCompleteText="Invited!";let n={brokerEmployeeId:t,buyerEmail:e.email,buyerFirstName:e.firstName,buyerLastName:e.lastName};return this.http.post(`${vt.auth.apiUri}/api/RiverGuide/ReferBuyer`,n).pipe(bt(o=>this.errorService.handleError(o,this.bannerService,"Inviting Buyer",[409])))}};i.\u0275fac=function(e){return new(e||i)($(se))},i.\u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"});let a=i;return a})();var eu=["tooltip"];function iu(a,i){a&1&&(c(0,"mat-error"),p(1," First name is required. "),d())}function nu(a,i){a&1&&(c(0,"mat-error"),p(1," Last name is required. "),d())}function au(a,i){a&1&&(c(0,"mat-error"),p(1," Email address is required. "),d())}function ou(a,i){a&1&&(c(0,"mat-error"),p(1," Please enter a valid email address. "),d())}var Od=(()=>{let i=class i{constructor(t,e){this.dialogRef=t,this.data=e,this.formService=b(to),this.riverGuideService=b(jo),this.openDialogService=b(de),this.router=b(Ne),this.destroyRef=b(Ke),this.busy=!1,this.emailForm=this.initializeForm(),this.brokerEmployeeId=e.brokerEmployeeId,this.refferalUrl=e.referralUrl}invite(){if(this.emailForm.invalid)return;this.busy=!0;let t={email:this.emailForm.get("email").value,firstName:this.emailForm.get("firstName").value,lastName:this.emailForm.get("lastName").value};this.riverGuideService.inviteBuyerToVequity(this.brokerEmployeeId,t).pipe(Me(this.destroyRef)).subscribe({next:()=>{this.busy=!1,this.dialogRef.close()},error:e=>{e.status===409&&this.openAlreadyConsented(),this.busy=!1}})}openAlreadyConsented(){return this.openDialogService.openOkCancelDialogComponent("Buyer Already Invited","This buyer has already shared their profile with you.",()=>{this.router.navigateByUrl("broker/buyer-search"),this.dialogRef.close()},"View Buyers",()=>{},"Close",null)}copyReferralURL(){this.toolTip.show(),setTimeout(()=>{this.toolTip.hide()},750)}initializeForm(){return new ai({email:new Ct("",[Wt.required,this.formService.emailValidator()]),firstName:new Ct("",[Wt.required]),lastName:new Ct("",[Wt.required])})}};i.\u0275fac=function(e){return new(e||i)(l(Vt),l(ne))},i.\u0275cmp=w({type:i,selectors:[["vq-invite-to-vequity"]],viewQuery:function(e,n){if(e&1&&it(eu,5),e&2){let o;A(o=R())&&(n.toolTip=o.first)}},decls:23,vars:7,consts:[["tooltip","matTooltip"],[1,"container"],[1,"title"],[1,"description"],[3,"formGroup"],["appearance","outline",1,"first-name-input"],["matInput","","formControlName","firstName","placeholder","First Name","maxlength","50"],[4,"ngIf"],["appearance","outline",1,"last-name-input"],["matInput","","formControlName","lastName","placeholder","Last Name","maxlength","50"],["appearance","outline",1,"email-input","icon-input"],["matPrefix","",1,"envelope-icon"],["matInput","","formControlName","email","placeholder","Enter Email"],["matRipple","",1,"vq-secondary-btn",3,"click","disabled"],["matRipple","",1,"vq-secondary-btn","copy-button",3,"click","cdkCopyToClipboard"],["matTooltip","Copied",1,"tooltip"]],template:function(e,n){if(e&1){let o=F();c(0,"div",1)(1,"span",2),p(2,"Invite to Vequity"),d(),c(3,"span",3),p(4,"Enter the following information and invite a buyer, or copy the referral link and send it to a potential buyer."),d(),c(5,"form",4)(6,"mat-form-field",5),x(7,"input",6),y(8,iu,2,0,"mat-error",7),d(),c(9,"mat-form-field",8),x(10,"input",9),y(11,nu,2,0,"mat-error",7),d(),c(12,"mat-form-field",10),x(13,"i",11)(14,"input",12),y(15,au,2,0,"mat-error",7)(16,ou,2,0,"mat-error",7),d()(),c(17,"button",13),_("click",function(){return C(o),k(n.invite())}),p(18,"Invite"),d(),c(19,"button",14),_("click",function(){return C(o),k(n.copyReferralURL())}),p(20," Copy Referral Link "),d(),x(21,"span",15,0),d()}e&2&&(m(5),u("formGroup",n.emailForm),m(3),u("ngIf",n.emailForm.get("firstName").hasError("required")),m(3),u("ngIf",n.emailForm.get("lastName").hasError("required")),m(4),u("ngIf",n.emailForm.get("email").hasError("required")),m(),u("ngIf",n.emailForm.get("email").hasError("email")||n.emailForm.get("email").hasError("domain")),m(),u("disabled",n.emailForm.invalid||n.busy),m(2),u("cdkCopyToClipboard",n.refferalUrl))},dependencies:[xt,oi,Oi,ue,ni,Ra,ri,Pi,Nc,mi,_e,Ni,kc,mt,so],styles:[".container[_ngcontent-%COMP%]{max-width:357px;padding:8px 3px}span[_ngcontent-%COMP%]{display:block}.title[_ngcontent-%COMP%]{font-size:2rem;font-weight:700;line-height:30px}.description[_ngcontent-%COMP%]{font-size:1.6rem;color:#575757;line-height:28px;padding:24px 0}.email-input[_ngcontent-%COMP%], .first-name-input[_ngcontent-%COMP%], .last-name-input[_ngcontent-%COMP%], button[_ngcontent-%COMP%]{width:100%}.copy-button[_ngcontent-%COMP%]{margin-top:24px;background-color:#fff;color:#000;border:2px solid black}.tooltip[_ngcontent-%COMP%]{margin-bottom:5px}"]});let a=i;return a})();var Pd=(()=>{let i=class i{};i.\u0275fac=function(e){return new(e||i)},i.\u0275cmp=w({type:i,selectors:[["vq-linkedin-instructions-dialog"]],decls:43,vars:0,consts:[[1,"container"],[1,"top"],[1,"linkedin"],["mat-dialog-close","",1,"material-symbols-outlined"],[1,"title"],["href","https://www.linkedin.com","target","_blank"]],template:function(e,n){e&1&&(c(0,"div",0)(1,"div",1),x(2,"i",2),c(3,"mat-icon",3),p(4,"close"),d()(),c(5,"span",4),p(6,"How to Connect your linkedin profile"),d(),c(7,"div")(8,"div")(9,"span")(10,"strong"),p(11,"Desktop Users"),d()()(),c(12,"ol")(13,"li"),p(14,"Go to "),c(15,"a",5),p(16,"www.linkedin.com"),d()(),c(17,"li"),p(18,"Click on your Profile Image"),d(),c(19,"li"),p(20,"Copy the URL from the Browser Search Bar"),d(),c(21,"li"),p(22,"Paste below"),d()()(),c(23,"div")(24,"div")(25,"span")(26,"strong"),p(27,"Mobile Users"),d()()(),c(28,"ol")(29,"li"),p(30,"Open the LinkedIn App"),d(),c(31,"li"),p(32,"Select your profile image"),d(),c(33,"li"),p(34,'Choose "View Profile"'),d(),c(35,"li"),p(36,'Below your name and title choose the menu, "..." icon'),d(),c(37,"li"),p(38,'Choose "Share"'),d(),c(39,"li"),p(40,'Choose "Copy"'),d(),c(41,"li"),p(42,"Paste below"),d()()()())},dependencies:[Se,Gt],styles:[".container[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:24px}.container[_ngcontent-%COMP%]   .top[_ngcontent-%COMP%]{display:flex;align-items:flex-start;justify-content:space-between}.container[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-size:2.4rem;font-style:normal;font-weight:700;line-height:28px}.container[_ngcontent-%COMP%]   .highlight[_ngcontent-%COMP%]{color:#1788fb}.container[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]:not(.title, .highlight)[_ngcontent-%COMP%]{font-size:1.4rem;font-style:normal;font-weight:400;line-height:21px}.container[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]:not(.title, .highlight)[_ngcontent-%COMP%]   strong[_ngcontent-%COMP%]{font-weight:700}.container[_ngcontent-%COMP%]   ol[_ngcontent-%COMP%]{margin:0;padding-inline-start:18px}.container[_ngcontent-%COMP%]   ol[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{font-size:1.4rem;font-weight:400;line-height:21px;padding-bottom:2px}.container[_ngcontent-%COMP%]   ol[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#1788fb;text-decoration:none}.container[_ngcontent-%COMP%]   .linkedin[_ngcontent-%COMP%]{height:28px;width:28px;background-image:url(/assets/icons/linkedin-icon-logo.svg);background-repeat:no-repeat;background-size:auto;border-radius:50%;background-position:center}"]});let a=i;return a})();var Bo=class a{constructor(i,r,t){this.stateId=i??null,this.industryId=r??null,this.ebitda=t??null}toQueryParams(){let i="";return this.stateId&&(i+=`stateId=${this.stateId}`),this.industryId&&(i+=`&industryId=${this.industryId}`),this.ebitda&&(i+=`&ebitda=${this.ebitda}`),i}static fromQueryParams(i){return Object.keys(i).length===0||!i?null:new a(i.stateId,i.industryId,i.ebitda)}};function Pn(a,i=null){a.key==="Enter"&&(a.target.blur(),i&&i())}var Ho=(()=>{let i=class i{constructor(t){this.http=t,this.errorService=b(ge),this.bannerService=b(Yt),this.onboardingService=b(Sn)}getDealById(t){return this.http.get(`${vt.auth.apiUri}/api/deals/${t}`).pipe(tt(e=>this.errorService.handleApiResponseError(e)),bt(e=>this.errorService.handleError(e,this.bannerService,"Getting Deal")))}getDealStatuses(){return this.http.get(`${vt.auth.apiUri}/api/deals/statuses`).pipe(bt(t=>this.errorService.handleError(t,this.bannerService,"Getting Deal Statuses")))}getDealReferralsByDealId(t,e,n){let o=new ii({"Skip-Loading-Service":"yes"}),s=new ac().set("resultLimit",e.toString()).set("index",n.toString());return this.http.get(`${vt.auth.apiUri}/api/deals/${t}/referrals`,{headers:o,params:s}).pipe(bt(h=>this.errorService.handleError(h,this.bannerService,"Getting Deal Referrals")))}updateDeal(t){return this.http.put(`${vt.auth.apiUri}/api/deals/${t.dealId}`,t).pipe(bt(e=>this.errorService.handleError(e,this.bannerService,"Updating Deal")))}sendDealNotification(t,e){return this.http.put(`${vt.auth.apiUri}/api/riverguide/TeaserNotification/${t}`,e).pipe(bt(n=>this.errorService.handleError(n,this.bannerService,"Sending Deal")))}sourceBuyersForDeal(t){return this.http.put(`${vt.auth.apiUri}/api/deals/${t}/sourceBuyers`,null).pipe(bt(e=>this.errorService.handleError(e,this.bannerService,"Sourcing Buyers")))}createDeal(t){return this.http.post(`${vt.auth.apiUri}/api/deals`,t).pipe(et(()=>this.onboardingService.checkAndCompleteOnboardingStep(Yn.DealsAdded)),bt(e=>this.errorService.handleError(e,this.bannerService,"Creating Deal")))}uploadDealDocument(t,e,n){let o=new ii({File:"yes","Use-Bearer":"yes"}),s=new FormData;return s.append("file",n),this.http.post(`${vt.auth.apiUri}/api/deals/${t}/documents?ownerId=${e}`,s,{headers:o,reportProgress:!0,responseType:"json"}).pipe(bt(h=>this.errorService.handleError(h,this.bannerService,"Uploading document")))}searchDeals(t){let e=new ii({"Skip-Loading-Service":"yes"});return this.http.post(`${vt.auth.apiUri}/api/Deals/Search`,t,{headers:e}).pipe(tt(n=>this.errorService.handleApiResponseError(n)),bt(n=>this.errorService.handleError(n,this.bannerService,"Getting Deals")))}deleteDealDocument(t,e){return this.http.delete(`${vt.auth.apiUri}/api/deals/${t}/documents/${e}`).pipe(bt(n=>this.errorService.handleError(n,this.bannerService,"Deleting document")))}};i.\u0275fac=function(e){return new(e||i)($(se))},i.\u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"});let a=i;return a})();var Fn=(()=>{let i=class i{constructor(t){this.http=t,this.auth=b(Pa),this.errorService=b(ge),this.bannerService=b(Yt)}get(t){let e=new ii({"Content-Type":"application/json","Use-Bearer":"yes"});return this.http.get(`${vt.auth.apiUri}/api/documents/${t}`,{headers:e}).pipe(bt(n=>this.errorService.handleError(n,this.bannerService,"Getting Document")))}update(t){let e=new ii({"Content-Type":"application/json","Use-Bearer":"yes"});return this.http.put(`${vt.auth.apiUri}/api/documents/${t.documentId}`,t,{headers:e}).pipe(bt(n=>this.errorService.handleError(n,this.bannerService,"Updating Document")))}create(t){let e=new ii({"Content-Type":"application/json","Use-Bearer":"yes"});return this.http.post(`${vt.auth.apiUri}/api/documents`,t,{headers:e}).pipe(bt(n=>this.errorService.handleError(n,this.bannerService,"Creating Document")))}delete(t){let e=new ii({"Content-Type":"application/json","Use-Bearer":"yes"});return this.http.delete(`${vt.auth.apiUri}/api/documents/${t}`,{headers:e}).pipe(bt(n=>this.errorService.handleError(n,this.bannerService,"Deleting Document")))}downloadFile(t){let e;return this.auth.getAccessTokenSilently().pipe(et(n=>{e=n}),tt(()=>{let n=new Headers({Accept:"application/pdf","Use-Bearer":"yes","Content-Type":"application/json",Authorization:"Bearer "+e});return at(fetch(`${vt.auth.apiUri}/api/Documents/DownloadFile?id=${t}`,{headers:n}))}),bt(n=>this.errorService.handleError(n,this.bannerService,"Issue Downloading File")))}getHtmlFile(t){let e=new ii({"Content-Type":"text"}),n=`${vt.auth.apiUri}/api/Documents/DownloadFile?id=${t}`;return this.http.get(n,{responseType:"text",headers:e})}isFileTypeAllowed(t,e){let n=t.split(",").map(s=>s.trim()),o=e.type;return n.includes(o)}};i.\u0275fac=function(e){return new(e||i)($(se))},i.\u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"});let a=i;return a})();var Uo=class{},Di=class{};var qo=(()=>{let i=class i{constructor(t){this.http=t,this.errorService=b(ge),this.bannerService=b(Yt)}get getIndustries(){return this.industryList$||(this.industryList$=this.requestIndustrys().pipe(Ii(1))),this.industryList$}requestIndustrys(){return this.http.get(`${vt.auth.apiUri}/api/Industrys`).pipe(ut(t=>t=t.sort((e,n)=>e.name.replace("-- ","").localeCompare(n.name.replace("-- ","")))),bt(t=>this.errorService.handleError(t,this.bannerService,"Getting Industries Failed")))}setIndustriesToTreeNodes(t){let e=[];t.map(s=>{let h=new Uo;h.id=s.industryId,h.parentId=s.parentIndustryId,h.name=s.name,e.push(h)});let n=(s,h=null,g="parentId")=>s.filter(v=>v[g]===h).map(v=>ve(ht({},v),{children:n(s,v.id)}));return n(e)}formatIndustries(t,e,n){if(!t.length)return{label:"",count:0};let o=t.sort((G,lt)=>G.name.localeCompare(lt.name)),h=n?.filter(G=>e?.indexOf(G.industryId)!==-1)?.map(G=>G.name),g=o.filter(G=>h?.indexOf(G.name)!==-1),v=g.length>0?g[0].name:o[0].name,D=o.length-1;return{label:v,count:D<0?0:D}}};i.\u0275fac=function(e){return new(e||i)($(se))},i.\u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"});let a=i;return a})();var zd=(a,i)=>i.industryId;function ru(a,i){a&1&&(c(0,"mat-option"),p(1,"-- None --"),d())}function su(a,i){if(a&1&&(c(0,"mat-option",3),p(1),d()),a&2){let r=i.$implicit;u("value",r.industryId),m(),nt(r.name)}}function cu(a,i){a&1&&(c(0,"mat-error"),p(1,"Please select one."),d())}function du(a,i){if(a&1&&(c(0,"mat-option",3),p(1),d()),a&2){let r=i.$implicit;u("value",r.industryId),m(),nt(r.name)}}function lu(a,i){if(a&1){let r=F();c(0,"mat-form-field",5)(1,"mat-label"),p(2," Specific Industry"),d(),c(3,"mat-select",6),_("selectionChange",function(e){C(r);let n=f();return k(n.onChildSelectionChange(e.value))}),c(4,"mat-option"),p(5,"-- Other --"),d(),Jt(6,du,2,2,"mat-option",3,zd),d()()}if(a&2){let r=f();m(6),te(r.childIndustries)}}var $o=(()=>{let i=class i{constructor(){this.industries=[],this.selectedId=null,this.isRequired=!0,this.selection=new O,this.parentIndustries=[],this.childIndustries=[],this.industryForm=this.setForm(),this.matcher=new Zn,this.onEnter=Pn}ngOnInit(){let t=this.industries.find(e=>e.name.includes("Other / Unclassified"));if(t){let e=this.industries.indexOf(t);this.industries.splice(e,1),this.industries.push(t)}this.parentIndustries=this.industries.filter(e=>!e.parentIndustryId),this.handleSelection()}findIndustryByName(t){}onParentSelectionChange(t){this.childIndustries=this.industries.filter(e=>e.parentIndustryId===t),this.handleEmittedSelection(t)}onChildSelectionChange(t){this.handleEmittedSelection(t)}handleEmittedSelection(t){if(this.industryForm.get("childIndustry").value)this.selection.emit(this.industryForm.get("childIndustry").value);else{let e=this.industryForm.get("parentIndustry").value??null;this.selection.emit(e)}}handleSelection(){if(this.selectedId===null)return;let t=this.industries.find(e=>e.industryId===this.selectedId);t&&(t.parentIndustryId?(this.childIndustries=this.industries.filter(e=>e.parentIndustryId===t.parentIndustryId),this.industryForm.setValue({parentIndustry:t.parentIndustryId,childIndustry:t.industryId})):(this.childIndustries=this.industries.filter(e=>e.parentIndustryId===t.industryId),this.industryForm.setValue({parentIndustry:t.industryId,childIndustry:null})))}setForm(){let t=this.isRequired?[Wt.required]:[];return new ai({parentIndustry:new Ct(null,t),childIndustry:new Ct(null)})}};i.\u0275fac=function(e){return new(e||i)},i.\u0275cmp=w({type:i,selectors:[["vq-single-industry-selector"]],inputs:{industries:"industries",selectedId:"selectedId",isRequired:"isRequired"},outputs:{selection:"selection"},standalone:!0,features:[S],decls:10,vars:4,consts:[[3,"formGroup"],["appearance","outline",1,"margin-bottom-sm","select"],["formControlName","parentIndustry",3,"selectionChange"],[3,"value"],[4,"ngIf"],["appearance","outline",1,"select"],["formControlName","childIndustry",3,"selectionChange"]],template:function(e,n){e&1&&(c(0,"form",0)(1,"mat-form-field",1)(2,"mat-label"),p(3," Industry"),d(),c(4,"mat-select",2),_("selectionChange",function(s){return n.onParentSelectionChange(s.value)}),y(5,ru,2,0,"mat-option"),Jt(6,su,2,2,"mat-option",3,zd),d(),y(8,cu,2,0,"mat-error",4),d(),y(9,lu,8,0,"mat-form-field",5),d()),e&2&&(u("formGroup",n.industryForm),m(5),B(n.isRequired?-1:5),m(),te(n.parentIndustries),m(2),u("ngIf",n.industryForm.hasError("required")),m(),B(n.childIndustries.length>0?9:-1))},dependencies:[qn,oi,ue,ni,ri,Pi,Sc,_e,je,Ni,Za,kn,ji,ke,Pt,xt],styles:[".select[_ngcontent-%COMP%]{width:100%}"]});let a=i;return a})();function hu(a,i){if(a&1&&(c(0,"span",4,0)(2,"mat-icon",5),p(3,"check"),d(),p(4),d()),a&2){let r=f();m(4),dt(" ",r.saveCompleteText,`
`)}}function pu(a,i){if(a&1&&(c(0,"span",6,1),x(2,"mat-spinner",7),p(3),d()),a&2){let r=f();m(3),dt(" ",r.processingText,`
`)}}var Yi=(()=>{let i=class i{constructor(t,e){this.savedChangesService=t,this.changeDetectorRef=e}get processingText(){return this.savedChangesService.processingText}get isSaveProcessing(){return this.savedChangesService.isSaveProcessing}get isSaveComplete(){return this.savedChangesService.isSaveComplete}get saveCompleteText(){return this.savedChangesService.saveCompleteText}ngAfterViewChecked(){this.changeDetectorRef.detectChanges()}};i.\u0275fac=function(e){return new(e||i)(l(ui),l(q))},i.\u0275cmp=w({type:i,selectors:[["vq-saved-label"]],standalone:!0,features:[S],decls:2,vars:2,consts:[["saved",""],["saving",""],["class","save",4,"ngIf"],["class","saving",4,"ngIf"],[1,"save"],[1,"material-symbols-outlined"],[1,"saving"],["diameter","15"]],template:function(e,n){e&1&&y(0,hu,5,1,"span",2)(1,pu,4,1,"span",3),e&2&&(u("ngIf",n.isSaveComplete),m(),u("ngIf",n.isSaveProcessing))},dependencies:[hi,Gt,Pt,xt,Ka,Dn],styles:[".saving[_ngcontent-%COMP%], .save[_ngcontent-%COMP%]{margin-top:5px;margin-left:5px;font-size:13px;color:#1788fb;display:flex;align-items:center;gap:.5rem}.mat-icon[_ngcontent-%COMP%]{color:#1788fb;font-size:14px;line-height:15px;width:15px;height:15px;font-weight:700}"]});let a=i;return a})();var Go=(()=>{let i=class i{constructor(t){this.ngControl=t,this.trimValueAccessor(t.valueAccessor)}trimValueAccessor(t){let e=t.registerOnChange;t.registerOnChange=n=>e.call(t,o=>n(typeof o=="string"?o.trim():o))}};i.\u0275fac=function(e){return new(e||i)(l(Ea))},i.\u0275dir=I({type:i,selectors:[["","trimWhiteSpace",""]]});let a=i;return a})();function uu(a,i){if(a&1&&(c(0,"mat-option",33),p(1),d()),a&2){let r=i.$implicit;u("value",r.dealStatusId),m(),dt(" ",r.name," ")}}function gu(a,i){if(a&1&&(c(0,"mat-form-field",31)(1,"mat-label"),p(2,"Status"),d(),c(3,"mat-select",32),y(4,uu,2,2,"mat-option",24),d()()),a&2){let r=f(2);m(3),u("errorStateMatcher",r.matcher),m(),u("ngForOf",r.dealStatuses)}}function fu(a,i){if(a&1&&(c(0,"mat-option",33),p(1),d()),a&2){let r=i.$implicit;u("value",r.countryId),m(),dt(" ",r.name," ")}}function _u(a,i){if(a&1&&(c(0,"mat-option",33),p(1),d()),a&2){let r=i.$implicit;u("value",r.stateId),m(),dt(" ",r.name," ")}}function bu(a,i){a&1&&(c(0,"mat-error"),p(1,"Please enter a valid revenue amount"),d())}function vu(a,i){a&1&&(c(0,"mat-error"),p(1,"EBITDA enter a valid amount."),d())}function yu(a,i){a&1&&(c(0,"mat-error"),p(1,"Please only upload .pdf files"),d())}function wu(a,i){a&1&&(c(0,"mat-error"),p(1,"Please select an attachment."),d())}function xu(a,i){if(a&1){let r=F();c(0,"div",34)(1,"input",35,2),_("change",function(e){C(r);let n=f(2);return k(n.onFileSelection(e))}),d(),c(3,"label",36),p(4,"Upload a Business Teaser"),d(),x(5,"i",37),c(6,"mat-hint"),p(7,"Please only upload .pdf files"),d(),y(8,yu,2,0,"mat-error",27)(9,wu,2,0,"mat-error",27),d()}if(a&2){let r=f(2);m(),u("accept",r.acceptedFileTypes),m(7),u("ngIf",r.dealForm.get("files").hasError("invalidFileType")),m(),u("ngIf",r.dealForm.controls.files.hasError("required")&&r.dealForm.get("files").dirty)}}function Cu(a,i){if(a&1){let r=F();c(0,"div",40)(1,"p",41),p(2),d(),c(3,"mat-icon",42),_("click",function(){let e=C(r).index,n=f(3);return k(n.deleteLocalUploadFile(e))}),p(4,"close"),d()()}if(a&2){let r=i.$implicit;m(2),nt(r.name)}}function ku(a,i){if(a&1&&(c(0,"div",38),y(1,Cu,5,1,"div",39),d()),a&2){let r=f(2);m(),u("ngForOf",r.filesUploaded)}}function Du(a,i){if(a&1){let r=F();c(0,"form",12,1),y(2,gu,5,2,"mat-form-field",13),c(3,"mat-form-field",14)(4,"mat-label"),p(5,"Internal Deal Title"),d(),c(6,"input",15),_("keyup",function(e){C(r);let n=f();return k(n.onEnter(e))}),d()(),c(7,"div",16)(8,"span"),p(9,"The following information will be available to buyers"),d()(),c(10,"mat-form-field",17)(11,"mat-label"),p(12,"Headline"),d(),c(13,"textarea",18),_("keyup",function(e){C(r);let n=f();return k(n.onEnter(e))}),d()(),c(14,"mat-form-field",17)(15,"mat-label"),p(16,"Description"),d(),c(17,"textarea",19),_("keyup",function(e){C(r);let n=f();return k(n.onEnter(e))}),d()(),c(18,"div",20)(19,"vq-single-industry-selector",21),_("selection",function(e){C(r);let n=f();return k(n.receiveIndustySelection(e))}),d()(),c(20,"mat-form-field",22)(21,"mat-label"),p(22,"Country"),d(),c(23,"mat-select",23),_("selectionChange",function(e){C(r);let n=f();return k(n.countrySelection(e))}),y(24,fu,2,2,"mat-option",24),d()(),c(25,"mat-form-field",22)(26,"mat-label"),p(27,"State / Province / Region"),d(),c(28,"mat-select",25),_("selectionChange",function(e){C(r);let n=f();return k(n.stateSelection(e))}),y(29,_u,2,2,"mat-option",24),oe(30,"async"),d()(),c(31,"mat-form-field",17)(32,"mat-label"),p(33,"Revenue"),d(),c(34,"input",26),_("keyup",function(e){C(r);let n=f();return k(n.onEnter(e))}),d(),y(35,bu,2,0,"mat-error",27),d(),c(36,"mat-form-field",17)(37,"mat-label"),p(38,"EBITDA / SDE"),d(),c(39,"input",28),_("keyup",function(e){C(r);let n=f();return k(n.onEnter(e))}),d(),y(40,vu,2,0,"mat-error",27),d(),y(41,xu,10,3,"div",29)(42,ku,2,1,"div",30),d()}if(a&2){let r=f();u("formGroup",r.dealForm),m(2),u("ngIf",r.dealId),m(4),u("errorStateMatcher",r.matcher),m(7),u("errorStateMatcher",r.matcher),m(4),u("errorStateMatcher",r.matcher),m(2),u("industries",r.industryList)("selectedId",r.industriesFormNameControl.value),m(4),u("errorStateMatcher",r.matcher),m(),u("ngForOf",r.countries),m(4),u("errorStateMatcher",r.matcher),m(),u("ngForOf",re(30,17,r.stateList$)),m(5),u("errorStateMatcher",r.matcher),m(),u("ngIf",r.dealForm.controls.revenue.hasError("invalidCurrency")),m(4),u("errorStateMatcher",r.matcher),m(),u("ngIf",r.dealForm.controls.ebitda.hasError("invalidCurrency")),m(),u("ngIf",!r.dealId&&r.filesUploaded.length<1),m(),u("ngIf",!r.dealId)}}function Su(a,i){a&1&&(c(0,"div",43),x(1,"mat-spinner"),d(),x(2,"div",44))}var Vd=(()=>{let i=class i{constructor(t,e){this.dialogRef=t,this.data=e,this.router=b(Ne),this.addressService=b(Ja),this.openDialogService=b(de),this.documentService=b(Fn),this.formService=b(to),this.dealService=b(Ho),this.destroyRef=b(Ke),this.savedChangesService=b(ui),this.industryService=b(qo),this.brokerEmployeeService=b(Ve),this.onboardingService=b(Sn),this.brokerEmployee=null,this.filesUploaded=[],this.acceptedFileTypes=".pdf, application/pdf",this._selectedState=null,this._stateList=[],this.stateList$=null,this.industryList=[],this.countries=[],this.dealStatuses=[],this.matcher=new Zn,this.busy=!1,this.onEnter=Pn,this.isDirty=!1,this.dealForm=this.setForm(),this.dialogCloseEvent=new be,this.dealId=e.dealId,this.deal=e.deal}get isSaveProcessing(){return this.savedChangesService.isSaveProcessing}get industriesFormNameControl(){return this.dealForm.get("industry")}ngOnInit(){this.dealId?this.loadData$=this.loadExistingDealForm$():this.loadData$=this.loadNewDealForm$()}ngAfterViewInit(){this.dealForm.valueChanges.pipe(et(()=>{this.handleInactiveStatus()}),Me(this.destroyRef)).subscribe(()=>{this.isDirty=this.formService.checkIsFormDirty(this.dealForm,this.dealFormOriginalValue),this.isDirty&&(this.dialogRef.disableClose=!0)})}loadCountries$(){return this.addressService.getCountries$().pipe(et(t=>this.countries=t))}loadStates$(t){return this.addressService.getStates(t).pipe(et(e=>this._stateList=e))}loadIndustries$(){return this.industryService.getIndustries.pipe(et(t=>{this.industryList=t}))}loadExistingDealForm$(){return this.stateList$=this.loadStates$(this.deal.state.country.countryId),this.loadCountries$().pipe(tt(()=>this.loadIndustries$()),tt(()=>this.getBrokerEmployee$()),tt(()=>this.getDealStatuses$()),et(()=>{this.dealForm.setValue({title:this.deal.title,headline:this.deal.headline,description:this.deal.description,revenue:this.deal.revenue,industry:this.deal.industry.industryId,country:this.deal.state.country.countryId,state:this.deal.state.stateId,ebitda:this.deal.ebitda,files:this.deal.documents.length>0?"1":"",dealStatusId:this.deal.status.dealStatusId},{emitEvent:!1}),this.dealFormOriginalValue=ht({},this.dealForm.value),this.handleInactiveStatus()}))}loadNewDealForm$(){return this.dealFormOriginalValue=ht({},this.dealForm.value),this.loadCountries$().pipe(tt(()=>this.loadIndustries$()),tt(()=>this.getBrokerEmployee$()),tt(()=>this.getDealStatuses$()))}handleInactiveStatus(){if(!this.dealId)return;this.dealStatuses.filter(e=>e.category.id===ra.Closed).map(e=>e.dealStatusId).includes(this.dealForm.get("dealStatusId").value)?(this.dealForm.get("state").disable({emitEvent:!1}),this.dealForm.get("ebitda").disable({emitEvent:!1}),this.dealForm.get("industry").disable({emitEvent:!1}),this.dealForm.get("title").disable({emitEvent:!1}),this.dealForm.get("headline").disable({emitEvent:!1}),this.dealForm.get("description").disable({emitEvent:!1}),this.dealForm.get("revenue").disable({emitEvent:!1}),this.dealForm.get("files").disable({emitEvent:!1}),this.dealForm.get("country").disable({emitEvent:!1})):(this.dealForm.get("state").enable({emitEvent:!1}),this.dealForm.get("ebitda").enable({emitEvent:!1}),this.dealForm.get("industry").enable({emitEvent:!1}),this.dealForm.get("title").enable({emitEvent:!1}),this.dealForm.get("headline").enable({emitEvent:!1}),this.dealForm.get("description").enable({emitEvent:!1}),this.dealForm.get("revenue").enable({emitEvent:!1}),this.dealForm.get("files").enable({emitEvent:!1}),this.dealForm.get("country").enable({emitEvent:!1}))}onSave(){this.dealForm.invalid||(this.dealId?this.updateDeal():this.saveNewDeal())}setForm(t=!0){return this.filesUploaded=[],this.dealId&&this.filesUploaded.push(...this.deal.documents),new ai({title:new Ct("",[Wt.required]),headline:new Ct("",[Wt.required]),description:new Ct("",[]),revenue:new Ct(null,[]),industry:new Ct("",[Wt.required]),country:new Ct("",[Wt.required]),state:new Ct({value:"",disabled:!0},[Wt.required]),ebitda:new Ct(null,[Wt.required]),files:new Ct("",[Wt.required]),dealStatusId:new Ct("",[])})}countrySelection(t){this.stateList$=this.loadStates$(t.value),this.dealForm.controls.state.enable()}stateSelection(t){this._selectedState=this._stateList.find(e=>e.stateId===t.value)}onFileSelection(t){let e=t.target.files;e.length>0&&(this.documentService.isFileTypeAllowed(this.acceptedFileTypes,e[0])?(Object.values(e).forEach(n=>{this.filesUploaded.push(n),this.dealForm.controls.files.patchValue("1"),this.dealForm.get("files").markAsDirty()}),this.dealForm.controls.files.setErrors(null),this.dealForm.updateValueAndValidity()):(this.dealForm.controls.files.setErrors({invalidFileType:!0}),this.dealForm.updateValueAndValidity()))}deleteFileUpload(t){this.documentService.delete(t).subscribe(()=>{this.filesUploaded=this.filesUploaded.filter(e=>e.documentId!==t)})}deleteLocalUploadFile(t){this.filesUploaded.splice(t,1),this.filesUploaded.length===0&&(this.dealForm.patchValue({files:""}),this.dealForm.controls.files.setErrors({required:!0}))}confirmationCreateText(){return`
        <div>We've matched your deal with the best prospective buyers in your brokerage database.</div>
        <br />
        <div>
            Review the prospective buyer list. You may choose to add Vequity-sourced buyers to increase the competition for
            your deal.
        </div>`}saveNewDeal(){let t=this;this.createDeal$().pipe(gt(e=>!!e),et(e=>{this.deal=e}),tt(e=>this.dealService.uploadDealDocument(e.dealId,this.brokerEmployee.brokerEmployeeId,this.filesUploaded[0])),Me(this.destroyRef)).subscribe({next:e=>{this.dialogCloseEvent.event="saved",this.closeDialog(this.dialogCloseEvent);let n=this.openDialogService.openOkCancelDialogComponent("You have created a deal!",t.confirmationCreateText(),()=>{},"Review Matched Buyers",()=>{},"View Deal",null,"500px","auto","95vw","90svh"),o=new Bo(this.deal.stateId,this.deal.industryId,this.deal.ebitda).toQueryParams();n.afterClosed().subscribe(s=>{s&&s.event==="ok"?this.router.navigateByUrl(`/broker/find-buyers/${this.deal.dealId}?${o}`):s&&s.event==="cancelled"&&this.router.navigateByUrl(`/broker/deal/${this.deal.dealId}/details`)})}})}updateDeal(){let t=ve(ht({},this.deal),{dealId:this.deal.dealId,brokerId:this.deal.brokerId,brokerEmployeeId:this.deal.brokerEmployeeId,title:this.dealForm.get("title").value,headline:this.dealForm.get("headline").value,description:this.dealForm.get("description").value,revenue:Math.round(this.dealForm.get("revenue").value),industryId:this.dealForm.get("industry").value,stateId:this.dealForm.get("state").value,ebitda:Math.round(this.dealForm.get("ebitda").value),dealStatusId:this.dealForm.get("dealStatusId").value,isActive:!0});this.dealService.updateDeal(t).pipe(Me(this.destroyRef)).subscribe({next:()=>{this.dialogCloseEvent.event="saved",this.closeDialog(this.dialogCloseEvent)}})}createDeal$(){let t={brokerId:this.brokerEmployee.brokerId,brokerEmployeeId:this.brokerEmployee.brokerEmployeeId,title:this.dealForm.get("title").value,headline:this.dealForm.get("headline").value,description:this.dealForm.get("description").value,revenue:Math.round(this.dealForm.get("revenue").value),industryId:this.dealForm.get("industry").value,stateId:this.dealForm.get("state").value,ebitda:Math.round(this.dealForm.get("ebitda").value),dealStatusId:this.dealStatuses.find(e=>e.name==="Active").dealStatusId};return this.dealService.createDeal(t)}getDealStatuses$(){return this.dealService.getDealStatuses().pipe(et(t=>{this.dealStatuses=t}))}getBrokerEmployee$(){return this.brokerEmployeeService.getLoggedInBrokerEmployee().pipe(et(t=>this.brokerEmployee=t))}closeDialog(t={event:"cancelled"}){this.isDirty&&t.event!=="saved"?this.openDialogService.openOkCancelDialogComponent("Unsaved Changes","You have unsaved changes. Do you wish to discard them?",()=>{},"Leave",()=>{},"Stay").afterClosed().subscribe(n=>{n&&n.event==="ok"&&this.dialogRef.close(t)}):this.dialogRef.close(t)}receiveIndustySelection(t){this.dealForm.controls.industry.patchValue(t)}};i.\u0275fac=function(e){return new(e||i)(l(Vt),l(ne))},i.\u0275cmp=w({type:i,selectors:[["vq-modify-deal"]],decls:18,vars:7,consts:[["busy",""],["form","ngForm"],["fileUpload",""],["header",""],[1,"header-text"],["type","button","mat-icon-button","",1,"dialog-close",3,"click"],[1,"material-symbols-outlined"],["main",""],[3,"formGroup",4,"ngIf","ngIfElse"],["footer",""],[1,"btn-group","padding-top-sm"],["matRipple","","type","submit",1,"add",3,"click","disabled"],[3,"formGroup"],["appearance","outline",4,"ngIf"],["appearance","outline",1,"margin-bottom-sm"],["matInput","","formControlName","title","trimWhiteSpace","","maxlength","50",3,"keyup","errorStateMatcher"],[1,"sub-title","margin-bottom-lg"],["appearance","outline",1,"margin-bottom-xs"],["matInput","","formControlName","headline","placeholder","Public Headline","trimWhiteSpace","","maxlength","60","cdkTextareaAutosize","",3,"keyup","errorStateMatcher"],["matInput","","formControlName","description","placeholder","Public Description","trimWhiteSpace","","rows","5","maxlength","550","cdkTextareaAutosize","",3,"keyup","errorStateMatcher"],[1,"margin-bottom-xs","industry-container"],[3,"selection","industries","selectedId"],["appearance","outline",1,"location"],["formControlName","country","name","country",3,"selectionChange","errorStateMatcher"],[3,"value",4,"ngFor","ngForOf"],["formControlName","state","name","state",3,"selectionChange","errorStateMatcher"],["matInput","","formControlName","revenue","maxlength","14","prefix","$ ","mask","separator.0","thousandSeparator",",",3,"keyup","errorStateMatcher"],[4,"ngIf"],["matInput","","formControlName","ebitda","maxlength","14","prefix","$ ","mask","separator.0","thousandSeparator",",",3,"keyup","errorStateMatcher"],["class","file-upload",4,"ngIf"],["class","upload-container",4,"ngIf"],["appearance","outline"],["formControlName","dealStatusId","name","status",3,"errorStateMatcher"],[3,"value"],[1,"file-upload"],["type","file","title","Upload a Business Teaser..","id","file-input","single","",1,"file-input",3,"change","accept"],["for","file-input"],[1,"i_upload","blue","small"],[1,"upload-container"],["class","file-container",4,"ngFor","ngForOf"],[1,"file-container"],[1,"file-name"],[1,"material-symbols-outlined","delete",3,"click"],[1,"progress-spinner"],[1,"overlay"]],template:function(e,n){if(e&1){let o=F();c(0,"vq-dialog-container")(1,"header",3)(2,"div",4)(3,"h3"),p(4),d(),x(5,"vq-saved-label"),d(),c(6,"button",5),_("click",function(){return C(o),k(n.closeDialog())}),c(7,"span",6),p(8,"close"),d()()(),c(9,"main",7),y(10,Du,43,19,"form",8),oe(11,"async"),d(),c(12,"footer",9)(13,"div",10)(14,"button",11),_("click",function(){return C(o),k(n.onSave())}),p(15),d()()()(),y(16,Su,3,0,"ng-template",null,0,ei)}if(e&2){let o=Bt(17);m(4),nt(n.dealId?"Edit Deal":"Add New Deal"),m(6),u("ngIf",re(11,5,n.loadData$))("ngIfElse",o),m(4),u("disabled",n.dealForm.invalid||n.isSaveProcessing||!n.isDirty),m(),dt(" ",n.dealId?"Update":"Create Deal and Find Buyers"," ")}},dependencies:[pn,xt,oi,Oi,ue,ni,Ra,ri,Pi,ke,xe,Gt,mi,_e,je,Cc,Ni,Ic,Dn,mt,ji,Tc,$o,Yi,Go,Qi,gn],styles:[".progress-spinner[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:80%;z-index:101;display:flex;align-items:center;justify-content:center}.overlay[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;z-index:101;background-color:#fff;opacity:.25}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}header[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-between;gap:1rem}header[_ngcontent-%COMP%]   .header-text[_ngcontent-%COMP%]{display:flex;align-items:center;flex-wrap:wrap}header[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-size:24px;line-height:32px;font-weight:600;margin:0}main[_ngcontent-%COMP%]{padding-top:12px;min-height:400px}main[_ngcontent-%COMP%]   .sub-title[_ngcontent-%COMP%]{font-size:18px;font-weight:600;line-height:120%}.loading[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;padding:4rem 0}.file-upload[_ngcontent-%COMP%]{text-align:left;color:#ccc;padding:10px;cursor:pointer;border:1px solid #ccc;border-radius:3px;position:relative;height:20px;margin-bottom:45px}.file-upload[_ngcontent-%COMP%]   .i_upload[_ngcontent-%COMP%]{color:#000;float:right;line-height:22px;font-size:19px}.file-upload[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{cursor:pointer;width:100%;position:absolute;inset:0 0 0 10px;display:flex;align-items:center}.file-upload[_ngcontent-%COMP%]   .file-input[_ngcontent-%COMP%]{display:none}.file-upload[_ngcontent-%COMP%]   mat-hint[_ngcontent-%COMP%]{position:absolute;bottom:-20px;left:0}.file-upload[_ngcontent-%COMP%]   mat-error[_ngcontent-%COMP%]{position:absolute;bottom:-20px;left:0}.bars[_ngcontent-%COMP%]{position:relative;height:8px;width:100%;margin-top:5px}.bars[_ngcontent-%COMP%]   .bar[_ngcontent-%COMP%]{width:100%;height:100%;position:absolute;border-radius:4px}.bars[_ngcontent-%COMP%]   .blank-bar[_ngcontent-%COMP%]{background-color:#f7f7f7}.bars[_ngcontent-%COMP%]   .filled-bar[_ngcontent-%COMP%]{z-index:1;background-color:#0bcba3}.upload-container[_ngcontent-%COMP%]{margin-bottom:40px}.upload-container[_ngcontent-%COMP%]   .file-container[_ngcontent-%COMP%]{display:flex;justify-content:space-between;width:calc(99% - 20px);border:2px solid #0bcba3;border-radius:30px;align-items:center;padding:0 10px;margin-bottom:10px;height:40px}.upload-container[_ngcontent-%COMP%]   .file-container[_ngcontent-%COMP%]   .file-name[_ngcontent-%COMP%]{width:60%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.upload-container[_ngcontent-%COMP%]   .file-container[_ngcontent-%COMP%]   .delete[_ngcontent-%COMP%]{cursor:pointer;padding:5px;border-radius:16px}.upload-container[_ngcontent-%COMP%]   .file-container[_ngcontent-%COMP%]   .delete[_ngcontent-%COMP%]:hover{background-color:#ededed}button.add[_ngcontent-%COMP%]{border:none;border-radius:3px;display:flex;padding:7px 12px;justify-content:center;align-items:center;gap:10px;background-color:#0bcba3;font-size:20px;color:#fff;width:100%;max-width:400px;margin-left:auto;margin-right:auto;height:50px;cursor:pointer}button.add[_ngcontent-%COMP%]:disabled{opacity:.5;cursor:unset!important}.btn-group[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}"]});let a=i;return a})();function Iu(a,i){if(a&1&&x(0,"i"),a&2){let r=f();zt(r.data.icon)}}var jd=(()=>{let i=class i{constructor(t,e){this.dialogRef=t,this.data=e,this.dialogCloseEvent=new be,t.backdropClick().pipe(et(()=>{this.dialogCloseEvent.event="cancelled",this.dialogRef.close(this.dialogCloseEvent)}),rt(1)).subscribe()}cancelClick(){this.dialogCloseEvent.event="cancelled",this.dialogRef.close(this.dialogCloseEvent),this.data.cancelClick&&this.data.cancelClick()}okClick(){this.dialogCloseEvent.event="ok",this.dialogRef.close(this.dialogCloseEvent),this.data.okClick&&this.data.okClick()}};i.\u0275fac=function(e){return new(e||i)(l(Vt),l(ne))},i.\u0275cmp=w({type:i,selectors:[["vq-ok-cancel-dialog"]],decls:15,vars:5,consts:[[1,"dialog-container"],["type","button","mat-icon-button","","mat-dialog-close","",1,"dialog-close"],[1,"material-symbols-outlined"],[1,"body"],[1,"head"],[3,"class",4,"ngIf"],[1,"title","margin-top-xs"],[1,"content",3,"innerHtml"],[1,"buttons"],["matRipple","",1,"vq-secondary-inverse-btn","round-btn",3,"click"],["matRipple","",1,"vq-secondary-btn","round-btn",3,"click"]],template:function(e,n){e&1&&(c(0,"div",0)(1,"button",1)(2,"span",2),p(3,"close"),d()(),c(4,"div",3)(5,"div",4),y(6,Iu,1,2,"i",5),c(7,"p",6),p(8),d()(),x(9,"div",7),d(),c(10,"div",8)(11,"button",9),_("click",function(){return n.cancelClick()}),p(12),d(),c(13,"button",10),_("click",function(){return n.okClick()}),p(14),d()()()),e&2&&(m(6),u("ngIf",n.data.icon!==null),m(2),nt(n.data.title),m(),u("innerHtml",n.data.message,Mi),m(3),dt(" ",n.data.cancelText," "),m(2),nt(n.data.okText))},dependencies:[xt,xe,Se,mt],styles:[".dialog-container[_ngcontent-%COMP%]{height:100%;display:flex;flex-direction:column;justify-content:space-between}.dialog-container[_ngcontent-%COMP%]   .body[_ngcontent-%COMP%]{height:99%;overflow-y:auto;margin-bottom:15px;-ms-overflow-style:none;scrollbar-width:none}.dialog-container[_ngcontent-%COMP%]   .body[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}.dialog-container[_ngcontent-%COMP%]   .body[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{margin:0 0 16px;font-weight:600;font-size:26px;line-height:30px}.dialog-container[_ngcontent-%COMP%]   .body[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]{font-size:1.6rem;line-height:21px}.dialog-container[_ngcontent-%COMP%]   .buttons[_ngcontent-%COMP%]{display:flex;justify-content:space-between;gap:16px}.dialog-container[_ngcontent-%COMP%]   .buttons[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{flex:1;align-items:center;padding:8px 16px}.dialog-container[_ngcontent-%COMP%]   .dialog-close[_ngcontent-%COMP%]{position:absolute;top:0;right:0}@media screen and (min-width: 1024px){.dialog-container[_ngcontent-%COMP%]   .buttons[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{padding:16px}}"]});let a=i;return a})();function Mu(a,i){if(a&1&&x(0,"i"),a&2){let r=f();zt(r.data.icon)}}var Bd=(()=>{let i=class i{constructor(t,e){this.dialogRef=t,this.data=e,this.dialogCloseEvent=new be,t.backdropClick().pipe(et(()=>{this.dialogCloseEvent.event="cancelled",this.dialogRef.close(this.dialogCloseEvent)}),rt(1)).subscribe()}okClick(){this.dialogCloseEvent.event="ok",this.dialogRef.close(this.dialogCloseEvent),this.data.okClick&&this.data.okClick()}};i.\u0275fac=function(e){return new(e||i)(l(Vt),l(ne))},i.\u0275cmp=w({type:i,selectors:[["vq-ok-dialog"]],decls:10,vars:4,consts:[[1,"dialog-container"],[1,"body","no-scroll-bar"],[1,"head"],[3,"class",4,"ngIf"],[1,"title","margin-top-xs"],[1,"content",3,"innerHtml"],[1,"buttons"],[1,"btn","ok-btn","pointer",3,"click"]],template:function(e,n){e&1&&(c(0,"div",0)(1,"div",1)(2,"div",2),y(3,Mu,1,2,"i",3),c(4,"h3",4),p(5),d()(),x(6,"div",5),d(),c(7,"div",6)(8,"div",7),_("click",function(){return n.okClick()}),p(9),d()()()),e&2&&(m(3),u("ngIf",n.data.icon!==null),m(2),nt(n.data.title),m(),u("innerHtml",n.data.message,Mi),m(3),nt(n.data.okText))},dependencies:[xt],styles:[".dialog-container[_ngcontent-%COMP%]{height:100%;display:flex;flex-direction:column;justify-content:space-between}.dialog-container[_ngcontent-%COMP%]   .body[_ngcontent-%COMP%]{height:99%;overflow-y:auto;margin-bottom:15px}.dialog-container[_ngcontent-%COMP%]   .body[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{margin:0 0 16px;font-weight:600;font-size:26px;line-height:30px}.dialog-container[_ngcontent-%COMP%]   .body[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]{font-size:1.6rem;line-height:21px}.dialog-container[_ngcontent-%COMP%]   .buttons[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}.dialog-container[_ngcontent-%COMP%]   .buttons[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{padding:10px 35px;border-radius:3px;font-size:1.8rem}.dialog-container[_ngcontent-%COMP%]   .buttons[_ngcontent-%COMP%]   .ok-btn[_ngcontent-%COMP%]{background-color:#000;color:#fff}"]});let a=i;return a})();var Hd=(()=>{let i=class i{constructor(){this.dialogRef=b(Vt)}openLink(t){window.open(t,"_blank")}closeDialog(){this.dialogRef.close()}};i.\u0275fac=function(e){return new(e||i)},i.\u0275cmp=w({type:i,selectors:[["vq-privacy-policy"]],decls:15,vars:0,consts:[[1,"popup","app-dialog"],["type","button","mat-icon-button","","mat-dialog-close","",1,"dialog-close",3,"click"],[1,"material-symbols-outlined"],["matRipple","",1,"btn",3,"click"]],template:function(e,n){e&1&&(c(0,"div",0)(1,"header"),p(2," Privacy & Data "),c(3,"button",1),_("click",function(){return n.closeDialog()}),c(4,"span",2),p(5,"close"),d()()(),c(6,"main")(7,"button",3),_("click",function(){return n.openLink("https://app.getterms.io/view/u7nR2/privacy/en-us")}),p(8," Privacy Policy "),d(),c(9,"button",3),_("click",function(){return n.openLink("https://app.getterms.io/view/u7nR2/tos/en-us")}),p(10," Terms of Service "),d(),c(11,"button",3),_("click",function(){return n.openLink("https://app.getterms.io/view/u7nR2/cookie/en-us")}),p(12," Cookies "),d(),c(13,"button",3),_("click",function(){return n.openLink("https://app.getterms.io/view/u7nR2/aup/en-us")}),p(14,"Usage"),d()()())},dependencies:[xe,Se,mt],styles:[".popup[_ngcontent-%COMP%]{display:flex;flex-direction:column;width:auto}header[_ngcontent-%COMP%]{font-size:20px;font-weight:700;display:flex;align-items:center;justify-content:space-between;padding-bottom:1.5rem;gap:80px}.hidden[_ngcontent-%COMP%]{display:none}main[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center}.btn[_ngcontent-%COMP%]{text-align:center;padding:10px;cursor:pointer;background-color:#fff;font-size:18px;font-weight:700;border-radius:3px;margin-bottom:10px;border:2px solid #1788fb;color:#1788fb;width:200px}.btn[_ngcontent-%COMP%]:active{background-color:#1788fb}.btn[_ngcontent-%COMP%]:focus{outline:0}"]});let a=i;return a})();var Ud=(()=>{let i=class i{constructor(t){this.http=t,this.errorService=b(ge),this.bannerService=b(Yt),this.riverGuideService=b(jo)}createSignatureAgreement(t){return this.http.post(`${vt.auth.apiUri}/api/VequityNetworkAgreementSignatures`,t).pipe(gt(e=>!!e&&e.brokerVequityNetworkAgreementSignatureId),tt(e=>this.riverGuideService.sendSFASignedEmail(e.brokerVequityNetworkAgreementSignatureId)),bt(e=>this.errorService.handleError(e,this.bannerService,"Creating Vequity Network Agreement")))}};i.\u0275fac=function(e){return new(e||i)($(se))},i.\u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"});let a=i;return a})();var qd=(()=>{let i=class i{constructor(t){this.http=t,this.errorService=b(ge),this.bannerService=b(Yt)}get getSysConfig$(){return this.sysConfig$||(this.sysConfig$=this.fetchSysConfig().pipe(Ii(1))),this.sysConfig$}get vequityBrokerConstants(){return{vequityBrokerId:"VequityBrokerId",vequityBrokerReferralCode:"VequityBrokerReferralCode"}}fetchSysConfig(){return this.http.get(`${vt.auth.apiUri}/api/Settings`).pipe(bt(t=>this.errorService.handleError(t,this.bannerService,"Getting System Config")))}getSuccessFeeSetting(){return this.getSysConfig$.pipe(ut(t=>t.find(e=>e.name==="ActiveSuccessFeeAgreementId")))}};i.\u0275fac=function(e){return new(e||i)($(se))},i.\u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"});let a=i;return a})();var $d=(()=>{let i=class i{constructor(t){this.http=t,this.errorService=b(ge),this.bannerService=b(Yt)}getNetworkAgreement(t){return this.http.get(`${vt.auth.apiUri}/api/VequityNetworkAgreement/${t}`).pipe(bt(e=>this.errorService.handleError(e,this.bannerService,"Retrieving Vequity Network Agreement Document")))}};i.\u0275fac=function(e){return new(e||i)($(se))},i.\u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"});let a=i;return a})();function Eu(a,i){if(a&1){let r=F();c(0,"div",1)(1,"main"),x(2,"div",2),c(3,"span",3)(4,"mat-checkbox",4),ti("ngModelChange",function(e){C(r);let n=f();return Je(n.agreedToTerms,e)||(n.agreedToTerms=e),k(e)}),_("ngModelChange",function(e){C(r);let n=f();return k(n.agreeChange(e))}),c(5,"span",5),p(6," I agree to Vequity's Services Agreement "),d()()(),c(7,"form",6)(8,"mat-form-field",7)(9,"mat-label"),p(10,"Date"),d(),x(11,"input",8),d(),c(12,"mat-form-field",7)(13,"mat-label"),p(14,"Signature"),d(),x(15,"input",9),d()(),c(16,"div",10)(17,"button",11),_("click",function(){C(r);let e=f();return k(e.onConfirm())}),p(18," Confirm "),d()()()()}if(a&2){let r=f();m(2),u("innerHTML",r.docHtml,Mi),m(2),Xe("ngModel",r.agreedToTerms),m(3),u("formGroup",r.agreementForm),m(10),u("disabled",!r.agreementForm.valid||!r.agreedToTerms)}}var Gd=(()=>{let i=class i{constructor(t,e){this.sanitizer=t,this.dialogRef=e,this.destroyRef=b(Ke),this.settingsService=b(qd),this.networkAgreementService=b($d),this.documentService=b(Fn),this.openDialogService=b(de),this.vequityNetworkAgreementSignatureService=b(Ud),this.brokerService=b(Bi),this.userService=b(_n),this.todayDate=new Date,this.agreedToTerms=!1,this.agreementForm=this.newForm(),this.dialogEvent=new be}ngOnInit(){this.getSuccessFeeAgreement(),this.agreementForm.disable()}getSuccessFeeAgreement(){this.brokerService.getBrokerage$().pipe(et(t=>this.brokerId=t.brokerId),tt(()=>this.settingsService.getSuccessFeeSetting()),tt(t=>this.networkAgreementService.getNetworkAgreement(t.valueOf)),et(t=>{if(!t)return this.dialogRef.close(),null;this.successFeeAgreementId=t.successFeeAgreementId}),gt(t=>!!t),tt(t=>this.documentService.getHtmlFile(t.documentId)),Me(this.destroyRef)).subscribe(t=>{let o=new DOMParser().parseFromString(t,"text/html").querySelector("html");o&&(this.docHtml=this.sanitizer.bypassSecurityTrustHtml(o.innerHTML))})}newForm(){let t=tc(this.todayDate,"MM/dd/yyyy","en-US");return new ai({date:new Ct({value:t,disabled:!0},[Wt.required]),signature:new Ct("",[Wt.required])})}agreeChange(t){t?this.agreementForm.get("signature").enable():this.agreementForm.get("signature").disable()}onConfirm(){this.openDialogService.openOkCancelDialogComponent("Confirmation","Confirm you agree to the terms of the Success Services Agreement.",null,"Agree",null,"Cancel").afterClosed().pipe(gt(e=>e.event==="ok"),tt(()=>this.confirmAgreement$()),Me(this.destroyRef)).subscribe({next:()=>{this.dialogEvent.event="saved",this.dialogRef.close(this.dialogEvent)},error:()=>{}})}confirmAgreement$(){let t=this.userService.getUserInfo(),e={brokerId:this.brokerId,applicationUserId:t.applicationUserId,signedByName:this.agreementForm.get("signature").value,vequityNetworkAgreementId:this.successFeeAgreementId};return this.vequityNetworkAgreementSignatureService.createSignatureAgreement(e)}};i.\u0275fac=function(e){return new(e||i)(l(Ma),l(Vt))},i.\u0275cmp=w({type:i,selectors:[["vq-network-agreement"]],decls:1,vars:1,consts:[["class","container",4,"ngIf"],[1,"container"],[1,"file-container",3,"innerHTML"],[1,"agree-checkbox"],[1,"margin-bottom-md","mobile-terms",3,"ngModelChange","ngModel"],[1,"text-md"],[3,"formGroup"],["appearance","outline"],["matInput","","formControlName","date"],["matInput","","trimWhiteSpace","","formControlName","signature"],[1,"button-container"],["matRipple","",1,"agree",3,"click","disabled"]],template:function(e,n){e&1&&y(0,Eu,19,4,"div",0),e&2&&u("ngIf",n.docHtml)},dependencies:[xt,oi,Oi,ue,ni,ri,Pi,Vi,mi,_e,je,mt,fn,Go],styles:[".container[_ngcontent-%COMP%]{width:100%;position:relative;display:block;padding-bottom:24px}.container[_ngcontent-%COMP%]   main[_ngcontent-%COMP%]   .agree-checkbox[_ngcontent-%COMP%]{display:flex;justify-content:center}.container[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]{display:flex;justify-content:center;gap:25px}.container[_ngcontent-%COMP%]   .button-container[_ngcontent-%COMP%]{display:flex;justify-content:center}.container[_ngcontent-%COMP%]   .button-container[_ngcontent-%COMP%]   button.agree[_ngcontent-%COMP%]{cursor:pointer;border:none;border-radius:3px;background-color:#000;color:#fff;padding:10px 20px;font-size:1.4rem;width:100px}.container[_ngcontent-%COMP%]   .button-container[_ngcontent-%COMP%]   button.agree[_ngcontent-%COMP%]:disabled{opacity:.5}"]});let a=i;return a})();var Wd={maxWidth:"90vw",maxHeight:"85vh",autoFocus:!1},Qd={maxWidth:"400px",maxHeight:"85vh",autoFocus:!1},Yd={panelClass:"rounded-dialog"};var Zd=(()=>{let i=class i{constructor(t,e){this.dialogRef=t,this.data=e,this.options=Zi,this.selectedIndex=this.data.selectedIndex}onApply(){this.dialogRef.close(this.selectedIndex)}};i.\u0275fac=function(e){return new(e||i)(l(Vt),l(ne))},i.\u0275cmp=w({type:i,selectors:[["vq-sort-selection"]],standalone:!0,features:[S],decls:13,vars:9,consts:[[1,"container"],["aria-label","Select an option","color","primary",1,"options",3,"ngModelChange","ngModel"],[3,"checked","value"],[1,"buttons"],[1,"btn","ok-btn","pointer",3,"click"]],template:function(e,n){e&1&&(c(0,"div",0)(1,"mat-radio-group",1),ti("ngModelChange",function(s){return Je(n.selectedIndex,s)||(n.selectedIndex=s),s}),c(2,"mat-radio-button",2),p(3,"Date Joined"),d(),c(4,"mat-radio-button",2),p(5,"Name"),d(),c(6,"mat-radio-button",2),p(7,"Capital(High to Low)"),d(),c(8,"mat-radio-button",2),p(9,"Capital(Low to High)"),d()(),c(10,"div",3)(11,"div",4),_("click",function(){return n.onApply()}),p(12,"Apply"),d()()()),e&2&&(m(),Xe("ngModel",n.selectedIndex),m(),u("checked",n.selectedIndex===n.options.DateJoined)("value",n.options.DateJoined),m(2),u("checked",n.selectedIndex===n.options.Name)("value",n.options.Name),m(2),u("checked",n.selectedIndex===n.options.TotalCapitalHigh)("value",n.options.TotalCapitalHigh),m(2),u("checked",n.selectedIndex===n.options.TotalCapitalLow)("value",n.options.TotalCapitalLow))},dependencies:[po,Nr,ho,Un,ue,fn],styles:[".options[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin:15px 0;align-items:flex-start}.buttons[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}.buttons[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{padding:10px 35px;border-radius:3px;font-size:1.8rem}.buttons[_ngcontent-%COMP%]   .ok-btn[_ngcontent-%COMP%]{background-color:#000;color:#fff}"]});let a=i;return a})();var Tu=0,as=new H("CdkAccordion"),Kd=(()=>{let i=class i{constructor(){this._stateChanges=new E,this._openCloseAllActions=new E,this.id=`cdk-accordion-${Tu++}`,this.multi=!1}openAll(){this.multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(t){this._stateChanges.next(t)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}};i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=I({type:i,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:[2,"multi","multi",M]},exportAs:["cdkAccordion"],standalone:!0,features:[X([{provide:as,useExisting:i}]),Q,At]});let a=i;return a})(),Au=0,Xd=(()=>{let i=class i{get expanded(){return this._expanded}set expanded(t){if(this._expanded!==t){if(this._expanded=t,this.expandedChange.emit(t),t){this.opened.emit();let e=this.accordion?this.accordion.id:this.id;this._expansionDispatcher.notify(this.id,e)}else this.closed.emit();this._changeDetectorRef.markForCheck()}}constructor(t,e,n){this.accordion=t,this._changeDetectorRef=e,this._expansionDispatcher=n,this._openCloseAllSubscription=Rt.EMPTY,this.closed=new O,this.opened=new O,this.destroyed=new O,this.expandedChange=new O,this.id=`cdk-accordion-child-${Au++}`,this._expanded=!1,this.disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=n.listen((o,s)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===s&&this.id!==o&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(t=>{this.disabled||(this.expanded=t)})}};i.\u0275fac=function(e){return new(e||i)(l(as,12),l(q),l(xn))},i.\u0275dir=I({type:i,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:[2,"expanded","expanded",M],disabled:[2,"disabled","disabled",M]},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],standalone:!0,features:[X([{provide:as,useValue:void 0}]),Q]});let a=i;return a})(),Jd=(()=>{let i=class i{};i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=N({type:i}),i.\u0275inj=L({});let a=i;return a})();var Ru=["body"],Ou=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],Pu=["mat-expansion-panel-header","*","mat-action-row"];function Fu(a,i){}var zu=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],Lu=["mat-panel-title","mat-panel-description","*"];function Nu(a,i){if(a&1&&(c(0,"span",1),pe(),c(1,"svg",2),x(2,"path",3),d()()),a&2){let r=f();u("@indicatorRotate",r._getExpandedState())}}var os=new H("MAT_ACCORDION"),tl="225ms cubic-bezier(0.4,0.0,0.2,1)",il={indicatorRotate:jt("indicatorRotate",[pt("collapsed, void",Y({transform:"rotate(0deg)"})),pt("expanded",Y({transform:"rotate(180deg)"})),_t("expanded <=> collapsed, void => collapsed",ft(tl))]),bodyExpansion:jt("bodyExpansion",[pt("collapsed, void",Y({height:"0px",visibility:"hidden"})),pt("expanded",Y({height:"*",visibility:""})),_t("expanded <=> collapsed, void => collapsed",ft(tl))])},nl=new H("MAT_EXPANSION_PANEL"),Vu=(()=>{let i=class i{constructor(t,e){this._template=t,this._expansionPanel=e}};i.\u0275fac=function(e){return new(e||i)(l(wt),l(nl,8))},i.\u0275dir=I({type:i,selectors:[["ng-template","matExpansionPanelContent",""]],standalone:!0});let a=i;return a})(),ju=0,al=new H("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),rs=(()=>{let i=class i extends Xd{get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(t){this._hideToggle=t}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(t){this._togglePosition=t}constructor(t,e,n,o,s,h,g){super(t,e,n),this._viewContainerRef=o,this._animationMode=h,this._hideToggle=!1,this.afterExpand=new O,this.afterCollapse=new O,this._inputChanges=new E,this._headerId=`mat-expansion-panel-header-${ju++}`,this.accordion=t,this._document=s,this._animationsDisabled=h==="NoopAnimations",g&&(this.hideToggle=g.hideToggle)}_hasSpacing(){return this.accordion?this.expanded&&this.accordion.displayMode==="default":!1}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe(Mt(null),gt(()=>this.expanded&&!this._portal),rt(1)).subscribe(()=>{this._portal=new Re(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(t){this._inputChanges.next(t)}ngOnDestroy(){super.ngOnDestroy(),this._inputChanges.complete()}_containsFocus(){if(this._body){let t=this._document.activeElement,e=this._body.nativeElement;return t===e||e.contains(t)}return!1}_animationStarted(t){!el(t)&&!this._animationsDisabled&&this._body&&this._body?.nativeElement.setAttribute("inert","")}_animationDone(t){el(t)||(t.toState==="expanded"?this.afterExpand.emit():t.toState==="collapsed"&&this.afterCollapse.emit(),!this._animationsDisabled&&this._body&&this._body.nativeElement.removeAttribute("inert"))}};i.\u0275fac=function(e){return new(e||i)(l(os,12),l(q),l(xn),l(qt),l(St),l(Xt,8),l(al,8))},i.\u0275cmp=w({type:i,selectors:[["mat-expansion-panel"]],contentQueries:function(e,n,o){if(e&1&&J(o,Vu,5),e&2){let s;A(s=R())&&(n._lazyContent=s.first)}},viewQuery:function(e,n){if(e&1&&it(Ru,5),e&2){let o;A(o=R())&&(n._body=o.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(e,n){e&2&&U("mat-expanded",n.expanded)("_mat-animation-noopable",n._animationsDisabled)("mat-expansion-panel-spacing",n._hasSpacing())},inputs:{hideToggle:[2,"hideToggle","hideToggle",M],togglePosition:"togglePosition"},outputs:{afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],standalone:!0,features:[X([{provide:os,useValue:void 0},{provide:nl,useExisting:i}]),Q,Z,At,S],ngContentSelectors:Pu,decls:7,vars:4,consts:[["body",""],["role","region",1,"mat-expansion-panel-content",3,"id"],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(e,n){if(e&1){let o=F();K(Ou),j(0),c(1,"div",1,0),_("@bodyExpansion.start",function(h){return C(o),k(n._animationStarted(h))})("@bodyExpansion.done",function(h){return C(o),k(n._animationDone(h))}),c(3,"div",2),j(4,1),y(5,Fu,0,0,"ng-template",3),d(),j(6,2),d()}e&2&&(m(),u("@bodyExpansion",n._getExpandedState())("id",n.id),T("aria-labelledby",n._headerId),m(4),u("cdkPortalOutlet",n._portal))},dependencies:[le],styles:['.mat-expansion-panel{box-sizing:content-box;display:block;margin:0;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative;background:var(--mat-expansion-container-background-color);color:var(--mat-expansion-container-text-color);border-radius:var(--mat-expansion-container-shape)}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:var(--mat-expansion-container-shape);border-top-left-radius:var(--mat-expansion-container-shape)}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:var(--mat-expansion-container-shape);border-bottom-left-radius:var(--mat-expansion-container-shape)}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible;font-family:var(--mat-expansion-container-text-font);font-size:var(--mat-expansion-container-text-size);font-weight:var(--mat-expansion-container-text-weight);line-height:var(--mat-expansion-container-text-line-height);letter-spacing:var(--mat-expansion-container-text-tracking)}.mat-expansion-panel-content[style*="visibility: hidden"] *{visibility:hidden !important}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px;border-top-color:var(--mat-expansion-actions-divider-color)}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2,data:{animation:[il.bodyExpansion]},changeDetection:0});let a=i;return a})();function el(a){return a.fromState==="void"}var ss=(()=>{let i=class i{constructor(t,e,n,o,s,h,g){this.panel=t,this._element=e,this._focusMonitor=n,this._changeDetectorRef=o,this._animationMode=h,this._parentChangeSubscription=Rt.EMPTY,this.tabIndex=0;let v=t.accordion?t.accordion._stateChanges.pipe(gt(D=>!!(D.hideToggle||D.togglePosition))):qs;this.tabIndex=parseInt(g||"")||0,this._parentChangeSubscription=Dt(t.opened,t.closed,v,t._inputChanges.pipe(gt(D=>!!(D.hideToggle||D.disabled||D.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),t.closed.pipe(gt(()=>t._containsFocus())).subscribe(()=>n.focusVia(e,"program")),s&&(this.expandedHeight=s.expandedHeight,this.collapsedHeight=s.collapsedHeight)}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){let t=this._isExpanded();return t&&this.expandedHeight?this.expandedHeight:!t&&this.collapsedHeight?this.collapsedHeight:null}_keydown(t){switch(t.keyCode){case 32:case 13:$t(t)||(t.preventDefault(),this._toggle());break;default:this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(t);return}}focus(t,e){t?this._focusMonitor.focusVia(this._element,t,e):this._element.nativeElement.focus(e)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(t=>{t&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}};i.\u0275fac=function(e){return new(e||i)(l(rs,1),l(z),l(Ft),l(q),l(al,8),l(Xt,8),Qt("tabindex"))},i.\u0275cmp=w({type:i,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(e,n){e&1&&_("click",function(){return n._toggle()})("keydown",function(s){return n._keydown(s)}),e&2&&(T("id",n.panel._headerId)("tabindex",n.disabled?-1:n.tabIndex)("aria-controls",n._getPanelId())("aria-expanded",n._isExpanded())("aria-disabled",n.panel.disabled),ot("height",n._getHeaderHeight()),U("mat-expanded",n._isExpanded())("mat-expansion-toggle-indicator-after",n._getTogglePosition()==="after")("mat-expansion-toggle-indicator-before",n._getTogglePosition()==="before")("_mat-animation-noopable",n._animationMode==="NoopAnimations"))},inputs:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight",tabIndex:[2,"tabIndex","tabIndex",t=>t==null?0:Lt(t)]},standalone:!0,features:[Q,S],ngContentSelectors:Lu,decls:5,vars:3,consts:[[1,"mat-content"],[1,"mat-expansion-indicator"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 -960 960 960","aria-hidden","true","focusable","false"],["d","M480-345 240-585l56-56 184 184 184-184 56 56-240 240Z"]],template:function(e,n){e&1&&(K(zu),c(0,"span",0),j(1),j(2,1),j(3,2),d(),y(4,Nu,3,1,"span",1)),e&2&&(U("mat-content-hide-toggle",!n._showToggle()),m(4),B(n._showToggle()?4:-1))},styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-expansion-header-collapsed-state-height);font-family:var(--mat-expansion-header-text-font);font-size:var(--mat-expansion-header-text-size);font-weight:var(--mat-expansion-header-text-weight);line-height:var(--mat-expansion-header-text-line-height);letter-spacing:var(--mat-expansion-header-text-tracking)}.mat-expansion-panel-header.mat-expanded{height:var(--mat-expansion-header-expanded-state-height)}.mat-expansion-panel-header[aria-disabled=true]{color:var(--mat-expansion-header-disabled-state-text-color)}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-header-hover-state-layer-color)}@media(hover: none){.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-container-background-color)}}.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-keyboard-focused,.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-program-focused{background:var(--mat-expansion-header-focus-state-layer-color)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-content.mat-content-hide-toggle{margin-right:8px}[dir=rtl] .mat-content.mat-content-hide-toggle{margin-right:0;margin-left:8px}.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-left:24px;margin-right:0}[dir=rtl] .mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-right:24px;margin-left:0}.mat-expansion-panel-header-title{color:var(--mat-expansion-header-text-color)}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;flex-basis:0;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.mat-expansion-panel-header-description{flex-grow:2;color:var(--mat-expansion-header-description-color)}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle;color:var(--mat-expansion-header-indicator-color);display:inline-block;display:var(--mat-expansion-legacy-header-indicator-display, inline-block)}.mat-expansion-indicator svg{width:24px;height:24px;margin:0 -8px;vertical-align:middle;fill:var(--mat-expansion-header-indicator-color);display:none;display:var(--mat-expansion-header-indicator-display, none)}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}'],encapsulation:2,data:{animation:[il.indicatorRotate]},changeDetection:0});let a=i;return a})();var ol=(()=>{let i=class i extends Kd{constructor(){super(...arguments),this._ownHeaders=new qe,this.hideToggle=!1,this.displayMode="default",this.togglePosition="after"}ngAfterContentInit(){this._headers.changes.pipe(Mt(this._headers)).subscribe(t=>{this._ownHeaders.reset(t.filter(e=>e.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new Fi(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(t){this._keyManager.onKeydown(t)}_handleHeaderFocus(t){this._keyManager.updateActiveItem(t)}ngOnDestroy(){super.ngOnDestroy(),this._keyManager?.destroy(),this._ownHeaders.destroy()}};i.\u0275fac=(()=>{let t;return function(n){return(t||(t=Ot(i)))(n||i)}})(),i.\u0275dir=I({type:i,selectors:[["mat-accordion"]],contentQueries:function(e,n,o){if(e&1&&J(o,ss,5),e&2){let s;A(s=R())&&(n._headers=s)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(e,n){e&2&&U("mat-accordion-multi",n.multi)},inputs:{hideToggle:[2,"hideToggle","hideToggle",M],displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],standalone:!0,features:[X([{provide:os,useExisting:i}]),Q,Z]});let a=i;return a})(),Wo=(()=>{let i=class i{};i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=N({type:i}),i.\u0275inj=L({imports:[V,Jd,me]});let a=i;return a})();var Hu=["*"],Uu=(a,i)=>i.step;function qu(a,i){if(a&1){let r=F();c(0,"mat-expansion-panel")(1,"mat-expansion-panel-header")(2,"mat-checkbox",8)(3,"span"),p(4,"Complete your profile"),d()()(),c(5,"div",9)(6,"span",10),p(7," This is your basic account information. You can review and update this information through your profile page later if needed. "),d(),c(8,"button",11),_("click",function(){C(r);let e=f(3);return k(e.onNavigate("broker/profile-edit"))}),p(9," Edit profile "),d()()()}if(a&2){let r=f().$implicit,t=f(2);m(2),u("checked",r.status===t.onboardingStepStatuses.Complete)}}function $u(a,i){if(a&1){let r=F();c(0,"mat-expansion-panel")(1,"mat-expansion-panel-header")(2,"mat-checkbox",8)(3,"span"),p(4,"Complete your brokerage branding"),d()()(),c(5,"div",9)(6,"span",10),p(7,"Take just a moment to personalize your brokerage's landing page. This is what buyers will see when using a referral link from any brokers in your brokerage."),d(),c(8,"button",11),_("click",function(){C(r);let e=f(3);return k(e.onNavigate("broker/theme"))}),p(9," Set up your branding "),d()()()}if(a&2){let r=f().$implicit,t=f(2);m(2),u("checked",r.status===t.onboardingStepStatuses.Complete)}}function Gu(a,i){if(a&1){let r=F();c(0,"mat-expansion-panel")(1,"mat-expansion-panel-header")(2,"mat-checkbox",8)(3,"span"),p(4,"Add brokerage employees"),d()()(),c(5,"div",9)(6,"span",10),p(7," Have more brokers in your company? Or team members that assist with deals? Invite them to use Vequity. Standardize your company practices and ensure all of your team members have access to buyer profiles and the buyer network. Your buyer network is shared so you can match on the best buyers internally. "),d(),c(8,"button",11),_("click",function(){C(r);let e=f(3);return k(e.onNavigate("broker/brokers"))}),p(9," Add users "),d()()()}if(a&2){let r=f().$implicit,t=f(2);m(2),u("checked",r.status===t.onboardingStepStatuses.Complete)}}function Wu(a,i){if(a&1){let r=F();c(0,"mat-expansion-panel")(1,"mat-expansion-panel-header")(2,"mat-checkbox",8)(3,"span"),p(4,"Match buyers for your first deal"),d()()(),c(5,"div",9)(6,"span",10),p(7," Take your first step toward organizing and monetizing on your deals. Create your first deal and invite buyers matched to your deal. "),d(),c(8,"button",11),_("click",function(){C(r);let e=f(3);return k(e.onNavigate("broker/deal/list"))}),p(9," Deals "),d()()()}if(a&2){let r=f().$implicit,t=f(2);m(2),u("checked",r.status===t.onboardingStepStatuses.Complete)}}function Qu(a,i){if(a&1){let r=F();c(0,"button",11),_("click",function(){C(r);let e=f(4);return k(e.joinWaitlist())}),p(1," Join waitlist "),d()}}function Yu(a,i){if(a&1&&(c(0,"mat-expansion-panel")(1,"mat-expansion-panel-header")(2,"mat-checkbox",8)(3,"span"),p(4,"Get access to Vequity buyers"),d()()(),c(5,"div",9)(6,"span",10),p(7," The Vequity Network includes individuals, strategics, and investment firms. Their profiles provide specific details on their industry, acquisition critieria, and financial profile. Access to the Vequity Network provides you full visibility so you can find the best matches for your deals and invite them to pursue. "),d(),y(8,Qu,2,0,"button",12),d()()),a&2){let r=f().$implicit,t=f(),e=f();m(2),u("checked",r.status===e.onboardingStepStatuses.Complete),m(6),u("ngIf",!t.isOnWaitListOrVNASigned)}}function Zu(a,i){if(a&1&&y(0,qu,10,1,"mat-expansion-panel")(1,$u,10,1,"mat-expansion-panel")(2,Gu,10,1,"mat-expansion-panel")(3,Wu,10,1,"mat-expansion-panel")(4,Yu,9,2,"mat-expansion-panel"),a&2){let r=i.$implicit,t=f(2);B(r.step===t.onboardingSteps.Registration?0:-1),m(),B(t.isAdmin&&r.step===t.onboardingSteps.Branding?1:-1),m(),B(t.isAdmin&&r.step===t.onboardingSteps.EmployeesAdded?2:-1),m(),B(r.step===t.onboardingSteps.DealsAdded?3:-1),m(),B(r.step===t.onboardingSteps.VNASigned?4:-1)}}function Ku(a,i){a&1&&(c(0,"mat-accordion",5),Jt(1,Zu,5,5,null,null,Uu),d()),a&2&&(m(),te(i.steps))}function Xu(a,i){a&1&&j(0,0,["*skeleton","true; height: isAdmin ? '240px' : '144px'; borderRadius: '6px'"])}function Ju(a,i){if(a&1&&y(0,Xu,1,0,"ng-content",13),a&2){let r=f();u("skeleton",!0)("skeletonHeight",r.isAdmin?"240px":"144px")("skeletonBorderRadius","6px")}}var rl=(()=>{let i=class i{constructor(t){this.dialogRef=t,this.openDialogService=b(de),this.brokerEmployeeService=b(Ve),this.onboardingService=b(Sn),this.router=b(Ne),this.brokerService=b(Bi),this.isAdmin=this.brokerEmployeeService.isBrokerAdmin,this.onboardingSteps$=this.mapOnboardingSteptoStepStatus().pipe(rt(1)),this.isOnWaitListOrVNASigned$=this.onboardingService.getIsOnWaitlistOrVNASigned$(),this.onboardingSteps=Yn,this.onboardingStepStatuses=Rc,this.dialogRef.afterClosed().pipe(et(()=>this.onboardingService.dismissOnboardingStepDialog()),rt(1)).subscribe()}ngOnInit(){this.data$=this.loadData$()}loadData$(){return _a([this.onboardingSteps$,this.isOnWaitListOrVNASigned$]).pipe(ut(([t,e])=>({steps:t,isOnWaitListOrVNASigned:e})))}mapOnboardingSteptoStepStatus(){return this.onboardingService.onboardingSteps$.pipe(ut(t=>t.map(e=>({step:e.step.value,status:e.status.value}))))}onNavigate(t){this.router.navigateByUrl(t),this.dialogRef.close()}sendWaitlistRequest(){return this.brokerEmployeeService.getLoggedInBrokerEmployee().pipe(tt(t=>this.brokerService.joinWaitlist(t.brokerId,t.brokerEmployeeId)),ut(()=>!0))}joinWaitlist(){this.openDialogService.openJoinWaitlistDialog().afterClosed().pipe(tt(e=>e&&e.event===Zt.OK?this.sendWaitlistRequest():at(null)),rt(1)).subscribe({next:e=>{e&&(this.openDialogService.openOkDialogComponent("Thank you for joining the waitlist!","Our team has been notified and will contact you shortly.",()=>{},"Close",null),this.onboardingService.updateRefreshTrigger(),this.onboardingService.checkAndCompleteOnboardingStep(Yn.VNASigned))},complete:()=>{this.dialogRef.close()}})}};i.\u0275fac=function(e){return new(e||i)(l(Vt))},i.\u0275cmp=w({type:i,selectors:[["vq-onboarding-steps"]],standalone:!0,features:[S],ngContentSelectors:Hu,decls:14,vars:3,consts:[[1,"onboarding-steps-container"],["matRipple","","mat-dialog-close","",1,"icon-close"],[1,"material-symbols-outlined"],[1,"title"],["src","/assets/icons/i_vequity_mark.svg","alt",""],[1,"onboarding-accordion"],[1,"btn-container"],["matRipple","","mat-dialog-close","",1,"vq-primary-btn","close"],["disabled","","color","primary",1,"onboarding-checkbox",3,"checked"],[1,"content"],[1,"description"],["matRipple","",1,"vq-primary-btn","action-btn",3,"click"],["class","vq-primary-btn action-btn","matRipple","",3,"click",4,"ngIf"],[4,"skeleton","skeletonHeight","skeletonBorderRadius"]],template:function(e,n){if(e&1&&(K(),c(0,"div",0)(1,"button",1)(2,"mat-icon",2),p(3,"close"),d()(),c(4,"header")(5,"h2",3),p(6,"Let's finish setting up your account"),d(),x(7,"img",4),d(),y(8,Ku,3,0,"mat-accordion",5),oe(9,"async"),y(10,Ju,1,3,"ng-content"),c(11,"div",6)(12,"button",7),p(13,"Close"),d()()()),e&2){let o;m(8),B((o=re(9,1,n.data$))?8:10,o)}},dependencies:[Pt,xt,gn,Wo,ol,rs,ss,Ya,Vi,Se,hi,Gt,Ht,mt,Xa],styles:[".onboarding-steps-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:32px;padding:16px 0}.onboarding-steps-container[_ngcontent-%COMP%]   .icon-close[_ngcontent-%COMP%]{cursor:pointer;position:absolute;top:8px;right:8px;background-color:transparent;border:none;outline:none;border-radius:24px;display:flex;align-items:center}.onboarding-steps-container[_ngcontent-%COMP%]   header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;width:100%;gap:24px}.onboarding-steps-container[_ngcontent-%COMP%]   header[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{color:#1788fb;font-size:2rem;line-height:24px}.onboarding-steps-container[_ngcontent-%COMP%]   header[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:40px;height:30px}.onboarding-steps-container[_ngcontent-%COMP%]   .onboarding-accordion[_ngcontent-%COMP%]   .onboarding-checkbox[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:1.6rem;font-weight:700;line-height:24px;letter-spacing:.5px;color:#1c1b1f!important}.onboarding-steps-container[_ngcontent-%COMP%]   .onboarding-accordion[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]{padding:8px 40px;display:flex;flex-direction:column;gap:16px}.onboarding-steps-container[_ngcontent-%COMP%]   .onboarding-accordion[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]   .description[_ngcontent-%COMP%]{font-size:1.6rem;font-weight:400;line-height:28px;color:#575757}.onboarding-steps-container[_ngcontent-%COMP%]   .onboarding-accordion[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]   .action-btn[_ngcontent-%COMP%]{padding:18px 24px;align-self:flex-start}.onboarding-steps-container[_ngcontent-%COMP%]   .btn-container[_ngcontent-%COMP%]{padding-top:32px;display:flex;justify-content:flex-end}.onboarding-steps-container[_ngcontent-%COMP%]   .btn-container[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]{padding:16px 32px}@media (min-width: 1024px){.onboarding-steps-container[_ngcontent-%COMP%]{padding:16px 40px}.onboarding-steps-container[_ngcontent-%COMP%]   header[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-size:2.9rem;line-height:120%}.onboarding-steps-container[_ngcontent-%COMP%]   header[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:58px;height:45px}}"]});let a=i;return a})();var sl=(()=>{let i=class i{constructor(){this.$isMobile=we(!1),this.updateIsMobile=t=>{this.$isMobile.set(t)}}get isMobile(){return this.$isMobile}};i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"});let a=i;return a})();var de=(()=>{let i=class i{constructor(t){this.dialog=t,this.responsiveService=b(sl),this.router=b(Ne)}openOkDialogComponent(t,e,n=()=>{},o="Okay",s=null,h="400px",g="auto",v="960px",D=null){return this.dialog.open(Bd,{width:h,height:g,maxWidth:v,maxHeight:D,autoFocus:!1,data:{title:t,message:e,okText:o,okClick:n,icon:s}})}openOkCancelDialogComponent(t,e,n,o="Okay",s=()=>{},h="Back",g=null,v="400px",D="auto",G="90vw",lt=null,kt=null){return this.dialog.open(jd,{width:v,height:D,maxWidth:G,maxHeight:lt,autoFocus:!1,data:{title:t,message:e,okClick:n,okText:o,cancelClick:s,cancelText:h,icon:g,cancelBtnClass:kt}})}openPrivacyPolicyDialog(){return this.dialog.open(Hd,{height:"auto",width:"auto",autoFocus:!1})}openBuyerSearchSortDialog(t){return this.dialog.open(Zd,{minHeight:"250px",width:"400px",maxHeight:"90svh",maxWidth:"85vw",autoFocus:!1,data:{selectedIndex:t}})}openSuccessFeeDialog(){return this.dialog.open(Gd,{width:"90vw",height:"90%",maxWidth:"90vw"})}openLinkedInInstructionsDialog(){return this.dialog.open(Pd,{height:"auto",width:"390px"})}sendAccessRequest(){return this.openOkCancelDialogComponent("Request Access","An email will be sent to the brokerage administrator as they will need to agree to the Success Fee Agreement. Do you want to continue?",null,"Yes",null,"No")}openModifyDealDialog(t="",e=null){let o=this.responsiveService.isMobile()?Wd:Qd;return this.dialog.open(Vd,ve(ht({},o),{width:"90vw",data:{dealId:t,deal:e}}))}sendBuyerInviteDialog(t,e){return this.dialog.open(Od,{height:"auto",width:"auto",maxWidth:"90vw",maxHeight:"90svh",autoFocus:!1,data:{brokerEmployeeId:t,referralUrl:e}})}openDealShareVNAbuyersDialog(t,e,n){let o=e.length,s=n.length;return this.dialog.open(Ed,{width:"376px",maxWidth:"90vw",maxHeight:"90vh",autoFocus:!1,data:{brokerEmployee:t,networkBuyers:o,referredBuyers:s}})}openDealShareWaitlistDialog(t){let e=t.length;return this.dialog.open(Td,{width:"376px",maxWidth:"90vw",maxHeight:"90vh",autoFocus:!1,data:{referredBuyers:e}})}openEmployeeDealSearchDialog(t,e){return this.dialog.open(Rd,{width:"376px",maxWidth:"90vw",maxHeight:"90vh",autoFocus:!1,data:{brokerEmployeeId:t,selectedBuyerIds:e}})}openDealShareCompleteDialog(t,e,n,o){let s=`<p><b>${e}</b> selected buyer(s) are receiving an email with an invite to the deal. They can review the teaser and then choose to pursue or decline.</p>`,h=`<p><b>${n}</b> selected buyer(s) were <strong>not</strong> invited because they have already received an invite for this deal.</p>`,g=`<p>There was a problem inviting <b>${o}</b> buyer(s). Please try again later. If you are still having issues, you can reach out to us at <a href='https://help@vequity.ai' target='_blank'>help@vequity.ai</a></p>`,v=`
        ${e>0?s:""}
        ${n>0?h:""}
        ${o>0?g:""}
        ${e>0?"<p>Please keep an eye on your email for their response. Once they pursue, you will be able to view their contact information and follow-up accordingly.</p>":""}`;this.openOkCancelDialogComponent("Your deal has been shared",v,()=>{this.router.navigateByUrl(`broker/deal/${t}/details`)},"View Deal",()=>{},"Close")}openOnboardingStepsDialog(){let t=this.responsiveService.isMobile();return this.dialog.open(rl,{maxWidth:t?"90vw":"690px",maxHeight:"90svh",autoFocus:!1,panelClass:Yd.panelClass})}openJoinWaitlistDialog(){return this.openOkCancelDialogComponent("Do you want to get access to Vequity Buyers?","By signing our Success Fee Agreement, you get access to all buyers in the Vequity Network, giving you thousands of buyers to compare and match for new deal opportunities. <br/><br/> <strong>Click the button below to join the waitlist.<strong>",()=>{},"Join Waitlist",()=>{},"Cancel")}};i.\u0275fac=function(e){return new(e||i)($(zo))},i.\u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"});let a=i;return a})();var cl=(()=>{let i=class i{constructor(){this.openDialogService=b(de),this._buyerSelections=new Kt([]),this.buyerSelections$=this._buyerSelections.asObservable()}getSelectedBuyers(){return this._buyerSelections.getValue()}addToBuyerSelections(t,e){let n=this._buyerSelections.getValue();n.push({buyerId:t,sourceId:e}),this._buyerSelections.next(n)}setBuyerSelections(t){this._buyerSelections.next(t)}removeFromBuyerSelections(t){let n=this._buyerSelections.getValue().filter(o=>o.buyerId!==t);this._buyerSelections.next(n)}clearBuyerSelections(){this._buyerSelections.next([])}checkIfCanAddMoreBuyersToCart(){return this._buyerSelections.getValue().length<500}displayMaxBuyerSelectionsError(){this.openDialogService.openOkDialogComponent("Oops!","You can only select up to 500 buyers at a time.")}};i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"});let a=i;return a})();var dl=(()=>{let i=class i{constructor(){this.store=new Map,this.changes=new E,this.changes$=this.changes.asObservable()}next(){this.changes.next(this.store)}set(t,e){this.store.set(t,e),this.next()}delete(t){this.store.delete(t),this.next()}get(t){return this.store.get(t)}has(t){return this.store.has(t)}clear(){this.store.clear(),this.next()}};i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"});let a=i;return a})();var eg=ll(),Qo=class{constructor(){this.addressService=b(Ja),this.router=b(Ne),this.bannerService=b(Yt),this.documentService=b(Fn),this.brokerService=b(Bi),this.brokerEmployeeService=b(Ve),this.industryService=b(qo),this.userService=b(_n),this.openDialogService=b(de),this.separatorKeysCodes=[13,188],this.searchForm=this.emptyForm(),this.onEnter=Pn}hasSearchFormValues(i=[]){let r=this.searchForm.getRawValue();return Object.values(r).some(t=>Array.isArray(t)?t.length>0:i?.length>0?!0:!!t)}downloadResume(i){i.resumeId&&this.documentService.downloadFile(i.resumeId).subscribe({next:r=>{r.then(t=>t.blob()).then(t=>{let e=window.URL.createObjectURL(t),n=`${i.displayName} Resume`;eg.saveAs(e,n)}).catch(t=>{this.bannerService.error("Error downloading file")})}})}openSuccessAgreementDialog(){return this.openDialogService.openSuccessFeeDialog()}sortBuyers(i,r){return r===Zi.DateJoined?i.sort((t,e)=>+new Date(e.dateJoined)-+new Date(t.dateJoined)):r===Zi.Name?i.sort((t,e)=>t.displayName.localeCompare(e.displayName)):r===Zi.TotalCapitalHigh?i.sort((t,e)=>e.assetAccountBalance-t.assetAccountBalance):r===Zi.TotalCapitalLow?i.sort((t,e)=>t.assetAccountBalance-e.assetAccountBalance):i}formatIndustries(i,r,t){return this.industryService.formatIndustries(i,r,t)}formatStates(i,r){if(!i||!i.states)return{label:"",count:0};if(i.allStates)return{label:"Any",count:0};let t=i.states.sort((s,h)=>s.abbreviation.localeCompare(h.abbreviation)),e=t.filter(s=>r?.stateIds.includes(s.stateId)),n=e.length>0?e[0].abbreviation:t[0]?.abbreviation,o=t.length-1;return{label:n,count:o<0?0:o}}emptyForm(){return new ai({name:new Ct(null,[Wt.pattern(/^(?! *$)[a-zA-ZÀ-ÿ-'.\s]+$/)]),earnings:new Ct(null),totalCapitalAvailable:new Ct(null),verified:new Ct(null),source:new Ct(null),country:new Ct(""),state:new Ct({value:null,disabled:!0}),industries:new Ct([])})}getStates$(){return this.addressService.getCountries$().pipe(ut(i=>i.find(r=>r.name==="United States")),tt(i=>this.addressService.getStates(i.countryId)))}};var ml=(()=>{let i=class i{constructor(){this.brokerEmployeeService=b(Ve)}searchBuyers(t=!1,e=null){return t&&(e={resultLimit:e?.resultLimit??25,index:e?.index??0,buyerSource:null,earnings:null,industryIds:[],isVerified:null,locations:[],nameSearch:null,totalCapital:null,sortBy:null}),this.brokerEmployeeService.searchBuyers(e)}clearSearch(t){return this.searchBuyers(!0,t)}};i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"});let a=i;return a})();var ig=()=>[];function ng(a,i){if(a&1){let r=F();c(0,"div",3)(1,"div",4),Et(2,5),d(),c(3,"vq-mobile-search-form",6),_("searchObj",function(e){C(r);let n=f();return k(n.receiveSearchFn(e))}),d()()}if(a&2){let r=f(),t=Bt(5);m(),u("hidden",!r.showSearchResults),m(),u("ngTemplateOutlet",t),m(),u("hidden",r.showSearchResults)}}function ag(a,i){a&1&&(c(0,"div",7),x(1,"vq-loading-spinner"),d())}function og(a,i){if(a&1&&(c(0,"div"),x(1,"vq-limited-results-card",20),d()),a&2){let r=f(2);m(),u("resultCount",r.searchResults==null?null:r.searchResults.resultCount)}}function rg(a,i){if(a&1){let r=F();c(0,"button",21),_("click",function(){C(r);let e=f(2);return k(e.onGetAccess())}),p(1," Get Access "),d()}}function sg(a,i){a&1&&(c(0,"span",22),p(1," You are on the Vequity Network Waitlist "),d())}function cg(a,i){a&1&&Et(0)}function dg(a,i){if(a&1){let r=F();c(0,"button",23),_("click",function(){C(r);let e=f(2);return k(e.onShare())}),p(1," Share Deal "),c(2,"span"),p(3),oe(4,"async"),d()()}if(a&2){let r=f(2);m(3),dt(" \xA0 (",re(4,1,r.selectedBuyersCount$),")")}}function lg(a,i){if(a&1){let r=F();c(0,"div",8)(1,"button",9),_("click",function(){C(r);let e=f();return k(e.backClick())}),x(2,"i",10),d()(),c(3,"div",11),y(4,og,2,1,"div",12)(5,rg,2,0,"button",13)(6,sg,2,0,"span",14)(7,cg,1,0,"ng-container",15),oe(8,"async"),x(9,"vq-card-result-set",16),oe(10,"async"),c(11,"div",17),oe(12,"async"),c(13,"mat-paginator",18),_("page",function(e){C(r);let n=f();return k(n.onPageChange(e))}),d()(),y(14,dg,5,3,"button",19),oe(15,"async"),d()}if(a&2){let r,t=f();m(4),u("ngIf",t.isFindBuyers&&(t.searchResults==null?null:t.searchResults.resultCount)<=2),m(),u("ngIf",!(t.brokerage!=null&&t.brokerage.isOnWaitlist)&&!(t.brokerage!=null&&t.brokerage.isVNASigned)),m(),u("ngIf",t.brokerage.isOnWaitlist&&!(t.brokerage!=null&&t.brokerage.isVNASigned)),m(),u("skeleton",!re(8,12,t.executeSearch$))("skeletonHeight","400px"),m(2),u("hidden",!re(10,14,t.executeSearch$))("searchResults",(r=t.searchResults==null?null:t.searchResults.results)!==null&&r!==void 0?r:Ks(20,ig)),m(2),u("hidden",!re(12,16,t.executeSearch$)),m(2),u("pageSize",t.searchResults==null?null:t.searchResults.resultLimit)("length",t.searchResults==null?null:t.searchResults.totalResultCount)("pageIndex",t.pageIndex()),m(),u("ngIf",re(15,18,t.selectedBuyersCount$)>0)}}var Zi=function(a){return a[a.DateJoined=1]="DateJoined",a[a.Name=2]="Name",a[a.TotalCapitalHigh=3]="TotalCapitalHigh",a[a.TotalCapitalLow=4]="TotalCapitalLow",a}(Zi||{}),sn=function(a){return a[a.Back=0]="Back",a[a.Forward=1]="Forward",a[a.Reset=2]="Reset",a}(sn||{}),tI=(()=>{let i=class i extends Qo{constructor(){super(),this.route=b(Oa),this.buyerSearchService=b(ml),this.dealService=b(Ho),this.savedChangesService=b(ui),this.dealReferralService=b(No),this.buyerCartService=b(cl),this.detachedRouteHandlesService=b(dl),this.componentActive=!0,this.brokerage=null,this.searchResults=null,this._searchRequest=null,this.showSearchResults=!1,this.industryList=[],this.isFindBuyers=!1,this.deal=null,this.dealId=null,this.dealShareResponse=null,this.executeSearch$=null,this.pageIndex=we(0),this.selectedBuyersCount$=at(0),this.brokerEmployee=null}ngOnInit(){this.detachedRouteHandlesService.changes$.pipe($s(jn)).subscribe(t=>{t.has(this.route.component)?this.onDetach():this.onAttach()}),this.isFindBuyers=this.route.snapshot.data.key==="find-buyers",this.dealId=this.route.snapshot.params.dealId,this.loadData$=this.load$(),this.buyerCartService.buyerSelections$.pipe(fr(()=>this.componentActive)).subscribe(t=>{this.selectedBuyersCount$=at(t.length).pipe(Ii(1))})}load$(){return this.brokerService.getBrokerage$().pipe(et(t=>{this.brokerage=t}),tt(()=>this.getBrokerEmployeeInfo$()),et(t=>{this.brokerEmployee=t}),tt(()=>this.dealId?this.loadDeal$(this.dealId):at(!0)))}receiveSearchFn(t){this.buyerCartService.clearBuyerSelections(),this.showSearchResults=!0,this._searchRequest=t.searchRequest,this.executeSearch$=t.searchFn.pipe(et(e=>{this.searchResults=e}),Ii(1))}onGetAccess(){this.openDialogService.openJoinWaitlistDialog().afterClosed().pipe(tt(e=>e&&e.event==="ok"?this.sendWaitlistRequest():at(null)),rt(1)).subscribe({next:e=>{e&&(this.openDialogService.openOkDialogComponent("Thank you for joining the waitlist!","Our team has been notified and will contact you shortly.",()=>{},"Close",null),this.brokerage.isOnWaitlist=!0)}})}sendWaitlistRequest(){return this.brokerService.joinWaitlist(this.brokerEmployee.brokerId,this.brokerEmployee.brokerEmployeeId).pipe(ut(()=>!0))}handleOpenSuccessFeeDialog(){this.openSuccessAgreementDialog().afterClosed().pipe(gt(e=>e?.event==="saved"),tt(()=>this.brokerService.getBrokerage$(!0)),et(e=>this.brokerage=e),tt(()=>this.buyerSearchService.searchBuyers(!0)),rt(1)).subscribe()}getBrokerEmployeeInfo$(){return this.brokerEmployeeService.getLoggedInBrokerEmployee()}onShare(){let t=this.buyerCartService.getSelectedBuyers(),e=t.filter(o=>o.sourceId===Fa.VequityNetwork).map(o=>o.buyerId),n=t.filter(o=>o.sourceId===Fa.Myself||o.sourceId===Fa.MyBrokerage).map(o=>o.buyerId);this.dealId&&this.deal!==null?this.brokerage.isVNASigned||e.length===0?this.openPreselectedDealShare$().pipe(fr(()=>this.componentActive)).subscribe():this.brokerage.isOnWaitlist&&!this.brokerage.isVNASigned?this.openDealShareWaitlistedDialog$(n):this.openDealShareVNABuyersDialog(e,n):this.brokerage.isVNASigned||e.length===0?this.openDealSearchDialog$().pipe(rt(1)).subscribe():this.brokerage.isOnWaitlist&&!this.brokerage.isVNASigned?this.openDealShareWaitlistedDialog$(n):this.openDealShareVNABuyersDialog(e,n)}openPreselectedDealShare$(){let t=this.confirmShareText(),e=this.openDialogService.openOkCancelDialogComponent("Confirm your share",t,()=>{},"Share Deal",()=>{},"Cancel"),n=this.buyerCartService.getSelectedBuyers();return e.afterClosed().pipe(gt(o=>o.event===Zt.OK),tt(()=>this.createReferralRecords$(this.deal.referralCode)),et(()=>{this.openDialogService.openDealShareCompleteDialog(this.deal.dealId,this.dealShareResponse.successCount,this.dealShareResponse.conflictCount,this.dealShareResponse.errorCount)}),et(()=>{this.dealShareResponse.errorCount<1&&this.buyerCartService.clearBuyerSelections()}))}openDealShareVNABuyersDialog(t=[],e=[]){this.openDialogService.openDealShareVNAbuyersDialog(this.brokerEmployee,t,e).afterClosed().pipe(tt(o=>o.event===Zt.SAVED?at("waitlist"):o.event===Zt.OK?at("continue"):at(null)),tt(o=>o==="waitlist"?this.brokerService.getBrokerage$(!0).pipe(et(s=>this.brokerage=s),tt(()=>this.openDealShareWaitlistedDialog$(e))):o==="continue"?this.dealId&&this.deal!==null?this.openPreselectedDealShare$():this.openDealSearchDialog$(e):at(null)),rt(1)).subscribe()}openDealShareWaitlistedDialog$(t=[]){return this.openDialogService.openDealShareWaitlistDialog(t).afterClosed().pipe(tt(n=>n.event===Zt.SAVED?this.openDealSearchDialog$(t):at(null)))}openDealSearchDialog$(t=[]){let e=this.buyerCartService.getSelectedBuyers(),n=this.brokerage.isVNASigned?e.map(s=>s.buyerId):t;return this.openDialogService.openEmployeeDealSearchDialog(this.brokerEmployee.brokerEmployeeId,n).afterClosed().pipe(et(()=>{this.dealShareResponse.errorCount<1&&this.buyerCartService.clearBuyerSelections()}))}loadDeal$(t){return this.dealService.getDealById(t).pipe(et(e=>this.deal=e))}createReferralRecords$(t){this.savedChangesService.processingText="Sharing...",this.savedChangesService.saveCompleteText="Done";let e=this.buyerCartService.getSelectedBuyers().map(n=>n.buyerId);return this.dealReferralService.createBatchDealReferrals(e,t,!1).pipe(et(n=>{this.dealShareResponse=n}))}confirmShareText(){let t=this.buyerCartService.getSelectedBuyers(),e=this.deal.title,n=t.length;return`<span> You are sharing ${e} with <b>${n} buyers</b> </span>`}backClick(){this.showSearchResults=!1,this.router.navigate([],{relativeTo:this.route,queryParamsHandling:"preserve"})}onPageChange(t){let e=sn.Reset;t.pageIndex>t.previousPageIndex?e=sn.Forward:t.pageIndex<t.previousPageIndex?e=sn.Back:e=sn.Reset,this.pageIndex.set(t.pageIndex),this._searchRequest.index=this.getStartIndex(e),this.executeSearch$=this.buyerSearchService.searchBuyers(!1,this._searchRequest).pipe(et(n=>{this.searchResults=n}),Ii(1))}getStartIndex(t){switch(t){case sn.Back:let e=this.searchResults.index-this.searchResults.resultLimit;return e<0?0:e;case sn.Forward:return this.searchResults.index+this.searchResults.resultLimit;default:return 0}}onAttach(){this.componentActive=!0}onDetach(){this.componentActive=!1}};i.\u0275fac=function(e){return new(e||i)},i.\u0275cmp=w({type:i,selectors:[["vq-mobile-buyer-search"]],features:[Z],decls:6,vars:4,consts:[["loading",""],["results",""],["class","parent-container",4,"ngIf","ngIfElse"],[1,"parent-container"],[1,"results-container",3,"hidden"],[3,"ngTemplateOutlet"],[3,"searchObj","hidden"],[1,"full"],[1,"btn-row"],["matRipple","","type","button",1,"back-button",3,"click"],[1,"i_arrow_l_sm"],[1,"results-container"],[4,"ngIf"],["class","access",3,"click",4,"ngIf"],["class","waitlist",4,"ngIf"],[4,"skeleton","skeletonHeight"],[3,"hidden","searchResults"],[1,"margin-top-md",3,"hidden"],[1,"margin-bottom-md","paginator",3,"page","pageSize","length","pageIndex"],["matRipple","","class","share round-btn vq-secondary-btn",3,"click",4,"ngIf"],[3,"resultCount"],[1,"access",3,"click"],[1,"waitlist"],["matRipple","",1,"share","round-btn","vq-secondary-btn",3,"click"]],template:function(e,n){if(e&1&&(y(0,ng,4,3,"div",2),oe(1,"async"),y(2,ag,2,0,"ng-template",null,0,ei)(4,lg,16,21,"ng-template",null,1,ei)),e&2){let o=Bt(3);u("ngIf",re(1,2,n.loadData$))("ngIfElse",o)}},styles:[".results-container[_ngcontent-%COMP%]{padding-bottom:72px}.results-container[_ngcontent-%COMP%]   .btn-row[_ngcontent-%COMP%]{padding:6px 2px}.results-container[_ngcontent-%COMP%]   .btn-row[_ngcontent-%COMP%]   .back-button[_ngcontent-%COMP%]{cursor:pointer;border:0;border-radius:100%;background-color:transparent;display:flex;align-items:center;justify-content:center;width:24px;height:24px;padding:16px}.results-container[_ngcontent-%COMP%]   .btn-row[_ngcontent-%COMP%]   .back-button[_ngcontent-%COMP%]   .i_arrow_l_sm[_ngcontent-%COMP%]{font-size:24px}.results-container[_ngcontent-%COMP%]   .results-count[_ngcontent-%COMP%]{background-color:#1788fb;border-radius:3px;color:#fff;padding:3px 5px;margin-left:5px;font-weight:400;font-size:1.2rem;line-height:15px;min-width:60px}.access[_ngcontent-%COMP%]{background:#0085ff;color:#fff;width:193px;padding:10px;border:none;border-radius:3px;cursor:pointer}.waitlist[_ngcontent-%COMP%]{border-radius:3px;padding:5px 10px;color:#fff;font-weight:600;background-color:#efaa5a}button.share[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto;position:absolute;bottom:24px;width:248px;left:0;right:0}"]});let a=i;return a})();var hl=(()=>{let i=class i{};i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=N({type:i}),i.\u0275inj=L({});let a=i;return a})();function Il(a){let i=a.cloneNode(!0),r=i.querySelectorAll("[id]"),t=a.nodeName.toLowerCase();i.removeAttribute("id");for(let e=0;e<r.length;e++)r[e].removeAttribute("id");return t==="canvas"?gl(a,i):(t==="input"||t==="select"||t==="textarea")&&ul(a,i),pl("canvas",a,i,gl),pl("input, textarea, select",a,i,ul),i}function pl(a,i,r,t){let e=i.querySelectorAll(a);if(e.length){let n=r.querySelectorAll(a);for(let o=0;o<e.length;o++)t(e[o],n[o])}}var mg=0;function ul(a,i){i.type!=="file"&&(i.value=a.value),i.type==="radio"&&i.name&&(i.name=`mat-clone-${i.name}-${mg++}`)}function gl(a,i){let r=i.getContext("2d");if(r)try{r.drawImage(a,0,0)}catch{}}function fs(a){let i=a.getBoundingClientRect();return{top:i.top,right:i.right,bottom:i.bottom,left:i.left,width:i.width,height:i.height,x:i.x,y:i.y}}function ms(a,i,r){let{top:t,bottom:e,left:n,right:o}=a;return r>=t&&r<=e&&i>=n&&i<=o}function ca(a,i,r){a.top+=i,a.bottom=a.top+a.height,a.left+=r,a.right=a.left+a.width}function fl(a,i,r,t){let{top:e,right:n,bottom:o,left:s,width:h,height:g}=a,v=h*i,D=g*i;return t>e-D&&t<o+D&&r>s-v&&r<n+v}var Xo=class{constructor(i){this._document=i,this.positions=new Map}clear(){this.positions.clear()}cache(i){this.clear(),this.positions.set(this._document,{scrollPosition:this.getViewportScrollPosition()}),i.forEach(r=>{this.positions.set(r,{scrollPosition:{top:r.scrollTop,left:r.scrollLeft},clientRect:fs(r)})})}handleScroll(i){let r=en(i),t=this.positions.get(r);if(!t)return null;let e=t.scrollPosition,n,o;if(r===this._document){let g=this.getViewportScrollPosition();n=g.top,o=g.left}else n=r.scrollTop,o=r.scrollLeft;let s=e.top-n,h=e.left-o;return this.positions.forEach((g,v)=>{g.clientRect&&r!==v&&r.contains(v)&&ca(g.clientRect,s,h)}),e.top=n,e.left=o,{top:s,left:h}}getViewportScrollPosition(){return{top:window.scrollY,left:window.scrollX}}};function Ml(a,i){let r=a.rootNodes;if(r.length===1&&r[0].nodeType===i.ELEMENT_NODE)return r[0];let t=i.createElement("div");return r.forEach(e=>t.appendChild(e)),t}function _s(a,i,r){for(let t in i)if(i.hasOwnProperty(t)){let e=i[t];e?a.setProperty(t,e,r?.has(t)?"important":""):a.removeProperty(t)}return a}function zn(a,i){let r=i?"":"none";_s(a.style,{"touch-action":i?"":"none","-webkit-user-drag":i?"":"none","-webkit-tap-highlight-color":i?"":"transparent","user-select":r,"-ms-user-select":r,"-webkit-user-select":r,"-moz-user-select":r})}function _l(a,i,r){_s(a.style,{position:i?"":"fixed",top:i?"":"0",opacity:i?"":"0",left:i?"":"-999em"},r)}function Jo(a,i){return i&&i!="none"?a+" "+i:a}function bl(a,i){a.style.width=`${i.width}px`,a.style.height=`${i.height}px`,a.style.transform=tr(i.left,i.top)}function tr(a,i){return`translate3d(${Math.round(a)}px, ${Math.round(i)}px, 0)`}function vl(a){let i=a.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(a)*i}function hg(a){let i=getComputedStyle(a),r=ls(i,"transition-property"),t=r.find(s=>s==="transform"||s==="all");if(!t)return 0;let e=r.indexOf(t),n=ls(i,"transition-duration"),o=ls(i,"transition-delay");return vl(n[e])+vl(o[e])}function ls(a,i){return a.getPropertyValue(i).split(",").map(t=>t.trim())}var pg=new Set(["position"]),hs=class{constructor(i,r,t,e,n,o,s,h,g){this._document=i,this._rootElement=r,this._direction=t,this._initialDomRect=e,this._previewTemplate=n,this._previewClass=o,this._pickupPositionOnPage=s,this._initialTransform=h,this._zIndex=g}attach(i){this._preview=this._createPreview(),i.appendChild(this._preview),"showPopover"in this._preview&&this._preview.showPopover()}destroy(){this._preview.remove(),this._previewEmbeddedView?.destroy(),this._preview=this._previewEmbeddedView=null}setTransform(i){this._preview.style.transform=i}getBoundingClientRect(){return this._preview.getBoundingClientRect()}addClass(i){this._preview.classList.add(i)}getTransitionDuration(){return hg(this._preview)}addEventListener(i,r){this._preview.addEventListener(i,r)}removeEventListener(i,r){this._preview.removeEventListener(i,r)}_createPreview(){let i=this._previewTemplate,r=this._previewClass,t=i?i.template:null,e;if(t&&i){let n=i.matchSize?this._initialDomRect:null,o=i.viewContainer.createEmbeddedView(t,i.context);o.detectChanges(),e=Ml(o,this._document),this._previewEmbeddedView=o,i.matchSize?bl(e,n):e.style.transform=tr(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else e=Il(this._rootElement),bl(e,this._initialDomRect),this._initialTransform&&(e.style.transform=this._initialTransform);return _s(e.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":this._zIndex+""},pg),zn(e,!1),e.classList.add("cdk-drag-preview"),e.setAttribute("popover","manual"),e.setAttribute("dir",this._direction),r&&(Array.isArray(r)?r.forEach(n=>e.classList.add(n)):e.classList.add(r)),e}},yl=Ee({passive:!0}),Yo=Ee({passive:!1}),wl=Ee({passive:!1,capture:!0}),ug=800,xl=new Set(["position"]),ps=class{get disabled(){return this._disabled||!!(this._dropContainer&&this._dropContainer.disabled)}set disabled(i){i!==this._disabled&&(this._disabled=i,this._toggleNativeDragInteractions(),this._handles.forEach(r=>zn(r,i)))}constructor(i,r,t,e,n,o){this._config=r,this._document=t,this._ngZone=e,this._viewportRuler=n,this._dragDropRegistry=o,this._passiveTransform={x:0,y:0},this._activeTransform={x:0,y:0},this._hasStartedDragging=we(!1),this._moveEvents=new E,this._pointerMoveSubscription=Rt.EMPTY,this._pointerUpSubscription=Rt.EMPTY,this._scrollSubscription=Rt.EMPTY,this._resizeSubscription=Rt.EMPTY,this._boundaryElement=null,this._nativeInteractionsEnabled=!0,this._handles=[],this._disabledHandles=new Set,this._direction="ltr",this.dragStartDelay=0,this._disabled=!1,this.beforeStarted=new E,this.started=new E,this.released=new E,this.ended=new E,this.entered=new E,this.exited=new E,this.dropped=new E,this.moved=this._moveEvents,this._pointerDown=s=>{if(this.beforeStarted.next(),this._handles.length){let h=this._getTargetHandle(s);h&&!this._disabledHandles.has(h)&&!this.disabled&&this._initializeDragSequence(h,s)}else this.disabled||this._initializeDragSequence(this._rootElement,s)},this._pointerMove=s=>{let h=this._getPointerPositionOnPage(s);if(!this._hasStartedDragging()){let v=Math.abs(h.x-this._pickupPositionOnPage.x),D=Math.abs(h.y-this._pickupPositionOnPage.y);if(v+D>=this._config.dragStartThreshold){let lt=Date.now()>=this._dragStartTime+this._getDragStartDelay(s),kt=this._dropContainer;if(!lt){this._endDragSequence(s);return}(!kt||!kt.isDragging()&&!kt.isReceiving())&&(s.cancelable&&s.preventDefault(),this._hasStartedDragging.set(!0),this._ngZone.run(()=>this._startDragSequence(s)))}return}s.cancelable&&s.preventDefault();let g=this._getConstrainedPointerPosition(h);if(this._hasMoved=!0,this._lastKnownPointerPosition=h,this._updatePointerDirectionDelta(g),this._dropContainer)this._updateActiveDropContainer(g,h);else{let v=this.constrainPosition?this._initialDomRect:this._pickupPositionOnPage,D=this._activeTransform;D.x=g.x-v.x+this._passiveTransform.x,D.y=g.y-v.y+this._passiveTransform.y,this._applyRootElementTransform(D.x,D.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:g,event:s,distance:this._getDragDistance(g),delta:this._pointerDirectionDelta})})},this._pointerUp=s=>{this._endDragSequence(s)},this._nativeDragStart=s=>{if(this._handles.length){let h=this._getTargetHandle(s);h&&!this._disabledHandles.has(h)&&!this.disabled&&s.preventDefault()}else this.disabled||s.preventDefault()},this.withRootElement(i).withParent(r.parentDragRef||null),this._parentPositions=new Xo(t),o.registerDragItem(this)}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(i){this._handles=i.map(t=>Te(t)),this._handles.forEach(t=>zn(t,this.disabled)),this._toggleNativeDragInteractions();let r=new Set;return this._disabledHandles.forEach(t=>{this._handles.indexOf(t)>-1&&r.add(t)}),this._disabledHandles=r,this}withPreviewTemplate(i){return this._previewTemplate=i,this}withPlaceholderTemplate(i){return this._placeholderTemplate=i,this}withRootElement(i){let r=Te(i);return r!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{r.addEventListener("mousedown",this._pointerDown,Yo),r.addEventListener("touchstart",this._pointerDown,yl),r.addEventListener("dragstart",this._nativeDragStart,Yo)}),this._initialTransform=void 0,this._rootElement=r),typeof SVGElement<"u"&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(i){return this._boundaryElement=i?Te(i):null,this._resizeSubscription.unsubscribe(),i&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(i){return this._parentDragRef=i,this}dispose(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&this._rootElement?.remove(),this._anchor?.remove(),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeListeners(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=this._parentDragRef=null}isDragging(){return this._hasStartedDragging()&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}disableHandle(i){!this._disabledHandles.has(i)&&this._handles.indexOf(i)>-1&&(this._disabledHandles.add(i),zn(i,!0))}enableHandle(i){this._disabledHandles.has(i)&&(this._disabledHandles.delete(i),zn(i,this.disabled))}withDirection(i){return this._direction=i,this}_withDropContainer(i){this._dropContainer=i}getFreeDragPosition(){let i=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:i.x,y:i.y}}setFreeDragPosition(i){return this._activeTransform={x:0,y:0},this._passiveTransform.x=i.x,this._passiveTransform.y=i.y,this._dropContainer||this._applyRootElementTransform(i.x,i.y),this}withPreviewContainer(i){return this._previewContainer=i,this}_sortFromLastPointerPosition(){let i=this._lastKnownPointerPosition;i&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(i),i)}_removeListeners(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe(),this._getShadowRoot()?.removeEventListener("selectstart",kl,wl)}_destroyPreview(){this._preview?.destroy(),this._preview=null}_destroyPlaceholder(){this._placeholder?.remove(),this._placeholderRef?.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(i){if(this._dragDropRegistry.isDragging(this)&&(this._removeListeners(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),!!this._hasStartedDragging()))if(this.released.next({source:this,event:i}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(i),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;let r=this._getPointerPositionOnPage(i);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(r),dropPoint:r,event:i})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}_startDragSequence(i){sa(i)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();let r=this._getShadowRoot(),t=this._dropContainer;if(r&&this._ngZone.runOutsideAngular(()=>{r.addEventListener("selectstart",kl,wl)}),t){let e=this._rootElement,n=e.parentNode,o=this._placeholder=this._createPlaceholderElement(),s=this._anchor=this._anchor||this._document.createComment("");n.insertBefore(s,e),this._initialTransform=e.style.transform||"",this._preview=new hs(this._document,this._rootElement,this._direction,this._initialDomRect,this._previewTemplate||null,this.previewClass||null,this._pickupPositionOnPage,this._initialTransform,this._config.zIndex||1e3),this._preview.attach(this._getPreviewInsertionPoint(n,r)),_l(e,!1,xl),this._document.body.appendChild(n.replaceChild(o,e)),this.started.next({source:this,event:i}),t.start(),this._initialContainer=t,this._initialIndex=t.getItemIndex(this)}else this.started.next({source:this,event:i}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(t?t.getScrollableParents():[])}_initializeDragSequence(i,r){this._parentDragRef&&r.stopPropagation();let t=this.isDragging(),e=sa(r),n=!e&&r.button!==0,o=this._rootElement,s=en(r),h=!e&&this._lastTouchEventTime&&this._lastTouchEventTime+ug>Date.now(),g=e?ja(r):Va(r);if(s&&s.draggable&&r.type==="mousedown"&&r.preventDefault(),t||n||h||g)return;if(this._handles.length){let G=o.style;this._rootElementTapHighlight=G.webkitTapHighlightColor||"",G.webkitTapHighlightColor="transparent"}this._hasMoved=!1,this._hasStartedDragging.set(this._hasMoved),this._removeListeners(),this._initialDomRect=this._rootElement.getBoundingClientRect(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(G=>this._updateOnScroll(G)),this._boundaryElement&&(this._boundaryRect=fs(this._boundaryElement));let v=this._previewTemplate;this._pickupPositionInElement=v&&v.template&&!v.matchSize?{x:0,y:0}:this._getPointerPositionInElement(this._initialDomRect,i,r);let D=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(r);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:D.x,y:D.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,r)}_cleanupDragArtifacts(i){_l(this._rootElement,!0,xl),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._initialDomRect=this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{let r=this._dropContainer,t=r.getItemIndex(this),e=this._getPointerPositionOnPage(i),n=this._getDragDistance(e),o=r._isOverContainer(e.x,e.y);this.ended.next({source:this,distance:n,dropPoint:e,event:i}),this.dropped.next({item:this,currentIndex:t,previousIndex:this._initialIndex,container:r,previousContainer:this._initialContainer,isPointerOverContainer:o,distance:n,dropPoint:e,event:i}),r.drop(this,t,this._initialIndex,this._initialContainer,o,n,e,i),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:i,y:r},{x:t,y:e}){let n=this._initialContainer._getSiblingContainerFromPosition(this,i,r);!n&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(i,r)&&(n=this._initialContainer),n&&n!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=n,this._dropContainer.enter(this,i,r,n===this._initialContainer&&n.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:n,currentIndex:n.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(t,e),this._dropContainer._sortItem(this,i,r,this._pointerDirectionDelta),this.constrainPosition?this._applyPreviewTransform(i,r):this._applyPreviewTransform(i-this._pickupPositionInElement.x,r-this._pickupPositionInElement.y))}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();let i=this._placeholder.getBoundingClientRect();this._preview.addClass("cdk-drag-animating"),this._applyPreviewTransform(i.left,i.top);let r=this._preview.getTransitionDuration();return r===0?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(t=>{let e=o=>{(!o||en(o)===this._preview&&o.propertyName==="transform")&&(this._preview?.removeEventListener("transitionend",e),t(),clearTimeout(n))},n=setTimeout(e,r*1.5);this._preview.addEventListener("transitionend",e)}))}_createPlaceholderElement(){let i=this._placeholderTemplate,r=i?i.template:null,t;return r?(this._placeholderRef=i.viewContainer.createEmbeddedView(r,i.context),this._placeholderRef.detectChanges(),t=Ml(this._placeholderRef,this._document)):t=Il(this._rootElement),t.style.pointerEvents="none",t.classList.add("cdk-drag-placeholder"),t}_getPointerPositionInElement(i,r,t){let e=r===this._rootElement?null:r,n=e?e.getBoundingClientRect():i,o=sa(t)?t.targetTouches[0]:t,s=this._getViewportScrollPosition(),h=o.pageX-n.left-s.left,g=o.pageY-n.top-s.top;return{x:n.left-i.left+h,y:n.top-i.top+g}}_getPointerPositionOnPage(i){let r=this._getViewportScrollPosition(),t=sa(i)?i.touches[0]||i.changedTouches[0]||{pageX:0,pageY:0}:i,e=t.pageX-r.left,n=t.pageY-r.top;if(this._ownerSVGElement){let o=this._ownerSVGElement.getScreenCTM();if(o){let s=this._ownerSVGElement.createSVGPoint();return s.x=e,s.y=n,s.matrixTransform(o.inverse())}}return{x:e,y:n}}_getConstrainedPointerPosition(i){let r=this._dropContainer?this._dropContainer.lockAxis:null,{x:t,y:e}=this.constrainPosition?this.constrainPosition(i,this,this._initialDomRect,this._pickupPositionInElement):i;if(this.lockAxis==="x"||r==="x"?e=this._pickupPositionOnPage.y-(this.constrainPosition?this._pickupPositionInElement.y:0):(this.lockAxis==="y"||r==="y")&&(t=this._pickupPositionOnPage.x-(this.constrainPosition?this._pickupPositionInElement.x:0)),this._boundaryRect){let{x:n,y:o}=this.constrainPosition?{x:0,y:0}:this._pickupPositionInElement,s=this._boundaryRect,{width:h,height:g}=this._getPreviewRect(),v=s.top+o,D=s.bottom-(g-o),G=s.left+n,lt=s.right-(h-n);t=Cl(t,G,lt),e=Cl(e,v,D)}return{x:t,y:e}}_updatePointerDirectionDelta(i){let{x:r,y:t}=i,e=this._pointerDirectionDelta,n=this._pointerPositionAtLastDirectionChange,o=Math.abs(r-n.x),s=Math.abs(t-n.y);return o>this._config.pointerDirectionChangeThreshold&&(e.x=r>n.x?1:-1,n.x=r),s>this._config.pointerDirectionChangeThreshold&&(e.y=t>n.y?1:-1,n.y=t),e}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;let i=this._handles.length>0||!this.isDragging();i!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=i,zn(this._rootElement,i))}_removeRootElementListeners(i){i.removeEventListener("mousedown",this._pointerDown,Yo),i.removeEventListener("touchstart",this._pointerDown,yl),i.removeEventListener("dragstart",this._nativeDragStart,Yo)}_applyRootElementTransform(i,r){let t=tr(i,r),e=this._rootElement.style;this._initialTransform==null&&(this._initialTransform=e.transform&&e.transform!="none"?e.transform:""),e.transform=Jo(t,this._initialTransform)}_applyPreviewTransform(i,r){let t=this._previewTemplate?.template?void 0:this._initialTransform,e=tr(i,r);this._preview.setTransform(Jo(e,t))}_getDragDistance(i){let r=this._pickupPositionOnPage;return r?{x:i.x-r.x,y:i.y-r.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:i,y:r}=this._passiveTransform;if(i===0&&r===0||this.isDragging()||!this._boundaryElement)return;let t=this._rootElement.getBoundingClientRect(),e=this._boundaryElement.getBoundingClientRect();if(e.width===0&&e.height===0||t.width===0&&t.height===0)return;let n=e.left-t.left,o=t.right-e.right,s=e.top-t.top,h=t.bottom-e.bottom;e.width>t.width?(n>0&&(i+=n),o>0&&(i-=o)):i=0,e.height>t.height?(s>0&&(r+=s),h>0&&(r-=h)):r=0,(i!==this._passiveTransform.x||r!==this._passiveTransform.y)&&this.setFreeDragPosition({y:r,x:i})}_getDragStartDelay(i){let r=this.dragStartDelay;return typeof r=="number"?r:sa(i)?r.touch:r?r.mouse:0}_updateOnScroll(i){let r=this._parentPositions.handleScroll(i);if(r){let t=en(i);this._boundaryRect&&t!==this._boundaryElement&&t.contains(this._boundaryElement)&&ca(this._boundaryRect,r.top,r.left),this._pickupPositionOnPage.x+=r.left,this._pickupPositionOnPage.y+=r.top,this._dropContainer||(this._activeTransform.x-=r.left,this._activeTransform.y-=r.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){return this._parentPositions.positions.get(this._document)?.scrollPosition||this._parentPositions.getViewportScrollPosition()}_getShadowRoot(){return this._cachedShadowRoot===void 0&&(this._cachedShadowRoot=br(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(i,r){let t=this._previewContainer||"global";if(t==="parent")return i;if(t==="global"){let e=this._document;return r||e.fullscreenElement||e.webkitFullscreenElement||e.mozFullScreenElement||e.msFullscreenElement||e.body}return Te(t)}_getPreviewRect(){return(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=this._preview?this._preview.getBoundingClientRect():this._initialDomRect),this._previewRect}_getTargetHandle(i){return this._handles.find(r=>i.target&&(i.target===r||r.contains(i.target)))}};function Cl(a,i,r){return Math.max(i,Math.min(r,a))}function sa(a){return a.type[0]==="t"}function kl(a){a.preventDefault()}function gg(a,i,r){let t=Dl(i,a.length-1),e=Dl(r,a.length-1);if(t===e)return;let n=a[t],o=e<t?-1:1;for(let s=t;s!==e;s+=o)a[s]=a[s+o];a[e]=n}function Dl(a,i){return Math.max(0,Math.min(i,a))}var us=class{constructor(i,r){this._element=i,this._dragDropRegistry=r,this._itemPositions=[],this.orientation="vertical",this._previousSwap={drag:null,delta:0,overlaps:!1}}start(i){this.withItems(i)}sort(i,r,t,e){let n=this._itemPositions,o=this._getItemIndexFromPointerPosition(i,r,t,e);if(o===-1&&n.length>0)return null;let s=this.orientation==="horizontal",h=n.findIndex(It=>It.drag===i),g=n[o],v=n[h].clientRect,D=g.clientRect,G=h>o?1:-1,lt=this._getItemOffsetPx(v,D,G),kt=this._getSiblingOffsetPx(h,n,G),Ie=n.slice();return gg(n,h,o),n.forEach((It,Ze)=>{if(Ie[Ze]===It)return;let Bs=It.drag===i,gr=Bs?lt:kt,Hs=Bs?i.getPlaceholderElement():It.drag.getRootElement();It.offset+=gr,s?(Hs.style.transform=Jo(`translate3d(${Math.round(It.offset)}px, 0, 0)`,It.initialTransform),ca(It.clientRect,0,gr)):(Hs.style.transform=Jo(`translate3d(0, ${Math.round(It.offset)}px, 0)`,It.initialTransform),ca(It.clientRect,gr,0))}),this._previousSwap.overlaps=ms(D,r,t),this._previousSwap.drag=g.drag,this._previousSwap.delta=s?e.x:e.y,{previousIndex:h,currentIndex:o}}enter(i,r,t,e){let n=e==null||e<0?this._getItemIndexFromPointerPosition(i,r,t):e,o=this._activeDraggables,s=o.indexOf(i),h=i.getPlaceholderElement(),g=o[n];if(g===i&&(g=o[n+1]),!g&&(n==null||n===-1||n<o.length-1)&&this._shouldEnterAsFirstChild(r,t)&&(g=o[0]),s>-1&&o.splice(s,1),g&&!this._dragDropRegistry.isDragging(g)){let v=g.getRootElement();v.parentElement.insertBefore(h,v),o.splice(n,0,i)}else Te(this._element).appendChild(h),o.push(i);h.style.transform="",this._cacheItemPositions()}withItems(i){this._activeDraggables=i.slice(),this._cacheItemPositions()}withSortPredicate(i){this._sortPredicate=i}reset(){this._activeDraggables.forEach(i=>{let r=i.getRootElement();if(r){let t=this._itemPositions.find(e=>e.drag===i)?.initialTransform;r.style.transform=t||""}}),this._itemPositions=[],this._activeDraggables=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1}getActiveItemsSnapshot(){return this._activeDraggables}getItemIndex(i){return(this.orientation==="horizontal"&&this.direction==="rtl"?this._itemPositions.slice().reverse():this._itemPositions).findIndex(t=>t.drag===i)}updateOnScroll(i,r){this._itemPositions.forEach(({clientRect:t})=>{ca(t,i,r)}),this._itemPositions.forEach(({drag:t})=>{this._dragDropRegistry.isDragging(t)&&t._sortFromLastPointerPosition()})}_cacheItemPositions(){let i=this.orientation==="horizontal";this._itemPositions=this._activeDraggables.map(r=>{let t=r.getVisibleElement();return{drag:r,offset:0,initialTransform:t.style.transform||"",clientRect:fs(t)}}).sort((r,t)=>i?r.clientRect.left-t.clientRect.left:r.clientRect.top-t.clientRect.top)}_getItemOffsetPx(i,r,t){let e=this.orientation==="horizontal",n=e?r.left-i.left:r.top-i.top;return t===-1&&(n+=e?r.width-i.width:r.height-i.height),n}_getSiblingOffsetPx(i,r,t){let e=this.orientation==="horizontal",n=r[i].clientRect,o=r[i+t*-1],s=n[e?"width":"height"]*t;if(o){let h=e?"left":"top",g=e?"right":"bottom";t===-1?s-=o.clientRect[h]-n[g]:s+=n[h]-o.clientRect[g]}return s}_shouldEnterAsFirstChild(i,r){if(!this._activeDraggables.length)return!1;let t=this._itemPositions,e=this.orientation==="horizontal";if(t[0].drag!==this._activeDraggables[0]){let o=t[t.length-1].clientRect;return e?i>=o.right:r>=o.bottom}else{let o=t[0].clientRect;return e?i<=o.left:r<=o.top}}_getItemIndexFromPointerPosition(i,r,t,e){let n=this.orientation==="horizontal",o=this._itemPositions.findIndex(({drag:s,clientRect:h})=>{if(s===i)return!1;if(e){let g=n?e.x:e.y;if(s===this._previousSwap.drag&&this._previousSwap.overlaps&&g===this._previousSwap.delta)return!1}return n?r>=Math.floor(h.left)&&r<Math.floor(h.right):t>=Math.floor(h.top)&&t<Math.floor(h.bottom)});return o===-1||!this._sortPredicate(o,i)?-1:o}},Sl=.05,El=.05,He=function(a){return a[a.NONE=0]="NONE",a[a.UP=1]="UP",a[a.DOWN=2]="DOWN",a}(He||{}),Ce=function(a){return a[a.NONE=0]="NONE",a[a.LEFT=1]="LEFT",a[a.RIGHT=2]="RIGHT",a}(Ce||{}),gs=class{constructor(i,r,t,e,n){this._dragDropRegistry=r,this._ngZone=e,this._viewportRuler=n,this.disabled=!1,this.sortingDisabled=!1,this.autoScrollDisabled=!1,this.autoScrollStep=2,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.beforeStarted=new E,this.entered=new E,this.exited=new E,this.dropped=new E,this.sorted=new E,this.receivingStarted=new E,this.receivingStopped=new E,this._isDragging=!1,this._draggables=[],this._siblings=[],this._activeSiblings=new Set,this._viewportScrollSubscription=Rt.EMPTY,this._verticalScrollDirection=He.NONE,this._horizontalScrollDirection=Ce.NONE,this._stopScrollTimers=new E,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),Ws(0,Us).pipe(st(this._stopScrollTimers)).subscribe(()=>{let o=this._scrollNode,s=this.autoScrollStep;this._verticalScrollDirection===He.UP?o.scrollBy(0,-s):this._verticalScrollDirection===He.DOWN&&o.scrollBy(0,s),this._horizontalScrollDirection===Ce.LEFT?o.scrollBy(-s,0):this._horizontalScrollDirection===Ce.RIGHT&&o.scrollBy(s,0)})},this.element=Te(i),this._document=t,this.withScrollableParents([this.element]),r.registerDropContainer(this),this._parentPositions=new Xo(t),this._sortStrategy=new us(this.element,r),this._sortStrategy.withSortPredicate((o,s)=>this.sortPredicate(o,s,this))}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this.receivingStarted.complete(),this.receivingStopped.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(i,r,t,e){this._draggingStarted(),e==null&&this.sortingDisabled&&(e=this._draggables.indexOf(i)),this._sortStrategy.enter(i,r,t,e),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:i,container:this,currentIndex:this.getItemIndex(i)})}exit(i){this._reset(),this.exited.next({item:i,container:this})}drop(i,r,t,e,n,o,s,h={}){this._reset(),this.dropped.next({item:i,currentIndex:r,previousIndex:t,container:this,previousContainer:e,isPointerOverContainer:n,distance:o,dropPoint:s,event:h})}withItems(i){let r=this._draggables;return this._draggables=i,i.forEach(t=>t._withDropContainer(this)),this.isDragging()&&(r.filter(e=>e.isDragging()).every(e=>i.indexOf(e)===-1)?this._reset():this._sortStrategy.withItems(this._draggables)),this}withDirection(i){return this._sortStrategy.direction=i,this}connectedTo(i){return this._siblings=i.slice(),this}withOrientation(i){return this._sortStrategy.orientation=i,this}withScrollableParents(i){let r=Te(this.element);return this._scrollableElements=i.indexOf(r)===-1?[r,...i]:i.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(i){return this._isDragging?this._sortStrategy.getItemIndex(i):this._draggables.indexOf(i)}isReceiving(){return this._activeSiblings.size>0}_sortItem(i,r,t,e){if(this.sortingDisabled||!this._domRect||!fl(this._domRect,Sl,r,t))return;let n=this._sortStrategy.sort(i,r,t,e);n&&this.sorted.next({previousIndex:n.previousIndex,currentIndex:n.currentIndex,container:this,item:i})}_startScrollingIfNecessary(i,r){if(this.autoScrollDisabled)return;let t,e=He.NONE,n=Ce.NONE;if(this._parentPositions.positions.forEach((o,s)=>{s===this._document||!o.clientRect||t||fl(o.clientRect,Sl,i,r)&&([e,n]=fg(s,o.clientRect,this._sortStrategy.direction,i,r),(e||n)&&(t=s))}),!e&&!n){let{width:o,height:s}=this._viewportRuler.getViewportSize(),h={width:o,height:s,top:0,right:o,bottom:s,left:0};e=Tl(h,r),n=Al(h,i),t=window}t&&(e!==this._verticalScrollDirection||n!==this._horizontalScrollDirection||t!==this._scrollNode)&&(this._verticalScrollDirection=e,this._horizontalScrollDirection=n,this._scrollNode=t,(e||n)&&t?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){let i=Te(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=i.msScrollSnapType||i.scrollSnapType||"",i.scrollSnapType=i.msScrollSnapType="none",this._sortStrategy.start(this._draggables),this._cacheParentPositions(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){let i=Te(this.element);this._parentPositions.cache(this._scrollableElements),this._domRect=this._parentPositions.positions.get(i).clientRect}_reset(){this._isDragging=!1;let i=Te(this.element).style;i.scrollSnapType=i.msScrollSnapType=this._initialScrollSnap,this._siblings.forEach(r=>r._stopReceiving(this)),this._sortStrategy.reset(),this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_isOverContainer(i,r){return this._domRect!=null&&ms(this._domRect,i,r)}_getSiblingContainerFromPosition(i,r,t){return this._siblings.find(e=>e._canReceive(i,r,t))}_canReceive(i,r,t){if(!this._domRect||!ms(this._domRect,r,t)||!this.enterPredicate(i,this))return!1;let e=this._getShadowRoot().elementFromPoint(r,t);if(!e)return!1;let n=Te(this.element);return e===n||n.contains(e)}_startReceiving(i,r){let t=this._activeSiblings;!t.has(i)&&r.every(e=>this.enterPredicate(e,this)||this._draggables.indexOf(e)>-1)&&(t.add(i),this._cacheParentPositions(),this._listenToScrollEvents(),this.receivingStarted.next({initiator:i,receiver:this,items:r}))}_stopReceiving(i){this._activeSiblings.delete(i),this._viewportScrollSubscription.unsubscribe(),this.receivingStopped.next({initiator:i,receiver:this})}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(i=>{if(this.isDragging()){let r=this._parentPositions.handleScroll(i);r&&this._sortStrategy.updateOnScroll(r.top,r.left)}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){let i=br(Te(this.element));this._cachedShadowRoot=i||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){let i=this._sortStrategy.getActiveItemsSnapshot().filter(r=>r.isDragging());this._siblings.forEach(r=>r._startReceiving(this,i))}};function Tl(a,i){let{top:r,bottom:t,height:e}=a,n=e*El;return i>=r-n&&i<=r+n?He.UP:i>=t-n&&i<=t+n?He.DOWN:He.NONE}function Al(a,i){let{left:r,right:t,width:e}=a,n=e*El;return i>=r-n&&i<=r+n?Ce.LEFT:i>=t-n&&i<=t+n?Ce.RIGHT:Ce.NONE}function fg(a,i,r,t,e){let n=Tl(i,e),o=Al(i,t),s=He.NONE,h=Ce.NONE;if(n){let g=a.scrollTop;n===He.UP?g>0&&(s=He.UP):a.scrollHeight-g>a.clientHeight&&(s=He.DOWN)}if(o){let g=a.scrollLeft;r==="rtl"?o===Ce.RIGHT?g<0&&(h=Ce.RIGHT):a.scrollWidth+g>a.clientWidth&&(h=Ce.LEFT):o===Ce.LEFT?g>0&&(h=Ce.LEFT):a.scrollWidth-g>a.clientWidth&&(h=Ce.RIGHT)}return[s,h]}var Zo=Ee({passive:!1,capture:!0}),Ko=new Set,_g=(()=>{let i=class i{};i.\u0275fac=function(e){return new(e||i)},i.\u0275cmp=w({type:i,selectors:[["ng-component"]],hostAttrs:["cdk-drag-resets-container",""],standalone:!0,features:[S],decls:0,vars:0,template:function(e,n){},styles:["@layer cdk-resets{.cdk-drag-preview{background:none;border:none;padding:0;color:inherit}}"],encapsulation:2,changeDetection:0});let a=i;return a})(),bg=(()=>{let i=class i{constructor(t,e){this._ngZone=t,this._appRef=b(_r),this._environmentInjector=b(Zs),this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=we([]),this._globalListeners=new Map,this._draggingPredicate=n=>n.isDragging(),this.pointerMove=new E,this.pointerUp=new E,this.scroll=new E,this._preventDefaultWhileDragging=n=>{this._activeDragInstances().length>0&&n.preventDefault()},this._persistentTouchmoveListener=n=>{this._activeDragInstances().length>0&&(this._activeDragInstances().some(this._draggingPredicate)&&n.preventDefault(),this.pointerMove.next(n))},this._document=e}registerDropContainer(t){this._dropInstances.has(t)||this._dropInstances.add(t)}registerDragItem(t){this._dragInstances.add(t),this._dragInstances.size===1&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,Zo)})}removeDropContainer(t){this._dropInstances.delete(t)}removeDragItem(t){this._dragInstances.delete(t),this.stopDragging(t),this._dragInstances.size===0&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,Zo)}startDragging(t,e){if(!(this._activeDragInstances().indexOf(t)>-1)&&(this._loadResets(),this._activeDragInstances.update(n=>[...n,t]),this._activeDragInstances().length===1)){let n=e.type.startsWith("touch");this._globalListeners.set(n?"touchend":"mouseup",{handler:o=>this.pointerUp.next(o),options:!0}).set("scroll",{handler:o=>this.scroll.next(o),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:Zo}),n||this._globalListeners.set("mousemove",{handler:o=>this.pointerMove.next(o),options:Zo}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((o,s)=>{this._document.addEventListener(s,o.handler,o.options)})})}}stopDragging(t){this._activeDragInstances.update(e=>{let n=e.indexOf(t);return n>-1?(e.splice(n,1),[...e]):e}),this._activeDragInstances().length===0&&this._clearGlobalListeners()}isDragging(t){return this._activeDragInstances().indexOf(t)>-1}scrolled(t){let e=[this.scroll];return t&&t!==this._document&&e.push(new pa(n=>this._ngZone.runOutsideAngular(()=>{let s=h=>{this._activeDragInstances().length&&n.next(h)};return t.addEventListener("scroll",s,!0),()=>{t.removeEventListener("scroll",s,!0)}}))),Dt(...e)}ngOnDestroy(){this._dragInstances.forEach(t=>this.removeDragItem(t)),this._dropInstances.forEach(t=>this.removeDropContainer(t)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((t,e)=>{this._document.removeEventListener(e,t.handler,t.options)}),this._globalListeners.clear()}_loadResets(){if(!Ko.has(this._appRef)){Ko.add(this._appRef);let t=Xs(_g,{environmentInjector:this._environmentInjector});this._appRef.onDestroy(()=>{Ko.delete(this._appRef),Ko.size===0&&t.destroy()})}}};i.\u0275fac=function(e){return new(e||i)($(ct),$(St))},i.\u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"});let a=i;return a})(),vg={dragStartThreshold:5,pointerDirectionChangeThreshold:5},yg=(()=>{let i=class i{constructor(t,e,n,o){this._document=t,this._ngZone=e,this._viewportRuler=n,this._dragDropRegistry=o}createDrag(t,e=vg){return new ps(t,e,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(t){return new gs(t,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}};i.\u0275fac=function(e){return new(e||i)($(St),$(ct),$(Cn),$(bg))},i.\u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"});let a=i;return a})();var Rl=(()=>{let i=class i{};i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=N({type:i}),i.\u0275inj=L({providers:[yg],imports:[Ae]});let a=i;return a})();var wg=["*"];function xg(a,i){a&1&&j(0)}var bs=(()=>{let i=class i{constructor(t){this._elementRef=t}focus(){this._elementRef.nativeElement.focus()}};i.\u0275fac=function(e){return new(e||i)(l(z))},i.\u0275dir=I({type:i,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"],standalone:!0});let a=i;return a})(),vs=(()=>{let i=class i{constructor(t){this.template=t}};i.\u0275fac=function(e){return new(e||i)(l(wt))},i.\u0275dir=I({type:i,selectors:[["","cdkStepLabel",""]],standalone:!0});let a=i;return a})(),Cg=0;var Si={NUMBER:"number",EDIT:"edit",DONE:"done",ERROR:"error"},ys=new H("STEPPER_GLOBAL_OPTIONS"),er=(()=>{let i=class i{get completed(){return this._completedOverride==null?this._getDefaultCompleted():this._completedOverride}set completed(t){this._completedOverride=t}_getDefaultCompleted(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted}get hasError(){return this._customError==null?this._getDefaultError():this._customError}set hasError(t){this._customError=t}_getDefaultError(){return this.stepControl&&this.stepControl.invalid&&this.interacted}constructor(t,e){this._stepper=t,this.interacted=!1,this.interactedStream=new O,this.editable=!0,this.optional=!1,this._completedOverride=null,this._customError=null,this._stepperOptions=e||{},this._displayDefaultIndicatorType=this._stepperOptions.displayDefaultIndicatorType!==!1}select(){this._stepper.selected=this}reset(){this.interacted=!1,this._completedOverride!=null&&(this._completedOverride=!1),this._customError!=null&&(this._customError=!1),this.stepControl&&this.stepControl.reset()}ngOnChanges(){this._stepper._stateChanged()}_markAsInteracted(){this.interacted||(this.interacted=!0,this.interactedStream.emit(this))}_showError(){return this._stepperOptions.showError??this._customError!=null}};i.\u0275fac=function(e){return new(e||i)(l(ye(()=>ir)),l(ys,8))},i.\u0275cmp=w({type:i,selectors:[["cdk-step"]],contentQueries:function(e,n,o){if(e&1&&J(o,vs,5),e&2){let s;A(s=R())&&(n.stepLabel=s.first)}},viewQuery:function(e,n){if(e&1&&it(wt,7),e&2){let o;A(o=R())&&(n.content=o.first)}},inputs:{stepControl:"stepControl",label:"label",errorMessage:"errorMessage",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],state:"state",editable:[2,"editable","editable",M],optional:[2,"optional","optional",M],completed:[2,"completed","completed",M],hasError:[2,"hasError","hasError",M]},outputs:{interactedStream:"interacted"},exportAs:["cdkStep"],standalone:!0,features:[Q,At,S],ngContentSelectors:wg,decls:1,vars:0,template:function(e,n){e&1&&(K(),y(0,xg,1,0,"ng-template"))},encapsulation:2,changeDetection:0});let a=i;return a})(),ir=(()=>{let i=class i{get selectedIndex(){return this._selectedIndex}set selectedIndex(t){this.steps&&this._steps?(this._isValidIndex(t),this.selected?._markAsInteracted(),this._selectedIndex!==t&&!this._anyControlsInvalidOrPending(t)&&(t>=this._selectedIndex||this.steps.toArray()[t].editable)&&this._updateSelectedItemIndex(t)):this._selectedIndex=t}get selected(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0}set selected(t){this.selectedIndex=t&&this.steps?this.steps.toArray().indexOf(t):-1}get orientation(){return this._orientation}set orientation(t){this._orientation=t,this._keyManager&&this._keyManager.withVerticalOrientation(t==="vertical")}constructor(t,e,n){this._dir=t,this._changeDetectorRef=e,this._elementRef=n,this._destroyed=new E,this.steps=new qe,this._sortedHeaders=new qe,this.linear=!1,this._selectedIndex=0,this.selectionChange=new O,this.selectedIndexChange=new O,this._orientation="horizontal",this._groupId=Cg++}ngAfterContentInit(){this._steps.changes.pipe(Mt(this._steps),st(this._destroyed)).subscribe(t=>{this.steps.reset(t.filter(e=>e._stepper===this)),this.steps.notifyOnChanges()})}ngAfterViewInit(){this._stepHeader.changes.pipe(Mt(this._stepHeader),st(this._destroyed)).subscribe(t=>{this._sortedHeaders.reset(t.toArray().sort((e,n)=>e._elementRef.nativeElement.compareDocumentPosition(n._elementRef.nativeElement)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)),this._sortedHeaders.notifyOnChanges()}),this._keyManager=new Fi(this._sortedHeaders).withWrap().withHomeAndEnd().withVerticalOrientation(this._orientation==="vertical"),(this._dir?this._dir.change:at()).pipe(Mt(this._layoutDirection()),st(this._destroyed)).subscribe(t=>this._keyManager.withHorizontalOrientation(t)),this._keyManager.updateActiveItem(this._selectedIndex),this.steps.changes.subscribe(()=>{this.selected||(this._selectedIndex=Math.max(this._selectedIndex-1,0))}),this._isValidIndex(this._selectedIndex)||(this._selectedIndex=0)}ngOnDestroy(){this._keyManager?.destroy(),this.steps.destroy(),this._sortedHeaders.destroy(),this._destroyed.next(),this._destroyed.complete()}next(){this.selectedIndex=Math.min(this._selectedIndex+1,this.steps.length-1)}previous(){this.selectedIndex=Math.max(this._selectedIndex-1,0)}reset(){this._updateSelectedItemIndex(0),this.steps.forEach(t=>t.reset()),this._stateChanged()}_getStepLabelId(t){return`cdk-step-label-${this._groupId}-${t}`}_getStepContentId(t){return`cdk-step-content-${this._groupId}-${t}`}_stateChanged(){this._changeDetectorRef.markForCheck()}_getAnimationDirection(t){let e=t-this._selectedIndex;return e<0?this._layoutDirection()==="rtl"?"next":"previous":e>0?this._layoutDirection()==="rtl"?"previous":"next":"current"}_getIndicatorType(t,e=Si.NUMBER){let n=this.steps.toArray()[t],o=this._isCurrentStep(t);return n._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(n,o):this._getGuidelineLogic(n,o,e)}_getDefaultIndicatorLogic(t,e){return t._showError()&&t.hasError&&!e?Si.ERROR:!t.completed||e?Si.NUMBER:t.editable?Si.EDIT:Si.DONE}_getGuidelineLogic(t,e,n=Si.NUMBER){return t._showError()&&t.hasError&&!e?Si.ERROR:t.completed&&!e?Si.DONE:t.completed&&e?n:t.editable&&e?Si.EDIT:n}_isCurrentStep(t){return this._selectedIndex===t}_getFocusIndex(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex}_updateSelectedItemIndex(t){let e=this.steps.toArray();this.selectionChange.emit({selectedIndex:t,previouslySelectedIndex:this._selectedIndex,selectedStep:e[t],previouslySelectedStep:e[this._selectedIndex]}),this._containsFocus()?this._keyManager.setActiveItem(t):this._keyManager.updateActiveItem(t),this._selectedIndex=t,this.selectedIndexChange.emit(this._selectedIndex),this._stateChanged()}_onKeydown(t){let e=$t(t),n=t.keyCode,o=this._keyManager;o.activeItemIndex!=null&&!e&&(n===32||n===13)?(this.selectedIndex=o.activeItemIndex,t.preventDefault()):o.setFocusOrigin("keyboard").onKeydown(t)}_anyControlsInvalidOrPending(t){return this.linear&&t>=0?this.steps.toArray().slice(0,t).some(e=>{let n=e.stepControl;return(n?n.invalid||n.pending||!e.interacted:!e.completed)&&!e.optional&&!e._completedOverride}):!1}_layoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_containsFocus(){let t=this._elementRef.nativeElement,e=tn();return t===e||t.contains(e)}_isValidIndex(t){return t>-1&&(!this.steps||t<this.steps.length)}};i.\u0275fac=function(e){return new(e||i)(l(Nt,8),l(q),l(z))},i.\u0275dir=I({type:i,selectors:[["","cdkStepper",""]],contentQueries:function(e,n,o){if(e&1&&(J(o,er,5),J(o,bs,5)),e&2){let s;A(s=R())&&(n._steps=s),A(s=R())&&(n._stepHeader=s)}},inputs:{linear:[2,"linear","linear",M],selectedIndex:[2,"selectedIndex","selectedIndex",Lt],selected:"selected",orientation:"orientation"},outputs:{selectionChange:"selectionChange",selectedIndexChange:"selectedIndexChange"},exportAs:["cdkStepper"],standalone:!0,features:[Q]});let a=i;return a})();var nr=(()=>{let i=class i{};i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=N({type:i}),i.\u0275inj=L({imports:[pc]});let a=i;return a})();var Ol=(()=>{let i=class i{};i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=N({type:i}),i.\u0275inj=L({imports:[si,V,V]});let a=i;return a})();function Dg(a,i){}var Sg={bottomSheetState:jt("state",[pt("void, hidden",Y({transform:"translateY(100%)"})),pt("visible",Y({transform:"translateY(0%)"})),_t("visible => void, visible => hidden",Ei([ft(`${Gn.COMPLEX} ${$n.ACCELERATION_CURVE}`),Ri("@*",Ai(),{optional:!0})])),_t("void => visible",Ei([ft(`${Gn.EXITING} ${$n.DECELERATION_CURVE}`),Ri("@*",Ai(),{optional:!0})]))])},Ig=(()=>{let i=class i extends na{constructor(t,e,n,o,s,h,g,v,D){super(t,e,n,o,s,h,g,D),this._animationState="void",this._animationStateChanged=new O,this._breakpointSubscription=v.observe([Qe.Medium,Qe.Large,Qe.XLarge]).subscribe(()=>{let G=this._elementRef.nativeElement.classList;G.toggle("mat-bottom-sheet-container-medium",v.isMatched(Qe.Medium)),G.toggle("mat-bottom-sheet-container-large",v.isMatched(Qe.Large)),G.toggle("mat-bottom-sheet-container-xlarge",v.isMatched(Qe.XLarge))})}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.markForCheck(),this._changeDetectorRef.detectChanges())}exit(){this._destroyed||(this._animationState="hidden",this._changeDetectorRef.markForCheck())}ngOnDestroy(){super.ngOnDestroy(),this._breakpointSubscription.unsubscribe(),this._destroyed=!0}_onAnimationDone(t){t.toState==="visible"&&this._trapFocus(),this._animationStateChanged.emit(t)}_onAnimationStart(t){this._animationStateChanged.emit(t)}_captureInitialFocus(){}};i.\u0275fac=function(e){return new(e||i)(l(z),l(vn),l(St,8),l(ki),l(an),l(ct),l(Li),l(bn),l(Ft))},i.\u0275cmp=w({type:i,selectors:[["mat-bottom-sheet-container"]],hostAttrs:["tabindex","-1",1,"mat-bottom-sheet-container"],hostVars:4,hostBindings:function(e,n){e&1&&Ji("@state.start",function(s){return n._onAnimationStart(s)})("@state.done",function(s){return n._onAnimationDone(s)}),e&2&&(Xi("@state",n._animationState),T("role",n._config.role)("aria-modal",n._config.ariaModal)("aria-label",n._config.ariaLabel))},standalone:!0,features:[Z,S],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,n){e&1&&y(0,Dg,0,0,"ng-template",0)},dependencies:[le],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:[Sg.bottomSheetState]}});let a=i;return a})(),Mg=new H("MatBottomSheetData"),ws=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}},ar=class{get instance(){return this._ref.componentInstance}get componentRef(){return this._ref.componentRef}constructor(i,r,t){this._ref=i,this._afterOpened=new E,this.containerInstance=t,this.disableClose=r.disableClose,t._animationStateChanged.pipe(gt(e=>e.phaseName==="done"&&e.toState==="visible"),rt(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),t._animationStateChanged.pipe(gt(e=>e.phaseName==="done"&&e.toState==="hidden"),rt(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._ref.close(this._result)}),i.overlayRef.detachments().subscribe(()=>{this._ref.close(this._result)}),Dt(this.backdropClick(),this.keydownEvents().pipe(gt(e=>e.keyCode===27))).subscribe(e=>{!this.disableClose&&(e.type!=="keydown"||!$t(e))&&(e.preventDefault(),this.dismiss())})}dismiss(i){this.containerInstance&&(this.containerInstance._animationStateChanged.pipe(gt(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=i,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}},Eg=new H("mat-bottom-sheet-default-options"),Tg=(()=>{let i=class i{get _openedBottomSheetRef(){let t=this._parentBottomSheet;return t?t._openedBottomSheetRef:this._bottomSheetRefAtThisLevel}set _openedBottomSheetRef(t){this._parentBottomSheet?this._parentBottomSheet._openedBottomSheetRef=t:this._bottomSheetRefAtThisLevel=t}constructor(t,e,n,o){this._overlay=t,this._parentBottomSheet=n,this._defaultOptions=o,this._bottomSheetRefAtThisLevel=null,this._dialog=e.get(aa)}open(t,e){let n=ht(ht({},this._defaultOptions||new ws),e),o;return this._dialog.open(t,ve(ht({},n),{disableClose:!0,closeOnOverlayDetachments:!1,maxWidth:"100%",container:Ig,scrollStrategy:n.scrollStrategy||this._overlay.scrollStrategies.block(),positionStrategy:this._overlay.position().global().centerHorizontally().bottom("0"),templateContext:()=>({bottomSheetRef:o}),providers:(s,h,g)=>(o=new ar(s,n,g),[{provide:ar,useValue:o},{provide:Mg,useValue:n.data}])})),o.afterDismissed().subscribe(()=>{this._openedBottomSheetRef===o&&(this._openedBottomSheetRef=null)}),this._openedBottomSheetRef?(this._openedBottomSheetRef.afterDismissed().subscribe(()=>o.containerInstance?.enter()),this._openedBottomSheetRef.dismiss()):o.containerInstance.enter(),this._openedBottomSheetRef=o,o}dismiss(t){this._openedBottomSheetRef&&this._openedBottomSheetRef.dismiss(t)}ngOnDestroy(){this._bottomSheetRefAtThisLevel&&this._bottomSheetRefAtThisLevel.dismiss()}};i.\u0275fac=function(e){return new(e||i)($(Tt),$(yt),$(i,12),$(Eg,8))},i.\u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"});let a=i;return a})(),Pl=(()=>{let i=class i{};i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=N({type:i}),i.\u0275inj=L({providers:[Tg],imports:[Po,V,me,V]});let a=i;return a})();var Ag=["button"],Rg=["*"];function Og(a,i){if(a&1&&x(0,"mat-pseudo-checkbox",3),a&2){let r=f();u("disabled",r.disabled)}}function Pg(a,i){if(a&1&&x(0,"mat-pseudo-checkbox",3),a&2){let r=f();u("disabled",r.disabled)}}var Fl=new H("MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS",{providedIn:"root",factory:Fg});function Fg(){return{hideSingleSelectionIndicator:!1,hideMultipleSelectionIndicator:!1}}var zl=new H("MatButtonToggleGroup"),zg={provide:vi,useExisting:ye(()=>xs),multi:!0},Ll=0,or=class{constructor(i,r){this.source=i,this.value=r}},xs=(()=>{let i=class i{get name(){return this._name}set name(t){this._name=t,this._markButtonsForCheck()}get value(){let t=this._selectionModel?this._selectionModel.selected:[];return this.multiple?t.map(e=>e.value):t[0]?t[0].value:void 0}set value(t){this._setSelectionByValue(t),this.valueChange.emit(this.value)}get selected(){let t=this._selectionModel?this._selectionModel.selected:[];return this.multiple?t:t[0]||null}get multiple(){return this._multiple}set multiple(t){this._multiple=t,this._markButtonsForCheck()}get disabled(){return this._disabled}set disabled(t){this._disabled=t,this._markButtonsForCheck()}get dir(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(t){this._hideSingleSelectionIndicator=t,this._markButtonsForCheck()}get hideMultipleSelectionIndicator(){return this._hideMultipleSelectionIndicator}set hideMultipleSelectionIndicator(t){this._hideMultipleSelectionIndicator=t,this._markButtonsForCheck()}constructor(t,e,n){this._changeDetector=t,this._dir=n,this._multiple=!1,this._disabled=!1,this._controlValueAccessorChangeFn=()=>{},this._onTouched=()=>{},this._name=`mat-button-toggle-group-${Ll++}`,this.valueChange=new O,this.change=new O,this.appearance=e&&e.appearance?e.appearance:"standard",this.hideSingleSelectionIndicator=e?.hideSingleSelectionIndicator??!1,this.hideMultipleSelectionIndicator=e?.hideMultipleSelectionIndicator??!1}ngOnInit(){this._selectionModel=new zi(this.multiple,void 0,!1)}ngAfterContentInit(){this._selectionModel.select(...this._buttonToggles.filter(t=>t.checked)),this.multiple||this._initializeTabIndex()}writeValue(t){this.value=t,this._changeDetector.markForCheck()}registerOnChange(t){this._controlValueAccessorChangeFn=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}_keydown(t){if(this.multiple||this.disabled)return;let n=t.target.id,o=this._buttonToggles.toArray().findIndex(h=>h.buttonId===n),s;switch(t.keyCode){case 32:case 13:s=this._buttonToggles.get(o);break;case 38:s=this._buttonToggles.get(this._getNextIndex(o,-1));break;case 37:s=this._buttonToggles.get(this._getNextIndex(o,this.dir==="ltr"?-1:1));break;case 40:s=this._buttonToggles.get(this._getNextIndex(o,1));break;case 39:s=this._buttonToggles.get(this._getNextIndex(o,this.dir==="ltr"?1:-1));break;default:return}t.preventDefault(),s?._onButtonClick(),s?.focus()}_emitChangeEvent(t){let e=new or(t,this.value);this._rawValue=e.value,this._controlValueAccessorChangeFn(e.value),this.change.emit(e)}_syncButtonToggle(t,e,n=!1,o=!1){!this.multiple&&this.selected&&!t.checked&&(this.selected.checked=!1),this._selectionModel?e?this._selectionModel.select(t):this._selectionModel.deselect(t):o=!0,o?Promise.resolve().then(()=>this._updateModelValue(t,n)):this._updateModelValue(t,n)}_isSelected(t){return this._selectionModel&&this._selectionModel.isSelected(t)}_isPrechecked(t){return typeof this._rawValue>"u"?!1:this.multiple&&Array.isArray(this._rawValue)?this._rawValue.some(e=>t.value!=null&&e===t.value):t.value===this._rawValue}_initializeTabIndex(){this._buttonToggles.forEach(t=>{t.tabIndex=-1}),this.selected?this.selected.tabIndex=0:this._buttonToggles.length>0&&(this._buttonToggles.get(0).tabIndex=0),this._markButtonsForCheck()}_getNextIndex(t,e){let n=t+e;return n===this._buttonToggles.length&&(n=0),n===-1&&(n=this._buttonToggles.length-1),n}_setSelectionByValue(t){this._rawValue=t,this._buttonToggles&&(this.multiple&&t?(Array.isArray(t),this._clearSelection(),t.forEach(e=>this._selectValue(e))):(this._clearSelection(),this._selectValue(t)))}_clearSelection(){this._selectionModel.clear(),this._buttonToggles.forEach(t=>{t.checked=!1,this.multiple||(t.tabIndex=-1)})}_selectValue(t){let e=this._buttonToggles.find(n=>n.value!=null&&n.value===t);e&&(e.checked=!0,this._selectionModel.select(e),this.multiple||(e.tabIndex=0))}_updateModelValue(t,e){e&&this._emitChangeEvent(t),this.valueChange.emit(this.value)}_markButtonsForCheck(){this._buttonToggles?.forEach(t=>t._markForCheck())}};i.\u0275fac=function(e){return new(e||i)(l(q),l(Fl,8),l(Nt,8))},i.\u0275dir=I({type:i,selectors:[["mat-button-toggle-group"]],contentQueries:function(e,n,o){if(e&1&&J(o,rr,5),e&2){let s;A(s=R())&&(n._buttonToggles=s)}},hostAttrs:[1,"mat-button-toggle-group"],hostVars:6,hostBindings:function(e,n){e&1&&_("keydown",function(s){return n._keydown(s)}),e&2&&(T("role",n.multiple?"group":"radiogroup")("aria-disabled",n.disabled),U("mat-button-toggle-vertical",n.vertical)("mat-button-toggle-group-appearance-standard",n.appearance==="standard"))},inputs:{appearance:"appearance",name:"name",vertical:[2,"vertical","vertical",M],value:"value",multiple:[2,"multiple","multiple",M],disabled:[2,"disabled","disabled",M],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",M],hideMultipleSelectionIndicator:[2,"hideMultipleSelectionIndicator","hideMultipleSelectionIndicator",M]},outputs:{valueChange:"valueChange",change:"change"},exportAs:["matButtonToggleGroup"],standalone:!0,features:[X([zg,{provide:zl,useExisting:i}]),Q]});let a=i;return a})(),rr=(()=>{let i=class i{get buttonId(){return`${this.id}-button`}get tabIndex(){return this._tabIndex}set tabIndex(t){this._tabIndex=t,this._markForCheck()}get appearance(){return this.buttonToggleGroup?this.buttonToggleGroup.appearance:this._appearance}set appearance(t){this._appearance=t}get checked(){return this.buttonToggleGroup?this.buttonToggleGroup._isSelected(this):this._checked}set checked(t){t!==this._checked&&(this._checked=t,this.buttonToggleGroup&&this.buttonToggleGroup._syncButtonToggle(this,this._checked),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled||this.buttonToggleGroup&&this.buttonToggleGroup.disabled}set disabled(t){this._disabled=t}constructor(t,e,n,o,s,h){this._changeDetectorRef=e,this._elementRef=n,this._focusMonitor=o,this._checked=!1,this.ariaLabelledby=null,this._disabled=!1,this.change=new O;let g=Number(s);this.tabIndex=g||g===0?g:null,this.buttonToggleGroup=t,this.appearance=h&&h.appearance?h.appearance:"standard"}ngOnInit(){let t=this.buttonToggleGroup;this.id=this.id||`mat-button-toggle-${Ll++}`,t&&(t._isPrechecked(this)?this.checked=!0:t._isSelected(this)!==this._checked&&t._syncButtonToggle(this,this._checked))}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){let t=this.buttonToggleGroup;this._focusMonitor.stopMonitoring(this._elementRef),t&&t._isSelected(this)&&t._syncButtonToggle(this,!1,!1,!0)}focus(t){this._buttonElement.nativeElement.focus(t)}_onButtonClick(){let t=this.isSingleSelector()?!0:!this._checked;if(t!==this._checked&&(this._checked=t,this.buttonToggleGroup&&(this.buttonToggleGroup._syncButtonToggle(this,this._checked,!0),this.buttonToggleGroup._onTouched())),this.isSingleSelector()){let e=this.buttonToggleGroup._buttonToggles.find(n=>n.tabIndex===0);e&&(e.tabIndex=-1),this.tabIndex=0}this.change.emit(new or(this,this.value))}_markForCheck(){this._changeDetectorRef.markForCheck()}_getButtonName(){return this.isSingleSelector()?this.buttonToggleGroup.name:this.name||null}isSingleSelector(){return this.buttonToggleGroup&&!this.buttonToggleGroup.multiple}};i.\u0275fac=function(e){return new(e||i)(l(zl,8),l(q),l(z),l(Ft),Qt("tabindex"),l(Fl,8))},i.\u0275cmp=w({type:i,selectors:[["mat-button-toggle"]],viewQuery:function(e,n){if(e&1&&it(Ag,5),e&2){let o;A(o=R())&&(n._buttonElement=o.first)}},hostAttrs:["role","presentation",1,"mat-button-toggle"],hostVars:12,hostBindings:function(e,n){e&1&&_("focus",function(){return n.focus()}),e&2&&(T("aria-label",null)("aria-labelledby",null)("id",n.id)("name",null),U("mat-button-toggle-standalone",!n.buttonToggleGroup)("mat-button-toggle-checked",n.checked)("mat-button-toggle-disabled",n.disabled)("mat-button-toggle-appearance-standard",n.appearance==="standard"))},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],id:"id",name:"name",value:"value",tabIndex:"tabIndex",disableRipple:[2,"disableRipple","disableRipple",M],appearance:"appearance",checked:[2,"checked","checked",M],disabled:[2,"disabled","disabled",M]},outputs:{change:"change"},exportAs:["matButtonToggle"],standalone:!0,features:[Q,S],ngContentSelectors:Rg,decls:8,vars:13,consts:[["button",""],["type","button",1,"mat-button-toggle-button","mat-focus-indicator",3,"click","id","disabled"],[1,"mat-button-toggle-label-content"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"mat-button-toggle-focus-overlay"],["matRipple","",1,"mat-button-toggle-ripple",3,"matRippleTrigger","matRippleDisabled"]],template:function(e,n){if(e&1){let o=F();K(),c(0,"button",1,0),_("click",function(){return C(o),k(n._onButtonClick())}),c(2,"span",2),y(3,Og,1,1,"mat-pseudo-checkbox",3)(4,Pg,1,1,"mat-pseudo-checkbox",3),j(5),d()(),x(6,"span",4)(7,"span",5)}if(e&2){let o=Bt(1);u("id",n.buttonId)("disabled",n.disabled||null),T("role",n.isSingleSelector()?"radio":"button")("tabindex",n.disabled?-1:n.tabIndex)("aria-pressed",n.isSingleSelector()?null:n.checked)("aria-checked",n.isSingleSelector()?n.checked:null)("name",n._getButtonName())("aria-label",n.ariaLabel)("aria-labelledby",n.ariaLabelledby),m(3),B(n.buttonToggleGroup&&n.checked&&!n.buttonToggleGroup.multiple&&!n.buttonToggleGroup.hideSingleSelectionIndicator?3:-1),m(),B(n.buttonToggleGroup&&n.checked&&n.buttonToggleGroup.multiple&&!n.buttonToggleGroup.hideMultipleSelectionIndicator?4:-1),m(3),u("matRippleTrigger",o)("matRippleDisabled",n.disableRipple||n.disabled)}},dependencies:[mt,gc],styles:[".mat-button-toggle-standalone,.mat-button-toggle-group{position:relative;display:inline-flex;flex-direction:row;white-space:nowrap;overflow:hidden;-webkit-tap-highlight-color:rgba(0,0,0,0);transform:translateZ(0);border-radius:var(--mat-legacy-button-toggle-shape)}.mat-button-toggle-standalone:not([class*=mat-elevation-z]),.mat-button-toggle-group:not([class*=mat-elevation-z]){box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}.cdk-high-contrast-active .mat-button-toggle-standalone,.cdk-high-contrast-active .mat-button-toggle-group{outline:solid 1px}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{border-radius:var(--mat-standard-button-toggle-shape);border:solid 1px var(--mat-standard-button-toggle-divider-color)}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard .mat-pseudo-checkbox,.mat-button-toggle-group-appearance-standard .mat-pseudo-checkbox{--mat-minimal-pseudo-checkbox-selected-checkmark-color: var( --mat-standard-button-toggle-selected-state-text-color )}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard:not([class*=mat-elevation-z]),.mat-button-toggle-group-appearance-standard:not([class*=mat-elevation-z]){box-shadow:none}.cdk-high-contrast-active .mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.cdk-high-contrast-active .mat-button-toggle-group-appearance-standard{outline:0}.mat-button-toggle-vertical{flex-direction:column}.mat-button-toggle-vertical .mat-button-toggle-label-content{display:block}.mat-button-toggle{white-space:nowrap;position:relative;color:var(--mat-legacy-button-toggle-text-color);font-family:var(--mat-legacy-button-toggle-label-text-font);font-size:var(--mat-legacy-button-toggle-label-text-size);line-height:var(--mat-legacy-button-toggle-label-text-line-height);font-weight:var(--mat-legacy-button-toggle-label-text-weight);letter-spacing:var(--mat-legacy-button-toggle-label-text-tracking);--mat-minimal-pseudo-checkbox-selected-checkmark-color: var( --mat-legacy-button-toggle-selected-state-text-color )}.mat-button-toggle.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:var(--mat-legacy-button-toggle-focus-state-layer-opacity)}.mat-button-toggle .mat-icon svg{vertical-align:top}.mat-button-toggle .mat-pseudo-checkbox{margin-right:12px}[dir=rtl] .mat-button-toggle .mat-pseudo-checkbox{margin-right:0;margin-left:12px}.mat-button-toggle-checked{color:var(--mat-legacy-button-toggle-selected-state-text-color);background-color:var(--mat-legacy-button-toggle-selected-state-background-color)}.mat-button-toggle-disabled{color:var(--mat-legacy-button-toggle-disabled-state-text-color);background-color:var(--mat-legacy-button-toggle-disabled-state-background-color);--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: var( --mat-legacy-button-toggle-disabled-state-text-color )}.mat-button-toggle-disabled.mat-button-toggle-checked{background-color:var(--mat-legacy-button-toggle-disabled-selected-state-background-color)}.mat-button-toggle-appearance-standard{color:var(--mat-standard-button-toggle-text-color);background-color:var(--mat-standard-button-toggle-background-color);font-family:var(--mat-standard-button-toggle-label-text-font);font-size:var(--mat-standard-button-toggle-label-text-size);line-height:var(--mat-standard-button-toggle-label-text-line-height);font-weight:var(--mat-standard-button-toggle-label-text-weight);letter-spacing:var(--mat-standard-button-toggle-label-text-tracking)}.mat-button-toggle-group-appearance-standard .mat-button-toggle-appearance-standard+.mat-button-toggle-appearance-standard{border-left:solid 1px var(--mat-standard-button-toggle-divider-color)}[dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle-appearance-standard+.mat-button-toggle-appearance-standard{border-left:none;border-right:solid 1px var(--mat-standard-button-toggle-divider-color)}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle-appearance-standard+.mat-button-toggle-appearance-standard{border-left:none;border-right:none;border-top:solid 1px var(--mat-standard-button-toggle-divider-color)}.mat-button-toggle-appearance-standard.mat-button-toggle-checked{color:var(--mat-standard-button-toggle-selected-state-text-color);background-color:var(--mat-standard-button-toggle-selected-state-background-color)}.mat-button-toggle-appearance-standard.mat-button-toggle-disabled{color:var(--mat-standard-button-toggle-disabled-state-text-color);background-color:var(--mat-standard-button-toggle-disabled-state-background-color)}.mat-button-toggle-appearance-standard.mat-button-toggle-disabled .mat-pseudo-checkbox{--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: var( --mat-standard-button-toggle-disabled-selected-state-text-color )}.mat-button-toggle-appearance-standard.mat-button-toggle-disabled.mat-button-toggle-checked{color:var(--mat-standard-button-toggle-disabled-selected-state-text-color);background-color:var(--mat-standard-button-toggle-disabled-selected-state-background-color)}.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:var(--mat-standard-button-toggle-state-layer-color)}.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{opacity:var(--mat-standard-button-toggle-hover-state-layer-opacity)}.mat-button-toggle-appearance-standard.cdk-keyboard-focused:not(.mat-button-toggle-disabled) .mat-button-toggle-focus-overlay{opacity:var(--mat-standard-button-toggle-focus-state-layer-opacity)}@media(hover: none){.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{display:none}}.mat-button-toggle-label-content{-webkit-user-select:none;user-select:none;display:inline-block;padding:0 16px;line-height:var(--mat-legacy-button-toggle-height);position:relative}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{padding:0 12px;line-height:var(--mat-standard-button-toggle-height)}.mat-button-toggle-label-content>*{vertical-align:middle}.mat-button-toggle-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;pointer-events:none;opacity:0;background-color:var(--mat-legacy-button-toggle-state-layer-color)}.cdk-high-contrast-active .mat-button-toggle-checked .mat-button-toggle-focus-overlay{border-bottom:solid 500px;opacity:.5;height:0}.cdk-high-contrast-active .mat-button-toggle-checked:hover .mat-button-toggle-focus-overlay{opacity:.6}.cdk-high-contrast-active .mat-button-toggle-checked.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{border-bottom:solid 500px}.mat-button-toggle .mat-button-toggle-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-button-toggle-button{border:0;background:none;color:inherit;padding:0;margin:0;font:inherit;outline:none;width:100%;cursor:pointer}.mat-button-toggle-disabled .mat-button-toggle-button{cursor:default}.mat-button-toggle-button::-moz-focus-inner{border:0}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard{--mat-focus-indicator-border-radius:var(--mat-standard-button-toggle-shape)}.mat-button-toggle-group-appearance-standard .mat-button-toggle:last-of-type .mat-button-toggle-button::before{border-top-right-radius:var(--mat-standard-button-toggle-shape);border-bottom-right-radius:var(--mat-standard-button-toggle-shape)}.mat-button-toggle-group-appearance-standard .mat-button-toggle:first-of-type .mat-button-toggle-button::before{border-top-left-radius:var(--mat-standard-button-toggle-shape);border-bottom-left-radius:var(--mat-standard-button-toggle-shape)}"],encapsulation:2,changeDetection:0});let a=i;return a})(),Nl=(()=>{let i=class i{};i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=N({type:i}),i.\u0275inj=L({imports:[V,Ht,rr,V]});let a=i;return a})();var Vl=(()=>{let i=class i{};i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=N({type:i}),i.\u0275inj=L({imports:[V,Pt,V]});let a=i;return a})();var Ng=["mat-calendar-body",""];function Vg(a,i){return this._trackRow(i)}var Gl=(a,i)=>i.id;function jg(a,i){if(a&1&&(c(0,"tr",0)(1,"td",3),p(2),d()()),a&2){let r=f();m(),ot("padding-top",r._cellPadding)("padding-bottom",r._cellPadding),T("colspan",r.numCols),m(),dt(" ",r.label," ")}}function Bg(a,i){if(a&1&&(c(0,"td",3),p(1),d()),a&2){let r=f(2);ot("padding-top",r._cellPadding)("padding-bottom",r._cellPadding),T("colspan",r._firstRowOffset),m(),dt(" ",r._firstRowOffset>=r.labelMinRequiredCells?r.label:""," ")}}function Hg(a,i){if(a&1){let r=F();c(0,"td",6)(1,"button",7),_("click",function(e){let n=C(r).$implicit,o=f(2);return k(o._cellClicked(n,e))})("focus",function(e){let n=C(r).$implicit,o=f(2);return k(o._emitActiveDateChange(n,e))}),c(2,"span",8),p(3),d(),x(4,"span",9),d()()}if(a&2){let r=i.$implicit,t=i.$index,e=f().$index,n=f();ot("width",n._cellWidth)("padding-top",n._cellPadding)("padding-bottom",n._cellPadding),T("data-mat-row",e)("data-mat-col",t),m(),U("mat-calendar-body-disabled",!r.enabled)("mat-calendar-body-active",n._isActiveCell(e,t))("mat-calendar-body-range-start",n._isRangeStart(r.compareValue))("mat-calendar-body-range-end",n._isRangeEnd(r.compareValue))("mat-calendar-body-in-range",n._isInRange(r.compareValue))("mat-calendar-body-comparison-bridge-start",n._isComparisonBridgeStart(r.compareValue,e,t))("mat-calendar-body-comparison-bridge-end",n._isComparisonBridgeEnd(r.compareValue,e,t))("mat-calendar-body-comparison-start",n._isComparisonStart(r.compareValue))("mat-calendar-body-comparison-end",n._isComparisonEnd(r.compareValue))("mat-calendar-body-in-comparison-range",n._isInComparisonRange(r.compareValue))("mat-calendar-body-preview-start",n._isPreviewStart(r.compareValue))("mat-calendar-body-preview-end",n._isPreviewEnd(r.compareValue))("mat-calendar-body-in-preview",n._isInPreview(r.compareValue)),u("ngClass",r.cssClasses)("tabindex",n._isActiveCell(e,t)?0:-1),T("aria-label",r.ariaLabel)("aria-disabled",!r.enabled||null)("aria-pressed",n._isSelected(r.compareValue))("aria-current",n.todayValue===r.compareValue?"date":null)("aria-describedby",n._getDescribedby(r.compareValue)),m(),U("mat-calendar-body-selected",n._isSelected(r.compareValue))("mat-calendar-body-comparison-identical",n._isComparisonIdentical(r.compareValue))("mat-calendar-body-today",n.todayValue===r.compareValue),m(),dt(" ",r.displayValue," ")}}function Ug(a,i){if(a&1&&(c(0,"tr",1),y(1,Bg,2,6,"td",4),Jt(2,Hg,5,48,"td",5,Gl),d()),a&2){let r=i.$implicit,t=i.$index,e=f();m(),B(t===0&&e._firstRowOffset?1:-1),m(),te(r)}}function qg(a,i){if(a&1&&(c(0,"th",2)(1,"span",6),p(2),d(),c(3,"span",3),p(4),d()()),a&2){let r=i.$implicit;m(2),nt(r.long),m(2),nt(r.narrow)}}var $g=["*"];function Gg(a,i){}function Wg(a,i){if(a&1){let r=F();c(0,"mat-month-view",4),ti("activeDateChange",function(e){C(r);let n=f();return Je(n.activeDate,e)||(n.activeDate=e),k(e)}),_("_userSelection",function(e){C(r);let n=f();return k(n._dateSelected(e))})("dragStarted",function(e){C(r);let n=f();return k(n._dragStarted(e))})("dragEnded",function(e){C(r);let n=f();return k(n._dragEnded(e))}),d()}if(a&2){let r=f();Xe("activeDate",r.activeDate),u("selected",r.selected)("dateFilter",r.dateFilter)("maxDate",r.maxDate)("minDate",r.minDate)("dateClass",r.dateClass)("comparisonStart",r.comparisonStart)("comparisonEnd",r.comparisonEnd)("startDateAccessibleName",r.startDateAccessibleName)("endDateAccessibleName",r.endDateAccessibleName)("activeDrag",r._activeDrag)}}function Qg(a,i){if(a&1){let r=F();c(0,"mat-year-view",5),ti("activeDateChange",function(e){C(r);let n=f();return Je(n.activeDate,e)||(n.activeDate=e),k(e)}),_("monthSelected",function(e){C(r);let n=f();return k(n._monthSelectedInYearView(e))})("selectedChange",function(e){C(r);let n=f();return k(n._goToDateInView(e,"month"))}),d()}if(a&2){let r=f();Xe("activeDate",r.activeDate),u("selected",r.selected)("dateFilter",r.dateFilter)("maxDate",r.maxDate)("minDate",r.minDate)("dateClass",r.dateClass)}}function Yg(a,i){if(a&1){let r=F();c(0,"mat-multi-year-view",6),ti("activeDateChange",function(e){C(r);let n=f();return Je(n.activeDate,e)||(n.activeDate=e),k(e)}),_("yearSelected",function(e){C(r);let n=f();return k(n._yearSelectedInMultiYearView(e))})("selectedChange",function(e){C(r);let n=f();return k(n._goToDateInView(e,"year"))}),d()}if(a&2){let r=f();Xe("activeDate",r.activeDate),u("selected",r.selected)("dateFilter",r.dateFilter)("maxDate",r.maxDate)("minDate",r.minDate)("dateClass",r.dateClass)}}function Zg(a,i){}var Kg=["button"],Xg=[[["","matDatepickerToggleIcon",""]]],Jg=["[matDatepickerToggleIcon]"];function tf(a,i){a&1&&(pe(),c(0,"svg",2),x(1,"path",3),d())}var ma=(()=>{let i=class i{constructor(){this.changes=new E,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 24 years",this.nextMultiYearLabel="Next 24 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year",this.startDateLabel="Start date",this.endDateLabel="End date"}formatYearRange(t,e){return`${t} \u2013 ${e}`}formatYearRangeLabel(t,e){return`${t} to ${e}`}};i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"});let a=i;return a})(),ef=0,la=class{constructor(i,r,t,e,n={},o=i,s){this.value=i,this.displayValue=r,this.ariaLabel=t,this.enabled=e,this.cssClasses=n,this.compareValue=o,this.rawValue=s,this.id=ef++}},nf=1,jl=Ee({passive:!1,capture:!0}),Ki=Ee({passive:!0,capture:!0}),sr=Ee({passive:!0}),Ln=(()=>{let i=class i{ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}constructor(t,e){this._elementRef=t,this._ngZone=e,this._platform=b(ce),this._focusActiveCellAfterViewChecked=!1,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new O,this.previewChange=new O,this.activeDateChange=new O,this.dragStarted=new O,this.dragEnded=new O,this._didDragSinceMouseDown=!1,this._injector=b(yt),this._trackRow=n=>n,this._enterHandler=n=>{if(this._skipNextFocus&&n.type==="focus"){this._skipNextFocus=!1;return}if(n.target&&this.isRange){let o=this._getCellFromElement(n.target);o&&this._ngZone.run(()=>this.previewChange.emit({value:o.enabled?o:null,event:n}))}},this._touchmoveHandler=n=>{if(!this.isRange)return;let o=Bl(n),s=o?this._getCellFromElement(o):null;o!==n.target&&(this._didDragSinceMouseDown=!0),ks(n.target)&&n.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:s?.enabled?s:null,event:n}))},this._leaveHandler=n=>{this.previewEnd!==null&&this.isRange&&(n.type!=="blur"&&(this._didDragSinceMouseDown=!0),n.target&&this._getCellFromElement(n.target)&&!(n.relatedTarget&&this._getCellFromElement(n.relatedTarget))&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:n})))},this._mousedownHandler=n=>{if(!this.isRange)return;this._didDragSinceMouseDown=!1;let o=n.target&&this._getCellFromElement(n.target);!o||!this._isInRange(o.compareValue)||this._ngZone.run(()=>{this.dragStarted.emit({value:o.rawValue,event:n})})},this._mouseupHandler=n=>{if(!this.isRange)return;let o=ks(n.target);if(!o){this._ngZone.run(()=>{this.dragEnded.emit({value:null,event:n})});return}o.closest(".mat-calendar-body")===this._elementRef.nativeElement&&this._ngZone.run(()=>{let s=this._getCellFromElement(o);this.dragEnded.emit({value:s?.rawValue??null,event:n})})},this._touchendHandler=n=>{let o=Bl(n);o&&this._mouseupHandler({target:o})},this._id=`mat-calendar-body-${nf++}`,this._startDateLabelId=`${this._id}-start-date`,this._endDateLabelId=`${this._id}-end-date`,e.runOutsideAngular(()=>{let n=t.nativeElement;n.addEventListener("touchmove",this._touchmoveHandler,jl),n.addEventListener("mouseenter",this._enterHandler,Ki),n.addEventListener("focus",this._enterHandler,Ki),n.addEventListener("mouseleave",this._leaveHandler,Ki),n.addEventListener("blur",this._leaveHandler,Ki),n.addEventListener("mousedown",this._mousedownHandler,sr),n.addEventListener("touchstart",this._mousedownHandler,sr),this._platform.isBrowser&&(window.addEventListener("mouseup",this._mouseupHandler),window.addEventListener("touchend",this._touchendHandler))})}_cellClicked(t,e){this._didDragSinceMouseDown||t.enabled&&this.selectedValueChange.emit({value:t.value,event:e})}_emitActiveDateChange(t,e){t.enabled&&this.activeDateChange.emit({value:t.value,event:e})}_isSelected(t){return this.startValue===t||this.endValue===t}ngOnChanges(t){let e=t.numCols,{rows:n,numCols:o}=this;(t.rows||e)&&(this._firstRowOffset=n&&n.length&&n[0].length?o-n[0].length:0),(t.cellAspectRatio||e||!this._cellPadding)&&(this._cellPadding=`${50*this.cellAspectRatio/o}%`),(e||!this._cellWidth)&&(this._cellWidth=`${100/o}%`)}ngOnDestroy(){let t=this._elementRef.nativeElement;t.removeEventListener("touchmove",this._touchmoveHandler,jl),t.removeEventListener("mouseenter",this._enterHandler,Ki),t.removeEventListener("focus",this._enterHandler,Ki),t.removeEventListener("mouseleave",this._leaveHandler,Ki),t.removeEventListener("blur",this._leaveHandler,Ki),t.removeEventListener("mousedown",this._mousedownHandler,sr),t.removeEventListener("touchstart",this._mousedownHandler,sr),this._platform.isBrowser&&(window.removeEventListener("mouseup",this._mouseupHandler),window.removeEventListener("touchend",this._touchendHandler))}_isActiveCell(t,e){let n=t*this.numCols+e;return t&&(n-=this._firstRowOffset),n==this.activeCell}_focusActiveCell(t=!0){ae(()=>{setTimeout(()=>{let e=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");e&&(t||(this._skipNextFocus=!0),e.focus())})},{injector:this._injector})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(t){return Ds(t,this.startValue,this.endValue)}_isRangeEnd(t){return Ss(t,this.startValue,this.endValue)}_isInRange(t){return Is(t,this.startValue,this.endValue,this.isRange)}_isComparisonStart(t){return Ds(t,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(t,e,n){if(!this._isComparisonStart(t)||this._isRangeStart(t)||!this._isInRange(t))return!1;let o=this.rows[e][n-1];if(!o){let s=this.rows[e-1];o=s&&s[s.length-1]}return o&&!this._isRangeEnd(o.compareValue)}_isComparisonBridgeEnd(t,e,n){if(!this._isComparisonEnd(t)||this._isRangeEnd(t)||!this._isInRange(t))return!1;let o=this.rows[e][n+1];if(!o){let s=this.rows[e+1];o=s&&s[0]}return o&&!this._isRangeStart(o.compareValue)}_isComparisonEnd(t){return Ss(t,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(t){return Is(t,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(t){return this.comparisonStart===this.comparisonEnd&&t===this.comparisonStart}_isPreviewStart(t){return Ds(t,this.previewStart,this.previewEnd)}_isPreviewEnd(t){return Ss(t,this.previewStart,this.previewEnd)}_isInPreview(t){return Is(t,this.previewStart,this.previewEnd,this.isRange)}_getDescribedby(t){return this.isRange?this.startValue===t&&this.endValue===t?`${this._startDateLabelId} ${this._endDateLabelId}`:this.startValue===t?this._startDateLabelId:this.endValue===t?this._endDateLabelId:null:null}_getCellFromElement(t){let e=ks(t);if(e){let n=e.getAttribute("data-mat-row"),o=e.getAttribute("data-mat-col");if(n&&o)return this.rows[parseInt(n)][parseInt(o)]}return null}};i.\u0275fac=function(e){return new(e||i)(l(z),l(ct))},i.\u0275cmp=w({type:i,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange",activeDateChange:"activeDateChange",dragStarted:"dragStarted",dragEnded:"dragEnded"},exportAs:["matCalendarBody"],standalone:!0,features:[At,S],attrs:Ng,decls:7,vars:5,consts:[["aria-hidden","true"],["role","row"],[1,"mat-calendar-body-hidden-label",3,"id"],[1,"mat-calendar-body-label"],[1,"mat-calendar-body-label",3,"paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"click","focus","ngClass","tabindex"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(e,n){e&1&&(y(0,jg,3,6,"tr",0),Jt(1,Ug,4,1,"tr",1,Vg,!0),c(3,"label",2),p(4),d(),c(5,"label",2),p(6),d()),e&2&&(B(n._firstRowOffset<n.labelMinRequiredCells?0:-1),m(),te(n.rows),m(2),u("id",n._startDateLabelId),m(),dt(" ",n.startDateAccessibleName,`
`),m(),u("id",n._endDateLabelId),m(),dt(" ",n.endDateAccessibleName,`
`))},dependencies:[Le],styles:['.mat-calendar-body{min-width:224px}.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:var(--mat-datepicker-calendar-date-today-outline-color)}.mat-calendar-body-label{height:0;line-height:0;text-align:start;padding-left:4.7142857143%;padding-right:4.7142857143%;font-size:var(--mat-datepicker-calendar-body-label-text-size);font-weight:var(--mat-datepicker-calendar-body-label-text-weight);color:var(--mat-datepicker-calendar-body-label-text-color)}.mat-calendar-body-hidden-label{display:none}.mat-calendar-body-cell-container{position:relative;height:0;line-height:0}.mat-calendar-body-cell{-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);position:absolute;top:0;left:0;width:100%;height:100%;background:none;text-align:center;outline:none;font-family:inherit;margin:0}.mat-calendar-body-cell::-moz-focus-inner{border:0}.mat-calendar-body-cell::before,.mat-calendar-body-cell::after,.mat-calendar-body-cell-preview{content:"";position:absolute;top:5%;left:0;z-index:0;box-sizing:border-box;display:block;height:90%;width:100%}.mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-start::after,.mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,.mat-calendar-body-comparison-start::after,.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:5%;width:95%;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,[dir=rtl] .mat-calendar-body-comparison-start::after,[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:0;border-radius:0;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,.mat-calendar-body-comparison-end::after,.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}[dir=rtl] .mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,[dir=rtl] .mat-calendar-body-comparison-end::after,[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{left:5%;border-radius:0;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-comparison-bridge-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-bridge-end.mat-calendar-body-range-start::after{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end.mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-end.mat-calendar-body-range-start::after{width:90%}.mat-calendar-body-in-preview{color:var(--mat-datepicker-calendar-date-preview-state-outline-color)}.mat-calendar-body-in-preview .mat-calendar-body-cell-preview{border-top:dashed 1px;border-bottom:dashed 1px}.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:dashed 1px}[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:0;border-right:dashed 1px}.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:dashed 1px}[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:0;border-left:dashed 1px}.mat-calendar-body-disabled{cursor:default}.mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:var(--mat-datepicker-calendar-date-disabled-state-text-color)}.mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:var(--mat-datepicker-calendar-date-today-disabled-state-outline-color)}.cdk-high-contrast-active .mat-calendar-body-disabled{opacity:.5}.mat-calendar-body-cell-content{top:5%;left:5%;z-index:1;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px;color:var(--mat-datepicker-calendar-date-text-color);border-color:var(--mat-datepicker-calendar-date-outline-color)}.mat-calendar-body-cell-content.mat-focus-indicator{position:absolute}.cdk-high-contrast-active .mat-calendar-body-cell-content{border:none}.cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:var(--mat-datepicker-calendar-date-focus-state-background-color)}@media(hover: hover){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:var(--mat-datepicker-calendar-date-hover-state-background-color)}}.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-state-background-color);color:var(--mat-datepicker-calendar-date-selected-state-text-color)}.mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-disabled-state-background-color)}.mat-calendar-body-selected.mat-calendar-body-today{box-shadow:inset 0 0 0 1px var(--mat-datepicker-calendar-date-today-selected-state-outline-color)}.mat-calendar-body-in-range::before{background:var(--mat-datepicker-calendar-date-in-range-state-background-color)}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color)}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color)}.mat-calendar-body-comparison-bridge-start::before,[dir=rtl] .mat-calendar-body-comparison-bridge-end::before{background:linear-gradient(to right, var(--mat-datepicker-calendar-date-in-range-state-background-color) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color) 50%)}.mat-calendar-body-comparison-bridge-end::before,[dir=rtl] .mat-calendar-body-comparison-bridge-start::before{background:linear-gradient(to left, var(--mat-datepicker-calendar-date-in-range-state-background-color) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color) 50%)}.mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range.mat-calendar-body-in-range::after{background:var(--mat-datepicker-calendar-date-in-overlap-range-state-background-color)}.mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:var(--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color)}.cdk-high-contrast-active .mat-datepicker-popup:not(:empty),.cdk-high-contrast-active .mat-calendar-body-cell:not(.mat-calendar-body-in-range) .mat-calendar-body-selected{outline:solid 1px}.cdk-high-contrast-active .mat-calendar-body-today{outline:dotted 1px}.cdk-high-contrast-active .mat-calendar-body-cell::before,.cdk-high-contrast-active .mat-calendar-body-cell::after,.cdk-high-contrast-active .mat-calendar-body-selected{background:none}.cdk-high-contrast-active .mat-calendar-body-in-range::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-start::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-end::before{border-top:solid 1px;border-bottom:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:0;border-right:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:0;border-left:solid 1px}.cdk-high-contrast-active .mat-calendar-body-in-comparison-range::before{border-top:dashed 1px;border-bottom:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:0;border-right:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:0;border-left:dashed 1px}'],encapsulation:2,changeDetection:0});let a=i;return a})();function Cs(a){return a?.nodeName==="TD"}function ks(a){let i;return Cs(a)?i=a:Cs(a.parentNode)?i=a.parentNode:Cs(a.parentNode?.parentNode)&&(i=a.parentNode.parentNode),i?.getAttribute("data-mat-row")!=null?i:null}function Ds(a,i,r){return r!==null&&i!==r&&a<r&&a===i}function Ss(a,i,r){return i!==null&&i!==r&&a>=i&&a===r}function Is(a,i,r,t){return t&&i!==null&&r!==null&&i!==r&&a>=i&&a<=r}function Bl(a){let i=a.changedTouches[0];return document.elementFromPoint(i.clientX,i.clientY)}var Ue=class{constructor(i,r){this.start=i,this.end=r}},cr=(()=>{let i=class i{constructor(t,e){this.selection=t,this._adapter=e,this._selectionChanged=new E,this.selectionChanged=this._selectionChanged,this.selection=t}updateSelection(t,e){let n=this.selection;this.selection=t,this._selectionChanged.next({selection:t,source:e,oldValue:n})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(t){return this._adapter.isDateInstance(t)&&this._adapter.isValid(t)}};i.\u0275fac=function(e){xa()},i.\u0275prov=W({token:i,factory:i.\u0275fac});let a=i;return a})(),af=(()=>{let i=class i extends cr{constructor(t){super(null,t)}add(t){super.updateSelection(t,this)}isValid(){return this.selection!=null&&this._isValidDateInstance(this.selection)}isComplete(){return this.selection!=null}clone(){let t=new i(this._adapter);return t.updateSelection(this.selection,this),t}};i.\u0275fac=function(e){return new(e||i)($(ci))},i.\u0275prov=W({token:i,factory:i.\u0275fac});let a=i;return a})();function of(a,i){return a||new af(i)}var rf={provide:cr,deps:[[new gi,new fi,cr],ci],useFactory:of};var Wl=new H("MAT_DATE_RANGE_SELECTION_STRATEGY");var Ms=7,sf=0,Hl=(()=>{let i=class i{get activeDate(){return this._activeDate}set activeDate(t){let e=this._activeDate,n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),this._hasSameMonthAndYear(e,this._activeDate)||this._init()}get selected(){return this._selected}set selected(t){t instanceof Ue?this._selected=t:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}constructor(t,e,n,o,s){this._changeDetectorRef=t,this._dateFormats=e,this._dateAdapter=n,this._dir=o,this._rangeStrategy=s,this._rerenderSubscription=Rt.EMPTY,this.activeDrag=null,this.selectedChange=new O,this._userSelection=new O,this.dragStarted=new O,this.dragEnded=new O,this.activeDateChange=new O,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Mt(null)).subscribe(()=>this._init())}ngOnChanges(t){let e=t.comparisonStart||t.comparisonEnd;e&&!e.firstChange&&this._setRanges(this.selected),t.activeDrag&&!this.activeDrag&&this._clearPreview()}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(t){let e=t.value,n=this._getDateFromDayOfMonth(e),o,s;this._selected instanceof Ue?(o=this._getDateInCurrentMonth(this._selected.start),s=this._getDateInCurrentMonth(this._selected.end)):o=s=this._getDateInCurrentMonth(this._selected),(o!==e||s!==e)&&this.selectedChange.emit(n),this._userSelection.emit({value:n,event:t.event}),this._clearPreview(),this._changeDetectorRef.markForCheck()}_updateActiveDate(t){let e=t.value,n=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(e),this._dateAdapter.compareDate(n,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(t){let e=this._activeDate,n=this._isRtl();switch(t.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,n?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,n?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case 40:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case 36:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case 33:this.activeDate=t.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case 34:this.activeDate=t.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case 13:case 32:this._selectionKeyPressed=!0,this._canSelect(this._activeDate)&&t.preventDefault();return;case 27:this._previewEnd!=null&&!$t(t)&&(this._clearPreview(),this.activeDrag?this.dragEnded.emit({value:null,event:t}):(this.selectedChange.emit(null),this._userSelection.emit({value:null,event:t})),t.preventDefault(),t.stopPropagation());return;default:return}this._dateAdapter.compareDate(e,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),t.preventDefault()}_handleCalendarBodyKeyup(t){(t.keyCode===32||t.keyCode===13)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:t}),this._selectionKeyPressed=!1)}_init(){this._setRanges(this.selected),this._todayDate=this._getCellCompareValue(this._dateAdapter.today()),this._monthLabel=this._dateFormats.display.monthLabel?this._dateAdapter.format(this.activeDate,this._dateFormats.display.monthLabel):this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();let t=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(Ms+this._dateAdapter.getDayOfWeek(t)-this._dateAdapter.getFirstDayOfWeek())%Ms,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(t){this._matCalendarBody._focusActiveCell(t)}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_previewChanged({event:t,value:e}){if(this._rangeStrategy){let n=e?e.rawValue:null,o=this._rangeStrategy.createPreview(n,this.selected,t);if(this._previewStart=this._getCellCompareValue(o.start),this._previewEnd=this._getCellCompareValue(o.end),this.activeDrag&&n){let s=this._rangeStrategy.createDrag?.(this.activeDrag.value,this.selected,n,t);s&&(this._previewStart=this._getCellCompareValue(s.start),this._previewEnd=this._getCellCompareValue(s.end))}this._changeDetectorRef.detectChanges()}}_dragEnded(t){if(this.activeDrag)if(t.value){let e=this._rangeStrategy?.createDrag?.(this.activeDrag.value,this.selected,t.value,t.event);this.dragEnded.emit({value:e??null,event:t.event})}else this.dragEnded.emit({value:null,event:t.event})}_getDateFromDayOfMonth(t){return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),t)}_initWeekdays(){let t=this._dateAdapter.getFirstDayOfWeek(),e=this._dateAdapter.getDayOfWeekNames("narrow"),o=this._dateAdapter.getDayOfWeekNames("long").map((s,h)=>({long:s,narrow:e[h],id:sf++}));this._weekdays=o.slice(t).concat(o.slice(0,t))}_createWeekCells(){let t=this._dateAdapter.getNumDaysInMonth(this.activeDate),e=this._dateAdapter.getDateNames();this._weeks=[[]];for(let n=0,o=this._firstWeekOffset;n<t;n++,o++){o==Ms&&(this._weeks.push([]),o=0);let s=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),n+1),h=this._shouldEnableDate(s),g=this._dateAdapter.format(s,this._dateFormats.display.dateA11yLabel),v=this.dateClass?this.dateClass(s,"month"):void 0;this._weeks[this._weeks.length-1].push(new la(n+1,e[n],g,h,v,this._getCellCompareValue(s),s))}}_shouldEnableDate(t){return!!t&&(!this.minDate||this._dateAdapter.compareDate(t,this.minDate)>=0)&&(!this.maxDate||this._dateAdapter.compareDate(t,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(t))}_getDateInCurrentMonth(t){return t&&this._hasSameMonthAndYear(t,this.activeDate)?this._dateAdapter.getDate(t):null}_hasSameMonthAndYear(t,e){return!!(t&&e&&this._dateAdapter.getMonth(t)==this._dateAdapter.getMonth(e)&&this._dateAdapter.getYear(t)==this._dateAdapter.getYear(e))}_getCellCompareValue(t){if(t){let e=this._dateAdapter.getYear(t),n=this._dateAdapter.getMonth(t),o=this._dateAdapter.getDate(t);return new Date(e,n,o).getTime()}return null}_isRtl(){return this._dir&&this._dir.value==="rtl"}_setRanges(t){t instanceof Ue?(this._rangeStart=this._getCellCompareValue(t.start),this._rangeEnd=this._getCellCompareValue(t.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(t),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}_canSelect(t){return!this.dateFilter||this.dateFilter(t)}_clearPreview(){this._previewStart=this._previewEnd=null}};i.\u0275fac=function(e){return new(e||i)(l(q),l(Wn,8),l(ci,8),l(Nt,8),l(Wl,8))},i.\u0275cmp=w({type:i,selectors:[["mat-month-view"]],viewQuery:function(e,n){if(e&1&&it(Ln,5),e&2){let o;A(o=R())&&(n._matCalendarBody=o.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName",activeDrag:"activeDrag"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",dragStarted:"dragStarted",dragEnded:"dragEnded",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],standalone:!0,features:[At,S],decls:8,vars:14,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col"],["aria-hidden","true"],["colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"selectedValueChange","activeDateChange","previewChange","dragStarted","dragEnded","keyup","keydown","label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","startDateAccessibleName","endDateAccessibleName"],[1,"cdk-visually-hidden"]],template:function(e,n){e&1&&(c(0,"table",0)(1,"thead",1)(2,"tr"),Jt(3,qg,5,2,"th",2,Gl),d(),c(5,"tr",3),x(6,"th",4),d()(),c(7,"tbody",5),_("selectedValueChange",function(s){return n._dateSelected(s)})("activeDateChange",function(s){return n._updateActiveDate(s)})("previewChange",function(s){return n._previewChanged(s)})("dragStarted",function(s){return n.dragStarted.emit(s)})("dragEnded",function(s){return n._dragEnded(s)})("keyup",function(s){return n._handleCalendarBodyKeyup(s)})("keydown",function(s){return n._handleCalendarBodyKeydown(s)}),d()()),e&2&&(m(3),te(n._weekdays),m(4),u("label",n._monthLabel)("rows",n._weeks)("todayValue",n._todayDate)("startValue",n._rangeStart)("endValue",n._rangeEnd)("comparisonStart",n._comparisonRangeStart)("comparisonEnd",n._comparisonRangeEnd)("previewStart",n._previewStart)("previewEnd",n._previewEnd)("isRange",n._isRange)("labelMinRequiredCells",3)("activeCell",n._dateAdapter.getDate(n.activeDate)-1)("startDateAccessibleName",n.startDateAccessibleName)("endDateAccessibleName",n.endDateAccessibleName))},dependencies:[Ln],encapsulation:2,changeDetection:0});let a=i;return a})(),Pe=24,Es=4,Ul=(()=>{let i=class i{get activeDate(){return this._activeDate}set activeDate(t){let e=this._activeDate,n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),Ql(this._dateAdapter,e,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(t){t instanceof Ue?this._selected=t:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t)),this._setSelectedYear(t)}get minDate(){return this._minDate}set minDate(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}constructor(t,e,n){this._changeDetectorRef=t,this._dateAdapter=e,this._dir=n,this._rerenderSubscription=Rt.EMPTY,this.selectedChange=new O,this.yearSelected=new O,this.activeDateChange=new O,this._dateAdapter,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Mt(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());let e=this._dateAdapter.getYear(this._activeDate)-da(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let n=0,o=[];n<Pe;n++)o.push(e+n),o.length==Es&&(this._years.push(o.map(s=>this._createCellForYear(s))),o=[]);this._changeDetectorRef.markForCheck()}_yearSelected(t){let e=t.value,n=this._dateAdapter.createDate(e,0,1),o=this._getDateFromYear(e);this.yearSelected.emit(n),this.selectedChange.emit(o)}_updateActiveDate(t){let e=t.value,n=this._activeDate;this.activeDate=this._getDateFromYear(e),this._dateAdapter.compareDate(n,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(t){let e=this._activeDate,n=this._isRtl();switch(t.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,n?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,n?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-Es);break;case 40:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Es);break;case 36:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-da(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Pe-da(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?-Pe*10:-Pe);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?Pe*10:Pe);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(e,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked(),t.preventDefault()}_handleCalendarBodyKeyup(t){(t.keyCode===32||t.keyCode===13)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:t}),this._selectionKeyPressed=!1)}_getActiveCell(){return da(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getDateFromYear(t){let e=this._dateAdapter.getMonth(this.activeDate),n=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(t,e,1));return this._dateAdapter.createDate(t,e,Math.min(this._dateAdapter.getDate(this.activeDate),n))}_createCellForYear(t){let e=this._dateAdapter.createDate(t,0,1),n=this._dateAdapter.getYearName(e),o=this.dateClass?this.dateClass(e,"multi-year"):void 0;return new la(t,n,n,this._shouldEnableYear(t),o)}_shouldEnableYear(t){if(t==null||this.maxDate&&t>this._dateAdapter.getYear(this.maxDate)||this.minDate&&t<this._dateAdapter.getYear(this.minDate))return!1;if(!this.dateFilter)return!0;let e=this._dateAdapter.createDate(t,0,1);for(let n=e;this._dateAdapter.getYear(n)==t;n=this._dateAdapter.addCalendarDays(n,1))if(this.dateFilter(n))return!0;return!1}_isRtl(){return this._dir&&this._dir.value==="rtl"}_setSelectedYear(t){if(this._selectedYear=null,t instanceof Ue){let e=t.start||t.end;e&&(this._selectedYear=this._dateAdapter.getYear(e))}else t&&(this._selectedYear=this._dateAdapter.getYear(t))}};i.\u0275fac=function(e){return new(e||i)(l(q),l(ci,8),l(Nt,8))},i.\u0275cmp=w({type:i,selectors:[["mat-multi-year-view"]],viewQuery:function(e,n){if(e&1&&it(Ln,5),e&2){let o;A(o=R())&&(n._matCalendarBody=o.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",activeDateChange:"activeDateChange"},exportAs:["matMultiYearView"],standalone:!0,features:[S],decls:5,vars:7,consts:[["role","grid",1,"mat-calendar-table"],["aria-hidden","true",1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"selectedValueChange","activeDateChange","keyup","keydown","rows","todayValue","startValue","endValue","numCols","cellAspectRatio","activeCell"]],template:function(e,n){e&1&&(c(0,"table",0)(1,"thead",1)(2,"tr"),x(3,"th",2),d()(),c(4,"tbody",3),_("selectedValueChange",function(s){return n._yearSelected(s)})("activeDateChange",function(s){return n._updateActiveDate(s)})("keyup",function(s){return n._handleCalendarBodyKeyup(s)})("keydown",function(s){return n._handleCalendarBodyKeydown(s)}),d()()),e&2&&(m(4),u("rows",n._years)("todayValue",n._todayYear)("startValue",n._selectedYear)("endValue",n._selectedYear)("numCols",4)("cellAspectRatio",4/7)("activeCell",n._getActiveCell()))},dependencies:[Ln],encapsulation:2,changeDetection:0});let a=i;return a})();function Ql(a,i,r,t,e){let n=a.getYear(i),o=a.getYear(r),s=Yl(a,t,e);return Math.floor((n-s)/Pe)===Math.floor((o-s)/Pe)}function da(a,i,r,t){let e=a.getYear(i);return cf(e-Yl(a,r,t),Pe)}function Yl(a,i,r){let t=0;return r?t=a.getYear(r)-Pe+1:i&&(t=a.getYear(i)),t}function cf(a,i){return(a%i+i)%i}var ql=(()=>{let i=class i{get activeDate(){return this._activeDate}set activeDate(t){let e=this._activeDate,n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),this._dateAdapter.getYear(e)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(t){t instanceof Ue?this._selected=t:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t)),this._setSelectedMonth(t)}get minDate(){return this._minDate}set minDate(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}constructor(t,e,n,o){this._changeDetectorRef=t,this._dateFormats=e,this._dateAdapter=n,this._dir=o,this._rerenderSubscription=Rt.EMPTY,this.selectedChange=new O,this.monthSelected=new O,this.activeDateChange=new O,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Mt(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(t){let e=t.value,n=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1);this.monthSelected.emit(n);let o=this._getDateFromMonth(e);this.selectedChange.emit(o)}_updateActiveDate(t){let e=t.value,n=this._activeDate;this.activeDate=this._getDateFromMonth(e),this._dateAdapter.compareDate(n,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(t){let e=this._activeDate,n=this._isRtl();switch(t.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,n?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,n?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case 40:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case 36:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?-10:-1);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?10:1);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(e,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),t.preventDefault()}_handleCalendarBodyKeyup(t){(t.keyCode===32||t.keyCode===13)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:t}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let t=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(e=>e.map(n=>this._createCellForMonth(n,t[n]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getMonthInCurrentYear(t){return t&&this._dateAdapter.getYear(t)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(t):null}_getDateFromMonth(t){let e=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,1),n=this._dateAdapter.getNumDaysInMonth(e);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,Math.min(this._dateAdapter.getDate(this.activeDate),n))}_createCellForMonth(t,e){let n=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,1),o=this._dateAdapter.format(n,this._dateFormats.display.monthYearA11yLabel),s=this.dateClass?this.dateClass(n,"year"):void 0;return new la(t,e.toLocaleUpperCase(),o,this._shouldEnableMonth(t),s)}_shouldEnableMonth(t){let e=this._dateAdapter.getYear(this.activeDate);if(t==null||this._isYearAndMonthAfterMaxDate(e,t)||this._isYearAndMonthBeforeMinDate(e,t))return!1;if(!this.dateFilter)return!0;let n=this._dateAdapter.createDate(e,t,1);for(let o=n;this._dateAdapter.getMonth(o)==t;o=this._dateAdapter.addCalendarDays(o,1))if(this.dateFilter(o))return!0;return!1}_isYearAndMonthAfterMaxDate(t,e){if(this.maxDate){let n=this._dateAdapter.getYear(this.maxDate),o=this._dateAdapter.getMonth(this.maxDate);return t>n||t===n&&e>o}return!1}_isYearAndMonthBeforeMinDate(t,e){if(this.minDate){let n=this._dateAdapter.getYear(this.minDate),o=this._dateAdapter.getMonth(this.minDate);return t<n||t===n&&e<o}return!1}_isRtl(){return this._dir&&this._dir.value==="rtl"}_setSelectedMonth(t){t instanceof Ue?this._selectedMonth=this._getMonthInCurrentYear(t.start)||this._getMonthInCurrentYear(t.end):this._selectedMonth=this._getMonthInCurrentYear(t)}};i.\u0275fac=function(e){return new(e||i)(l(q),l(Wn,8),l(ci,8),l(Nt,8))},i.\u0275cmp=w({type:i,selectors:[["mat-year-view"]],viewQuery:function(e,n){if(e&1&&it(Ln,5),e&2){let o;A(o=R())&&(n._matCalendarBody=o.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",monthSelected:"monthSelected",activeDateChange:"activeDateChange"},exportAs:["matYearView"],standalone:!0,features:[S],decls:5,vars:9,consts:[["role","grid",1,"mat-calendar-table"],["aria-hidden","true",1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"selectedValueChange","activeDateChange","keyup","keydown","label","rows","todayValue","startValue","endValue","labelMinRequiredCells","numCols","cellAspectRatio","activeCell"]],template:function(e,n){e&1&&(c(0,"table",0)(1,"thead",1)(2,"tr"),x(3,"th",2),d()(),c(4,"tbody",3),_("selectedValueChange",function(s){return n._monthSelected(s)})("activeDateChange",function(s){return n._updateActiveDate(s)})("keyup",function(s){return n._handleCalendarBodyKeyup(s)})("keydown",function(s){return n._handleCalendarBodyKeydown(s)}),d()()),e&2&&(m(4),u("label",n._yearLabel)("rows",n._months)("todayValue",n._todayMonth)("startValue",n._selectedMonth)("endValue",n._selectedMonth)("labelMinRequiredCells",2)("numCols",4)("cellAspectRatio",4/7)("activeCell",n._dateAdapter.getMonth(n.activeDate)))},dependencies:[Ln],encapsulation:2,changeDetection:0});let a=i;return a})(),df=1,Zl=(()=>{let i=class i{constructor(t,e,n,o,s){this._intl=t,this.calendar=e,this._dateAdapter=n,this._dateFormats=o,this._id=`mat-calendar-header-${df++}`,this._periodButtonLabelId=`${this._id}-period-label`,this.calendar.stateChanges.subscribe(()=>s.markForCheck())}get periodButtonText(){return this.calendar.currentView=="month"?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():this.calendar.currentView=="year"?this._dateAdapter.getYearName(this.calendar.activeDate):this._intl.formatYearRange(...this._formatMinAndMaxYearLabels())}get periodButtonDescription(){return this.calendar.currentView=="month"?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():this.calendar.currentView=="year"?this._dateAdapter.getYearName(this.calendar.activeDate):this._intl.formatYearRangeLabel(...this._formatMinAndMaxYearLabels())}get periodButtonLabel(){return this.calendar.currentView=="month"?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}get prevButtonLabel(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]}get nextButtonLabel(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]}currentPeriodClicked(){this.calendar.currentView=this.calendar.currentView=="month"?"multi-year":"month"}previousClicked(){this.calendar.activeDate=this.calendar.currentView=="month"?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,this.calendar.currentView=="year"?-1:-Pe)}nextClicked(){this.calendar.activeDate=this.calendar.currentView=="month"?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,this.calendar.currentView=="year"?1:Pe)}previousEnabled(){return this.calendar.minDate?!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate):!0}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_isSameView(t,e){return this.calendar.currentView=="month"?this._dateAdapter.getYear(t)==this._dateAdapter.getYear(e)&&this._dateAdapter.getMonth(t)==this._dateAdapter.getMonth(e):this.calendar.currentView=="year"?this._dateAdapter.getYear(t)==this._dateAdapter.getYear(e):Ql(this._dateAdapter,t,e,this.calendar.minDate,this.calendar.maxDate)}_formatMinAndMaxYearLabels(){let e=this._dateAdapter.getYear(this.calendar.activeDate)-da(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),n=e+Pe-1,o=this._dateAdapter.getYearName(this._dateAdapter.createDate(e,0,1)),s=this._dateAdapter.getYearName(this._dateAdapter.createDate(n,0,1));return[o,s]}};i.\u0275fac=function(e){return new(e||i)(l(ma),l(ye(()=>Ts)),l(ci,8),l(Wn,8),l(q))},i.\u0275cmp=w({type:i,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],standalone:!0,features:[S],ngContentSelectors:$g,decls:13,vars:11,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["aria-live","polite",1,"cdk-visually-hidden",3,"id"],["mat-button","","type","button",1,"mat-calendar-period-button",3,"click"],["aria-hidden","true"],["viewBox","0 0 10 5","focusable","false","aria-hidden","true",1,"mat-calendar-arrow"],["points","0,0 5,5 10,0"],[1,"mat-calendar-spacer"],["mat-icon-button","","type","button",1,"mat-calendar-previous-button",3,"click","disabled"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"click","disabled"]],template:function(e,n){e&1&&(K(),c(0,"div",0)(1,"div",1)(2,"label",2),p(3),d(),c(4,"button",3),_("click",function(){return n.currentPeriodClicked()}),c(5,"span",4),p(6),d(),pe(),c(7,"svg",5),x(8,"polygon",6),d()(),Hn(),x(9,"div",7),j(10),c(11,"button",8),_("click",function(){return n.previousClicked()}),d(),c(12,"button",9),_("click",function(){return n.nextClicked()}),d()()()),e&2&&(m(2),u("id",n._periodButtonLabelId),m(),nt(n.periodButtonDescription),m(),T("aria-label",n.periodButtonLabel)("aria-describedby",n._periodButtonLabelId),m(2),nt(n.periodButtonText),m(),U("mat-calendar-invert",n.calendar.currentView!=="month"),m(4),u("disabled",!n.previousEnabled()),T("aria-label",n.prevButtonLabel),m(),u("disabled",!n.nextEnabled()),T("aria-label",n.nextButtonLabel))},dependencies:[Jn,xe],encapsulation:2,changeDetection:0});let a=i;return a})(),Ts=(()=>{let i=class i{get startAt(){return this._startAt}set startAt(t){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get selected(){return this._selected}set selected(t){t instanceof Ue?this._selected=t:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get minDate(){return this._minDate}set minDate(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get activeDate(){return this._clampedActiveDate}set activeDate(t){this._clampedActiveDate=this._dateAdapter.clampDate(t,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(t){let e=this._currentView!==t?t:null;this._currentView=t,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),e&&this.viewChanged.emit(e)}constructor(t,e,n,o){this._dateAdapter=e,this._dateFormats=n,this._changeDetectorRef=o,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new O,this.yearSelected=new O,this.monthSelected=new O,this.viewChanged=new O(!0),this._userSelection=new O,this._userDragDrop=new O,this._activeDrag=null,this.stateChanges=new E,this._intlChanges=t.changes.subscribe(()=>{o.markForCheck(),this.stateChanges.next()})}ngAfterContentInit(){this._calendarHeaderPortal=new li(this.headerComponent||Zl),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(t){let e=t.minDate&&!this._dateAdapter.sameDate(t.minDate.previousValue,t.minDate.currentValue)?t.minDate:void 0,n=t.maxDate&&!this._dateAdapter.sameDate(t.maxDate.previousValue,t.maxDate.currentValue)?t.maxDate:void 0,o=e||n||t.dateFilter;if(o&&!o.firstChange){let s=this._getCurrentViewComponent();s&&(this._changeDetectorRef.detectChanges(),s._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(t){let e=t.value;(this.selected instanceof Ue||e&&!this._dateAdapter.sameDate(e,this.selected))&&this.selectedChange.emit(e),this._userSelection.emit(t)}_yearSelectedInMultiYearView(t){this.yearSelected.emit(t)}_monthSelectedInYearView(t){this.monthSelected.emit(t)}_goToDateInView(t,e){this.activeDate=t,this.currentView=e}_dragStarted(t){this._activeDrag=t}_dragEnded(t){this._activeDrag&&(t.value&&this._userDragDrop.emit(t),this._activeDrag=null)}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}};i.\u0275fac=function(e){return new(e||i)(l(ma),l(ci,8),l(Wn,8),l(q))},i.\u0275cmp=w({type:i,selectors:[["mat-calendar"]],viewQuery:function(e,n){if(e&1&&(it(Hl,5),it(ql,5),it(Ul,5)),e&2){let o;A(o=R())&&(n.monthView=o.first),A(o=R())&&(n.yearView=o.first),A(o=R())&&(n.multiYearView=o.first)}},hostAttrs:[1,"mat-calendar"],inputs:{headerComponent:"headerComponent",startAt:"startAt",startView:"startView",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection",_userDragDrop:"_userDragDrop"},exportAs:["matCalendar"],standalone:!0,features:[X([rf]),At,S],decls:5,vars:2,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass"],[3,"activeDateChange","_userSelection","dragStarted","dragEnded","activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag"],[3,"activeDateChange","monthSelected","selectedChange","activeDate","selected","dateFilter","maxDate","minDate","dateClass"],[3,"activeDateChange","yearSelected","selectedChange","activeDate","selected","dateFilter","maxDate","minDate","dateClass"]],template:function(e,n){if(e&1&&(y(0,Gg,0,0,"ng-template",0),c(1,"div",1),y(2,Wg,1,11,"mat-month-view",2)(3,Qg,1,6,"mat-year-view",3)(4,Yg,1,6,"mat-multi-year-view",3),d()),e&2){let o;u("cdkPortalOutlet",n._calendarHeaderPortal),m(2),B((o=n.currentView)==="month"?2:o==="year"?3:o==="multi-year"?4:-1)}},dependencies:[le,hc,Hl,ql,Ul],styles:['.mat-calendar{display:block;font-family:var(--mat-datepicker-calendar-text-font);font-size:var(--mat-datepicker-calendar-text-size)}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;align-items:center;margin:5% calc(4.7142857143% - 16px)}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0;margin:0 8px;font-size:var(--mat-datepicker-calendar-period-button-text-size);font-weight:var(--mat-datepicker-calendar-period-button-text-weight);--mdc-text-button-label-text-color:var(--mat-datepicker-calendar-period-button-text-color)}.mat-calendar-arrow{display:inline-block;width:10px;height:5px;margin:0 0 0 5px;vertical-align:middle;fill:var(--mat-datepicker-calendar-period-button-icon-color)}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.cdk-high-contrast-active .mat-calendar-arrow{fill:CanvasText}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-datepicker-content .mat-calendar-previous-button:not(.mat-mdc-button-disabled),.mat-datepicker-content .mat-calendar-next-button:not(.mat-mdc-button-disabled){color:var(--mat-datepicker-calendar-navigation-button-icon-color)}.mat-calendar-previous-button::after,.mat-calendar-next-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:"";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0;color:var(--mat-datepicker-calendar-header-text-color);font-size:var(--mat-datepicker-calendar-header-text-size);font-weight:var(--mat-datepicker-calendar-header-text-weight)}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px;background:var(--mat-datepicker-calendar-header-divider-color)}.mat-calendar-body-cell-content::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}.mat-calendar-body-cell:focus .mat-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0});let a=i;return a})(),$l={transformPanel:jt("transformPanel",[_t("void => enter-dropdown",ft("120ms cubic-bezier(0, 0, 0.2, 1)",Ti([Y({opacity:0,transform:"scale(1, 0.8)"}),Y({opacity:1,transform:"scale(1, 1)"})]))),_t("void => enter-dialog",ft("150ms cubic-bezier(0, 0, 0.2, 1)",Ti([Y({opacity:0,transform:"scale(0.7)"}),Y({transform:"none",opacity:1})]))),_t("* => void",ft("100ms linear",Y({opacity:0})))]),fadeInCalendar:jt("fadeInCalendar",[pt("void",Y({opacity:0})),pt("enter",Y({opacity:1})),_t("void => *",ft("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};var lf=new H("mat-datepicker-scroll-strategy",{providedIn:"root",factory:()=>{let a=b(Tt);return()=>a.scrollStrategies.reposition()}});function mf(a){return()=>a.scrollStrategies.reposition()}var hf={provide:lf,deps:[Tt],useFactory:mf},pf=(()=>{let i=class i{constructor(t,e,n,o,s,h){this._elementRef=t,this._changeDetectorRef=e,this._globalModel=n,this._dateAdapter=o,this._rangeSelectionStrategy=s,this._subscriptions=new Rt,this._animationDone=new E,this._isAnimating=!1,this._actionsPortal=null,this._closeButtonText=h.closeCalendarLabel}ngOnInit(){this._animationState=this.datepicker.touchUi?"enter-dialog":"enter-dropdown"}ngAfterViewInit(){this._subscriptions.add(this.datepicker.stateChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})),this._calendar.focusActiveCell()}ngOnDestroy(){this._subscriptions.unsubscribe(),this._animationDone.complete()}_handleUserSelection(t){let e=this._model.selection,n=t.value,o=e instanceof Ue;if(o&&this._rangeSelectionStrategy){let s=this._rangeSelectionStrategy.selectionFinished(n,e,t.event);this._model.updateSelection(s,this)}else n&&(o||!this._dateAdapter.sameDate(n,e))&&this._model.add(n);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_handleUserDragDrop(t){this._model.updateSelection(t.value,this)}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}_handleAnimationEvent(t){this._isAnimating=t.phaseName==="start",this._isAnimating||this._animationDone.next()}_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}_assignActions(t,e){this._model=t?this._globalModel.clone():this._globalModel,this._actionsPortal=t,e&&this._changeDetectorRef.detectChanges()}};i.\u0275fac=function(e){return new(e||i)(l(z),l(q),l(cr),l(ci),l(Wl,8),l(ma))},i.\u0275cmp=w({type:i,selectors:[["mat-datepicker-content"]],viewQuery:function(e,n){if(e&1&&it(Ts,5),e&2){let o;A(o=R())&&(n._calendar=o.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:5,hostBindings:function(e,n){e&1&&Ji("@transformPanel.start",function(s){return n._handleAnimationEvent(s)})("@transformPanel.done",function(s){return n._handleAnimationEvent(s)}),e&2&&(Xi("@transformPanel",n._animationState),zt(n.color?"mat-"+n.color:""),U("mat-datepicker-content-touch",n.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],standalone:!0,features:[S],decls:5,vars:27,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"yearSelected","monthSelected","viewChanged","_userSelection","_userDragDrop","id","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",3,"focus","blur","click","color"]],template:function(e,n){if(e&1&&(c(0,"div",0)(1,"mat-calendar",1),_("yearSelected",function(s){return n.datepicker._selectYear(s)})("monthSelected",function(s){return n.datepicker._selectMonth(s)})("viewChanged",function(s){return n.datepicker._viewChanged(s)})("_userSelection",function(s){return n._handleUserSelection(s)})("_userDragDrop",function(s){return n._handleUserDragDrop(s)}),d(),y(2,Zg,0,0,"ng-template",2),c(3,"button",3),_("focus",function(){return n._closeButtonFocused=!0})("blur",function(){return n._closeButtonFocused=!1})("click",function(){return n.datepicker.close()}),p(4),d()()),e&2){let o;U("mat-datepicker-content-container-with-custom-header",n.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",n._actionsPortal),T("aria-modal",!0)("aria-labelledby",(o=n._dialogLabelId)!==null&&o!==void 0?o:void 0),m(),zt(n.datepicker.panelClass),u("id",n.datepicker.id)("startAt",n.datepicker.startAt)("startView",n.datepicker.startView)("minDate",n.datepicker._getMinDate())("maxDate",n.datepicker._getMaxDate())("dateFilter",n.datepicker._getDateFilter())("headerComponent",n.datepicker.calendarHeaderComponent)("selected",n._getSelected())("dateClass",n.datepicker.dateClass)("comparisonStart",n.comparisonStart)("comparisonEnd",n.comparisonEnd)("@fadeInCalendar","enter")("startDateAccessibleName",n.startDateAccessibleName)("endDateAccessibleName",n.endDateAccessibleName),m(),u("cdkPortalOutlet",n._actionsPortal),m(),U("cdk-visually-hidden",!n._closeButtonFocused),u("color",n.color||"primary"),m(),nt(n._closeButtonText)}},dependencies:[lc,Ts,le,Jn],styles:[".mat-datepicker-content{display:block;border-radius:4px;background-color:var(--mat-datepicker-calendar-container-background-color);color:var(--mat-datepicker-calendar-container-text-color);box-shadow:var(--mat-datepicker-calendar-container-elevation-shadow);border-radius:var(--mat-datepicker-calendar-container-shape)}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-content-container-with-custom-header .mat-calendar{height:auto}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.ng-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{display:block;max-height:80vh;box-shadow:var(--mat-datepicker-calendar-container-touch-elevation-shadow);border-radius:var(--mat-datepicker-calendar-container-touch-shape);position:relative;overflow:visible}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}}"],encapsulation:2,data:{animation:[$l.transformPanel,$l.fadeInCalendar]},changeDetection:0});let a=i;return a})();var uf=(()=>{let i=class i{};i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=I({type:i,selectors:[["","matDatepickerToggleIcon",""]],standalone:!0});let a=i;return a})(),gf=(()=>{let i=class i{get disabled(){return this._disabled===void 0&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(t){this._disabled=t}constructor(t,e,n){this._intl=t,this._changeDetectorRef=e,this._stateChanges=Rt.EMPTY;let o=Number(n);this.tabIndex=o||o===0?o:null}ngOnChanges(t){t.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(t){this.datepicker&&!this.disabled&&(this.datepicker.open(),t.stopPropagation())}_watchStateChanges(){let t=this.datepicker?this.datepicker.stateChanges:at(),e=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:at(),n=this.datepicker?Dt(this.datepicker.openedStream,this.datepicker.closedStream):at();this._stateChanges.unsubscribe(),this._stateChanges=Dt(this._intl.changes,t,e,n).subscribe(()=>this._changeDetectorRef.markForCheck())}};i.\u0275fac=function(e){return new(e||i)(l(ma),l(q),Qt("tabindex"))},i.\u0275cmp=w({type:i,selectors:[["mat-datepicker-toggle"]],contentQueries:function(e,n,o){if(e&1&&J(o,uf,5),e&2){let s;A(s=R())&&(n._customIcon=s.first)}},viewQuery:function(e,n){if(e&1&&it(Kg,5),e&2){let o;A(o=R())&&(n._button=o.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(e,n){e&1&&_("click",function(s){return n._open(s)}),e&2&&(T("tabindex",null)("data-mat-calendar",n.datepicker?n.datepicker.id:null),U("mat-datepicker-toggle-active",n.datepicker&&n.datepicker.opened)("mat-accent",n.datepicker&&n.datepicker.color==="accent")("mat-warn",n.datepicker&&n.datepicker.color==="warn"))},inputs:{datepicker:[0,"for","datepicker"],tabIndex:"tabIndex",ariaLabel:[0,"aria-label","ariaLabel"],disabled:[2,"disabled","disabled",M],disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],standalone:!0,features:[Q,At,S],ngContentSelectors:Jg,decls:4,vars:6,consts:[["button",""],["mat-icon-button","","type","button",3,"disabled","disableRipple"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false","aria-hidden","true",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(e,n){e&1&&(K(Xg),c(0,"button",1,0),y(2,tf,2,0,":svg:svg",2),j(3),d()),e&2&&(u("disabled",n.disabled)("disableRipple",n.disableRipple),T("aria-haspopup",n.datepicker?"dialog":null)("aria-label",n.ariaLabel||n._intl.openCalendarLabel)("tabindex",n.disabled?-1:n.tabIndex),m(2),B(n._customIcon?-1:2))},dependencies:[xe],styles:[".mat-datepicker-toggle{pointer-events:auto;color:var(--mat-datepicker-toggle-icon-color)}.mat-datepicker-toggle-active{color:var(--mat-datepicker-toggle-active-state-icon-color)}.cdk-high-contrast-active .mat-datepicker-toggle-default-icon{color:CanvasText}"],encapsulation:2,changeDetection:0});let a=i;return a})();var Kl=(()=>{let i=class i{};i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=N({type:i}),i.\u0275inj=L({providers:[ma,hf],imports:[Pt,$i,fe,si,me,V,pf,gf,Zl,Ae]});let a=i;return a})();var dr=(()=>{let i=class i{};i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=N({type:i}),i.\u0275inj=L({imports:[V,V]});let a=i;return a})();var Xl=(()=>{let i=class i{};i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=N({type:i}),i.\u0275inj=L({imports:[xr,V,xr,V]});let a=i;return a})();var Jl=(()=>{let i=class i{};i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=N({type:i}),i.\u0275inj=L({imports:[cc,Pt,V,Ht,fc,dr]});let a=i;return a})();var _f=["mat-menu-item",""],bf=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],vf=["mat-icon, [matMenuItemIcon]","*"];function yf(a,i){a&1&&(pe(),c(0,"svg",2),x(1,"polygon",3),d())}var wf=["*"];function xf(a,i){if(a&1){let r=F();c(0,"div",0),_("keydown",function(e){C(r);let n=f();return k(n._handleKeydown(e))})("click",function(){C(r);let e=f();return k(e.closed.emit("click"))})("@transformMenu.start",function(e){C(r);let n=f();return k(n._onAnimationStart(e))})("@transformMenu.done",function(e){C(r);let n=f();return k(n._onAnimationDone(e))}),c(1,"div",1),j(2),d()()}if(a&2){let r=f();zt(r._classList),u("id",r.panelId)("@transformMenu",r._panelAnimationState),T("aria-label",r.ariaLabel||null)("aria-labelledby",r.ariaLabelledby||null)("aria-describedby",r.ariaDescribedby||null)}}var zs=new H("MAT_MENU_PANEL"),Fs=(()=>{let i=class i{constructor(t,e,n,o,s){this._elementRef=t,this._document=e,this._focusMonitor=n,this._parentMenu=o,this._changeDetectorRef=s,this.role="menuitem",this.disabled=!1,this.disableRipple=!1,this._hovered=new E,this._focused=new E,this._highlighted=!1,this._triggersSubmenu=!1,o?.addItem?.(this)}focus(t,e){this._focusMonitor&&t?this._focusMonitor.focusVia(this._getHostElement(),t,e):this._getHostElement().focus(e),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(t){this.disabled&&(t.preventDefault(),t.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){let t=this._elementRef.nativeElement.cloneNode(!0),e=t.querySelectorAll("mat-icon, .material-icons");for(let n=0;n<e.length;n++)e[n].remove();return t.textContent?.trim()||""}_setHighlighted(t){this._highlighted=t,this._changeDetectorRef?.markForCheck()}_setTriggersSubmenu(t){this._triggersSubmenu=t,this._changeDetectorRef?.markForCheck()}_hasFocus(){return this._document&&this._document.activeElement===this._getHostElement()}};i.\u0275fac=function(e){return new(e||i)(l(z),l(St),l(Ft),l(zs,8),l(q))},i.\u0275cmp=w({type:i,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-mdc-menu-item","mat-mdc-focus-indicator"],hostVars:8,hostBindings:function(e,n){e&1&&_("click",function(s){return n._checkDisabled(s)})("mouseenter",function(){return n._handleMouseEnter()}),e&2&&(T("role",n.role)("tabindex",n._getTabIndex())("aria-disabled",n.disabled)("disabled",n.disabled||null),U("mat-mdc-menu-item-highlighted",n._highlighted)("mat-mdc-menu-item-submenu-trigger",n._triggersSubmenu))},inputs:{role:"role",disabled:[2,"disabled","disabled",M],disableRipple:[2,"disableRipple","disableRipple",M]},exportAs:["matMenuItem"],standalone:!0,features:[Q,S],attrs:_f,ngContentSelectors:vf,decls:5,vars:3,consts:[[1,"mat-mdc-menu-item-text"],["matRipple","",1,"mat-mdc-menu-ripple",3,"matRippleDisabled","matRippleTrigger"],["viewBox","0 0 5 10","focusable","false","aria-hidden","true",1,"mat-mdc-menu-submenu-icon"],["points","0,0 5,5 0,10"]],template:function(e,n){e&1&&(K(bf),j(0),c(1,"span",0),j(2,1),d(),x(3,"div",1),y(4,yf,2,0,":svg:svg",2)),e&2&&(m(3),u("matRippleDisabled",n.disableRipple||n.disabled)("matRippleTrigger",n._getHostElement()),m(),B(n._triggersSubmenu?4:-1))},dependencies:[mt],encapsulation:2,changeDetection:0});let a=i;return a})();var Cf=new H("MatMenuContent");var lr={transformMenu:jt("transformMenu",[pt("void",Y({opacity:0,transform:"scale(0.8)"})),_t("void => enter",ft("120ms cubic-bezier(0, 0, 0.2, 1)",Y({opacity:1,transform:"scale(1)"}))),_t("* => void",ft("100ms 25ms linear",Y({opacity:0})))]),fadeInItems:jt("fadeInItems",[pt("showing",Y({opacity:1})),_t("void => *",[Y({opacity:0}),ft("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},YE=lr.fadeInItems,ZE=lr.transformMenu,kf=0,Df=new H("mat-menu-default-options",{providedIn:"root",factory:Sf});function Sf(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}var Nn=(()=>{let i=class i{get xPosition(){return this._xPosition}set xPosition(t){this._xPosition=t,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(t){this._yPosition=t,this.setPositionClasses()}set panelClass(t){let e=this._previousPanelClass,n=ht({},this._classList);e&&e.length&&e.split(" ").forEach(o=>{n[o]=!1}),this._previousPanelClass=t,t&&t.length&&(t.split(" ").forEach(o=>{n[o]=!0}),this._elementRef.nativeElement.className=""),this._classList=n}get classList(){return this.panelClass}set classList(t){this.panelClass=t}constructor(t,e,n,o){this._elementRef=t,this._changeDetectorRef=o,this._elevationPrefix="mat-elevation-z",this._baseElevation=null,this._directDescendantItems=new qe,this._classList={},this._panelAnimationState="void",this._animationDone=new E,this.closed=new O,this.close=this.closed,this.panelId=`mat-menu-panel-${kf++}`,this._injector=b(yt),this.overlayPanelClass=n.overlayPanelClass||"",this._xPosition=n.xPosition,this._yPosition=n.yPosition,this.backdropClass=n.backdropClass,this.overlapTrigger=n.overlapTrigger,this.hasBackdrop=n.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new Fi(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(Mt(this._directDescendantItems),tt(t=>Dt(...t.map(e=>e._focused)))).subscribe(t=>this._keyManager.updateActiveItem(t)),this._directDescendantItems.changes.subscribe(t=>{let e=this._keyManager;if(this._panelAnimationState==="enter"&&e.activeItem?._hasFocus()){let n=t.toArray(),o=Math.max(0,Math.min(n.length-1,e.activeItemIndex||0));n[o]&&!n[o].disabled?e.setActiveItem(o):e.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusRef?.destroy()}_hovered(){return this._directDescendantItems.changes.pipe(Mt(this._directDescendantItems),tt(e=>Dt(...e.map(n=>n._hovered))))}addItem(t){}removeItem(t){}_handleKeydown(t){let e=t.keyCode,n=this._keyManager;switch(e){case 27:$t(t)||(t.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&this.direction==="ltr"&&this.closed.emit("keydown");break;case 39:this.parentMenu&&this.direction==="rtl"&&this.closed.emit("keydown");break;default:(e===38||e===40)&&n.setFocusOrigin("keyboard"),n.onKeydown(t);return}t.stopPropagation()}focusFirstItem(t="program"){this._firstItemFocusRef?.destroy(),this._firstItemFocusRef=ae(()=>{let e=null;if(this._directDescendantItems.length&&(e=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!e||!e.contains(document.activeElement)){let n=this._keyManager;n.setFocusOrigin(t).setFirstItemActive(),!n.activeItem&&e&&e.focus()}},{injector:this._injector})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(t){if(this._baseElevation===null){let h=(typeof getComputedStyle=="function"?getComputedStyle(this._elementRef.nativeElement):null)?.getPropertyValue("--mat-menu-base-elevation-level")||"8";this._baseElevation=parseInt(h)}let e=Math.min(this._baseElevation+t,24),n=`${this._elevationPrefix}${e}`,o=Object.keys(this._classList).find(s=>s.startsWith(this._elevationPrefix));if(!o||o===this._previousElevation){let s=ht({},this._classList);this._previousElevation&&(s[this._previousElevation]=!1),s[n]=!0,this._previousElevation=n,this._classList=s}}setPositionClasses(t=this.xPosition,e=this.yPosition){this._classList=ve(ht({},this._classList),{"mat-menu-before":t==="before","mat-menu-after":t==="after","mat-menu-above":e==="above","mat-menu-below":e==="below"}),this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(t){this._animationDone.next(t),this._isAnimating=!1}_onAnimationStart(t){this._isAnimating=!0,t.toState==="enter"&&this._keyManager.activeItemIndex===0&&(t.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(Mt(this._allItems)).subscribe(t=>{this._directDescendantItems.reset(t.filter(e=>e._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}};i.\u0275fac=function(e){return new(e||i)(l(z),l(ct),l(Df),l(q))},i.\u0275cmp=w({type:i,selectors:[["mat-menu"]],contentQueries:function(e,n,o){if(e&1&&(J(o,Cf,5),J(o,Fs,5),J(o,Fs,4)),e&2){let s;A(s=R())&&(n.lazyContent=s.first),A(s=R())&&(n._allItems=s),A(s=R())&&(n.items=s)}},viewQuery:function(e,n){if(e&1&&it(wt,5),e&2){let o;A(o=R())&&(n.templateRef=o.first)}},hostVars:3,hostBindings:function(e,n){e&2&&T("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},inputs:{backdropClass:"backdropClass",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:[2,"overlapTrigger","overlapTrigger",M],hasBackdrop:[2,"hasBackdrop","hasBackdrop",t=>t==null?null:M(t)],panelClass:[0,"class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],standalone:!0,features:[X([{provide:zs,useExisting:i}]),Q,S],ngContentSelectors:wf,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mat-mdc-elevation-specific",3,"keydown","click","id"],[1,"mat-mdc-menu-content"]],template:function(e,n){e&1&&(K(),y(0,xf,3,7,"ng-template"))},styles:['mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;outline:0}.mat-mdc-menu-content,.mat-mdc-menu-content .mat-mdc-menu-item .mat-mdc-menu-item-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;flex:1;white-space:normal;font-family:var(--mat-menu-item-label-text-font);line-height:var(--mat-menu-item-label-text-line-height);font-size:var(--mat-menu-item-label-text-size);letter-spacing:var(--mat-menu-item-label-text-tracking);font-weight:var(--mat-menu-item-label-text-weight)}.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;box-sizing:border-box;outline:0;border-radius:var(--mat-menu-container-shape);background-color:var(--mat-menu-container-color);will-change:transform,opacity}.mat-mdc-menu-panel.ng-animating{pointer-events:none}.mat-mdc-menu-panel.ng-animating:has(.mat-mdc-menu-content:empty){display:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-mdc-menu-panel .mat-divider{color:var(--mat-menu-divider-color);margin-bottom:var(--mat-menu-divider-bottom-spacing);margin-top:var(--mat-menu-divider-top-spacing)}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:var(--mat-menu-item-leading-spacing);padding-right:var(--mat-menu-item-trailing-spacing);-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;min-height:48px}[dir=rtl] .mat-mdc-menu-item{padding-right:var(--mat-menu-item-leading-spacing);padding-left:var(--mat-menu-item-trailing-spacing)}.mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-left:var(--mat-menu-item-with-icon-leading-spacing);padding-right:var(--mat-menu-item-with-icon-trailing-spacing)}[dir=rtl] .mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-right:var(--mat-menu-item-with-icon-leading-spacing);padding-left:var(--mat-menu-item-with-icon-trailing-spacing)}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item,.mat-mdc-menu-item:visited,.mat-mdc-menu-item:link{color:var(--mat-menu-item-label-text-color)}.mat-mdc-menu-item .mat-icon-no-color,.mat-mdc-menu-item .mat-mdc-menu-submenu-icon{color:var(--mat-menu-item-icon-color)}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item:focus{outline:0}.mat-mdc-menu-item .mat-icon{flex-shrink:0;margin-right:var(--mat-menu-item-spacing);height:var(--mat-menu-item-icon-size);width:var(--mat-menu-item-icon-size)}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:var(--mat-menu-item-spacing)}.mat-mdc-menu-item:not([disabled]):hover{background-color:var(--mat-menu-item-hover-state-layer-color)}.mat-mdc-menu-item:not([disabled]).cdk-program-focused,.mat-mdc-menu-item:not([disabled]).cdk-keyboard-focused,.mat-mdc-menu-item:not([disabled]).mat-mdc-menu-item-highlighted{background-color:var(--mat-menu-item-focus-state-layer-color)}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.mat-mdc-menu-submenu-icon{width:var(--mat-menu-item-icon-size);height:10px;fill:currentColor;padding-left:var(--mat-menu-item-spacing)}[dir=rtl] .mat-mdc-menu-submenu-icon{padding-right:var(--mat-menu-item-spacing);padding-left:0}[dir=rtl] .mat-mdc-menu-submenu-icon polygon{transform:scaleX(-1)}.cdk-high-contrast-active .mat-mdc-menu-submenu-icon{fill:CanvasText}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[lr.transformMenu,lr.fadeInItems]},changeDetection:0});let a=i;return a})(),em=new H("mat-menu-scroll-strategy",{providedIn:"root",factory:()=>{let a=b(Tt);return()=>a.scrollStrategies.reposition()}});function If(a){return()=>a.scrollStrategies.reposition()}var Mf={provide:em,deps:[Tt],useFactory:If},tm=Ee({passive:!0});var im=(()=>{let i=class i{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(t){this.menu=t}get menu(){return this._menu}set menu(t){t!==this._menu&&(this._menu=t,this._menuCloseSubscription.unsubscribe(),t&&(this._parentMaterialMenu,this._menuCloseSubscription=t.close.subscribe(e=>{this._destroyMenu(e),(e==="click"||e==="tab")&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(e)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(t,e,n,o,s,h,g,v,D){this._overlay=t,this._element=e,this._viewContainerRef=n,this._menuItemInstance=h,this._dir=g,this._focusMonitor=v,this._ngZone=D,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=Rt.EMPTY,this._hoverSubscription=Rt.EMPTY,this._menuCloseSubscription=Rt.EMPTY,this._changeDetectorRef=b(q),this._handleTouchStart=G=>{ja(G)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new O,this.onMenuOpen=this.menuOpened,this.menuClosed=new O,this.onMenuClose=this.menuClosed,this._scrollStrategy=o,this._parentMaterialMenu=s instanceof Nn?s:void 0,e.nativeElement.addEventListener("touchstart",this._handleTouchStart,tm)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,tm),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this.menu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){let t=this.menu;if(this._menuOpen||!t)return;let e=this._createOverlay(t),n=e.getConfig(),o=n.positionStrategy;this._setPosition(t,o),n.hasBackdrop=t.hasBackdrop==null?!this.triggersSubmenu():t.hasBackdrop,e.attach(this._getPortal(t)),t.lazyContent&&t.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(t),t instanceof Nn&&(t._startAnimation(),t._directDescendantItems.changes.pipe(st(t.close)).subscribe(()=>{o.withLockedPosition(!1).reapplyLastPosition(),o.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(t,e){this._focusMonitor&&t?this._focusMonitor.focusVia(this._element,t,e):this._element.nativeElement.focus(e)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(t){if(!this._overlayRef||!this.menuOpen)return;let e=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&(t==="keydown"||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,e instanceof Nn?(e._resetAnimation(),e.lazyContent?e._animationDone.pipe(gt(n=>n.toState==="void"),rt(1),st(e.lazyContent._attached)).subscribe({next:()=>e.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),e?.lazyContent?.detach())}_initMenu(t){t.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,t.direction=this.dir,this._setMenuElevation(t),t.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(t){if(t.setElevation){let e=0,n=t.parentMenu;for(;n;)e++,n=n.parentMenu;t.setElevation(e)}}_setIsMenuOpen(t){t!==this._menuOpen&&(this._menuOpen=t,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(t),this._changeDetectorRef.markForCheck())}_createOverlay(t){if(!this._overlayRef){let e=this._getOverlayConfig(t);this._subscribeToPositions(t,e.positionStrategy),this._overlayRef=this._overlay.create(e),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(t){return new yi({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:t.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:t.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(t,e){t.setPositionClasses&&e.positionChanges.subscribe(n=>{let o=n.connectionPair.overlayX==="start"?"after":"before",s=n.connectionPair.overlayY==="top"?"below":"above";this._ngZone?this._ngZone.run(()=>t.setPositionClasses(o,s)):t.setPositionClasses(o,s)})}_setPosition(t,e){let[n,o]=t.xPosition==="before"?["end","start"]:["start","end"],[s,h]=t.yPosition==="above"?["bottom","top"]:["top","bottom"],[g,v]=[s,h],[D,G]=[n,o],lt=0;if(this.triggersSubmenu()){if(G=n=t.xPosition==="before"?"start":"end",o=D=n==="end"?"start":"end",this._parentMaterialMenu){if(this._parentInnerPadding==null){let kt=this._parentMaterialMenu.items.first;this._parentInnerPadding=kt?kt._getHostElement().offsetTop:0}lt=s==="bottom"?this._parentInnerPadding:-this._parentInnerPadding}}else t.overlapTrigger||(g=s==="top"?"bottom":"top",v=h==="top"?"bottom":"top");e.withPositions([{originX:n,originY:g,overlayX:D,overlayY:s,offsetY:lt},{originX:o,originY:g,overlayX:G,overlayY:s,offsetY:lt},{originX:n,originY:v,overlayX:D,overlayY:h,offsetY:-lt},{originX:o,originY:v,overlayX:G,overlayY:h,offsetY:-lt}])}_menuClosingActions(){let t=this._overlayRef.backdropClick(),e=this._overlayRef.detachments(),n=this._parentMaterialMenu?this._parentMaterialMenu.closed:at(),o=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(gt(s=>s!==this._menuItemInstance),gt(()=>this._menuOpen)):at();return Dt(t,n,o,e)}_handleMousedown(t){Va(t)||(this._openedBy=t.button===0?"mouse":void 0,this.triggersSubmenu()&&t.preventDefault())}_handleKeydown(t){let e=t.keyCode;(e===13||e===32)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(e===39&&this.dir==="ltr"||e===37&&this.dir==="rtl")&&(this._openedBy="keyboard",this.openMenu())}_handleClick(t){this.triggersSubmenu()?(t.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(gt(t=>t===this._menuItemInstance&&!t.disabled),Bn(0,jn)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof Nn&&this.menu._isAnimating?this.menu._animationDone.pipe(rt(1),Bn(0,jn),st(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(t){return(!this._portal||this._portal.templateRef!==t.templateRef)&&(this._portal=new Re(t.templateRef,this._viewContainerRef)),this._portal}};i.\u0275fac=function(e){return new(e||i)(l(Tt),l(z),l(qt),l(em),l(zs,8),l(Fs,10),l(Nt,8),l(Ft),l(ct))},i.\u0275dir=I({type:i,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],hostVars:3,hostBindings:function(e,n){e&1&&_("click",function(s){return n._handleClick(s)})("mousedown",function(s){return n._handleMousedown(s)})("keydown",function(s){return n._handleKeydown(s)}),e&2&&T("aria-haspopup",n.menu?"menu":null)("aria-expanded",n.menuOpen)("aria-controls",n.menuOpen?n.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:[0,"mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:[0,"matMenuTriggerFor","menu"],menuData:[0,"matMenuTriggerData","menuData"],restoreFocus:[0,"matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"],standalone:!0});let a=i;return a})(),mr=(()=>{let i=class i{};i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=N({type:i}),i.\u0275inj=L({providers:[Mf],imports:[Pt,Ht,V,fe,Ae,V]});let a=i;return a})();var nm=(()=>{let i=class i{};i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=N({type:i}),i.\u0275inj=L({imports:[V]});let a=i;return a})();var am=(()=>{let i=class i{};i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=N({type:i}),i.\u0275inj=L({imports:[V,Ae,Ae,V]});let a=i;return a})();var om=(()=>{let i=class i{};i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=N({type:i}),i.\u0275inj=L({imports:[V,Ht]});let a=i;return a})();function Tf(a,i){if(a&1){let r=F();c(0,"div",1)(1,"button",2),_("click",function(){C(r);let e=f();return k(e.action())}),p(2),d()()}if(a&2){let r=f();m(2),dt(" ",r.data.action," ")}}var Af=["label"];function Rf(a,i){}var Of=Math.pow(2,31)-1,ha=class{constructor(i,r){this._overlayRef=r,this._afterDismissed=new E,this._afterOpened=new E,this._onAction=new E,this._dismissedByAction=!1,this.containerInstance=i,i._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(i){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(i,Of))}_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}},rm=new H("MatSnackBarData"),Vn=class{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}},Pf=(()=>{let i=class i{};i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=I({type:i,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"],standalone:!0});let a=i;return a})(),Ff=(()=>{let i=class i{};i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=I({type:i,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"],standalone:!0});let a=i;return a})(),zf=(()=>{let i=class i{};i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=I({type:i,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"],standalone:!0});let a=i;return a})(),sm=(()=>{let i=class i{constructor(t,e){this.snackBarRef=t,this.data=e}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}};i.\u0275fac=function(e){return new(e||i)(l(ha),l(rm))},i.\u0275cmp=w({type:i,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],standalone:!0,features:[S],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(e,n){e&1&&(c(0,"div",0),p(1),d(),y(2,Tf,3,1,"div",1)),e&2&&(m(),dt(" ",n.data.message,`
`),m(),B(n.hasAction?2:-1))},dependencies:[Jn,Pf,Ff,zf],styles:[".mat-mdc-simple-snack-bar{display:flex}"],encapsulation:2,changeDetection:0});let a=i;return a})(),Lf={snackBarState:jt("state",[pt("void, hidden",Y({transform:"scale(0.8)",opacity:0})),pt("visible",Y({transform:"scale(1)",opacity:1})),_t("* => visible",ft("150ms cubic-bezier(0, 0, 0.2, 1)")),_t("* => void, * => hidden",ft("75ms cubic-bezier(0.4, 0.0, 1, 1)",Y({opacity:0})))])},Nf=0,Vf=(()=>{let i=class i extends Ga{constructor(t,e,n,o,s){super(),this._ngZone=t,this._elementRef=e,this._changeDetectorRef=n,this._platform=o,this.snackBarConfig=s,this._document=b(St),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-${Nf++}`,this.attachDomPortal=h=>{this._assertNotAttached();let g=this._portalOutlet.attachDomPortal(h);return this._afterPortalAttached(),g},s.politeness==="assertive"&&!s.announcementMessage?this._live="assertive":s.politeness==="off"?this._live="off":this._live="polite",this._platform.FIREFOX&&(this._live==="polite"&&(this._role="status"),this._live==="assertive"&&(this._role="alert"))}attachComponentPortal(t){this._assertNotAttached();let e=this._portalOutlet.attachComponentPortal(t);return this._afterPortalAttached(),e}attachTemplatePortal(t){this._assertNotAttached();let e=this._portalOutlet.attachTemplatePortal(t);return this._afterPortalAttached(),e}onAnimationEnd(t){let{fromState:e,toState:n}=t;if((n==="void"&&e!=="void"||n==="hidden")&&this._completeExit(),n==="visible"){let o=this._onEnter;this._ngZone.run(()=>{o.next(),o.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.markForCheck(),this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{this._animationState="hidden",this._changeDetectorRef.markForCheck(),this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){queueMicrotask(()=>{this._onExit.next(),this._onExit.complete()})}_afterPortalAttached(){let t=this._elementRef.nativeElement,e=this.snackBarConfig.panelClass;e&&(Array.isArray(e)?e.forEach(s=>t.classList.add(s)):t.classList.add(e)),this._exposeToModals();let n=this._label.nativeElement,o="mdc-snackbar__label";n.classList.toggle(o,!n.querySelector(`.${o}`))}_exposeToModals(){let t=this._liveElementId,e=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let n=0;n<e.length;n++){let o=e[n],s=o.getAttribute("aria-owns");this._trackedModals.add(o),s?s.indexOf(t)===-1&&o.setAttribute("aria-owns",s+" "+t):o.setAttribute("aria-owns",t)}}_clearFromModals(){this._trackedModals.forEach(t=>{let e=t.getAttribute("aria-owns");if(e){let n=e.replace(this._liveElementId,"").trim();n.length>0?t.setAttribute("aria-owns",n):t.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{let t=this._elementRef.nativeElement.querySelector("[aria-hidden]"),e=this._elementRef.nativeElement.querySelector("[aria-live]");if(t&&e){let n=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&t.contains(document.activeElement)&&(n=document.activeElement),t.removeAttribute("aria-hidden"),e.appendChild(t),n?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}};i.\u0275fac=function(e){return new(e||i)(l(ct),l(z),l(q),l(ce),l(Vn))},i.\u0275cmp=w({type:i,selectors:[["mat-snack-bar-container"]],viewQuery:function(e,n){if(e&1&&(it(le,7),it(Af,7)),e&2){let o;A(o=R())&&(n._portalOutlet=o.first),A(o=R())&&(n._label=o.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container"],hostVars:1,hostBindings:function(e,n){e&1&&Ji("@state.done",function(s){return n.onAnimationEnd(s)}),e&2&&Xi("@state",n._animationState)},standalone:!0,features:[Z,S],decls:6,vars:3,consts:[["label",""],[1,"mdc-snackbar__surface","mat-mdc-snackbar-surface"],[1,"mat-mdc-snack-bar-label"],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(e,n){e&1&&(c(0,"div",1)(1,"div",2,0)(3,"div",3),y(4,Rf,0,0,"ng-template",4),d(),x(5,"div"),d()()),e&2&&(m(5),T("aria-live",n._live)("role",n._role)("id",n._liveElementId))},dependencies:[le],styles:[".mat-mdc-snack-bar-container{display:flex;align-items:center;justify-content:center;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);margin:8px}.mat-mdc-snack-bar-handset .mat-mdc-snack-bar-container{width:100vw}.mat-mdc-snackbar-surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;padding-left:0;padding-right:8px}[dir=rtl] .mat-mdc-snackbar-surface{padding-right:0;padding-left:8px}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{min-width:344px;max-width:672px}.mat-mdc-snack-bar-handset .mat-mdc-snackbar-surface{width:100%;min-width:0}.cdk-high-contrast-active .mat-mdc-snackbar-surface{outline:solid 1px}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{color:var(--mdc-snackbar-supporting-text-color);border-radius:var(--mdc-snackbar-container-shape);background-color:var(--mdc-snackbar-container-color)}.mdc-snackbar__label{width:100%;flex-grow:1;box-sizing:border-box;margin:0;padding:14px 8px 14px 16px}[dir=rtl] .mdc-snackbar__label{padding-left:8px;padding-right:16px}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-family:var(--mdc-snackbar-supporting-text-font);font-size:var(--mdc-snackbar-supporting-text-size);font-weight:var(--mdc-snackbar-supporting-text-weight);line-height:var(--mdc-snackbar-supporting-text-line-height)}.mat-mdc-snack-bar-actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){color:var(--mat-snack-bar-button-color);--mat-text-button-state-layer-color:currentColor;--mat-text-button-ripple-color:currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{opacity:.1}"],encapsulation:2,data:{animation:[Lf.snackBarState]}});let a=i;return a})();function jf(){return new Vn}var Bf=new H("mat-snack-bar-default-options",{providedIn:"root",factory:jf}),Hf=(()=>{let i=class i{get _openedSnackBarRef(){let t=this._parentSnackBar;return t?t._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(t){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=t:this._snackBarRefAtThisLevel=t}constructor(t,e,n,o,s,h){this._overlay=t,this._live=e,this._injector=n,this._breakpointObserver=o,this._parentSnackBar=s,this._defaultConfig=h,this._snackBarRefAtThisLevel=null,this.simpleSnackBarComponent=sm,this.snackBarContainerComponent=Vf,this.handsetCssClass="mat-mdc-snack-bar-handset"}openFromComponent(t,e){return this._attach(t,e)}openFromTemplate(t,e){return this._attach(t,e)}open(t,e="",n){let o=ht(ht({},this._defaultConfig),n);return o.data={message:t,action:e},o.announcementMessage===t&&(o.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,o)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(t,e){let n=e&&e.viewContainerRef&&e.viewContainerRef.injector,o=yt.create({parent:n||this._injector,providers:[{provide:Vn,useValue:e}]}),s=new li(this.snackBarContainerComponent,e.viewContainerRef,o),h=t.attach(s);return h.instance.snackBarConfig=e,h.instance}_attach(t,e){let n=ht(ht(ht({},new Vn),this._defaultConfig),e),o=this._createOverlay(n),s=this._attachSnackBarContainer(o,n),h=new ha(s,o);if(t instanceof wt){let g=new Re(t,null,{$implicit:n.data,snackBarRef:h});h.instance=s.attachTemplatePortal(g)}else{let g=this._createInjector(n,h),v=new li(t,void 0,g),D=s.attachComponentPortal(v);h.instance=D.instance}return this._breakpointObserver.observe(Qe.HandsetPortrait).pipe(st(o.detachments())).subscribe(g=>{o.overlayElement.classList.toggle(this.handsetCssClass,g.matches)}),n.announcementMessage&&s._onAnnounce.subscribe(()=>{this._live.announce(n.announcementMessage,n.politeness)}),this._animateSnackBar(h,n),this._openedSnackBarRef=h,this._openedSnackBarRef}_animateSnackBar(t,e){t.afterDismissed().subscribe(()=>{this._openedSnackBarRef==t&&(this._openedSnackBarRef=null),e.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{t.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):t.containerInstance.enter(),e.duration&&e.duration>0&&t.afterOpened().subscribe(()=>t._dismissAfter(e.duration))}_createOverlay(t){let e=new yi;e.direction=t.direction;let n=this._overlay.position().global(),o=t.direction==="rtl",s=t.horizontalPosition==="left"||t.horizontalPosition==="start"&&!o||t.horizontalPosition==="end"&&o,h=!s&&t.horizontalPosition!=="center";return s?n.left("0"):h?n.right("0"):n.centerHorizontally(),t.verticalPosition==="top"?n.top("0"):n.bottom("0"),e.positionStrategy=n,this._overlay.create(e)}_createInjector(t,e){let n=t&&t.viewContainerRef&&t.viewContainerRef.injector;return yt.create({parent:n||this._injector,providers:[{provide:ha,useValue:e},{provide:rm,useValue:t.data}]})}};i.\u0275fac=function(e){return new(e||i)($(Tt),$(mc),$(yt),$(bn),$(i,12),$(Bf))},i.\u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"});let a=i;return a})();var cm=(()=>{let i=class i{};i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=N({type:i}),i.\u0275inj=L({providers:[Hf],imports:[fe,me,$i,V,sm,V]});let a=i;return a})();function Uf(a,i){if(a&1&&Et(0,2),a&2){let r=f();u("ngTemplateOutlet",r.iconOverrides[r.state])("ngTemplateOutletContext",r._getIconContext())}}function qf(a,i){if(a&1&&(c(0,"span",7),p(1),d()),a&2){let r=f(2);m(),nt(r._getDefaultTextForState(r.state))}}function $f(a,i){if(a&1&&(c(0,"span",8),p(1),d()),a&2){let r=f(3);m(),nt(r._intl.completedLabel)}}function Gf(a,i){if(a&1&&(c(0,"span",8),p(1),d()),a&2){let r=f(3);m(),nt(r._intl.editableLabel)}}function Wf(a,i){if(a&1&&(y(0,$f,2,1,"span",8)(1,Gf,2,1,"span",8),c(2,"mat-icon",7),p(3),d()),a&2){let r=f(2);B(r.state==="done"?0:r.state==="edit"?1:-1),m(3),nt(r._getDefaultTextForState(r.state))}}function Qf(a,i){if(a&1&&y(0,qf,2,1,"span",7)(1,Wf,4,2,"mat-icon",7),a&2){let r,t=f();B((r=t.state)==="number"?0:1)}}function Yf(a,i){a&1&&(c(0,"div",4),Et(1,9),d()),a&2&&(m(),u("ngTemplateOutlet",i.template))}function Zf(a,i){if(a&1&&(c(0,"div",4),p(1),d()),a&2){let r=f();m(),nt(r.label)}}function Kf(a,i){if(a&1&&(c(0,"div",5),p(1),d()),a&2){let r=f();m(),nt(r._intl.optionalLabel)}}function Xf(a,i){if(a&1&&(c(0,"div",6),p(1),d()),a&2){let r=f();m(),nt(r.errorMessage)}}var lm=["*"];function Jf(a,i){}function t_(a,i){if(a&1&&(j(0),y(1,Jf,0,0,"ng-template",0)),a&2){let r=f();m(),u("cdkPortalOutlet",r._portal)}}var mm=(a,i)=>({step:a,i}),hm=a=>({animationDuration:a}),pm=(a,i)=>({value:a,params:i});function e_(a,i){a&1&&j(0)}function i_(a,i){a&1&&x(0,"div",6)}function n_(a,i){if(a&1&&(Et(0,5),y(1,i_,1,0,"div",6)),a&2){let r=i.$implicit,t=i.$index,e=i.$count;f(2);let n=Bt(4);u("ngTemplateOutlet",n)("ngTemplateOutletContext",hn(3,mm,r,t)),m(),B(t!==e-1?1:-1)}}function a_(a,i){if(a&1){let r=F();c(0,"div",7),_("@horizontalStepTransition.done",function(e){C(r);let n=f(2);return k(n._animationDone.next(e))}),Et(1,8),d()}if(a&2){let r=i.$implicit,t=i.$index,e=f(2);U("mat-horizontal-stepper-content-inactive",e.selectedIndex!==t),u("@horizontalStepTransition",hn(8,pm,e._getAnimationDirection(t),ze(6,hm,e._getAnimationDuration())))("id",e._getStepContentId(t)),T("aria-labelledby",e._getStepLabelId(t)),m(),u("ngTemplateOutlet",r.content)}}function o_(a,i){if(a&1&&(c(0,"div",1)(1,"div",2),Jt(2,n_,2,6,null,null,_i),d(),c(4,"div",3),Jt(5,a_,2,11,"div",4,_i),d()()),a&2){let r=f();m(2),te(r.steps),m(3),te(r.steps)}}function r_(a,i){if(a&1){let r=F();c(0,"div",9),Et(1,5),c(2,"div",10)(3,"div",11),_("@verticalStepTransition.done",function(e){C(r);let n=f(2);return k(n._animationDone.next(e))}),c(4,"div",12),Et(5,8),d()()()()}if(a&2){let r=i.$implicit,t=i.$index,e=i.$count,n=f(2),o=Bt(4);m(),u("ngTemplateOutlet",o)("ngTemplateOutletContext",hn(10,mm,r,t)),m(),U("mat-stepper-vertical-line",t!==e-1),m(),U("mat-vertical-stepper-content-inactive",n.selectedIndex!==t),u("@verticalStepTransition",hn(15,pm,n._getAnimationDirection(t),ze(13,hm,n._getAnimationDuration())))("id",n._getStepContentId(t)),T("aria-labelledby",n._getStepLabelId(t)),m(2),u("ngTemplateOutlet",r.content)}}function s_(a,i){if(a&1&&Jt(0,r_,6,18,"div",9,_i),a&2){let r=f();te(r.steps)}}function c_(a,i){if(a&1){let r=F();c(0,"mat-step-header",13),_("click",function(){let e=C(r).step;return k(e.select())})("keydown",function(e){C(r);let n=f();return k(n._onKeydown(e))}),d()}if(a&2){let r=i.step,t=i.i,e=f();U("mat-horizontal-stepper-header",e.orientation==="horizontal")("mat-vertical-stepper-header",e.orientation==="vertical"),u("tabIndex",e._getFocusIndex()===t?0:-1)("id",e._getStepLabelId(t))("index",t)("state",e._getIndicatorType(t,r.state))("label",r.stepLabel||r.label)("selected",e.selectedIndex===t)("active",e._stepIsNavigable(t,r))("optional",r.optional)("errorMessage",r.errorMessage)("iconOverrides",e._iconOverrides)("disableRipple",e.disableRipple||!e._stepIsNavigable(t,r))("color",r.color||e.color),T("aria-posinset",t+1)("aria-setsize",e.steps.length)("aria-controls",e._getStepContentId(t))("aria-selected",e.selectedIndex==t)("aria-label",r.ariaLabel||null)("aria-labelledby",!r.ariaLabel&&r.ariaLabelledby?r.ariaLabelledby:null)("aria-disabled",e._stepIsNavigable(t,r)?null:!0)}}var Ls=(()=>{let i=class i extends vs{};i.\u0275fac=(()=>{let t;return function(n){return(t||(t=Ot(i)))(n||i)}})(),i.\u0275dir=I({type:i,selectors:[["","matStepLabel",""]],standalone:!0,features:[Z]});let a=i;return a})(),hr=(()=>{let i=class i{constructor(){this.changes=new E,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"}};i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"});let a=i;return a})();function d_(a){return a||new hr}var l_={provide:hr,deps:[[new gi,new fi,hr]],useFactory:d_},Ns=(()=>{let i=class i extends bs{constructor(t,e,n,o){super(n),this._intl=t,this._focusMonitor=e,this._intlSubscription=t.changes.subscribe(()=>o.markForCheck())}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)}focus(t,e){t?this._focusMonitor.focusVia(this._elementRef,t,e):this._elementRef.nativeElement.focus(e)}_stringLabel(){return this.label instanceof Ls?null:this.label}_templateLabel(){return this.label instanceof Ls?this.label:null}_getHostElement(){return this._elementRef.nativeElement}_getIconContext(){return{index:this.index,active:this.active,optional:this.optional}}_getDefaultTextForState(t){return t=="number"?`${this.index+1}`:t=="edit"?"create":t=="error"?"warning":t}};i.\u0275fac=function(e){return new(e||i)(l(hr),l(Ft),l(z),l(q))},i.\u0275cmp=w({type:i,selectors:[["mat-step-header"]],hostAttrs:["role","tab",1,"mat-step-header"],hostVars:2,hostBindings:function(e,n){e&2&&zt("mat-"+(n.color||"primary"))},inputs:{state:"state",label:"label",errorMessage:"errorMessage",iconOverrides:"iconOverrides",index:"index",selected:"selected",active:"active",optional:"optional",disableRipple:"disableRipple",color:"color"},standalone:!0,features:[Z,S],decls:10,vars:17,consts:[["matRipple","",1,"mat-step-header-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-step-icon-content"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"mat-step-label"],[1,"mat-step-text-label"],[1,"mat-step-optional"],[1,"mat-step-sub-label-error"],["aria-hidden","true"],[1,"cdk-visually-hidden"],[3,"ngTemplateOutlet"]],template:function(e,n){if(e&1&&(x(0,"div",0),c(1,"div")(2,"div",1),y(3,Uf,1,2,"ng-container",2)(4,Qf,2,1),d()(),c(5,"div",3),y(6,Yf,2,1,"div",4)(7,Zf,2,1,"div",4)(8,Kf,2,1,"div",5)(9,Xf,2,1,"div",6),d()),e&2){let o;u("matRippleTrigger",n._getHostElement())("matRippleDisabled",n.disableRipple),m(),Ca("mat-step-icon-state-",n.state," mat-step-icon"),U("mat-step-icon-selected",n.selected),m(2),B(n.iconOverrides&&n.iconOverrides[n.state]?3:4),m(2),U("mat-step-label-active",n.active)("mat-step-label-selected",n.selected)("mat-step-label-error",n.state=="error"),m(),B((o=n._templateLabel())?6:n._stringLabel()?7:-1,o),m(2),B(n.optional&&n.state!="error"?8:-1),m(),B(n.state==="error"?9:-1)}},dependencies:[mt,un,Gt],styles:['.mat-step-header{overflow:hidden;outline:none;cursor:pointer;position:relative;box-sizing:content-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-step-header:focus .mat-focus-indicator::before{content:""}.mat-step-header:hover[aria-disabled=true]{cursor:default}.mat-step-header:hover:not([aria-disabled]),.mat-step-header:hover[aria-disabled=false]{background-color:var(--mat-stepper-header-hover-state-layer-color);border-radius:var(--mat-stepper-header-hover-state-layer-shape)}.mat-step-header.cdk-keyboard-focused,.mat-step-header.cdk-program-focused{background-color:var(--mat-stepper-header-focus-state-layer-color);border-radius:var(--mat-stepper-header-focus-state-layer-shape)}@media(hover: none){.mat-step-header:hover{background:none}}.cdk-high-contrast-active .mat-step-header{outline:solid 1px}.cdk-high-contrast-active .mat-step-header[aria-selected=true] .mat-step-label{text-decoration:underline}.cdk-high-contrast-active .mat-step-header[aria-disabled=true]{outline-color:GrayText}.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-label,.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-icon,.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-optional{color:GrayText}.mat-step-optional{font-size:12px;color:var(--mat-stepper-header-optional-label-text-color)}.mat-step-sub-label-error{font-size:12px;font-weight:normal}.mat-step-icon{border-radius:50%;height:24px;width:24px;flex-shrink:0;position:relative;color:var(--mat-stepper-header-icon-foreground-color);background-color:var(--mat-stepper-header-icon-background-color)}.mat-step-icon-content{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex}.mat-step-icon .mat-icon{font-size:16px;height:16px;width:16px}.mat-step-icon-state-error{background-color:var(--mat-stepper-header-error-state-icon-background-color);color:var(--mat-stepper-header-error-state-icon-foreground-color)}.mat-step-icon-state-error .mat-icon{font-size:24px;height:24px;width:24px}.mat-step-label{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:50px;vertical-align:middle;font-family:var(--mat-stepper-header-label-text-font);font-size:var(--mat-stepper-header-label-text-size);font-weight:var(--mat-stepper-header-label-text-weight);color:var(--mat-stepper-header-label-text-color)}.mat-step-label.mat-step-label-active{color:var(--mat-stepper-header-selected-state-label-text-color)}.mat-step-label.mat-step-label-error{color:var(--mat-stepper-header-error-state-label-text-color);font-size:var(--mat-stepper-header-error-state-label-text-size)}.mat-step-label.mat-step-label-selected{font-size:var(--mat-stepper-header-selected-state-label-text-size);font-weight:var(--mat-stepper-header-selected-state-label-text-weight)}.mat-step-text-label{text-overflow:ellipsis;overflow:hidden}.mat-step-header .mat-step-header-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-step-icon-selected{background-color:var(--mat-stepper-header-selected-state-icon-background-color);color:var(--mat-stepper-header-selected-state-icon-foreground-color)}.mat-step-icon-state-done{background-color:var(--mat-stepper-header-done-state-icon-background-color);color:var(--mat-stepper-header-done-state-icon-foreground-color)}.mat-step-icon-state-edit{background-color:var(--mat-stepper-header-edit-state-icon-background-color);color:var(--mat-stepper-header-edit-state-icon-foreground-color)}'],encapsulation:2,changeDetection:0});let a=i;return a})(),um="500ms",gm="225ms",dm={horizontalStepTransition:jt("horizontalStepTransition",[pt("previous",Y({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),pt("current",Y({transform:"none",visibility:"inherit"})),pt("next",Y({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),_t("* => *",Ei([ft("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"),Ri("@*",Ai(),{optional:!0})]),{params:{animationDuration:um}})]),verticalStepTransition:jt("verticalStepTransition",[pt("previous",Y({height:"0px",visibility:"hidden"})),pt("next",Y({height:"0px",visibility:"hidden"})),pt("current",Y({height:"*",visibility:"inherit"})),_t("* <=> current",Ei([ft("{{animationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)"),Ri("@*",Ai(),{optional:!0})]),{params:{animationDuration:gm}})])},m_=(()=>{let i=class i{constructor(t){this.templateRef=t}};i.\u0275fac=function(e){return new(e||i)(l(wt))},i.\u0275dir=I({type:i,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:[0,"matStepperIcon","name"]},standalone:!0});let a=i;return a})(),h_=(()=>{let i=class i{constructor(t){this._template=t}};i.\u0275fac=function(e){return new(e||i)(l(wt))},i.\u0275dir=I({type:i,selectors:[["ng-template","matStepContent",""]],standalone:!0});let a=i;return a})(),p_=(()=>{let i=class i extends er{constructor(t,e,n,o){super(t,o),this._errorStateMatcher=e,this._viewContainerRef=n,this._isSelected=Rt.EMPTY,this.stepLabel=void 0}ngAfterContentInit(){this._isSelected=this._stepper.steps.changes.pipe(tt(()=>this._stepper.selectionChange.pipe(ut(t=>t.selectedStep===this),Mt(this._stepper.selected===this)))).subscribe(t=>{t&&this._lazyContent&&!this._portal&&(this._portal=new Re(this._lazyContent._template,this._viewContainerRef))})}ngOnDestroy(){this._isSelected.unsubscribe()}isErrorState(t,e){let n=this._errorStateMatcher.isErrorState(t,e),o=!!(t&&t.invalid&&this.interacted);return n||o}};i.\u0275fac=function(e){return new(e||i)(l(ye(()=>fm)),l(di,4),l(qt),l(ys,8))},i.\u0275cmp=w({type:i,selectors:[["mat-step"]],contentQueries:function(e,n,o){if(e&1&&(J(o,Ls,5),J(o,h_,5)),e&2){let s;A(s=R())&&(n.stepLabel=s.first),A(s=R())&&(n._lazyContent=s.first)}},hostAttrs:["hidden",""],inputs:{color:"color"},exportAs:["matStep"],standalone:!0,features:[X([{provide:di,useExisting:i},{provide:er,useExisting:i}]),Z,S],ngContentSelectors:lm,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(e,n){e&1&&(K(),y(0,t_,2,1,"ng-template"))},dependencies:[le],encapsulation:2,changeDetection:0});let a=i;return a})(),fm=(()=>{let i=class i extends ir{get animationDuration(){return this._animationDuration}set animationDuration(t){this._animationDuration=/^\d+$/.test(t)?t+"ms":t}constructor(t,e,n){super(t,e,n),this._stepHeader=void 0,this._steps=void 0,this.steps=new qe,this.animationDone=new O,this.labelPosition="end",this.headerPosition="top",this._iconOverrides={},this._animationDone=new E,this._animationDuration="",this._isServer=!b(ce).isBrowser;let o=n.nativeElement.nodeName.toLowerCase();this.orientation=o==="mat-vertical-stepper"?"vertical":"horizontal"}ngAfterContentInit(){super.ngAfterContentInit(),this._icons.forEach(({name:t,templateRef:e})=>this._iconOverrides[t]=e),this.steps.changes.pipe(st(this._destroyed)).subscribe(()=>{this._stateChanged()}),this._animationDone.pipe(va((t,e)=>t.fromState===e.fromState&&t.toState===e.toState),st(this._destroyed)).subscribe(t=>{t.toState==="current"&&this.animationDone.emit()})}_stepIsNavigable(t,e){return e.completed||this.selectedIndex===t||!this.linear}_getAnimationDuration(){return this.animationDuration?this.animationDuration:this.orientation==="horizontal"?um:gm}};i.\u0275fac=function(e){return new(e||i)(l(Nt,8),l(q),l(z))},i.\u0275cmp=w({type:i,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(e,n,o){if(e&1&&(J(o,p_,5),J(o,m_,5)),e&2){let s;A(s=R())&&(n._steps=s),A(s=R())&&(n._icons=s)}},viewQuery:function(e,n){if(e&1&&it(Ns,5),e&2){let o;A(o=R())&&(n._stepHeader=o)}},hostAttrs:["role","tablist"],hostVars:11,hostBindings:function(e,n){e&2&&(T("aria-orientation",n.orientation),U("mat-stepper-horizontal",n.orientation==="horizontal")("mat-stepper-vertical",n.orientation==="vertical")("mat-stepper-label-position-end",n.orientation==="horizontal"&&n.labelPosition=="end")("mat-stepper-label-position-bottom",n.orientation==="horizontal"&&n.labelPosition=="bottom")("mat-stepper-header-position-bottom",n.headerPosition==="bottom"))},inputs:{disableRipple:"disableRipple",color:"color",labelPosition:"labelPosition",headerPosition:"headerPosition",animationDuration:"animationDuration"},outputs:{animationDone:"animationDone"},exportAs:["matStepper","matVerticalStepper","matHorizontalStepper"],standalone:!0,features:[X([{provide:ir,useExisting:i}]),Z,S],ngContentSelectors:lm,decls:5,vars:2,consts:[["stepTemplate",""],[1,"mat-horizontal-stepper-wrapper"],[1,"mat-horizontal-stepper-header-container"],[1,"mat-horizontal-content-container"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id","mat-horizontal-stepper-content-inactive"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"mat-stepper-horizontal-line"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id"],[3,"ngTemplateOutlet"],[1,"mat-step"],[1,"mat-vertical-content-container"],["role","tabpanel",1,"mat-vertical-stepper-content",3,"id"],[1,"mat-vertical-content"],[3,"click","keydown","tabIndex","id","index","state","label","selected","active","optional","errorMessage","iconOverrides","disableRipple","color"]],template:function(e,n){if(e&1&&(K(),y(0,e_,1,0)(1,o_,7,0,"div",1)(2,s_,2,0)(3,c_,1,23,"ng-template",null,0,ei)),e&2){let o;B(n._isServer?0:-1),m(),B((o=n.orientation)==="horizontal"?1:o==="vertical"?2:-1)}},dependencies:[un,Ns],styles:['.mat-stepper-vertical,.mat-stepper-horizontal{display:block;font-family:var(--mat-stepper-container-text-font);background:var(--mat-stepper-container-color)}.mat-horizontal-stepper-header-container{white-space:nowrap;display:flex;align-items:center}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header-container{align-items:flex-start}.mat-stepper-header-position-bottom .mat-horizontal-stepper-header-container{order:1}.mat-stepper-horizontal-line{border-top-width:1px;border-top-style:solid;flex:auto;height:0;margin:0 -16px;min-width:32px;border-top-color:var(--mat-stepper-line-color)}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{margin:0;min-width:0;position:relative;top:calc(calc((var(--mat-stepper-header-height) - 24px) / 2) + 12px)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{border-top-width:1px;border-top-style:solid;content:"";display:inline-block;height:0;position:absolute;width:calc(50% - 20px)}.mat-horizontal-stepper-header{display:flex;height:72px;overflow:hidden;align-items:center;padding:0 24px;height:var(--mat-stepper-header-height)}.mat-horizontal-stepper-header .mat-step-icon{margin-right:8px;flex:none}[dir=rtl] .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:8px}.mat-horizontal-stepper-header::before,.mat-horizontal-stepper-header::after{border-top-color:var(--mat-stepper-line-color)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{padding:calc((var(--mat-stepper-header-height) - 24px) / 2) 24px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header::after{top:calc(calc((var(--mat-stepper-header-height) - 24px) / 2) + 12px)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{box-sizing:border-box;flex-direction:column;height:auto}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{right:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before{left:0}[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:last-child::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:first-child::after{display:none}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-label{padding:16px 0 0 0;text-align:center;width:100%}.mat-vertical-stepper-header{display:flex;align-items:center;height:24px;padding:calc((var(--mat-stepper-header-height) - 24px) / 2) 24px}.mat-vertical-stepper-header .mat-step-icon{margin-right:12px}[dir=rtl] .mat-vertical-stepper-header .mat-step-icon{margin-right:0;margin-left:12px}.mat-horizontal-stepper-wrapper{display:flex;flex-direction:column}.mat-horizontal-stepper-content{outline:0}.mat-horizontal-stepper-content.mat-horizontal-stepper-content-inactive{height:0;overflow:hidden}.mat-horizontal-stepper-content:not(.mat-horizontal-stepper-content-inactive){visibility:inherit !important}.mat-horizontal-content-container{overflow:hidden;padding:0 24px 24px 24px}.cdk-high-contrast-active .mat-horizontal-content-container{outline:solid 1px}.mat-stepper-header-position-bottom .mat-horizontal-content-container{padding:24px 24px 0 24px}.mat-vertical-content-container{margin-left:36px;border:0;position:relative}.cdk-high-contrast-active .mat-vertical-content-container{outline:solid 1px}[dir=rtl] .mat-vertical-content-container{margin-left:0;margin-right:36px}.mat-stepper-vertical-line::before{content:"";position:absolute;left:0;border-left-width:1px;border-left-style:solid;border-left-color:var(--mat-stepper-line-color);top:calc(8px - calc((var(--mat-stepper-header-height) - 24px) / 2));bottom:calc(8px - calc((var(--mat-stepper-header-height) - 24px) / 2))}[dir=rtl] .mat-stepper-vertical-line::before{left:auto;right:0}.mat-vertical-stepper-content{overflow:hidden;outline:0}.mat-vertical-stepper-content:not(.mat-vertical-stepper-content-inactive){visibility:inherit !important}.mat-vertical-content{padding:0 24px 24px 24px}.mat-step:last-child .mat-vertical-content-container{border:none}'],encapsulation:2,data:{animation:[dm.horizontalStepTransition,dm.verticalStepTransition]},changeDetection:0});let a=i;return a})();var _m=(()=>{let i=class i{};i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=N({type:i}),i.\u0275inj=L({providers:[l_,di],imports:[V,Pt,me,nr,hi,Ht,fm,Ns,V]});let a=i;return a})();var bm=(()=>{let i=class i{};i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=N({type:i}),i.\u0275inj=L({imports:[V,V]});let a=i;return a})();var vm=(()=>{let i=class i{};i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=N({type:i}),i.\u0275inj=L({imports:[V,V]});let a=i;return a})();var Vs=(()=>{let i=class i{};i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=N({type:i}),i.\u0275inj=L({imports:[si,no,nr,Do,Mo,Rl,Bc,Ol,Pl,$i,Nl,Vl,Ya,Zc,_m,Kl,Md,dr,Wo,Xl,hi,Za,Jl,mr,uc,od,nm,Ka,po,Ht,kn,am,om,ld,cm,hd,vd,bm,vm,co,wd,fe,me,$a]});let a=i;return a})();function u_(a,i){if(a&1){let r=F();c(0,"button",7),_("click",function(){C(r);let e=f();return k(e.navigateTo("theme"))}),c(1,"mat-icon",12),p(2,"color_lens"),d(),p(3," Branding "),d()}}function g_(a,i){if(a&1){let r=F();c(0,"button",7),_("click",function(){C(r);let e=f();return k(e.navigateTo("brokerage"))}),c(1,"mat-icon",12),p(2,"location_city"),d(),p(3," Edit Brokerage "),d()}}function f_(a,i){if(a&1){let r=F();c(0,"button",13),_("click",function(){C(r);let e=f();return k(e.navigateTo("brokers"))}),c(1,"mat-icon",12),p(2,"group_add"),d(),p(3," Add Users "),d()}}var pr=(()=>{let i=class i{constructor(t){this.auth=t,this.destroyRef=b(Ke),this.userService=b(_n),this.router=b(Ne),this.route=b(Oa),this.openDialogService=b(de),this.brokerEmployeeService=b(Ve)}get isBrokerAdmin(){return this.brokerEmployeeService.isBrokerAdmin}ngOnInit(){this.userInfo=this.userService.getUserInfo()}ngAfterViewInit(){this.router.events.pipe(ut(()=>{let t=this.route.firstChild;for(;t;)if(t.firstChild)t=t.firstChild;else return t.snapshot.data&&t.snapshot.data.title?t.snapshot.data.title:null;return null}),et(t=>this.pageTitle=t),Me(this.destroyRef)).subscribe()}logout(){sessionStorage.clear(),this.auth.logout({logoutParams:{returnTo:document.location.origin}})}navigateTo(t){this.router.navigate(["/broker",t])}openPrivacyDialog(){this.openDialogService.openPrivacyPolicyDialog()}openHelpCenter(){window.open("https://help.vequity.ai/","_blank")}};i.\u0275fac=function(e){return new(e||i)(l(Pa))},i.\u0275cmp=w({type:i,selectors:[["vq-navigation"]],standalone:!0,features:[S],decls:41,vars:7,consts:[["brokerMenu","matMenu"],[1,"menu-container"],[1,"page-title"],["matRipple","",1,"menu",3,"matMenuTriggerFor"],[1,"i_menu"],["xPosition","before",1,"broker-menu-popout"],[1,"logo-container"],["matRipple","",1,"menu-item",3,"click"],["src","/assets/icons/home-icon.svg","alt",""],[1,"material-symbols-outlined"],["matRipple","","class","menu-item",3,"click",4,"ngIf"],["matRipple","","class","menu-item","matRipple","",3,"click",4,"ngIf"],[1,"material-symbols-outlined","icon"],["matRipple","","matRipple","",1,"menu-item",3,"click"]],template:function(e,n){if(e&1){let o=F();c(0,"div",1)(1,"span",2),p(2),d(),c(3,"button",3),x(4,"i",4),d()(),c(5,"mat-menu",5,0)(7,"div",6)(8,"span"),p(9),d()(),c(10,"button",7),_("click",function(){return C(o),k(n.navigateTo("home"))}),c(11,"span"),x(12,"img",8),d(),p(13," Dashboard "),d(),c(14,"button",7),_("click",function(){return C(o),k(n.navigateTo("deal"))}),c(15,"mat-icon",9),p(16,"contract"),d(),p(17," Deals "),d(),c(18,"button",7),_("click",function(){return C(o),k(n.navigateTo("buyer-search"))}),c(19,"mat-icon",9),p(20,"search"),d(),p(21," Buyer Search "),d(),y(22,u_,4,0,"button",10)(23,g_,4,0,"button",10),c(24,"button",7),_("click",function(){return C(o),k(n.navigateTo("profile-edit"))}),c(25,"mat-icon",9),p(26,"account_circle"),d(),p(27," Edit Profile "),d(),y(28,f_,4,0,"button",11),c(29,"button",7),_("click",function(){return C(o),k(n.openHelpCenter())}),c(30,"mat-icon",12),p(31,"help"),d(),p(32," Help Center "),d(),c(33,"button",7),_("click",function(){return C(o),k(n.openPrivacyDialog())}),c(34,"mat-icon",12),p(35,"info"),d(),p(36," Terms "),d(),c(37,"button",7),_("click",function(){return C(o),k(n.logout())}),c(38,"mat-icon",12),p(39,"exit_to_app"),d(),p(40," Sign Out "),d()()}if(e&2){let o=Bt(6);m(2),nt(n.pageTitle),m(),u("matMenuTriggerFor",o),m(6),Fe("",n.userInfo.firstName," ",n.userInfo.lastName,""),m(13),u("ngIf",n.isBrokerAdmin),m(),u("ngIf",n.isBrokerAdmin),m(5),u("ngIf",n.isBrokerAdmin)}},dependencies:[Pt,xt,Ht,mt,hi,Gt,mr,Nn,im],styles:["button[_ngcontent-%COMP%]{cursor:pointer}.page-title[_ngcontent-%COMP%]{color:#1788fb;padding-right:10px}i[_ngcontent-%COMP%]{min-width:24px}.menu-container[_ngcontent-%COMP%]{width:100%;height:100%;display:flex;align-items:center;justify-content:space-evenly}.menu-container[_ngcontent-%COMP%]   .i_menu[_ngcontent-%COMP%]{font-size:21px;color:#9f9f9f}.menu-container[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#000;text-decoration:inherit;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:1.2rem;line-height:1.8;margin-left:36px;cursor:pointer}.menu-container[_ngcontent-%COMP%]   a.active[_ngcontent-%COMP%]{color:#0bcba3}.menu-container[_ngcontent-%COMP%]   a.active[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{color:#000}.menu-container[_ngcontent-%COMP%]   button.menu[_ngcontent-%COMP%]{color:#9f9f9f;width:40px;height:40px;cursor:pointer;border:none;background:transparent;display:flex;align-items:center;justify-content:center;padding:0;border-radius:100%}.logo-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center;height:50px}.logo-container[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:16px;font-style:normal;font-weight:400;line-height:22px;color:#21272a}.icon[_ngcontent-%COMP%]{color:#000}button.menu-item[_ngcontent-%COMP%]{background:transparent;width:100%;border:none;display:flex;align-items:center;justify-content:flex-start;border-bottom:1px solid #f2f4f8;line-height:16px;font-size:16px;font-weight:500;gap:8px;padding:8px 12px}button.menu-item[_ngcontent-%COMP%]:hover{background:#f2f4f8}button.menu-item[_ngcontent-%COMP%]:last-child{border-bottom:none}button.menu-item[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:24px;color:#000}"]});let a=i;return a})();function __(a,i){a&1&&(c(0,"li"),x(1,"vq-navigation"),d())}var ym=(()=>{let i=class i{constructor(){this.hideMenuOptions=!1}};i.\u0275fac=function(e){return new(e||i)},i.\u0275cmp=w({type:i,selectors:[["vq-navbar"]],inputs:{hideMenuOptions:"hideMenuOptions"},standalone:!0,features:[S],decls:10,vars:1,consts:[[1,"navbar"],[1,"nav-one"],["matRipple","","routerLink","/broker/home",1,"app-logo"],["src","assets/images/vequity_full_color.png","alt",""],[1,"nav-two"],[4,"ngIf"]],template:function(e,n){e&1&&(c(0,"div",0)(1,"nav")(2,"ul")(3,"li",1)(4,"a",2),x(5,"img",3),d(),x(6,"vq-saved-label"),d(),c(7,"li",4)(8,"ul"),y(9,__,2,0,"li",5),d()()()()()),e&2&&(m(9),u("ngIf",n.hideMenuOptions===!1))},dependencies:[Yi,pr,Pt,xt,Ht,mt],styles:[".navbar[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;height:55px;width:100%;background-color:#fff}.navbar[_ngcontent-%COMP%]   nav[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;height:55px;width:100%;max-width:1366px;padding:0 1.6rem}ul[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:2.5rem;margin:0;padding:0;list-style:none;width:100%}ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;gap:2rem}ul[_ngcontent-%COMP%]   li.nav-one[_ngcontent-%COMP%]{gap:1rem}ul[_ngcontent-%COMP%]   li.nav-two[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{gap:1.6rem}.app-logo[_ngcontent-%COMP%]{width:88px;height:23px;border-radius:3px}.app-logo[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:100%;height:100%;object-fit:contain}@media (min-width: 1367px){.navbar[_ngcontent-%COMP%]   nav[_ngcontent-%COMP%]{padding:0}ul[_ngcontent-%COMP%] > li.nav-two[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%]{gap:2rem}}"]});let a=i;return a})();var uR=(()=>{let i=class i{backClick(){window.history.back()}};i.\u0275fac=function(e){return new(e||i)},i.\u0275cmp=w({type:i,selectors:[["vq-back-button"]],decls:3,vars:0,consts:[[1,"btn-row"],["matRipple","","type","button",1,"back-button",3,"click"],[1,"i_arrow_l_sm"]],template:function(e,n){e&1&&(c(0,"div",0)(1,"button",1),_("click",function(){return n.backClick()}),x(2,"i",2),d()())},dependencies:[mt],styles:[".btn-row[_ngcontent-%COMP%]{padding:20px 0}.btn-row[_ngcontent-%COMP%]   .back-button[_ngcontent-%COMP%]{cursor:pointer;border:0;border-radius:100%;background-color:transparent;display:flex;align-items:center;justify-content:center;width:24px;height:24px}.btn-row[_ngcontent-%COMP%]   .back-button[_ngcontent-%COMP%]   .i_arrow_l_sm[_ngcontent-%COMP%]{font-size:24px}"]});let a=i;return a})();var fR=(()=>{let i=class i{};i.\u0275fac=function(e){return new(e||i)},i.\u0275cmp=w({type:i,selectors:[["vq-location-loading"]],decls:7,vars:0,consts:[[1,"container"],["src","assets/images/vequity_full_color.png","alt","logo"],[1,"message"],[1,"spinner"],["src","/assets/icons/Ellipsis-1s-200px.svg"]],template:function(e,n){e&1&&(c(0,"div",0)(1,"header"),x(2,"img",1),d(),c(3,"div",2),p(4,"Hang tight while we get you to the right location..."),d(),c(5,"div",3),x(6,"img",4),d()())},styles:[".container[_ngcontent-%COMP%]{padding:28px 24px 5px;max-width:700px;margin-left:auto;margin-right:auto;display:flex;flex-direction:column;align-items:center;justify-content:center;height:100svh}.container[_ngcontent-%COMP%]   header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;font-size:15px}.container[_ngcontent-%COMP%]   header[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{margin-right:6px}.container[_ngcontent-%COMP%]   header[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:100%;max-height:70px}.container[_ngcontent-%COMP%]   .message[_ngcontent-%COMP%]{margin-top:45px;font-weight:600;font-size:26px;height:100px;line-height:37px;text-align:center}.container[_ngcontent-%COMP%]   .spinner[_ngcontent-%COMP%]{display:flex;justify-content:center;height:150px}"]});let a=i;return a})();var js=(a,i,r)=>({sm:a,md:i,lg:r});function b_(a,i){if(a&1&&(c(0,"div",3),p(1),d()),a&2){let r=f();u("ngClass",Da(2,js,r.size==="sm",r.size==="md",r.size==="lg")),m(),dt(" ",r.initials," ")}}function v_(a,i){if(a&1&&x(0,"img",4),a&2){let r=f();u("src",r.imgUrl,wa)("ngClass",Da(2,js,r.size==="sm",r.size==="md",r.size==="lg"))}}var wm=(()=>{let i=class i{constructor(){this.size="md"}ngOnInit(){this.initials=`${this.firstName.charAt(0).toUpperCase()}${this.lastName.charAt(0).toUpperCase()}`}};i.\u0275fac=function(e){return new(e||i)},i.\u0275cmp=w({type:i,selectors:[["vq-profile-image"]],inputs:{imgUrl:"imgUrl",size:"size",firstName:"firstName",lastName:"lastName"},decls:3,vars:7,consts:[[3,"ngClass"],["class","initial",3,"ngClass",4,"ngIf"],["class","background-fill",3,"src","ngClass",4,"ngIf"],[1,"initial",3,"ngClass"],[1,"background-fill",3,"src","ngClass"]],template:function(e,n){e&1&&(c(0,"div",0),y(1,b_,2,6,"div",1)(2,v_,1,6,"img",2),d()),e&2&&(u("ngClass",Da(3,js,n.size==="sm",n.size==="md",n.size==="lg")),m(),u("ngIf",!n.imgUrl),m(),u("ngIf",n.imgUrl))},dependencies:[Le,xt],styles:["img[_ngcontent-%COMP%]{border-radius:24px}.sm[_ngcontent-%COMP%]{height:28px;width:28px}.md[_ngcontent-%COMP%]{height:48px;width:48px}.lg[_ngcontent-%COMP%]{height:73px;width:73px}.initial[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;background-color:#0000000d;color:#000;border-radius:50px;font-size:1.4rem}"]});let a=i;return a})();var w_=[[["","buttons",""]]],x_=["[buttons]"];function C_(a,i){if(a&1&&(c(0,"div",2),x(1,"img",4),d()),a&2){let r=f();m(),u("src",r.imgUrl,wa)}}function k_(a,i){if(a&1&&(c(0,"span",5),p(1),d()),a&2){let r=f();ot("color",r.headerColor==="#ffffff"?"#000000":"#ffffff"),m(),dt(" ",r.title," ")}}var xm=(()=>{let i=class i{constructor(){this.title="Vequity"}};i.\u0275fac=function(e){return new(e||i)},i.\u0275cmp=w({type:i,selectors:[["vq-referral-header"]],inputs:{imgUrl:"imgUrl",headerColor:"headerColor",title:"title"},ngContentSelectors:x_,decls:6,vars:3,consts:[[1,"intake-menu-container"],[1,"save-container"],[1,"img-wrapper"],[1,"alt-title",3,"color"],["alt","logo",3,"src"],[1,"alt-title"]],template:function(e,n){e&1&&(K(w_),c(0,"div",0)(1,"div",1),y(2,C_,2,1,"div",2)(3,k_,2,3,"span",3),x(4,"vq-saved-label"),d(),j(5),d()),e&2&&(ot("background-color",n.headerColor),m(2),B(n.imgUrl?2:3))},dependencies:[Yi],styles:[".save-container[_ngcontent-%COMP%]{display:flex;gap:16px;align-items:center}.intake-menu-container[_ngcontent-%COMP%]{height:72px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #d9d9d9;margin-left:auto;margin-right:auto;padding:0 1.6rem}.intake-menu-container[_ngcontent-%COMP%]   .img-wrapper[_ngcontent-%COMP%]{min-width:35px;max-width:120px;height:40px}.intake-menu-container[_ngcontent-%COMP%]   .img-wrapper[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:100%;height:100%;object-fit:contain}.intake-menu-container[_ngcontent-%COMP%]   .alt-title[_ngcontent-%COMP%]{font-size:1.8rem;font-weight:700}@media screen and (min-width: 1024px){.intake-menu-container[_ngcontent-%COMP%]{height:106px;padding:0 4rem}.intake-menu-container[_ngcontent-%COMP%]   .img-wrapper[_ngcontent-%COMP%]{max-width:185px}.intake-menu-container[_ngcontent-%COMP%]   .alt-title[_ngcontent-%COMP%]{font-size:2.4rem}}@media screen and (min-width: 1400px){.intake-menu-container[_ngcontent-%COMP%]{padding:0 4rem}}"]});let a=i;return a})();var S_=a=>({background:a});function I_(a,i){if(a&1&&($e(0),c(1,"div",23)(2,"div",24)(3,"div",25)(4,"span",26),p(5,"Next Steps"),d(),c(6,"div",27),x(7,"i",28),c(8,"span",29),p(9,"Takes a few minutes"),d()()(),c(10,"span",30),p(11,"Complete the buyer profile"),d()(),c(12,"div",31)(13,"span",32)(14,"mat-icon",33),p(15,"check"),d()(),c(16,"div",34)(17,"span",35),p(18,"Get deal flow"),d(),c(19,"span",20),p(20," With a profile in the Vequity Network, you can receive early access to inbound deal flow that matches your acquisition criteria. "),d()()(),c(21,"div",31)(22,"span",32)(23,"mat-icon",33),p(24,"check"),d()(),c(25,"div",34)(26,"span",35),p(27,"Share your background and focus"),d(),c(28,"span",20),p(29," This allows us to understand your background and acquisition criteria. "),d()()(),c(30,"div",31)(31,"span",32)(32,"mat-icon",33),p(33,"check"),d()(),c(34,"div",34)(35,"span",35),p(36,"Communicate you are serious"),d(),c(37,"span",20),p(38," We want to provide a great process for buyers and our clients. Given our deals are often quite competitive, we only want to work with buyers who can close on an acquisition. "),d()()(),c(39,"div",36)(40,"button",37)(41,"span",19),p(42,"Complete your buyer profile"),d()(),c(43,"span",20),p(44," Already have an account? "),c(45,"a"),p(46,"Sign in"),d()()()(),Ge()),a&2){let r=f(2);m(),ot("background-color",r.primaryColor),m(3),ot("color",r.brandingTextColor),m(2),u("ngStyle",ze(29,S_,r.getBackgroundColor())),m(4),ot("color",r.brandingTextColor),m(3),ot("--icon-color",r.primaryColor)("background-color",r.brandingTextColor),m(3),ot("color",r.brandingTextColor),m(6),ot("--icon-color",r.primaryColor)("background-color",r.brandingTextColor),m(3),ot("color",r.brandingTextColor),m(6),ot("--icon-color",r.primaryColor)("background-color",r.brandingTextColor),m(3),ot("color",r.brandingTextColor),m(9),ot("color",r.brandingTextColor),m(2),ot("color",r.brandingTextColor)}}function M_(a,i){a&1&&(c(0,"button",37)(1,"span",19),p(2,"LinkedIn"),d()())}function E_(a,i){if(a&1&&($e(0),c(1,"div",23)(2,"div",24)(3,"span",26),p(4),d(),c(5,"span",38),p(6),d(),c(7,"span",30),p(8),d()(),c(9,"div",39)(10,"button",37)(11,"span",19),p(12,"Website"),d()(),y(13,M_,3,0,"button",40),d()(),Ge()),a&2){let r=f(2);m(),ot("background-color",r.primaryColor),m(),ot("color",r.brandingTextColor),m(2),dt("About ",r.brokerData.companyName," "),m(2),nt(r.brokerData.referralMessage),m(2),nt(r.brokerData.about),m(5),u("ngIf",!!r.brokerData.linkedInProfileUrl)}}function T_(a,i){if(a&1&&($e(0),c(1,"div",23)(2,"div",24)(3,"span",26),p(4,"How it works"),d(),c(5,"span",30),p(6,"Completing your profile and verification communicates you are a serious buyer and ensures you see deal flow."),d()(),c(7,"div",31)(8,"span",32)(9,"mat-icon",33),p(10,"check"),d()(),c(11,"div",34)(12,"span",35),p(13,"Complete buyer profile"),d(),c(14,"span",20),p(15," This is free and covers your background, acquisition criteria, and financial profile. "),d()()(),c(16,"div",31)(17,"span",32)(18,"mat-icon",33),p(19,"check"),d()(),c(20,"div",34)(21,"span",35),p(22,"Complete verification"),d(),c(23,"span",20),p(24," Building on the basic profile, becoming verified gives brokers and sellers more confidence and increases deal flow opportunities. This is optional but recommended. "),d()()(),c(25,"div",31)(26,"span",32)(27,"mat-icon",33),p(28,"check"),d()(),c(29,"div",34)(30,"span",35),p(31," Opt-in to sharing your profile with thousands of brokers "),d(),c(32,"span",20),p(33," With a profile in the Vequity Network, we can easily match you with deals from brokers across the country before they go to market. "),d()()()(),Ge()),a&2){let r=f(2);m(),ot("background-color",r.primaryColor),m(),ot("color",r.brandingTextColor),m(6),ot("--icon-color",r.primaryColor)("background-color",r.brandingTextColor),m(3),ot("color",r.brandingTextColor),m(6),ot("--icon-color",r.primaryColor)("background-color",r.brandingTextColor),m(3),ot("color",r.brandingTextColor),m(6),ot("--icon-color",r.primaryColor)("background-color",r.brandingTextColor),m(3),ot("color",r.brandingTextColor)}}function A_(a,i){if(a&1){let r=F();c(0,"div",1)(1,"header")(2,"vq-referral-header",2)(3,"div",3)(4,"button",4),p(5," Complete your buyer profile "),d(),c(6,"button",5),p(7,"Need help?"),d()()()(),c(8,"div",6)(9,"div",7)(10,"div",8)(11,"span"),p(12),d(),x(13,"div",9),p(14," has invited you "),d(),c(15,"span",10),p(16,"Thank you for your interest in our firm and our deals."),d(),c(17,"span",10),p(18,"By completing your buyer profile, it allows us to precisely match you with deals that meet your acquisition criteria and gives you better exposure to new deal opportunities. "),d(),c(19,"span",10),p(20," We have partnered with Vequity to manage our buyer network. "),d()(),c(21,"div",11)(22,"mat-button-toggle-group",12),ti("ngModelChange",function(e){C(r);let n=f();return Je(n.toggleSelected,e)||(n.toggleSelected=e),k(e)}),c(23,"mat-button-toggle",13),p(24,"Next steps"),d(),c(25,"mat-button-toggle",14),p(26,"Learn more"),d(),c(27,"mat-button-toggle",15),p(28,"How it works"),d()(),$e(29,16),y(30,I_,47,31,"ng-container",17)(31,E_,14,8,"ng-container",17)(32,T_,34,22,"ng-container",17),c(33,"div",18)(34,"button",4)(35,"span",19),p(36,"Complete your buyer profile"),d()(),c(37,"span",20),p(38," Already have an account? "),c(39,"a"),p(40,"Sign in"),d()(),c(41,"button",5),p(42,"Need help?"),d()(),Ge(),d()(),c(43,"footer",21)(44,"div")(45,"span"),p(46,"Copyright \xA9"),d(),c(47,"span"),p(48,"\xA0Vequity\xA0"),d()(),c(49,"div")(50,"span"),p(51,"| "),c(52,"span",22),p(53,"Security & Privacy"),d(),p(54," | Powered by"),d(),c(55,"span"),p(56,"\xA0Vequity"),d()()()()}if(a&2){let r=f();m(2),u("imgUrl",r.brokerData.logoUrl)("title",r.brokerData.companyName)("headerColor",r.headerColor)("brandingTextColor",r.brandingTextColor),m(2),ot("background-color",r.primaryColor)("color",r.brandingTextColor),m(7),ot("color",r.primaryColor),m(),nt(r.brokerData.companyName),m(10),Xe("ngModel",r.toggleSelected),m(7),u("ngSwitch",r.toggleSelected),m(),u("ngSwitchCase","nextSteps"),m(),u("ngSwitchCase","learnMore"),m(),u("ngSwitchCase","explain"),m(2),ot("background-color",r.primaryColor)("color",r.brandingTextColor)}}var vR=(()=>{let i=class i{constructor(t){this.brokerDataInput=t,this.toggleSelected="nextSteps",this.brokerData=t}ngOnInit(){this.brandingTextColor=this.brokerData.brandingTextColor?this.brokerData.brandingTextColor:"#ffffff",this.headerColor=this.brokerData.brandingHeaderColor?this.brokerData.brandingHeaderColor:"#ffffff",this.primaryColor=this.brokerData.primaryColor?this.brokerData.primaryColor:"#1788fb"}getBackgroundColor(){return this.brandingTextColor==="white"||this.brandingTextColor==="#ffffff"?"rgba(255, 255, 255, 0.2)":this.brandingTextColor}};i.\u0275fac=function(e){return new(e||i)(l(ne))},i.\u0275cmp=w({type:i,selectors:[["vn-referral-landing"]],decls:1,vars:1,consts:[["class","container",4,"ngIf"],[1,"container"],[3,"imgUrl","title","headerColor","brandingTextColor"],["buttons","",1,"header-btn-container"],["matRipple","",1,"vq-primary-btn","round-btn"],["matRipple","",1,"vq-secondary-inverse-btn","round-btn"],[1,"inner-container"],[1,"info-container"],[1,"title"],[1,"empty-space"],[1,"body"],[1,"action-container"],[1,"toggle",3,"ngModelChange","ngModel"],["value","nextSteps"],["value","learnMore"],["value","explain"],[3,"ngSwitch"],[4,"ngSwitchCase"],[1,"btn-container-mobile"],[1,"btn-text"],[1,"description"],[1,"u-flex","u-flex-justify-center"],[1,"legal"],[1,"card"],[1,"header"],[1,"title-container"],[1,"card-title"],[1,"time-estimate",3,"ngStyle"],[1,"clock-icon"],[1,"time"],[1,"card-subtitle"],[1,"step"],[1,"icon"],[1,"material-symbols-outlined"],[1,"step-info"],[1,"sub-title"],[1,"btn-container-desktop"],["matRipple","",1,"vq-secondary-inverse-btn","round-btn","desktop-card"],[1,"card-referral"],[1,"learn-btns"],["matRipple","","class","vq-secondary-inverse-btn round-btn desktop-card",4,"ngIf"]],template:function(e,n){e&1&&y(0,A_,57,20,"div",0),e&2&&u("ngIf",n.brokerData)},dependencies:[xt,ic,Sa,Ia,ue,xs,rr,Gt,mt,fn,xm],styles:[".mat-button-toggle-group-appearance-standard[_ngcontent-%COMP%]{border-radius:100px!important}.mat-button-toggle-group[_ngcontent-%COMP%]{height:32px;align-items:center}.mat-button-toggle-group[_ngcontent-%COMP%]   .mat-button-toggle[_ngcontent-%COMP%]{flex:1;width:100%}.container[_ngcontent-%COMP%]{display:flex;justify-content:space-between;flex-direction:column;position:relative;top:0;height:100%;width:100%;max-width:1440px;overflow-y:auto;z-index:0}.container[_ngcontent-%COMP%]   .vq-primary-btn[_ngcontent-%COMP%], .container[_ngcontent-%COMP%]   .vq-secondary-inverse-btn.desktop-card[_ngcontent-%COMP%]{border:none}.container[_ngcontent-%COMP%]   .header-btn-container[_ngcontent-%COMP%]{display:none}.container[_ngcontent-%COMP%]   .inner-container[_ngcontent-%COMP%]{padding:24px;flex-grow:1;z-index:1;gap:24px;position:relative;display:flex;flex-direction:column;align-items:center;padding:0 1.6rem}.container[_ngcontent-%COMP%]   .inner-container[_ngcontent-%COMP%]   .info-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:16px;margin:24px 0 48px}.container[_ngcontent-%COMP%]   .inner-container[_ngcontent-%COMP%]   .info-container[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-size:32px;line-height:normal}.container[_ngcontent-%COMP%]   .inner-container[_ngcontent-%COMP%]   .info-container[_ngcontent-%COMP%]   .body[_ngcontent-%COMP%]{font-size:14px;font-weight:200}.container[_ngcontent-%COMP%]   .inner-container[_ngcontent-%COMP%]   .action-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;margin-bottom:24px}.container[_ngcontent-%COMP%]   .inner-container[_ngcontent-%COMP%]   .action-container[_ngcontent-%COMP%]   .toggle[_ngcontent-%COMP%]{width:100%;margin-bottom:24px}.container[_ngcontent-%COMP%]   .inner-container[_ngcontent-%COMP%]   .action-container[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:flex-start;gap:32px;min-height:480px;max-width:600px;padding:48px 32px;border-radius:16px;box-shadow:0 8px 8px #0000001a}.container[_ngcontent-%COMP%]   .inner-container[_ngcontent-%COMP%]   .action-container[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:8px}.container[_ngcontent-%COMP%]   .inner-container[_ngcontent-%COMP%]   .action-container[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .card-title[_ngcontent-%COMP%]{font-size:24px;font-weight:700;line-height:normal}.container[_ngcontent-%COMP%]   .inner-container[_ngcontent-%COMP%]   .action-container[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .title-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;gap:8px}.container[_ngcontent-%COMP%]   .inner-container[_ngcontent-%COMP%]   .action-container[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .title-container[_ngcontent-%COMP%]   .time-estimate[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;border-radius:8px;padding:0 14px 0 2px}.container[_ngcontent-%COMP%]   .inner-container[_ngcontent-%COMP%]   .action-container[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .title-container[_ngcontent-%COMP%]   .time-estimate[_ngcontent-%COMP%]   .time[_ngcontent-%COMP%]{font-size:10px;font-weight:700;color:#fff}.container[_ngcontent-%COMP%]   .inner-container[_ngcontent-%COMP%]   .action-container[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .title-container[_ngcontent-%COMP%]   .white-blur[_ngcontent-%COMP%]{opacity:.5}.container[_ngcontent-%COMP%]   .inner-container[_ngcontent-%COMP%]   .action-container[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .card-referral[_ngcontent-%COMP%]{font-size:18px;font-weight:600}.container[_ngcontent-%COMP%]   .inner-container[_ngcontent-%COMP%]   .action-container[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .card-subtitle[_ngcontent-%COMP%]{font-size:16px;font-weight:400}.container[_ngcontent-%COMP%]   .inner-container[_ngcontent-%COMP%]   .action-container[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .step[_ngcontent-%COMP%]{display:flex;gap:20px;align-items:flex-start}.container[_ngcontent-%COMP%]   .inner-container[_ngcontent-%COMP%]   .action-container[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .step[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]{height:25px;width:25px;border-radius:50%;display:flex;justify-content:center;align-items:center;padding:3px;color:var(--icon-color);background-size:cover}.container[_ngcontent-%COMP%]   .inner-container[_ngcontent-%COMP%]   .action-container[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .step[_ngcontent-%COMP%]   .step-info[_ngcontent-%COMP%]{display:flex;flex-direction:column}.container[_ngcontent-%COMP%]   .inner-container[_ngcontent-%COMP%]   .action-container[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .step[_ngcontent-%COMP%]   .step-info[_ngcontent-%COMP%]   .sub-title[_ngcontent-%COMP%]{font-size:22px;line-height:28px}.container[_ngcontent-%COMP%]   .inner-container[_ngcontent-%COMP%]   .action-container[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .step[_ngcontent-%COMP%]   .step-info[_ngcontent-%COMP%]   .description[_ngcontent-%COMP%]{font-size:14px}.container[_ngcontent-%COMP%]   .inner-container[_ngcontent-%COMP%]   .action-container[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .btn-container-desktop[_ngcontent-%COMP%]{display:none}.container[_ngcontent-%COMP%]   .inner-container[_ngcontent-%COMP%]   .action-container[_ngcontent-%COMP%]   .btn-container-mobile[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:12px;align-items:center;margin-top:24px}.container[_ngcontent-%COMP%]   .inner-container[_ngcontent-%COMP%]   .action-container[_ngcontent-%COMP%]   .btn-container-mobile[_ngcontent-%COMP%]   .vq-primary-btn[_ngcontent-%COMP%]{width:100%}.container[_ngcontent-%COMP%]   .inner-container[_ngcontent-%COMP%]   .action-container[_ngcontent-%COMP%]   .btn-container-mobile[_ngcontent-%COMP%]   .btn-text[_ngcontent-%COMP%]{font-size:16px}.container[_ngcontent-%COMP%]   .inner-container[_ngcontent-%COMP%]   .action-container[_ngcontent-%COMP%]   .btn-container-mobile[_ngcontent-%COMP%]   .description[_ngcontent-%COMP%]{font-weight:400}.container[_ngcontent-%COMP%]   .inner-container[_ngcontent-%COMP%]   .action-container[_ngcontent-%COMP%]   .btn-container-mobile[_ngcontent-%COMP%]   .description[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{text-decoration:underline;color:#000;cursor:pointer}.container[_ngcontent-%COMP%]   .inner-container[_ngcontent-%COMP%]   .action-container[_ngcontent-%COMP%]   .learn-btns[_ngcontent-%COMP%]{display:flex;flex-direction:row;gap:12px;flex-wrap:wrap;justify-content:flex-start}.container[_ngcontent-%COMP%]   .inner-container[_ngcontent-%COMP%]   .action-container[_ngcontent-%COMP%]   .learn-btns[_ngcontent-%COMP%]   .vq-secondary-inverse-btn[_ngcontent-%COMP%]{border:none}.container[_ngcontent-%COMP%]   .inner-container[_ngcontent-%COMP%]   .action-container[_ngcontent-%COMP%]   .learn-btns[_ngcontent-%COMP%]   .btn-text[_ngcontent-%COMP%]{font-weight:400;font-size:16px}.container[_ngcontent-%COMP%]   footer[_ngcontent-%COMP%]{display:flex;padding:10px 24px;text-align:center;flex-direction:column;font-size:14px;border-top:1px solid #d9d9d9}.container[_ngcontent-%COMP%]   footer[_ngcontent-%COMP%]   .legal[_ngcontent-%COMP%]{cursor:pointer}@media only screen and (min-width: 1023px){.mat-button-toggle-group-appearance-standard[_ngcontent-%COMP%]{border-radius:100px!important}.mat-button-toggle-group[_ngcontent-%COMP%]{height:auto;align-items:center}.mat-button-toggle-group[_ngcontent-%COMP%]   .mat-button-toggle[_ngcontent-%COMP%]{flex:1;width:100%}.container[_ngcontent-%COMP%]   .header-btn-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;gap:15px}.container[_ngcontent-%COMP%]   .inner-container[_ngcontent-%COMP%]{justify-content:space-between;flex-direction:row;align-items:flex-start;padding:24px 4rem;gap:79px}.container[_ngcontent-%COMP%]   .inner-container[_ngcontent-%COMP%]   .info-container[_ngcontent-%COMP%]{margin-top:100px;gap:30px;max-width:50%}.container[_ngcontent-%COMP%]   .inner-container[_ngcontent-%COMP%]   .info-container[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-size:48px}.container[_ngcontent-%COMP%]   .inner-container[_ngcontent-%COMP%]   .info-container[_ngcontent-%COMP%]   .body[_ngcontent-%COMP%]{font-size:24px;line-height:30px}.container[_ngcontent-%COMP%]   .inner-container[_ngcontent-%COMP%]   .action-container[_ngcontent-%COMP%]{margin-bottom:16px;min-width:45%}.container[_ngcontent-%COMP%]   .inner-container[_ngcontent-%COMP%]   .action-container[_ngcontent-%COMP%]   .topggle[_ngcontent-%COMP%]{width:70%;margin-bottom:16px}.container[_ngcontent-%COMP%]   .inner-container[_ngcontent-%COMP%]   .action-container[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .title-container[_ngcontent-%COMP%]   .time-estimate[_ngcontent-%COMP%]   .time[_ngcontent-%COMP%]{font-size:14px}.container[_ngcontent-%COMP%]   .inner-container[_ngcontent-%COMP%]   .action-container[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .btn-container-desktop[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:12px;align-items:center}.container[_ngcontent-%COMP%]   .inner-container[_ngcontent-%COMP%]   .action-container[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .btn-container-desktop[_ngcontent-%COMP%]   .vq-secondary-inverse-btn[_ngcontent-%COMP%]{width:100%}.container[_ngcontent-%COMP%]   .inner-container[_ngcontent-%COMP%]   .action-container[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .btn-container-desktop[_ngcontent-%COMP%]   .description[_ngcontent-%COMP%]{font-weight:700}.container[_ngcontent-%COMP%]   .inner-container[_ngcontent-%COMP%]   .action-container[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .btn-container-desktop[_ngcontent-%COMP%]   .description[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{text-decoration:underline;color:#fff;cursor:pointer}.container[_ngcontent-%COMP%]   .inner-container[_ngcontent-%COMP%]   .action-container[_ngcontent-%COMP%]   .btn-container-mobile[_ngcontent-%COMP%]{display:none}.container[_ngcontent-%COMP%]   footer[_ngcontent-%COMP%]{flex-direction:row;padding:24px}}"]});let a=i;return a})();var R_=a=>({shown:a});function O_(a,i){if(a&1){let r=F();c(0,"div",1),x(1,"span",2),c(2,"i",3),_("click",function(){let e=C(r).$implicit,n=f();return k(n.removeStatus(e))}),d()()}if(a&2){let r=i.$implicit,t=f();Ca("",t.cssClass(r)," status-banner"),u("ngClass",ze(5,R_,r.shown)),m(),u("innerHTML",r.message,Mi)}}var SR=(()=>{let i=class i{constructor(t){this.statusService=t,this.statuses=[],this.destroy$=new E}ngOnInit(){this.statusService.getStatus(this.id).pipe(st(this.destroy$)).subscribe(t=>{if(!t.message){for(let e=0;e<this.statuses.length;e++)this.removeStatus(this.statuses[e]);return}t.duration!==null&&setTimeout(()=>{this.removeStatus(t)},t.duration),this.statuses.map(e=>e.message).indexOf(t.message)===-1&&this.statuses.push(t),setTimeout(()=>{t.shown=!0},10)})}removeStatus(t){t.shown=!1,setTimeout(()=>{this.statuses=this.statuses.filter(e=>e!==t)},300)}removeStatusFaster(t){t.shown=!1,setTimeout(()=>{this.statuses=this.statuses.filter(e=>e!==t)},0)}cssClass(t){if(t)switch(t.type){case za.Success:return"success";case za.Error:return"error";case za.Warning:return"warn"}}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}};i.\u0275fac=function(e){return new(e||i)(l(Yt))},i.\u0275cmp=w({type:i,selectors:[["vq-status-banner"]],inputs:{id:"id"},decls:1,vars:1,consts:[[3,"class","ngClass",4,"ngFor","ngForOf"],[3,"ngClass"],[3,"innerHTML"],[1,"up","up-close",3,"click"]],template:function(e,n){e&1&&y(0,O_,3,7,"div",0),e&2&&u("ngForOf",n.statuses)},dependencies:[Le,pn],styles:[".status-banner[_ngcontent-%COMP%]{z-index:9999999;background:#95d1bf;color:#fff;line-height:16px;text-transform:uppercase;font-size:13px;margin:0;padding:0 16px 0 26px;max-height:0;overflow:hidden;position:absolute;top:0;left:0;right:0;transition:max-height .3s,padding .3s,margin .3s}.status-banner[_ngcontent-%COMP%] + .status-banner[_ngcontent-%COMP%]{margin-top:5px}.status-banner.success[_ngcontent-%COMP%]{background:#95d1bf}.status-banner.warn[_ngcontent-%COMP%]{background:#ddac52}.status-banner.error[_ngcontent-%COMP%]{background:#d64b4b}.status-banner.shown[_ngcontent-%COMP%]{padding:22px 16px 22px 26px;max-height:200px}.status-banner[_ngcontent-%COMP%]   .up-close[_ngcontent-%COMP%]{float:right;cursor:pointer;font-size:16px}"]});let a=i;return a})();var ur=(()=>{let i=class i{get data(){return this.dataChange.value}constructor(){this.dataChange=new Kt([])}initialize(){this.treeData=this.dataChange.value}filter(t){let e;t?e=function(s,h){let g=(v,D)=>{if(D.name.toLowerCase().includes(h.toLowerCase()))return v.push(D),v;if(Array.isArray(D.children)){let G=D.children.reduce(g,[]);G.length&&v.push(ve(ht({},D),{children:G}))}return v};return s.reduce(g,[])}(this.treeData,t):e=this.treeData;let n=e;this.dataChange.next(n)}};i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"});let a=i;return a})();var P_=a=>({"padding-top-md":a});function F_(a,i){if(a&1){let r=F();c(0,"mat-tree-node",11),x(1,"button",12),c(2,"mat-checkbox",13),_("change",function(){let e=C(r).$implicit,n=f();return k(n.leafNodeSelectionToggle(e.id))}),p(3),d()()}if(a&2){let r=i.$implicit,t=f();m(2),ka("id",r.id),u("checked",t.checklistSelection.isSelected(r)),m(),nt(r.name)}}function z_(a,i){if(a&1){let r=F();c(0,"mat-tree-node",14)(1,"button",15)(2,"mat-icon",16),p(3),d()(),c(4,"mat-checkbox",17),_("change",function(){let e=C(r).$implicit,n=f();return k(n.parentNodeSelectionToggle(e.id))}),p(5),d()()}if(a&2){let r=i.$implicit,t=f();m(),T("aria-label","toggle "+r.filename),m(2),dt(" ",t.treeControl.isExpanded(r)?"expand_more":"chevron_right"," "),m(),u("checked",t.checklistSelection.isSelected(r)),m(),dt(" ",r.name," ")}}function L_(a,i){if(a&1){let r=F();c(0,"mat-chip-row",18),_("removed",function(){let e=C(r).$implicit,n=f();return k(n.removeChip(e))}),p(1),c(2,"button",19)(3,"mat-icon",20),p(4,"cancel"),d()()()}if(a&2){let r=i.$implicit;m(),dt(" ",r.name," "),m(),T("aria-label","remove "+r)}}var NR=(()=>{let i=class i{constructor(t){this._database=t,this.separatorKeysCodes=[13,188],this.selections=new O,this.selectedNodes=[],this.isSearching=!1,this.flatNodeMap=new Map,this.nestedNodeMap=new Map,this.checklistSelection=new zi(!0),this.getLevel=e=>e.level,this.isExpandable=e=>e.expandable,this.getChildren=e=>e.children,this.hasChild=(e,n)=>n.expandable,this.hasNoContent=(e,n)=>n.name==="",this.transformer=(e,n)=>{let o=this.nestedNodeMap.get(e),s=o&&o.name===e.name?o:new Di;return s.name=e.name,s.level=n,s.expandable=e.children.length!==0,s.id=e.id,s.parentId=e.parentId,e.children?.length>0&&(s.hasChild=!0),this.flatNodeMap.set(s,e),this.nestedNodeMap.set(e,s),s},this.treeFlattener=new An(this.transformer,this.getLevel,this.isExpandable,this.getChildren),this.treeControl=new Tn(this.getLevel,this.isExpandable),this.dataSource=new Rn(this.treeControl,this.treeFlattener),this._database.dataChange.subscribe(e=>{e&&(this.dataSource.data=[...e],this.reSyncSelections())})}ngOnInit(){this._database.dataChange.next(this.treeData),this._database.initialize(),this.treeControl.dataNodes.forEach(t=>{this.preSelections?.includes(t.id)&&this.leafNodeSelectionToggle(t.id,!1)})}reSyncSelections(){let t=this.treeControl.dataNodes.filter(n=>this.selectedNodes.some(o=>o.id===n.id)),e=this.treeControl.dataNodes.filter(n=>!this.selectedNodes.some(o=>o.id===n.id));t.forEach(n=>this.checklistSelection.select(n)),e.forEach(n=>this.checklistSelection.deselect(n))}descendantsAllSelected(t){return this.treeControl.getDescendants(t).every(o=>this.checklistSelection.isSelected(o))}descendantsAllUnSelected(t){let e=this.treeControl.getDescendants(t);return e.length>0&&e.every(o=>{}),e.every(o=>!this.checklistSelection.isSelected(o))}descendantsPartiallySelected(t){return this.treeControl.getDescendants(t).some(o=>this.checklistSelection.isSelected(o))&&!this.descendantsAllSelected(t)}parentNodeSelectionToggle(t,e=!1){let n=this.treeControl.dataNodes.find(g=>g.id===t),o=this;function s(g){o.checklistSelection.deselect(...h),o.removeChipsViaTree(...h);let v=o.selectedNodes.filter(D=>D.parentId===n.id);o.removeChipsViaTree(...v)}this.treeControl.expand(n),this.checklistSelection.toggle(n),this.checklistSelection.isSelected(n)?this.selectedNodes.filter(v=>v.id===n.id).length>0||this.selectedNodes.push(n):this.removeChipsViaTree(n);let h=this.treeControl.getDescendants(n);this.checklistSelection.isSelected(n)&&s(h),this.checkAllParentsSelection(n),this.selections.emit(this.selectedNodes)}leafNodeSelectionToggle(t,e=!0){let n=this.treeControl.dataNodes.find(s=>s.id===t);this.checklistSelection.toggle(n),this.checklistSelection.isSelected(n)?this.selectedNodes.filter(h=>h.id===n.id).length>0||this.selectedNodes.push(n):this.removeChipsViaTree(n);let o=this.getParentNode(n);o&&this.treeControl.expand(o),this.deselectAllParentSelections(n),e&&this.selections.emit(this.selectedNodes)}checkAllParentsSelection(t){let e=this.getParentNode(t);for(;e;)this.checkRootNodeSelection(e),e=this.getParentNode(e)}deselectAllParentSelections(t){let e=this.getParentNode(t);for(;e;)this.deselectRootNodeSelection(e),e=this.getParentNode(e)}deselectRootNodeSelection(t){let e=this.checklistSelection.isSelected(t),n=this;function o(s){n.checklistSelection.deselect(...s),n.removeChipsViaTree(...s)}e&&(o([t]),this.selections.emit(this.selectedNodes))}checkRootNodeSelection(t){!this.checklistSelection.isSelected(t)&&(this.descendantsPartiallySelected(t)||this.descendantsAllSelected(t))&&setTimeout(()=>{this.select(t),this.selections.emit(this.selectedNodes)},200)}select(t){if(t instanceof Di)this.checklistSelection.select(t),this.selectedNodes.filter(n=>n.id===t.id).length>0||this.selectedNodes.push(t);else{let e=t.filter(n=>!this.selectedNodes.some(o=>o.id===n.id));this.checklistSelection.select(...t),this.selectedNodes.push(...e)}}removeChip(t){let e=this.selectedNodes.findIndex(n=>n.id===t.id);e>=0&&this.selectedNodes.splice(e,1),t.hasChild!==null&&t.hasChild?this.parentNodeSelectionToggle(t.id,!0):this.leafNodeSelectionToggle(t.id)}removeChipsViaTree(...t){t.forEach(e=>{let n=this.selectedNodes.findIndex(o=>o.id===e.id);n>=0&&this.selectedNodes.splice(n,1)})}getParentNode(t){let e=this.getLevel(t);if(e<1)return null;let n=this.treeControl.dataNodes.indexOf(t)-1;for(let o=n;o>=0;o--){let s=this.treeControl.dataNodes[o];if(this.getLevel(s)<e)return s}return null}getSelectedItems(){return this.checklistSelection.selected.length?this.checklistSelection.selected.map(t=>t.name).join(","):this.inputLabel}filterChanged(t){let n=t.target.value;this.isSearching=n.length>0,this._database.filter(n),n?this.treeControl.expandAll():this.treeControl.collapseAll()}};i.\u0275fac=function(e){return new(e||i)(l(ur))},i.\u0275cmp=w({type:i,selectors:[["vq-chips-tree-select"]],inputs:{treeData:"treeData",inputLabel:"inputLabel",preSelections:"preSelections"},outputs:{selections:"selections"},decls:13,vars:11,consts:[["auto","matAutocomplete"],["chipGrid",""],["appearance","outline"],["type","text","placeholder","Add Industry","aria-label","Number","matInput","","matAutocompletePosition","auto",3,"input","matChipInputFor","matAutocomplete","matChipInputSeparatorKeyCodes"],["autoActiveFirstOption",""],["disabled","",2,"display","none"],[3,"dataSource","treeControl"],["matTreeNodeToggle","","matTreeNodePadding","",4,"matTreeNodeDef"],["matTreeNodePadding","",4,"matTreeNodeDef","matTreeNodeDefWhen"],["aria-label","Industry selection",3,"ngClass"],[3,"removed",4,"ngFor","ngForOf"],["matTreeNodeToggle","","matTreeNodePadding",""],["mat-icon-button","","disabled",""],[1,"checklist-leaf-node",3,"change","checked","id"],["matTreeNodePadding",""],["mat-icon-button","","matTreeNodeToggle",""],[1,"material-symbols-outlined","mat-icon-rtl-mirror"],[3,"change","checked"],[3,"removed"],["matChipRemove",""],[1,"material-symbols-outlined"]],template:function(e,n){if(e&1){let o=F();c(0,"mat-form-field",2)(1,"mat-label"),p(2),d(),c(3,"input",3),_("input",function(h){return C(o),k(n.filterChanged(h))}),d(),c(4,"mat-autocomplete",4,0),x(6,"mat-option",5),c(7,"mat-tree",6),y(8,F_,4,3,"mat-tree-node",7)(9,z_,6,4,"mat-tree-node",8),d()(),c(10,"mat-chip-grid",9,1),y(12,L_,5,2,"mat-chip-row",10),d()()}if(e&2){let o=Bt(5),s=Bt(11);m(2),nt(n.inputLabel),m(),u("matChipInputFor",s)("matAutocomplete",o)("matChipInputSeparatorKeyCodes",n.separatorKeysCodes),m(4),u("dataSource",n.dataSource)("treeControl",n.treeControl),m(2),u("matTreeNodeDefWhen",n.hasChild),m(),u("ngClass",ze(9,P_,n.selectedNodes.length>0)),m(2),u("ngForOf",n.selectedNodes)}},dependencies:[Le,pn,oo,ke,Xn,xe,Vi,Qc,Yc,Wc,zr,Gt,mi,_e,je,To,Ao,Oo,Ro,Eo],styles:["mat-form-field[_ngcontent-%COMP%]{width:100%}"]});let a=i;return a})();function N_(a,i){if(a&1&&(c(0,"span",2),p(1),d()),a&2){let r=f();m(),Fe(" (+",(r.checklistSelection.selected.length||0)-1," ",r.checklistSelection.selected.length===2?"other":"others",") ")}}function V_(a,i){if(a&1){let r=F();c(0,"mat-tree-node",8),x(1,"button",9),c(2,"mat-option")(3,"mat-checkbox",10),_("change",function(){let e=C(r).$implicit,n=f();return k(n.leafNodeSelectionToggle(e.id))}),p(4),d()()()}if(a&2){let r=i.$implicit,t=f();m(3),ka("id",r.id),u("checked",t.checklistSelection.isSelected(r)),m(),nt(r.name)}}function j_(a,i){if(a&1){let r=F();c(0,"mat-tree-node",8)(1,"button",11)(2,"mat-icon",12),p(3),d()(),c(4,"mat-option")(5,"mat-checkbox",13),_("change",function(){let e=C(r).$implicit,n=f();return k(n.parentNodeSelectionToggle(e.id))}),p(6),d()()()}if(a&2){let r=i.$implicit,t=f();m(),T("aria-label","toggle "+r.filename),m(2),dt(" ",t.treeControl.isExpanded(r)?"expand_more":"chevron_right"," "),m(2),u("checked",t.checklistSelection.isSelected(r)),m(),dt("",r.name," ")}}function B_(a,i){a&1&&(c(0,"mat-error"),p(1,"Please select one."),d())}var QR=(()=>{let i=class i{constructor(t,e){this._database=t,this.cdr=e,this.preSelections=[],this.selections=new O,this.flatNodeMap=new Map,this.nestedNodeMap=new Map,this.checklistSelection=new zi(!0),this.getLevel=n=>n.level,this.isExpandable=n=>n.expandable,this.getChildren=n=>n.children,this.hasChild=(n,o)=>o.expandable,this.hasNoContent=(n,o)=>o.name==="",this.transformer=(n,o)=>{let s=this.nestedNodeMap.get(n),h=s&&s.name===n.name?s:new Di;return h.name=n.name,h.level=o,h.expandable=n.children.length!==0,h.id=n.id,h.parentId=n.parentId,n.children?.length>0&&(h.hasChild=!0),this.flatNodeMap.set(h,n),this.nestedNodeMap.set(n,h),h},this.treeFlattener=new An(this.transformer,this.getLevel,this.isExpandable,this.getChildren),this.treeControl=new Tn(this.getLevel,this.isExpandable),this.dataSource=new Rn(this.treeControl,this.treeFlattener),this._database.dataChange.subscribe(n=>{n&&(this.dataSource.data=[...n])})}ngOnInit(){this._database.dataChange.next(this.treeData),this._database.initialize(),this.treeControl.dataNodes.forEach(t=>{this.preSelections.includes(t.id)&&this.leafNodeSelectionToggle(t.id,!1)}),this.updateControlValue()}get getSelectionNames(){return this.checklistSelection.selected.length<1?[]:this.checklistSelection.selected.map(t=>t.name)}descendantsAllSelected(t){return this.treeControl.getDescendants(t).every(o=>this.checklistSelection.isSelected(o))}descendantsAllUnSelected(t){let e=this.treeControl.getDescendants(t);return e.length>0&&e.every(o=>{}),e.every(o=>!this.checklistSelection.isSelected(o))}descendantsPartiallySelected(t){return this.treeControl.getDescendants(t).some(o=>this.checklistSelection.isSelected(o))&&!this.descendantsAllSelected(t)}parentNodeSelectionToggle(t,e=!1){let n=this.treeControl.dataNodes.find(g=>g.id===t),o=this;function s(g){o.checklistSelection.deselect(...h)}e?this.checklistSelection.deselect(n):this.checklistSelection.toggle(n);let h=this.treeControl.getDescendants(n);this.checklistSelection.isSelected(n)||s(h),h.every(g=>this.checklistSelection.isSelected(g)),this.checkAllParentsSelection(n),this.updateControlValue(),this.selections.emit(this.checklistSelection.selected)}leafNodeSelectionToggle(t,e=!0){let n=this.treeControl.dataNodes.find(o=>o.id===t);this.checklistSelection.toggle(n),this.checkAllParentsSelection(n),e&&this.selections.emit(this.checklistSelection.selected),this.updateControlValue()}checkAllParentsSelection(t){let e=this.getParentNode(t);for(;e;)this.checkRootNodeSelection(e),e=this.getParentNode(e)}checkRootNodeSelection(t){let e=this.checklistSelection.isSelected(t),n=this.treeControl.getDescendants(t);!e&&(this.descendantsPartiallySelected(t)||this.descendantsAllSelected(t))&&setTimeout(()=>{this.select(t),this.selections.emit(this.checklistSelection.selected),this.updateControlValue()},200)}select(t){t instanceof Di?this.checklistSelection.select(t):this.checklistSelection.select(...t),this.updateControlValue()}getParentNode(t){let e=this.getLevel(t);if(e<1)return null;let n=this.treeControl.dataNodes.indexOf(t)-1;for(let o=n;o>=0;o--){let s=this.treeControl.dataNodes[o];if(this.getLevel(s)<e)return s}return null}clear(){this.checklistSelection.clear(),this.selections.emit(null),this.updateControlValue()}getSelectedItems(){return this.checklistSelection.selected.length?this.checklistSelection.selected.map(t=>t.name).join(","):this.label}updateControlValue(){this.control.setValue(this.checklistSelection.selected.map(t=>t.name)),this.cdr.detectChanges()}};i.\u0275fac=function(e){return new(e||i)(l(ur),l(q))},i.\u0275cmp=w({type:i,selectors:[["vq-dropdown-tree-multi-select"]],inputs:{control:"control",label:"label",treeData:"treeData",preSelections:"preSelections"},outputs:{selections:"selections"},decls:13,vars:8,consts:[["appearance","outline"],["multiple","",3,"formControl"],[1,"additional-selection"],[3,"click"],[3,"dataSource","treeControl"],["matTreeNodePadding","",4,"matTreeNodeDef"],["matTreeNodePadding","",4,"matTreeNodeDef","matTreeNodeDefWhen"],[4,"ngIf"],["matTreeNodePadding",""],["mat-icon-button","","disabled",""],[1,"checklist-leaf-node",3,"change","checked","id"],["mat-icon-button","","matTreeNodeToggle",""],[1,"material-symbols-outlined","mat-icon-rtl-mirror"],[3,"change","checked"]],template:function(e,n){e&1&&(c(0,"mat-form-field",0)(1,"mat-label"),p(2),d(),c(3,"mat-select",1)(4,"mat-select-trigger"),p(5),y(6,N_,2,2,"span",2),d(),c(7,"mat-option",3),_("click",function(){return n.clear()}),p(8,"-- None --"),d(),c(9,"mat-tree",4),y(10,V_,5,3,"mat-tree-node",5)(11,j_,7,4,"mat-tree-node",6),d()(),y(12,B_,2,0,"mat-error",7),d()),e&2&&(m(2),nt(n.label),m(),u("formControl",n.control),m(2),dt(" ",n.getSelectionNames[0]," "),m(),B((n.checklistSelection.selected.length||0)>1?6:-1),m(3),u("dataSource",n.dataSource)("treeControl",n.treeControl),m(2),u("matTreeNodeDefWhen",n.hasChild),m(),u("ngIf",n.control.hasError("required")))},dependencies:[xt,ue,Aa,ke,xe,Vi,Gt,_e,je,Ni,ji,Mc,To,Ao,Oo,Ro,Eo],styles:["mat-form-field[_ngcontent-%COMP%]{width:100%}.additional-selection[_ngcontent-%COMP%]{opacity:.75;font-size:.75em}"]});let a=i;return a})();var H_=[[["","right-side",""]]],U_=["[right-side]"],q_=a=>({inactive:a});function $_(a,i){a&1&&(c(0,"p",9),p(1,"Pending"),d())}function G_(a,i){a&1&&(c(0,"p",9),p(1,"Administrator"),d())}function W_(a,i){a&1&&(c(0,"p",9),p(1,"Broker"),d())}var XR=(()=>{let i=class i{constructor(){this.status="pending"}cardClick(){this.cardAction()}};i.\u0275fac=function(e){return new(e||i)},i.\u0275cmp=w({type:i,selectors:[["vq-user-card"]],inputs:{firstName:"firstName",lastName:"lastName",status:"status",cardAction:"cardAction"},ngContentSelectors:U_,decls:14,vars:14,consts:[["matRipple","",1,"container",3,"ngClass"],[1,"left","u-flex","u-flex-justify-start","u-gap-sm",3,"click"],[3,"firstName","lastName"],[1,"u-flex","u-flex-column","u-flex-justify-center","u-flex-align-start","u-gap-xxs"],[1,"text-md"],[3,"ngSwitch"],["class","u-italic text-sm",4,"ngSwitchCase"],["class","u-italic text-sm",4,"ngSwitchDefault"],[1,"right","u-flex","u-flex-align-center","u-flex-justify-end"],[1,"u-italic","text-sm"]],template:function(e,n){e&1&&(K(H_),c(0,"div",0)(1,"div",1),_("click",function(){return n.cardClick()}),x(2,"vq-profile-image",2),c(3,"div",3)(4,"p",4),p(5),oe(6,"titlecase"),oe(7,"titlecase"),d(),$e(8,5),y(9,$_,2,0,"p",6)(10,G_,2,0,"p",6)(11,W_,2,0,"p",7),Ge(),d()(),c(12,"div",8),j(13),d()()),e&2&&(u("ngClass",ze(12,q_,n.status==="pending")),m(2),u("firstName",n.firstName)("lastName",n.lastName),m(3),Fe("",re(6,8,n.firstName)," ",re(7,10,n.lastName),""),m(3),u("ngSwitch",n.status),m(),u("ngSwitchCase","pending"),m(),u("ngSwitchCase","admin"))},dependencies:[Le,Sa,Ia,ec,mt,wm,nc],styles:["p[_ngcontent-%COMP%]{margin:0}.container[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr auto;padding:8px 16px 8px 8px;border-radius:6px;background:#fff;box-shadow:0 2px 6px 2px #00000026,0 1px 2px #0000004d}.container[_ngcontent-%COMP%]   .left[_ngcontent-%COMP%]{cursor:pointer}.container[_ngcontent-%COMP%]   .right[_ngcontent-%COMP%]{width:100%}.container[_ngcontent-%COMP%]:hover{background-color:#f5f5f5}.container.inactive[_ngcontent-%COMP%]{background-color:transparent;box-shadow:none;border:1px solid rgba(172,170,175,.5)}.container.inactive[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{opacity:50%}"]});let a=i;return a})();var f2=(()=>{let i=class i{};i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=N({type:i}),i.\u0275inj=L({providers:[Ec()],imports:[Pt,qn,rc,no,Vs,hl,Un,$o,Yi,Ac,ym,pr,Vs,Un,qn]});let a=i;return a})();var w2=(()=>{let i=class i{constructor(){this._loading=new Kt(!1),this.isLoadingX=we(this._loading.getValue())}startLoading(){this._loading.next(!0)}stopLoading(){this._loading.next(!1)}getIsLoading(){return this._loading.getValue()}};i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"});let a=i;return a})();export{fR as a,Gt as b,hi as c,Jn as d,$v as e,$i as f,Nc as g,no as h,Bc as i,Zc as j,so as k,co as l,qh as m,od as n,po as o,dd as p,ld as q,sp as r,J0 as s,hd as t,jy as u,By as v,Hy as w,Uy as x,qy as y,$y as z,Gy as A,Wy as B,Qy as C,Yy as D,Zy as E,vd as F,bd as G,wd as H,Go as I,xs as J,rr as K,zo as L,Ew as M,Zt as N,be as O,ra as P,ui as Q,No as R,Bo as S,Pn as T,Ho as U,Fn as V,qo as W,cl as X,dl as Y,ll as Z,Qo as _,ml as $,Zi as aa,tI as ba,sl as ca,de as da,ym as ea,uR as fa,vR as ga,SR as ha,NR as ia,QR as ja,XR as ka,f2 as la,w2 as ma};
